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
d3ea1e300a5359c4a9a632eb64b52e8ed77d716e
144
py
Python
tests/games/entities/create_players.py
ExiledNarwal28/cardbot
1e0fa1e9c08b512056c2af0b408eded224c9adbb
[ "MIT" ]
null
null
null
tests/games/entities/create_players.py
ExiledNarwal28/cardbot
1e0fa1e9c08b512056c2af0b408eded224c9adbb
[ "MIT" ]
41
2020-05-10T20:18:19.000Z
2020-12-08T10:42:31.000Z
tests/games/entities/create_players.py
ExiledNarwal28/cardbot
1e0fa1e9c08b512056c2af0b408eded224c9adbb
[ "MIT" ]
null
null
null
from random import randint from faker import Faker def create_no(): return randint(1, 99) def create_name(): return Faker().name()
12
26
0.694444
21
144
4.666667
0.571429
0.183673
0
0
0
0
0
0
0
0
0
0.026316
0.208333
144
11
27
13.090909
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
6
3116a52f2df9e561aff3135b462d06dc87363f3d
193
py
Python
QUANTAXIS/QAFetch/QAcalendar.py
simplezhang57/QUANTAXIS
0fab23ee3cc4048a30b5eed3c311a5c9cdce8110
[ "MIT" ]
2
2018-10-29T12:01:55.000Z
2021-03-05T10:28:59.000Z
QUANTAXIS/QAFetch/QAcalendar.py
frosthaoz/QUANTAXIS
f5f482418e5f6e23ac3530089b8d17300d931b48
[ "MIT" ]
null
null
null
QUANTAXIS/QAFetch/QAcalendar.py
frosthaoz/QUANTAXIS
f5f482418e5f6e23ac3530089b8d17300d931b48
[ "MIT" ]
2
2018-11-30T07:52:14.000Z
2021-05-28T23:00:20.000Z
from QUANTAXIS_CRAWLY.jrj_simulation_web import get_financial_report_date def QA_fetch_get_financial_calendar(report_date): data = get_financial_report_date(report_date) return(data)
27.571429
73
0.849741
28
193
5.321429
0.607143
0.268456
0.241611
0.295302
0
0
0
0
0
0
0
0
0.103627
193
6
74
32.166667
0.861272
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
317389bb04994d93e5baebec209dc4c3bdb16f9a
274
py
Python
python/example/complicated/controller/Greeter.py
kaelzhang/gaea
1985e257e83232fd1f924ec00e91e227fcc60a60
[ "MIT" ]
2
2019-04-10T09:12:57.000Z
2019-05-19T04:09:03.000Z
python/example/complicated/controller/Greeter.py
kaelzhang/gaia
1985e257e83232fd1f924ec00e91e227fcc60a60
[ "MIT" ]
4
2019-08-07T10:38:07.000Z
2020-02-28T05:42:33.000Z
python/example/complicated/controller/Greeter.py
kaelzhang/gaia
1985e257e83232fd1f924ec00e91e227fcc60a60
[ "MIT" ]
2
2018-10-09T02:39:06.000Z
2019-04-10T09:13:00.000Z
# The python implementation which corresponds # https://github.com/kaelzhang/gaia/blob/master/example/complicated/controller/Greeter.js import asyncio def SayHello(helloRequest, HelloReply, this): return this.service.hello.Greeter.SayHello(helloRequest, HelloReply)
34.25
91
0.810219
32
274
6.9375
0.84375
0.18018
0.27027
0
0
0
0
0
0
0
0
0
0.091241
274
7
92
39.142857
0.891566
0.485401
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
3176f63d7450f84bc3fca940106eff9e9df72053
39
py
Python
drf_yasg_json_api/view_inspectors.py
sKotenok/drf-yasg-json-api
86afe7e99d02ffca0a915166f2ef7ee8c7f89473
[ "BSD-3-Clause" ]
20
2020-03-15T16:33:07.000Z
2022-02-16T02:54:44.000Z
drf_yasg_json_api/view_inspectors.py
sKotenok/drf-yasg-json-api
86afe7e99d02ffca0a915166f2ef7ee8c7f89473
[ "BSD-3-Clause" ]
10
2020-04-23T12:38:21.000Z
2022-01-20T13:29:09.000Z
drf_yasg_json_api/view_inspectors.py
sKotenok/drf-yasg-json-api
86afe7e99d02ffca0a915166f2ef7ee8c7f89473
[ "BSD-3-Clause" ]
5
2020-03-15T16:33:12.000Z
2022-01-14T11:33:18.000Z
from .inspectors.view import * # noqa
19.5
38
0.717949
5
39
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.179487
39
1
39
39
0.875
0.102564
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
318bf64db3d5c929eb59f932261c98ad8e9c8fca
54,472
py
Python
tests/test_generators.py
absanger/sqlacodegen
8956ac25de08cb57a68a9eb004647a5933eb730f
[ "MIT" ]
960
2017-01-05T20:03:22.000Z
2022-03-31T06:12:29.000Z
tests/test_generators.py
absanger/sqlacodegen
8956ac25de08cb57a68a9eb004647a5933eb730f
[ "MIT" ]
158
2016-12-28T15:01:32.000Z
2022-03-29T09:23:25.000Z
tests/test_generators.py
wtsi-npg/sqlacodegen
8956ac25de08cb57a68a9eb004647a5933eb730f
[ "MIT" ]
175
2017-01-10T10:13:14.000Z
2022-03-30T06:54:31.000Z
import sys from typing import Optional import pytest from _pytest.fixtures import FixtureRequest from sqlalchemy.dialects import mysql, postgresql from sqlalchemy.engine import Engine, create_engine from sqlalchemy.schema import ( CheckConstraint, Column, ForeignKey, ForeignKeyConstraint, Index, MetaData, Table, UniqueConstraint) from sqlalchemy.sql.expression import text from sqlalchemy.sql.sqltypes import NullType from sqlalchemy.types import INTEGER, NUMERIC, SMALLINT, VARCHAR, Text from sqlacodegen.generators import ( CodeGenerator, DataclassGenerator, DeclarativeGenerator, TablesGenerator, _sqla_version) # SQLAlchemy 1.3.11+ try: from sqlalchemy import Computed except ImportError: Computed = None # SQLAlchemy 1.4+ try: from sqlalchemy import Identity except ImportError: Identity = None if sys.version_info < (3, 7): future_imports = "" else: future_imports = "from __future__ import annotations\n\n" if _sqla_version < (1, 4): orm_imports = ("from sqlalchemy.ext.declarative import declarative_base\n" "from sqlalchemy.orm import relationship") declarative_package = 'sqlalchemy.ext.declarative' else: orm_imports = "from sqlalchemy.orm import declarative_base, relationship" declarative_package = 'sqlalchemy.orm' def maybe_quote(obj) -> str: if sys.version_info < (3, 7): return repr(str(obj)) else: return str(obj) @pytest.fixture def engine(request: FixtureRequest) -> Engine: dialect = getattr(request, 'param', None) if dialect == 'postgresql': return create_engine('postgresql:///testdb') elif dialect == 'mysql': return create_engine('mysql+mysqlconnector://testdb') else: return create_engine('sqlite:///:memory:') @pytest.fixture def metadata() -> MetaData: return MetaData() class TestTablesGenerator: @pytest.fixture def generator(self, request: FixtureRequest, metadata: MetaData, engine: Engine) -> CodeGenerator: options = getattr(request, 'param', []) return TablesGenerator(metadata, engine, options) @pytest.mark.parametrize('engine', ['postgresql'], indirect=['engine']) def test_fancy_coltypes(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('enum', postgresql.ENUM('A', 'B', name='blah')), Column('bool', postgresql.BOOLEAN), Column('number', NUMERIC(10, asdecimal=False)), ) assert generator.generate() == """\ from sqlalchemy import Boolean, Column, Enum, MetaData, Numeric, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('enum', Enum('A', 'B', name='blah')), Column('bool', Boolean), Column('number', Numeric(10, asdecimal=False)) ) """ def test_boolean_detection(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('bool1', INTEGER), Column('bool2', SMALLINT), Column('bool3', mysql.TINYINT), CheckConstraint('simple_items.bool1 IN (0, 1)'), CheckConstraint('simple_items.bool2 IN (0, 1)'), CheckConstraint('simple_items.bool3 IN (0, 1)') ) assert generator.generate() == """\ from sqlalchemy import Boolean, Column, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('bool1', Boolean), Column('bool2', Boolean), Column('bool3', Boolean) ) """ @pytest.mark.parametrize('engine', ['postgresql'], indirect=['engine']) def test_arrays(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('dp_array', postgresql.ARRAY(postgresql.DOUBLE_PRECISION(precision=53))), Column('int_array', postgresql.ARRAY(INTEGER)) ) assert generator.generate() == """\ from sqlalchemy import ARRAY, Column, Float, Integer, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('dp_array', ARRAY(Float(precision=53))), Column('int_array', ARRAY(Integer())) ) """ @pytest.mark.parametrize('engine', ['postgresql'], indirect=['engine']) def test_jsonb(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('jsonb', postgresql.JSONB(astext_type=Text(50))) ) assert generator.generate() == """\ from sqlalchemy import Column, MetaData, Table, Text from sqlalchemy.dialects.postgresql import JSONB metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('jsonb', JSONB(astext_type=Text(length=50))) ) """ @pytest.mark.parametrize('engine', ['postgresql'], indirect=['engine']) def test_jsonb_default(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('jsonb', postgresql.JSONB) ) assert generator.generate() == """\ from sqlalchemy import Column, MetaData, Table from sqlalchemy.dialects.postgresql import JSONB metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('jsonb', JSONB) ) """ def test_enum_detection(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('enum', VARCHAR(255)), CheckConstraint(r"simple_items.enum IN ('A', '\'B', 'C')") ) assert generator.generate() == """\ from sqlalchemy import Column, Enum, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('enum', Enum('A', "\\\\'B", 'C')) ) """ @pytest.mark.parametrize('engine', ['postgresql'], indirect=['engine']) def test_column_adaptation(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', postgresql.BIGINT), Column('length', postgresql.DOUBLE_PRECISION) ) assert generator.generate() == """\ from sqlalchemy import BigInteger, Column, Float, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', BigInteger), Column('length', Float) ) """ @pytest.mark.parametrize('engine', ['mysql'], indirect=['engine']) def test_mysql_column_types(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', mysql.INTEGER), Column('name', mysql.VARCHAR(255)), Column('set', mysql.SET('one', 'two')) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, String, Table from sqlalchemy.dialects.mysql import SET metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer), Column('name', String(255)), Column('set', SET('one', 'two')) ) """ def test_constraints(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER), Column('number', INTEGER), CheckConstraint('number > 0'), UniqueConstraint('id', 'number') ) assert generator.generate() == """\ from sqlalchemy import CheckConstraint, Column, Integer, MetaData, Table, UniqueConstraint metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer), Column('number', Integer), CheckConstraint('number > 0'), UniqueConstraint('id', 'number') ) """ def test_indexes(self, generator: CodeGenerator) -> None: simple_items = Table( 'simple_items', generator.metadata, Column('id', INTEGER), Column('number', INTEGER), Column('text', VARCHAR) ) simple_items.indexes.add(Index('idx_number', simple_items.c.number)) simple_items.indexes.add(Index('idx_text_number', simple_items.c.text, simple_items.c.number, unique=True)) simple_items.indexes.add(Index('idx_text', simple_items.c.text, unique=True)) assert generator.generate() == """\ from sqlalchemy import Column, Index, Integer, MetaData, String, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer), Column('number', Integer, index=True), Column('text', String, unique=True), Index('idx_text_number', 'text', 'number', unique=True) ) """ def test_table_comment(self, generator: CodeGenerator) -> None: Table( 'simple', generator.metadata, Column('id', INTEGER, primary_key=True), comment="this is a 'comment'" ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table metadata = MetaData() t_simple = Table( 'simple', metadata, Column('id', Integer, primary_key=True), comment="this is a 'comment'" ) """ def test_table_name_identifiers(self, generator: CodeGenerator) -> None: Table( 'simple-items table', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table metadata = MetaData() t_simple_items_table = Table( 'simple-items table', metadata, Column('id', Integer, primary_key=True) ) """ @pytest.mark.parametrize('generator', [['noindexes']], indirect=True) def test_option_noindexes(self, generator: CodeGenerator) -> None: simple_items = Table( 'simple_items', generator.metadata, Column('number', INTEGER), CheckConstraint('number > 2') ) simple_items.indexes.add(Index('idx_number', simple_items.c.number)) assert generator.generate() == """\ from sqlalchemy import CheckConstraint, Column, Integer, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('number', Integer), CheckConstraint('number > 2') ) """ @pytest.mark.parametrize('generator', [['noconstraints']], indirect=True) def test_option_noconstraints(self, generator: CodeGenerator) -> None: simple_items = Table( 'simple_items', generator.metadata, Column('number', INTEGER), CheckConstraint('number > 2') ) simple_items.indexes.add(Index('idx_number', simple_items.c.number)) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('number', Integer, index=True) ) """ @pytest.mark.parametrize('generator', [['nocomments']], indirect=True) def test_option_nocomments(self, generator: CodeGenerator) -> None: Table( 'simple', generator.metadata, Column('id', INTEGER, primary_key=True, comment='pk column comment'), comment="this is a 'comment'" ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table metadata = MetaData() t_simple = Table( 'simple', metadata, Column('id', Integer, primary_key=True) ) """ @pytest.mark.skipif(Computed is None, reason='requires SQLAlchemy 1.3.11+') @pytest.mark.parametrize('persisted, extra_args', [ (None, ''), (False, ', persisted=False'), (True, ', persisted=True') ]) def test_computed_column(self, generator: CodeGenerator, persisted: Optional[bool], extra_args: str): Table( 'computed', generator.metadata, Column('id', INTEGER, primary_key=True), Column('computed', INTEGER, Computed('1 + 2', persisted=persisted)) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Computed, Integer, MetaData, Table metadata = MetaData() t_computed = Table( 'computed', metadata, Column('id', Integer, primary_key=True), Column('computed', Integer, Computed('1 + 2'{extra_args})) ) """ def test_schema(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('name', VARCHAR), schema='testschema' ) assert generator.generate() == """\ from sqlalchemy import Column, MetaData, String, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('name', String), schema='testschema' ) """ def test_foreign_key_options(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('name', VARCHAR, ForeignKey( 'simple_items.name', ondelete='CASCADE', onupdate='CASCADE', deferrable=True, initially='DEFERRED')) ) assert generator.generate() == """\ from sqlalchemy import Column, ForeignKey, MetaData, String, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('name', String, ForeignKey('simple_items.name', ondelete='CASCADE', \ onupdate='CASCADE', deferrable=True, initially='DEFERRED')) ) """ def test_pk_default(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True, server_default=text('uuid_generate_v4()')) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table, text metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, primary_key=True, server_default=text('uuid_generate_v4()')) ) """ @pytest.mark.parametrize('engine', ['mysql'], indirect=['engine']) def test_mysql_timestamp(self, generator: CodeGenerator) -> None: Table( 'simple', generator.metadata, Column('id', INTEGER, primary_key=True), Column('timestamp', mysql.TIMESTAMP) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, TIMESTAMP, Table metadata = MetaData() t_simple = Table( 'simple', metadata, Column('id', Integer, primary_key=True), Column('timestamp', TIMESTAMP) ) """ @pytest.mark.parametrize('engine', ['mysql'], indirect=['engine']) def test_mysql_integer_display_width(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('number', mysql.INTEGER(11)) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table from sqlalchemy.dialects.mysql import INTEGER metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, primary_key=True), Column('number', INTEGER(11)) ) """ @pytest.mark.parametrize('engine', ['mysql'], indirect=['engine']) def test_mysql_tinytext(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('my_tinytext', mysql.TINYTEXT) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table from sqlalchemy.dialects.mysql import TINYTEXT metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, primary_key=True), Column('my_tinytext', TINYTEXT) ) """ @pytest.mark.parametrize('engine', ['mysql'], indirect=['engine']) def test_mysql_mediumtext(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('my_mediumtext', mysql.MEDIUMTEXT) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table from sqlalchemy.dialects.mysql import MEDIUMTEXT metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, primary_key=True), Column('my_mediumtext', MEDIUMTEXT) ) """ @pytest.mark.parametrize('engine', ['mysql'], indirect=['engine']) def test_mysql_longtext(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('my_longtext', mysql.LONGTEXT) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table from sqlalchemy.dialects.mysql import LONGTEXT metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, primary_key=True), Column('my_longtext', LONGTEXT) ) """ def test_schema_boolean(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('bool1', INTEGER), CheckConstraint('testschema.simple_items.bool1 IN (0, 1)'), schema='testschema' ) assert generator.generate() == """\ from sqlalchemy import Boolean, Column, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('bool1', Boolean), schema='testschema' ) """ def test_server_default_multiline(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True, server_default=text("""\ /*Comment*/ /*Next line*/ something()""")) ) assert generator.generate() == """\ from sqlalchemy import Column, Integer, MetaData, Table, text metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, primary_key=True, server_default=\ text('/*Comment*/\\n/*Next line*/\\nsomething()')) ) """ def test_server_default_colon(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('problem', VARCHAR, server_default=text("':001'")) ) assert generator.generate() == """\ from sqlalchemy import Column, MetaData, String, Table, text metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('problem', String, server_default=text("':001'")) ) """ def test_null_type(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('problem', NullType), ) assert generator.generate() == """\ from sqlalchemy import Column, MetaData, Table from sqlalchemy.sql.sqltypes import NullType metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('problem', NullType) ) """ @pytest.mark.skipif(Identity is None, reason='Requires SQLAlchemy 1.4+') def test_identity_column(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True, server_default=Identity(start=1, increment=2)) ) assert generator.generate() == """\ from sqlalchemy import Column, Identity, Integer, MetaData, Table metadata = MetaData() t_simple_items = Table( 'simple_items', metadata, Column('id', Integer, Identity(start=1, increment=2), primary_key=True) ) """ class TestDeclarativeGenerator: @pytest.fixture def generator(self, request: FixtureRequest, metadata: MetaData, engine: Engine) -> CodeGenerator: options = getattr(request, 'param', []) return DeclarativeGenerator(metadata, engine, options) def test_indexes(self, generator: CodeGenerator) -> None: simple_items = Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('number', INTEGER), Column('text', VARCHAR) ) simple_items.indexes.add(Index('idx_number', simple_items.c.number)) simple_items.indexes.add(Index('idx_text_number', simple_items.c.text, simple_items.c.number)) simple_items.indexes.add(Index('idx_text', simple_items.c.text, unique=True)) assert generator.generate() == f"""\ from sqlalchemy import Column, Index, Integer, String from {declarative_package} import declarative_base Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple_items' __table_args__ = ( Index('idx_text_number', 'text', 'number'), ) id = Column(Integer, primary_key=True) number = Column(Integer, index=True) text = Column(String, unique=True) """ def test_constraints(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('number', INTEGER), CheckConstraint('number > 0'), UniqueConstraint('id', 'number') ) assert generator.generate() == f"""\ from sqlalchemy import CheckConstraint, Column, Integer, UniqueConstraint from {declarative_package} import declarative_base Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple_items' __table_args__ = ( CheckConstraint('number > 0'), UniqueConstraint('id', 'number') ) id = Column(Integer, primary_key=True) number = Column(Integer) """ def test_onetomany(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('container_id', INTEGER), ForeignKeyConstraint(['container_id'], ['simple_containers.id']), ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class SimpleContainers(Base): __tablename__ = 'simple_containers' id = Column(Integer, primary_key=True) simple_items = relationship('SimpleItems', back_populates='container') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) container_id = Column(ForeignKey('simple_containers.id')) container = relationship('SimpleContainers', back_populates='simple_items') """ def test_onetomany_selfref(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('parent_item_id', INTEGER), ForeignKeyConstraint(['parent_item_id'], ['simple_items.id']) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) parent_item_id = Column(ForeignKey('simple_items.id')) parent_item = relationship('SimpleItems', remote_side=[id], \ back_populates='parent_item_reverse') parent_item_reverse = relationship('SimpleItems', remote_side=[parent_item_id], \ back_populates='parent_item') """ def test_onetomany_selfref_multi(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('parent_item_id', INTEGER), Column('top_item_id', INTEGER), ForeignKeyConstraint(['parent_item_id'], ['simple_items.id']), ForeignKeyConstraint(['top_item_id'], ['simple_items.id']) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) parent_item_id = Column(ForeignKey('simple_items.id')) top_item_id = Column(ForeignKey('simple_items.id')) parent_item = relationship('SimpleItems', remote_side=[id], foreign_keys=[parent_item_id], \ back_populates='parent_item_reverse') parent_item_reverse = relationship('SimpleItems', remote_side=[parent_item_id], \ foreign_keys=[parent_item_id], back_populates='parent_item') top_item = relationship('SimpleItems', remote_side=[id], foreign_keys=[top_item_id], \ back_populates='top_item_reverse') top_item_reverse = relationship('SimpleItems', remote_side=[top_item_id], \ foreign_keys=[top_item_id], back_populates='top_item') """ def test_onetomany_composite(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('container_id1', INTEGER), Column('container_id2', INTEGER), ForeignKeyConstraint(['container_id1', 'container_id2'], ['simple_containers.id1', 'simple_containers.id2'], ondelete='CASCADE', onupdate='CASCADE') ) Table( 'simple_containers', generator.metadata, Column('id1', INTEGER, primary_key=True), Column('id2', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKeyConstraint, Integer {orm_imports} Base = declarative_base() class SimpleContainers(Base): __tablename__ = 'simple_containers' id1 = Column(Integer, primary_key=True, nullable=False) id2 = Column(Integer, primary_key=True, nullable=False) simple_items = relationship('SimpleItems', back_populates='simple_containers') class SimpleItems(Base): __tablename__ = 'simple_items' __table_args__ = ( ForeignKeyConstraint(['container_id1', 'container_id2'], ['simple_containers.id1', \ 'simple_containers.id2'], ondelete='CASCADE', onupdate='CASCADE'), ) id = Column(Integer, primary_key=True) container_id1 = Column(Integer) container_id2 = Column(Integer) simple_containers = relationship('SimpleContainers', back_populates='simple_items') """ def test_onetomany_multiref(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('parent_container_id', INTEGER), Column('top_container_id', INTEGER), ForeignKeyConstraint(['parent_container_id'], ['simple_containers.id']), ForeignKeyConstraint(['top_container_id'], ['simple_containers.id']) ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class SimpleContainers(Base): __tablename__ = 'simple_containers' id = Column(Integer, primary_key=True) simple_items = relationship('SimpleItems', foreign_keys=['SimpleItems.parent_container_id'], \ back_populates='parent_container') simple_items_ = relationship('SimpleItems', foreign_keys=['SimpleItems.top_container_id'], \ back_populates='top_container') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) parent_container_id = Column(ForeignKey('simple_containers.id')) top_container_id = Column(ForeignKey('simple_containers.id')) parent_container = relationship('SimpleContainers', foreign_keys=[parent_container_id], \ back_populates='simple_items') top_container = relationship('SimpleContainers', foreign_keys=[top_container_id], \ back_populates='simple_items_') """ def test_onetoone(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('other_item_id', INTEGER), ForeignKeyConstraint(['other_item_id'], ['other_items.id']), UniqueConstraint('other_item_id') ) Table( 'other_items', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class OtherItems(Base): __tablename__ = 'other_items' id = Column(Integer, primary_key=True) simple_items = relationship('SimpleItems', uselist=False, back_populates='other_item') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) other_item_id = Column(ForeignKey('other_items.id'), unique=True) other_item = relationship('OtherItems', back_populates='simple_items') """ def test_onetomany_noinflect(self, generator: CodeGenerator) -> None: Table( 'oglkrogk', generator.metadata, Column('id', INTEGER, primary_key=True), Column('fehwiuhfiwID', INTEGER), ForeignKeyConstraint(['fehwiuhfiwID'], ['fehwiuhfiw.id']), ) Table( 'fehwiuhfiw', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class Fehwiuhfiw(Base): __tablename__ = 'fehwiuhfiw' id = Column(Integer, primary_key=True) oglkrogk = relationship('Oglkrogk', back_populates='fehwiuhfiw') class Oglkrogk(Base): __tablename__ = 'oglkrogk' id = Column(Integer, primary_key=True) fehwiuhfiwID = Column(ForeignKey('fehwiuhfiw.id')) fehwiuhfiw = relationship('Fehwiuhfiw', back_populates='oglkrogk') """ def test_onetomany_conflicting_column(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('container_id', INTEGER), ForeignKeyConstraint(['container_id'], ['simple_containers.id']), ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True), Column('relationship', Text) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer, Text {orm_imports} Base = declarative_base() class SimpleContainers(Base): __tablename__ = 'simple_containers' id = Column(Integer, primary_key=True) relationship_ = Column('relationship', Text) simple_items = relationship('SimpleItems', back_populates='container') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) container_id = Column(ForeignKey('simple_containers.id')) container = relationship('SimpleContainers', back_populates='simple_items') """ def test_onetomany_conflicting_relationship(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('relationship_id', INTEGER), ForeignKeyConstraint(['relationship_id'], ['relationship.id']), ) Table( 'relationship', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class Relationship(Base): __tablename__ = 'relationship' id = Column(Integer, primary_key=True) simple_items = relationship('SimpleItems', back_populates='relationship_') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) relationship_id = Column(ForeignKey('relationship.id')) relationship_ = relationship('Relationship', back_populates='simple_items') """ @pytest.mark.parametrize('generator', [['nobidi']], indirect=True) def test_manytoone_nobidi(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('container_id', INTEGER), ForeignKeyConstraint(['container_id'], ['simple_containers.id']), ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class SimpleContainers(Base): __tablename__ = 'simple_containers' id = Column(Integer, primary_key=True) class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) container_id = Column(ForeignKey('simple_containers.id')) container = relationship('SimpleContainers') """ def test_manytomany(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'container_items', generator.metadata, Column('item_id', INTEGER), Column('container_id', INTEGER), ForeignKeyConstraint(['item_id'], ['simple_items.id']), ForeignKeyConstraint(['container_id'], ['simple_containers.id']) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer, Table {orm_imports} Base = declarative_base() metadata = Base.metadata class SimpleContainers(Base): __tablename__ = 'simple_containers' id = Column(Integer, primary_key=True) item = relationship('SimpleItems', secondary='container_items', \ back_populates='container') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) container = relationship('SimpleContainers', secondary='container_items', \ back_populates='item') t_container_items = Table( 'container_items', metadata, Column('item_id', ForeignKey('simple_items.id')), Column('container_id', ForeignKey('simple_containers.id')) ) """ @pytest.mark.parametrize('generator', [['nobidi']], indirect=True) def test_manytomany_nobidi(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'container_items', generator.metadata, Column('item_id', INTEGER), Column('container_id', INTEGER), ForeignKeyConstraint(['item_id'], ['simple_items.id']), ForeignKeyConstraint(['container_id'], ['simple_containers.id']) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer, Table {orm_imports} Base = declarative_base() metadata = Base.metadata class SimpleContainers(Base): __tablename__ = 'simple_containers' id = Column(Integer, primary_key=True) item = relationship('SimpleItems', secondary='container_items') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) t_container_items = Table( 'container_items', metadata, Column('item_id', ForeignKey('simple_items.id')), Column('container_id', ForeignKey('simple_containers.id')) ) """ def test_manytomany_selfref(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'child_items', generator.metadata, Column('parent_id', INTEGER), Column('child_id', INTEGER), ForeignKeyConstraint(['parent_id'], ['simple_items.id']), ForeignKeyConstraint(['child_id'], ['simple_items.id']), schema='otherschema' ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer, Table {orm_imports} Base = declarative_base() metadata = Base.metadata class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) parent = relationship('SimpleItems', secondary='otherschema.child_items', \ primaryjoin='SimpleItems.id == t_child_items.c.child_id', \ secondaryjoin='SimpleItems.id == t_child_items.c.parent_id', back_populates='child') child = relationship('SimpleItems', secondary='otherschema.child_items', \ primaryjoin='SimpleItems.id == t_child_items.c.parent_id', \ secondaryjoin='SimpleItems.id == t_child_items.c.child_id', back_populates='parent') t_child_items = Table( 'child_items', metadata, Column('parent_id', ForeignKey('simple_items.id')), Column('child_id', ForeignKey('simple_items.id')), schema='otherschema' ) """ def test_manytomany_composite(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id1', INTEGER, primary_key=True), Column('id2', INTEGER, primary_key=True) ) Table( 'simple_containers', generator.metadata, Column('id1', INTEGER, primary_key=True), Column('id2', INTEGER, primary_key=True) ) Table( 'container_items', generator.metadata, Column('item_id1', INTEGER), Column('item_id2', INTEGER), Column('container_id1', INTEGER), Column('container_id2', INTEGER), ForeignKeyConstraint(['item_id1', 'item_id2'], ['simple_items.id1', 'simple_items.id2']), ForeignKeyConstraint(['container_id1', 'container_id2'], ['simple_containers.id1', 'simple_containers.id2']) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKeyConstraint, Integer, Table {orm_imports} Base = declarative_base() metadata = Base.metadata class SimpleContainers(Base): __tablename__ = 'simple_containers' id1 = Column(Integer, primary_key=True, nullable=False) id2 = Column(Integer, primary_key=True, nullable=False) simple_items = relationship('SimpleItems', secondary='container_items', \ back_populates='simple_containers') class SimpleItems(Base): __tablename__ = 'simple_items' id1 = Column(Integer, primary_key=True, nullable=False) id2 = Column(Integer, primary_key=True, nullable=False) simple_containers = relationship('SimpleContainers', secondary='container_items', \ back_populates='simple_items') t_container_items = Table( 'container_items', metadata, Column('item_id1', Integer), Column('item_id2', Integer), Column('container_id1', Integer), Column('container_id2', Integer), ForeignKeyConstraint(['container_id1', 'container_id2'], \ ['simple_containers.id1', 'simple_containers.id2']), ForeignKeyConstraint(['item_id1', 'item_id2'], ['simple_items.id1', 'simple_items.id2']) ) """ def test_joined_inheritance(self, generator: CodeGenerator) -> None: Table( 'simple_sub_items', generator.metadata, Column('simple_items_id', INTEGER, primary_key=True), Column('data3', INTEGER), ForeignKeyConstraint(['simple_items_id'], ['simple_items.super_item_id']) ) Table( 'simple_super_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('data1', INTEGER) ) Table( 'simple_items', generator.metadata, Column('super_item_id', INTEGER, primary_key=True), Column('data2', INTEGER), ForeignKeyConstraint(['super_item_id'], ['simple_super_items.id']) ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer from {declarative_package} import declarative_base Base = declarative_base() class SimpleSuperItems(Base): __tablename__ = 'simple_super_items' id = Column(Integer, primary_key=True) data1 = Column(Integer) class SimpleItems(SimpleSuperItems): __tablename__ = 'simple_items' super_item_id = Column(ForeignKey('simple_super_items.id'), primary_key=True) data2 = Column(Integer) class SimpleSubItems(SimpleItems): __tablename__ = 'simple_sub_items' simple_items_id = Column(ForeignKey('simple_items.super_item_id'), primary_key=True) data3 = Column(Integer) """ @pytest.mark.parametrize('generator', [['use_inflect']], indirect=True) def test_use_inflect(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class SimpleItem(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) """ def test_table_kwargs(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), schema='testschema' ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple_items' __table_args__ = {{'schema': 'testschema'}} id = Column(Integer, primary_key=True) """ def test_table_args_kwargs(self, generator: CodeGenerator) -> None: simple_items = Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('name', VARCHAR), schema='testschema' ) simple_items.indexes.add(Index('testidx', simple_items.c.id, simple_items.c.name)) assert generator.generate() == f"""\ from sqlalchemy import Column, Index, Integer, String from {declarative_package} import declarative_base Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple_items' __table_args__ = ( Index('testidx', 'id', 'name'), {{'schema': 'testschema'}} ) id = Column(Integer, primary_key=True) name = Column(String) """ def test_foreign_key_schema(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('other_item_id', INTEGER), ForeignKeyConstraint(['other_item_id'], ['otherschema.other_items.id']) ) Table( 'other_items', generator.metadata, Column('id', INTEGER, primary_key=True), schema='otherschema' ) assert generator.generate() == f"""\ from sqlalchemy import Column, ForeignKey, Integer {orm_imports} Base = declarative_base() class OtherItems(Base): __tablename__ = 'other_items' __table_args__ = {{'schema': 'otherschema'}} id = Column(Integer, primary_key=True) simple_items = relationship('SimpleItems', back_populates='other_item') class SimpleItems(Base): __tablename__ = 'simple_items' id = Column(Integer, primary_key=True) other_item_id = Column(ForeignKey('otherschema.other_items.id')) other_item = relationship('OtherItems', back_populates='simple_items') """ def test_invalid_attribute_names(self, generator: CodeGenerator) -> None: Table( 'simple-items', generator.metadata, Column('id-test', INTEGER, primary_key=True), Column('4test', INTEGER), Column('_4test', INTEGER), Column('def', INTEGER) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class SimpleItems(Base): __tablename__ = 'simple-items' id_test = Column('id-test', Integer, primary_key=True) _4test = Column('4test', Integer) _4test_ = Column('_4test', Integer) def_ = Column('def', Integer) """ def test_pascal(self, generator: CodeGenerator) -> None: Table( 'CustomerAPIPreference', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class CustomerAPIPreference(Base): __tablename__ = 'CustomerAPIPreference' id = Column(Integer, primary_key=True) """ def test_underscore(self, generator: CodeGenerator) -> None: Table( 'customer_api_preference', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class CustomerApiPreference(Base): __tablename__ = 'customer_api_preference' id = Column(Integer, primary_key=True) """ def test_pascal_underscore(self, generator: CodeGenerator) -> None: Table( 'customer_API_Preference', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class CustomerAPIPreference(Base): __tablename__ = 'customer_API_Preference' id = Column(Integer, primary_key=True) """ def test_pascal_multiple_underscore(self, generator: CodeGenerator) -> None: Table( 'customer_API__Preference', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class CustomerAPIPreference(Base): __tablename__ = 'customer_API__Preference' id = Column(Integer, primary_key=True) """ @pytest.mark.parametrize('generator, nocomments', [ ([], False), (['nocomments'], True) ], indirect=['generator']) def test_column_comment(self, generator: CodeGenerator, nocomments: bool) -> None: Table( 'simple', generator.metadata, Column('id', INTEGER, primary_key=True, comment="this is a 'comment'") ) comment_part = '' if nocomments else ', comment="this is a \'comment\'"' assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class Simple(Base): __tablename__ = 'simple' id = Column(Integer, primary_key=True{comment_part}) """ def test_table_comment(self, generator: CodeGenerator) -> None: Table( 'simple', generator.metadata, Column('id', INTEGER, primary_key=True), comment="this is a 'comment'" ) assert generator.generate() == f"""\ from sqlalchemy import Column, Integer from {declarative_package} import declarative_base Base = declarative_base() class Simple(Base): __tablename__ = 'simple' __table_args__ = {{'comment': "this is a 'comment'"}} id = Column(Integer, primary_key=True) """ class TestDataclassGenerator: @pytest.fixture def generator(self, request: FixtureRequest, metadata: MetaData, engine: Engine) -> CodeGenerator: options = getattr(request, 'param', []) return DataclassGenerator(metadata, engine, options) def test_basic_class(self, generator: CodeGenerator) -> None: Table( 'simple', generator.metadata, Column('id', INTEGER, primary_key=True), Column('name', VARCHAR(20)) ) assert generator.generate() == f"""\ {future_imports}from dataclasses import dataclass, field from typing import Optional from sqlalchemy import Column, Integer, String from sqlalchemy.orm import registry mapper_registry = registry() @mapper_registry.mapped @dataclass class Simple: __tablename__ = 'simple' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) name: Optional[str] = field(default=None, metadata={{'sa': Column(String(20))}}) """ def test_onetomany_optional(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('container_id', INTEGER), ForeignKeyConstraint(['container_id'], ['simple_containers.id']), ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ {future_imports}from dataclasses import dataclass, field from typing import List, Optional from sqlalchemy import Column, ForeignKey, Integer from sqlalchemy.orm import registry, relationship mapper_registry = registry() @mapper_registry.mapped @dataclass class SimpleContainers: __tablename__ = 'simple_containers' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) simple_items: List[{maybe_quote('SimpleItems')}] = field(default_factory=list, \ metadata={{'sa': relationship('SimpleItems', back_populates='container')}}) @mapper_registry.mapped @dataclass class SimpleItems: __tablename__ = 'simple_items' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) container_id: Optional[int] = field(default=None, \ metadata={{'sa': Column(ForeignKey('simple_containers.id'))}}) container: Optional[{maybe_quote('SimpleContainers')}] = field(default=None, \ metadata={{'sa': relationship('SimpleContainers', back_populates='simple_items')}}) """ def test_onetomany_mandatory(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True), Column('container_id', INTEGER, nullable=False), ForeignKeyConstraint(['container_id'], ['simple_containers.id']), ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) assert generator.generate() == f"""\ {future_imports}from dataclasses import dataclass, field from typing import List from sqlalchemy import Column, ForeignKey, Integer from sqlalchemy.orm import registry, relationship mapper_registry = registry() @mapper_registry.mapped @dataclass class SimpleContainers: __tablename__ = 'simple_containers' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) simple_items: List[{maybe_quote('SimpleItems')}] = field(default_factory=list, \ metadata={{'sa': relationship('SimpleItems', back_populates='container')}}) @mapper_registry.mapped @dataclass class SimpleItems: __tablename__ = 'simple_items' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) container_id: int = field(\ metadata={{'sa': Column(ForeignKey('simple_containers.id'), nullable=False)}}) container: {maybe_quote('SimpleContainers')} = field(\ metadata={{'sa': relationship('SimpleContainers', back_populates='simple_items')}}) """ def test_manytomany(self, generator: CodeGenerator) -> None: Table( 'simple_items', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'simple_containers', generator.metadata, Column('id', INTEGER, primary_key=True) ) Table( 'container_items', generator.metadata, Column('item_id', INTEGER), Column('container_id', INTEGER), ForeignKeyConstraint(['item_id'], ['simple_items.id']), ForeignKeyConstraint(['container_id'], ['simple_containers.id']) ) assert generator.generate() == f"""\ {future_imports}from dataclasses import dataclass, field from typing import List from sqlalchemy import Column, ForeignKey, Integer, Table from sqlalchemy.orm import registry, relationship mapper_registry = registry() metadata = mapper_registry.metadata @mapper_registry.mapped @dataclass class SimpleContainers: __tablename__ = 'simple_containers' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) item: List[{maybe_quote('SimpleItems')}] = field(default_factory=list, metadata=\ {{'sa': relationship('SimpleItems', secondary='container_items', back_populates='container')}}) @mapper_registry.mapped @dataclass class SimpleItems: __tablename__ = 'simple_items' __sa_dataclass_metadata_key__ = 'sa' id: int = field(init=False, metadata={{'sa': Column(Integer, primary_key=True)}}) container: List[{maybe_quote('SimpleContainers')}] = field(default_factory=list, metadata=\ {{'sa': relationship('SimpleContainers', secondary='container_items', back_populates='item')}}) t_container_items = Table( 'container_items', metadata, Column('item_id', ForeignKey('simple_items.id')), Column('container_id', ForeignKey('simple_containers.id')) ) """
29.946124
98
0.658357
5,562
54,472
6.216469
0.049443
0.064582
0.051828
0.07592
0.839513
0.812066
0.78112
0.753268
0.737593
0.713154
0
0.003499
0.212898
54,472
1,818
99
29.962596
0.802939
0.000624
0
0.630769
0
0.005861
0.538183
0.125581
0
0
0
0
0.044689
1
0.049084
false
0
0.094505
0.000733
0.152381
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
9ec46e9c05b7d3218867c30220e59ed8ee490220
130
py
Python
__main__.py
Zadigo/zacoby
468168e416603e00ef1541990843fd7e841f0ff2
[ "MIT" ]
1
2021-02-25T03:26:52.000Z
2021-02-25T03:26:52.000Z
__main__.py
Zadigo/zacoby
468168e416603e00ef1541990843fd7e841f0ff2
[ "MIT" ]
null
null
null
__main__.py
Zadigo/zacoby
468168e416603e00ef1541990843fd7e841f0ff2
[ "MIT" ]
null
null
null
import sys from zacoby.management import execute_command_inline if __name__ == '__main__': execute_command_inline(sys.argv)
18.571429
52
0.8
17
130
5.411765
0.705882
0.304348
0.434783
0
0
0
0
0
0
0
0
0
0.130769
130
6
53
21.666667
0.814159
0
0
0
0
0
0.061538
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
6
9ee5d97f28b40a86b90a4d14c392e47fe35beab1
41
py
Python
open_ephys/streaming/__init__.py
KylePoe/open-ephys-python-tools
c72cb533ad2e508d870d88cc22da4d052e66e89e
[ "MIT" ]
4
2021-09-20T17:56:15.000Z
2022-01-05T10:34:57.000Z
open_ephys/streaming/__init__.py
KylePoe/open-ephys-python-tools
c72cb533ad2e508d870d88cc22da4d052e66e89e
[ "MIT" ]
10
2021-01-18T12:35:16.000Z
2022-03-29T16:58:02.000Z
open_ephys/streaming/__init__.py
KylePoe/open-ephys-python-tools
c72cb533ad2e508d870d88cc22da4d052e66e89e
[ "MIT" ]
9
2021-04-26T19:00:14.000Z
2022-03-29T09:45:39.000Z
from .event_listener import EventListener
41
41
0.902439
5
41
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.073171
41
1
41
41
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
730308a0ade20091874aa6c141bf5fae656ddf1a
12,824
py
Python
toontown/classicchars/CharStateDatasAI.py
ksmit799/Toontown-Source
aee8032089f60b528ca9571c0d7cc774d414c085
[ "MIT" ]
8
2017-10-10T11:41:01.000Z
2021-02-23T12:55:47.000Z
toontown/classicchars/CharStateDatasAI.py
ksmit799/Toontown-Source
aee8032089f60b528ca9571c0d7cc774d414c085
[ "MIT" ]
null
null
null
toontown/classicchars/CharStateDatasAI.py
ksmit799/Toontown-Source
aee8032089f60b528ca9571c0d7cc774d414c085
[ "MIT" ]
2
2019-04-06T16:18:23.000Z
2021-02-25T06:25:01.000Z
from otp.ai.AIBaseGlobal import * from direct.distributed.ClockDelta import * from direct.fsm import StateData from direct.directnotify import DirectNotifyGlobal import random from direct.task import Task from toontown.toonbase import ToontownGlobals import CCharChatter import CCharPaths class CharLonelyStateAI(StateData.StateData): notify = DirectNotifyGlobal.directNotify.newCategory('CharLonelyStateAI') def __init__(self, doneEvent, character): StateData.StateData.__init__(self, doneEvent) self.__doneEvent = doneEvent self.character = character def enter(self): if hasattr(self.character, 'name'): name = self.character.getName() else: name = 'character' self.notify.debug('Lonely ' + self.character.getName() + '...') StateData.StateData.enter(self) duration = random.randint(3, 15) taskMgr.doMethodLater(duration, self.__doneHandler, self.character.taskName('startWalking')) def exit(self): StateData.StateData.exit(self) taskMgr.remove(self.character.taskName('startWalking')) def __doneHandler(self, task): doneStatus = {} doneStatus['state'] = 'lonely' doneStatus['status'] = 'done' messenger.send(self.__doneEvent, [doneStatus]) return Task.done class CharChattyStateAI(StateData.StateData): notify = DirectNotifyGlobal.directNotify.newCategory('CharChattyStateAI') def __init__(self, doneEvent, character): StateData.StateData.__init__(self, doneEvent) self.__doneEvent = doneEvent self.character = character self.__chatTaskName = 'characterChat-' + str(character) self.lastChatTarget = 0 self.nextChatTime = 0 self.lastMessage = [-1, -1] def enter(self): if hasattr(self.character, 'name'): name = self.character.getName() else: name = 'character' self.notify.debug('Chatty ' + self.character.getName() + '...') self.chatter = CCharChatter.getChatter(self.character.getName(), self.character.getCCChatter()) if self.chatter != None: taskMgr.remove(self.__chatTaskName) taskMgr.add(self.blather, self.__chatTaskName) StateData.StateData.enter(self) return def pickMsg(self, category): self.getLatestChatter() if self.chatter: return random.randint(0, len(self.chatter[category]) - 1) else: return None return None def getLatestChatter(self): self.chatter = CCharChatter.getChatter(self.character.getName(), self.character.getCCChatter()) def setCorrectChatter(self): self.chatter = CCharChatter.getChatter(self.character.getName(), self.character.getCCChatter()) def blather(self, task): now = globalClock.getFrameTime() if now < self.nextChatTime: return Task.cont self.getLatestChatter() if self.character.lostInterest(): self.leave() return Task.done if not self.chatter: self.notify.debug('I do not want to talk') return Task.done if not self.character.getNearbyAvatars(): return Task.cont target = self.character.getNearbyAvatars()[0] if self.lastChatTarget != target: self.lastChatTarget = target category = CCharChatter.GREETING else: category = CCharChatter.COMMENT self.setCorrectChatter() if category == self.lastMessage[0] and len(self.chatter[category]) > 1: msg = self.lastMessage[1] lastMsgIndex = self.lastMessage[1] if lastMsgIndex < len(self.chatter[category]) and lastMsgIndex >= 0: while self.chatter[category][msg] == self.chatter[category][lastMsgIndex]: msg = self.pickMsg(category) if not msg: break else: msg = self.pickMsg(category) else: msg = self.pickMsg(category) if msg == None: self.notify.debug('I do not want to talk') return Task.done self.character.sendUpdate('setChat', [category, msg, target]) self.lastMessage = [category, msg] self.nextChatTime = now + 8.0 + random.random() * 4.0 return Task.cont def leave(self): if self.chatter != None: category = CCharChatter.GOODBYE msg = random.randint(0, len(self.chatter[CCharChatter.GOODBYE]) - 1) target = self.character.getNearbyAvatars()[0] self.character.sendUpdate('setChat', [category, msg, target]) taskMgr.doMethodLater(1, self.doneHandler, self.character.taskName('waitToFinish')) return def exit(self): StateData.StateData.exit(self) taskMgr.remove(self.__chatTaskName) def doneHandler(self, task): doneStatus = {} doneStatus['state'] = 'chatty' doneStatus['status'] = 'done' messenger.send(self.__doneEvent, [doneStatus]) return Task.done class CharWalkStateAI(StateData.StateData): notify = DirectNotifyGlobal.directNotify.newCategory('CharWalkStateAI') def __init__(self, doneEvent, character, diffPath = None): StateData.StateData.__init__(self, doneEvent) self.__doneEvent = doneEvent self.character = character if diffPath == None: self.paths = CCharPaths.getPaths(character.getName(), character.getCCLocation()) else: self.paths = CCharPaths.getPaths(diffPath, character.getCCLocation()) self.speed = character.walkSpeed() self.__lastWalkNode = CCharPaths.startNode self.__curWalkNode = CCharPaths.startNode return def enter(self): destNode = self.__lastWalkNode choices = CCharPaths.getAdjacentNodes(self.__curWalkNode, self.paths) if len(choices) == 1: destNode = choices[0] else: while destNode == self.__lastWalkNode: destNode = random.choice(CCharPaths.getAdjacentNodes(self.__curWalkNode, self.paths)) self.notify.debug('Walking ' + self.character.getName() + '... from ' + str(self.__curWalkNode) + '(' + str(CCharPaths.getNodePos(self.__curWalkNode, self.paths)) + ') to ' + str(destNode) + '(' + str(CCharPaths.getNodePos(destNode, self.paths)) + ')') self.character.sendUpdate('setWalk', [self.__curWalkNode, destNode, globalClockDelta.getRealNetworkTime()]) duration = CCharPaths.getWalkDuration(self.__curWalkNode, destNode, self.speed, self.paths) t = taskMgr.doMethodLater(duration, self.doneHandler, self.character.taskName(self.character.getName() + 'DoneWalking')) t.newWalkNode = destNode self.destNode = destNode def exit(self): StateData.StateData.exit(self) taskMgr.remove(self.character.taskName(self.character.getName() + 'DoneWalking')) def getDestNode(self): if hasattr(self, 'destNode') and self.destNode: return self.destNode else: return self.__curWalkNode def setCurNode(self, curWalkNode): self.__curWalkNode = curWalkNode def doneHandler(self, task): self.__lastWalkNode = self.__curWalkNode self.__curWalkNode = task.newWalkNode self.character.sendUpdate('setWalk', [self.__curWalkNode, self.__curWalkNode, globalClockDelta.getRealNetworkTime()]) doneStatus = {} doneStatus['state'] = 'walk' doneStatus['status'] = 'done' messenger.send(self.__doneEvent, [doneStatus]) return Task.done class CharFollowChipStateAI(StateData.StateData): notify = DirectNotifyGlobal.directNotify.newCategory('CharFollowChipStateAI') def __init__(self, doneEvent, character, followedChar): StateData.StateData.__init__(self, doneEvent) self.__doneEvent = doneEvent self.character = character self.followedChar = followedChar self.paths = CCharPaths.getPaths(character.getName(), character.getCCLocation()) self.speed = character.walkSpeed() self.__lastWalkNode = CCharPaths.startNode self.__curWalkNode = CCharPaths.startNode def enter(self, chipDestNode): destNode = self.__lastWalkNode choices = CCharPaths.getAdjacentNodes(self.__curWalkNode, self.paths) if len(choices) == 1: destNode = choices[0] else: while destNode == self.__lastWalkNode: destNode = random.choice(CCharPaths.getAdjacentNodes(self.__curWalkNode, self.paths)) destNode = chipDestNode self.notify.debug('Walking ' + self.character.getName() + '... from ' + str(self.__curWalkNode) + '(' + str(CCharPaths.getNodePos(self.__curWalkNode, self.paths)) + ') to ' + str(destNode) + '(' + str(CCharPaths.getNodePos(destNode, self.paths)) + ')') self.offsetDistance = ToontownGlobals.DaleOrbitDistance angle = random.randint(0, 359) self.offsetX = math.cos(deg2Rad(angle)) * self.offsetDistance self.offsetY = math.sin(deg2Rad(angle)) * self.offsetDistance self.character.sendUpdate('setFollowChip', [self.__curWalkNode, destNode, globalClockDelta.getRealNetworkTime(), self.offsetX, self.offsetY]) duration = CCharPaths.getWalkDuration(self.__curWalkNode, destNode, self.speed, self.paths) t = taskMgr.doMethodLater(duration, self.__doneHandler, self.character.taskName(self.character.getName() + 'DoneWalking')) t.newWalkNode = destNode def exit(self): StateData.StateData.exit(self) taskMgr.remove(self.character.taskName(self.character.getName() + 'DoneWalking')) def __doneHandler(self, task): self.__lastWalkNode = self.__curWalkNode self.__curWalkNode = task.newWalkNode self.character.sendUpdate('setFollowChip', [self.__curWalkNode, self.__curWalkNode, globalClockDelta.getRealNetworkTime(), self.offsetX, self.offsetY]) doneStatus = {} doneStatus['state'] = 'walk' doneStatus['status'] = 'done' messenger.send(self.__doneEvent, [doneStatus]) return Task.done class ChipChattyStateAI(CharChattyStateAI): notify = DirectNotifyGlobal.directNotify.newCategory('ChipChattyStateAI') def setDaleId(self, daleId): self.daleId = daleId self.dale = simbase.air.doId2do.get(self.daleId) def blather(self, task): now = globalClock.getFrameTime() if now < self.nextChatTime: return Task.cont self.getLatestChatter() if self.character.lostInterest(): self.leave() return Task.done if not self.chatter: self.notify.debug('I do not want to talk') return Task.done if not self.character.getNearbyAvatars(): return Task.cont target = self.character.getNearbyAvatars()[0] if self.lastChatTarget != target: self.lastChatTarget = target category = CCharChatter.GREETING else: category = CCharChatter.COMMENT if category == self.lastMessage[0] and len(self.chatter[category]) > 1: msg = self.lastMessage[1] lastMsgIndex = self.lastMessage[1] if lastMsgIndex < len(self.chatter[category]) and lastMsgIndex >= 0: while self.chatter[category][msg] == self.chatter[category][lastMsgIndex]: msg = self.pickMsg(category) if not msg: break else: msg = self.pickMsg(category) else: msg = self.pickMsg(category) if msg == None: self.notify.debug('I do not want to talk') return Task.done self.character.sendUpdate('setChat', [category, msg, target]) if hasattr(self, 'dale') and self.dale: self.dale.sendUpdate('setChat', [category, msg, target]) self.lastMessage = [category, msg] self.nextChatTime = now + 8.0 + random.random() * 4.0 return Task.cont def leave(self): if self.chatter != None: category = CCharChatter.GOODBYE msg = random.randint(0, len(self.chatter[CCharChatter.GOODBYE]) - 1) target = self.character.getNearbyAvatars()[0] self.character.sendUpdate('setChat', [category, msg, target]) if hasattr(self, 'dale') and self.dale: self.dale.sendUpdate('setChat', [category, msg, target]) taskMgr.doMethodLater(1, self.doneHandler, self.character.taskName('waitToFinish')) return
40.971246
260
0.638958
1,231
12,824
6.552396
0.121852
0.074138
0.032234
0.016365
0.818249
0.792834
0.717704
0.70605
0.684726
0.684726
0
0.005004
0.251949
12,824
312
261
41.102564
0.835818
0
0
0.765568
0
0
0.042966
0.001638
0
0
0
0
0
1
0.095238
false
0
0.032967
0
0.25641
0
0
0
0
null
0
0
0
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
6
b432ec25b50331a811afb8865b460432d7a4da4e
40
py
Python
hydra/eo/__init__.py
JimBoonie/hydra
63665090812e4e209c67d5dc0b84b5bb35a57ead
[ "MIT" ]
28
2015-12-30T22:38:16.000Z
2021-03-21T07:52:39.000Z
hydra/eo/__init__.py
JimBoonie/hydra
63665090812e4e209c67d5dc0b84b5bb35a57ead
[ "MIT" ]
2
2017-02-23T09:54:09.000Z
2018-12-14T12:20:28.000Z
hydra/eo/__init__.py
JimBoonie/hydra
63665090812e4e209c67d5dc0b84b5bb35a57ead
[ "MIT" ]
7
2017-02-23T09:43:24.000Z
2022-01-10T12:17:36.000Z
from .kuo import * from .akyuz import *
13.333333
20
0.7
6
40
4.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.2
40
2
21
20
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b435b941fe75146a0258f8b758c36eaccc407686
36
py
Python
GuaDao/SimpleTable/__init__.py
CYTMWIA/MyGarage
b7023e284528c6a581dd15f5017c91a222d02b10
[ "MIT" ]
1
2020-07-11T10:46:43.000Z
2020-07-11T10:46:43.000Z
GuaDao/SimpleTable/__init__.py
CYTMWIA/MyGarage
b7023e284528c6a581dd15f5017c91a222d02b10
[ "MIT" ]
null
null
null
GuaDao/SimpleTable/__init__.py
CYTMWIA/MyGarage
b7023e284528c6a581dd15f5017c91a222d02b10
[ "MIT" ]
1
2020-07-14T05:50:39.000Z
2020-07-14T05:50:39.000Z
from .SimpleTable import SimpleTable
36
36
0.888889
4
36
8
0.75
0
0
0
0
0
0
0
0
0
0
0
0.083333
36
1
36
36
0.969697
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b44af72d464a1a15bc7d066204edee4b7a4490f0
821
py
Python
imgkerneliu/__init__.py
liuyunclouder/imgkerneliu
26a3aae488abdc7f1ae82a99e19e44193822b55c
[ "MIT" ]
3
2019-09-22T09:17:37.000Z
2020-07-29T00:41:41.000Z
imgkerneliu/__init__.py
liuyunclouder/imgkerneliu
26a3aae488abdc7f1ae82a99e19e44193822b55c
[ "MIT" ]
null
null
null
imgkerneliu/__init__.py
liuyunclouder/imgkerneliu
26a3aae488abdc7f1ae82a99e19e44193822b55c
[ "MIT" ]
1
2020-09-01T09:12:57.000Z
2020-09-01T09:12:57.000Z
from .kernels import * from .imgconv import imgconv def identity(imgpath, gray=True, **argkw): return imgconv(imgpath, identity_kernel(**argkw), strides=1, mean=False, gray=gray) def sharpen(imgpath, gray=True, **argkw): return imgconv(imgpath, sharpen_kernel(**argkw), strides=1, mean=False, gray=gray) def blur(imgpath, gray=True, **argkw): return imgconv(imgpath, blur_kernel(**argkw), strides=1, mean=False, gray=gray) def emboss(imgpath, gray=True, **argkw): return imgconv(imgpath, emboss_kernel(**argkw), strides=1, mean=False, gray=gray) def outline(imgpath, gray=True, **argkw): return imgconv(imgpath, outline_kernel(**argkw), strides=1, mean=True, gray=gray) def sobel(imgpath, gray=True, **argkw): return imgconv(imgpath, sobel_kernel(**argkw), strides=1, mean=False, gray=gray)
39.095238
87
0.723508
115
821
5.113043
0.182609
0.112245
0.153061
0.204082
0.77381
0.734694
0.734694
0.326531
0.265306
0
0
0.008299
0.119367
821
20
88
41.05
0.804979
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
1
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
5eece864b54c032ed0f091be3c589bc625240e31
27
py
Python
tests/__init__.py
AlexSteele/pydb
45f6e603d48a865a2425ecd243e39069873f5f4d
[ "MIT" ]
1
2021-04-04T07:59:51.000Z
2021-04-04T07:59:51.000Z
tests/__init__.py
AlexSteele/pydb
45f6e603d48a865a2425ecd243e39069873f5f4d
[ "MIT" ]
null
null
null
tests/__init__.py
AlexSteele/pydb
45f6e603d48a865a2425ecd243e39069873f5f4d
[ "MIT" ]
null
null
null
from .fuzzer import Fuzzer
13.5
26
0.814815
4
27
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6f05b4d2cd5bb0199d50acb088732a4ad4f4868d
8,593
py
Python
unittests.py
SamK/pynagios
8818b69c9b168a7293df7450461fb8a4160b42b9
[ "MIT" ]
null
null
null
unittests.py
SamK/pynagios
8818b69c9b168a7293df7450461fb8a4160b42b9
[ "MIT" ]
null
null
null
unittests.py
SamK/pynagios
8818b69c9b168a7293df7450461fb8a4160b42b9
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest import sys import pynagios class ReadmeExamples(unittest.TestCase): def test_example1(self): # 2a. create the first service service1 = pynagios.Service("Service1") service1.value = 23 service1.max_level = 100 service1.warn_level = 85 service1.crit_level = 95 # 3. create a "Check" instance check = pynagios.Check() # 5. add the services into the nagios instance check.add(service1) # 5. print the check print check.output() # 6. exit with the appropriate exit code self.assertEqual(check.exit_code, 0) class SimpleServiceTestCase(unittest.TestCase): def setUp(self): self.check = pynagios.Check() self.service = pynagios.Service('single_service') self.service.max_level = 100 class Test_Exceptions(SimpleServiceTestCase): def setUp(self): super(Test_Exceptions, self).setUp() def test_no_service(self): with self.assertRaises(Exception): self.check.output() def test_mix_abs_percent(self): self.service.warn_level = '80' self.service.crit_level = '90%' with self.assertRaises(Exception): self.check.add(self.service) def test_mix_percent_abs(self): self.service = warn_level = '50%' self.service = crit_level = '60' with self.assertRaises(Exception): self.check.add(self.service) class Absolute_Values_TestCase(SimpleServiceTestCase): def setUp(self): super(Absolute_Values_TestCase, self).setUp() self.service.warn_level = 80 self.service.crit_level = 90 def test_check_ok(self): self.service.value = 1 self.check.add(self.service) self.assertEqual(self.check.status, 'OK') self.assertEqual(self.check.exit_code, 0) self.assertEqual(self.check.output(), 'OK - single_service is OK 1/100') def test_check_warning(self): self.service.value = 81 self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') self.assertEqual(self.check.exit_code, 1) self.assertEqual(self.check.output(), 'WARNING - single_service is WARNING 81/100') def test_check_critical(self): self.service.value = 91 self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') self.assertEqual(self.check.exit_code, 2) self.assertEqual(self.check.output(), 'CRITICAL - single_service is CRITICAL 91/100') def test_no_value(self): self.service.value = None self.check.add(self.service) self.assertEqual(self.check.status, 'UNKNOWN') self.assertEqual(self.check.exit_code, 3) self.assertEqual(self.check.output(), 'UNKNOWN - single_service is UNKNOWN None/100') class Percent_Values_TestCase(SimpleServiceTestCase): def setUp(self): super(Percent_Values_TestCase, self).setUp() self.service.warn_level = '80%' self.service.crit_level = '90%' def test_check_ok(self): self.service.value = 1 self.check.add(self.service) self.assertEqual(self.check.status, 'OK') self.assertEqual(self.check.exit_code, 0) self.assertEqual(self.check.output(), 'OK - single_service is OK 1/100') def test_check_warning(self): self.service.value = 85 self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') self.assertEqual(self.check.exit_code, 1) self.assertEqual(self.check.output(), 'WARNING - single_service is WARNING 85/100') def test_check_critical(self): self.service.value = 95 self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') self.assertEqual(self.check.exit_code, 2) self.assertEqual(self.check.output(), 'CRITICAL - single_service is CRITICAL 95/100') def test_check_unknown(self): self.service.value = None self.check.add(self.service) self.assertEqual(self.check.status, 'UNKNOWN') self.assertEqual(self.check.exit_code, 3) self.assertEqual(self.check.output(), 'UNKNOWN - single_service is UNKNOWN None/100') class No_Max_Value_TestCase(unittest.TestCase): def setUp(self): self.check = pynagios.Check() self.service = pynagios.Service('no_max_value') self.service.warn_level = 80 self.service.crit_level = 90 def test_check_ok(self): self.service.value = 10 self.service.text = '%(name)s has value of %(value)s' self.check.add(self.service) self.assertEqual(self.check.status, 'OK') def test_check_warning(self): self.service.value = 81 self.service.text = '%(name)s has value of %(value)s' self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') def test_check_critical(self): self.service.value = 91 self.service.text = '%(name)s has value of %(value)s' self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') class Exit_Code_TestCase(SimpleServiceTestCase): def test_exit_codes(self): self.assertEqual(self.check.status_codes['OK'], 0) self.assertEqual(self.check.status_codes['WARNING'], 1) self.assertEqual(self.check.status_codes['CRITICAL'], 2) self.assertEqual(self.check.status_codes['UNKNOWN'], 3) class StringServiceTestCase(unittest.TestCase): def setUp(self): self.service = pynagios.Service('single_service') self.service.stringvalues = True self.service.ok_level = 'ok' self.service.warn_level = 'warn' self.service.crit_level = 'crit' self.check = pynagios.Check() class String_Values_TestCase(StringServiceTestCase): def test_ok_all_defined(self): self.service.value = 'ok' self.check.add(self.service) self.assertEqual(self.check.status, 'OK') def test_critical_all_defined(self): self.service.value = 'crit' self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') def test_warning_all_defined(self): self.service.value = 'warn' self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') def test_unknown_all_defined(self): self.service.value = 'other' self.check.add(self.service) self.assertEqual(self.check.status, 'UNKNOWN') self.assertEqual(self.check.exit_code, 3) def test_check_ok_exclude_ok(self): self.service.value = 'ok' self.service.ok_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'OK') def test_check_ok_exclude_warning(self): self.service.value = 'ok' self.service.warn_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'OK') def test_check_ok_exclude_critical(self): self.service.value = 'ok' self.service.crit_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'OK') def test_check_warning_exclude_ok(self): self.service.value = 'warn' self.service.ok_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') def test_check_warning_exclude_warning(self): self.service.value = 'warn' self.service.warn_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') def test_check_warning_exclude_critical(self): self.service.value = 'warn' self.service.crit_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'WARNING') def test_check_critical_exclude_ok(self): self.service.value = 'crit' self.service.ok_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') def test_check_critical_exclude_warning(self): self.service.value = 'crit' self.service.warn_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') def test_check_critical_exclude_critical(self): self.service.value = 'crit' self.service.crit_level = None self.check.add(self.service) self.assertEqual(self.check.status, 'CRITICAL') if __name__ == "__main__": unittest.main(verbosity=2)
32.923372
93
0.660072
1,082
8,593
5.096118
0.086876
0.159594
0.15506
0.195865
0.821364
0.797969
0.723975
0.667029
0.653609
0.626406
0
0.016492
0.223787
8,593
260
94
33.05
0.810195
0.021064
0
0.642487
0
0
0.083988
0
0
0
0
0
0.253886
0
null
null
0
0.015544
null
null
0.005181
0
0
0
null
0
0
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
6f2463561cddc94ba3b96eda3e257915d981e153
25
py
Python
botal/__init__.py
dvec/botal
207ae03b01c6177350124668c0c80a6f7b7c4cef
[ "MIT" ]
null
null
null
botal/__init__.py
dvec/botal
207ae03b01c6177350124668c0c80a6f7b7c4cef
[ "MIT" ]
null
null
null
botal/__init__.py
dvec/botal
207ae03b01c6177350124668c0c80a6f7b7c4cef
[ "MIT" ]
null
null
null
from .botal import Botal
12.5
24
0.8
4
25
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6f5cde1c9dbf9c23082d10ec68b00d989033606b
35
py
Python
nitorch/_C/__init__.py
balbasty/nitorch
d30c3125a8a66ea1434f2b39ed03338afd9724b4
[ "MIT" ]
46
2020-07-31T10:14:05.000Z
2022-03-24T12:51:46.000Z
nitorch/_C/__init__.py
balbasty/nitorch
d30c3125a8a66ea1434f2b39ed03338afd9724b4
[ "MIT" ]
36
2020-10-06T19:01:38.000Z
2022-02-03T18:07:35.000Z
nitorch/_C/__init__.py
balbasty/nitorch
d30c3125a8a66ea1434f2b39ed03338afd9724b4
[ "MIT" ]
6
2021-01-05T14:59:05.000Z
2021-11-18T18:26:45.000Z
from .grid import COMPILED_BACKEND
17.5
34
0.857143
5
35
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.935484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
48e6a4bd1c7a1bd245e23dd64f7f83f9d7533034
46
py
Python
src/session/stopwatch/__init__.py
Oire/TheQube
fcfd8a68b15948e0740642d635db24adef8cc314
[ "MIT" ]
21
2015-08-02T21:26:14.000Z
2019-12-27T09:57:44.000Z
src/session/stopwatch/__init__.py
Oire/TheQube
fcfd8a68b15948e0740642d635db24adef8cc314
[ "MIT" ]
34
2015-01-12T00:38:14.000Z
2020-08-31T11:19:37.000Z
src/session/stopwatch/__init__.py
Oire/TheQube
fcfd8a68b15948e0740642d635db24adef8cc314
[ "MIT" ]
15
2015-03-24T15:42:30.000Z
2020-09-24T20:26:42.000Z
from main import Stopwatch import interface
15.333333
27
0.826087
6
46
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.173913
46
2
28
23
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d2a532e074f6f55081d5e63e7aa18bfc6e77b21d
3,682
py
Python
tests/test_base.py
danieltodor/rpi-gpio-devices
6a9d9981d2b58d1ba3b2419bf89bdaa03bad6577
[ "MIT" ]
null
null
null
tests/test_base.py
danieltodor/rpi-gpio-devices
6a9d9981d2b58d1ba3b2419bf89bdaa03bad6577
[ "MIT" ]
null
null
null
tests/test_base.py
danieltodor/rpi-gpio-devices
6a9d9981d2b58d1ba3b2419bf89bdaa03bad6577
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from src.base import BaseDevice, SwitchableDevice, PWMDevice from RPi.GPIO import assert_output, assert_duty_cycle, HIGH, LOW def test_base_device(): BaseDevice() def test_switchable_device_on_off_methods(): switchable = SwitchableDevice(1) assert switchable.is_on() is False assert switchable.is_off() is True def test_switchable_device_turn_on_off_methods(): pin = 1 switchable = SwitchableDevice(pin) switchable.turn_on() assert switchable.is_on() is True assert_output(pin, HIGH) switchable.turn_off() assert switchable.is_off() is True assert_output(pin, LOW) switchable.turn_off() def test_switchable_device_toggle_method(): pin = 1 switchable = SwitchableDevice(pin) switchable.toggle() assert switchable.is_on() is True assert_output(pin, HIGH) switchable.toggle() assert switchable.is_off() is True assert_output(pin, LOW) switchable.turn_off() def test_switchable_device_ontime_method(): switchable = SwitchableDevice(1) assert switchable.ontime() is 0 switchable.turn_on() assert switchable.ontime() is 0 ten_minutes_ago = datetime.now() - timedelta(minutes=10) switchable.turned_on_at = ten_minutes_ago assert switchable.ontime() == 10 * 60 switchable.turn_off() def test_pwm_device_turn_on_off_methods_single_pin(): pin1 = 1 pwm = PWMDevice(pin1) assert pwm.is_off() is True assert pwm.is_on() is False assert_output(pin1, LOW) pwm.turn_on() assert pwm.is_off() is False assert pwm.is_on() is True assert_output(pin1, HIGH) assert_duty_cycle(pin1, 0) pwm.turn_off() assert pwm.is_off() is True assert pwm.is_on() is False assert_output(pin1, LOW) pwm.turn_off() def test_pwm_device_turn_on_off_methods(): pin1, pin2 = 1, 2 pwm = PWMDevice(pin1, pin2) assert pwm.is_off() is True assert pwm.is_on() is False assert_output(pin1, LOW) assert_output(pin2, LOW) pwm.turn_on() assert pwm.is_off() is False assert pwm.is_on() is True assert_output(pin1, HIGH) assert_output(pin2, HIGH) assert_duty_cycle(pin1, 0) pwm.turn_off() assert pwm.is_off() is True assert pwm.is_on() is False assert_output(pin1, LOW) assert_output(pin2, LOW) pwm.turn_off() def test_pwm_device_set_duty_cycle_method_single_pin(): pin1 = 1 pwm = PWMDevice(pin1) pwm.set_duty_cycle(50) assert_duty_cycle(pin1, 50) assert pwm.is_on() is True assert pwm.is_off() is False assert_output(pin1, HIGH) pwm.set_duty_cycle(0) assert_duty_cycle(pin1, 0) assert_output(pin1, LOW) assert pwm.is_on() is False assert pwm.is_off() is True pwm.turn_on() pwm.set_duty_cycle(0, z_off=False) assert_duty_cycle(pin1, 0) assert pwm.is_on() is True assert pwm.is_off() is False assert_output(pin1, HIGH) pwm.turn_off() def test_pwm_device_set_duty_cycle_method(): pin1, pin2 = 1, 2 pwm = PWMDevice(pin1, pin2) pwm.set_duty_cycle(50) assert_duty_cycle(pin1, 50) assert pwm.is_on() is True assert pwm.is_off() is False assert_output(pin1, HIGH) assert_output(pin2, HIGH) pwm.set_duty_cycle(0) assert_duty_cycle(pin1, 0) assert_output(pin1, LOW) assert_output(pin2, LOW) assert pwm.is_on() is False assert pwm.is_off() is True pwm.turn_on() pwm.set_duty_cycle(0, z_off=False) assert_duty_cycle(pin1, 0) assert pwm.is_on() is True assert pwm.is_off() is False assert_output(pin1, HIGH) assert_output(pin2, HIGH) pwm.turn_off()
23.0125
64
0.695003
559
3,682
4.298748
0.089445
0.089888
0.109863
0.069913
0.851852
0.769871
0.722846
0.697878
0.664586
0.664586
0
0.02543
0.209669
3,682
159
65
23.157233
0.800344
0
0
0.853448
0
0
0
0
0
0
0
0
0.551724
1
0.077586
false
0
0.025862
0
0.103448
0
0
0
0
null
0
0
0
1
1
1
0
0
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
6
d2e97f2040dd6ba888c86f615734980a4bfffbd4
261
py
Python
agape/authentication/admin.py
codewiseio/django-agape
a63fc2cc63776c2b2cb16c7f6aee64f5783c3bba
[ "MIT" ]
null
null
null
agape/authentication/admin.py
codewiseio/django-agape
a63fc2cc63776c2b2cb16c7f6aee64f5783c3bba
[ "MIT" ]
null
null
null
agape/authentication/admin.py
codewiseio/django-agape
a63fc2cc63776c2b2cb16c7f6aee64f5783c3bba
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from django.contrib import admin from .models import User,UserActivation,ResetPasswordRequest admin.site.register(User) admin.site.register(UserActivation) admin.site.register(ResetPasswordRequest)
29
60
0.846743
32
261
6.90625
0.40625
0.122172
0.230769
0.208145
0.253394
0
0
0
0
0
0
0
0.08046
261
9
61
29
0.920833
0.099617
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
6
827d930d6218f5a1111d5f75cbf14a34adc02cb1
71
py
Python
tests/conftest.py
AgriConnect/distmqtt
6827a25eb862cc0325bda0f8443c8e65d8dd2c79
[ "MIT" ]
11
2020-07-03T20:51:01.000Z
2022-01-01T18:25:32.000Z
tests/conftest.py
AgriConnect/distmqtt
6827a25eb862cc0325bda0f8443c8e65d8dd2c79
[ "MIT" ]
10
2020-07-12T15:55:04.000Z
2022-01-05T11:48:33.000Z
tests/conftest.py
AgriConnect/distmqtt
6827a25eb862cc0325bda0f8443c8e65d8dd2c79
[ "MIT" ]
7
2020-08-03T03:53:41.000Z
2022-03-03T09:10:12.000Z
import pytest @pytest.fixture def anyio_backend(): return "trio"
10.142857
20
0.71831
9
71
5.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.183099
71
6
21
11.833333
0.862069
0
0
0
0
0
0.056338
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
8288a7954c4ec2a3e16c7da1a6324203e489c5f3
12,137
py
Python
src/pmuse_utils/dict/psf_dictionary_v6.py
emsellem/pmuse_utils
d9ca44b782534d9f6530e285560c56febe0ba407
[ "MIT" ]
null
null
null
src/pmuse_utils/dict/psf_dictionary_v6.py
emsellem/pmuse_utils
d9ca44b782534d9f6530e285560c56febe0ba407
[ "MIT" ]
null
null
null
src/pmuse_utils/dict/psf_dictionary_v6.py
emsellem/pmuse_utils
d9ca44b782534d9f6530e285560c56febe0ba407
[ "MIT" ]
null
null
null
# v6.0 - changed for DR2.1 # fwhm, alpha, lambda0, b dict_psf_150pc = {'IC5332': 3.43393120433962, 'NGC0628': 3.1442805342769633, 'NGC1087': 1.952032819711232, 'NGC1300': 1.6292638920470441, 'NGC1365': 1.5809770781574026, 'NGC1385': 1.7967318333787632, 'NGC1433': 1.660747307075634, 'NGC1512': 1.6431078631133105, 'NGC1566': 1.7489949125494855, 'NGC1672': 1.594831007497124, 'NGC2835': 2.531892001716559, 'NGC3351': 3.1063976725466658, 'NGC3627': 2.733190969184465, 'NGC4254': 2.361810689779021, 'NGC4303': 1.821054817767559, 'NGC4321': 2.034169681753257, 'NGC4535': 1.9619353226989054, 'NGC5068': 5.9499465522935955, 'NGC7496': 1.6527629311926655} dict_psf_copt = {"NGC0628": 0.92, "NGC1087": 0.92, "NGC1365": 1.15, "NGC1512": 1.25, "NGC1672": 0.96, "NGC2835": 1.15, "NGC3627": 1.05, "IC5332": 0.87, "NGC4254": 0.89, "NGC4535": 0.56, "NGC5068": 1.04, "NGC1300": 0.89, "NGC1385": 0.67, "NGC1433": 0.91, "NGC1566": 0.80, "NGC3351": 1.05, "NGC4303": 0.78, "NGC4321": 1.16, "NGC7496": 0.89, } dict_psf_IC5332 = {1: ['moffat', 0.595, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.798, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.667, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.720, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.751, 2.8, 6483.58, -3e-5]} dict_psf_NGC0628 = {1: ['moffat', 0.733, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.771, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.733, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.841, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.742, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.621, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.601, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.695, 2.8, 6483.58, -3e-5], 9: ['moffat', 0.698, 2.8, 6483.58, -3e-5], 10: ['moffat', 0.752, 2.8, 6483.58, -3e-5], 11: ['moffat', 0.738, 2.8, 6483.58, -3e-5], 12: ['moffat', 0.664, 2.8, 6483.58, -3e-5]} dict_psf_NGC1087 = {1: ['moffat', 0.695, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.788, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.829, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.630, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.845, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.626, 2.8, 6483.58, -3e-5]} dict_psf_NGC1300 = {1: ['moffat', 0.781, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.660, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.752, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.813, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.538, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.498, 2.3, 6483.58, -3e-5], 7: ['moffat', 0.631, 2.3, 6483.58, -3e-5], 8: ['moffat', 0.557, 2.3, 6483.58, -3e-5], 9: ['moffat', 0.577, 2.3, 6483.58, -3e-5], 10: ['moffat', 0.625, 2.3, 6483.58, -3e-5], 11: ['moffat', 0.536, 2.3, 6483.58, -3e-5], 12: ['moffat', 0.692, 2.3, 6483.58, -3e-5]} dict_psf_NGC1365 = {1: ['moffat', 0.708, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.821, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.831, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.899, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.923, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.716, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.640, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.902, 2.8, 6483.58, -3e-5], 9: ['moffat', 0.901, 2.8, 6483.58, -3e-5], 10: ['moffat', 1.081, 2.8, 6483.58, -3e-5], 11: ['moffat', 0.583, 2.8, 6483.58, -3e-5], 12: ['moffat', 0.756, 2.8, 6483.58, -3e-5], 30: ['moffat', 0.823, 2.8, 6483.58, -3e-5]} dict_psf_NGC1385 = {1: ['moffat', 0.489, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.379, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.568, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.694, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.591, 2.3, 6483.58, -3e-5]} dict_psf_NGC1433 = {1: ['moffat', 0.701, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.630, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.831, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.601, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.628, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.648, 2.3, 6483.58, -3e-5], 7: ['moffat', 0.702, 2.3, 6483.58, -3e-5], 8: ['moffat', 0.649, 2.3, 6483.58, -3e-5], 9: ['moffat', 0.709, 2.3, 6483.58, -3e-5], 10: ['moffat', 0.618, 2.3, 6483.58, -3e-5], 11: ['moffat', 0.609, 2.3, 6483.58, -3e-5], 12: ['moffat', 0.654, 2.3, 6483.58, -3e-5], 13: ['moffat', 0.646, 2.3, 6483.58, -3e-5], 14: ['moffat', 0.506, 2.3, 6483.58, -3e-5], 15: ['moffat', 0.642, 2.3, 6483.58, -3e-5]} dict_psf_NGC1512 = {1: ['moffat', 0.732, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.847, 2.8, 6483.58, -3e-5], 3: ['moffat', 1.176, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.800, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.683, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.699, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.829, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.927, 2.8, 6483.58, -3e-5], 30: ['moffat', 0.636, 2.8, 6483.58, -3e-5]} dict_psf_NGC1566 = {1: ['moffat', 0.539, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.557, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.596, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.649, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.633, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.723, 2.3, 6483.58, -3e-5], 7: ['moffat', 0.642, 2.3, 6483.58, -3e-5], 30: ['moffat', 0.641, 2.3, 6483.58, -3e-5]} dict_psf_NGC1672 = {1: ['moffat', 0.651, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.887, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.729, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.645, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.798, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.773, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.715, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.683, 2.8, 6483.58, -3e-5]} dict_psf_NGC2835 = {1: ['moffat', 0.775, 2.8, 6483.58, -3e-5], 2: ['moffat', 1.080, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.932, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.673, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.849, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.709, 2.8, 6483.58, -3e-5], 30: ['moffat', 0.867, 2.8, 6483.58, -3e-5]} dict_psf_NGC3351 = {1: ['moffat', 0.715, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.758, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.656, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.731, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.825, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.980, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.839, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.742, 2.8, 6483.58, -3e-5], 30: ['moffat', 0.612, 2.8, 6483.58, -3e-5]} dict_psf_NGC3627 = {1: ['moffat', 0.675, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.781, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.980, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.754, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.798, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.767, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.744, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.814, 2.8, 6483.58, -3e-5]} dict_psf_NGC4254 = {1: ['moffat', 0.633, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.573, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.588, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.609, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.815, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.771, 2.3, 6483.58, -3e-5], 7: ['moffat', 0.619, 2.3, 6483.58, -3e-5], 8: ['moffat', 0.485, 2.3, 6483.58, -3e-5], 9: ['moffat', 0.454, 2.3, 6483.58, -3e-5], 10: ['moffat', 0.534, 2.3, 6483.58, -3e-5], 11: ['moffat', 0.444, 2.3, 6483.58, -3e-5], 12: ['moffat', 0.451, 2.3, 6483.58, -3e-5]} dict_psf_NGC4303 = {1: ['moffat', 0.554, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.637, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.587, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.536, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.579, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.533, 2.3, 6483.58, -3e-5], 7: ['moffat', 0.507, 2.3, 6483.58, -3e-5], 8: ['moffat', 0.612, 2.3, 6483.58, -3e-5], 9: ['moffat', 0.700, 2.3, 6483.58, -3e-5]} dict_psf_NGC4321 = {1: ['moffat', 0.791, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.588, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.846, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.474, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.718, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.463, 2.3, 6483.58, -3e-5], 7: ['moffat', 0.615, 2.3, 6483.58, -3e-5], 8: ['moffat', 0.997, 2.3, 6483.58, -3e-5], 9: ['moffat', 0.499, 2.3, 6483.58, -3e-5], 10: ['moffat', 0.673, 2.3, 6483.58, -3e-5], 11: ['moffat', 1.092, 2.3, 6483.58, -3e-5]} dict_psf_NGC4535 = {1: ['moffat', 0.473, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.428, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.427, 2.3, 6483.58, -3e-5], 4: ['moffat', 0.469, 2.3, 6483.58, -3e-5], 5: ['moffat', 0.443, 2.3, 6483.58, -3e-5], 6: ['moffat', 0.433, 2.3, 6483.58, -3e-5]} dict_psf_NGC5068 = {1: ['moffat', 0.669, 2.8, 6483.58, -3e-5], 2: ['moffat', 0.880, 2.8, 6483.58, -3e-5], 3: ['moffat', 0.962, 2.8, 6483.58, -3e-5], 4: ['moffat', 0.690, 2.8, 6483.58, -3e-5], 5: ['moffat', 0.622, 2.8, 6483.58, -3e-5], 6: ['moffat', 0.833, 2.8, 6483.58, -3e-5], 7: ['moffat', 0.773, 2.8, 6483.58, -3e-5], 8: ['moffat', 0.557, 2.8, 6483.58, -3e-5], 9: ['moffat', 0.523, 2.8, 6483.58, -3e-5], 10: ['moffat', 0.904, 2.8, 6483.58, -3e-5]} dict_psf_NGC7496 = {1: ['moffat', 0.616, 2.3, 6483.58, -3e-5], 2: ['moffat', 0.813, 2.3, 6483.58, -3e-5], 3: ['moffat', 0.786, 2.3, 6483.58, -3e-5]} dict_locals = locals()
52.090129
62
0.390294
1,870
12,137
2.51016
0.120321
0.214742
0.286323
0.322113
0.706008
0.706008
0.698977
0.693865
0.613762
0.017469
0
0.420211
0.381972
12,137
232
63
52.314655
0.205573
0.003955
0
0.009615
0
0
0.105246
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
828951e6eef04a3ecaef6cbc4d4bb863129542f1
32,221
py
Python
tests/processors/fulltext/processor_test.py
elifesciences/sciencebeam-parser
66964f283612b8d6fa8a23ad8790292c1ec07651
[ "MIT" ]
13
2021-08-04T12:11:17.000Z
2022-03-28T20:41:20.000Z
tests/processors/fulltext/processor_test.py
elifesciences/sciencebeam-parser
66964f283612b8d6fa8a23ad8790292c1ec07651
[ "MIT" ]
33
2021-08-05T08:37:59.000Z
2022-03-29T18:42:09.000Z
tests/processors/fulltext/processor_test.py
elifesciences/sciencebeam-parser
66964f283612b8d6fa8a23ad8790292c1ec07651
[ "MIT" ]
1
2022-01-05T14:53:06.000Z
2022-01-05T14:53:06.000Z
import logging import os import pytest from sciencebeam_parser.document.layout_document import ( LayoutBlock, LayoutDocument, LayoutGraphic, LayoutPage, LayoutPageCoordinates ) from sciencebeam_parser.document.semantic_document import ( SemanticAffiliationAddress, SemanticAuthor, SemanticCaption, SemanticCountry, SemanticEditor, SemanticFigure, SemanticFigureCitation, SemanticGraphic, SemanticInstitution, SemanticInvalidReference, SemanticLabel, SemanticMarker, SemanticRawReference, SemanticRawReferenceText, SemanticReference, SemanticReferenceCitation, SemanticReferenceList, SemanticSectionTypes, SemanticTable, SemanticTableCitation, SemanticTitle, iter_by_semantic_type_recursively ) from sciencebeam_parser.processors.fulltext.processor import ( FullTextProcessor, FullTextProcessorConfig ) from tests.processors.fulltext.model_mocks import MockFullTextModels LOGGER = logging.getLogger(__name__) @pytest.fixture(name='fulltext_models_mock') def _fulltext_models() -> MockFullTextModels: return MockFullTextModels() class TestFullTextProcessor: def test_should_not_fail_with_empty_document( self, fulltext_models_mock: MockFullTextModels ): fulltext_processor = FullTextProcessor(fulltext_models_mock) layout_document = LayoutDocument(pages=[]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None def test_should_extract_from_document( self, fulltext_models_mock: MockFullTextModels ): fulltext_processor = FullTextProcessor(fulltext_models_mock) header_block = LayoutBlock.for_text('This is the header') body_block = LayoutBlock.for_text('This is the body') acknowledgment_block = LayoutBlock.for_text('Some acknowledgement') back_block = LayoutBlock.for_text('This is the back') segmentation_model_mock = fulltext_models_mock.segmentation_model_mock header_model_mock = fulltext_models_mock.header_model_mock fulltext_model_mock = fulltext_models_mock.fulltext_model_mock segmentation_model_mock.update_label_by_layout_block( header_block, '<header>' ) segmentation_model_mock.update_label_by_layout_block( body_block, '<body>' ) segmentation_model_mock.update_label_by_layout_block( acknowledgment_block, '<acknowledgement>' ) segmentation_model_mock.update_label_by_layout_block( back_block, '<annex>' ) header_model_mock.update_label_by_layout_block( header_block, '<title>' ) fulltext_model_mock.update_label_by_layout_block( body_block, '<paragraph>' ) fulltext_model_mock.update_label_by_layout_block( acknowledgment_block, '<paragraph>' ) fulltext_model_mock.update_label_by_layout_block( back_block, '<paragraph>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ header_block, body_block, acknowledgment_block, back_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None assert semantic_document.front.get_text() == header_block.text assert semantic_document.front.get_text_by_type(SemanticTitle) == header_block.text assert semantic_document.body_section.get_text() == body_block.text assert semantic_document.back_section.view_by_section_type( SemanticSectionTypes.OTHER ).get_text() == back_block.text assert semantic_document.back_section.view_by_section_type( SemanticSectionTypes.ACKNOWLEDGEMENT ).get_text() == acknowledgment_block.text def test_should_extract_acknowledgement_only( self, fulltext_models_mock: MockFullTextModels ): fulltext_processor = FullTextProcessor(fulltext_models_mock) acknowledgment_block = LayoutBlock.for_text('Some acknowledgement') segmentation_model_mock = fulltext_models_mock.segmentation_model_mock fulltext_model_mock = fulltext_models_mock.fulltext_model_mock segmentation_model_mock.update_label_by_layout_block( acknowledgment_block, '<acknowledgement>' ) fulltext_model_mock.update_label_by_layout_block( acknowledgment_block, '<paragraph>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ acknowledgment_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None assert semantic_document.back_section.view_by_section_type( SemanticSectionTypes.ACKNOWLEDGEMENT ).get_text() == acknowledgment_block.text def test_should_extract_author_names_from_document( self, fulltext_models_mock: MockFullTextModels ): given_name_block = LayoutBlock.for_text('Given name') surname_block = LayoutBlock.for_text('Surname') authors_block = LayoutBlock.merge_blocks([given_name_block, surname_block]) fulltext_processor = FullTextProcessor(fulltext_models_mock) header_block = authors_block segmentation_model_mock = fulltext_models_mock.segmentation_model_mock header_model_mock = fulltext_models_mock.header_model_mock name_header_model_mock = fulltext_models_mock.name_header_model_mock segmentation_model_mock.update_label_by_layout_block( header_block, '<header>' ) header_model_mock.update_label_by_layout_block( authors_block, '<author>' ) name_header_model_mock.update_label_by_layout_block( given_name_block, '<forename>' ) name_header_model_mock.update_label_by_layout_block( surname_block, '<surname>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ header_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None assert semantic_document.front.get_text() == authors_block.text assert ( semantic_document.front .view_by_type(SemanticAuthor).get_text() ) == authors_block.text authors = semantic_document.front.authors assert len(authors) == 1 assert authors[0].given_name_text == given_name_block.text assert authors[0].surname_text == surname_block.text def test_should_extract_author_names_separated_by_another_tag( self, fulltext_models_mock: MockFullTextModels ): given_name_block = LayoutBlock.for_text('Given name') surname_block = LayoutBlock.for_text('Surname') other_block = LayoutBlock.for_text('Other') authors_block = LayoutBlock.merge_blocks([ given_name_block, other_block, surname_block ]) fulltext_processor = FullTextProcessor( fulltext_models_mock, config=FullTextProcessorConfig(merge_raw_authors=True) ) header_block = authors_block segmentation_model_mock = fulltext_models_mock.segmentation_model_mock header_model_mock = fulltext_models_mock.header_model_mock name_header_model_mock = fulltext_models_mock.name_header_model_mock segmentation_model_mock.update_label_by_layout_block( header_block, '<header>' ) header_model_mock.update_label_by_layout_block( given_name_block, '<author>' ) header_model_mock.update_label_by_layout_block( surname_block, '<author>' ) name_header_model_mock.update_label_by_layout_block( given_name_block, '<forename>' ) name_header_model_mock.update_label_by_layout_block( surname_block, '<surname>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ header_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None authors = semantic_document.front.authors assert len(authors) == 1 assert authors[0].given_name_text == given_name_block.text assert authors[0].surname_text == surname_block.text def test_should_extract_affiliation_address_from_document( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): marker_block = LayoutBlock.for_text('1') institution_block = LayoutBlock.for_text('Institution1') country_block = LayoutBlock.for_text('Country1') aff_block = LayoutBlock.merge_blocks([marker_block, institution_block]) address_block = LayoutBlock.merge_blocks([country_block]) aff_address_block = LayoutBlock.merge_blocks([aff_block, address_block]) fulltext_processor = FullTextProcessor(fulltext_models_mock) header_block = aff_address_block segmentation_model_mock = fulltext_models_mock.segmentation_model_mock header_model_mock = fulltext_models_mock.header_model_mock affiliation_address_model_mock = fulltext_models_mock.affiliation_address_model_mock segmentation_model_mock.update_label_by_layout_block( header_block, '<header>' ) header_model_mock.update_label_by_layout_block( aff_block, '<affiliation>' ) header_model_mock.update_label_by_layout_block( address_block, '<address>' ) affiliation_address_model_mock.update_label_by_layout_block( marker_block, '<marker>' ) affiliation_address_model_mock.update_label_by_layout_block( institution_block, '<institution>' ) affiliation_address_model_mock.update_label_by_layout_block( country_block, '<country>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ header_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None assert semantic_document.front.get_text() == aff_address_block.text assert ( semantic_document.front .view_by_type(SemanticAffiliationAddress).get_text() ) == aff_address_block.text affiliations = list(semantic_document.front.iter_by_type(SemanticAffiliationAddress)) assert len(affiliations) == 1 assert affiliations[0].get_text_by_type(SemanticMarker) == marker_block.text assert affiliations[0].get_text_by_type(SemanticInstitution) == institution_block.text assert affiliations[0].get_text_by_type(SemanticCountry) == country_block.text assert affiliations[0].content_id == 'aff0' def test_should_not_merge_separate_raw_affiliations( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): aff_suffix_texts = ['1', '2'] institution_blocks = [ LayoutBlock.for_text(f'Institution{t}') for t in aff_suffix_texts ] aff_blocks = institution_blocks aff_address_blocks = aff_blocks fulltext_processor = FullTextProcessor(fulltext_models_mock) header_block = LayoutBlock.merge_blocks(aff_address_blocks) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock header_model_mock = fulltext_models_mock.header_model_mock affiliation_address_model_mock = fulltext_models_mock.affiliation_address_model_mock segmentation_model_mock.update_label_by_layout_block( header_block, '<header>' ) for aff_block in aff_blocks: header_model_mock.update_label_by_layout_block( aff_block, '<affiliation>' ) for institution_block in institution_blocks: affiliation_address_model_mock.update_label_by_layout_block( institution_block, '<institution>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ header_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) assert semantic_document is not None affiliations = list(semantic_document.front.iter_by_type(SemanticAffiliationAddress)) LOGGER.debug('affiliations: %r', affiliations) assert ( [aff.get_text() for aff in affiliations] == [aff_block.text for aff_block in aff_blocks] ) assert ( [aff.content_id for aff in affiliations] == ['aff0', 'aff1'] ) def test_should_extract_raw_references_from_document( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): label_block = LayoutBlock.for_text('1') ref_text_block = LayoutBlock.for_text('Reference 1') ref_block = LayoutBlock.merge_blocks([label_block, ref_text_block]) fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig(extract_citation_fields=False) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock reference_segmenter_model_mock = fulltext_models_mock.reference_segmenter_model_mock segmentation_model_mock.update_label_by_layout_block( ref_block, '<references>' ) reference_segmenter_model_mock.update_label_by_layout_block( label_block, '<label>' ) reference_segmenter_model_mock.update_label_by_layout_block( ref_text_block, '<reference>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ ref_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None assert semantic_document.back_section.get_text() == ref_block.text reference_list = list(semantic_document.back_section.iter_by_type(SemanticReferenceList)) assert len(reference_list) == 1 references = list(reference_list[0].iter_by_type(SemanticRawReference)) assert len(references) == 1 ref = references[0] assert ref.get_text_by_type(SemanticLabel) == label_block.text assert ref.get_text_by_type(SemanticRawReferenceText) == ref_text_block.text assert ref.content_id == 'b0' def test_should_extract_references_fields_from_document( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): other_body = LayoutBlock.for_text('the body') citation_block = LayoutBlock.for_text('1') body_block = LayoutBlock.merge_blocks([other_body, citation_block]) label_block = LayoutBlock.for_text('1') ref_title_block = LayoutBlock.for_text('Reference Title 1') ref_text_block = LayoutBlock.merge_blocks([ ref_title_block ]) ref_block = LayoutBlock.merge_blocks([label_block, ref_text_block]) fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig(extract_citation_fields=True) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock fulltext_model_mock = fulltext_models_mock.fulltext_model_mock reference_segmenter_model_mock = fulltext_models_mock.reference_segmenter_model_mock citation_model_mock = fulltext_models_mock.citation_model_mock segmentation_model_mock.update_label_by_layout_block( body_block, '<body>' ) segmentation_model_mock.update_label_by_layout_block( ref_block, '<references>' ) fulltext_model_mock.update_label_by_layout_block( other_body, '<section>' ) fulltext_model_mock.update_label_by_layout_block( citation_block, '<citation_marker>' ) reference_segmenter_model_mock.update_label_by_layout_block( label_block, '<label>' ) reference_segmenter_model_mock.update_label_by_layout_block( ref_text_block, '<reference>' ) citation_model_mock.update_label_by_layout_block( ref_title_block, '<title>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ body_block, ref_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None reference_list = list(semantic_document.back_section.iter_by_type(SemanticReferenceList)) assert len(reference_list) == 1 references = list(reference_list[0].iter_by_type(SemanticReference)) assert len(references) == 1 ref = references[0] assert ref.get_text_by_type(SemanticTitle) == ref_title_block.text assert ref.get_text_by_type(SemanticLabel) == label_block.text assert ref.get_text_by_type(SemanticRawReferenceText) == ref_text_block.text assert ref.content_id == 'b0' ref_citations = list( semantic_document.iter_by_type_recursively(SemanticReferenceCitation) ) assert len(ref_citations) == 1 assert ref_citations[0].target_content_id == 'b0' def test_should_extract_invalid_reference_from_document( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): other_body = LayoutBlock.for_text('the body') citation_block = LayoutBlock.for_text('1') body_block = LayoutBlock.merge_blocks([other_body, citation_block]) invalid_reference_block = LayoutBlock.for_text('This is an invalid reference 1') ref_text_block = invalid_reference_block ref_block = ref_text_block fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig(extract_citation_fields=True) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock fulltext_model_mock = fulltext_models_mock.fulltext_model_mock reference_segmenter_model_mock = fulltext_models_mock.reference_segmenter_model_mock citation_model_mock = fulltext_models_mock.citation_model_mock segmentation_model_mock.update_label_by_layout_block( body_block, '<body>' ) segmentation_model_mock.update_label_by_layout_block( ref_block, '<references>' ) fulltext_model_mock.update_label_by_layout_block( other_body, '<section>' ) fulltext_model_mock.update_label_by_layout_block( citation_block, '<citation_marker>' ) reference_segmenter_model_mock.update_label_by_layout_block( ref_text_block, '<reference>' ) citation_model_mock.update_label_by_layout_block( invalid_reference_block, 'O' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ body_block, ref_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None reference_list = list(semantic_document.back_section.iter_by_type(SemanticReferenceList)) assert len(reference_list) == 1 references = list(reference_list[0].iter_by_type(SemanticInvalidReference)) assert len(references) == 1 assert references[0].get_text() == invalid_reference_block.text def test_should_extract_author_names_from_references_fields( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): given_name_block = LayoutBlock.for_text('Given name') surname_block = LayoutBlock.for_text('Surname') other_block = LayoutBlock.for_text('Other') authors_block = LayoutBlock.merge_blocks([ given_name_block, other_block, surname_block ]) ref_text_block = LayoutBlock.merge_blocks([ authors_block ]) ref_block = LayoutBlock.merge_blocks([ref_text_block]) fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig(extract_citation_fields=True) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock reference_segmenter_model_mock = fulltext_models_mock.reference_segmenter_model_mock citation_model_mock = fulltext_models_mock.citation_model_mock name_citation_model_mock = fulltext_models_mock.name_citation_model_mock segmentation_model_mock.update_label_by_layout_block( ref_block, '<references>' ) reference_segmenter_model_mock.update_label_by_layout_block( ref_text_block, '<reference>' ) citation_model_mock.update_label_by_layout_block( authors_block, '<author>' ) name_citation_model_mock.update_label_by_layout_block( given_name_block, '<forename>' ) name_citation_model_mock.update_label_by_layout_block( surname_block, '<surname>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ ref_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None reference_list = list(semantic_document.back_section.iter_by_type(SemanticReferenceList)) assert len(reference_list) == 1 references = list(reference_list[0].iter_by_type(SemanticReference)) assert len(references) == 1 ref = references[0] authors = list(ref.iter_by_type(SemanticAuthor)) assert len(authors) == 1 assert authors[0].given_name_text == given_name_block.text assert authors[0].surname_text == surname_block.text def test_should_extract_editor_names_from_references_fields( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels ): given_name_block = LayoutBlock.for_text('Given name') surname_block = LayoutBlock.for_text('Surname') other_block = LayoutBlock.for_text('Other') editors_block = LayoutBlock.merge_blocks([ given_name_block, other_block, surname_block ]) ref_text_block = LayoutBlock.merge_blocks([ editors_block ]) ref_block = LayoutBlock.merge_blocks([ref_text_block]) fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig( extract_citation_fields=True, extract_citation_authors=False, extract_citation_editors=True ) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock reference_segmenter_model_mock = fulltext_models_mock.reference_segmenter_model_mock citation_model_mock = fulltext_models_mock.citation_model_mock name_citation_model_mock = fulltext_models_mock.name_citation_model_mock segmentation_model_mock.update_label_by_layout_block( ref_block, '<references>' ) reference_segmenter_model_mock.update_label_by_layout_block( ref_text_block, '<reference>' ) citation_model_mock.update_label_by_layout_block( editors_block, '<editor>' ) name_citation_model_mock.update_label_by_layout_block( given_name_block, '<forename>' ) name_citation_model_mock.update_label_by_layout_block( surname_block, '<surname>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ ref_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None reference_list = list(semantic_document.back_section.iter_by_type(SemanticReferenceList)) assert len(reference_list) == 1 references = list(reference_list[0].iter_by_type(SemanticReference)) assert len(references) == 1 ref = references[0] editors = list(ref.iter_by_type(SemanticEditor)) assert len(editors) == 1 assert editors[0].given_name_text == given_name_block.text assert editors[0].surname_text == surname_block.text @pytest.mark.parametrize( 'segmentation_label', ['<body>', '<annex>'] ) def test_should_extract_figure_label_caption_from_body( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels, segmentation_label: str ): citation_block = LayoutBlock.for_text('Figure 1') _coordinates = LayoutPageCoordinates(x=10, y=10, width=100, height=10) graphic_local_file_path = '/path/to/graphic1.svg' graphic = LayoutGraphic( coordinates=_coordinates, local_file_path=graphic_local_file_path ) _coordinates = _coordinates.move_by(dy=10) label_block = LayoutBlock.for_text('Figure 1', coordinates=_coordinates) _coordinates = _coordinates.move_by(dy=10) caption_block = LayoutBlock.for_text('Caption 1', coordinates=_coordinates) other_block = LayoutBlock.for_text('Other') figure_block = LayoutBlock.merge_blocks([ label_block, other_block, caption_block ]) fulltext_block = LayoutBlock.merge_blocks([citation_block, figure_block]) fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig( extract_figure_fields=True, extract_graphic_bounding_boxes=True, extract_graphic_assets=True ) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock fulltext_model_mock = fulltext_models_mock.fulltext_model_mock figure_model_mock = fulltext_models_mock.figure_model_mock segmentation_model_mock.update_label_by_layout_block( fulltext_block, segmentation_label ) fulltext_model_mock.update_label_by_layout_block( citation_block, '<figure_marker>' ) fulltext_model_mock.update_label_by_layout_block( figure_block, '<figure>' ) figure_model_mock.update_label_by_layout_block( label_block, '<label>' ) figure_model_mock.update_label_by_layout_block( caption_block, '<figDesc>' ) layout_document = LayoutDocument(pages=[LayoutPage( blocks=[fulltext_block], graphics=[graphic] )]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None figure_list = list(iter_by_semantic_type_recursively( [semantic_document.body_section, semantic_document.back_section], SemanticFigure )) assert len(figure_list) == 1 figure = figure_list[0] assert figure.get_text_by_type(SemanticLabel) == label_block.text assert figure.get_text_by_type(SemanticCaption) == caption_block.text assert figure.content_id == 'fig_0' figure_citation_list = list( semantic_document.iter_by_type_recursively(SemanticFigureCitation) ) assert len(figure_citation_list) == 1 assert figure_citation_list[0].get_text() == citation_block.text assert figure_citation_list[0].target_content_id == 'fig_0' semantic_graphic_list = list(figure.iter_by_type(SemanticGraphic)) assert semantic_graphic_list assert semantic_graphic_list[0].layout_graphic == graphic assert semantic_graphic_list[0].relative_path == os.path.basename( graphic_local_file_path ) @pytest.mark.parametrize( 'segmentation_label', ['<body>', '<annex>'] ) def test_should_extract_table_label_caption_from_body( # pylint: disable=too-many-locals self, fulltext_models_mock: MockFullTextModels, segmentation_label: str ): citation_block = LayoutBlock.for_text('Table 1') label_block = LayoutBlock.for_text('Table 1') caption_block = LayoutBlock.for_text('Caption 1') other_block = LayoutBlock.for_text('Other') figure_block = LayoutBlock.merge_blocks([ label_block, other_block, caption_block ]) fulltext_block = LayoutBlock.merge_blocks([citation_block, figure_block]) fulltext_processor = FullTextProcessor( fulltext_models_mock, FullTextProcessorConfig(extract_table_fields=True) ) segmentation_model_mock = fulltext_models_mock.segmentation_model_mock fulltext_model_mock = fulltext_models_mock.fulltext_model_mock table_model_mock = fulltext_models_mock.table_model_mock segmentation_model_mock.update_label_by_layout_block( fulltext_block, segmentation_label ) fulltext_model_mock.update_label_by_layout_block( citation_block, '<table_marker>' ) fulltext_model_mock.update_label_by_layout_block( figure_block, '<table>' ) table_model_mock.update_label_by_layout_block( label_block, '<label>' ) table_model_mock.update_label_by_layout_block( caption_block, '<figDesc>' ) layout_document = LayoutDocument(pages=[LayoutPage(blocks=[ fulltext_block ])]) semantic_document = fulltext_processor.get_semantic_document_for_layout_document( layout_document=layout_document ) LOGGER.debug('semantic_document: %s', semantic_document) assert semantic_document is not None table_list = list(iter_by_semantic_type_recursively( [semantic_document.body_section, semantic_document.back_section], SemanticTable )) assert len(table_list) == 1 table = table_list[0] assert table.get_text_by_type(SemanticLabel) == label_block.text assert table.get_text_by_type(SemanticCaption) == caption_block.text assert table.content_id == 'tab_0' table_citation_list = list( semantic_document.iter_by_type_recursively(SemanticTableCitation) ) assert len(table_citation_list) == 1 assert table_citation_list[0].get_text() == citation_block.text assert table_citation_list[0].target_content_id == 'tab_0'
40.478643
99
0.695354
3,425
32,221
6.061022
0.054307
0.063298
0.060697
0.06166
0.843056
0.819741
0.798015
0.772629
0.759574
0.696421
0
0.003782
0.23674
32,221
795
100
40.52956
0.84032
0.008907
0
0.579915
0
0
0.039437
0.000658
0
0
0
0
0.114569
1
0.021216
false
0
0.009901
0.001414
0.033946
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
82a230e1215e7f471cedb03791dfe345af24d6c5
70
py
Python
contacts/views/__init__.py
I-TECH-UW/mwachx
e191755c3369208d678fceec68dbb4f5f51c453a
[ "Apache-2.0" ]
3
2015-05-27T14:35:49.000Z
2016-02-26T21:04:32.000Z
contacts/views/__init__.py
tperrier/mwachx
94616659dc29843e661b2ecc9a2e7f1d4e81b5a4
[ "Apache-2.0" ]
375
2015-01-31T10:08:34.000Z
2021-06-10T19:44:21.000Z
contacts/views/__init__.py
I-TECH-UW/mwachx
e191755c3369208d678fceec68dbb4f5f51c453a
[ "Apache-2.0" ]
6
2016-01-10T19:52:41.000Z
2020-06-15T22:07:24.000Z
from misc import * from ajax import * from old import * import crispy
14
18
0.757143
11
70
4.818182
0.545455
0.377358
0
0
0
0
0
0
0
0
0
0
0.2
70
4
19
17.5
0.946429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
82ad0c77e7d54457489ccd5eb74e8aa30fb57db6
62
py
Python
meiduo_mall/meiduo_mall/__init__.py
0-pangda/meiduo_project1
69d771d9c5b67c01510ecfabe4c28989e44d0fba
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/__init__.py
0-pangda/meiduo_project1
69d771d9c5b67c01510ecfabe4c28989e44d0fba
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/__init__.py
0-pangda/meiduo_project1
69d771d9c5b67c01510ecfabe4c28989e44d0fba
[ "MIT" ]
null
null
null
from pymysql import install_as_MySQLdb install_as_MySQLdb()
12.4
38
0.854839
9
62
5.444444
0.666667
0.367347
0.653061
0
0
0
0
0
0
0
0
0
0.112903
62
4
39
15.5
0.890909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
1
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
0
0
0
6
82ad0c7e498884f8ed0905093efb434b0822cbe7
123
py
Python
ports/esp32/boards/UM_FEATHERS2/manifest.py
rxchen/micropython
037b2c72a1d5b54a5508a58ab2044628a7a39fa4
[ "MIT" ]
13,648
2015-01-01T01:34:51.000Z
2022-03-31T16:19:53.000Z
ports/esp32/boards/UM_FEATHERS2/manifest.py
rxchen/micropython
037b2c72a1d5b54a5508a58ab2044628a7a39fa4
[ "MIT" ]
7,092
2015-01-01T07:59:11.000Z
2022-03-31T23:52:18.000Z
ports/esp32/boards/UM_FEATHERS2/manifest.py
rxchen/micropython
037b2c72a1d5b54a5508a58ab2044628a7a39fa4
[ "MIT" ]
4,942
2015-01-02T11:48:50.000Z
2022-03-31T19:57:10.000Z
include("$(PORT_DIR)/boards/manifest.py") freeze("$(PORT_DIR)/boards/UM_TINYPICO/modules", "dotstar.py") freeze("modules")
30.75
62
0.739837
17
123
5.176471
0.647059
0.159091
0.295455
0
0
0
0
0
0
0
0
0
0.03252
123
3
63
41
0.739496
0
0
0
0
0
0.691057
0.552846
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
7d63dc7234c7f46df11ecf39613e12184aec4e8d
239
py
Python
jupyterlab_nbconvert_nocode/nbconvert_functions/hideinput/utils.py
vidartf/jupyterlab_nbconvert_nocode
c7b43f2df4a85415b923d3a87d95e5eb11ae437a
[ "Apache-2.0" ]
1
2021-05-17T06:39:13.000Z
2021-05-17T06:39:13.000Z
jupyterlab_nbconvert_nocode/nbconvert_functions/hideinput/utils.py
vidartf/jupyterlab_nbconvert_nocode
c7b43f2df4a85415b923d3a87d95e5eb11ae437a
[ "Apache-2.0" ]
null
null
null
jupyterlab_nbconvert_nocode/nbconvert_functions/hideinput/utils.py
vidartf/jupyterlab_nbconvert_nocode
c7b43f2df4a85415b923d3a87d95e5eb11ae437a
[ "Apache-2.0" ]
1
2020-01-25T00:24:25.000Z
2020-01-25T00:24:25.000Z
ENV_VARS = {'publish': 'LANTERN_PUBLISH_TEMPLATE', 'export_pdf': 'LANTERN_EXPORT_PDF_TEMPLATE', 'export_html': 'LANTERN_EXPORT_HTML_TEMPLATE', 'export_html_email': 'LANTERN_EXPORT_HTML_EMAIL_TEMPLATE'}
39.833333
70
0.694561
26
239
5.730769
0.346154
0.268456
0.241611
0
0
0
0
0
0
0
0
0
0.196653
239
5
71
47.8
0.776042
0
0
0
0
0
0.663866
0.47479
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7d9483d69ca7b1166c57f0e257cfcad8125e929a
143,691
py
Python
sdk/python/pulumi_azure/media/_inputs.py
ScriptBox99/pulumi-azure
1b8c6d5479ccabc39094741eac25a8ca44c8833a
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/media/_inputs.py
ScriptBox99/pulumi-azure
1b8c6d5479ccabc39094741eac25a8ca44c8833a
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/media/_inputs.py
ScriptBox99/pulumi-azure
1b8c6d5479ccabc39094741eac25a8ca44c8833a
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.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__ = [ 'AssetFilterPresentationTimeRangeArgs', 'AssetFilterTrackSelectionArgs', 'AssetFilterTrackSelectionConditionArgs', 'ContentKeyPolicyPolicyOptionArgs', 'ContentKeyPolicyPolicyOptionFairplayConfigurationArgs', 'ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs', 'ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs', 'ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs', 'ContentKeyPolicyPolicyOptionTokenRestrictionArgs', 'ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs', 'JobInputAssetArgs', 'JobOutputAssetArgs', 'LiveEventCrossSiteAccessPolicyArgs', 'LiveEventEncodingArgs', 'LiveEventInputArgs', 'LiveEventInputEndpointArgs', 'LiveEventInputIpAccessControlAllowArgs', 'LiveEventPreviewArgs', 'LiveEventPreviewEndpointArgs', 'LiveEventPreviewIpAccessControlAllowArgs', 'ServiceAccountIdentityArgs', 'ServiceAccountKeyDeliveryAccessControlArgs', 'ServiceAccountStorageAccountArgs', 'StreamingEndpointAccessControlArgs', 'StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs', 'StreamingEndpointAccessControlIpAllowArgs', 'StreamingEndpointCrossSiteAccessPolicyArgs', 'StreamingLocatorContentKeyArgs', 'StreamingPolicyCommonEncryptionCbcsArgs', 'StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs', 'StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs', 'StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs', 'StreamingPolicyCommonEncryptionCencArgs', 'StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs', 'StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs', 'StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs', 'StreamingPolicyNoEncryptionEnabledProtocolsArgs', 'TransformOutputArgs', 'TransformOutputAudioAnalyzerPresetArgs', 'TransformOutputBuiltinPresetArgs', 'TransformOutputFaceDetectorPresetArgs', 'TransformOutputVideoAnalyzerPresetArgs', ] @pulumi.input_type class AssetFilterPresentationTimeRangeArgs: def __init__(__self__, *, end_in_units: Optional[pulumi.Input[int]] = None, force_end: Optional[pulumi.Input[bool]] = None, live_backoff_in_units: Optional[pulumi.Input[int]] = None, presentation_window_in_units: Optional[pulumi.Input[int]] = None, start_in_units: Optional[pulumi.Input[int]] = None, unit_timescale_in_miliseconds: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[int] end_in_units: The absolute end time boundary. Applies to Video on Demand (VoD). For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by `unit_timescale_in_miliseconds`, so an `end_in_units` of 180 would be for 3 minutes. Use `start_in_units` and `end_in_units` to trim the fragments that will be in the playlist (manifest). For example, `start_in_units` set to 20 and `end_in_units` set to 60 using `unit_timescale_in_miliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. :param pulumi.Input[bool] force_end: Indicates whether the `end_in_units` property must be present. If true, `end_in_units` must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. :param pulumi.Input[int] live_backoff_in_units: The relative to end right edge. Applies to Live Streaming only. This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by `unit_timescale_in_miliseconds`. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. :param pulumi.Input[int] presentation_window_in_units: The relative to end sliding window. Applies to Live Streaming only. Use `presentation_window_in_units` to apply a sliding window of fragments to include in a playlist. The unit is defined by `unit_timescale_in_miliseconds`. For example, set `presentation_window_in_units` to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. :param pulumi.Input[int] start_in_units: The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by `unit_timescale_in_miliseconds`, so a `start_in_units` of 15 would be for 15 seconds. Use `start_in_units` and `end_in_units` to trim the fragments that will be in the playlist (manifest). For example, `start_in_units` set to 20 and `end_in_units` set to 60 using `unit_timescale_in_miliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. :param pulumi.Input[int] unit_timescale_in_miliseconds: Specified as the number of miliseconds in one unit timescale. For example, if you want to set a `start_in_units` at 30 seconds, you would use a value of 30 when using the `unit_timescale_in_miliseconds` in 1000. Or if you want to set `start_in_units` in 30 miliseconds, you would use a value of 30 when using the `unit_timescale_in_miliseconds` in 1. Applies timescale to `start_in_units`, `start_timescale` and `presentation_window_in_timescale` and `live_backoff_in_timescale`. """ if end_in_units is not None: pulumi.set(__self__, "end_in_units", end_in_units) if force_end is not None: pulumi.set(__self__, "force_end", force_end) if live_backoff_in_units is not None: pulumi.set(__self__, "live_backoff_in_units", live_backoff_in_units) if presentation_window_in_units is not None: pulumi.set(__self__, "presentation_window_in_units", presentation_window_in_units) if start_in_units is not None: pulumi.set(__self__, "start_in_units", start_in_units) if unit_timescale_in_miliseconds is not None: pulumi.set(__self__, "unit_timescale_in_miliseconds", unit_timescale_in_miliseconds) @property @pulumi.getter(name="endInUnits") def end_in_units(self) -> Optional[pulumi.Input[int]]: """ The absolute end time boundary. Applies to Video on Demand (VoD). For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by `unit_timescale_in_miliseconds`, so an `end_in_units` of 180 would be for 3 minutes. Use `start_in_units` and `end_in_units` to trim the fragments that will be in the playlist (manifest). For example, `start_in_units` set to 20 and `end_in_units` set to 60 using `unit_timescale_in_miliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. """ return pulumi.get(self, "end_in_units") @end_in_units.setter def end_in_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "end_in_units", value) @property @pulumi.getter(name="forceEnd") def force_end(self) -> Optional[pulumi.Input[bool]]: """ Indicates whether the `end_in_units` property must be present. If true, `end_in_units` must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. """ return pulumi.get(self, "force_end") @force_end.setter def force_end(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "force_end", value) @property @pulumi.getter(name="liveBackoffInUnits") def live_backoff_in_units(self) -> Optional[pulumi.Input[int]]: """ The relative to end right edge. Applies to Live Streaming only. This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by `unit_timescale_in_miliseconds`. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. """ return pulumi.get(self, "live_backoff_in_units") @live_backoff_in_units.setter def live_backoff_in_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "live_backoff_in_units", value) @property @pulumi.getter(name="presentationWindowInUnits") def presentation_window_in_units(self) -> Optional[pulumi.Input[int]]: """ The relative to end sliding window. Applies to Live Streaming only. Use `presentation_window_in_units` to apply a sliding window of fragments to include in a playlist. The unit is defined by `unit_timescale_in_miliseconds`. For example, set `presentation_window_in_units` to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. """ return pulumi.get(self, "presentation_window_in_units") @presentation_window_in_units.setter def presentation_window_in_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "presentation_window_in_units", value) @property @pulumi.getter(name="startInUnits") def start_in_units(self) -> Optional[pulumi.Input[int]]: """ The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by `unit_timescale_in_miliseconds`, so a `start_in_units` of 15 would be for 15 seconds. Use `start_in_units` and `end_in_units` to trim the fragments that will be in the playlist (manifest). For example, `start_in_units` set to 20 and `end_in_units` set to 60 using `unit_timescale_in_miliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. """ return pulumi.get(self, "start_in_units") @start_in_units.setter def start_in_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "start_in_units", value) @property @pulumi.getter(name="unitTimescaleInMiliseconds") def unit_timescale_in_miliseconds(self) -> Optional[pulumi.Input[int]]: """ Specified as the number of miliseconds in one unit timescale. For example, if you want to set a `start_in_units` at 30 seconds, you would use a value of 30 when using the `unit_timescale_in_miliseconds` in 1000. Or if you want to set `start_in_units` in 30 miliseconds, you would use a value of 30 when using the `unit_timescale_in_miliseconds` in 1. Applies timescale to `start_in_units`, `start_timescale` and `presentation_window_in_timescale` and `live_backoff_in_timescale`. """ return pulumi.get(self, "unit_timescale_in_miliseconds") @unit_timescale_in_miliseconds.setter def unit_timescale_in_miliseconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "unit_timescale_in_miliseconds", value) @pulumi.input_type class AssetFilterTrackSelectionArgs: def __init__(__self__, *, conditions: pulumi.Input[Sequence[pulumi.Input['AssetFilterTrackSelectionConditionArgs']]]): """ :param pulumi.Input[Sequence[pulumi.Input['AssetFilterTrackSelectionConditionArgs']]] conditions: One or more `condition` blocks as defined above. """ pulumi.set(__self__, "conditions", conditions) @property @pulumi.getter def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['AssetFilterTrackSelectionConditionArgs']]]: """ One or more `condition` blocks as defined above. """ return pulumi.get(self, "conditions") @conditions.setter def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['AssetFilterTrackSelectionConditionArgs']]]): pulumi.set(self, "conditions", value) @pulumi.input_type class AssetFilterTrackSelectionConditionArgs: def __init__(__self__, *, operation: Optional[pulumi.Input[str]] = None, property: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] operation: The condition operation to test a track property against. Supported values are `Equal` and `NotEqual`. :param pulumi.Input[str] property: The track property to compare. Supported values are `Bitrate`, `FourCC`, `Language`, `Name` and `Type`. Check [documentation](https://docs.microsoft.com/en-us/azure/media-services/latest/filters-concept) for more details. :param pulumi.Input[str] value: The track property value to match or not match. """ if operation is not None: pulumi.set(__self__, "operation", operation) if property is not None: pulumi.set(__self__, "property", property) if value is not None: pulumi.set(__self__, "value", value) @property @pulumi.getter def operation(self) -> Optional[pulumi.Input[str]]: """ The condition operation to test a track property against. Supported values are `Equal` and `NotEqual`. """ return pulumi.get(self, "operation") @operation.setter def operation(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "operation", value) @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: """ The track property value to match or not match. """ return pulumi.get(self, "value") @value.setter def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) @property @pulumi.getter def property(self) -> Optional[pulumi.Input[str]]: """ The track property to compare. Supported values are `Bitrate`, `FourCC`, `Language`, `Name` and `Type`. Check [documentation](https://docs.microsoft.com/en-us/azure/media-services/latest/filters-concept) for more details. """ return pulumi.get(self, "property") @property.setter def property(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionArgs: def __init__(__self__, *, name: pulumi.Input[str], clear_key_configuration_enabled: Optional[pulumi.Input[bool]] = None, fairplay_configuration: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationArgs']] = None, open_restriction_enabled: Optional[pulumi.Input[bool]] = None, playready_configuration_licenses: Optional[pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs']]]] = None, token_restriction: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionArgs']] = None, widevine_configuration_template: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] name: The name which should be used for this Policy Option. :param pulumi.Input[bool] clear_key_configuration_enabled: Enable a configuration for non-DRM keys. :param pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationArgs'] fairplay_configuration: A `fairplay_configuration` block as defined above. Check license requirements here https://docs.microsoft.com/en-us/azure/media-services/latest/fairplay-license-overview. :param pulumi.Input[bool] open_restriction_enabled: Enable an open restriction. License or key will be delivered on every request. :param pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs']]] playready_configuration_licenses: One or more `playready_configuration_license` blocks as defined above. :param pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionArgs'] token_restriction: A `token_restriction` block as defined below. :param pulumi.Input[str] widevine_configuration_template: The Widevine template. """ pulumi.set(__self__, "name", name) if clear_key_configuration_enabled is not None: pulumi.set(__self__, "clear_key_configuration_enabled", clear_key_configuration_enabled) if fairplay_configuration is not None: pulumi.set(__self__, "fairplay_configuration", fairplay_configuration) if open_restriction_enabled is not None: pulumi.set(__self__, "open_restriction_enabled", open_restriction_enabled) if playready_configuration_licenses is not None: pulumi.set(__self__, "playready_configuration_licenses", playready_configuration_licenses) if token_restriction is not None: pulumi.set(__self__, "token_restriction", token_restriction) if widevine_configuration_template is not None: pulumi.set(__self__, "widevine_configuration_template", widevine_configuration_template) @property @pulumi.getter def name(self) -> pulumi.Input[str]: """ The name which should be used for this Policy Option. """ return pulumi.get(self, "name") @name.setter def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) @property @pulumi.getter(name="clearKeyConfigurationEnabled") def clear_key_configuration_enabled(self) -> Optional[pulumi.Input[bool]]: """ Enable a configuration for non-DRM keys. """ return pulumi.get(self, "clear_key_configuration_enabled") @clear_key_configuration_enabled.setter def clear_key_configuration_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "clear_key_configuration_enabled", value) @property @pulumi.getter(name="fairplayConfiguration") def fairplay_configuration(self) -> Optional[pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationArgs']]: """ A `fairplay_configuration` block as defined above. Check license requirements here https://docs.microsoft.com/en-us/azure/media-services/latest/fairplay-license-overview. """ return pulumi.get(self, "fairplay_configuration") @fairplay_configuration.setter def fairplay_configuration(self, value: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationArgs']]): pulumi.set(self, "fairplay_configuration", value) @property @pulumi.getter(name="openRestrictionEnabled") def open_restriction_enabled(self) -> Optional[pulumi.Input[bool]]: """ Enable an open restriction. License or key will be delivered on every request. """ return pulumi.get(self, "open_restriction_enabled") @open_restriction_enabled.setter def open_restriction_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "open_restriction_enabled", value) @property @pulumi.getter(name="playreadyConfigurationLicenses") def playready_configuration_licenses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs']]]]: """ One or more `playready_configuration_license` blocks as defined above. """ return pulumi.get(self, "playready_configuration_licenses") @playready_configuration_licenses.setter def playready_configuration_licenses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs']]]]): pulumi.set(self, "playready_configuration_licenses", value) @property @pulumi.getter(name="tokenRestriction") def token_restriction(self) -> Optional[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionArgs']]: """ A `token_restriction` block as defined below. """ return pulumi.get(self, "token_restriction") @token_restriction.setter def token_restriction(self, value: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionArgs']]): pulumi.set(self, "token_restriction", value) @property @pulumi.getter(name="widevineConfigurationTemplate") def widevine_configuration_template(self) -> Optional[pulumi.Input[str]]: """ The Widevine template. """ return pulumi.get(self, "widevine_configuration_template") @widevine_configuration_template.setter def widevine_configuration_template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "widevine_configuration_template", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionFairplayConfigurationArgs: def __init__(__self__, *, ask: Optional[pulumi.Input[str]] = None, offline_rental_configuration: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs']] = None, pfx: Optional[pulumi.Input[str]] = None, pfx_password: Optional[pulumi.Input[str]] = None, rental_and_lease_key_type: Optional[pulumi.Input[str]] = None, rental_duration_seconds: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] ask: The key that must be used as FairPlay Application Secret key. :param pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs'] offline_rental_configuration: A `offline_rental_configuration` block as defined below. :param pulumi.Input[str] pfx: The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key). :param pulumi.Input[str] pfx_password: The password encrypting FairPlay certificate in PKCS 12 (pfx) format. :param pulumi.Input[str] rental_and_lease_key_type: The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`. :param pulumi.Input[int] rental_duration_seconds: The rental duration. Must be greater than 0. """ if ask is not None: pulumi.set(__self__, "ask", ask) if offline_rental_configuration is not None: pulumi.set(__self__, "offline_rental_configuration", offline_rental_configuration) if pfx is not None: pulumi.set(__self__, "pfx", pfx) if pfx_password is not None: pulumi.set(__self__, "pfx_password", pfx_password) if rental_and_lease_key_type is not None: pulumi.set(__self__, "rental_and_lease_key_type", rental_and_lease_key_type) if rental_duration_seconds is not None: pulumi.set(__self__, "rental_duration_seconds", rental_duration_seconds) @property @pulumi.getter def ask(self) -> Optional[pulumi.Input[str]]: """ The key that must be used as FairPlay Application Secret key. """ return pulumi.get(self, "ask") @ask.setter def ask(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ask", value) @property @pulumi.getter(name="offlineRentalConfiguration") def offline_rental_configuration(self) -> Optional[pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs']]: """ A `offline_rental_configuration` block as defined below. """ return pulumi.get(self, "offline_rental_configuration") @offline_rental_configuration.setter def offline_rental_configuration(self, value: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs']]): pulumi.set(self, "offline_rental_configuration", value) @property @pulumi.getter def pfx(self) -> Optional[pulumi.Input[str]]: """ The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key). """ return pulumi.get(self, "pfx") @pfx.setter def pfx(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pfx", value) @property @pulumi.getter(name="pfxPassword") def pfx_password(self) -> Optional[pulumi.Input[str]]: """ The password encrypting FairPlay certificate in PKCS 12 (pfx) format. """ return pulumi.get(self, "pfx_password") @pfx_password.setter def pfx_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pfx_password", value) @property @pulumi.getter(name="rentalAndLeaseKeyType") def rental_and_lease_key_type(self) -> Optional[pulumi.Input[str]]: """ The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`. """ return pulumi.get(self, "rental_and_lease_key_type") @rental_and_lease_key_type.setter def rental_and_lease_key_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rental_and_lease_key_type", value) @property @pulumi.getter(name="rentalDurationSeconds") def rental_duration_seconds(self) -> Optional[pulumi.Input[int]]: """ The rental duration. Must be greater than 0. """ return pulumi.get(self, "rental_duration_seconds") @rental_duration_seconds.setter def rental_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "rental_duration_seconds", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs: def __init__(__self__, *, playback_duration_seconds: Optional[pulumi.Input[int]] = None, storage_duration_seconds: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[int] playback_duration_seconds: Playback duration. :param pulumi.Input[int] storage_duration_seconds: Storage duration. """ if playback_duration_seconds is not None: pulumi.set(__self__, "playback_duration_seconds", playback_duration_seconds) if storage_duration_seconds is not None: pulumi.set(__self__, "storage_duration_seconds", storage_duration_seconds) @property @pulumi.getter(name="playbackDurationSeconds") def playback_duration_seconds(self) -> Optional[pulumi.Input[int]]: """ Playback duration. """ return pulumi.get(self, "playback_duration_seconds") @playback_duration_seconds.setter def playback_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "playback_duration_seconds", value) @property @pulumi.getter(name="storageDurationSeconds") def storage_duration_seconds(self) -> Optional[pulumi.Input[int]]: """ Storage duration. """ return pulumi.get(self, "storage_duration_seconds") @storage_duration_seconds.setter def storage_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "storage_duration_seconds", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs: def __init__(__self__, *, allow_test_devices: Optional[pulumi.Input[bool]] = None, begin_date: Optional[pulumi.Input[str]] = None, content_key_location_from_header_enabled: Optional[pulumi.Input[bool]] = None, content_key_location_from_key_id: Optional[pulumi.Input[str]] = None, content_type: Optional[pulumi.Input[str]] = None, expiration_date: Optional[pulumi.Input[str]] = None, grace_period: Optional[pulumi.Input[str]] = None, license_type: Optional[pulumi.Input[str]] = None, play_right: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs']] = None, relative_begin_date: Optional[pulumi.Input[str]] = None, relative_expiration_date: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[bool] allow_test_devices: A flag indicating whether test devices can use the license. :param pulumi.Input[str] begin_date: The begin date of license. :param pulumi.Input[bool] content_key_location_from_header_enabled: Specifies that the content key ID is in the PlayReady header. :param pulumi.Input[str] content_key_location_from_key_id: The content key ID. Specifies that the content key ID is specified in the PlayReady configuration. :param pulumi.Input[str] content_type: The PlayReady content type. Supported values are `UltraVioletDownload`, `UltraVioletStreaming` or `Unspecified`. :param pulumi.Input[str] expiration_date: The expiration date of license. :param pulumi.Input[str] grace_period: The grace period of license. :param pulumi.Input[str] license_type: The license type. Supported values are `NonPersistent` or `Persistent`. :param pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs'] play_right: A `play_right` block as defined above. :param pulumi.Input[str] relative_begin_date: The relative begin date of license. :param pulumi.Input[str] relative_expiration_date: The relative expiration date of license. """ if allow_test_devices is not None: pulumi.set(__self__, "allow_test_devices", allow_test_devices) if begin_date is not None: pulumi.set(__self__, "begin_date", begin_date) if content_key_location_from_header_enabled is not None: pulumi.set(__self__, "content_key_location_from_header_enabled", content_key_location_from_header_enabled) if content_key_location_from_key_id is not None: pulumi.set(__self__, "content_key_location_from_key_id", content_key_location_from_key_id) if content_type is not None: pulumi.set(__self__, "content_type", content_type) if expiration_date is not None: pulumi.set(__self__, "expiration_date", expiration_date) if grace_period is not None: pulumi.set(__self__, "grace_period", grace_period) if license_type is not None: pulumi.set(__self__, "license_type", license_type) if play_right is not None: pulumi.set(__self__, "play_right", play_right) if relative_begin_date is not None: pulumi.set(__self__, "relative_begin_date", relative_begin_date) if relative_expiration_date is not None: pulumi.set(__self__, "relative_expiration_date", relative_expiration_date) @property @pulumi.getter(name="allowTestDevices") def allow_test_devices(self) -> Optional[pulumi.Input[bool]]: """ A flag indicating whether test devices can use the license. """ return pulumi.get(self, "allow_test_devices") @allow_test_devices.setter def allow_test_devices(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_test_devices", value) @property @pulumi.getter(name="beginDate") def begin_date(self) -> Optional[pulumi.Input[str]]: """ The begin date of license. """ return pulumi.get(self, "begin_date") @begin_date.setter def begin_date(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "begin_date", value) @property @pulumi.getter(name="contentKeyLocationFromHeaderEnabled") def content_key_location_from_header_enabled(self) -> Optional[pulumi.Input[bool]]: """ Specifies that the content key ID is in the PlayReady header. """ return pulumi.get(self, "content_key_location_from_header_enabled") @content_key_location_from_header_enabled.setter def content_key_location_from_header_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "content_key_location_from_header_enabled", value) @property @pulumi.getter(name="contentKeyLocationFromKeyId") def content_key_location_from_key_id(self) -> Optional[pulumi.Input[str]]: """ The content key ID. Specifies that the content key ID is specified in the PlayReady configuration. """ return pulumi.get(self, "content_key_location_from_key_id") @content_key_location_from_key_id.setter def content_key_location_from_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_key_location_from_key_id", value) @property @pulumi.getter(name="contentType") def content_type(self) -> Optional[pulumi.Input[str]]: """ The PlayReady content type. Supported values are `UltraVioletDownload`, `UltraVioletStreaming` or `Unspecified`. """ return pulumi.get(self, "content_type") @content_type.setter def content_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_type", value) @property @pulumi.getter(name="expirationDate") def expiration_date(self) -> Optional[pulumi.Input[str]]: """ The expiration date of license. """ return pulumi.get(self, "expiration_date") @expiration_date.setter def expiration_date(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "expiration_date", value) @property @pulumi.getter(name="gracePeriod") def grace_period(self) -> Optional[pulumi.Input[str]]: """ The grace period of license. """ return pulumi.get(self, "grace_period") @grace_period.setter def grace_period(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "grace_period", value) @property @pulumi.getter(name="licenseType") def license_type(self) -> Optional[pulumi.Input[str]]: """ The license type. Supported values are `NonPersistent` or `Persistent`. """ return pulumi.get(self, "license_type") @license_type.setter def license_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "license_type", value) @property @pulumi.getter(name="playRight") def play_right(self) -> Optional[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs']]: """ A `play_right` block as defined above. """ return pulumi.get(self, "play_right") @play_right.setter def play_right(self, value: Optional[pulumi.Input['ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs']]): pulumi.set(self, "play_right", value) @property @pulumi.getter(name="relativeBeginDate") def relative_begin_date(self) -> Optional[pulumi.Input[str]]: """ The relative begin date of license. """ return pulumi.get(self, "relative_begin_date") @relative_begin_date.setter def relative_begin_date(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "relative_begin_date", value) @property @pulumi.getter(name="relativeExpirationDate") def relative_expiration_date(self) -> Optional[pulumi.Input[str]]: """ The relative expiration date of license. """ return pulumi.get(self, "relative_expiration_date") @relative_expiration_date.setter def relative_expiration_date(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "relative_expiration_date", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs: def __init__(__self__, *, agc_and_color_stripe_restriction: Optional[pulumi.Input[int]] = None, allow_passing_video_content_to_unknown_output: Optional[pulumi.Input[str]] = None, analog_video_opl: Optional[pulumi.Input[int]] = None, compressed_digital_audio_opl: Optional[pulumi.Input[int]] = None, digital_video_only_content_restriction: Optional[pulumi.Input[bool]] = None, first_play_expiration: Optional[pulumi.Input[str]] = None, image_constraint_for_analog_component_video_restriction: Optional[pulumi.Input[bool]] = None, image_constraint_for_analog_computer_monitor_restriction: Optional[pulumi.Input[bool]] = None, scms_restriction: Optional[pulumi.Input[int]] = None, uncompressed_digital_audio_opl: Optional[pulumi.Input[int]] = None, uncompressed_digital_video_opl: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[int] agc_and_color_stripe_restriction: Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive. :param pulumi.Input[str] allow_passing_video_content_to_unknown_output: Configures Unknown output handling settings of the license. Supported values are `Allowed`, `AllowedWithVideoConstriction` or `NotAllowed`. :param pulumi.Input[int] analog_video_opl: Specifies the output protection level for compressed digital audio. Supported values are 100, 150 or 200. :param pulumi.Input[int] compressed_digital_audio_opl: Specifies the output protection level for compressed digital audio.Supported values are 100, 150 or 200. :param pulumi.Input[bool] digital_video_only_content_restriction: Enables the Image Constraint For Analog Component Video Restriction in the license. :param pulumi.Input[str] first_play_expiration: The amount of time that the license is valid after the license is first used to play content. :param pulumi.Input[bool] image_constraint_for_analog_component_video_restriction: Enables the Image Constraint For Analog Component Video Restriction in the license. :param pulumi.Input[bool] image_constraint_for_analog_computer_monitor_restriction: Enables the Image Constraint For Analog Component Video Restriction in the license. :param pulumi.Input[int] scms_restriction: Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive. :param pulumi.Input[int] uncompressed_digital_audio_opl: Specifies the output protection level for uncompressed digital audio. Supported values are 100, 150, 250 or 300. :param pulumi.Input[int] uncompressed_digital_video_opl: Specifies the output protection level for uncompressed digital video. Supported values are 100, 150, 250 or 300. """ if agc_and_color_stripe_restriction is not None: pulumi.set(__self__, "agc_and_color_stripe_restriction", agc_and_color_stripe_restriction) if allow_passing_video_content_to_unknown_output is not None: pulumi.set(__self__, "allow_passing_video_content_to_unknown_output", allow_passing_video_content_to_unknown_output) if analog_video_opl is not None: pulumi.set(__self__, "analog_video_opl", analog_video_opl) if compressed_digital_audio_opl is not None: pulumi.set(__self__, "compressed_digital_audio_opl", compressed_digital_audio_opl) if digital_video_only_content_restriction is not None: pulumi.set(__self__, "digital_video_only_content_restriction", digital_video_only_content_restriction) if first_play_expiration is not None: pulumi.set(__self__, "first_play_expiration", first_play_expiration) if image_constraint_for_analog_component_video_restriction is not None: pulumi.set(__self__, "image_constraint_for_analog_component_video_restriction", image_constraint_for_analog_component_video_restriction) if image_constraint_for_analog_computer_monitor_restriction is not None: pulumi.set(__self__, "image_constraint_for_analog_computer_monitor_restriction", image_constraint_for_analog_computer_monitor_restriction) if scms_restriction is not None: pulumi.set(__self__, "scms_restriction", scms_restriction) if uncompressed_digital_audio_opl is not None: pulumi.set(__self__, "uncompressed_digital_audio_opl", uncompressed_digital_audio_opl) if uncompressed_digital_video_opl is not None: pulumi.set(__self__, "uncompressed_digital_video_opl", uncompressed_digital_video_opl) @property @pulumi.getter(name="agcAndColorStripeRestriction") def agc_and_color_stripe_restriction(self) -> Optional[pulumi.Input[int]]: """ Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive. """ return pulumi.get(self, "agc_and_color_stripe_restriction") @agc_and_color_stripe_restriction.setter def agc_and_color_stripe_restriction(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "agc_and_color_stripe_restriction", value) @property @pulumi.getter(name="allowPassingVideoContentToUnknownOutput") def allow_passing_video_content_to_unknown_output(self) -> Optional[pulumi.Input[str]]: """ Configures Unknown output handling settings of the license. Supported values are `Allowed`, `AllowedWithVideoConstriction` or `NotAllowed`. """ return pulumi.get(self, "allow_passing_video_content_to_unknown_output") @allow_passing_video_content_to_unknown_output.setter def allow_passing_video_content_to_unknown_output(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "allow_passing_video_content_to_unknown_output", value) @property @pulumi.getter(name="analogVideoOpl") def analog_video_opl(self) -> Optional[pulumi.Input[int]]: """ Specifies the output protection level for compressed digital audio. Supported values are 100, 150 or 200. """ return pulumi.get(self, "analog_video_opl") @analog_video_opl.setter def analog_video_opl(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "analog_video_opl", value) @property @pulumi.getter(name="compressedDigitalAudioOpl") def compressed_digital_audio_opl(self) -> Optional[pulumi.Input[int]]: """ Specifies the output protection level for compressed digital audio.Supported values are 100, 150 or 200. """ return pulumi.get(self, "compressed_digital_audio_opl") @compressed_digital_audio_opl.setter def compressed_digital_audio_opl(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "compressed_digital_audio_opl", value) @property @pulumi.getter(name="digitalVideoOnlyContentRestriction") def digital_video_only_content_restriction(self) -> Optional[pulumi.Input[bool]]: """ Enables the Image Constraint For Analog Component Video Restriction in the license. """ return pulumi.get(self, "digital_video_only_content_restriction") @digital_video_only_content_restriction.setter def digital_video_only_content_restriction(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "digital_video_only_content_restriction", value) @property @pulumi.getter(name="firstPlayExpiration") def first_play_expiration(self) -> Optional[pulumi.Input[str]]: """ The amount of time that the license is valid after the license is first used to play content. """ return pulumi.get(self, "first_play_expiration") @first_play_expiration.setter def first_play_expiration(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "first_play_expiration", value) @property @pulumi.getter(name="imageConstraintForAnalogComponentVideoRestriction") def image_constraint_for_analog_component_video_restriction(self) -> Optional[pulumi.Input[bool]]: """ Enables the Image Constraint For Analog Component Video Restriction in the license. """ return pulumi.get(self, "image_constraint_for_analog_component_video_restriction") @image_constraint_for_analog_component_video_restriction.setter def image_constraint_for_analog_component_video_restriction(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "image_constraint_for_analog_component_video_restriction", value) @property @pulumi.getter(name="imageConstraintForAnalogComputerMonitorRestriction") def image_constraint_for_analog_computer_monitor_restriction(self) -> Optional[pulumi.Input[bool]]: """ Enables the Image Constraint For Analog Component Video Restriction in the license. """ return pulumi.get(self, "image_constraint_for_analog_computer_monitor_restriction") @image_constraint_for_analog_computer_monitor_restriction.setter def image_constraint_for_analog_computer_monitor_restriction(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "image_constraint_for_analog_computer_monitor_restriction", value) @property @pulumi.getter(name="scmsRestriction") def scms_restriction(self) -> Optional[pulumi.Input[int]]: """ Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive. """ return pulumi.get(self, "scms_restriction") @scms_restriction.setter def scms_restriction(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "scms_restriction", value) @property @pulumi.getter(name="uncompressedDigitalAudioOpl") def uncompressed_digital_audio_opl(self) -> Optional[pulumi.Input[int]]: """ Specifies the output protection level for uncompressed digital audio. Supported values are 100, 150, 250 or 300. """ return pulumi.get(self, "uncompressed_digital_audio_opl") @uncompressed_digital_audio_opl.setter def uncompressed_digital_audio_opl(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "uncompressed_digital_audio_opl", value) @property @pulumi.getter(name="uncompressedDigitalVideoOpl") def uncompressed_digital_video_opl(self) -> Optional[pulumi.Input[int]]: """ Specifies the output protection level for uncompressed digital video. Supported values are 100, 150, 250 or 300. """ return pulumi.get(self, "uncompressed_digital_video_opl") @uncompressed_digital_video_opl.setter def uncompressed_digital_video_opl(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "uncompressed_digital_video_opl", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionTokenRestrictionArgs: def __init__(__self__, *, audience: Optional[pulumi.Input[str]] = None, issuer: Optional[pulumi.Input[str]] = None, open_id_connect_discovery_document: Optional[pulumi.Input[str]] = None, primary_rsa_token_key_exponent: Optional[pulumi.Input[str]] = None, primary_rsa_token_key_modulus: Optional[pulumi.Input[str]] = None, primary_symmetric_token_key: Optional[pulumi.Input[str]] = None, primary_x509_token_key_raw: Optional[pulumi.Input[str]] = None, required_claims: Optional[pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs']]]] = None, token_type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] audience: The audience for the token. :param pulumi.Input[str] issuer: The token issuer. :param pulumi.Input[str] open_id_connect_discovery_document: The OpenID connect discovery document. :param pulumi.Input[str] primary_rsa_token_key_exponent: The RSA Parameter exponent. :param pulumi.Input[str] primary_rsa_token_key_modulus: The RSA Parameter modulus. :param pulumi.Input[str] primary_symmetric_token_key: The key value of the key. Specifies a symmetric key for token validation. :param pulumi.Input[str] primary_x509_token_key_raw: The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET). Specifies a certificate for token validation. :param pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs']]] required_claims: One or more `required_claim` blocks as defined above. :param pulumi.Input[str] token_type: The type of token. Supported values are `Jwt` or `Swt`. """ if audience is not None: pulumi.set(__self__, "audience", audience) if issuer is not None: pulumi.set(__self__, "issuer", issuer) if open_id_connect_discovery_document is not None: pulumi.set(__self__, "open_id_connect_discovery_document", open_id_connect_discovery_document) if primary_rsa_token_key_exponent is not None: pulumi.set(__self__, "primary_rsa_token_key_exponent", primary_rsa_token_key_exponent) if primary_rsa_token_key_modulus is not None: pulumi.set(__self__, "primary_rsa_token_key_modulus", primary_rsa_token_key_modulus) if primary_symmetric_token_key is not None: pulumi.set(__self__, "primary_symmetric_token_key", primary_symmetric_token_key) if primary_x509_token_key_raw is not None: pulumi.set(__self__, "primary_x509_token_key_raw", primary_x509_token_key_raw) if required_claims is not None: pulumi.set(__self__, "required_claims", required_claims) if token_type is not None: pulumi.set(__self__, "token_type", token_type) @property @pulumi.getter def audience(self) -> Optional[pulumi.Input[str]]: """ The audience for the token. """ return pulumi.get(self, "audience") @audience.setter def audience(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "audience", value) @property @pulumi.getter def issuer(self) -> Optional[pulumi.Input[str]]: """ The token issuer. """ return pulumi.get(self, "issuer") @issuer.setter def issuer(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "issuer", value) @property @pulumi.getter(name="openIdConnectDiscoveryDocument") def open_id_connect_discovery_document(self) -> Optional[pulumi.Input[str]]: """ The OpenID connect discovery document. """ return pulumi.get(self, "open_id_connect_discovery_document") @open_id_connect_discovery_document.setter def open_id_connect_discovery_document(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "open_id_connect_discovery_document", value) @property @pulumi.getter(name="primaryRsaTokenKeyExponent") def primary_rsa_token_key_exponent(self) -> Optional[pulumi.Input[str]]: """ The RSA Parameter exponent. """ return pulumi.get(self, "primary_rsa_token_key_exponent") @primary_rsa_token_key_exponent.setter def primary_rsa_token_key_exponent(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "primary_rsa_token_key_exponent", value) @property @pulumi.getter(name="primaryRsaTokenKeyModulus") def primary_rsa_token_key_modulus(self) -> Optional[pulumi.Input[str]]: """ The RSA Parameter modulus. """ return pulumi.get(self, "primary_rsa_token_key_modulus") @primary_rsa_token_key_modulus.setter def primary_rsa_token_key_modulus(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "primary_rsa_token_key_modulus", value) @property @pulumi.getter(name="primarySymmetricTokenKey") def primary_symmetric_token_key(self) -> Optional[pulumi.Input[str]]: """ The key value of the key. Specifies a symmetric key for token validation. """ return pulumi.get(self, "primary_symmetric_token_key") @primary_symmetric_token_key.setter def primary_symmetric_token_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "primary_symmetric_token_key", value) @property @pulumi.getter(name="primaryX509TokenKeyRaw") def primary_x509_token_key_raw(self) -> Optional[pulumi.Input[str]]: """ The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET). Specifies a certificate for token validation. """ return pulumi.get(self, "primary_x509_token_key_raw") @primary_x509_token_key_raw.setter def primary_x509_token_key_raw(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "primary_x509_token_key_raw", value) @property @pulumi.getter(name="requiredClaims") def required_claims(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs']]]]: """ One or more `required_claim` blocks as defined above. """ return pulumi.get(self, "required_claims") @required_claims.setter def required_claims(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs']]]]): pulumi.set(self, "required_claims", value) @property @pulumi.getter(name="tokenType") def token_type(self) -> Optional[pulumi.Input[str]]: """ The type of token. Supported values are `Jwt` or `Swt`. """ return pulumi.get(self, "token_type") @token_type.setter def token_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "token_type", value) @pulumi.input_type class ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs: def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] type: Token claim type. :param pulumi.Input[str] value: Token claim value. """ if type is not None: pulumi.set(__self__, "type", type) if value is not None: pulumi.set(__self__, "value", value) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ Token claim type. """ return pulumi.get(self, "type") @type.setter def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: """ Token claim value. """ return pulumi.get(self, "value") @value.setter def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) @pulumi.input_type class JobInputAssetArgs: def __init__(__self__, *, name: pulumi.Input[str], label: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] name: The name of the input Asset. Changing this forces a new Media Job to be created. :param pulumi.Input[str] label: A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'. """ pulumi.set(__self__, "name", name) if label is not None: pulumi.set(__self__, "label", label) @property @pulumi.getter def name(self) -> pulumi.Input[str]: """ The name of the input Asset. Changing this forces a new Media Job to be created. """ return pulumi.get(self, "name") @name.setter def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) @property @pulumi.getter def label(self) -> Optional[pulumi.Input[str]]: """ A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'. """ return pulumi.get(self, "label") @label.setter def label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "label", value) @pulumi.input_type class JobOutputAssetArgs: def __init__(__self__, *, name: pulumi.Input[str], label: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] name: The name of the output Asset. Changing this forces a new Media Job to be created. :param pulumi.Input[str] label: A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform. """ pulumi.set(__self__, "name", name) if label is not None: pulumi.set(__self__, "label", label) @property @pulumi.getter def name(self) -> pulumi.Input[str]: """ The name of the output Asset. Changing this forces a new Media Job to be created. """ return pulumi.get(self, "name") @name.setter def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) @property @pulumi.getter def label(self) -> Optional[pulumi.Input[str]]: """ A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform. """ return pulumi.get(self, "label") @label.setter def label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "label", value) @pulumi.input_type class LiveEventCrossSiteAccessPolicyArgs: def __init__(__self__, *, client_access_policy: Optional[pulumi.Input[str]] = None, cross_domain_policy: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] client_access_policy: The content of clientaccesspolicy.xml used by Silverlight. :param pulumi.Input[str] cross_domain_policy: The content of the Cross Domain Policy (`crossdomain.xml`). """ if client_access_policy is not None: pulumi.set(__self__, "client_access_policy", client_access_policy) if cross_domain_policy is not None: pulumi.set(__self__, "cross_domain_policy", cross_domain_policy) @property @pulumi.getter(name="clientAccessPolicy") def client_access_policy(self) -> Optional[pulumi.Input[str]]: """ The content of clientaccesspolicy.xml used by Silverlight. """ return pulumi.get(self, "client_access_policy") @client_access_policy.setter def client_access_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_access_policy", value) @property @pulumi.getter(name="crossDomainPolicy") def cross_domain_policy(self) -> Optional[pulumi.Input[str]]: """ The content of the Cross Domain Policy (`crossdomain.xml`). """ return pulumi.get(self, "cross_domain_policy") @cross_domain_policy.setter def cross_domain_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cross_domain_policy", value) @pulumi.input_type class LiveEventEncodingArgs: def __init__(__self__, *, key_frame_interval: Optional[pulumi.Input[str]] = None, preset_name: Optional[pulumi.Input[str]] = None, stretch_mode: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] key_frame_interval: Use an `ISO 8601` time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use `PT2S` to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events. :param pulumi.Input[str] preset_name: The optional encoding preset name, used when `type` is not `None`. If the `type` is set to `Standard`, then the default preset name is `Default720p`. Else if the `type` is set to `Premium1080p`, the default preset is `Default1080p`. Changing this forces a new resource to be created. :param pulumi.Input[str] stretch_mode: Specifies how the input video will be resized to fit the desired output resolution(s). Allowed values are `None`, `AutoFit` or `AutoSize`. Default is `None`. :param pulumi.Input[str] type: Live event type. Allowed values are `None`, `Premium1080p` or `Standard`. When set to `None`, the service simply passes through the incoming video and audio layer(s) to the output. When `type` is set to `Standard` or `Premium1080p`, a live encoder transcodes the incoming stream into multiple bitrates or layers. Defaults to `None`. Changing this forces a new resource to be created. """ if key_frame_interval is not None: pulumi.set(__self__, "key_frame_interval", key_frame_interval) if preset_name is not None: pulumi.set(__self__, "preset_name", preset_name) if stretch_mode is not None: pulumi.set(__self__, "stretch_mode", stretch_mode) if type is not None: pulumi.set(__self__, "type", type) @property @pulumi.getter(name="keyFrameInterval") def key_frame_interval(self) -> Optional[pulumi.Input[str]]: """ Use an `ISO 8601` time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use `PT2S` to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events. """ return pulumi.get(self, "key_frame_interval") @key_frame_interval.setter def key_frame_interval(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_frame_interval", value) @property @pulumi.getter(name="presetName") def preset_name(self) -> Optional[pulumi.Input[str]]: """ The optional encoding preset name, used when `type` is not `None`. If the `type` is set to `Standard`, then the default preset name is `Default720p`. Else if the `type` is set to `Premium1080p`, the default preset is `Default1080p`. Changing this forces a new resource to be created. """ return pulumi.get(self, "preset_name") @preset_name.setter def preset_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "preset_name", value) @property @pulumi.getter(name="stretchMode") def stretch_mode(self) -> Optional[pulumi.Input[str]]: """ Specifies how the input video will be resized to fit the desired output resolution(s). Allowed values are `None`, `AutoFit` or `AutoSize`. Default is `None`. """ return pulumi.get(self, "stretch_mode") @stretch_mode.setter def stretch_mode(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "stretch_mode", value) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ Live event type. Allowed values are `None`, `Premium1080p` or `Standard`. When set to `None`, the service simply passes through the incoming video and audio layer(s) to the output. When `type` is set to `Standard` or `Premium1080p`, a live encoder transcodes the incoming stream into multiple bitrates or layers. Defaults to `None`. Changing this forces a new resource to be created. """ return pulumi.get(self, "type") @type.setter def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) @pulumi.input_type class LiveEventInputArgs: def __init__(__self__, *, access_token: Optional[pulumi.Input[str]] = None, endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventInputEndpointArgs']]]] = None, ip_access_control_allows: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventInputIpAccessControlAllowArgs']]]] = None, key_frame_interval_duration: Optional[pulumi.Input[str]] = None, streaming_protocol: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] access_token: A UUID in string form to uniquely identify the stream. If omitted, the service will generate a unique value. Changing this forces a new value to be created. :param pulumi.Input[Sequence[pulumi.Input['LiveEventInputIpAccessControlAllowArgs']]] ip_access_control_allows: One or more `ip_access_control_allow` blocks as defined below. :param pulumi.Input[str] key_frame_interval_duration: ISO 8601 time duration of the key frame interval duration of the input. This value sets the `EXT-X-TARGETDURATION` property in the HLS output. For example, use PT2S to indicate 2 seconds. This field cannot be set when `type` is set to `Encoding`. :param pulumi.Input[str] streaming_protocol: The input protocol for the live event. Allowed values are `FragmentedMP4` and `RTMP`. Changing this forces a new resource to be created. """ if access_token is not None: pulumi.set(__self__, "access_token", access_token) if endpoints is not None: pulumi.set(__self__, "endpoints", endpoints) if ip_access_control_allows is not None: pulumi.set(__self__, "ip_access_control_allows", ip_access_control_allows) if key_frame_interval_duration is not None: pulumi.set(__self__, "key_frame_interval_duration", key_frame_interval_duration) if streaming_protocol is not None: pulumi.set(__self__, "streaming_protocol", streaming_protocol) @property @pulumi.getter(name="accessToken") def access_token(self) -> Optional[pulumi.Input[str]]: """ A UUID in string form to uniquely identify the stream. If omitted, the service will generate a unique value. Changing this forces a new value to be created. """ return pulumi.get(self, "access_token") @access_token.setter def access_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "access_token", value) @property @pulumi.getter def endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventInputEndpointArgs']]]]: return pulumi.get(self, "endpoints") @endpoints.setter def endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventInputEndpointArgs']]]]): pulumi.set(self, "endpoints", value) @property @pulumi.getter(name="ipAccessControlAllows") def ip_access_control_allows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventInputIpAccessControlAllowArgs']]]]: """ One or more `ip_access_control_allow` blocks as defined below. """ return pulumi.get(self, "ip_access_control_allows") @ip_access_control_allows.setter def ip_access_control_allows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventInputIpAccessControlAllowArgs']]]]): pulumi.set(self, "ip_access_control_allows", value) @property @pulumi.getter(name="keyFrameIntervalDuration") def key_frame_interval_duration(self) -> Optional[pulumi.Input[str]]: """ ISO 8601 time duration of the key frame interval duration of the input. This value sets the `EXT-X-TARGETDURATION` property in the HLS output. For example, use PT2S to indicate 2 seconds. This field cannot be set when `type` is set to `Encoding`. """ return pulumi.get(self, "key_frame_interval_duration") @key_frame_interval_duration.setter def key_frame_interval_duration(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_frame_interval_duration", value) @property @pulumi.getter(name="streamingProtocol") def streaming_protocol(self) -> Optional[pulumi.Input[str]]: """ The input protocol for the live event. Allowed values are `FragmentedMP4` and `RTMP`. Changing this forces a new resource to be created. """ return pulumi.get(self, "streaming_protocol") @streaming_protocol.setter def streaming_protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "streaming_protocol", value) @pulumi.input_type class LiveEventInputEndpointArgs: def __init__(__self__, *, protocol: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None): if protocol is not None: pulumi.set(__self__, "protocol", protocol) if url is not None: pulumi.set(__self__, "url", url) @property @pulumi.getter def protocol(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "protocol") @protocol.setter def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) @property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "url") @url.setter def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) @pulumi.input_type class LiveEventInputIpAccessControlAllowArgs: def __init__(__self__, *, address: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, subnet_prefix_length: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] address: The IP address or CIDR range. :param pulumi.Input[str] name: The friendly name for the IP address range. :param pulumi.Input[int] subnet_prefix_length: The subnet mask prefix length (see CIDR notation). """ if address is not None: pulumi.set(__self__, "address", address) if name is not None: pulumi.set(__self__, "name", name) if subnet_prefix_length is not None: pulumi.set(__self__, "subnet_prefix_length", subnet_prefix_length) @property @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ The IP address or CIDR range. """ return pulumi.get(self, "address") @address.setter def address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "address", value) @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ The friendly name for the IP address range. """ return pulumi.get(self, "name") @name.setter def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) @property @pulumi.getter(name="subnetPrefixLength") def subnet_prefix_length(self) -> Optional[pulumi.Input[int]]: """ The subnet mask prefix length (see CIDR notation). """ return pulumi.get(self, "subnet_prefix_length") @subnet_prefix_length.setter def subnet_prefix_length(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "subnet_prefix_length", value) @pulumi.input_type class LiveEventPreviewArgs: def __init__(__self__, *, alternative_media_id: Optional[pulumi.Input[str]] = None, endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewEndpointArgs']]]] = None, ip_access_control_allows: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewIpAccessControlAllowArgs']]]] = None, preview_locator: Optional[pulumi.Input[str]] = None, streaming_policy_name: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] alternative_media_id: An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streaming_policy_name` field. Changing this forces a new resource to be created. :param pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewIpAccessControlAllowArgs']]] ip_access_control_allows: One or more `ip_access_control_allow` blocks as defined above. :param pulumi.Input[str] preview_locator: The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created. :param pulumi.Input[str] streaming_policy_name: The name of streaming policy used for the live event preview. Changing this forces a new resource to be created. """ if alternative_media_id is not None: pulumi.set(__self__, "alternative_media_id", alternative_media_id) if endpoints is not None: pulumi.set(__self__, "endpoints", endpoints) if ip_access_control_allows is not None: pulumi.set(__self__, "ip_access_control_allows", ip_access_control_allows) if preview_locator is not None: pulumi.set(__self__, "preview_locator", preview_locator) if streaming_policy_name is not None: pulumi.set(__self__, "streaming_policy_name", streaming_policy_name) @property @pulumi.getter(name="alternativeMediaId") def alternative_media_id(self) -> Optional[pulumi.Input[str]]: """ An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streaming_policy_name` field. Changing this forces a new resource to be created. """ return pulumi.get(self, "alternative_media_id") @alternative_media_id.setter def alternative_media_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "alternative_media_id", value) @property @pulumi.getter def endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewEndpointArgs']]]]: return pulumi.get(self, "endpoints") @endpoints.setter def endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewEndpointArgs']]]]): pulumi.set(self, "endpoints", value) @property @pulumi.getter(name="ipAccessControlAllows") def ip_access_control_allows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewIpAccessControlAllowArgs']]]]: """ One or more `ip_access_control_allow` blocks as defined above. """ return pulumi.get(self, "ip_access_control_allows") @ip_access_control_allows.setter def ip_access_control_allows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LiveEventPreviewIpAccessControlAllowArgs']]]]): pulumi.set(self, "ip_access_control_allows", value) @property @pulumi.getter(name="previewLocator") def preview_locator(self) -> Optional[pulumi.Input[str]]: """ The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created. """ return pulumi.get(self, "preview_locator") @preview_locator.setter def preview_locator(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "preview_locator", value) @property @pulumi.getter(name="streamingPolicyName") def streaming_policy_name(self) -> Optional[pulumi.Input[str]]: """ The name of streaming policy used for the live event preview. Changing this forces a new resource to be created. """ return pulumi.get(self, "streaming_policy_name") @streaming_policy_name.setter def streaming_policy_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "streaming_policy_name", value) @pulumi.input_type class LiveEventPreviewEndpointArgs: def __init__(__self__, *, protocol: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None): if protocol is not None: pulumi.set(__self__, "protocol", protocol) if url is not None: pulumi.set(__self__, "url", url) @property @pulumi.getter def protocol(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "protocol") @protocol.setter def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) @property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "url") @url.setter def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) @pulumi.input_type class LiveEventPreviewIpAccessControlAllowArgs: def __init__(__self__, *, address: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, subnet_prefix_length: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] address: The IP address or CIDR range. :param pulumi.Input[str] name: The friendly name for the IP address range. :param pulumi.Input[int] subnet_prefix_length: The subnet mask prefix length (see CIDR notation). """ if address is not None: pulumi.set(__self__, "address", address) if name is not None: pulumi.set(__self__, "name", name) if subnet_prefix_length is not None: pulumi.set(__self__, "subnet_prefix_length", subnet_prefix_length) @property @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ The IP address or CIDR range. """ return pulumi.get(self, "address") @address.setter def address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "address", value) @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ The friendly name for the IP address range. """ return pulumi.get(self, "name") @name.setter def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) @property @pulumi.getter(name="subnetPrefixLength") def subnet_prefix_length(self) -> Optional[pulumi.Input[int]]: """ The subnet mask prefix length (see CIDR notation). """ return pulumi.get(self, "subnet_prefix_length") @subnet_prefix_length.setter def subnet_prefix_length(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "subnet_prefix_length", value) @pulumi.input_type class ServiceAccountIdentityArgs: def __init__(__self__, *, principal_id: Optional[pulumi.Input[str]] = None, tenant_id: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] principal_id: The Principal ID associated with this Managed Service Identity. :param pulumi.Input[str] tenant_id: The Tenant ID associated with this Managed Service Identity. :param pulumi.Input[str] type: Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is `SystemAssigned`. """ if principal_id is not None: pulumi.set(__self__, "principal_id", principal_id) if tenant_id is not None: pulumi.set(__self__, "tenant_id", tenant_id) if type is not None: pulumi.set(__self__, "type", type) @property @pulumi.getter(name="principalId") def principal_id(self) -> Optional[pulumi.Input[str]]: """ The Principal ID associated with this Managed Service Identity. """ return pulumi.get(self, "principal_id") @principal_id.setter def principal_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "principal_id", value) @property @pulumi.getter(name="tenantId") def tenant_id(self) -> Optional[pulumi.Input[str]]: """ The Tenant ID associated with this Managed Service Identity. """ return pulumi.get(self, "tenant_id") @tenant_id.setter def tenant_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenant_id", value) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is `SystemAssigned`. """ return pulumi.get(self, "type") @type.setter def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) @pulumi.input_type class ServiceAccountKeyDeliveryAccessControlArgs: def __init__(__self__, *, default_action: Optional[pulumi.Input[str]] = None, ip_allow_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ :param pulumi.Input[str] default_action: The Default Action to use when no rules match from `ip_allow_list`. Possible values are `Allow` and `Deny`. :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_allow_lists: One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery. """ if default_action is not None: pulumi.set(__self__, "default_action", default_action) if ip_allow_lists is not None: pulumi.set(__self__, "ip_allow_lists", ip_allow_lists) @property @pulumi.getter(name="defaultAction") def default_action(self) -> Optional[pulumi.Input[str]]: """ The Default Action to use when no rules match from `ip_allow_list`. Possible values are `Allow` and `Deny`. """ return pulumi.get(self, "default_action") @default_action.setter def default_action(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_action", value) @property @pulumi.getter(name="ipAllowLists") def ip_allow_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery. """ return pulumi.get(self, "ip_allow_lists") @ip_allow_lists.setter def ip_allow_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "ip_allow_lists", value) @pulumi.input_type class ServiceAccountStorageAccountArgs: def __init__(__self__, *, id: pulumi.Input[str], is_primary: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] id: Specifies the ID of the Storage Account that will be associated with the Media Services instance. :param pulumi.Input[bool] is_primary: Specifies whether the storage account should be the primary account or not. Defaults to `false`. """ pulumi.set(__self__, "id", id) if is_primary is not None: pulumi.set(__self__, "is_primary", is_primary) @property @pulumi.getter def id(self) -> pulumi.Input[str]: """ Specifies the ID of the Storage Account that will be associated with the Media Services instance. """ return pulumi.get(self, "id") @id.setter def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) @property @pulumi.getter(name="isPrimary") def is_primary(self) -> Optional[pulumi.Input[bool]]: """ Specifies whether the storage account should be the primary account or not. Defaults to `false`. """ return pulumi.get(self, "is_primary") @is_primary.setter def is_primary(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_primary", value) @pulumi.input_type class StreamingEndpointAccessControlArgs: def __init__(__self__, *, akamai_signature_header_authentication_keys: Optional[pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs']]]] = None, ip_allows: Optional[pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlIpAllowArgs']]]] = None): """ :param pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs']]] akamai_signature_header_authentication_keys: One or more `akamai_signature_header_authentication_key` blocks as defined below. :param pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlIpAllowArgs']]] ip_allows: A `ip` block as defined below. """ if akamai_signature_header_authentication_keys is not None: pulumi.set(__self__, "akamai_signature_header_authentication_keys", akamai_signature_header_authentication_keys) if ip_allows is not None: pulumi.set(__self__, "ip_allows", ip_allows) @property @pulumi.getter(name="akamaiSignatureHeaderAuthenticationKeys") def akamai_signature_header_authentication_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs']]]]: """ One or more `akamai_signature_header_authentication_key` blocks as defined below. """ return pulumi.get(self, "akamai_signature_header_authentication_keys") @akamai_signature_header_authentication_keys.setter def akamai_signature_header_authentication_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs']]]]): pulumi.set(self, "akamai_signature_header_authentication_keys", value) @property @pulumi.getter(name="ipAllows") def ip_allows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlIpAllowArgs']]]]: """ A `ip` block as defined below. """ return pulumi.get(self, "ip_allows") @ip_allows.setter def ip_allows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamingEndpointAccessControlIpAllowArgs']]]]): pulumi.set(self, "ip_allows", value) @pulumi.input_type class StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs: def __init__(__self__, *, base64_key: Optional[pulumi.Input[str]] = None, expiration: Optional[pulumi.Input[str]] = None, identifier: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] base64_key: Authentication key. :param pulumi.Input[str] expiration: The expiration time of the authentication key. :param pulumi.Input[str] identifier: Identifier of the key. """ if base64_key is not None: pulumi.set(__self__, "base64_key", base64_key) if expiration is not None: pulumi.set(__self__, "expiration", expiration) if identifier is not None: pulumi.set(__self__, "identifier", identifier) @property @pulumi.getter(name="base64Key") def base64_key(self) -> Optional[pulumi.Input[str]]: """ Authentication key. """ return pulumi.get(self, "base64_key") @base64_key.setter def base64_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "base64_key", value) @property @pulumi.getter def expiration(self) -> Optional[pulumi.Input[str]]: """ The expiration time of the authentication key. """ return pulumi.get(self, "expiration") @expiration.setter def expiration(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "expiration", value) @property @pulumi.getter def identifier(self) -> Optional[pulumi.Input[str]]: """ Identifier of the key. """ return pulumi.get(self, "identifier") @identifier.setter def identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "identifier", value) @pulumi.input_type class StreamingEndpointAccessControlIpAllowArgs: def __init__(__self__, *, address: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, subnet_prefix_length: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] address: The IP address to allow. :param pulumi.Input[str] name: The friendly name for the IP address range. :param pulumi.Input[int] subnet_prefix_length: The subnet mask prefix length (see CIDR notation). """ if address is not None: pulumi.set(__self__, "address", address) if name is not None: pulumi.set(__self__, "name", name) if subnet_prefix_length is not None: pulumi.set(__self__, "subnet_prefix_length", subnet_prefix_length) @property @pulumi.getter def address(self) -> Optional[pulumi.Input[str]]: """ The IP address to allow. """ return pulumi.get(self, "address") @address.setter def address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "address", value) @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ The friendly name for the IP address range. """ return pulumi.get(self, "name") @name.setter def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) @property @pulumi.getter(name="subnetPrefixLength") def subnet_prefix_length(self) -> Optional[pulumi.Input[int]]: """ The subnet mask prefix length (see CIDR notation). """ return pulumi.get(self, "subnet_prefix_length") @subnet_prefix_length.setter def subnet_prefix_length(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "subnet_prefix_length", value) @pulumi.input_type class StreamingEndpointCrossSiteAccessPolicyArgs: def __init__(__self__, *, client_access_policy: Optional[pulumi.Input[str]] = None, cross_domain_policy: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] client_access_policy: The content of clientaccesspolicy.xml used by Silverlight. :param pulumi.Input[str] cross_domain_policy: The content of crossdomain.xml used by Silverlight. """ if client_access_policy is not None: pulumi.set(__self__, "client_access_policy", client_access_policy) if cross_domain_policy is not None: pulumi.set(__self__, "cross_domain_policy", cross_domain_policy) @property @pulumi.getter(name="clientAccessPolicy") def client_access_policy(self) -> Optional[pulumi.Input[str]]: """ The content of clientaccesspolicy.xml used by Silverlight. """ return pulumi.get(self, "client_access_policy") @client_access_policy.setter def client_access_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_access_policy", value) @property @pulumi.getter(name="crossDomainPolicy") def cross_domain_policy(self) -> Optional[pulumi.Input[str]]: """ The content of crossdomain.xml used by Silverlight. """ return pulumi.get(self, "cross_domain_policy") @cross_domain_policy.setter def cross_domain_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cross_domain_policy", value) @pulumi.input_type class StreamingLocatorContentKeyArgs: def __init__(__self__, *, content_key_id: Optional[pulumi.Input[str]] = None, label_reference_in_streaming_policy: Optional[pulumi.Input[str]] = None, policy_name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] content_key_id: ID of Content Key. Changing this forces a new Streaming Locator to be created. :param pulumi.Input[str] label_reference_in_streaming_policy: Label of Content Key as specified in the Streaming Policy. Changing this forces a new Streaming Locator to be created. :param pulumi.Input[str] policy_name: Content Key Policy used by Content Key. Changing this forces a new Streaming Locator to be created. :param pulumi.Input[str] type: Encryption type of Content Key. Supported values are `CommonEncryptionCbcs`, `CommonEncryptionCenc` or `EnvelopeEncryption`. Changing this forces a new Streaming Locator to be created. :param pulumi.Input[str] value: Value of Content Key. Changing this forces a new Streaming Locator to be created. """ if content_key_id is not None: pulumi.set(__self__, "content_key_id", content_key_id) if label_reference_in_streaming_policy is not None: pulumi.set(__self__, "label_reference_in_streaming_policy", label_reference_in_streaming_policy) if policy_name is not None: pulumi.set(__self__, "policy_name", policy_name) if type is not None: pulumi.set(__self__, "type", type) if value is not None: pulumi.set(__self__, "value", value) @property @pulumi.getter(name="contentKeyId") def content_key_id(self) -> Optional[pulumi.Input[str]]: """ ID of Content Key. Changing this forces a new Streaming Locator to be created. """ return pulumi.get(self, "content_key_id") @content_key_id.setter def content_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_key_id", value) @property @pulumi.getter(name="labelReferenceInStreamingPolicy") def label_reference_in_streaming_policy(self) -> Optional[pulumi.Input[str]]: """ Label of Content Key as specified in the Streaming Policy. Changing this forces a new Streaming Locator to be created. """ return pulumi.get(self, "label_reference_in_streaming_policy") @label_reference_in_streaming_policy.setter def label_reference_in_streaming_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "label_reference_in_streaming_policy", value) @property @pulumi.getter(name="policyName") def policy_name(self) -> Optional[pulumi.Input[str]]: """ Content Key Policy used by Content Key. Changing this forces a new Streaming Locator to be created. """ return pulumi.get(self, "policy_name") @policy_name.setter def policy_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "policy_name", value) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ Encryption type of Content Key. Supported values are `CommonEncryptionCbcs`, `CommonEncryptionCenc` or `EnvelopeEncryption`. Changing this forces a new Streaming Locator to be created. """ return pulumi.get(self, "type") @type.setter def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) @property @pulumi.getter def value(self) -> Optional[pulumi.Input[str]]: """ Value of Content Key. Changing this forces a new Streaming Locator to be created. """ return pulumi.get(self, "value") @value.setter def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCbcsArgs: def __init__(__self__, *, default_content_key: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs']] = None, drm_fairplay: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs']] = None, enabled_protocols: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs']] = None): """ :param pulumi.Input['StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs'] default_content_key: A `default_content_key` block as defined below. Changing this forces a new Streaming Policy to be created. :param pulumi.Input['StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs'] drm_fairplay: A `drm_fairplay` block as defined below. Changing this forces a new Streaming Policy to be created. :param pulumi.Input['StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs'] enabled_protocols: A `enabled_protocols` block as defined below. Changing this forces a new Streaming Policy to be created. """ if default_content_key is not None: pulumi.set(__self__, "default_content_key", default_content_key) if drm_fairplay is not None: pulumi.set(__self__, "drm_fairplay", drm_fairplay) if enabled_protocols is not None: pulumi.set(__self__, "enabled_protocols", enabled_protocols) @property @pulumi.getter(name="defaultContentKey") def default_content_key(self) -> Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs']]: """ A `default_content_key` block as defined below. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "default_content_key") @default_content_key.setter def default_content_key(self, value: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs']]): pulumi.set(self, "default_content_key", value) @property @pulumi.getter(name="drmFairplay") def drm_fairplay(self) -> Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs']]: """ A `drm_fairplay` block as defined below. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "drm_fairplay") @drm_fairplay.setter def drm_fairplay(self, value: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs']]): pulumi.set(self, "drm_fairplay", value) @property @pulumi.getter(name="enabledProtocols") def enabled_protocols(self) -> Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs']]: """ A `enabled_protocols` block as defined below. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "enabled_protocols") @enabled_protocols.setter def enabled_protocols(self, value: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs']]): pulumi.set(self, "enabled_protocols", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs: def __init__(__self__, *, label: Optional[pulumi.Input[str]] = None, policy_name: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] label: Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[str] policy_name: Policy used by Default Key. Changing this forces a new Streaming Policy to be created. """ if label is not None: pulumi.set(__self__, "label", label) if policy_name is not None: pulumi.set(__self__, "policy_name", policy_name) @property @pulumi.getter def label(self) -> Optional[pulumi.Input[str]]: """ Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "label") @label.setter def label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "label", value) @property @pulumi.getter(name="policyName") def policy_name(self) -> Optional[pulumi.Input[str]]: """ Policy used by Default Key. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "policy_name") @policy_name.setter def policy_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "policy_name", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs: def __init__(__self__, *, allow_persistent_license: Optional[pulumi.Input[bool]] = None, custom_license_acquisition_url_template: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[bool] allow_persistent_license: All license to be persistent or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[str] custom_license_acquisition_url_template: Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created. """ if allow_persistent_license is not None: pulumi.set(__self__, "allow_persistent_license", allow_persistent_license) if custom_license_acquisition_url_template is not None: pulumi.set(__self__, "custom_license_acquisition_url_template", custom_license_acquisition_url_template) @property @pulumi.getter(name="allowPersistentLicense") def allow_persistent_license(self) -> Optional[pulumi.Input[bool]]: """ All license to be persistent or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "allow_persistent_license") @allow_persistent_license.setter def allow_persistent_license(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_persistent_license", value) @property @pulumi.getter(name="customLicenseAcquisitionUrlTemplate") def custom_license_acquisition_url_template(self) -> Optional[pulumi.Input[str]]: """ Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "custom_license_acquisition_url_template") @custom_license_acquisition_url_template.setter def custom_license_acquisition_url_template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_license_acquisition_url_template", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs: def __init__(__self__, *, dash: Optional[pulumi.Input[bool]] = None, download: Optional[pulumi.Input[bool]] = None, hls: Optional[pulumi.Input[bool]] = None, smooth_streaming: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[bool] dash: Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] download: Enable Download protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] hls: Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] smooth_streaming: Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. """ if dash is not None: pulumi.set(__self__, "dash", dash) if download is not None: pulumi.set(__self__, "download", download) if hls is not None: pulumi.set(__self__, "hls", hls) if smooth_streaming is not None: pulumi.set(__self__, "smooth_streaming", smooth_streaming) @property @pulumi.getter def dash(self) -> Optional[pulumi.Input[bool]]: """ Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "dash") @dash.setter def dash(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "dash", value) @property @pulumi.getter def download(self) -> Optional[pulumi.Input[bool]]: """ Enable Download protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "download") @download.setter def download(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "download", value) @property @pulumi.getter def hls(self) -> Optional[pulumi.Input[bool]]: """ Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "hls") @hls.setter def hls(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "hls", value) @property @pulumi.getter(name="smoothStreaming") def smooth_streaming(self) -> Optional[pulumi.Input[bool]]: """ Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "smooth_streaming") @smooth_streaming.setter def smooth_streaming(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "smooth_streaming", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCencArgs: def __init__(__self__, *, default_content_key: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs']] = None, drm_playready: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs']] = None, drm_widevine_custom_license_acquisition_url_template: Optional[pulumi.Input[str]] = None, enabled_protocols: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs']] = None): """ :param pulumi.Input['StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs'] default_content_key: A `default_content_key` block as defined below. Changing this forces a new Streaming Policy to be created. :param pulumi.Input['StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs'] drm_playready: A `drm_playready` block as defined below. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[str] drm_widevine_custom_license_acquisition_url_template: Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created. :param pulumi.Input['StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs'] enabled_protocols: A `enabled_protocols` block as defined below. Changing this forces a new Streaming Policy to be created. """ if default_content_key is not None: pulumi.set(__self__, "default_content_key", default_content_key) if drm_playready is not None: pulumi.set(__self__, "drm_playready", drm_playready) if drm_widevine_custom_license_acquisition_url_template is not None: pulumi.set(__self__, "drm_widevine_custom_license_acquisition_url_template", drm_widevine_custom_license_acquisition_url_template) if enabled_protocols is not None: pulumi.set(__self__, "enabled_protocols", enabled_protocols) @property @pulumi.getter(name="defaultContentKey") def default_content_key(self) -> Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs']]: """ A `default_content_key` block as defined below. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "default_content_key") @default_content_key.setter def default_content_key(self, value: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs']]): pulumi.set(self, "default_content_key", value) @property @pulumi.getter(name="drmPlayready") def drm_playready(self) -> Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs']]: """ A `drm_playready` block as defined below. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "drm_playready") @drm_playready.setter def drm_playready(self, value: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs']]): pulumi.set(self, "drm_playready", value) @property @pulumi.getter(name="drmWidevineCustomLicenseAcquisitionUrlTemplate") def drm_widevine_custom_license_acquisition_url_template(self) -> Optional[pulumi.Input[str]]: """ Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "drm_widevine_custom_license_acquisition_url_template") @drm_widevine_custom_license_acquisition_url_template.setter def drm_widevine_custom_license_acquisition_url_template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "drm_widevine_custom_license_acquisition_url_template", value) @property @pulumi.getter(name="enabledProtocols") def enabled_protocols(self) -> Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs']]: """ A `enabled_protocols` block as defined below. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "enabled_protocols") @enabled_protocols.setter def enabled_protocols(self, value: Optional[pulumi.Input['StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs']]): pulumi.set(self, "enabled_protocols", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs: def __init__(__self__, *, label: Optional[pulumi.Input[str]] = None, policy_name: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] label: Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[str] policy_name: Policy used by Default Key. Changing this forces a new Streaming Policy to be created. """ if label is not None: pulumi.set(__self__, "label", label) if policy_name is not None: pulumi.set(__self__, "policy_name", policy_name) @property @pulumi.getter def label(self) -> Optional[pulumi.Input[str]]: """ Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "label") @label.setter def label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "label", value) @property @pulumi.getter(name="policyName") def policy_name(self) -> Optional[pulumi.Input[str]]: """ Policy used by Default Key. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "policy_name") @policy_name.setter def policy_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "policy_name", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs: def __init__(__self__, *, custom_attributes: Optional[pulumi.Input[str]] = None, custom_license_acquisition_url_template: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] custom_attributes: Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[str] custom_license_acquisition_url_template: Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created. """ if custom_attributes is not None: pulumi.set(__self__, "custom_attributes", custom_attributes) if custom_license_acquisition_url_template is not None: pulumi.set(__self__, "custom_license_acquisition_url_template", custom_license_acquisition_url_template) @property @pulumi.getter(name="customAttributes") def custom_attributes(self) -> Optional[pulumi.Input[str]]: """ Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "custom_attributes") @custom_attributes.setter def custom_attributes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_attributes", value) @property @pulumi.getter(name="customLicenseAcquisitionUrlTemplate") def custom_license_acquisition_url_template(self) -> Optional[pulumi.Input[str]]: """ Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "custom_license_acquisition_url_template") @custom_license_acquisition_url_template.setter def custom_license_acquisition_url_template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_license_acquisition_url_template", value) @pulumi.input_type class StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs: def __init__(__self__, *, dash: Optional[pulumi.Input[bool]] = None, download: Optional[pulumi.Input[bool]] = None, hls: Optional[pulumi.Input[bool]] = None, smooth_streaming: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[bool] dash: Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] download: Enable Download protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] hls: Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] smooth_streaming: Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. """ if dash is not None: pulumi.set(__self__, "dash", dash) if download is not None: pulumi.set(__self__, "download", download) if hls is not None: pulumi.set(__self__, "hls", hls) if smooth_streaming is not None: pulumi.set(__self__, "smooth_streaming", smooth_streaming) @property @pulumi.getter def dash(self) -> Optional[pulumi.Input[bool]]: """ Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "dash") @dash.setter def dash(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "dash", value) @property @pulumi.getter def download(self) -> Optional[pulumi.Input[bool]]: """ Enable Download protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "download") @download.setter def download(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "download", value) @property @pulumi.getter def hls(self) -> Optional[pulumi.Input[bool]]: """ Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "hls") @hls.setter def hls(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "hls", value) @property @pulumi.getter(name="smoothStreaming") def smooth_streaming(self) -> Optional[pulumi.Input[bool]]: """ Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "smooth_streaming") @smooth_streaming.setter def smooth_streaming(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "smooth_streaming", value) @pulumi.input_type class StreamingPolicyNoEncryptionEnabledProtocolsArgs: def __init__(__self__, *, dash: Optional[pulumi.Input[bool]] = None, download: Optional[pulumi.Input[bool]] = None, hls: Optional[pulumi.Input[bool]] = None, smooth_streaming: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[bool] dash: Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] download: Enable Download protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] hls: Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created. :param pulumi.Input[bool] smooth_streaming: Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. """ if dash is not None: pulumi.set(__self__, "dash", dash) if download is not None: pulumi.set(__self__, "download", download) if hls is not None: pulumi.set(__self__, "hls", hls) if smooth_streaming is not None: pulumi.set(__self__, "smooth_streaming", smooth_streaming) @property @pulumi.getter def dash(self) -> Optional[pulumi.Input[bool]]: """ Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "dash") @dash.setter def dash(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "dash", value) @property @pulumi.getter def download(self) -> Optional[pulumi.Input[bool]]: """ Enable Download protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "download") @download.setter def download(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "download", value) @property @pulumi.getter def hls(self) -> Optional[pulumi.Input[bool]]: """ Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "hls") @hls.setter def hls(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "hls", value) @property @pulumi.getter(name="smoothStreaming") def smooth_streaming(self) -> Optional[pulumi.Input[bool]]: """ Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created. """ return pulumi.get(self, "smooth_streaming") @smooth_streaming.setter def smooth_streaming(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "smooth_streaming", value) @pulumi.input_type class TransformOutputArgs: def __init__(__self__, *, audio_analyzer_preset: Optional[pulumi.Input['TransformOutputAudioAnalyzerPresetArgs']] = None, builtin_preset: Optional[pulumi.Input['TransformOutputBuiltinPresetArgs']] = None, face_detector_preset: Optional[pulumi.Input['TransformOutputFaceDetectorPresetArgs']] = None, on_error_action: Optional[pulumi.Input[str]] = None, relative_priority: Optional[pulumi.Input[str]] = None, video_analyzer_preset: Optional[pulumi.Input['TransformOutputVideoAnalyzerPresetArgs']] = None): """ :param pulumi.Input['TransformOutputAudioAnalyzerPresetArgs'] audio_analyzer_preset: A `audio_analyzer_preset` block as defined below. :param pulumi.Input['TransformOutputBuiltinPresetArgs'] builtin_preset: A `builtin_preset` block as defined below. :param pulumi.Input['TransformOutputFaceDetectorPresetArgs'] face_detector_preset: A `face_detector_preset` block as defined below. :param pulumi.Input[str] on_error_action: A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with `ContinueJob`. Possibles value are `StopProcessingJob` or `ContinueJob`. :param pulumi.Input[str] relative_priority: Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing Transform Outputs. Possibles value are `High`, `Normal` or `Low`. :param pulumi.Input['TransformOutputVideoAnalyzerPresetArgs'] video_analyzer_preset: A `video_analyzer_preset` block as defined below. """ if audio_analyzer_preset is not None: pulumi.set(__self__, "audio_analyzer_preset", audio_analyzer_preset) if builtin_preset is not None: pulumi.set(__self__, "builtin_preset", builtin_preset) if face_detector_preset is not None: pulumi.set(__self__, "face_detector_preset", face_detector_preset) if on_error_action is not None: pulumi.set(__self__, "on_error_action", on_error_action) if relative_priority is not None: pulumi.set(__self__, "relative_priority", relative_priority) if video_analyzer_preset is not None: pulumi.set(__self__, "video_analyzer_preset", video_analyzer_preset) @property @pulumi.getter(name="audioAnalyzerPreset") def audio_analyzer_preset(self) -> Optional[pulumi.Input['TransformOutputAudioAnalyzerPresetArgs']]: """ A `audio_analyzer_preset` block as defined below. """ return pulumi.get(self, "audio_analyzer_preset") @audio_analyzer_preset.setter def audio_analyzer_preset(self, value: Optional[pulumi.Input['TransformOutputAudioAnalyzerPresetArgs']]): pulumi.set(self, "audio_analyzer_preset", value) @property @pulumi.getter(name="builtinPreset") def builtin_preset(self) -> Optional[pulumi.Input['TransformOutputBuiltinPresetArgs']]: """ A `builtin_preset` block as defined below. """ return pulumi.get(self, "builtin_preset") @builtin_preset.setter def builtin_preset(self, value: Optional[pulumi.Input['TransformOutputBuiltinPresetArgs']]): pulumi.set(self, "builtin_preset", value) @property @pulumi.getter(name="faceDetectorPreset") def face_detector_preset(self) -> Optional[pulumi.Input['TransformOutputFaceDetectorPresetArgs']]: """ A `face_detector_preset` block as defined below. """ return pulumi.get(self, "face_detector_preset") @face_detector_preset.setter def face_detector_preset(self, value: Optional[pulumi.Input['TransformOutputFaceDetectorPresetArgs']]): pulumi.set(self, "face_detector_preset", value) @property @pulumi.getter(name="onErrorAction") def on_error_action(self) -> Optional[pulumi.Input[str]]: """ A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with `ContinueJob`. Possibles value are `StopProcessingJob` or `ContinueJob`. """ return pulumi.get(self, "on_error_action") @on_error_action.setter def on_error_action(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "on_error_action", value) @property @pulumi.getter(name="relativePriority") def relative_priority(self) -> Optional[pulumi.Input[str]]: """ Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing Transform Outputs. Possibles value are `High`, `Normal` or `Low`. """ return pulumi.get(self, "relative_priority") @relative_priority.setter def relative_priority(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "relative_priority", value) @property @pulumi.getter(name="videoAnalyzerPreset") def video_analyzer_preset(self) -> Optional[pulumi.Input['TransformOutputVideoAnalyzerPresetArgs']]: """ A `video_analyzer_preset` block as defined below. """ return pulumi.get(self, "video_analyzer_preset") @video_analyzer_preset.setter def video_analyzer_preset(self, value: Optional[pulumi.Input['TransformOutputVideoAnalyzerPresetArgs']]): pulumi.set(self, "video_analyzer_preset", value) @pulumi.input_type class TransformOutputAudioAnalyzerPresetArgs: def __init__(__self__, *, audio_analysis_mode: Optional[pulumi.Input[str]] = None, audio_language: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] audio_analysis_mode: Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed. :param pulumi.Input[str] audio_language: The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463. """ if audio_analysis_mode is not None: pulumi.set(__self__, "audio_analysis_mode", audio_analysis_mode) if audio_language is not None: pulumi.set(__self__, "audio_language", audio_language) @property @pulumi.getter(name="audioAnalysisMode") def audio_analysis_mode(self) -> Optional[pulumi.Input[str]]: """ Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed. """ return pulumi.get(self, "audio_analysis_mode") @audio_analysis_mode.setter def audio_analysis_mode(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "audio_analysis_mode", value) @property @pulumi.getter(name="audioLanguage") def audio_language(self) -> Optional[pulumi.Input[str]]: """ The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463. """ return pulumi.get(self, "audio_language") @audio_language.setter def audio_language(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "audio_language", value) @pulumi.input_type class TransformOutputBuiltinPresetArgs: def __init__(__self__, *, preset_name: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] preset_name: The built-in preset to be used for encoding videos. The allowed values are `AACGoodQualityAudio`, `AdaptiveStreaming`,`ContentAwareEncoding`, `ContentAwareEncodingExperimental`,`CopyAllBitrateNonInterleaved`, `H264MultipleBitrate1080p`,`H264MultipleBitrate720p`, `H264MultipleBitrateSD`,`H264SingleBitrate1080p`, `H264SingleBitrate720p` and `H264SingleBitrateSD`. """ if preset_name is not None: pulumi.set(__self__, "preset_name", preset_name) @property @pulumi.getter(name="presetName") def preset_name(self) -> Optional[pulumi.Input[str]]: """ The built-in preset to be used for encoding videos. The allowed values are `AACGoodQualityAudio`, `AdaptiveStreaming`,`ContentAwareEncoding`, `ContentAwareEncodingExperimental`,`CopyAllBitrateNonInterleaved`, `H264MultipleBitrate1080p`,`H264MultipleBitrate720p`, `H264MultipleBitrateSD`,`H264SingleBitrate1080p`, `H264SingleBitrate720p` and `H264SingleBitrateSD`. """ return pulumi.get(self, "preset_name") @preset_name.setter def preset_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "preset_name", value) @pulumi.input_type class TransformOutputFaceDetectorPresetArgs: def __init__(__self__, *, analysis_resolution: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] analysis_resolution: Possibles value are `SourceResolution` or `StandardDefinition`. Specifies the maximum resolution at which your video is analyzed. The default behavior is `SourceResolution` which will keep the input video at its original resolution when analyzed. Using `StandardDefinition` will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to `StandardDefinition` will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). However, faces that end up being too small in the resized video may not be detected. """ if analysis_resolution is not None: pulumi.set(__self__, "analysis_resolution", analysis_resolution) @property @pulumi.getter(name="analysisResolution") def analysis_resolution(self) -> Optional[pulumi.Input[str]]: """ Possibles value are `SourceResolution` or `StandardDefinition`. Specifies the maximum resolution at which your video is analyzed. The default behavior is `SourceResolution` which will keep the input video at its original resolution when analyzed. Using `StandardDefinition` will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to `StandardDefinition` will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). However, faces that end up being too small in the resized video may not be detected. """ return pulumi.get(self, "analysis_resolution") @analysis_resolution.setter def analysis_resolution(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "analysis_resolution", value) @pulumi.input_type class TransformOutputVideoAnalyzerPresetArgs: def __init__(__self__, *, audio_analysis_mode: Optional[pulumi.Input[str]] = None, audio_language: Optional[pulumi.Input[str]] = None, insights_type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] audio_analysis_mode: Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed. :param pulumi.Input[str] audio_language: The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463. :param pulumi.Input[str] insights_type: Defines the type of insights that you want the service to generate. The allowed values are `AudioInsightsOnly`, `VideoInsightsOnly`, and `AllInsights`. If you set this to `AllInsights` and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use `AudioInsightsOnly` if you expect some of your inputs to be video only; or use `VideoInsightsOnly` if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out. """ if audio_analysis_mode is not None: pulumi.set(__self__, "audio_analysis_mode", audio_analysis_mode) if audio_language is not None: pulumi.set(__self__, "audio_language", audio_language) if insights_type is not None: pulumi.set(__self__, "insights_type", insights_type) @property @pulumi.getter(name="audioAnalysisMode") def audio_analysis_mode(self) -> Optional[pulumi.Input[str]]: """ Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed. """ return pulumi.get(self, "audio_analysis_mode") @audio_analysis_mode.setter def audio_analysis_mode(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "audio_analysis_mode", value) @property @pulumi.getter(name="audioLanguage") def audio_language(self) -> Optional[pulumi.Input[str]]: """ The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: https://go.microsoft.com/fwlink/?linkid=2109463. """ return pulumi.get(self, "audio_language") @audio_language.setter def audio_language(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "audio_language", value) @property @pulumi.getter(name="insightsType") def insights_type(self) -> Optional[pulumi.Input[str]]: """ Defines the type of insights that you want the service to generate. The allowed values are `AudioInsightsOnly`, `VideoInsightsOnly`, and `AllInsights`. If you set this to `AllInsights` and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use `AudioInsightsOnly` if you expect some of your inputs to be video only; or use `VideoInsightsOnly` if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out. """ return pulumi.get(self, "insights_type") @insights_type.setter def insights_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "insights_type", value)
52.808159
941
0.708263
17,431
143,691
5.642132
0.045781
0.075385
0.084038
0.0557
0.859011
0.798074
0.746472
0.66952
0.639149
0.606967
0
0.004285
0.200994
143,691
2,720
942
52.827574
0.85233
0.353975
0
0.461078
1
0
0.165217
0.112884
0
0
0
0
0
1
0.20479
false
0.010778
0.002994
0.003593
0.322754
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
7da7664b3958aa1ad67c6be0c2e8745eb2243a27
218
py
Python
ABC_A/ABC168_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC168_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC168_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
N = input() if N[-1] == '2' or N[-1] == '4' or N[-1] == '5' or N[-1] == '7' or N[-1] == '9': print('hon') elif N[-1] == '0' or N[-1] == '1' or N[-1] == '6' or N[-1] == '8': print('pon') else: print('bon')
24.222222
80
0.37156
45
218
1.8
0.422222
0.222222
0.345679
0
0
0
0
0
0
0
0
0.111111
0.256881
218
8
81
27.25
0.388889
0
0
0
0
0
0.082569
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
7db1cc5f37fb29eb5526bbd7f355b45ce94502b7
2,261
py
Python
tests/unit/test_relation.py
ueshin/dbt-databricks
ae9df50807a5a9800e941eb1776eb6f72901742b
[ "Apache-2.0" ]
38
2021-12-06T19:04:57.000Z
2022-03-28T08:08:14.000Z
tests/unit/test_relation.py
ueshin/dbt-databricks
ae9df50807a5a9800e941eb1776eb6f72901742b
[ "Apache-2.0" ]
36
2021-12-07T01:10:50.000Z
2022-03-31T00:37:25.000Z
tests/unit/test_relation.py
ueshin/dbt-databricks
ae9df50807a5a9800e941eb1776eb6f72901742b
[ "Apache-2.0" ]
11
2021-12-06T18:11:33.000Z
2022-03-22T10:36:15.000Z
import unittest from jinja2.runtime import Undefined from dbt.adapters.databricks.relation import DatabricksRelation class TestDatabricksRelation(unittest.TestCase): def test_pre_deserialize(self): data = { "quote_policy": {"database": False, "schema": False, "identifier": False}, "path": { "database": "some_database", "schema": "some_schema", "identifier": "some_table", }, "type": None, } relation = DatabricksRelation.from_dict(data) self.assertEqual(relation.database, "some_database") self.assertEqual(relation.schema, "some_schema") self.assertEqual(relation.identifier, "some_table") data = { "quote_policy": {"database": False, "schema": False, "identifier": False}, "path": { "database": None, "schema": "some_schema", "identifier": "some_table", }, "type": None, } relation = DatabricksRelation.from_dict(data) self.assertIsNone(relation.database) self.assertEqual(relation.schema, "some_schema") self.assertEqual(relation.identifier, "some_table") data = { "quote_policy": {"database": False, "schema": False, "identifier": False}, "path": { "schema": "some_schema", "identifier": "some_table", }, "type": None, } relation = DatabricksRelation.from_dict(data) self.assertIsNone(relation.database) self.assertEqual(relation.schema, "some_schema") self.assertEqual(relation.identifier, "some_table") data = { "quote_policy": {"database": False, "schema": False, "identifier": False}, "path": { "database": Undefined(), "schema": "some_schema", "identifier": "some_table", }, "type": None, } relation = DatabricksRelation.from_dict(data) self.assertIsNone(relation.database) self.assertEqual(relation.schema, "some_schema") self.assertEqual(relation.identifier, "some_table")
33.25
86
0.560372
188
2,261
6.590426
0.180851
0.108959
0.16707
0.074253
0.816788
0.816788
0.816788
0.816788
0.816788
0.816788
0
0.000644
0.313136
2,261
67
87
33.746269
0.797167
0
0
0.696429
0
0
0.202565
0
0
0
0
0
0.214286
1
0.017857
false
0
0.053571
0
0.089286
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7dd6c37c7ed39749693166cb4e7f5b3ccd0f99f0
13,959
bzl
Python
tools/build_rules/pex_rules.bzl
anglofox/bazel-pex-rule
a08606baf573a6f14e0a5eb858377a6474df92cb
[ "Apache-2.0" ]
1
2021-05-10T22:14:23.000Z
2021-05-10T22:14:23.000Z
tools/build_rules/pex_rules.bzl
anglofox/bazel-pex-rule
a08606baf573a6f14e0a5eb858377a6474df92cb
[ "Apache-2.0" ]
null
null
null
tools/build_rules/pex_rules.bzl
anglofox/bazel-pex-rule
a08606baf573a6f14e0a5eb858377a6474df92cb
[ "Apache-2.0" ]
null
null
null
python_file_types = FileType(['.py', '.pyc']) proto_file_types = FileType(['.proto']) def collect_transitive_srcs(ctx): transitive_srcs = depset(order="compile") for dep in ctx.attr.deps: transitive_srcs += dep.transitive_srcs transitive_srcs += python_file_types.filter(ctx.files.srcs) return transitive_srcs def collect_transitive_gens(ctx): transitive_gens = depset(order="compile") for dep in ctx.attr.deps: transitive_gens += dep.transitive_gens transitive_gens += proto_file_types.filter(ctx.files.srcs) return transitive_gens def collect_transitive_data(ctx): transitive_data = depset(order="compile") for dep in ctx.attr.deps: transitive_data += dep.transitive_data for datum in ctx.attr.data: transitive_data += datum.files return transitive_data def collect_transitive_reqs(ctx): transitive_reqs = depset(order="compile") for dep in ctx.attr.deps: transitive_reqs += dep.transitive_reqs if ctx.attr.reqs != None: for req in ctx.attr.reqs: transitive_reqs += req.files return transitive_reqs def collect_transitive_deps(ctx): transitive_deps = depset(order="compile") for dep in ctx.attr.deps: transitive_deps += dep.transitive_deps return transitive_deps def collect_transitive_builds(ctx): transitive_builds = depset(order="compile") for dep in ctx.attr.deps: transitive_builds += dep.transitive_builds return transitive_builds def collect_protobuf_gens(ctx, transitive_gens): proto_gens = depset(order="compile") proto_gens += python_file_types.filter(transitive_gens) sources = proto_file_types.filter(transitive_gens) for source in sources: localpath = source.path.split('/') localpath[-1] = ''.join([source.basename.split('.')[0], '_pb2.py']) localpath = localpath[len(ctx.build_file_path.split('/')[:-1]):] output = ctx.new_file(ctx.genfiles_dir, '/'.join(localpath)) proto_gens += depset([output]) command = 'external/proto/bin/protoc ' + \ '-I=%s ' % source.dirname + \ '--python_out=%s ' % output.dirname + \ '%s' % source.path ctx.action( mnemonic='ProtoCompile', inputs=list(depset(sources) + ctx.attr._protoc.files), command=command, outputs=[output], env={ 'PATH': '/bin:/usr/bin:/usr/local/bin', 'LANG': 'en_US.UTF-8' } ) return proto_gens def pex_library_impl(ctx): build_path = '/'.join(ctx.build_file_path.split('/')[:-1]) transitive_srcs = collect_transitive_srcs(ctx) transitive_gens = collect_transitive_gens(ctx) transitive_gens = collect_protobuf_gens(ctx, transitive_gens) transitive_data = collect_transitive_data(ctx) transitive_reqs = collect_transitive_reqs(ctx) transitive_deps = collect_transitive_deps(ctx) transitive_deps += depset([build_path]) return struct( files=depset(), transitive_srcs=transitive_srcs, transitive_gens=transitive_gens, transitive_data=transitive_data, transitive_reqs=transitive_reqs, transitive_deps=transitive_deps ) def pex_library_test_impl(ctx): build_path = '/'.join(ctx.build_file_path.split('/')[:-1]) transitive_srcs = collect_transitive_srcs(ctx) transitive_gens = collect_transitive_gens(ctx) transitive_gens = collect_protobuf_gens(ctx, transitive_gens) transitive_data = collect_transitive_data(ctx) transitive_reqs = collect_transitive_reqs(ctx) transitive_deps = collect_transitive_deps(ctx) transitive_deps += depset([build_path]) bdist_wheel = ctx.new_file(ctx.genfiles_dir, 'bdist_wheel') command = ['export PATH=$PATH:`pwd`/external/pip/'] command += ['export PYTHONPATH=`pwd`/external/pip/site-packages'] command += ['cd %s' % build_path] command += ['python3.6 setup.py --quiet bdist_wheel &> /dev/null'] command += ['cd - > /dev/null'] command += ['ls %s/dist > %s' % (build_path, bdist_wheel.path)] ctx.action( mnemonic='WheelFilenameCompile', inputs=list( transitive_srcs + transitive_gens + transitive_data ), command=' && '.join(command), outputs=[bdist_wheel], env={ 'PATH': '/bin:/usr/bin:/usr/local/bin', 'LANG': 'en_US.UTF-8' } ) transitive_builds = collect_transitive_builds(ctx) transitive_builds += depset([bdist_wheel]) return struct( files=depset(), transitive_srcs=transitive_srcs, transitive_gens=transitive_gens, transitive_data=transitive_data, transitive_reqs=transitive_reqs, transitive_deps=transitive_deps, transitive_builds=transitive_builds ) def pex_binary_impl(ctx): build_path = '/'.join(ctx.build_file_path.split('/')[:-1]) transitive_srcs = collect_transitive_srcs(ctx) transitive_gens = collect_transitive_gens(ctx) transitive_gens = collect_protobuf_gens(ctx, transitive_gens) transitive_data = collect_transitive_data(ctx) transitive_reqs = collect_transitive_reqs(ctx) transitive_deps = collect_transitive_deps(ctx) transitive_deps += depset([build_path]) runfiles = ctx.runfiles( collect_default=True, transitive_files=( transitive_srcs + transitive_gens + transitive_data ) ) command = [] command += ['export PATH=$PATH:`pwd`/external/pip/'] command += ['export PYTHONPATH=`pwd`/external/pip/site-packages'] for genfile in transitive_gens: dest = genfile.path.replace('%s/' % ctx.genfiles_dir.path, '') command += [' '.join(['cp', genfile.path, dest])] link_paths = depset([file.dirname for file in transitive_reqs]) manifests = ' '.join(['%s/MANIFEST' % path for path in link_paths]) command += ['REQS=$(awk "{print}" ORS=" " %s)' % manifests] command += [' '.join([ 'external/pip/bin/pex', '%s $REQS' % ' '.join([f for f in transitive_deps]), ' '.join(['-f %s' % path for path in link_paths]), '-v -v -v' if ctx.attr.verbose else '-v', '--entry-point=%s' % ctx.attr.entry_point, '--output-file=%s' % ctx.outputs.executable.path, '--python=%s' % ctx.attr.interpreter, '--no-index' ])] pip_tools = depset(order="compile") for target in ctx.attr._pip: pip_tools += depset([file for file in target.files]) ctx.action( mnemonic='PexCompile', inputs=list( pip_tools + transitive_srcs + transitive_gens + transitive_data + transitive_reqs ), command=' && '.join(command), outputs=[ctx.outputs.executable], env={ 'PATH': '/bin:/usr/bin:/usr/local/bin', 'LANG': 'en_US.UTF-8', 'PEX_ROOT': ctx.attr._root } ) return struct( files=depset([ctx.outputs.executable]), runfiles=runfiles, transitive_srcs=transitive_srcs, transitive_gens=transitive_gens, transitive_data=transitive_data, transitive_reqs=transitive_reqs, transitive_deps=transitive_deps ) def pex_test_impl(ctx): build_path = '/'.join(ctx.build_file_path.split('/')[:-1]) transitive_srcs = collect_transitive_srcs(ctx) transitive_gens = collect_transitive_gens(ctx) transitive_gens = collect_protobuf_gens(ctx, transitive_gens) transitive_data = collect_transitive_data(ctx) transitive_reqs = collect_transitive_reqs(ctx) transitive_deps = collect_transitive_deps(ctx) transitive_deps += depset([build_path, ctx.attr._tester.label.package]) bdist_wheel = ctx.new_file(ctx.genfiles_dir, 'bdist_wheel') command = ['export PATH=$PATH:`pwd`/external/pip/'] command += ['export PYTHONPATH=`pwd`/external/pip/site-packages'] command += ['cd %s' % build_path] command += ['python3.6 setup.py --quiet bdist_wheel &> /dev/null'] command += ['cd - > /dev/null'] command += ['ls %s/dist > %s' % (build_path, bdist_wheel.path)] ctx.action( mnemonic='WheelFilenameCompile', inputs=list( transitive_srcs + transitive_gens + transitive_data ), command=' && '.join(command), outputs=[bdist_wheel], env={ 'PATH': '/bin:/usr/bin:/usr/local/bin', 'LANG': 'en_US.UTF-8' } ) transitive_builds = collect_transitive_builds(ctx) transitive_builds += depset([bdist_wheel]) runfiles = ctx.runfiles( collect_default=True, transitive_files=( transitive_srcs + transitive_gens + transitive_data ) ) command = [] command += ['export PATH=$PATH:`pwd`/external/pip/'] command += ['export PYTHONPATH=`pwd`/external/pip/site-packages'] for genfile in transitive_gens: dest = genfile.path.replace('%s/' % ctx.genfiles_dir.path, '') command += [' '.join(['cp', genfile.path, dest])] packages = '%s/tester/packages.dat' % ctx.attr._tester.label.package for build in transitive_builds: command += ['cat %s >> %s' % (build.path, packages)] link_paths = depset([file.dirname for file in transitive_reqs]) manifests = ' '.join(['%s/MANIFEST' % path for path in link_paths]) command += ['REQS=$(awk "{print}" ORS=" " %s)' % manifests] command += [' '.join([ 'external/pip/bin/pex', '%s $REQS' % ' '.join([f for f in transitive_deps]), ' '.join(['-f %s' % path for path in link_paths]), '-v -v -v' if ctx.attr.verbose else '-v', '--entry-point=%s' % ctx.attr._tester.label.name, '--output-file=%s' % ctx.outputs.executable.path, '--python=%s' % ctx.attr.interpreter, '--no-index' ])] pip_tools = depset(order="compile") for target in ctx.attr._pip: pip_tools += depset([file for file in target.files]) ctx.action( mnemonic='PexCompile', inputs=list( pip_tools + transitive_srcs + transitive_gens + transitive_data + transitive_reqs + transitive_builds + ctx.attr._tester.files ), command=' && '.join(command), outputs=[ctx.outputs.executable], env={ 'PATH': '/bin:/usr/bin:/usr/local/bin', 'LANG': 'en_US.UTF-8', 'PEX_ROOT': ctx.attr._root } ) return struct( files=depset([ctx.outputs.executable]), runfiles=runfiles, transitive_srcs=transitive_srcs, transitive_gens=transitive_gens, transitive_data=transitive_data, transitive_reqs=transitive_reqs, transitive_deps=transitive_deps, transitive_builds=transitive_builds ) pex_attrs = { '_protoc': attr.label(default=Label('@proto//:tools')), 'srcs': attr.label_list(allow_files=True), 'data': attr.label_list(allow_files=True, allow_empty=True, cfg='data'), 'reqs': attr.label_list(allow_empty=True) } pex_deps_attrs = { 'deps': attr.label_list( providers=[ 'transitive_srcs', 'transitive_gens', 'transitive_data', 'transitive_reqs', 'transitive_deps' ], allow_files=False ) } pex_deps_test_attrs = { 'deps': attr.label_list( providers=[ 'transitive_srcs', 'transitive_gens', 'transitive_data', 'transitive_reqs', 'transitive_deps', 'transitive_builds' ], allow_files=False ) } pex_build_attrs = { '_pip': attr.label_list( default=[Label('@pip//:tools'), Label('@pip//bin')]), '_root': attr.string(default='.pex'), 'interpreter': attr.string(default='python3.6'), 'verbose': attr.bool(default=False) } pex_entry_attrs = { 'entry_point': attr.string(mandatory=True) } pex_tester_attrs = { '_tester': attr.label(default=Label('//tools/python/tester')) } _pex_library = rule( pex_library_impl, attrs=pex_attrs + pex_deps_attrs ) _pex_test_library = rule( pex_library_test_impl, attrs=pex_attrs + pex_deps_test_attrs ) _pex_binary = rule( pex_binary_impl, attrs=pex_attrs + pex_deps_attrs + pex_build_attrs + pex_entry_attrs, executable=True ) _pex_test = rule( pex_test_impl, attrs=pex_attrs + pex_deps_test_attrs + pex_build_attrs + pex_tester_attrs, executable=True, test=True ) def pex_library(name, srcs, data=None, reqs=None, deps=None): _pex_library( name=name, srcs=srcs, data=data, reqs=reqs, deps=deps, visibility=['//visibility:public'] ) def pex_test_library(name, srcs, data=None, reqs=None, deps=None): _pex_test_library( name=name, srcs=srcs, data=data, reqs=reqs, deps=deps, visibility=['//visibility:public'] ) def pex_binary(name, srcs, entry_point, data=None, reqs=None, deps=None, interpreter=None, verbose=None): _pex_binary( name=name, srcs=srcs, data=data, reqs=reqs, deps=deps, entry_point=entry_point, interpreter=interpreter, verbose=verbose, visibility=['//visibility:public'] ) def pex_test(name, size, srcs, data=None, reqs=None, deps=None, interpreter=None, verbose=None): _pex_test( name=name, size=size, srcs=srcs, data=data, reqs=reqs, deps=deps, interpreter=interpreter, verbose=verbose, visibility=['//visibility:public'] )
30.611842
79
0.620102
1,597
13,959
5.167188
0.088291
0.072952
0.061076
0.05429
0.801866
0.772055
0.749273
0.724067
0.702012
0.7008
0
0.001815
0.249946
13,959
455
80
30.679121
0.786342
0
0
0.626289
0
0
0.125224
0.035819
0
0
0
0
0
1
0.03866
false
0
0
0
0.06701
0.005155
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7de9ed4adfc97f1105ae624cb0882c162323a248
2,563
py
Python
epytope/Data/pssms/smmpmbec/mat/A_68_02_10.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
7
2021-02-01T18:11:28.000Z
2022-01-31T19:14:07.000Z
epytope/Data/pssms/smmpmbec/mat/A_68_02_10.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
22
2021-01-02T15:25:23.000Z
2022-03-14T11:32:53.000Z
epytope/Data/pssms/smmpmbec/mat/A_68_02_10.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
4
2021-05-28T08:50:38.000Z
2022-03-14T11:45:32.000Z
A_68_02_10 = {0: {'A': 0.346, 'C': -0.073, 'E': -0.614, 'D': 0.017, 'G': 0.316, 'F': -0.344, 'I': 0.222, 'H': -0.243, 'K': 0.666, 'M': -0.623, 'L': 0.081, 'N': -0.24, 'Q': 0.194, 'P': 0.94, 'S': -0.161, 'R': 0.161, 'T': -0.323, 'W': -0.366, 'V': 0.387, 'Y': -0.344}, 1: {'A': -0.256, 'C': 0.302, 'E': 0.209, 'D': 0.079, 'G': 0.191, 'F': 0.097, 'I': -0.241, 'H': 0.071, 'K': 0.147, 'M': -0.024, 'L': 0.136, 'N': 0.153, 'Q': 0.299, 'P': 0.479, 'S': -0.693, 'R': 0.214, 'T': -0.921, 'W': 0.23, 'V': -0.572, 'Y': 0.101}, 2: {'A': -0.502, 'C': 0.047, 'E': 0.473, 'D': 0.294, 'G': 0.35, 'F': -0.405, 'I': -0.269, 'H': 0.162, 'K': 0.257, 'M': -0.354, 'L': 0.354, 'N': 0.102, 'Q': 0.466, 'P': -0.076, 'S': -0.25, 'R': 0.333, 'T': -0.098, 'W': -0.104, 'V': -0.343, 'Y': -0.438}, 3: {'A': -0.23, 'C': -0.072, 'E': -0.081, 'D': -0.084, 'G': -0.058, 'F': -0.127, 'I': 0.047, 'H': 0.024, 'K': 0.192, 'M': 0.076, 'L': 0.218, 'N': -0.028, 'Q': 0.094, 'P': 0.135, 'S': -0.111, 'R': 0.092, 'T': -0.052, 'W': -0.017, 'V': 0.085, 'Y': -0.102}, 4: {'A': -0.169, 'C': -0.009, 'E': 0.148, 'D': 0.114, 'G': -0.017, 'F': -0.285, 'I': -0.182, 'H': 0.12, 'K': 0.272, 'M': -0.116, 'L': -0.03, 'N': 0.06, 'Q': 0.272, 'P': -0.026, 'S': -0.009, 'R': 0.269, 'T': 0.005, 'W': -0.125, 'V': -0.142, 'Y': -0.148}, 5: {'A': -0.005, 'C': 0.032, 'E': 0.114, 'D': 0.145, 'G': 0.12, 'F': -0.151, 'I': -0.253, 'H': 0.07, 'K': 0.155, 'M': 0.041, 'L': 0.058, 'N': 0.012, 'Q': 0.046, 'P': 0.031, 'S': -0.063, 'R': 0.124, 'T': -0.17, 'W': 0.03, 'V': -0.225, 'Y': -0.112}, 6: {'A': -0.126, 'C': -0.103, 'E': 0.115, 'D': 0.206, 'G': 0.044, 'F': -0.254, 'I': -0.049, 'H': -0.081, 'K': 0.164, 'M': -0.15, 'L': -0.069, 'N': 0.019, 'Q': 0.082, 'P': 0.345, 'S': -0.07, 'R': 0.027, 'T': -0.081, 'W': 0.004, 'V': -0.019, 'Y': -0.005}, 7: {'A': -0.293, 'C': -0.128, 'E': 0.065, 'D': 0.014, 'G': -0.108, 'F': -0.133, 'I': -0.207, 'H': 0.039, 'K': 0.393, 'M': -0.161, 'L': 0.153, 'N': 0.095, 'Q': 0.1, 'P': 0.144, 'S': -0.014, 'R': 0.336, 'T': 0.013, 'W': -0.161, 'V': 0.014, 'Y': -0.161}, 8: {'A': 0.003, 'C': -0.018, 'E': 0.019, 'D': 0.343, 'G': -0.136, 'F': -0.138, 'I': 0.229, 'H': -0.082, 'K': 0.226, 'M': 0.03, 'L': -0.072, 'N': -0.017, 'Q': -0.087, 'P': -0.184, 'S': -0.053, 'R': -0.029, 'T': -0.037, 'W': 0.106, 'V': 0.214, 'Y': -0.316}, 9: {'A': -0.877, 'C': 0.131, 'E': 0.155, 'D': 0.278, 'G': -1.318, 'F': -0.324, 'I': -1.067, 'H': 1.082, 'K': 0.469, 'M': -0.448, 'L': -0.833, 'N': 0.958, 'Q': 0.334, 'P': 1.525, 'S': -0.52, 'R': 0.765, 'T': -0.447, 'W': 1.037, 'V': -1.396, 'Y': 0.498}, -1: {'con': 4.53515}}
2,563
2,563
0.39446
618
2,563
1.631068
0.309061
0.019841
0.009921
0
0
0
0
0
0
0
0
0.374128
0.161529
2,563
1
2,563
2,563
0.094928
0
0
0
0
0
0.079173
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7deea25e8d43472f056683e0ce099c169bee83bd
2,769
py
Python
vaemof/losses.py
zhenpengyao/Supramolecular_VAE
a6463f9288791799651a7f92cbb8b92c91997dda
[ "Apache-2.0" ]
14
2020-05-25T05:02:58.000Z
2021-11-29T09:58:45.000Z
vaemof/losses.py
egtai/Supramolecular_VAE
a6463f9288791799651a7f92cbb8b92c91997dda
[ "Apache-2.0" ]
1
2020-08-11T05:39:31.000Z
2020-08-25T03:19:16.000Z
vaemof/losses.py
egtai/Supramolecular_VAE
a6463f9288791799651a7f92cbb8b92c91997dda
[ "Apache-2.0" ]
7
2021-01-21T16:36:45.000Z
2022-01-12T02:26:36.000Z
import numpy as np import torch import torch.nn.functional as F def masked_mse_loss(y_hat, y, mask): loss_tensor = F.mse_loss(y_hat * mask, y * mask, reduction='none') loss = torch.sum(loss_tensor) / (torch.sum(mask) + 1e-7) return loss def masked_wmse_loss(y_hat, y, mask, w): loss_tensor = F.mse_loss(y_hat * mask, y * mask, reduction='none') * w loss = torch.sum(loss_tensor) / (torch.sum(mask) + 1e-7) return loss def test_masked_loss(data): extra = 1.0 y_true = torch.Tensor(np.array([t[2] for t in test_data])) mask = torch.Tensor(np.array([t[3] for t in test_data]).astype(np.float32)) n_dim = y_true.shape[-1] loss = masked_mse_loss(y_true, y_true, mask).item() assert loss == 0.0, "masked_loss(y,y): should be 0, it's {}".format(loss) y_pred = torch.Tensor( np.array([t[2] if t[3][0] else t[2] + extra for t in test_data])) loss = masked_mse_loss(y_true, y_pred, mask).item() assert loss == 0.0, "masked_loss(y,y+1[False]): should be 0, it's {}".format( loss) y_pred = torch.Tensor( np.array([t[2] + extra if t[3][0] else t[2] for t in test_data])) loss = masked_mse_loss(y_true, y_pred, mask).item() correct_loss = extra * n_dim assert loss == correct_loss, "masked_loss(y,y+1[True]): should be {}, it's {}".format( correct_loss, loss) return True def test_masked_wloss(data): extra = 1.0 y_true = torch.Tensor(np.array([t[2] for t in test_data])) mask = torch.Tensor(np.array([t[3] for t in test_data]).astype(np.float32)) n_dim = y_true.shape[-1] w = torch.Tensor(np.ones(n_dim)) loss = masked_wmse_loss(y_true, y_true, mask, w).item() assert loss == 0.0, "masked_loss(y,y): should be 0, it's {}".format(loss) y_pred = torch.Tensor( np.array([t[2] if t[3][0] else t[2] + extra for t in test_data])) loss = masked_wmse_loss(y_true, y_pred, mask, w).item() assert loss == 0.0, "masked_loss(y,y+1[False]): should be 0, it's {}".format( loss) y_pred = torch.Tensor( np.array([t[2] + extra if t[3][0] else t[2] for t in test_data])) loss = masked_wmse_loss(y_true, y_pred, mask, w).item() correct_loss = extra * n_dim assert loss == correct_loss, "masked_loss(y,y+1[True]): should be {}, it's {}".format( correct_loss, loss) w = np.random.random(n_dim) w_mean = np.mean(w) w = torch.Tensor(w) y_pred = torch.Tensor( np.array([t[2] + extra if t[3][0] else t[2] for t in test_data])) loss = masked_wmse_loss(y_true, y_pred, mask, w).item() correct_loss = extra * n_dim * w_mean assert np.isclose( loss, correct_loss), "masked_loss(y,y+1[True]): should be {}, it's {}".format(correct_loss, loss) return True
40.130435
105
0.628747
504
2,769
3.277778
0.115079
0.066586
0.078692
0.098063
0.882567
0.866828
0.861985
0.833535
0.833535
0.833535
0
0.025091
0.208378
2,769
68
106
40.720588
0.728558
0
0
0.694915
0
0
0.115204
0.045865
0
0
0
0
0.118644
1
0.067797
false
0
0.050847
0
0.186441
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7df008edde9c49cfc950fe1b04e5edcb73a5021c
73
py
Python
boilerplate/config/settings/__init__.py
andre-dasilva/django-boilerplate
2bce4623053a3993bf4ba897109de8ea3ce0fd0f
[ "MIT" ]
null
null
null
boilerplate/config/settings/__init__.py
andre-dasilva/django-boilerplate
2bce4623053a3993bf4ba897109de8ea3ce0fd0f
[ "MIT" ]
null
null
null
boilerplate/config/settings/__init__.py
andre-dasilva/django-boilerplate
2bce4623053a3993bf4ba897109de8ea3ce0fd0f
[ "MIT" ]
null
null
null
from .base import * from .logging import * from .rest_framework import *
18.25
29
0.753425
10
73
5.4
0.6
0.37037
0
0
0
0
0
0
0
0
0
0
0.164384
73
3
30
24.333333
0.885246
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
81531c0c0a6f88ee81a7bf44df380dccb91e80c7
35
py
Python
grid_world/myenv/__init__.py
akifumi-wachi-4/spolf
a1603bcb3640bfdb69a3a78001efb9a89fa0ff0c
[ "MIT" ]
7
2021-11-08T08:26:51.000Z
2022-03-26T06:56:36.000Z
grid_world/myenv/__init__.py
akifumi-wachi-4/spolf
a1603bcb3640bfdb69a3a78001efb9a89fa0ff0c
[ "MIT" ]
1
2022-03-27T13:41:03.000Z
2022-03-28T14:16:13.000Z
grid_world/myenv/__init__.py
akifumi-wachi-4/spolf
a1603bcb3640bfdb69a3a78001efb9a89fa0ff0c
[ "MIT" ]
1
2022-03-27T08:21:47.000Z
2022-03-27T08:21:47.000Z
from myenv.envs.env_spolf import *
17.5
34
0.8
6
35
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.870968
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
81893f21c50e37f52583d48aeffba9cbfd8853c9
96
py
Python
venv/lib/python3.8/site-packages/clikit/api/args/format/command_option.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/clikit/api/args/format/command_option.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/clikit/api/args/format/command_option.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/b4/13/11/226d9e01512960387f18f9b20db84aabdc698ef9fb83c6e9596cab5ea8
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.416667
0
96
1
96
96
0.479167
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
81b227abf37f780979d0318c3686cda2f71a2021
876
py
Python
tests/helper/get_task_tests/01_get_all_tasks_with_tests.py
jinjamator/jinjamator
6c48a6eedea9b9f461c66b5dddd609fa39610f0d
[ "Apache-2.0" ]
7
2020-05-06T07:48:14.000Z
2021-12-11T15:57:26.000Z
tests/helper/get_task_tests/01_get_all_tasks_with_tests.py
jinjamator/jinjamator
6c48a6eedea9b9f461c66b5dddd609fa39610f0d
[ "Apache-2.0" ]
1
2020-04-11T15:13:07.000Z
2020-04-27T20:01:34.000Z
tests/helper/get_task_tests/01_get_all_tasks_with_tests.py
jinjamator/jinjamator
6c48a6eedea9b9f461c66b5dddd609fa39610f0d
[ "Apache-2.0" ]
1
2020-05-29T08:53:08.000Z
2020-05-29T08:53:08.000Z
from glob import glob import os retval = [] for base_dir in jm.environment.jinjamator_global_tasks_base_dirs(): for test in glob(os.path.join(base_dir, "**", ".tests", "*.py"), recursive=True): if self.configuration.get("task_string"): if self.configuration.get("task_string") in test: retval.append(test) else: log.info("Skipped test due to task-string filter: " + test) else: retval.append(test) for test in glob(os.path.join(base_dir, "**", ".tests", "*.j2"), recursive=True): if self.configuration.get("task_string"): if self.configuration.get("task_string") in test: retval.append(test) else: log.info("Skipped test due to task-string filter: " + test) else: retval.append(test) return retval
36.5
85
0.5879
110
876
4.581818
0.345455
0.119048
0.150794
0.174603
0.797619
0.797619
0.797619
0.797619
0.797619
0.797619
0
0.00159
0.281963
876
23
86
38.086957
0.799682
0
0
0.666667
0
0
0.16895
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.142857
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c48c0caf614d0dda0eda4b4b6255e0ec231999b1
6,336
py
Python
yandex_kassa/migrations/0001_initial.py
ZarinaAfl/django-yandex-kassa
da1f68c7d3fa5976aa9071052c2767fa676b1470
[ "MIT" ]
28
2015-12-28T12:49:11.000Z
2020-12-16T02:38:58.000Z
yandex_kassa/migrations/0001_initial.py
ZarinaAfl/django-yandex-kassa
da1f68c7d3fa5976aa9071052c2767fa676b1470
[ "MIT" ]
11
2015-12-13T16:50:17.000Z
2017-09-20T11:48:14.000Z
yandex_kassa/migrations/0001_initial.py
ZarinaAfl/django-yandex-kassa
da1f68c7d3fa5976aa9071052c2767fa676b1470
[ "MIT" ]
24
2016-04-08T12:42:27.000Z
2021-03-26T07:03:19.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import yandex_kassa.utils from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Payment', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('customer_number', models.CharField(default=yandex_kassa.utils.get_uuid, unique=True, max_length=64, verbose_name=b'\xd0\x9d\xd0\xbe\xd0\xbc\xd0\xb5\xd1\x80 \xd0\xb7\xd0\xb0\xd0\xba\xd0\xb0\xd0\xb7\xd0\xb0')), ('status', models.CharField(default=b'processed', max_length=16, verbose_name=b'\xd0\xa0\xd0\xb5\xd0\xb7\xd1\x83\xd0\xbb\xd1\x8c\xd1\x82\xd0\xb0\xd1\x82\xd0\xb0', choices=[(b'processed', b'Processed'), (b'hold', b'Hold'), (b'cancel', b'Cancel'), (b'success', b'Success'), (b'fail', b'Fail')])), ('scid', models.PositiveIntegerField(default=528277, verbose_name=b'\xd0\x9d\xd0\xbe\xd0\xbc\xd0\xb5\xd1\x80 \xd0\xb2\xd0\xb8\xd1\x82\xd1\x80\xd0\xb8\xd0\xbd\xd1\x8b')), ('shop_id', models.PositiveIntegerField(default=104674, verbose_name=b'ID \xd0\xbc\xd0\xb0\xd0\xb3\xd0\xb0\xd0\xb7\xd0\xb8\xd0\xbd\xd0\xb0')), ('payment_type', models.CharField(default=b'pc', max_length=2, verbose_name=b'\xd0\xa1\xd0\xbf\xd0\xbe\xd1\x81\xd0\xbe\xd0\xb1 \xd0\xbf\xd0\xbb\xd0\xb0\xd1\x82\xd0\xb5\xd0\xb6\xd0\xb0', choices=[(b'ab', '\u0410\u043b\u044c\u0444\u0430-\u041a\u043b\u0438\u043a'), (b'ac', '\u0411\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u043a\u0430\u0440\u0442\u0430'), (b'gp', '\u041d\u0430\u043b\u0438\u0447\u043d\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b'), (b'ma', 'MasterPass'), (b'mc', '\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043c\u043c\u0435\u0440\u0446\u0438\u044f'), (b'pb', '\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0431\u0430\u043d\u043a \u041f\u0440\u043e\u043c\u0441\u0432\u044f\u0437\u044c\u0431\u0430\u043d\u043a\u0430'), (b'pc', '\u041a\u043e\u0448\u0435\u043b\u0435\u043a \u042f\u043d\u0434\u0435\u043a\u0441.\u0414\u0435\u043d\u0435\u0433'), (b'sb', '\u0421\u0431\u0435\u0440\u0431\u0430\u043d\u043a \u041e\u043d\u043b\u0430\u0439\u043d'), (b'wm', '\u041a\u043e\u0448\u0435\u043b\u0435\u043a WebMoney')])), ('invoice_id', models.PositiveIntegerField(null=True, verbose_name=b'\xd0\x9d\xd0\xbe\xd0\xbc\xd0\xb5\xd1\x80 \xd1\x82\xd1\x80\xd0\xb0\xd0\xbd\xd0\xb7\xd0\xb0\xd0\xba\xd1\x86\xd0\xb8\xd0\xb8 \xd0\xbe\xd0\xbf\xd0\xb5\xd1\x80\xd0\xb0\xd1\x82\xd0\xbe\xd1\x80\xd0\xb0', blank=True)), ('order_amount', models.FloatField(verbose_name=b'\xd0\xa1\xd1\x83\xd0\xbc\xd0\xbc\xd0\xb0 \xd0\xb7\xd0\xb0\xd0\xba\xd0\xb0\xd0\xb7\xd0\xb0')), ('shop_amount', models.DecimalField(decimal_places=2, max_digits=15, blank=True, help_text=b'\xd0\x97\xd0\xb0 \xd0\xb2\xd1\x8b\xd1\x87\xd0\xb5\xd1\x82\xd0\xbe\xd0\xbc \xd0\xbf\xd1\x80\xd0\xbe\xd1\x86\xd0\xb5\xd0\xbd\xd1\x82\xd0\xb0 \xd0\xbe\xd0\xbf\xd0\xb5\xd1\x80\xd0\xb0\xd1\x82\xd0\xbe\xd1\x80\xd0\xb0', null=True, verbose_name=b'\xd0\xa1\xd1\x83\xd0\xbc\xd0\xbc\xd0\xb0 \xd0\xbf\xd0\xbe\xd0\xbb\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xbd\xd0\xb0\xd1\x8f \xd0\xbd\xd0\xb0 \xd1\x80/\xd1\x81')), ('order_currency', models.PositiveIntegerField(default=643, verbose_name=b'\xd0\x92\xd0\xb0\xd0\xbb\xd1\x8e\xd1\x82\xd0\xb0', choices=[(643, '\u0420\u0443\u0431\u043b\u0438'), (10643, '\u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0432\u0430\u043b\u044e\u0442\u0430')])), ('shop_currency', models.PositiveIntegerField(default=643, null=True, verbose_name=b'\xd0\x92\xd0\xb0\xd0\xbb\xd1\x8e\xd1\x82\xd0\xb0 \xd0\xbf\xd0\xbe\xd0\xbb\xd1\x83\xd1\x87\xd0\xb5\xd0\xbd\xd0\xbd\xd0\xb0\xd1\x8f \xd0\xbd\xd0\xb0 \xd1\x80/\xd1\x81', blank=True, choices=[(643, '\u0420\u0443\u0431\u043b\u0438'), (10643, '\u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0432\u0430\u043b\u044e\u0442\u0430')])), ('payer_code', models.CharField(max_length=33, null=True, verbose_name=b'\xd0\x9d\xd0\xbe\xd0\xbc\xd0\xb5\xd1\x80 \xd0\xb2\xd0\xb8\xd1\x80\xd1\x82\xd1\x83\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xbe\xd0\xb3\xd0\xbe \xd1\x81\xd1\x87\xd0\xb5\xd1\x82\xd0\xb0', blank=True)), ('success_url', models.URLField(default=b'/kassa/success/', verbose_name=b'URL \xd1\x83\xd1\x81\xd0\xbf\xd0\xb5\xd1\x88\xd0\xbd\xd0\xbe\xd0\xb9 \xd0\xbe\xd0\xbf\xd0\xbb\xd0\xb0\xd1\x82\xd1\x8b')), ('fail_url', models.URLField(default=b'/kassa/fail/', verbose_name=b'URL \xd0\xbd\xd0\xb5\xd1\x83\xd1\x81\xd0\xbf\xd0\xb5\xd1\x88\xd0\xbd\xd0\xbe\xd0\xb9 \xd0\xbe\xd0\xbf\xd0\xbb\xd0\xb0\xd1\x82\xd1\x8b')), ('cps_email', models.EmailField(max_length=254, null=True, verbose_name=b'\xd0\x9f\xd0\xbe\xd1\x87\xd1\x82\xd1\x8b \xd0\xbf\xd0\xbb\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd1\x89\xd0\xb8\xd0\xba\xd0\xb0', blank=True)), ('cps_phone', models.CharField(max_length=15, null=True, verbose_name=b'\xd0\xa2\xd0\xb5\xd0\xbb\xd0\xb5\xd1\x84\xd0\xbe\xd0\xbd \xd0\xbf\xd0\xbb\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd1\x89\xd0\xb8\xd0\xba\xd0\xb0', blank=True)), ('created', models.DateTimeField(auto_now_add=True, verbose_name=b'\xd0\x92\xd1\x80\xd0\xb5\xd0\xbc\xd1\x8f \xd1\x81\xd0\xbe\xd0\xb7\xd0\xb4\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x8f')), ('performed_datetime', models.DateTimeField(null=True, verbose_name=b'\xd0\x92\xd1\x8b\xd0\xbf\xd0\xbe\xd0\xbb\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb7\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81\xd0\xb0', blank=True)), ('user', models.ForeignKey(verbose_name=b'\xd0\x9f\xd0\xbe\xd0\xbb\xd1\x8c\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c', blank=True, to=settings.AUTH_USER_MODEL, null=True)), ], options={ 'ordering': ('created',), 'verbose_name': '\u041f\u043b\u0430\u0442\u0435\u0436', 'verbose_name_plural': '\u041f\u043b\u0430\u0442\u0435\u0436\u0438', }, ), ]
137.73913
1,127
0.692077
1,089
6,336
3.969697
0.17539
0.059681
0.041638
0.052047
0.50613
0.41684
0.371733
0.310664
0.310664
0.310664
0
0.218997
0.102746
6,336
45
1,128
140.8
0.541425
0.003314
0
0
0
0.692308
0.601616
0.522889
0
0
0
0
0
1
0
false
0.025641
0.102564
0
0.179487
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c4bf1144ecdcdd6c997fa7765905f5fbb5f404b6
13,232
py
Python
sdk/python/build/lib/pulumi_databricks/databricks/notebook.py
ingenii-solutions/pulumi-databricks
f03ecc4e190a4e59eb635663f6408350dcab42ea
[ "ECL-2.0", "Apache-2.0" ]
2
2021-12-10T07:35:59.000Z
2022-03-23T22:53:55.000Z
sdk/python/pulumi_databricks/databricks/notebook.py
ingenii-solutions/pulumi-databricks
f03ecc4e190a4e59eb635663f6408350dcab42ea
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/databricks/notebook.py
ingenii-solutions/pulumi-databricks
f03ecc4e190a4e59eb635663f6408350dcab42ea
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NotebookArgs', 'Notebook'] @pulumi.input_type class NotebookArgs: def __init__(__self__, *, path: pulumi.Input[str], content_base64: Optional[pulumi.Input[str]] = None, language: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[int]] = None, object_type: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Notebook resource. """ pulumi.set(__self__, "path", path) if content_base64 is not None: pulumi.set(__self__, "content_base64", content_base64) if language is not None: pulumi.set(__self__, "language", language) if md5 is not None: pulumi.set(__self__, "md5", md5) if object_id is not None: pulumi.set(__self__, "object_id", object_id) if object_type is not None: pulumi.set(__self__, "object_type", object_type) if source is not None: pulumi.set(__self__, "source", source) @property @pulumi.getter def path(self) -> pulumi.Input[str]: return pulumi.get(self, "path") @path.setter def path(self, value: pulumi.Input[str]): pulumi.set(self, "path", value) @property @pulumi.getter(name="contentBase64") def content_base64(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "content_base64") @content_base64.setter def content_base64(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_base64", value) @property @pulumi.getter def language(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "language") @language.setter def language(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "language", value) @property @pulumi.getter def md5(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "md5") @md5.setter def md5(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "md5", value) @property @pulumi.getter(name="objectId") def object_id(self) -> Optional[pulumi.Input[int]]: return pulumi.get(self, "object_id") @object_id.setter def object_id(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "object_id", value) @property @pulumi.getter(name="objectType") def object_type(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "object_type") @object_type.setter def object_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object_type", value) @property @pulumi.getter def source(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "source") @source.setter def source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source", value) @pulumi.input_type class _NotebookState: def __init__(__self__, *, content_base64: Optional[pulumi.Input[str]] = None, language: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[int]] = None, object_type: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Notebook resources. """ if content_base64 is not None: pulumi.set(__self__, "content_base64", content_base64) if language is not None: pulumi.set(__self__, "language", language) if md5 is not None: pulumi.set(__self__, "md5", md5) if object_id is not None: pulumi.set(__self__, "object_id", object_id) if object_type is not None: pulumi.set(__self__, "object_type", object_type) if path is not None: pulumi.set(__self__, "path", path) if source is not None: pulumi.set(__self__, "source", source) if url is not None: pulumi.set(__self__, "url", url) @property @pulumi.getter(name="contentBase64") def content_base64(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "content_base64") @content_base64.setter def content_base64(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_base64", value) @property @pulumi.getter def language(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "language") @language.setter def language(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "language", value) @property @pulumi.getter def md5(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "md5") @md5.setter def md5(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "md5", value) @property @pulumi.getter(name="objectId") def object_id(self) -> Optional[pulumi.Input[int]]: return pulumi.get(self, "object_id") @object_id.setter def object_id(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "object_id", value) @property @pulumi.getter(name="objectType") def object_type(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "object_type") @object_type.setter def object_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object_type", value) @property @pulumi.getter def path(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "path") @path.setter def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) @property @pulumi.getter def source(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "source") @source.setter def source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source", value) @property @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "url") @url.setter def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) class Notebook(pulumi.CustomResource): @overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, content_base64: Optional[pulumi.Input[str]] = None, language: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[int]] = None, object_type: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, __props__=None): """ Create a Notebook resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. """ ... @overload def __init__(__self__, resource_name: str, args: NotebookArgs, opts: Optional[pulumi.ResourceOptions] = None): """ Create a Notebook resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param NotebookArgs 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(NotebookArgs, 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, content_base64: Optional[pulumi.Input[str]] = None, language: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[int]] = None, object_type: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, source: 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__ = NotebookArgs.__new__(NotebookArgs) __props__.__dict__["content_base64"] = content_base64 __props__.__dict__["language"] = language __props__.__dict__["md5"] = md5 __props__.__dict__["object_id"] = object_id __props__.__dict__["object_type"] = object_type if path is None and not opts.urn: raise TypeError("Missing required property 'path'") __props__.__dict__["path"] = path __props__.__dict__["source"] = source __props__.__dict__["url"] = None super(Notebook, __self__).__init__( 'databricks:databricks/notebook:Notebook', resource_name, __props__, opts) @staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, content_base64: Optional[pulumi.Input[str]] = None, language: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, object_id: Optional[pulumi.Input[int]] = None, object_type: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None) -> 'Notebook': """ Get an existing Notebook 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. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _NotebookState.__new__(_NotebookState) __props__.__dict__["content_base64"] = content_base64 __props__.__dict__["language"] = language __props__.__dict__["md5"] = md5 __props__.__dict__["object_id"] = object_id __props__.__dict__["object_type"] = object_type __props__.__dict__["path"] = path __props__.__dict__["source"] = source __props__.__dict__["url"] = url return Notebook(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter(name="contentBase64") def content_base64(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "content_base64") @property @pulumi.getter def language(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "language") @property @pulumi.getter def md5(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "md5") @property @pulumi.getter(name="objectId") def object_id(self) -> pulumi.Output[int]: return pulumi.get(self, "object_id") @property @pulumi.getter(name="objectType") def object_type(self) -> pulumi.Output[str]: return pulumi.get(self, "object_type") @property @pulumi.getter def path(self) -> pulumi.Output[str]: return pulumi.get(self, "path") @property @pulumi.getter def source(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "source") @property @pulumi.getter def url(self) -> pulumi.Output[str]: return pulumi.get(self, "url")
36.960894
134
0.617518
1,524
13,232
5.089895
0.089239
0.100683
0.156762
0.155988
0.784195
0.769756
0.738817
0.712518
0.679257
0.622019
0
0.009027
0.263301
13,232
357
135
37.064426
0.786725
0.083812
0
0.76259
1
0
0.072243
0.003269
0
0
0
0
0
1
0.161871
false
0.003597
0.017986
0.082734
0.276978
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f213e26df3d02ecc5dae02099558948cdda65e31
54
py
Python
Chapter 03/ch3_1_32.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 03/ch3_1_32.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 03/ch3_1_32.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
num = '-$100.05' print(num.zfill(4)) #-$100.05
10.8
20
0.5
9
54
3
0.666667
0.37037
0
0
0
0
0
0
0
0
0
0.261905
0.222222
54
4
21
13.5
0.380952
0.148148
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
4844a8f16352020be7b59b7b0466bf9a7b5849ce
176
py
Python
scraping-code/util/sentence.py
sahansk2/uiuc_pathfinder
8a6fe66f7675f96f0b60837ad99945fb8ca89846
[ "MIT" ]
null
null
null
scraping-code/util/sentence.py
sahansk2/uiuc_pathfinder
8a6fe66f7675f96f0b60837ad99945fb8ca89846
[ "MIT" ]
null
null
null
scraping-code/util/sentence.py
sahansk2/uiuc_pathfinder
8a6fe66f7675f96f0b60837ad99945fb8ca89846
[ "MIT" ]
null
null
null
# Taken from https://stackoverflow.com/a/31505798 # License is CC By SA 4.0 from nltk import tokenize def split_into_sentences(text): return tokenize.sent_tokenize(text)
22
49
0.772727
28
176
4.75
0.857143
0
0
0
0
0
0
0
0
0
0
0.066225
0.142045
176
7
50
25.142857
0.81457
0.403409
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
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
0
0
1
1
1
0
0
6
48802f623fbeeca2ea31dc6f6e1c5fc17e244204
42
py
Python
apps/oob/context_processors/__init__.py
dbjennings/order-of-business
8f424bd36b323e4c102b3d8704bb576c150d585a
[ "MIT" ]
null
null
null
apps/oob/context_processors/__init__.py
dbjennings/order-of-business
8f424bd36b323e4c102b3d8704bb576c150d585a
[ "MIT" ]
null
null
null
apps/oob/context_processors/__init__.py
dbjennings/order-of-business
8f424bd36b323e4c102b3d8704bb576c150d585a
[ "MIT" ]
null
null
null
from apps.oob.context_processors import *
21
41
0.833333
6
42
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
42
1
42
42
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6fea9c83a7fd6f8636b45e93fb8bd226eb9faf8a
74
py
Python
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/lib/exception_in_user_code_2/main.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
null
null
null
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/lib/exception_in_user_code_2/main.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
5
2021-04-08T22:02:15.000Z
2022-02-10T14:53:45.000Z
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/lib/exception_in_user_code_2/main.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
null
null
null
print(123) try: print(0 / 0) except ArithmeticError: print(0 / 0)
12.333333
23
0.621622
11
74
4.181818
0.545455
0.26087
0.304348
0
0
0
0
0
0
0
0
0.125
0.243243
74
5
24
14.8
0.696429
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.6
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
0
0
0
1
0
6
82f5bdf5a7093034c21878674b13449c756276a8
43
py
Python
util/request_util.py
Mozhuowen/projectJ-eveserver
a1373adab15d1860b179b590f9e2cbc54ef66b56
[ "BSD-3-Clause" ]
1
2016-06-27T05:53:40.000Z
2016-06-27T05:53:40.000Z
util/request_util.py
Mozhuowen/projectJ-eveserver
a1373adab15d1860b179b590f9e2cbc54ef66b56
[ "BSD-3-Clause" ]
null
null
null
util/request_util.py
Mozhuowen/projectJ-eveserver
a1373adab15d1860b179b590f9e2cbc54ef66b56
[ "BSD-3-Clause" ]
null
null
null
#!coding=utf-8 from flask import request
8.6
25
0.744186
7
43
4.571429
1
0
0
0
0
0
0
0
0
0
0
0.027778
0.162791
43
4
26
10.75
0.861111
0.302326
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
962c9396b6ac520154142aabe67c391e2f9581bb
27
py
Python
src/euler_python_package/euler_python/medium/p434.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p434.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p434.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
def problem434(): pass
9
17
0.62963
3
27
5.666667
1
0
0
0
0
0
0
0
0
0
0
0.15
0.259259
27
2
18
13.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
6
962e40d120c8cc164278cbb33cbe57594f73f822
1,698
py
Python
chibp/api.py
chrisdunne/hibp
3ea1edb5f3d1cccc4f9ea6aba5b19f39cc862a6f
[ "MIT" ]
null
null
null
chibp/api.py
chrisdunne/hibp
3ea1edb5f3d1cccc4f9ea6aba5b19f39cc862a6f
[ "MIT" ]
null
null
null
chibp/api.py
chrisdunne/hibp
3ea1edb5f3d1cccc4f9ea6aba5b19f39cc862a6f
[ "MIT" ]
null
null
null
import requests import urllib.parse def get(email, key): if isinstance(email, str): return requests.get( f"https://haveibeenpwned.com/api/v3/breachedaccount/{urllib.parse.quote(email)}", headers={"hibp-api-key": key} ).text if isinstance(email, list): result = {} for e in email: r = requests.get( f"https://haveibeenpwned.com/api/v3/breachedaccount/{urllib.parse.quote(e)}", headers={"hibp-api-key": key} ) result[e] = r.text return result def get_full(email, key): if isinstance(email, str): return requests.get( f"https://haveibeenpwned.com/api/v3/breachedaccount/{urllib.parse.quote(email)}?truncateResponse=false", headers={"hibp-api-key": key} ).text if isinstance(email, list): result = {} for e in email: r = requests.get( f"https://haveibeenpwned.com/api/v3/breachedaccount/{urllib.parse.quote(e)}?truncateResponse=false", headers={"hibp-api-key": key} ) result[e] = r.text return result def get_breaches(key): return requests.get( f"https://haveibeenpwned.com/api/v3/breaches", headers={"hibp-api-key": key} ).text def get_breach(site, key): return requests.get( f"https://haveibeenpwned.com/api/v3/breach/{site}", headers={"hibp-api-key": key} ).text def get_pastes(email, key): return requests.get( f"https://haveibeenpwned.com/api/v3/pasteaccount/{urllib.parse.quote(email)}", headers={"hibp-api-key": key} ).text
31.444444
116
0.577739
201
1,698
4.860697
0.18408
0.078813
0.085977
0.121801
0.897646
0.897646
0.897646
0.854657
0.793245
0.793245
0
0.005696
0.276207
1,698
54
117
31.444444
0.78926
0
0
0.659574
0
0.042553
0.349029
0
0
0
0
0
0
1
0.106383
false
0
0.042553
0.06383
0.297872
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
96589c50e48506d32dd7cccba7de568a6a38975b
12,063
py
Python
create_lfw_dataset.py
kevincao91/kevin.ai.face_recognition
4813441f8989985301a547c0464e3e945753357e
[ "MIT" ]
null
null
null
create_lfw_dataset.py
kevincao91/kevin.ai.face_recognition
4813441f8989985301a547c0464e3e945753357e
[ "MIT" ]
null
null
null
create_lfw_dataset.py
kevincao91/kevin.ai.face_recognition
4813441f8989985301a547c0464e3e945753357e
[ "MIT" ]
null
null
null
# coding: utf-8 """ 将原始数据集进行划分成训练集、验证集和测试集或整体成为测试集 """ from tqdm import tqdm import numpy as np import os import glob from config import opt import random lfw_img_num = 18982 lfw_idx_num = 5749 lfw_data_dir = opt.lfw_data_dir + '/lfw/' indices_all_file_path = 'dataset/lfw_all_indices.txt' indices_trainval_file_path = 'dataset/lfw_trainval_indices.txt' indices_test_file_path = 'dataset/lfw_test_indices.txt' train_file_path = 'dataset/lfw_train_triplet.txt' valid_file_path = 'dataset/lfw_valid_pairs.txt' test_file_path = 'dataset/lfw_test_pairs.txt' all_test_file_path = 'dataset/lfw_all_test_pairs.txt' train_percent = 0.5 valid_percent = 0.2 test_percent = 0.3 def make_indices_file(): with open(indices_all_file_path, 'w') as f: for root, dirs, files in os.walk(lfw_data_dir): idx = 0 for sDir in dirs: imgs_path_list = glob.glob(os.path.join(root, sDir) + '/*.jpg') imgs_num = len(imgs_path_list) file_string = '' for i in range(1, imgs_num + 1): file_string += '\t' file_string += str(i) line = str(idx) + '\t' + sDir + '\t' + file_string + '\n' f.write(line) idx += 1 print('load %d people file' % lfw_idx_num) def split_indices_file(): trainval_num = round(lfw_idx_num * (train_percent + valid_percent)) test_num = round(lfw_idx_num * test_percent) print('trainval set load %d people file' % trainval_num) print('test set load %d people file' % test_num) with open(indices_all_file_path, 'r') as f: lines = f.readlines() trainval_file = open(indices_trainval_file_path, 'w') test_file = open(indices_test_file_path, 'w') random.shuffle(lines) idx = 1 for line in lines: if idx <= trainval_num: trainval_file.write(line) else: test_file.write(line) idx += 1 trainval_file.close() test_file.close() def make_train_file(num_triplets): with open(indices_trainval_file_path, 'r') as f: lines = f.readlines() name_list = [] inds = dict() idx = 0 # 重新排序号 for line in lines: words = line.split() name = words[1] files = words[2:] if name not in inds: inds[idx] = [] name_list.append(name) for file in files: inds[idx].append(file) idx += 1 n_classes = len(inds) print('[train set] num_triplets: ', num_triplets, 'n_classes: ', n_classes) triplets = [] # Indices = array of labels and each label is an array of indices indices_dic = inds with open(train_file_path, 'w') as f: f.write(str(num_triplets) + '\t' + str(n_classes) + '\n') for x in range(num_triplets): c1 = np.random.randint(0, n_classes - 1) c2 = np.random.randint(0, n_classes - 1) while len(indices_dic[c1]) < 2: c1 = np.random.randint(0, n_classes - 1) while c1 == c2: c2 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 2: # hack to speed up process n1, n2 = 0, 1 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) n2 = np.random.randint(0, len(indices_dic[c1]) - 1) while n1 == n2: n2 = np.random.randint(0, len(indices_dic[c1]) - 1) if len(indices_dic[c2]) == 1: n3 = 0 else: n3 = np.random.randint(0, len(indices_dic[c2]) - 1) triplets.append( [name_list[c1], indices_dic[c1][n1], indices_dic[c1][n2], name_list[c2], indices_dic[c2][n3], c1, c2]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + indices_dic[c1][n2] + '\t' + \ name_list[c2] + '\t' + indices_dic[c2][n3] + '\t' + str(c1) + '\t' + str(c2) + '\n' f.write(line) def make_valid_file(num_pairs): with open(indices_trainval_file_path, 'r') as f: lines = f.readlines() name_list = [] inds = dict() idx = 0 # 重新排序号 for line in lines: words = line.split() name = words[1] files = words[2:] if name not in inds: inds[idx] = [] name_list.append(name) for file in files: inds[idx].append(file) idx += 1 n_classes = len(inds) print('[valid set] num_pairs: ', num_pairs, 'n_classes: ', n_classes) pairs = [] # Indices = array of labels and each label is an array of indices indices_dic = inds with open(valid_file_path, 'w') as f: f.write(str(num_pairs) + '\t' + str(n_classes) + '\n') for x in range(num_pairs): if x < num_pairs/2: # positive pairs c1 = np.random.randint(0, n_classes - 1) while len(indices_dic[c1]) < 2: c1 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 2: # hack to speed up process n1, n2 = 0, 1 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) n2 = np.random.randint(0, len(indices_dic[c1]) - 1) while n1 == n2: n2 = np.random.randint(0, len(indices_dic[c1]) - 1) pairs.append( [name_list[c1], indices_dic[c1][n1], indices_dic[c1][n2], c1]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + indices_dic[c1][n2] + '\t' + str(c1) + '\n' else: # negative pairs c1 = np.random.randint(0, n_classes - 1) c2 = np.random.randint(0, n_classes - 1) while c1 == c2: c2 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 1: # hack to speed up process n1 = 0 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) if len(indices_dic[c2]) == 1: # hack to speed up process n2 = 0 else: n2 = np.random.randint(0, len(indices_dic[c2]) - 1) pairs.append( [name_list[c1], indices_dic[c1][n1], name_list[c2], indices_dic[c2][n2], c1, c2]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + \ name_list[c2] + '\t' + indices_dic[c2][n2] + '\t' + str(c1) + '\t' + str(c2) + '\n' f.write(line) def make_test_file(num_pairs): with open(indices_test_file_path, 'r') as f: lines = f.readlines() name_list = [] inds = dict() idx = 0 # 重新排序号 for line in lines: words = line.split() name = words[1] files = words[2:] if name not in inds: inds[idx] = [] name_list.append(name) for file in files: inds[idx].append(file) idx += 1 n_classes = len(inds) print('[test set] num_pairs: ', num_pairs, 'n_classes: ', n_classes) pairs = [] # Indices = array of labels and each label is an array of indices indices_dic = inds with open(test_file_path, 'w') as f: f.write(str(num_pairs) + '\t' + str(n_classes) + '\n') for x in range(num_pairs): if x < num_pairs/2: # positive pairs c1 = np.random.randint(0, n_classes - 1) while len(indices_dic[c1]) < 2: c1 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 2: # hack to speed up process n1, n2 = 0, 1 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) n2 = np.random.randint(0, len(indices_dic[c1]) - 1) while n1 == n2: n2 = np.random.randint(0, len(indices_dic[c1]) - 1) pairs.append( [name_list[c1], indices_dic[c1][n1], indices_dic[c1][n2], c1]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + indices_dic[c1][n2] + '\t' + str(c1) + '\n' else: # negative pairs c1 = np.random.randint(0, n_classes - 1) c2 = np.random.randint(0, n_classes - 1) while c1 == c2: c2 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 1: # hack to speed up process n1 = 0 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) if len(indices_dic[c2]) == 1: # hack to speed up process n2 = 0 else: n2 = np.random.randint(0, len(indices_dic[c2]) - 1) pairs.append( [name_list[c1], indices_dic[c1][n1], name_list[c2], indices_dic[c2][n2], c1, c2]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + \ name_list[c2] + '\t' + indices_dic[c2][n2] + '\t' + str(c1) + '\t' + str(c2) + '\n' f.write(line) def make_all_test_file(num_pairs): with open(indices_all_file_path, 'r') as f: lines = f.readlines() name_list = [] inds = dict() for line in lines: words = line.split() idx = int(words[0]) # 获取原始编号 name = words[1] files = words[2:] if name not in inds: inds[idx] = [] name_list.append(name) for file in files: inds[idx].append(file) n_classes = len(inds) print('[all test set] num_pairs: ', num_pairs, 'n_classes: ', n_classes) pairs = [] # Indices = array of labels and each label is an array of indices indices_dic = inds with open(all_test_file_path, 'w') as f: f.write(str(num_pairs) + '\t' + str(n_classes) + '\n') for x in range(num_pairs): if x < num_pairs/2: # positive pairs c1 = np.random.randint(0, n_classes - 1) while len(indices_dic[c1]) < 2: c1 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 2: # hack to speed up process n1, n2 = 0, 1 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) n2 = np.random.randint(0, len(indices_dic[c1]) - 1) while n1 == n2: n2 = np.random.randint(0, len(indices_dic[c1]) - 1) pairs.append( [name_list[c1], indices_dic[c1][n1], indices_dic[c1][n2], c1]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + indices_dic[c1][n2] + '\t' + str(c1) + '\n' else: # negative pairs c1 = np.random.randint(0, n_classes - 1) c2 = np.random.randint(0, n_classes - 1) while c1 == c2: c2 = np.random.randint(0, n_classes - 1) if len(indices_dic[c1]) == 1: # hack to speed up process n1 = 0 else: n1 = np.random.randint(0, len(indices_dic[c1]) - 1) if len(indices_dic[c2]) == 1: # hack to speed up process n2 = 0 else: n2 = np.random.randint(0, len(indices_dic[c2]) - 1) pairs.append( [name_list[c1], indices_dic[c1][n1], name_list[c2], indices_dic[c2][n2], c1, c2]) line = name_list[c1] + '\t' + indices_dic[c1][n1] + '\t' + \ name_list[c2] + '\t' + indices_dic[c2][n2] + '\t' + str(c1) + '\t' + str(c2) + '\n' f.write(line) if __name__ == '__main__': make_indices_file() split_indices_file() make_train_file(8000) make_valid_file(2000) make_test_file(3000) make_all_test_file(100)
34.56447
118
0.511067
1,646
12,063
3.563791
0.074119
0.115922
0.098193
0.103648
0.797647
0.764576
0.745482
0.732697
0.728776
0.719229
0
0.047423
0.356711
12,063
348
119
34.663793
0.708505
0.05521
0
0.72119
0
0
0.048235
0.017516
0
0
0
0
0
1
0.022305
false
0
0.022305
0
0.04461
0.026022
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
965ea3b72030536fdb1b98c3e82c66a6f477daeb
8,083
py
Python
tests/nn/architectures/test_resnet.py
hectorcarrion/sleap
1150c2d0b64543e07d4b2429ea245a5afaa07cee
[ "BSD-3-Clause-Clear" ]
156
2020-05-01T18:43:43.000Z
2022-03-25T10:31:18.000Z
tests/nn/architectures/test_resnet.py
oeway/sleap
1eb06f81eb8f0bc1beedd1c3dd10902f8ff9e724
[ "BSD-3-Clause-Clear" ]
299
2020-04-20T16:37:52.000Z
2022-03-31T23:54:48.000Z
tests/nn/architectures/test_resnet.py
oeway/sleap
1eb06f81eb8f0bc1beedd1c3dd10902f8ff9e724
[ "BSD-3-Clause-Clear" ]
41
2020-05-14T15:25:21.000Z
2022-03-25T12:44:54.000Z
import numpy as np import tensorflow as tf from sleap.nn.system import use_cpu_only use_cpu_only() # hide GPUs for test from sleap.nn.architectures import upsampling from sleap.nn.architectures import resnet from sleap.nn.config import ResNetConfig class ResnetTests(tf.test.TestCase): def test_resnet50(self): resnet50 = resnet.ResNet50(pretrained=False, features_output_stride=32) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet50.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of layers"): self.assertEqual(len(model.layers), 175) with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 212) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 23528320) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 23581440) with self.subTest("output shape"): self.assertAllEqual(model.output.shape, (None, 5, 5, 2048)) def test_resnet50_stride16(self): resnet50 = resnet.ResNet50(pretrained=False, features_output_stride=16) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet50.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of layers"): self.assertEqual(len(model.layers), 175) with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 212) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 23528320) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 23581440) with self.subTest("output shape"): self.assertAllEqual(model.output.shape, (None, 10, 10, 2048)) with self.subTest("feature output stride"): self.assertEqual(model.get_layer("conv5_block1_1_conv").strides, (1, 1)) with self.subTest("feature output dilation rate"): self.assertEqual( model.get_layer("conv5_block1_1_conv").dilation_rate, (2, 2) ) def test_resnet50_upsampling(self): resnet50 = resnet.ResNet50( pretrained=False, frozen=False, features_output_stride=32, upsampling_stack=upsampling.UpsamplingStack( output_stride=4, refine_convs_filters=64 ), ) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet50.make_backbone(x_in) with self.subTest("output shape"): self.assertAllEqual(x.shape, (None, 160 // 4, 160 // 4, 64)) def test_resnet50_pretrained(self): resnet50 = resnet.ResNet50(pretrained=True, features_output_stride=16) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet50.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of layers"): self.assertEqual(len(model.layers), 175 + 2) # adds preprocessing layers with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 212) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 23534592) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 23587712) with self.subTest("exact pretrained weights"): layer = model.get_layer("conv5_block1_1_conv") self.assertAllClose( layer.kernel[:, :, :3, :3], np.array( [ [ [ [0.00946995, 0.00118913, -0.01149864], [-0.01221565, 0.01268964, -0.00900999], [0.05596072, 0.01261912, -0.01511286], ] ] ] ), ) def test_resnet50_frozen(self): resnet50 = resnet.ResNet50( pretrained=True, frozen=True, features_output_stride=16 ) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet50.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 0) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 0) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 23587712) def test_resnet101(self): resnet101 = resnet.ResNet101( pretrained=False, frozen=False, features_output_stride=16 ) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet101.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of layers"): self.assertEqual(len(model.layers), 345) with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 416) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 42546560) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 42651904) def test_resnet152(self): resnet152 = resnet.ResNet152( pretrained=False, frozen=False, features_output_stride=16 ) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet152.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of layers"): self.assertEqual(len(model.layers), 515) with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 620) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 58213248) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 58364672) def test_resnet50_from_config(self): resnet50 = resnet.ResNet50.from_config( ResNetConfig( version="ResNet50", weights="random", upsampling=None, max_stride=32, output_stride=32, ) ) x_in = tf.keras.layers.Input((160, 160, 1)) x, x_mid = resnet50.make_backbone(x_in) model = tf.keras.Model(x_in, x) param_counts = [ np.prod(train_var.shape) for train_var in model.trainable_weights ] with self.subTest("number of layers"): self.assertEqual(len(model.layers), 175) with self.subTest("number of trainable weights"): self.assertEqual(len(model.trainable_weights), 212) with self.subTest("trainable parameter count"): self.assertEqual(np.sum(param_counts), 23528320) with self.subTest("total parameter count"): self.assertEqual(model.count_params(), 23581440) with self.subTest("output shape"): self.assertAllEqual(model.output.shape, (None, 5, 5, 2048))
40.415
85
0.6072
951
8,083
5.01367
0.132492
0.057047
0.106963
0.085151
0.810822
0.786074
0.764681
0.739723
0.739723
0.70344
0
0.073023
0.285043
8,083
199
86
40.61809
0.752033
0.005444
0
0.514451
0
0
0.099428
0
0
0
0
0
0.196532
1
0.046243
false
0
0.034682
0
0.086705
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
9669220554b583f8ac2363dd019dd48da9fe5940
188
py
Python
dataservice/api/biospecimen_diagnosis/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
6
2018-01-25T13:49:24.000Z
2020-03-07T16:25:09.000Z
dataservice/api/biospecimen_diagnosis/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
369
2018-01-17T15:22:18.000Z
2022-03-10T19:14:56.000Z
dataservice/api/biospecimen_diagnosis/__init__.py
ConnorBarnhill/kf-api-dataservice
547df467a307788882469a25c947a14965a26336
[ "Apache-2.0" ]
3
2018-04-11T14:18:37.000Z
2018-10-31T19:09:48.000Z
from dataservice.api.biospecimen_diagnosis.resources import ( BiospecimenDiagnosisAPI ) from dataservice.api.biospecimen_diagnosis.resources import ( BiospecimenDiagnosisListAPI )
26.857143
61
0.840426
16
188
9.75
0.5625
0.192308
0.230769
0.371795
0.679487
0.679487
0.679487
0
0
0
0
0
0.106383
188
6
62
31.333333
0.928571
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
968ac8e51d7770a526156518248292a7ad1196a2
238
py
Python
apistar/commands/__init__.py
sirex/apistar
0ab0ac394983230bfacad2035d9436e88988cfc4
[ "BSD-3-Clause" ]
1
2017-12-27T09:05:23.000Z
2017-12-27T09:05:23.000Z
apistarlearn/commands/__init__.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
null
null
null
apistarlearn/commands/__init__.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
null
null
null
from apistar.commands.new import new from apistar.commands.run import run_asyncio, run_wsgi from apistar.commands.schema import schema from apistar.commands.test import test __all__ = ['new', 'run_asyncio', 'run_wsgi', 'schema', 'test']
34
62
0.785714
35
238
5.114286
0.314286
0.24581
0.424581
0.189944
0
0
0
0
0
0
0
0
0.105042
238
6
63
39.666667
0.840376
0
0
0
0
0
0.134454
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
0
0
1
0
1
0
0
6
96988f97ddb9401ba7a984c31b6d4db7d6ebf3b4
101
py
Python
basic/inlines/admin.py
neechadi/django-basic-apps
3a90090857549ea4198a72c44f45f6edb238e2a8
[ "BSD-3-Clause" ]
548
2015-01-02T21:41:29.000Z
2022-03-23T09:10:04.000Z
basic/inlines/admin.py
neechadi/django-basic-apps
3a90090857549ea4198a72c44f45f6edb238e2a8
[ "BSD-3-Clause" ]
4
2015-01-13T16:27:02.000Z
2016-11-01T01:51:31.000Z
basic/inlines/admin.py
neechadi/django-basic-apps
3a90090857549ea4198a72c44f45f6edb238e2a8
[ "BSD-3-Clause" ]
182
2015-01-02T21:41:29.000Z
2021-08-09T07:01:07.000Z
from django.contrib import admin from basic.inlines.models import * admin.site.register(InlineType)
20.2
34
0.821782
14
101
5.928571
0.785714
0.26506
0
0
0
0
0
0
0
0
0
0
0.09901
101
5
35
20.2
0.912088
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
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
6
736895a275449e4b6db735ac5f15dacfea7e8081
5,465
py
Python
torchsupport/experimental/autonomous.py
bobelly/torchsupport
5aa0a04f20c193ec99310f5d6a3375d2e95e740d
[ "MIT" ]
18
2019-05-02T16:32:15.000Z
2021-04-16T09:33:54.000Z
torchsupport/experimental/autonomous.py
bobelly/torchsupport
5aa0a04f20c193ec99310f5d6a3375d2e95e740d
[ "MIT" ]
5
2019-10-14T13:46:49.000Z
2021-06-08T11:48:34.000Z
torchsupport/experimental/autonomous.py
bobelly/torchsupport
5aa0a04f20c193ec99310f5d6a3375d2e95e740d
[ "MIT" ]
12
2019-05-12T21:34:24.000Z
2021-07-15T14:14:16.000Z
import torch import torch.nn as nn import torch.nn.functional as func from torchsupport.data.io import netwrite from torchsupport.training.training import Training, BasicTraining class RelabelTraining(BasicTraining): """Relabelling training process. Arguments: net (Module) : a trainable network module. train_data (DataLoader) : a :class:`DataLoader` returning the training data set. validate_data (DataLoader) : a :class:`DataLoader` return ing the validation data set. optimizer (Optimizer) : an optimizer for the network. Defaults to ADAM. schedule (Schedule) : a learning rate schedule. Defaults to decay when stagnated. max_epochs (int) : the maximum number of epochs to train. device (str) : the device to run on. checkpoint_path (str) : the path to save network checkpoints. relabel_steps (int) : number of steps after which the labels are recomputed. """ def __init__(self, net, train_data, validate_data, optimizer=torch.optim.Adam(), schedule=None, max_epochs=10000, device=None, checkpoint_path="checkpoint.torch", relabel_steps=2): super(RelabelTraining, self).__init__( net, train_data, validate_data, optimizer=optimizer, schedule=schedule, max_epochs=max_epochs, device=device, checkpoint_path=checkpoint_path ) self.relabel_net = None self.relabel_steps = relabel_steps def relabel(self): self.relabel_net = copy.deepcopy(self.net) self.relabel_net = self.relabel_net.to(self.device) def each_relabel(self): pass def validate(self): vit = iter(self.validate_data) vinputs, vlabels = next(vit).values() vinputs, vlabels = vinputs.to(device), vlabels.to(device) if self.relabel_net != None: vlabels = self.relabel_net(vinputs) voutputs = self.net(vinputs) vloss_val = self.loss(voutputs, vlabels) self.validation_loss = vloss_val.item() def train(self): for epoch_id in range(max_epochs): self.epoch_id = epoch_id validation_loss = None for data in self.train_data: input, label = data.values() if self.relabel_net != None: label = self.relabel_net(input) self.step(input, label) self.validate() self.each_step() self.step_id += 1 if (self.epoch_id + 1) % self.relabel_steps: self.relabel() self.each_relabel() self.schedule_step() self.each_epoch() class LabelSpillTraining(BasicTraining): """Relabelling training process using a class-wise spill matrix. Arguments: net (Module) : a trainable network module. train_data (DataLoader) : a :class:`DataLoader` returning the training data set. validate_data (DataLoader) : a :class:`DataLoader` return ing the validation data set. optimizer (Optimizer) : an optimizer for the network. Defaults to ADAM. schedule (Schedule) : a learning rate schedule. Defaults to decay when stagnated. max_epochs (int) : the maximum number of epochs to train. device (str) : the device to run on. checkpoint_path (str) : the path to save network checkpoints. relabel_steps (int) : number of steps after which the labels are recomputed. """ def __init__(self, net, train_data, validate_data, optimizer=torch.optim.Adam(), relabel_data=None, schedule=None, max_epochs=10000, device=None, checkpoint_path="checkpoint.torch", relabel_steps=2): super(LabelSpillTraining, self).__init__( net, train_data, validate_data, optimizer=optimizer, schedule=schedule, max_epochs=max_epochs, device=device, checkpoint_path=checkpoint_path ) self.relabel_data = relabel_data self.classes = len(relabel_data) self.label_spill_matrix = torch.eye(self.classes) self.relabel_steps = relabel_steps def relabel(self): for idx, data in enumerate(iter(self.relabel_data)): input, _ = data.values() input = input.to(self.device) predictions = self.net(input).sum(dim=0) predictions /= input.size()[0] self.label_spill_matrix[idx, :] = predictions[:].squeeze() def each_relabel(self): pass def validate(self): vit = iter(self.validate_data) vinputs, vlabels = next(vit).values() vinputs, vlabels = vinputs.to(device), vlabels.to(device) if self.relabel_net != None: vlabels = self.label_spill_matrix.dot(vlabels) voutputs = self.net(vinputs) vloss_val = self.loss(voutputs, vlabels) self.validation_loss = vloss_val.item() def train(self): for epoch_id in range(max_epochs): self.epoch_id = epoch_id validation_loss = None for data in self.train_data: input, label = data.values() if self.relabel_net != None: label = self.label_spill_matrix.dot(label) self.step(input, label) self.validate() self.each_step() self.step_id += 1 if (self.epoch_id + 1) % self.relabel_steps: self.relabel() self.each_relabel() self.schedule_step() self.each_epoch()
35.258065
75
0.639524
660
5,465
5.125758
0.172727
0.058528
0.041383
0.026604
0.787467
0.776234
0.776234
0.776234
0.751404
0.751404
0
0.004503
0.268618
5,465
155
76
35.258065
0.841881
0.286002
0
0.745455
0
0
0.008355
0
0
0
0
0
0
1
0.090909
false
0.018182
0.045455
0
0.154545
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
73c37a24b1827513205e04223ac5d7f1a7bd2845
167
py
Python
src/visual/headers.py
nikhilkuria/andOne
276002171902f7ffabd13532264e6bf48394dee3
[ "Apache-2.0" ]
null
null
null
src/visual/headers.py
nikhilkuria/andOne
276002171902f7ffabd13532264e6bf48394dee3
[ "Apache-2.0" ]
13
2018-09-11T04:45:56.000Z
2018-09-29T04:38:16.000Z
src/visual/headers.py
nikhilkuria/pynba
276002171902f7ffabd13532264e6bf48394dee3
[ "Apache-2.0" ]
null
null
null
def build_padded_header(title:str) -> str: return "*** {title} ***".format(title=title) def build_upper_header(title:str) -> str: return title.upper()
18.555556
52
0.646707
22
167
4.727273
0.409091
0.153846
0.269231
0.326923
0.538462
0.538462
0
0
0
0
0
0
0.179641
167
8
53
20.875
0.759124
0
0
0
0
0
0.115152
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
6
73f6d2f708dffcd4e0dcb5816c5b742e052c3ff6
14,637
py
Python
tests/test_compartmentdefinition.py
glichtner/fhir.resources
94896d8f8a0b7dd69253762aab968f4fd6eb69a0
[ "BSD-3-Clause" ]
null
null
null
tests/test_compartmentdefinition.py
glichtner/fhir.resources
94896d8f8a0b7dd69253762aab968f4fd6eb69a0
[ "BSD-3-Clause" ]
null
null
null
tests/test_compartmentdefinition.py
glichtner/fhir.resources
94896d8f8a0b7dd69253762aab968f4fd6eb69a0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition Release: R5 Version: 4.5.0 Build ID: 0d95498 Last updated: 2021-04-03T00:34:11.075+00:00 """ from pydantic.validators import bytes_validator # noqa: F401 from fhir.resources import fhirtypes # noqa: F401 from fhir.resources import compartmentdefinition def impl_compartmentdefinition_1(inst): assert inst.code == "Device" assert inst.contact[0].name == "[string]" assert inst.contact[0].telecom[0].system == "url" assert inst.contact[0].telecom[0].value == "http://hl7.org/fhir" assert inst.date == fhirtypes.DateTime.validate("2017-02-24") assert inst.description == ( "The set of resources associated with a particular Device " "(example with Communication and CommunicationRequest " "resourses only)." ) assert inst.experimental is True assert inst.id == "example" assert inst.name == "EXAMPLE" assert inst.publisher == "Health Level Seven International (FHIR Infrastructure)" assert inst.purpose == ( "Provides an example of a FHIR compartment definition based " "on the Device resource type." ) assert inst.resource[0].code == "Communication" assert ( inst.resource[0].documentation == "The device used as the message sender and recipient" ) assert inst.resource[0].param[0] == "sender" assert inst.resource[0].param[1] == "recipient" assert inst.resource[1].code == "CommunicationRequest" assert ( inst.resource[1].documentation == "The device used as the message sender and recipient" ) assert inst.resource[1].param[0] == "sender" assert inst.resource[1].param[1] == "recipient" assert inst.search is True assert inst.status == "draft" assert inst.text.status == "generated" assert inst.url == "http://hl7.org/fhir/CompartmentDefinition/example" assert inst.useContext[0].code.code == "focus" assert ( inst.useContext[0].code.system == "http://terminology.hl7.org/CodeSystem/usage-context-type" ) assert inst.useContext[0].valueCodeableConcept.coding[0].code == "Device" assert ( inst.useContext[0].valueCodeableConcept.coding[0].system == "http://hl7.org/fhir/resource-types" ) def test_compartmentdefinition_1(base_settings): """No. 1 tests collection for CompartmentDefinition. Test File: compartmentdefinition-example.json """ filename = base_settings["unittest_data_dir"] / "compartmentdefinition-example.json" inst = compartmentdefinition.CompartmentDefinition.parse_file( filename, content_type="application/json", encoding="utf-8" ) assert "CompartmentDefinition" == inst.resource_type impl_compartmentdefinition_1(inst) # testing reverse by generating data from itself and create again. data = inst.dict() assert "CompartmentDefinition" == data["resourceType"] inst2 = compartmentdefinition.CompartmentDefinition(**data) impl_compartmentdefinition_1(inst2) def impl_compartmentdefinition_2(inst): assert inst.code == "RelatedPerson" assert inst.contact[0].telecom[0].system == "url" assert inst.contact[0].telecom[0].value == "http://hl7.org/fhir" assert inst.date == fhirtypes.DateTime.validate("2021-04-03T00:34:11+00:00") assert inst.experimental is True assert inst.id == "relatedPerson" assert inst.name == "Base FHIR compartment definition for RelatedPerson" assert inst.publisher == "FHIR Project Team" assert inst.resource[0].code == "Account" assert inst.resource[1].code == "ActivityDefinition" assert inst.resource[2].code == "AdministrableProductDefinition" assert inst.resource[3].code == "AdverseEvent" assert inst.resource[3].param[0] == "recorder" assert inst.resource[4].code == "AllergyIntolerance" assert inst.resource[4].param[0] == "asserter" assert inst.resource[5].code == "Appointment" assert inst.resource[5].param[0] == "actor" assert inst.resource[6].code == "AppointmentResponse" assert inst.resource[6].param[0] == "actor" assert inst.resource[7].code == "AuditEvent" assert inst.resource[8].code == "Basic" assert inst.resource[8].param[0] == "author" assert inst.resource[9].code == "Binary" assert inst.search is True assert inst.status == "draft" assert inst.text.status == "extensions" assert inst.url == "http://hl7.org/fhir/CompartmentDefinition/relatedPerson" assert inst.version == "4.5.0" def test_compartmentdefinition_2(base_settings): """No. 2 tests collection for CompartmentDefinition. Test File: compartmentdefinition-relatedperson.json """ filename = ( base_settings["unittest_data_dir"] / "compartmentdefinition-relatedperson.json" ) inst = compartmentdefinition.CompartmentDefinition.parse_file( filename, content_type="application/json", encoding="utf-8" ) assert "CompartmentDefinition" == inst.resource_type impl_compartmentdefinition_2(inst) # testing reverse by generating data from itself and create again. data = inst.dict() assert "CompartmentDefinition" == data["resourceType"] inst2 = compartmentdefinition.CompartmentDefinition(**data) impl_compartmentdefinition_2(inst2) def impl_compartmentdefinition_3(inst): assert inst.code == "Encounter" assert inst.contact[0].telecom[0].system == "url" assert inst.contact[0].telecom[0].value == "http://hl7.org/fhir" assert inst.date == fhirtypes.DateTime.validate("2021-04-03T00:34:11+00:00") assert inst.experimental is True assert inst.id == "encounter" assert inst.name == "Base FHIR compartment definition for Encounter" assert inst.publisher == "FHIR Project Team" assert inst.resource[0].code == "Account" assert inst.resource[1].code == "ActivityDefinition" assert inst.resource[2].code == "AdministrableProductDefinition" assert inst.resource[3].code == "AdverseEvent" assert inst.resource[4].code == "AllergyIntolerance" assert inst.resource[5].code == "Appointment" assert inst.resource[6].code == "AppointmentResponse" assert inst.resource[7].code == "AuditEvent" assert inst.resource[8].code == "Basic" assert inst.resource[9].code == "Binary" assert inst.search is True assert inst.status == "draft" assert inst.text.status == "extensions" assert inst.url == "http://hl7.org/fhir/CompartmentDefinition/encounter" assert inst.version == "4.5.0" def test_compartmentdefinition_3(base_settings): """No. 3 tests collection for CompartmentDefinition. Test File: compartmentdefinition-encounter.json """ filename = ( base_settings["unittest_data_dir"] / "compartmentdefinition-encounter.json" ) inst = compartmentdefinition.CompartmentDefinition.parse_file( filename, content_type="application/json", encoding="utf-8" ) assert "CompartmentDefinition" == inst.resource_type impl_compartmentdefinition_3(inst) # testing reverse by generating data from itself and create again. data = inst.dict() assert "CompartmentDefinition" == data["resourceType"] inst2 = compartmentdefinition.CompartmentDefinition(**data) impl_compartmentdefinition_3(inst2) def impl_compartmentdefinition_4(inst): assert inst.code == "Patient" assert inst.contact[0].telecom[0].system == "url" assert inst.contact[0].telecom[0].value == "http://hl7.org/fhir" assert inst.date == fhirtypes.DateTime.validate("2021-04-03T00:34:11+00:00") assert inst.experimental is True assert inst.id == "patient" assert inst.name == "Base FHIR compartment definition for Patient" assert inst.publisher == "FHIR Project Team" assert inst.resource[0].code == "Account" assert inst.resource[0].param[0] == "subject" assert inst.resource[1].code == "ActivityDefinition" assert inst.resource[2].code == "AdministrableProductDefinition" assert inst.resource[3].code == "AdverseEvent" assert inst.resource[3].param[0] == "subject" assert inst.resource[4].code == "AllergyIntolerance" assert inst.resource[4].param[0] == "patient" assert inst.resource[4].param[1] == "recorder" assert inst.resource[4].param[2] == "asserter" assert inst.resource[5].code == "Appointment" assert inst.resource[5].param[0] == "actor" assert inst.resource[6].code == "AppointmentResponse" assert inst.resource[6].param[0] == "actor" assert inst.resource[7].code == "AuditEvent" assert inst.resource[7].param[0] == "patient" assert inst.resource[8].code == "Basic" assert inst.resource[8].param[0] == "patient" assert inst.resource[8].param[1] == "author" assert inst.resource[9].code == "Binary" assert inst.search is True assert inst.status == "draft" assert inst.text.status == "extensions" assert inst.url == "http://hl7.org/fhir/CompartmentDefinition/patient" assert inst.version == "4.5.0" def test_compartmentdefinition_4(base_settings): """No. 4 tests collection for CompartmentDefinition. Test File: compartmentdefinition-patient.json """ filename = base_settings["unittest_data_dir"] / "compartmentdefinition-patient.json" inst = compartmentdefinition.CompartmentDefinition.parse_file( filename, content_type="application/json", encoding="utf-8" ) assert "CompartmentDefinition" == inst.resource_type impl_compartmentdefinition_4(inst) # testing reverse by generating data from itself and create again. data = inst.dict() assert "CompartmentDefinition" == data["resourceType"] inst2 = compartmentdefinition.CompartmentDefinition(**data) impl_compartmentdefinition_4(inst2) def impl_compartmentdefinition_5(inst): assert inst.code == "Device" assert inst.contact[0].telecom[0].system == "url" assert inst.contact[0].telecom[0].value == "http://hl7.org/fhir" assert inst.date == fhirtypes.DateTime.validate("2021-04-03T00:34:11+00:00") assert inst.description == ( "There is an instance of the device compartment for each " "Device resource, and the identity of the compartment is the " "same as the Device. The set of resources associated with a " "particular device" ) assert inst.experimental is True assert inst.id == "device" assert inst.name == "Base FHIR compartment definition for Device" assert inst.publisher == "FHIR Project Team" assert inst.resource[0].code == "Account" assert inst.resource[0].param[0] == "subject" assert inst.resource[1].code == "ActivityDefinition" assert inst.resource[2].code == "AdministrableProductDefinition" assert inst.resource[3].code == "AdverseEvent" assert inst.resource[4].code == "AllergyIntolerance" assert inst.resource[5].code == "Appointment" assert inst.resource[5].param[0] == "actor" assert inst.resource[6].code == "AppointmentResponse" assert inst.resource[6].param[0] == "actor" assert inst.resource[7].code == "AuditEvent" assert inst.resource[7].param[0] == "agent" assert inst.resource[8].code == "Basic" assert inst.resource[9].code == "Binary" assert inst.search is True assert inst.status == "draft" assert inst.text.status == "extensions" assert inst.url == "http://hl7.org/fhir/CompartmentDefinition/device" assert inst.version == "4.5.0" def test_compartmentdefinition_5(base_settings): """No. 5 tests collection for CompartmentDefinition. Test File: compartmentdefinition-device.json """ filename = base_settings["unittest_data_dir"] / "compartmentdefinition-device.json" inst = compartmentdefinition.CompartmentDefinition.parse_file( filename, content_type="application/json", encoding="utf-8" ) assert "CompartmentDefinition" == inst.resource_type impl_compartmentdefinition_5(inst) # testing reverse by generating data from itself and create again. data = inst.dict() assert "CompartmentDefinition" == data["resourceType"] inst2 = compartmentdefinition.CompartmentDefinition(**data) impl_compartmentdefinition_5(inst2) def impl_compartmentdefinition_6(inst): assert inst.code == "Practitioner" assert inst.contact[0].telecom[0].system == "url" assert inst.contact[0].telecom[0].value == "http://hl7.org/fhir" assert inst.date == fhirtypes.DateTime.validate("2021-04-03T00:34:11+00:00") assert inst.experimental is True assert inst.id == "practitioner" assert inst.name == "Base FHIR compartment definition for Practitioner" assert inst.publisher == "FHIR Project Team" assert inst.resource[0].code == "Account" assert inst.resource[0].param[0] == "subject" assert inst.resource[1].code == "ActivityDefinition" assert inst.resource[2].code == "AdministrableProductDefinition" assert inst.resource[3].code == "AdverseEvent" assert inst.resource[3].param[0] == "recorder" assert inst.resource[4].code == "AllergyIntolerance" assert inst.resource[4].param[0] == "recorder" assert inst.resource[4].param[1] == "asserter" assert inst.resource[5].code == "Appointment" assert inst.resource[5].param[0] == "actor" assert inst.resource[6].code == "AppointmentResponse" assert inst.resource[6].param[0] == "actor" assert inst.resource[7].code == "AuditEvent" assert inst.resource[7].param[0] == "agent" assert inst.resource[8].code == "Basic" assert inst.resource[8].param[0] == "author" assert inst.resource[9].code == "Binary" assert inst.search is True assert inst.status == "draft" assert inst.text.status == "extensions" assert inst.url == "http://hl7.org/fhir/CompartmentDefinition/practitioner" assert inst.version == "4.5.0" def test_compartmentdefinition_6(base_settings): """No. 6 tests collection for CompartmentDefinition. Test File: compartmentdefinition-practitioner.json """ filename = ( base_settings["unittest_data_dir"] / "compartmentdefinition-practitioner.json" ) inst = compartmentdefinition.CompartmentDefinition.parse_file( filename, content_type="application/json", encoding="utf-8" ) assert "CompartmentDefinition" == inst.resource_type impl_compartmentdefinition_6(inst) # testing reverse by generating data from itself and create again. data = inst.dict() assert "CompartmentDefinition" == data["resourceType"] inst2 = compartmentdefinition.CompartmentDefinition(**data) impl_compartmentdefinition_6(inst2)
41.82
88
0.702945
1,718
14,637
5.935972
0.098952
0.166699
0.150029
0.019219
0.853501
0.83889
0.819278
0.763973
0.693567
0.651794
0
0.029648
0.168136
14,637
349
89
41.939828
0.807901
0.080754
0
0.603636
0
0
0.259978
0.055635
0
0
0
0
0.661818
1
0.043636
false
0
0.010909
0
0.054545
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
fb781e6d9975e12dbe0f1165bbb5d6ec79e0b698
91
py
Python
nn_project/__init__.py
nixwill/nn-project
12b586048f66f541721bb3b5a0e7eca7e33d70b3
[ "Unlicense" ]
null
null
null
nn_project/__init__.py
nixwill/nn-project
12b586048f66f541721bb3b5a0e7eca7e33d70b3
[ "Unlicense" ]
null
null
null
nn_project/__init__.py
nixwill/nn-project
12b586048f66f541721bb3b5a0e7eca7e33d70b3
[ "Unlicense" ]
null
null
null
from . import data, metrics, model, train __all__ = ['data', 'metrics', 'model', 'train']
22.75
47
0.648352
11
91
5
0.636364
0.4
0.581818
0.763636
0
0
0
0
0
0
0
0
0.153846
91
3
48
30.333333
0.714286
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
fb8ae6bcb8e6c31d770b1619ba62254e4cef8930
34
py
Python
examples/print/ex1.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
examples/print/ex1.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
examples/print/ex1.py
mcorne/python-by-example
15339c0909c84b51075587a6a66391100971c033
[ "MIT" ]
null
null
null
# print('Hello!') print('Hello!')
11.333333
17
0.588235
4
34
5
0.5
1
0
0
0
0
0
0
0
0
0
0
0.088235
34
2
18
17
0.645161
0.441176
0
0
0
0
0.352941
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
6
fbc8a9d10df28f9ffb6df565d9a9bd8e4d7fbfca
57
py
Python
karma/views/__init__.py
justinas/upkarma
bf032865d883ad14723538825d08dd2a819c9ee9
[ "MIT" ]
2
2020-06-22T16:32:11.000Z
2022-01-13T13:44:18.000Z
karma/views/__init__.py
justinas/upkarma
bf032865d883ad14723538825d08dd2a819c9ee9
[ "MIT" ]
2
2019-11-19T22:38:36.000Z
2019-12-17T11:30:57.000Z
karma/views/__init__.py
justinas/upkarma
bf032865d883ad14723538825d08dd2a819c9ee9
[ "MIT" ]
null
null
null
from .core import * from . import auth from . import api
14.25
19
0.719298
9
57
4.555556
0.555556
0.487805
0
0
0
0
0
0
0
0
0
0
0.210526
57
3
20
19
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
83849561eb90d70d9f0325be0bb608c228f578fe
142
py
Python
projects/views.py
taylor-curran/taylorcurran-website
481404f8d7919a74147d92d15c01bf1efcfa03ae
[ "MIT" ]
null
null
null
projects/views.py
taylor-curran/taylorcurran-website
481404f8d7919a74147d92d15c01bf1efcfa03ae
[ "MIT" ]
null
null
null
projects/views.py
taylor-curran/taylorcurran-website
481404f8d7919a74147d92d15c01bf1efcfa03ae
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. def project_list(request): return render(request, 'projects/index.html')
17.75
49
0.760563
19
142
5.631579
0.894737
0
0
0
0
0
0
0
0
0
0
0
0.147887
142
7
50
20.285714
0.884298
0.161972
0
0
0
0
0.163793
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
8392ea7b547c0950eca8d87e25801818d61d83f3
131
py
Python
stalkreporter/forecast_chart/__init__.py
peake100/stalkreports-py
4da5d11cd7dc27523c29948386ffc3da90b7588a
[ "MIT" ]
null
null
null
stalkreporter/forecast_chart/__init__.py
peake100/stalkreports-py
4da5d11cd7dc27523c29948386ffc3da90b7588a
[ "MIT" ]
null
null
null
stalkreporter/forecast_chart/__init__.py
peake100/stalkreports-py
4da5d11cd7dc27523c29948386ffc3da90b7588a
[ "MIT" ]
null
null
null
from ._chart_forecast import create_forecast_chart from ._options import ForecastOptions (create_forecast_chart, ForecastOptions)
26.2
50
0.877863
15
131
7.2
0.466667
0.259259
0.351852
0
0
0
0
0
0
0
0
0
0.083969
131
4
51
32.75
0.9
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
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
0
0
0
6
83afe6ae9f8c26b6452a2da01ed627d7102d2a92
16,174
py
Python
src/utils/create_ds.py
yogeshhk/MidcurveNN
98e11abdac1c6ab5c76e59dcbdd9ce8c08549a67
[ "MIT" ]
22
2019-06-08T03:25:06.000Z
2022-01-15T19:35:38.000Z
src/utils/create_ds.py
yogeshhk/MidcurveNN
98e11abdac1c6ab5c76e59dcbdd9ce8c08549a67
[ "MIT" ]
5
2019-10-06T08:10:24.000Z
2021-12-08T01:33:44.000Z
src/utils/create_ds.py
yogeshhk/MidcurveNN
98e11abdac1c6ab5c76e59dcbdd9ce8c08549a67
[ "MIT" ]
7
2019-07-06T05:16:32.000Z
2021-12-09T09:35:03.000Z
# -*- coding: utf-8 -*- """ Created on Sun Sep 29 12:36:52 2019 @author: prnvb """ import cv2 import numpy as np import imutils IMAGE_SHAPE = (256, 256) BG_COLOR = (255, 255, 255) # (0,0,0) FG_COLOR = (0, 0, 0) # (255,255,255) dtype = 'uint8' BASE_DIR = 'D:/dev/midcurve/MidcurveNN/reorg/' def draw_polygon(image, points, color, thickness): for i in range(len(points) - 1): p1 = points[i] p2 = points[i + 1] image = cv2.line(image, p1, p2, color, thickness, cv2.LINE_AA) return image def fill_rectangle(image, x1, y1, x2, y2, color): # x1,y1 -> top left corner # x2,y2 -> bottom right corner for y in range(y1, y2 + 1): image = cv2.line(image, (x1, y), (x2, y), color, 1, cv2.LINE_AA) return image def rotate(image, midcurve, roi, rotation): if rotation > 0: ''' image = imutils.rotate_bound(image,rotation) midcurve = imutils.rotate_bound(midcurve,rotation) roi = imutils.rotate_bound(roi,rotation) ''' M = cv2.getRotationMatrix2D((IMAGE_SHAPE[0] / 2, IMAGE_SHAPE[1] / 2), rotation, 1.0) image = cv2.warpAffine(image, M, (IMAGE_SHAPE[0], IMAGE_SHAPE[1]), borderMode=cv2.BORDER_CONSTANT, borderValue=BG_COLOR) midcurve = cv2.warpAffine(midcurve, M, (IMAGE_SHAPE[0], IMAGE_SHAPE[1]), borderMode=cv2.BORDER_CONSTANT, borderValue=BG_COLOR) roi = cv2.warpAffine(roi, M, (IMAGE_SHAPE[0], IMAGE_SHAPE[1]), borderMode=cv2.BORDER_CONSTANT, borderValue=BG_COLOR) return image, midcurve, roi def draw_T(image, midcurve, roi, x, y, width, height, length, color=(0, 0, 0), thickness=1): points = [] points.append((x, y)) # a points.append((x, y + width)) # b points.append((x + int((length - width) / 2), y + width)) # c points.append((x + int((length - width) / 2), y + height)) # d points.append((x + int((length - width) / 2) + width, y + height)) # e points.append((x + int((length - width) / 2) + width, y + width)) # f points.append((x + length, y + width)) # g points.append((x + length, y)) # h points.append((x, y)) # a image = draw_polygon(image, points, color, thickness) points = [] points.append((x, y + int(width / 2))) points.append((x + length, y + int(width / 2))) points.append((x + int(length / 2), y + int(width / 2))) points.append((x + int(length / 2), y + height)) midcurve = draw_polygon(midcurve, points, color, thickness) # ROI: roi = fill_rectangle(roi, x, y, x + length, y + width, color) roi = fill_rectangle(roi, x + int((length - width) / 2), y + width, x + int((length - width) / 2) + width, y + height, color) return image, midcurve, roi def draw_I(image, midcurve, roi, x, y, width, height, length, color=(0, 0, 0), thickness=1): points = [] points.append((x, y)) # a points.append((x, y + width)) # b points.append((x + int((length - width) / 2), y + width)) # c points.append((x + int((length - width) / 2), y + height - width)) # d points.append((x, y + height - width)) # e points.append((x, y + height)) # f points.append((x + length, y + height)) # g points.append((x + length, y + height - width)) # h points.append((x + length - int((length - width) / 2), y + height - width)) # i points.append((x + length - int((length - width) / 2), y + width)) # j points.append((x + length, y + width)) # k points.append((x + length, y)) # l points.append((x, y)) # a image = draw_polygon(image, points, color, thickness) points = [] points.append((x, y + int(width / 2))) points.append((x + length, y + int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) points = [] points.append((x + int(length / 2), y + int(width / 2))) points.append((x + int(length / 2), y + height - int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) points = [] points.append((x, y + height - int(width / 2))) points.append((x + length, y + height - int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) roi = fill_rectangle(roi, x, y, x + length, y + width, color) roi = fill_rectangle(roi, x + int((length - width) / 2), y + width, x + length - int((length - width) / 2), y + height - width, color) roi = fill_rectangle(roi, x, y + height - width, x + length, y + height, color) return image, midcurve, roi def draw_C(image, midcurve, roi, x, y, width, height, length, color=(0, 0, 0), thickness=1): points = [] points.append((x, y)) # a points.append((x, y + height)) # b points.append((x + length, y + height)) # c points.append((x + length, y + height - width)) # d points.append((x + width, y + height - width)) # e points.append((x + width, y + width)) # f points.append((x + length, y + width)) # g points.append((x + length, y)) # h points.append((x, y)) # a image = draw_polygon(image, points, color, thickness) points = [] points.append((x + length, y + int(width / 2))) points.append((x + int(width / 2), y + int(width / 2))) points.append((x + int(width / 2), y + height - int(width / 2))) points.append((x + length, y + height - int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) roi = fill_rectangle(roi, x, y, x + length, y + width, color) roi = fill_rectangle(roi, x, y + width, x + width, y + height - width, color) roi = fill_rectangle(roi, x, y + height - width, x + length, y + height, color) return image, midcurve, roi def draw_E(image, midcurve, roi, x, y, width, height, length, color=(0, 0, 0), thickness=1): height_2 = int((height - 3 * width) / 2) points = [] points.append((x, y)) # a points.append((x, y + height)) # b points.append((x + length, y + height)) # c points.append((x + length, y + height - width)) # d points.append((x + width, y + height - width)) # e points.append((x + width, y + height - width - height_2)) # f points.append((x + length, y + height - width - height_2)) # g points.append((x + length, y + height - 2 * width - height_2)) # h points.append((x + width, y + height - 2 * width - height_2)) # i points.append((x + width, y + width)) # j points.append((x + length, y + width)) # k points.append((x + length, y)) # l points.append((x, y)) # a image = draw_polygon(image, points, color, thickness) points = [] points.append((x + length, y + int(width / 2))) points.append((x + int(width / 2), y + int(width / 2))) points.append((x + int(width / 2), y + int(3 * width / 2) + height_2)) points.append((x + length, y + int(3 * width / 2) + height_2)) midcurve = draw_polygon(midcurve, points, color, thickness) points = [] points.append((x + int(width / 2), y + int(3 * width / 2) + height_2)) points.append((x + int(width / 2), y + height - int(width / 2))) points.append((x + length, y + height - int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) roi = fill_rectangle(roi, x, y, x + length, y + width, color) roi = fill_rectangle(roi, x, y + width, x + width, y + height - 2 * width - height_2, color) roi = fill_rectangle(roi, x, y + height - 2 * width - height_2, x + length, y + height - width - height_2, color) roi = fill_rectangle(roi, x, y + height - width - height_2, x + width, y + height - width, color) roi = fill_rectangle(roi, x, y + height - width, x + length, y + height, color) return image, midcurve, roi def draw_L(image, midcurve, roi, x, y, width, height, length, color=(0, 0, 0), thickness=1): points = [] points.append((x, y)) # a points.append((x, y + height)) # b points.append((x + length, y + height)) # c points.append((x + length, y + height - width)) # d points.append((x + width, y + height - width)) # e points.append((x + width, y)) # f points.append((x, y)) # a image = draw_polygon(image, points, color, thickness) points = [] points.append((x + int(width / 2), y)) points.append((x + int(width / 2), y + height - int(width / 2))) points.append((x + length, y + height - int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) roi = fill_rectangle(roi, x, y, x + width, y + height - width, color) roi = fill_rectangle(roi, x, y + height - width, x + length, y + height, color) return image, midcurve, roi def draw_F(image, midcurve, roi, x, y, width, height, length, color=(0, 0, 0), thickness=1): height_2 = int((height - 3 * width) / 2) points = [] points.append((x, y)) # a points.append((x, y + height)) # b points.append((x + width, y + height)) # c points.append((x + width, y + height - width - height_2)) # d points.append((x + length, y + height - width - height_2)) # e points.append((x + length, y + height - 2 * width - height_2)) # f points.append((x + width, y + height - 2 * width - height_2)) # g points.append((x + width, y + width)) # h points.append((x + length, y + width)) # i points.append((x + length, y)) # j points.append((x, y)) # k image = draw_polygon(image, points, color, thickness) points = [] points.append((x + length, y + int(width / 2))) points.append((x + int(width / 2), y + int(width / 2))) points.append((x + int(width / 2), y + int(3 * width / 2) + height_2)) points.append((x + length, y + int(3 * width / 2) + height_2)) midcurve = draw_polygon(midcurve, points, color, thickness) points = [] points.append((x + int(width / 2), y + int(3 * width / 2) + height_2)) points.append((x + int(width / 2), y + height - int(width / 2))) midcurve = draw_polygon(midcurve, points, color, thickness) roi = fill_rectangle(roi, x, y, x + length, y + width, color) roi = fill_rectangle(roi, x, y + width, x + width, y + height - 2 * width - height_2, color) roi = fill_rectangle(roi, x, y + height - 2 * width - height_2, x + length, y + height - width - height_2, color) roi = fill_rectangle(roi, x, y + height - width - height_2, x + width, y + height, color) return image, midcurve, roi def draw_D_curved(image, midcurve, roi, x, y, radius, width, color=(0, 0, 0), thickness=1): new_rad = radius + width new_width = width * 2 image = cv2.ellipse(image, center=(x, y), axes=(radius, radius), angle=0, startAngle=0, endAngle=180, color=color, thickness=thickness) image = cv2.ellipse(image, center=(x, y), axes=(radius + new_width, radius + new_width), angle=0, startAngle=0, endAngle=180, color=color, thickness=thickness) image = cv2.line(image, (x - radius, y), (x + radius, y), color, thickness, cv2.LINE_AA) image = cv2.line(image, (x - radius - new_width, y), (x - radius - new_width, y - new_width), color, thickness, cv2.LINE_AA) image = cv2.line(image, (x + radius + new_width, y), (x + radius + new_width, y - new_width), color, thickness, cv2.LINE_AA) image = cv2.line(image, (x - radius - new_width, y - new_width), (x + radius + new_width, y - new_width), color, thickness, cv2.LINE_AA) mid_rad = radius + int(new_width / 2) midcurve = cv2.ellipse(midcurve, center=(x, y), axes=(mid_rad, mid_rad), angle=0, startAngle=0, endAngle=180, color=color, thickness=thickness) midcurve = cv2.line(midcurve, (x - radius - width, y), (x - radius - width, y - width), color, thickness, cv2.LINE_AA) midcurve = cv2.line(midcurve, (x + radius + width, y), (x + radius + width, y - width), color, thickness, cv2.LINE_AA) midcurve = cv2.line(midcurve, (x - radius - width, y - width), (x + radius + width, y - width), color, thickness, cv2.LINE_AA) roi = cv2.ellipse(roi, center=(x, y), axes=(new_rad, new_rad), angle=0, startAngle=0, endAngle=180, color=color, thickness=new_width) roi = cv2.line(roi, (x - radius, y), (x + radius, y), color, thickness, cv2.LINE_AA) roi = cv2.line(roi, (x - radius - new_width, y), (x - radius - new_width, y - new_width), color, thickness, cv2.LINE_AA) roi = cv2.line(roi, (x + radius + new_width, y), (x + radius + new_width, y - new_width), color, thickness, cv2.LINE_AA) roi = cv2.line(roi, (x - radius - new_width, y - new_width), (x + radius + new_width, y - new_width), color, thickness, cv2.LINE_AA) roi = fill_rectangle(roi, x - radius - new_width, y - new_width, x + radius + new_width, y, color) return image, midcurve, roi def generate_random(count): lh_min = 80 lh_max = 150 for shape in shapes.keys(): draw = shapes[shape] for i in range(count): if BG_COLOR[0]: image = np.ones(IMAGE_SHAPE, dtype=dtype) * 255 midcurve = np.ones(IMAGE_SHAPE, dtype=dtype) * 255 roi = np.ones(IMAGE_SHAPE, dtype=dtype) * 255 else: image = np.zeros(IMAGE_SHAPE, dtype=dtype) midcurve = np.zeros(IMAGE_SHAPE, dtype=dtype) roi = np.zeros(IMAGE_SHAPE, dtype=dtype) length = np.random.randint(lh_min, lh_max) height = np.random.randint(lh_min, lh_max) width_min = 5 width_max = int(min(length, height) / 3) - 10 width = np.random.randint(width_min, width_max) rotation = np.random.randint(0, 360) x = 128 - int(length / 2) y = 128 - int(height / 2) # x = np.random.randint(20,256-length-10) # y = np.random.randint(20,256-height-10) image, midcurve, roi = draw(image, midcurve, roi, x, y, width, length, height, color=FG_COLOR, thickness=1) image, midcurve, roi = rotate(image, midcurve, roi, rotation) clubbed_image = np.append(image, midcurve, axis=1) clubbed_image = np.append(clubbed_image, roi, axis=1) cv2.imwrite(BASE_DIR + 'data/new/v2/' + shape + str(i) + '.png', clubbed_image) print(shape + str(i)) shapes = {} shapes['T'] = draw_T shapes['I'] = draw_I shapes['L'] = draw_L shapes['E'] = draw_E shapes['C'] = draw_C shapes['F'] = draw_F if __name__ == "__main__": generate_random(1000) ''' x=128 y=128 rad = 50 width=10 #im = np.ones(IMAGE_SHAPE,dtype=float) #im = cv2.addWeighted(midcurve, 0.5, image, 0.5, 0, im) cv2.imwrite('new_data/test.png', clubbed_image) im = cv2.imread('new_data/test.png', cv2.IMREAD_UNCHANGED) cv2.imshow('a',im) def draw_rect(image, midcurve, roi, x, y, width, height, length, rotation=0, color=(0,0,0), thickness=1, scale=False): points = [] points.append( (x,y) ) points.append( (x+length,y) ) points.append( (x+length,y+height) ) points.append( (x+length,y) ) points.append( (x,y) ) image = draw_polygon(image,points,color,thickness) points = [] points.append( (x,y) ) points.append( (x+length,y) ) points.append( (x+length,y+height) ) points.append( (x+length,y) ) points.append( (x,y) ) '''
39.067633
102
0.560035
2,235
16,174
3.97047
0.066667
0.137931
0.149425
0.087785
0.821726
0.797498
0.75648
0.724138
0.711517
0.670723
0
0.029684
0.285582
16,174
413
103
39.162228
0.738295
0.022196
0
0.596429
0
0
0.004648
0.002256
0
0
0
0
0
1
0.039286
false
0
0.010714
0
0.085714
0.003571
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f7b644d029f2afbdf6ac3ecf5f5dfb1eb2de2179
81
py
Python
proj1/x/dataframe/core/series.py
sandan/python_namespace_packages
2ae2715e4336681d1f19270a44825c1d7070d761
[ "MIT" ]
null
null
null
proj1/x/dataframe/core/series.py
sandan/python_namespace_packages
2ae2715e4336681d1f19270a44825c1d7070d761
[ "MIT" ]
null
null
null
proj1/x/dataframe/core/series.py
sandan/python_namespace_packages
2ae2715e4336681d1f19270a44825c1d7070d761
[ "MIT" ]
null
null
null
from teradata.dataframe.core.dataframe import Frame class Series(Frame): pass
16.2
51
0.802469
11
81
5.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.123457
81
4
52
20.25
0.915493
0
0
0
0
0
0
0
0
0
0
0
0
1
0
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
0
1
1
1
0
1
0
0
6
f7c2e59504bca971a2ff1316de65de0c70773e55
50
py
Python
catamount/tensors/__init__.py
jthestness/catamount
9de3090f1a02a04774f28a0d10f677a76f50446f
[ "Apache-2.0" ]
13
2018-12-18T04:09:22.000Z
2020-08-17T22:51:25.000Z
dl_modifier/tensors/__init__.py
nikkkkhil/dl_modifier
d9c3f7c31db54e51aa5fa2bca2688f337a7f318f
[ "Apache-2.0" ]
6
2018-12-20T00:21:00.000Z
2019-08-01T02:01:12.000Z
catamount/tensors/__init__.py
jthestness/catamount
9de3090f1a02a04774f28a0d10f677a76f50446f
[ "Apache-2.0" ]
4
2018-11-23T19:14:25.000Z
2019-10-28T07:53:03.000Z
from .tensor_shape import * from .tensor import *
16.666667
27
0.76
7
50
5.285714
0.571429
0.540541
0
0
0
0
0
0
0
0
0
0
0.16
50
2
28
25
0.880952
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
f7c4661759c47691722f646f0cf909fbc2375a72
4,018
py
Python
bitbucket/issue_comment.py
mattthias/BitBucket-api
be45515d506d87f14807a676f3c2f20d79674b75
[ "ISC" ]
null
null
null
bitbucket/issue_comment.py
mattthias/BitBucket-api
be45515d506d87f14807a676f3c2f20d79674b75
[ "ISC" ]
null
null
null
bitbucket/issue_comment.py
mattthias/BitBucket-api
be45515d506d87f14807a676f3c2f20d79674b75
[ "ISC" ]
null
null
null
# -*- coding: utf-8 -*- URLS = { # Issue comments 'GET_COMMENTS': 'repositories/%(username)s/%(repo_slug)s/issues/%(issue_id)s/comments/', 'GET_COMMENT': 'repositories/%(username)s/%(repo_slug)s/issues/%(issue_id)s/comments/%(comment_id)s/', 'CREATE_COMMENT': 'repositories/%(username)s/%(repo_slug)s/issues/%(issue_id)s/comments/', 'UPDATE_COMMENT': 'repositories/%(username)s/%(repo_slug)s/issues/%(issue_id)s/comments/%(comment_id)s/', 'DELETE_COMMENT': 'repositories/%(username)s/%(repo_slug)s/issues/%(issue_id)s/comments/%(comment_id)s/', } class IssueComment(object): """ This class provide issue's comments related methods to Bitbucket objects.""" def __init__(self, issue): self.issue = issue self.bitbucket = self.issue.bitbucket self.bitbucket.URLS.update(URLS) self.issue_id = issue.issue_id def all(self, issue_id=None, repo_slug=None): """ Get issue comments from one of your repositories. """ issue_id = issue_id or self.issue_id repo_slug = repo_slug or self.bitbucket.repo_slug or '' url = self.bitbucket.url('GET_COMMENTS', username=self.bitbucket.username, repo_slug=repo_slug, issue_id=issue_id) return self.bitbucket.dispatch('GET', url, auth=self.bitbucket.auth) def get(self, comment_id, issue_id=None, repo_slug=None): """ Get an issue from one of your repositories. """ issue_id = issue_id or self.issue_id repo_slug = repo_slug or self.bitbucket.repo_slug or '' url = self.bitbucket.url('GET_COMMENT', username=self.bitbucket.username, repo_slug=repo_slug, issue_id=issue_id, comment_id=comment_id) return self.bitbucket.dispatch('GET', url, auth=self.bitbucket.auth) def create(self, issue_id=None, repo_slug=None, **kwargs): """ Add an issue comment to one of your repositories. Each issue comment require only the content data field the system autopopulate the rest. """ issue_id = issue_id or self.issue_id repo_slug = repo_slug or self.bitbucket.repo_slug or '' url = self.bitbucket.url('CREATE_COMMENT', username=self.bitbucket.username, repo_slug=repo_slug, issue_id=issue_id) return self.bitbucket.dispatch('POST', url, auth=self.bitbucket.auth, **kwargs) def update(self, comment_id, issue_id=None, repo_slug=None, **kwargs): """ Update an issue comment in one of your repositories. Each issue comment require only the content data field the system autopopulate the rest. """ issue_id = issue_id or self.issue_id repo_slug = repo_slug or self.bitbucket.repo_slug or '' url = self.bitbucket.url('UPDATE_COMMENT', username=self.bitbucket.username, repo_slug=repo_slug, issue_id=issue_id, comment_id=comment_id) return self.bitbucket.dispatch('PUT', url, auth=self.bitbucket.auth, **kwargs) def delete(self, comment_id, issue_id=None, repo_slug=None): """ Delete an issue from one of your repositories. """ issue_id = issue_id or self.issue_id repo_slug = repo_slug or self.bitbucket.repo_slug or '' url = self.bitbucket.url('DELETE_COMMENT', username=self.bitbucket.username, repo_slug=repo_slug, issue_id=issue_id, comment_id=comment_id) return self.bitbucket.dispatch('DELETE', url, auth=self.bitbucket.auth)
49
109
0.587108
484
4,018
4.671488
0.119835
0.114551
0.051747
0.06192
0.83149
0.820876
0.820876
0.759841
0.759841
0.712074
0
0.00036
0.309109
4,018
81
110
49.604938
0.814121
0.139373
0
0.535714
0
0.053571
0.160704
0.116279
0
0
0
0
0
1
0.107143
false
0
0
0
0.214286
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f7c8569a20d9d224c3e631dbc27aa77fcbab1fc0
96
py
Python
venv/lib/python3.8/site-packages/jedi/inference/value/module.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/jedi/inference/value/module.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/jedi/inference/value/module.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/82/0f/9e/386248a4aa71542a69d83b23143759c4b99e6a2185fb92ee6dfc70f04c
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.447917
0
96
1
96
96
0.447917
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
79052d2fe5882f5571d528bdb9d490248fe0dc67
91,819
py
Python
prenlp/data/normalizer.py
awesome-archive/prenlp
e65acc8464b391d72d0ee086368b153c81ea19de
[ "Apache-2.0" ]
null
null
null
prenlp/data/normalizer.py
awesome-archive/prenlp
e65acc8464b391d72d0ee086368b153c81ea19de
[ "Apache-2.0" ]
null
null
null
prenlp/data/normalizer.py
awesome-archive/prenlp
e65acc8464b391d72d0ee086368b153c81ea19de
[ "Apache-2.0" ]
null
null
null
import re class Normalizer: """Normalizer return the text replaced with 'repl'. If 'repl' is None, normalization is not applied to the pattern corresponding to 'repl'. Args: url_repl (str): replace all urls in text with this tag_repl (str): replace all tags in text with this emoji_repl (str): replace all emojis in text with this email_repl (str): replace all emails in text with this tel_repl (str): replace all tels in text with this """ def __init__(self, url_repl='[URL]', tag_repl='[TAG]', emoji_repl='[EMOJI]', email_repl='[EMAIL]', tel_repl='[TEL]'): # repls self.url_repl = url_repl self.tag_repl = tag_repl self.emoji_repl = emoji_repl self.email_repl = email_repl self.tel_repl = tel_repl self._normalize = [] self._init_normalize() def normalize(self, text: str) -> str: """Normalize text. Args: text (str): text to be normalized """ for normalize_fn, repl in self._normalize: text = normalize_fn(text, repl) return text def _init_normalize(self) -> None: """Initialize normalize function. If 'repl' is None, normalization is not applied to the pattern corresponding to 'repl'. """ if self.url_repl is not None: self._normalize.append((self._url_normalize, self.url_repl)) if self.tag_repl is not None: self._normalize.append((self._tag_normalize, self.tag_repl)) if self.emoji_repl is not None: self._normalize.append((self._emoji_normalize, self.emoji_repl)) if self.email_repl is not None: self._normalize.append((self._email_normalize, self.email_repl)) if self.tel_repl is not None: self._normalize.append((self._tel_normalize, self.tel_repl)) def _url_normalize(self, text: str, repl: str, regex=re.compile(r'(https?|ftp|www)\S+')) -> str: """Return the string obtained by replacing all urls in 'text' by the replacement 'repl'. Args: text (str): text to be replaced repl (str): replace all urls in text with 'repl' """ text = regex.sub(repl, text) return text def _tag_normalize(self, text: str, repl: str, regex=re.compile(r'<[^>]*>')) -> str: """Return the string obtained by replacing all HTML tags in 'text' by the replacement 'repl'. Args: text (str): text to be replaced repl (str): replace all HTML tags in text with 'repl' """ text = regex.sub(repl, text) return text def _emoji_normalize(self, text: str, repl: str, regex=re.compile(r'\U0001f469\u200d\u2764\ufe0f\u200d\U0001f48b\u200d\U0001f468|\U0001f468\u200d\u2764\ufe0f\u200d\U0001f48b\u200d\U0001f468|\U0001f469\u200d\u2764\ufe0f\u200d\U0001f48b\u200d\U0001f469|\U0001f9d1\U0001f3fb\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fc\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fc\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fd\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fd\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fd\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fd|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fd|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fe|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fd|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fe|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3ff|\U0001f469\U0001f3fc\u200d\U0001f91d\u200d\U0001f469\U0001f3fb|\U0001f469\U0001f3fd\u200d\U0001f91d\u200d\U0001f469\U0001f3fb|\U0001f469\U0001f3fd\u200d\U0001f91d\u200d\U0001f469\U0001f3fc|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f469\U0001f3fb|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f469\U0001f3fc|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f469\U0001f3fd|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f469\U0001f3fb|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f469\U0001f3fc|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f469\U0001f3fd|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f469\U0001f3fe|\U0001f469\U0001f3fb\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f469\U0001f3fb\u200d\U0001f91d\u200d\U0001f468\U0001f3fd|\U0001f469\U0001f3fb\u200d\U0001f91d\u200d\U0001f468\U0001f3fe|\U0001f469\U0001f3fb\u200d\U0001f91d\u200d\U0001f468\U0001f3ff|\U0001f469\U0001f3fc\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f469\U0001f3fc\u200d\U0001f91d\u200d\U0001f468\U0001f3fd|\U0001f469\U0001f3fc\u200d\U0001f91d\u200d\U0001f468\U0001f3fe|\U0001f469\U0001f3fc\u200d\U0001f91d\u200d\U0001f468\U0001f3ff|\U0001f469\U0001f3fd\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f469\U0001f3fd\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f469\U0001f3fd\u200d\U0001f91d\u200d\U0001f468\U0001f3fe|\U0001f469\U0001f3fd\u200d\U0001f91d\u200d\U0001f468\U0001f3ff|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3fd|\U0001f469\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3ff|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fd|\U0001f469\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fe|\U0001f468\U0001f3fc\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f468\U0001f3fd\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f468\U0001f3fd\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f468\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f468\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f468\U0001f3fe\u200d\U0001f91d\u200d\U0001f468\U0001f3fd|\U0001f468\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fb|\U0001f468\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fc|\U0001f468\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fd|\U0001f468\U0001f3ff\u200d\U0001f91d\u200d\U0001f468\U0001f3fe|\U0001f469\u200d\u2764\u200d\U0001f48b\u200d\U0001f468|\U0001f468\u200d\u2764\u200d\U0001f48b\u200d\U0001f468|\U0001f469\u200d\u2764\u200d\U0001f48b\u200d\U0001f469|\U0001f468\u200d\U0001f469\u200d\U0001f467\u200d\U0001f466|\U0001f468\u200d\U0001f469\u200d\U0001f466\u200d\U0001f466|\U0001f468\u200d\U0001f469\u200d\U0001f467\u200d\U0001f467|\U0001f468\u200d\U0001f468\u200d\U0001f467\u200d\U0001f466|\U0001f468\u200d\U0001f468\u200d\U0001f466\u200d\U0001f466|\U0001f468\u200d\U0001f468\u200d\U0001f467\u200d\U0001f467|\U0001f469\u200d\U0001f469\u200d\U0001f467\u200d\U0001f466|\U0001f469\u200d\U0001f469\u200d\U0001f466\u200d\U0001f466|\U0001f469\u200d\U0001f469\u200d\U0001f467\u200d\U0001f467|\U0001f3f4\U000e0067\U000e0062\U000e0065\U000e006e\U000e0067\U000e007f|\U0001f3f4\U000e0067\U000e0062\U000e0073\U000e0063\U000e0074\U000e007f|\U0001f3f4\U000e0067\U000e0062\U000e0077\U000e006c\U000e0073\U000e007f|\U0001f469\u200d\u2764\ufe0f\u200d\U0001f468|\U0001f468\u200d\u2764\ufe0f\u200d\U0001f468|\U0001f469\u200d\u2764\ufe0f\u200d\U0001f469|\U0001f441\ufe0f\u200d\U0001f5e8\ufe0f|\U0001f471\U0001f3fb\u200d\u2642\ufe0f|\U0001f471\U0001f3fc\u200d\u2642\ufe0f|\U0001f471\U0001f3fd\u200d\u2642\ufe0f|\U0001f471\U0001f3fe\u200d\u2642\ufe0f|\U0001f471\U0001f3ff\u200d\u2642\ufe0f|\U0001f471\U0001f3fb\u200d\u2640\ufe0f|\U0001f471\U0001f3fc\u200d\u2640\ufe0f|\U0001f471\U0001f3fd\u200d\u2640\ufe0f|\U0001f471\U0001f3fe\u200d\u2640\ufe0f|\U0001f471\U0001f3ff\u200d\u2640\ufe0f|\U0001f64d\U0001f3fb\u200d\u2642\ufe0f|\U0001f64d\U0001f3fc\u200d\u2642\ufe0f|\U0001f64d\U0001f3fd\u200d\u2642\ufe0f|\U0001f64d\U0001f3fe\u200d\u2642\ufe0f|\U0001f64d\U0001f3ff\u200d\u2642\ufe0f|\U0001f64d\U0001f3fb\u200d\u2640\ufe0f|\U0001f64d\U0001f3fc\u200d\u2640\ufe0f|\U0001f64d\U0001f3fd\u200d\u2640\ufe0f|\U0001f64d\U0001f3fe\u200d\u2640\ufe0f|\U0001f64d\U0001f3ff\u200d\u2640\ufe0f|\U0001f64e\U0001f3fb\u200d\u2642\ufe0f|\U0001f64e\U0001f3fc\u200d\u2642\ufe0f|\U0001f64e\U0001f3fd\u200d\u2642\ufe0f|\U0001f64e\U0001f3fe\u200d\u2642\ufe0f|\U0001f64e\U0001f3ff\u200d\u2642\ufe0f|\U0001f64e\U0001f3fb\u200d\u2640\ufe0f|\U0001f64e\U0001f3fc\u200d\u2640\ufe0f|\U0001f64e\U0001f3fd\u200d\u2640\ufe0f|\U0001f64e\U0001f3fe\u200d\u2640\ufe0f|\U0001f64e\U0001f3ff\u200d\u2640\ufe0f|\U0001f645\U0001f3fb\u200d\u2642\ufe0f|\U0001f645\U0001f3fc\u200d\u2642\ufe0f|\U0001f645\U0001f3fd\u200d\u2642\ufe0f|\U0001f645\U0001f3fe\u200d\u2642\ufe0f|\U0001f645\U0001f3ff\u200d\u2642\ufe0f|\U0001f645\U0001f3fb\u200d\u2640\ufe0f|\U0001f645\U0001f3fc\u200d\u2640\ufe0f|\U0001f645\U0001f3fd\u200d\u2640\ufe0f|\U0001f645\U0001f3fe\u200d\u2640\ufe0f|\U0001f645\U0001f3ff\u200d\u2640\ufe0f|\U0001f646\U0001f3fb\u200d\u2642\ufe0f|\U0001f646\U0001f3fc\u200d\u2642\ufe0f|\U0001f646\U0001f3fd\u200d\u2642\ufe0f|\U0001f646\U0001f3fe\u200d\u2642\ufe0f|\U0001f646\U0001f3ff\u200d\u2642\ufe0f|\U0001f646\U0001f3fb\u200d\u2640\ufe0f|\U0001f646\U0001f3fc\u200d\u2640\ufe0f|\U0001f646\U0001f3fd\u200d\u2640\ufe0f|\U0001f646\U0001f3fe\u200d\u2640\ufe0f|\U0001f646\U0001f3ff\u200d\u2640\ufe0f|\U0001f481\U0001f3fb\u200d\u2642\ufe0f|\U0001f481\U0001f3fc\u200d\u2642\ufe0f|\U0001f481\U0001f3fd\u200d\u2642\ufe0f|\U0001f481\U0001f3fe\u200d\u2642\ufe0f|\U0001f481\U0001f3ff\u200d\u2642\ufe0f|\U0001f481\U0001f3fb\u200d\u2640\ufe0f|\U0001f481\U0001f3fc\u200d\u2640\ufe0f|\U0001f481\U0001f3fd\u200d\u2640\ufe0f|\U0001f481\U0001f3fe\u200d\u2640\ufe0f|\U0001f481\U0001f3ff\u200d\u2640\ufe0f|\U0001f64b\U0001f3fb\u200d\u2642\ufe0f|\U0001f64b\U0001f3fc\u200d\u2642\ufe0f|\U0001f64b\U0001f3fd\u200d\u2642\ufe0f|\U0001f64b\U0001f3fe\u200d\u2642\ufe0f|\U0001f64b\U0001f3ff\u200d\u2642\ufe0f|\U0001f64b\U0001f3fb\u200d\u2640\ufe0f|\U0001f64b\U0001f3fc\u200d\u2640\ufe0f|\U0001f64b\U0001f3fd\u200d\u2640\ufe0f|\U0001f64b\U0001f3fe\u200d\u2640\ufe0f|\U0001f64b\U0001f3ff\u200d\u2640\ufe0f|\U0001f9cf\U0001f3fb\u200d\u2642\ufe0f|\U0001f9cf\U0001f3fc\u200d\u2642\ufe0f|\U0001f9cf\U0001f3fd\u200d\u2642\ufe0f|\U0001f9cf\U0001f3fe\u200d\u2642\ufe0f|\U0001f9cf\U0001f3ff\u200d\u2642\ufe0f|\U0001f9cf\U0001f3fb\u200d\u2640\ufe0f|\U0001f9cf\U0001f3fc\u200d\u2640\ufe0f|\U0001f9cf\U0001f3fd\u200d\u2640\ufe0f|\U0001f9cf\U0001f3fe\u200d\u2640\ufe0f|\U0001f9cf\U0001f3ff\u200d\u2640\ufe0f|\U0001f647\U0001f3fb\u200d\u2642\ufe0f|\U0001f647\U0001f3fc\u200d\u2642\ufe0f|\U0001f647\U0001f3fd\u200d\u2642\ufe0f|\U0001f647\U0001f3fe\u200d\u2642\ufe0f|\U0001f647\U0001f3ff\u200d\u2642\ufe0f|\U0001f647\U0001f3fb\u200d\u2640\ufe0f|\U0001f647\U0001f3fc\u200d\u2640\ufe0f|\U0001f647\U0001f3fd\u200d\u2640\ufe0f|\U0001f647\U0001f3fe\u200d\u2640\ufe0f|\U0001f647\U0001f3ff\u200d\u2640\ufe0f|\U0001f926\U0001f3fb\u200d\u2642\ufe0f|\U0001f926\U0001f3fc\u200d\u2642\ufe0f|\U0001f926\U0001f3fd\u200d\u2642\ufe0f|\U0001f926\U0001f3fe\u200d\u2642\ufe0f|\U0001f926\U0001f3ff\u200d\u2642\ufe0f|\U0001f926\U0001f3fb\u200d\u2640\ufe0f|\U0001f926\U0001f3fc\u200d\u2640\ufe0f|\U0001f926\U0001f3fd\u200d\u2640\ufe0f|\U0001f926\U0001f3fe\u200d\u2640\ufe0f|\U0001f926\U0001f3ff\u200d\u2640\ufe0f|\U0001f937\U0001f3fb\u200d\u2642\ufe0f|\U0001f937\U0001f3fc\u200d\u2642\ufe0f|\U0001f937\U0001f3fd\u200d\u2642\ufe0f|\U0001f937\U0001f3fe\u200d\u2642\ufe0f|\U0001f937\U0001f3ff\u200d\u2642\ufe0f|\U0001f937\U0001f3fb\u200d\u2640\ufe0f|\U0001f937\U0001f3fc\u200d\u2640\ufe0f|\U0001f937\U0001f3fd\u200d\u2640\ufe0f|\U0001f937\U0001f3fe\u200d\u2640\ufe0f|\U0001f937\U0001f3ff\u200d\u2640\ufe0f|\U0001f468\U0001f3fb\u200d\u2695\ufe0f|\U0001f468\U0001f3fc\u200d\u2695\ufe0f|\U0001f468\U0001f3fd\u200d\u2695\ufe0f|\U0001f468\U0001f3fe\u200d\u2695\ufe0f|\U0001f468\U0001f3ff\u200d\u2695\ufe0f|\U0001f469\U0001f3fb\u200d\u2695\ufe0f|\U0001f469\U0001f3fc\u200d\u2695\ufe0f|\U0001f469\U0001f3fd\u200d\u2695\ufe0f|\U0001f469\U0001f3fe\u200d\u2695\ufe0f|\U0001f469\U0001f3ff\u200d\u2695\ufe0f|\U0001f468\U0001f3fb\u200d\u2696\ufe0f|\U0001f468\U0001f3fc\u200d\u2696\ufe0f|\U0001f468\U0001f3fd\u200d\u2696\ufe0f|\U0001f468\U0001f3fe\u200d\u2696\ufe0f|\U0001f468\U0001f3ff\u200d\u2696\ufe0f|\U0001f469\U0001f3fb\u200d\u2696\ufe0f|\U0001f469\U0001f3fc\u200d\u2696\ufe0f|\U0001f469\U0001f3fd\u200d\u2696\ufe0f|\U0001f469\U0001f3fe\u200d\u2696\ufe0f|\U0001f469\U0001f3ff\u200d\u2696\ufe0f|\U0001f468\U0001f3fb\u200d\u2708\ufe0f|\U0001f468\U0001f3fc\u200d\u2708\ufe0f|\U0001f468\U0001f3fd\u200d\u2708\ufe0f|\U0001f468\U0001f3fe\u200d\u2708\ufe0f|\U0001f468\U0001f3ff\u200d\u2708\ufe0f|\U0001f469\U0001f3fb\u200d\u2708\ufe0f|\U0001f469\U0001f3fc\u200d\u2708\ufe0f|\U0001f469\U0001f3fd\u200d\u2708\ufe0f|\U0001f469\U0001f3fe\u200d\u2708\ufe0f|\U0001f469\U0001f3ff\u200d\u2708\ufe0f|\U0001f46e\U0001f3fb\u200d\u2642\ufe0f|\U0001f46e\U0001f3fc\u200d\u2642\ufe0f|\U0001f46e\U0001f3fd\u200d\u2642\ufe0f|\U0001f46e\U0001f3fe\u200d\u2642\ufe0f|\U0001f46e\U0001f3ff\u200d\u2642\ufe0f|\U0001f46e\U0001f3fb\u200d\u2640\ufe0f|\U0001f46e\U0001f3fc\u200d\u2640\ufe0f|\U0001f46e\U0001f3fd\u200d\u2640\ufe0f|\U0001f46e\U0001f3fe\u200d\u2640\ufe0f|\U0001f46e\U0001f3ff\u200d\u2640\ufe0f|\U0001f575\ufe0f\u200d\u2642\ufe0f|\U0001f575\U0001f3fb\u200d\u2642\ufe0f|\U0001f575\U0001f3fc\u200d\u2642\ufe0f|\U0001f575\U0001f3fd\u200d\u2642\ufe0f|\U0001f575\U0001f3fe\u200d\u2642\ufe0f|\U0001f575\U0001f3ff\u200d\u2642\ufe0f|\U0001f575\ufe0f\u200d\u2640\ufe0f|\U0001f575\U0001f3fb\u200d\u2640\ufe0f|\U0001f575\U0001f3fc\u200d\u2640\ufe0f|\U0001f575\U0001f3fd\u200d\u2640\ufe0f|\U0001f575\U0001f3fe\u200d\u2640\ufe0f|\U0001f575\U0001f3ff\u200d\u2640\ufe0f|\U0001f482\U0001f3fb\u200d\u2642\ufe0f|\U0001f482\U0001f3fc\u200d\u2642\ufe0f|\U0001f482\U0001f3fd\u200d\u2642\ufe0f|\U0001f482\U0001f3fe\u200d\u2642\ufe0f|\U0001f482\U0001f3ff\u200d\u2642\ufe0f|\U0001f482\U0001f3fb\u200d\u2640\ufe0f|\U0001f482\U0001f3fc\u200d\u2640\ufe0f|\U0001f482\U0001f3fd\u200d\u2640\ufe0f|\U0001f482\U0001f3fe\u200d\u2640\ufe0f|\U0001f482\U0001f3ff\u200d\u2640\ufe0f|\U0001f477\U0001f3fb\u200d\u2642\ufe0f|\U0001f477\U0001f3fc\u200d\u2642\ufe0f|\U0001f477\U0001f3fd\u200d\u2642\ufe0f|\U0001f477\U0001f3fe\u200d\u2642\ufe0f|\U0001f477\U0001f3ff\u200d\u2642\ufe0f|\U0001f477\U0001f3fb\u200d\u2640\ufe0f|\U0001f477\U0001f3fc\u200d\u2640\ufe0f|\U0001f477\U0001f3fd\u200d\u2640\ufe0f|\U0001f477\U0001f3fe\u200d\u2640\ufe0f|\U0001f477\U0001f3ff\u200d\u2640\ufe0f|\U0001f473\U0001f3fb\u200d\u2642\ufe0f|\U0001f473\U0001f3fc\u200d\u2642\ufe0f|\U0001f473\U0001f3fd\u200d\u2642\ufe0f|\U0001f473\U0001f3fe\u200d\u2642\ufe0f|\U0001f473\U0001f3ff\u200d\u2642\ufe0f|\U0001f473\U0001f3fb\u200d\u2640\ufe0f|\U0001f473\U0001f3fc\u200d\u2640\ufe0f|\U0001f473\U0001f3fd\u200d\u2640\ufe0f|\U0001f473\U0001f3fe\u200d\u2640\ufe0f|\U0001f473\U0001f3ff\u200d\u2640\ufe0f|\U0001f9b8\U0001f3fb\u200d\u2642\ufe0f|\U0001f9b8\U0001f3fc\u200d\u2642\ufe0f|\U0001f9b8\U0001f3fd\u200d\u2642\ufe0f|\U0001f9b8\U0001f3fe\u200d\u2642\ufe0f|\U0001f9b8\U0001f3ff\u200d\u2642\ufe0f|\U0001f9b8\U0001f3fb\u200d\u2640\ufe0f|\U0001f9b8\U0001f3fc\u200d\u2640\ufe0f|\U0001f9b8\U0001f3fd\u200d\u2640\ufe0f|\U0001f9b8\U0001f3fe\u200d\u2640\ufe0f|\U0001f9b8\U0001f3ff\u200d\u2640\ufe0f|\U0001f9b9\U0001f3fb\u200d\u2642\ufe0f|\U0001f9b9\U0001f3fc\u200d\u2642\ufe0f|\U0001f9b9\U0001f3fd\u200d\u2642\ufe0f|\U0001f9b9\U0001f3fe\u200d\u2642\ufe0f|\U0001f9b9\U0001f3ff\u200d\u2642\ufe0f|\U0001f9b9\U0001f3fb\u200d\u2640\ufe0f|\U0001f9b9\U0001f3fc\u200d\u2640\ufe0f|\U0001f9b9\U0001f3fd\u200d\u2640\ufe0f|\U0001f9b9\U0001f3fe\u200d\u2640\ufe0f|\U0001f9b9\U0001f3ff\u200d\u2640\ufe0f|\U0001f9d9\U0001f3fb\u200d\u2642\ufe0f|\U0001f9d9\U0001f3fc\u200d\u2642\ufe0f|\U0001f9d9\U0001f3fd\u200d\u2642\ufe0f|\U0001f9d9\U0001f3fe\u200d\u2642\ufe0f|\U0001f9d9\U0001f3ff\u200d\u2642\ufe0f|\U0001f9d9\U0001f3fb\u200d\u2640\ufe0f|\U0001f9d9\U0001f3fc\u200d\u2640\ufe0f|\U0001f9d9\U0001f3fd\u200d\u2640\ufe0f|\U0001f9d9\U0001f3fe\u200d\u2640\ufe0f|\U0001f9d9\U0001f3ff\u200d\u2640\ufe0f|\U0001f9da\U0001f3fb\u200d\u2642\ufe0f|\U0001f9da\U0001f3fc\u200d\u2642\ufe0f|\U0001f9da\U0001f3fd\u200d\u2642\ufe0f|\U0001f9da\U0001f3fe\u200d\u2642\ufe0f|\U0001f9da\U0001f3ff\u200d\u2642\ufe0f|\U0001f9da\U0001f3fb\u200d\u2640\ufe0f|\U0001f9da\U0001f3fc\u200d\u2640\ufe0f|\U0001f9da\U0001f3fd\u200d\u2640\ufe0f|\U0001f9da\U0001f3fe\u200d\u2640\ufe0f|\U0001f9da\U0001f3ff\u200d\u2640\ufe0f|\U0001f9db\U0001f3fb\u200d\u2642\ufe0f|\U0001f9db\U0001f3fc\u200d\u2642\ufe0f|\U0001f9db\U0001f3fd\u200d\u2642\ufe0f|\U0001f9db\U0001f3fe\u200d\u2642\ufe0f|\U0001f9db\U0001f3ff\u200d\u2642\ufe0f|\U0001f9db\U0001f3fb\u200d\u2640\ufe0f|\U0001f9db\U0001f3fc\u200d\u2640\ufe0f|\U0001f9db\U0001f3fd\u200d\u2640\ufe0f|\U0001f9db\U0001f3fe\u200d\u2640\ufe0f|\U0001f9db\U0001f3ff\u200d\u2640\ufe0f|\U0001f9dc\U0001f3fb\u200d\u2642\ufe0f|\U0001f9dc\U0001f3fc\u200d\u2642\ufe0f|\U0001f9dc\U0001f3fd\u200d\u2642\ufe0f|\U0001f9dc\U0001f3fe\u200d\u2642\ufe0f|\U0001f9dc\U0001f3ff\u200d\u2642\ufe0f|\U0001f9dc\U0001f3fb\u200d\u2640\ufe0f|\U0001f9dc\U0001f3fc\u200d\u2640\ufe0f|\U0001f9dc\U0001f3fd\u200d\u2640\ufe0f|\U0001f9dc\U0001f3fe\u200d\u2640\ufe0f|\U0001f9dc\U0001f3ff\u200d\u2640\ufe0f|\U0001f9dd\U0001f3fb\u200d\u2642\ufe0f|\U0001f9dd\U0001f3fc\u200d\u2642\ufe0f|\U0001f9dd\U0001f3fd\u200d\u2642\ufe0f|\U0001f9dd\U0001f3fe\u200d\u2642\ufe0f|\U0001f9dd\U0001f3ff\u200d\u2642\ufe0f|\U0001f9dd\U0001f3fb\u200d\u2640\ufe0f|\U0001f9dd\U0001f3fc\u200d\u2640\ufe0f|\U0001f9dd\U0001f3fd\u200d\u2640\ufe0f|\U0001f9dd\U0001f3fe\u200d\u2640\ufe0f|\U0001f9dd\U0001f3ff\u200d\u2640\ufe0f|\U0001f486\U0001f3fb\u200d\u2642\ufe0f|\U0001f486\U0001f3fc\u200d\u2642\ufe0f|\U0001f486\U0001f3fd\u200d\u2642\ufe0f|\U0001f486\U0001f3fe\u200d\u2642\ufe0f|\U0001f486\U0001f3ff\u200d\u2642\ufe0f|\U0001f486\U0001f3fb\u200d\u2640\ufe0f|\U0001f486\U0001f3fc\u200d\u2640\ufe0f|\U0001f486\U0001f3fd\u200d\u2640\ufe0f|\U0001f486\U0001f3fe\u200d\u2640\ufe0f|\U0001f486\U0001f3ff\u200d\u2640\ufe0f|\U0001f487\U0001f3fb\u200d\u2642\ufe0f|\U0001f487\U0001f3fc\u200d\u2642\ufe0f|\U0001f487\U0001f3fd\u200d\u2642\ufe0f|\U0001f487\U0001f3fe\u200d\u2642\ufe0f|\U0001f487\U0001f3ff\u200d\u2642\ufe0f|\U0001f487\U0001f3fb\u200d\u2640\ufe0f|\U0001f487\U0001f3fc\u200d\u2640\ufe0f|\U0001f487\U0001f3fd\u200d\u2640\ufe0f|\U0001f487\U0001f3fe\u200d\u2640\ufe0f|\U0001f487\U0001f3ff\u200d\u2640\ufe0f|\U0001f6b6\U0001f3fb\u200d\u2642\ufe0f|\U0001f6b6\U0001f3fc\u200d\u2642\ufe0f|\U0001f6b6\U0001f3fd\u200d\u2642\ufe0f|\U0001f6b6\U0001f3fe\u200d\u2642\ufe0f|\U0001f6b6\U0001f3ff\u200d\u2642\ufe0f|\U0001f6b6\U0001f3fb\u200d\u2640\ufe0f|\U0001f6b6\U0001f3fc\u200d\u2640\ufe0f|\U0001f6b6\U0001f3fd\u200d\u2640\ufe0f|\U0001f6b6\U0001f3fe\u200d\u2640\ufe0f|\U0001f6b6\U0001f3ff\u200d\u2640\ufe0f|\U0001f9cd\U0001f3fb\u200d\u2642\ufe0f|\U0001f9cd\U0001f3fc\u200d\u2642\ufe0f|\U0001f9cd\U0001f3fd\u200d\u2642\ufe0f|\U0001f9cd\U0001f3fe\u200d\u2642\ufe0f|\U0001f9cd\U0001f3ff\u200d\u2642\ufe0f|\U0001f9cd\U0001f3fb\u200d\u2640\ufe0f|\U0001f9cd\U0001f3fc\u200d\u2640\ufe0f|\U0001f9cd\U0001f3fd\u200d\u2640\ufe0f|\U0001f9cd\U0001f3fe\u200d\u2640\ufe0f|\U0001f9cd\U0001f3ff\u200d\u2640\ufe0f|\U0001f9ce\U0001f3fb\u200d\u2642\ufe0f|\U0001f9ce\U0001f3fc\u200d\u2642\ufe0f|\U0001f9ce\U0001f3fd\u200d\u2642\ufe0f|\U0001f9ce\U0001f3fe\u200d\u2642\ufe0f|\U0001f9ce\U0001f3ff\u200d\u2642\ufe0f|\U0001f9ce\U0001f3fb\u200d\u2640\ufe0f|\U0001f9ce\U0001f3fc\u200d\u2640\ufe0f|\U0001f9ce\U0001f3fd\u200d\u2640\ufe0f|\U0001f9ce\U0001f3fe\u200d\u2640\ufe0f|\U0001f9ce\U0001f3ff\u200d\u2640\ufe0f|\U0001f3c3\U0001f3fb\u200d\u2642\ufe0f|\U0001f3c3\U0001f3fc\u200d\u2642\ufe0f|\U0001f3c3\U0001f3fd\u200d\u2642\ufe0f|\U0001f3c3\U0001f3fe\u200d\u2642\ufe0f|\U0001f3c3\U0001f3ff\u200d\u2642\ufe0f|\U0001f3c3\U0001f3fb\u200d\u2640\ufe0f|\U0001f3c3\U0001f3fc\u200d\u2640\ufe0f|\U0001f3c3\U0001f3fd\u200d\u2640\ufe0f|\U0001f3c3\U0001f3fe\u200d\u2640\ufe0f|\U0001f3c3\U0001f3ff\u200d\u2640\ufe0f|\U0001f9d6\U0001f3fb\u200d\u2642\ufe0f|\U0001f9d6\U0001f3fc\u200d\u2642\ufe0f|\U0001f9d6\U0001f3fd\u200d\u2642\ufe0f|\U0001f9d6\U0001f3fe\u200d\u2642\ufe0f|\U0001f9d6\U0001f3ff\u200d\u2642\ufe0f|\U0001f9d6\U0001f3fb\u200d\u2640\ufe0f|\U0001f9d6\U0001f3fc\u200d\u2640\ufe0f|\U0001f9d6\U0001f3fd\u200d\u2640\ufe0f|\U0001f9d6\U0001f3fe\u200d\u2640\ufe0f|\U0001f9d6\U0001f3ff\u200d\u2640\ufe0f|\U0001f9d7\U0001f3fb\u200d\u2642\ufe0f|\U0001f9d7\U0001f3fc\u200d\u2642\ufe0f|\U0001f9d7\U0001f3fd\u200d\u2642\ufe0f|\U0001f9d7\U0001f3fe\u200d\u2642\ufe0f|\U0001f9d7\U0001f3ff\u200d\u2642\ufe0f|\U0001f9d7\U0001f3fb\u200d\u2640\ufe0f|\U0001f9d7\U0001f3fc\u200d\u2640\ufe0f|\U0001f9d7\U0001f3fd\u200d\u2640\ufe0f|\U0001f9d7\U0001f3fe\u200d\u2640\ufe0f|\U0001f9d7\U0001f3ff\u200d\u2640\ufe0f|\U0001f3cc\ufe0f\u200d\u2642\ufe0f|\U0001f3cc\U0001f3fb\u200d\u2642\ufe0f|\U0001f3cc\U0001f3fc\u200d\u2642\ufe0f|\U0001f3cc\U0001f3fd\u200d\u2642\ufe0f|\U0001f3cc\U0001f3fe\u200d\u2642\ufe0f|\U0001f3cc\U0001f3ff\u200d\u2642\ufe0f|\U0001f3cc\ufe0f\u200d\u2640\ufe0f|\U0001f3cc\U0001f3fb\u200d\u2640\ufe0f|\U0001f3cc\U0001f3fc\u200d\u2640\ufe0f|\U0001f3cc\U0001f3fd\u200d\u2640\ufe0f|\U0001f3cc\U0001f3fe\u200d\u2640\ufe0f|\U0001f3cc\U0001f3ff\u200d\u2640\ufe0f|\U0001f3c4\U0001f3fb\u200d\u2642\ufe0f|\U0001f3c4\U0001f3fc\u200d\u2642\ufe0f|\U0001f3c4\U0001f3fd\u200d\u2642\ufe0f|\U0001f3c4\U0001f3fe\u200d\u2642\ufe0f|\U0001f3c4\U0001f3ff\u200d\u2642\ufe0f|\U0001f3c4\U0001f3fb\u200d\u2640\ufe0f|\U0001f3c4\U0001f3fc\u200d\u2640\ufe0f|\U0001f3c4\U0001f3fd\u200d\u2640\ufe0f|\U0001f3c4\U0001f3fe\u200d\u2640\ufe0f|\U0001f3c4\U0001f3ff\u200d\u2640\ufe0f|\U0001f6a3\U0001f3fb\u200d\u2642\ufe0f|\U0001f6a3\U0001f3fc\u200d\u2642\ufe0f|\U0001f6a3\U0001f3fd\u200d\u2642\ufe0f|\U0001f6a3\U0001f3fe\u200d\u2642\ufe0f|\U0001f6a3\U0001f3ff\u200d\u2642\ufe0f|\U0001f6a3\U0001f3fb\u200d\u2640\ufe0f|\U0001f6a3\U0001f3fc\u200d\u2640\ufe0f|\U0001f6a3\U0001f3fd\u200d\u2640\ufe0f|\U0001f6a3\U0001f3fe\u200d\u2640\ufe0f|\U0001f6a3\U0001f3ff\u200d\u2640\ufe0f|\U0001f3ca\U0001f3fb\u200d\u2642\ufe0f|\U0001f3ca\U0001f3fc\u200d\u2642\ufe0f|\U0001f3ca\U0001f3fd\u200d\u2642\ufe0f|\U0001f3ca\U0001f3fe\u200d\u2642\ufe0f|\U0001f3ca\U0001f3ff\u200d\u2642\ufe0f|\U0001f3ca\U0001f3fb\u200d\u2640\ufe0f|\U0001f3ca\U0001f3fc\u200d\u2640\ufe0f|\U0001f3ca\U0001f3fd\u200d\u2640\ufe0f|\U0001f3ca\U0001f3fe\u200d\u2640\ufe0f|\U0001f3ca\U0001f3ff\u200d\u2640\ufe0f|\u26f9\ufe0f\u200d\u2642\ufe0f|\u26f9\U0001f3fb\u200d\u2642\ufe0f|\u26f9\U0001f3fc\u200d\u2642\ufe0f|\u26f9\U0001f3fd\u200d\u2642\ufe0f|\u26f9\U0001f3fe\u200d\u2642\ufe0f|\u26f9\U0001f3ff\u200d\u2642\ufe0f|\u26f9\ufe0f\u200d\u2640\ufe0f|\u26f9\U0001f3fb\u200d\u2640\ufe0f|\u26f9\U0001f3fc\u200d\u2640\ufe0f|\u26f9\U0001f3fd\u200d\u2640\ufe0f|\u26f9\U0001f3fe\u200d\u2640\ufe0f|\u26f9\U0001f3ff\u200d\u2640\ufe0f|\U0001f3cb\ufe0f\u200d\u2642\ufe0f|\U0001f3cb\U0001f3fb\u200d\u2642\ufe0f|\U0001f3cb\U0001f3fc\u200d\u2642\ufe0f|\U0001f3cb\U0001f3fd\u200d\u2642\ufe0f|\U0001f3cb\U0001f3fe\u200d\u2642\ufe0f|\U0001f3cb\U0001f3ff\u200d\u2642\ufe0f|\U0001f3cb\ufe0f\u200d\u2640\ufe0f|\U0001f3cb\U0001f3fb\u200d\u2640\ufe0f|\U0001f3cb\U0001f3fc\u200d\u2640\ufe0f|\U0001f3cb\U0001f3fd\u200d\u2640\ufe0f|\U0001f3cb\U0001f3fe\u200d\u2640\ufe0f|\U0001f3cb\U0001f3ff\u200d\u2640\ufe0f|\U0001f6b4\U0001f3fb\u200d\u2642\ufe0f|\U0001f6b4\U0001f3fc\u200d\u2642\ufe0f|\U0001f6b4\U0001f3fd\u200d\u2642\ufe0f|\U0001f6b4\U0001f3fe\u200d\u2642\ufe0f|\U0001f6b4\U0001f3ff\u200d\u2642\ufe0f|\U0001f6b4\U0001f3fb\u200d\u2640\ufe0f|\U0001f6b4\U0001f3fc\u200d\u2640\ufe0f|\U0001f6b4\U0001f3fd\u200d\u2640\ufe0f|\U0001f6b4\U0001f3fe\u200d\u2640\ufe0f|\U0001f6b4\U0001f3ff\u200d\u2640\ufe0f|\U0001f6b5\U0001f3fb\u200d\u2642\ufe0f|\U0001f6b5\U0001f3fc\u200d\u2642\ufe0f|\U0001f6b5\U0001f3fd\u200d\u2642\ufe0f|\U0001f6b5\U0001f3fe\u200d\u2642\ufe0f|\U0001f6b5\U0001f3ff\u200d\u2642\ufe0f|\U0001f6b5\U0001f3fb\u200d\u2640\ufe0f|\U0001f6b5\U0001f3fc\u200d\u2640\ufe0f|\U0001f6b5\U0001f3fd\u200d\u2640\ufe0f|\U0001f6b5\U0001f3fe\u200d\u2640\ufe0f|\U0001f6b5\U0001f3ff\u200d\u2640\ufe0f|\U0001f938\U0001f3fb\u200d\u2642\ufe0f|\U0001f938\U0001f3fc\u200d\u2642\ufe0f|\U0001f938\U0001f3fd\u200d\u2642\ufe0f|\U0001f938\U0001f3fe\u200d\u2642\ufe0f|\U0001f938\U0001f3ff\u200d\u2642\ufe0f|\U0001f938\U0001f3fb\u200d\u2640\ufe0f|\U0001f938\U0001f3fc\u200d\u2640\ufe0f|\U0001f938\U0001f3fd\u200d\u2640\ufe0f|\U0001f938\U0001f3fe\u200d\u2640\ufe0f|\U0001f938\U0001f3ff\u200d\u2640\ufe0f|\U0001f93d\U0001f3fb\u200d\u2642\ufe0f|\U0001f93d\U0001f3fc\u200d\u2642\ufe0f|\U0001f93d\U0001f3fd\u200d\u2642\ufe0f|\U0001f93d\U0001f3fe\u200d\u2642\ufe0f|\U0001f93d\U0001f3ff\u200d\u2642\ufe0f|\U0001f93d\U0001f3fb\u200d\u2640\ufe0f|\U0001f93d\U0001f3fc\u200d\u2640\ufe0f|\U0001f93d\U0001f3fd\u200d\u2640\ufe0f|\U0001f93d\U0001f3fe\u200d\u2640\ufe0f|\U0001f93d\U0001f3ff\u200d\u2640\ufe0f|\U0001f93e\U0001f3fb\u200d\u2642\ufe0f|\U0001f93e\U0001f3fc\u200d\u2642\ufe0f|\U0001f93e\U0001f3fd\u200d\u2642\ufe0f|\U0001f93e\U0001f3fe\u200d\u2642\ufe0f|\U0001f93e\U0001f3ff\u200d\u2642\ufe0f|\U0001f93e\U0001f3fb\u200d\u2640\ufe0f|\U0001f93e\U0001f3fc\u200d\u2640\ufe0f|\U0001f93e\U0001f3fd\u200d\u2640\ufe0f|\U0001f93e\U0001f3fe\u200d\u2640\ufe0f|\U0001f93e\U0001f3ff\u200d\u2640\ufe0f|\U0001f939\U0001f3fb\u200d\u2642\ufe0f|\U0001f939\U0001f3fc\u200d\u2642\ufe0f|\U0001f939\U0001f3fd\u200d\u2642\ufe0f|\U0001f939\U0001f3fe\u200d\u2642\ufe0f|\U0001f939\U0001f3ff\u200d\u2642\ufe0f|\U0001f939\U0001f3fb\u200d\u2640\ufe0f|\U0001f939\U0001f3fc\u200d\u2640\ufe0f|\U0001f939\U0001f3fd\u200d\u2640\ufe0f|\U0001f939\U0001f3fe\u200d\u2640\ufe0f|\U0001f939\U0001f3ff\u200d\u2640\ufe0f|\U0001f9d8\U0001f3fb\u200d\u2642\ufe0f|\U0001f9d8\U0001f3fc\u200d\u2642\ufe0f|\U0001f9d8\U0001f3fd\u200d\u2642\ufe0f|\U0001f9d8\U0001f3fe\u200d\u2642\ufe0f|\U0001f9d8\U0001f3ff\u200d\u2642\ufe0f|\U0001f9d8\U0001f3fb\u200d\u2640\ufe0f|\U0001f9d8\U0001f3fc\u200d\u2640\ufe0f|\U0001f9d8\U0001f3fd\u200d\u2640\ufe0f|\U0001f9d8\U0001f3fe\u200d\u2640\ufe0f|\U0001f9d8\U0001f3ff\u200d\u2640\ufe0f|\U0001f9d1\u200d\U0001f91d\u200d\U0001f9d1|\U0001f469\u200d\u2764\u200d\U0001f468|\U0001f468\u200d\u2764\u200d\U0001f468|\U0001f469\u200d\u2764\u200d\U0001f469|\U0001f468\u200d\U0001f469\u200d\U0001f466|\U0001f468\u200d\U0001f469\u200d\U0001f467|\U0001f468\u200d\U0001f468\u200d\U0001f466|\U0001f468\u200d\U0001f468\u200d\U0001f467|\U0001f469\u200d\U0001f469\u200d\U0001f466|\U0001f469\u200d\U0001f469\u200d\U0001f467|\U0001f468\u200d\U0001f466\u200d\U0001f466|\U0001f468\u200d\U0001f467\u200d\U0001f466|\U0001f468\u200d\U0001f467\u200d\U0001f467|\U0001f469\u200d\U0001f466\u200d\U0001f466|\U0001f469\u200d\U0001f467\u200d\U0001f466|\U0001f469\u200d\U0001f467\u200d\U0001f467|\U0001f441\u200d\U0001f5e8\ufe0f|\U0001f441\ufe0f\u200d\U0001f5e8|\U0001f471\u200d\u2642\ufe0f|\U0001f471\U0001f3fb\u200d\u2642|\U0001f471\U0001f3fc\u200d\u2642|\U0001f471\U0001f3fd\u200d\u2642|\U0001f471\U0001f3fe\u200d\u2642|\U0001f471\U0001f3ff\u200d\u2642|\U0001f468\U0001f3fb\u200d\U0001f9b0|\U0001f468\U0001f3fc\u200d\U0001f9b0|\U0001f468\U0001f3fd\u200d\U0001f9b0|\U0001f468\U0001f3fe\u200d\U0001f9b0|\U0001f468\U0001f3ff\u200d\U0001f9b0|\U0001f468\U0001f3fb\u200d\U0001f9b1|\U0001f468\U0001f3fc\u200d\U0001f9b1|\U0001f468\U0001f3fd\u200d\U0001f9b1|\U0001f468\U0001f3fe\u200d\U0001f9b1|\U0001f468\U0001f3ff\u200d\U0001f9b1|\U0001f468\U0001f3fb\u200d\U0001f9b3|\U0001f468\U0001f3fc\u200d\U0001f9b3|\U0001f468\U0001f3fd\u200d\U0001f9b3|\U0001f468\U0001f3fe\u200d\U0001f9b3|\U0001f468\U0001f3ff\u200d\U0001f9b3|\U0001f468\U0001f3fb\u200d\U0001f9b2|\U0001f468\U0001f3fc\u200d\U0001f9b2|\U0001f468\U0001f3fd\u200d\U0001f9b2|\U0001f468\U0001f3fe\u200d\U0001f9b2|\U0001f468\U0001f3ff\u200d\U0001f9b2|\U0001f471\u200d\u2640\ufe0f|\U0001f471\U0001f3fb\u200d\u2640|\U0001f471\U0001f3fc\u200d\u2640|\U0001f471\U0001f3fd\u200d\u2640|\U0001f471\U0001f3fe\u200d\u2640|\U0001f471\U0001f3ff\u200d\u2640|\U0001f469\U0001f3fb\u200d\U0001f9b0|\U0001f469\U0001f3fc\u200d\U0001f9b0|\U0001f469\U0001f3fd\u200d\U0001f9b0|\U0001f469\U0001f3fe\u200d\U0001f9b0|\U0001f469\U0001f3ff\u200d\U0001f9b0|\U0001f469\U0001f3fb\u200d\U0001f9b1|\U0001f469\U0001f3fc\u200d\U0001f9b1|\U0001f469\U0001f3fd\u200d\U0001f9b1|\U0001f469\U0001f3fe\u200d\U0001f9b1|\U0001f469\U0001f3ff\u200d\U0001f9b1|\U0001f469\U0001f3fb\u200d\U0001f9b3|\U0001f469\U0001f3fc\u200d\U0001f9b3|\U0001f469\U0001f3fd\u200d\U0001f9b3|\U0001f469\U0001f3fe\u200d\U0001f9b3|\U0001f469\U0001f3ff\u200d\U0001f9b3|\U0001f469\U0001f3fb\u200d\U0001f9b2|\U0001f469\U0001f3fc\u200d\U0001f9b2|\U0001f469\U0001f3fd\u200d\U0001f9b2|\U0001f469\U0001f3fe\u200d\U0001f9b2|\U0001f469\U0001f3ff\u200d\U0001f9b2|\U0001f64d\u200d\u2642\ufe0f|\U0001f64d\U0001f3fb\u200d\u2642|\U0001f64d\U0001f3fc\u200d\u2642|\U0001f64d\U0001f3fd\u200d\u2642|\U0001f64d\U0001f3fe\u200d\u2642|\U0001f64d\U0001f3ff\u200d\u2642|\U0001f64d\u200d\u2640\ufe0f|\U0001f64d\U0001f3fb\u200d\u2640|\U0001f64d\U0001f3fc\u200d\u2640|\U0001f64d\U0001f3fd\u200d\u2640|\U0001f64d\U0001f3fe\u200d\u2640|\U0001f64d\U0001f3ff\u200d\u2640|\U0001f64e\u200d\u2642\ufe0f|\U0001f64e\U0001f3fb\u200d\u2642|\U0001f64e\U0001f3fc\u200d\u2642|\U0001f64e\U0001f3fd\u200d\u2642|\U0001f64e\U0001f3fe\u200d\u2642|\U0001f64e\U0001f3ff\u200d\u2642|\U0001f64e\u200d\u2640\ufe0f|\U0001f64e\U0001f3fb\u200d\u2640|\U0001f64e\U0001f3fc\u200d\u2640|\U0001f64e\U0001f3fd\u200d\u2640|\U0001f64e\U0001f3fe\u200d\u2640|\U0001f64e\U0001f3ff\u200d\u2640|\U0001f645\u200d\u2642\ufe0f|\U0001f645\U0001f3fb\u200d\u2642|\U0001f645\U0001f3fc\u200d\u2642|\U0001f645\U0001f3fd\u200d\u2642|\U0001f645\U0001f3fe\u200d\u2642|\U0001f645\U0001f3ff\u200d\u2642|\U0001f645\u200d\u2640\ufe0f|\U0001f645\U0001f3fb\u200d\u2640|\U0001f645\U0001f3fc\u200d\u2640|\U0001f645\U0001f3fd\u200d\u2640|\U0001f645\U0001f3fe\u200d\u2640|\U0001f645\U0001f3ff\u200d\u2640|\U0001f646\u200d\u2642\ufe0f|\U0001f646\U0001f3fb\u200d\u2642|\U0001f646\U0001f3fc\u200d\u2642|\U0001f646\U0001f3fd\u200d\u2642|\U0001f646\U0001f3fe\u200d\u2642|\U0001f646\U0001f3ff\u200d\u2642|\U0001f646\u200d\u2640\ufe0f|\U0001f646\U0001f3fb\u200d\u2640|\U0001f646\U0001f3fc\u200d\u2640|\U0001f646\U0001f3fd\u200d\u2640|\U0001f646\U0001f3fe\u200d\u2640|\U0001f646\U0001f3ff\u200d\u2640|\U0001f481\u200d\u2642\ufe0f|\U0001f481\U0001f3fb\u200d\u2642|\U0001f481\U0001f3fc\u200d\u2642|\U0001f481\U0001f3fd\u200d\u2642|\U0001f481\U0001f3fe\u200d\u2642|\U0001f481\U0001f3ff\u200d\u2642|\U0001f481\u200d\u2640\ufe0f|\U0001f481\U0001f3fb\u200d\u2640|\U0001f481\U0001f3fc\u200d\u2640|\U0001f481\U0001f3fd\u200d\u2640|\U0001f481\U0001f3fe\u200d\u2640|\U0001f481\U0001f3ff\u200d\u2640|\U0001f64b\u200d\u2642\ufe0f|\U0001f64b\U0001f3fb\u200d\u2642|\U0001f64b\U0001f3fc\u200d\u2642|\U0001f64b\U0001f3fd\u200d\u2642|\U0001f64b\U0001f3fe\u200d\u2642|\U0001f64b\U0001f3ff\u200d\u2642|\U0001f64b\u200d\u2640\ufe0f|\U0001f64b\U0001f3fb\u200d\u2640|\U0001f64b\U0001f3fc\u200d\u2640|\U0001f64b\U0001f3fd\u200d\u2640|\U0001f64b\U0001f3fe\u200d\u2640|\U0001f64b\U0001f3ff\u200d\u2640|\U0001f9cf\u200d\u2642\ufe0f|\U0001f9cf\U0001f3fb\u200d\u2642|\U0001f9cf\U0001f3fc\u200d\u2642|\U0001f9cf\U0001f3fd\u200d\u2642|\U0001f9cf\U0001f3fe\u200d\u2642|\U0001f9cf\U0001f3ff\u200d\u2642|\U0001f9cf\u200d\u2640\ufe0f|\U0001f9cf\U0001f3fb\u200d\u2640|\U0001f9cf\U0001f3fc\u200d\u2640|\U0001f9cf\U0001f3fd\u200d\u2640|\U0001f9cf\U0001f3fe\u200d\u2640|\U0001f9cf\U0001f3ff\u200d\u2640|\U0001f647\u200d\u2642\ufe0f|\U0001f647\U0001f3fb\u200d\u2642|\U0001f647\U0001f3fc\u200d\u2642|\U0001f647\U0001f3fd\u200d\u2642|\U0001f647\U0001f3fe\u200d\u2642|\U0001f647\U0001f3ff\u200d\u2642|\U0001f647\u200d\u2640\ufe0f|\U0001f647\U0001f3fb\u200d\u2640|\U0001f647\U0001f3fc\u200d\u2640|\U0001f647\U0001f3fd\u200d\u2640|\U0001f647\U0001f3fe\u200d\u2640|\U0001f647\U0001f3ff\u200d\u2640|\U0001f926\u200d\u2642\ufe0f|\U0001f926\U0001f3fb\u200d\u2642|\U0001f926\U0001f3fc\u200d\u2642|\U0001f926\U0001f3fd\u200d\u2642|\U0001f926\U0001f3fe\u200d\u2642|\U0001f926\U0001f3ff\u200d\u2642|\U0001f926\u200d\u2640\ufe0f|\U0001f926\U0001f3fb\u200d\u2640|\U0001f926\U0001f3fc\u200d\u2640|\U0001f926\U0001f3fd\u200d\u2640|\U0001f926\U0001f3fe\u200d\u2640|\U0001f926\U0001f3ff\u200d\u2640|\U0001f937\u200d\u2642\ufe0f|\U0001f937\U0001f3fb\u200d\u2642|\U0001f937\U0001f3fc\u200d\u2642|\U0001f937\U0001f3fd\u200d\u2642|\U0001f937\U0001f3fe\u200d\u2642|\U0001f937\U0001f3ff\u200d\u2642|\U0001f937\u200d\u2640\ufe0f|\U0001f937\U0001f3fb\u200d\u2640|\U0001f937\U0001f3fc\u200d\u2640|\U0001f937\U0001f3fd\u200d\u2640|\U0001f937\U0001f3fe\u200d\u2640|\U0001f937\U0001f3ff\u200d\u2640|\U0001f468\u200d\u2695\ufe0f|\U0001f468\U0001f3fb\u200d\u2695|\U0001f468\U0001f3fc\u200d\u2695|\U0001f468\U0001f3fd\u200d\u2695|\U0001f468\U0001f3fe\u200d\u2695|\U0001f468\U0001f3ff\u200d\u2695|\U0001f469\u200d\u2695\ufe0f|\U0001f469\U0001f3fb\u200d\u2695|\U0001f469\U0001f3fc\u200d\u2695|\U0001f469\U0001f3fd\u200d\u2695|\U0001f469\U0001f3fe\u200d\u2695|\U0001f469\U0001f3ff\u200d\u2695|\U0001f468\U0001f3fb\u200d\U0001f393|\U0001f468\U0001f3fc\u200d\U0001f393|\U0001f468\U0001f3fd\u200d\U0001f393|\U0001f468\U0001f3fe\u200d\U0001f393|\U0001f468\U0001f3ff\u200d\U0001f393|\U0001f469\U0001f3fb\u200d\U0001f393|\U0001f469\U0001f3fc\u200d\U0001f393|\U0001f469\U0001f3fd\u200d\U0001f393|\U0001f469\U0001f3fe\u200d\U0001f393|\U0001f469\U0001f3ff\u200d\U0001f393|\U0001f468\U0001f3fb\u200d\U0001f3eb|\U0001f468\U0001f3fc\u200d\U0001f3eb|\U0001f468\U0001f3fd\u200d\U0001f3eb|\U0001f468\U0001f3fe\u200d\U0001f3eb|\U0001f468\U0001f3ff\u200d\U0001f3eb|\U0001f469\U0001f3fb\u200d\U0001f3eb|\U0001f469\U0001f3fc\u200d\U0001f3eb|\U0001f469\U0001f3fd\u200d\U0001f3eb|\U0001f469\U0001f3fe\u200d\U0001f3eb|\U0001f469\U0001f3ff\u200d\U0001f3eb|\U0001f468\u200d\u2696\ufe0f|\U0001f468\U0001f3fb\u200d\u2696|\U0001f468\U0001f3fc\u200d\u2696|\U0001f468\U0001f3fd\u200d\u2696|\U0001f468\U0001f3fe\u200d\u2696|\U0001f468\U0001f3ff\u200d\u2696|\U0001f469\u200d\u2696\ufe0f|\U0001f469\U0001f3fb\u200d\u2696|\U0001f469\U0001f3fc\u200d\u2696|\U0001f469\U0001f3fd\u200d\u2696|\U0001f469\U0001f3fe\u200d\u2696|\U0001f469\U0001f3ff\u200d\u2696|\U0001f468\U0001f3fb\u200d\U0001f33e|\U0001f468\U0001f3fc\u200d\U0001f33e|\U0001f468\U0001f3fd\u200d\U0001f33e|\U0001f468\U0001f3fe\u200d\U0001f33e|\U0001f468\U0001f3ff\u200d\U0001f33e|\U0001f469\U0001f3fb\u200d\U0001f33e|\U0001f469\U0001f3fc\u200d\U0001f33e|\U0001f469\U0001f3fd\u200d\U0001f33e|\U0001f469\U0001f3fe\u200d\U0001f33e|\U0001f469\U0001f3ff\u200d\U0001f33e|\U0001f468\U0001f3fb\u200d\U0001f373|\U0001f468\U0001f3fc\u200d\U0001f373|\U0001f468\U0001f3fd\u200d\U0001f373|\U0001f468\U0001f3fe\u200d\U0001f373|\U0001f468\U0001f3ff\u200d\U0001f373|\U0001f469\U0001f3fb\u200d\U0001f373|\U0001f469\U0001f3fc\u200d\U0001f373|\U0001f469\U0001f3fd\u200d\U0001f373|\U0001f469\U0001f3fe\u200d\U0001f373|\U0001f469\U0001f3ff\u200d\U0001f373|\U0001f468\U0001f3fb\u200d\U0001f527|\U0001f468\U0001f3fc\u200d\U0001f527|\U0001f468\U0001f3fd\u200d\U0001f527|\U0001f468\U0001f3fe\u200d\U0001f527|\U0001f468\U0001f3ff\u200d\U0001f527|\U0001f469\U0001f3fb\u200d\U0001f527|\U0001f469\U0001f3fc\u200d\U0001f527|\U0001f469\U0001f3fd\u200d\U0001f527|\U0001f469\U0001f3fe\u200d\U0001f527|\U0001f469\U0001f3ff\u200d\U0001f527|\U0001f468\U0001f3fb\u200d\U0001f3ed|\U0001f468\U0001f3fc\u200d\U0001f3ed|\U0001f468\U0001f3fd\u200d\U0001f3ed|\U0001f468\U0001f3fe\u200d\U0001f3ed|\U0001f468\U0001f3ff\u200d\U0001f3ed|\U0001f469\U0001f3fb\u200d\U0001f3ed|\U0001f469\U0001f3fc\u200d\U0001f3ed|\U0001f469\U0001f3fd\u200d\U0001f3ed|\U0001f469\U0001f3fe\u200d\U0001f3ed|\U0001f469\U0001f3ff\u200d\U0001f3ed|\U0001f468\U0001f3fb\u200d\U0001f4bc|\U0001f468\U0001f3fc\u200d\U0001f4bc|\U0001f468\U0001f3fd\u200d\U0001f4bc|\U0001f468\U0001f3fe\u200d\U0001f4bc|\U0001f468\U0001f3ff\u200d\U0001f4bc|\U0001f469\U0001f3fb\u200d\U0001f4bc|\U0001f469\U0001f3fc\u200d\U0001f4bc|\U0001f469\U0001f3fd\u200d\U0001f4bc|\U0001f469\U0001f3fe\u200d\U0001f4bc|\U0001f469\U0001f3ff\u200d\U0001f4bc|\U0001f468\U0001f3fb\u200d\U0001f52c|\U0001f468\U0001f3fc\u200d\U0001f52c|\U0001f468\U0001f3fd\u200d\U0001f52c|\U0001f468\U0001f3fe\u200d\U0001f52c|\U0001f468\U0001f3ff\u200d\U0001f52c|\U0001f469\U0001f3fb\u200d\U0001f52c|\U0001f469\U0001f3fc\u200d\U0001f52c|\U0001f469\U0001f3fd\u200d\U0001f52c|\U0001f469\U0001f3fe\u200d\U0001f52c|\U0001f469\U0001f3ff\u200d\U0001f52c|\U0001f468\U0001f3fb\u200d\U0001f4bb|\U0001f468\U0001f3fc\u200d\U0001f4bb|\U0001f468\U0001f3fd\u200d\U0001f4bb|\U0001f468\U0001f3fe\u200d\U0001f4bb|\U0001f468\U0001f3ff\u200d\U0001f4bb|\U0001f469\U0001f3fb\u200d\U0001f4bb|\U0001f469\U0001f3fc\u200d\U0001f4bb|\U0001f469\U0001f3fd\u200d\U0001f4bb|\U0001f469\U0001f3fe\u200d\U0001f4bb|\U0001f469\U0001f3ff\u200d\U0001f4bb|\U0001f468\U0001f3fb\u200d\U0001f3a4|\U0001f468\U0001f3fc\u200d\U0001f3a4|\U0001f468\U0001f3fd\u200d\U0001f3a4|\U0001f468\U0001f3fe\u200d\U0001f3a4|\U0001f468\U0001f3ff\u200d\U0001f3a4|\U0001f469\U0001f3fb\u200d\U0001f3a4|\U0001f469\U0001f3fc\u200d\U0001f3a4|\U0001f469\U0001f3fd\u200d\U0001f3a4|\U0001f469\U0001f3fe\u200d\U0001f3a4|\U0001f469\U0001f3ff\u200d\U0001f3a4|\U0001f468\U0001f3fb\u200d\U0001f3a8|\U0001f468\U0001f3fc\u200d\U0001f3a8|\U0001f468\U0001f3fd\u200d\U0001f3a8|\U0001f468\U0001f3fe\u200d\U0001f3a8|\U0001f468\U0001f3ff\u200d\U0001f3a8|\U0001f469\U0001f3fb\u200d\U0001f3a8|\U0001f469\U0001f3fc\u200d\U0001f3a8|\U0001f469\U0001f3fd\u200d\U0001f3a8|\U0001f469\U0001f3fe\u200d\U0001f3a8|\U0001f469\U0001f3ff\u200d\U0001f3a8|\U0001f468\u200d\u2708\ufe0f|\U0001f468\U0001f3fb\u200d\u2708|\U0001f468\U0001f3fc\u200d\u2708|\U0001f468\U0001f3fd\u200d\u2708|\U0001f468\U0001f3fe\u200d\u2708|\U0001f468\U0001f3ff\u200d\u2708|\U0001f469\u200d\u2708\ufe0f|\U0001f469\U0001f3fb\u200d\u2708|\U0001f469\U0001f3fc\u200d\u2708|\U0001f469\U0001f3fd\u200d\u2708|\U0001f469\U0001f3fe\u200d\u2708|\U0001f469\U0001f3ff\u200d\u2708|\U0001f468\U0001f3fb\u200d\U0001f680|\U0001f468\U0001f3fc\u200d\U0001f680|\U0001f468\U0001f3fd\u200d\U0001f680|\U0001f468\U0001f3fe\u200d\U0001f680|\U0001f468\U0001f3ff\u200d\U0001f680|\U0001f469\U0001f3fb\u200d\U0001f680|\U0001f469\U0001f3fc\u200d\U0001f680|\U0001f469\U0001f3fd\u200d\U0001f680|\U0001f469\U0001f3fe\u200d\U0001f680|\U0001f469\U0001f3ff\u200d\U0001f680|\U0001f468\U0001f3fb\u200d\U0001f692|\U0001f468\U0001f3fc\u200d\U0001f692|\U0001f468\U0001f3fd\u200d\U0001f692|\U0001f468\U0001f3fe\u200d\U0001f692|\U0001f468\U0001f3ff\u200d\U0001f692|\U0001f469\U0001f3fb\u200d\U0001f692|\U0001f469\U0001f3fc\u200d\U0001f692|\U0001f469\U0001f3fd\u200d\U0001f692|\U0001f469\U0001f3fe\u200d\U0001f692|\U0001f469\U0001f3ff\u200d\U0001f692|\U0001f46e\u200d\u2642\ufe0f|\U0001f46e\U0001f3fb\u200d\u2642|\U0001f46e\U0001f3fc\u200d\u2642|\U0001f46e\U0001f3fd\u200d\u2642|\U0001f46e\U0001f3fe\u200d\u2642|\U0001f46e\U0001f3ff\u200d\u2642|\U0001f46e\u200d\u2640\ufe0f|\U0001f46e\U0001f3fb\u200d\u2640|\U0001f46e\U0001f3fc\u200d\u2640|\U0001f46e\U0001f3fd\u200d\u2640|\U0001f46e\U0001f3fe\u200d\u2640|\U0001f46e\U0001f3ff\u200d\u2640|\U0001f575\u200d\u2642\ufe0f|\U0001f575\ufe0f\u200d\u2642|\U0001f575\U0001f3fb\u200d\u2642|\U0001f575\U0001f3fc\u200d\u2642|\U0001f575\U0001f3fd\u200d\u2642|\U0001f575\U0001f3fe\u200d\u2642|\U0001f575\U0001f3ff\u200d\u2642|\U0001f575\u200d\u2640\ufe0f|\U0001f575\ufe0f\u200d\u2640|\U0001f575\U0001f3fb\u200d\u2640|\U0001f575\U0001f3fc\u200d\u2640|\U0001f575\U0001f3fd\u200d\u2640|\U0001f575\U0001f3fe\u200d\u2640|\U0001f575\U0001f3ff\u200d\u2640|\U0001f482\u200d\u2642\ufe0f|\U0001f482\U0001f3fb\u200d\u2642|\U0001f482\U0001f3fc\u200d\u2642|\U0001f482\U0001f3fd\u200d\u2642|\U0001f482\U0001f3fe\u200d\u2642|\U0001f482\U0001f3ff\u200d\u2642|\U0001f482\u200d\u2640\ufe0f|\U0001f482\U0001f3fb\u200d\u2640|\U0001f482\U0001f3fc\u200d\u2640|\U0001f482\U0001f3fd\u200d\u2640|\U0001f482\U0001f3fe\u200d\u2640|\U0001f482\U0001f3ff\u200d\u2640|\U0001f477\u200d\u2642\ufe0f|\U0001f477\U0001f3fb\u200d\u2642|\U0001f477\U0001f3fc\u200d\u2642|\U0001f477\U0001f3fd\u200d\u2642|\U0001f477\U0001f3fe\u200d\u2642|\U0001f477\U0001f3ff\u200d\u2642|\U0001f477\u200d\u2640\ufe0f|\U0001f477\U0001f3fb\u200d\u2640|\U0001f477\U0001f3fc\u200d\u2640|\U0001f477\U0001f3fd\u200d\u2640|\U0001f477\U0001f3fe\u200d\u2640|\U0001f477\U0001f3ff\u200d\u2640|\U0001f473\u200d\u2642\ufe0f|\U0001f473\U0001f3fb\u200d\u2642|\U0001f473\U0001f3fc\u200d\u2642|\U0001f473\U0001f3fd\u200d\u2642|\U0001f473\U0001f3fe\u200d\u2642|\U0001f473\U0001f3ff\u200d\u2642|\U0001f473\u200d\u2640\ufe0f|\U0001f473\U0001f3fb\u200d\u2640|\U0001f473\U0001f3fc\u200d\u2640|\U0001f473\U0001f3fd\u200d\u2640|\U0001f473\U0001f3fe\u200d\u2640|\U0001f473\U0001f3ff\u200d\u2640|\U0001f9b8\u200d\u2642\ufe0f|\U0001f9b8\U0001f3fb\u200d\u2642|\U0001f9b8\U0001f3fc\u200d\u2642|\U0001f9b8\U0001f3fd\u200d\u2642|\U0001f9b8\U0001f3fe\u200d\u2642|\U0001f9b8\U0001f3ff\u200d\u2642|\U0001f9b8\u200d\u2640\ufe0f|\U0001f9b8\U0001f3fb\u200d\u2640|\U0001f9b8\U0001f3fc\u200d\u2640|\U0001f9b8\U0001f3fd\u200d\u2640|\U0001f9b8\U0001f3fe\u200d\u2640|\U0001f9b8\U0001f3ff\u200d\u2640|\U0001f9b9\u200d\u2642\ufe0f|\U0001f9b9\U0001f3fb\u200d\u2642|\U0001f9b9\U0001f3fc\u200d\u2642|\U0001f9b9\U0001f3fd\u200d\u2642|\U0001f9b9\U0001f3fe\u200d\u2642|\U0001f9b9\U0001f3ff\u200d\u2642|\U0001f9b9\u200d\u2640\ufe0f|\U0001f9b9\U0001f3fb\u200d\u2640|\U0001f9b9\U0001f3fc\u200d\u2640|\U0001f9b9\U0001f3fd\u200d\u2640|\U0001f9b9\U0001f3fe\u200d\u2640|\U0001f9b9\U0001f3ff\u200d\u2640|\U0001f9d9\u200d\u2642\ufe0f|\U0001f9d9\U0001f3fb\u200d\u2642|\U0001f9d9\U0001f3fc\u200d\u2642|\U0001f9d9\U0001f3fd\u200d\u2642|\U0001f9d9\U0001f3fe\u200d\u2642|\U0001f9d9\U0001f3ff\u200d\u2642|\U0001f9d9\u200d\u2640\ufe0f|\U0001f9d9\U0001f3fb\u200d\u2640|\U0001f9d9\U0001f3fc\u200d\u2640|\U0001f9d9\U0001f3fd\u200d\u2640|\U0001f9d9\U0001f3fe\u200d\u2640|\U0001f9d9\U0001f3ff\u200d\u2640|\U0001f9da\u200d\u2642\ufe0f|\U0001f9da\U0001f3fb\u200d\u2642|\U0001f9da\U0001f3fc\u200d\u2642|\U0001f9da\U0001f3fd\u200d\u2642|\U0001f9da\U0001f3fe\u200d\u2642|\U0001f9da\U0001f3ff\u200d\u2642|\U0001f9da\u200d\u2640\ufe0f|\U0001f9da\U0001f3fb\u200d\u2640|\U0001f9da\U0001f3fc\u200d\u2640|\U0001f9da\U0001f3fd\u200d\u2640|\U0001f9da\U0001f3fe\u200d\u2640|\U0001f9da\U0001f3ff\u200d\u2640|\U0001f9db\u200d\u2642\ufe0f|\U0001f9db\U0001f3fb\u200d\u2642|\U0001f9db\U0001f3fc\u200d\u2642|\U0001f9db\U0001f3fd\u200d\u2642|\U0001f9db\U0001f3fe\u200d\u2642|\U0001f9db\U0001f3ff\u200d\u2642|\U0001f9db\u200d\u2640\ufe0f|\U0001f9db\U0001f3fb\u200d\u2640|\U0001f9db\U0001f3fc\u200d\u2640|\U0001f9db\U0001f3fd\u200d\u2640|\U0001f9db\U0001f3fe\u200d\u2640|\U0001f9db\U0001f3ff\u200d\u2640|\U0001f9dc\u200d\u2642\ufe0f|\U0001f9dc\U0001f3fb\u200d\u2642|\U0001f9dc\U0001f3fc\u200d\u2642|\U0001f9dc\U0001f3fd\u200d\u2642|\U0001f9dc\U0001f3fe\u200d\u2642|\U0001f9dc\U0001f3ff\u200d\u2642|\U0001f9dc\u200d\u2640\ufe0f|\U0001f9dc\U0001f3fb\u200d\u2640|\U0001f9dc\U0001f3fc\u200d\u2640|\U0001f9dc\U0001f3fd\u200d\u2640|\U0001f9dc\U0001f3fe\u200d\u2640|\U0001f9dc\U0001f3ff\u200d\u2640|\U0001f9dd\u200d\u2642\ufe0f|\U0001f9dd\U0001f3fb\u200d\u2642|\U0001f9dd\U0001f3fc\u200d\u2642|\U0001f9dd\U0001f3fd\u200d\u2642|\U0001f9dd\U0001f3fe\u200d\u2642|\U0001f9dd\U0001f3ff\u200d\u2642|\U0001f9dd\u200d\u2640\ufe0f|\U0001f9dd\U0001f3fb\u200d\u2640|\U0001f9dd\U0001f3fc\u200d\u2640|\U0001f9dd\U0001f3fd\u200d\u2640|\U0001f9dd\U0001f3fe\u200d\u2640|\U0001f9dd\U0001f3ff\u200d\u2640|\U0001f9de\u200d\u2642\ufe0f|\U0001f9de\u200d\u2640\ufe0f|\U0001f9df\u200d\u2642\ufe0f|\U0001f9df\u200d\u2640\ufe0f|\U0001f486\u200d\u2642\ufe0f|\U0001f486\U0001f3fb\u200d\u2642|\U0001f486\U0001f3fc\u200d\u2642|\U0001f486\U0001f3fd\u200d\u2642|\U0001f486\U0001f3fe\u200d\u2642|\U0001f486\U0001f3ff\u200d\u2642|\U0001f486\u200d\u2640\ufe0f|\U0001f486\U0001f3fb\u200d\u2640|\U0001f486\U0001f3fc\u200d\u2640|\U0001f486\U0001f3fd\u200d\u2640|\U0001f486\U0001f3fe\u200d\u2640|\U0001f486\U0001f3ff\u200d\u2640|\U0001f487\u200d\u2642\ufe0f|\U0001f487\U0001f3fb\u200d\u2642|\U0001f487\U0001f3fc\u200d\u2642|\U0001f487\U0001f3fd\u200d\u2642|\U0001f487\U0001f3fe\u200d\u2642|\U0001f487\U0001f3ff\u200d\u2642|\U0001f487\u200d\u2640\ufe0f|\U0001f487\U0001f3fb\u200d\u2640|\U0001f487\U0001f3fc\u200d\u2640|\U0001f487\U0001f3fd\u200d\u2640|\U0001f487\U0001f3fe\u200d\u2640|\U0001f487\U0001f3ff\u200d\u2640|\U0001f6b6\u200d\u2642\ufe0f|\U0001f6b6\U0001f3fb\u200d\u2642|\U0001f6b6\U0001f3fc\u200d\u2642|\U0001f6b6\U0001f3fd\u200d\u2642|\U0001f6b6\U0001f3fe\u200d\u2642|\U0001f6b6\U0001f3ff\u200d\u2642|\U0001f6b6\u200d\u2640\ufe0f|\U0001f6b6\U0001f3fb\u200d\u2640|\U0001f6b6\U0001f3fc\u200d\u2640|\U0001f6b6\U0001f3fd\u200d\u2640|\U0001f6b6\U0001f3fe\u200d\u2640|\U0001f6b6\U0001f3ff\u200d\u2640|\U0001f9cd\u200d\u2642\ufe0f|\U0001f9cd\U0001f3fb\u200d\u2642|\U0001f9cd\U0001f3fc\u200d\u2642|\U0001f9cd\U0001f3fd\u200d\u2642|\U0001f9cd\U0001f3fe\u200d\u2642|\U0001f9cd\U0001f3ff\u200d\u2642|\U0001f9cd\u200d\u2640\ufe0f|\U0001f9cd\U0001f3fb\u200d\u2640|\U0001f9cd\U0001f3fc\u200d\u2640|\U0001f9cd\U0001f3fd\u200d\u2640|\U0001f9cd\U0001f3fe\u200d\u2640|\U0001f9cd\U0001f3ff\u200d\u2640|\U0001f9ce\u200d\u2642\ufe0f|\U0001f9ce\U0001f3fb\u200d\u2642|\U0001f9ce\U0001f3fc\u200d\u2642|\U0001f9ce\U0001f3fd\u200d\u2642|\U0001f9ce\U0001f3fe\u200d\u2642|\U0001f9ce\U0001f3ff\u200d\u2642|\U0001f9ce\u200d\u2640\ufe0f|\U0001f9ce\U0001f3fb\u200d\u2640|\U0001f9ce\U0001f3fc\u200d\u2640|\U0001f9ce\U0001f3fd\u200d\u2640|\U0001f9ce\U0001f3fe\u200d\u2640|\U0001f9ce\U0001f3ff\u200d\u2640|\U0001f468\U0001f3fb\u200d\U0001f9af|\U0001f468\U0001f3fc\u200d\U0001f9af|\U0001f468\U0001f3fd\u200d\U0001f9af|\U0001f468\U0001f3fe\u200d\U0001f9af|\U0001f468\U0001f3ff\u200d\U0001f9af|\U0001f469\U0001f3fb\u200d\U0001f9af|\U0001f469\U0001f3fc\u200d\U0001f9af|\U0001f469\U0001f3fd\u200d\U0001f9af|\U0001f469\U0001f3fe\u200d\U0001f9af|\U0001f469\U0001f3ff\u200d\U0001f9af|\U0001f468\U0001f3fb\u200d\U0001f9bc|\U0001f468\U0001f3fc\u200d\U0001f9bc|\U0001f468\U0001f3fd\u200d\U0001f9bc|\U0001f468\U0001f3fe\u200d\U0001f9bc|\U0001f468\U0001f3ff\u200d\U0001f9bc|\U0001f469\U0001f3fb\u200d\U0001f9bc|\U0001f469\U0001f3fc\u200d\U0001f9bc|\U0001f469\U0001f3fd\u200d\U0001f9bc|\U0001f469\U0001f3fe\u200d\U0001f9bc|\U0001f469\U0001f3ff\u200d\U0001f9bc|\U0001f468\U0001f3fb\u200d\U0001f9bd|\U0001f468\U0001f3fc\u200d\U0001f9bd|\U0001f468\U0001f3fd\u200d\U0001f9bd|\U0001f468\U0001f3fe\u200d\U0001f9bd|\U0001f468\U0001f3ff\u200d\U0001f9bd|\U0001f469\U0001f3fb\u200d\U0001f9bd|\U0001f469\U0001f3fc\u200d\U0001f9bd|\U0001f469\U0001f3fd\u200d\U0001f9bd|\U0001f469\U0001f3fe\u200d\U0001f9bd|\U0001f469\U0001f3ff\u200d\U0001f9bd|\U0001f3c3\u200d\u2642\ufe0f|\U0001f3c3\U0001f3fb\u200d\u2642|\U0001f3c3\U0001f3fc\u200d\u2642|\U0001f3c3\U0001f3fd\u200d\u2642|\U0001f3c3\U0001f3fe\u200d\u2642|\U0001f3c3\U0001f3ff\u200d\u2642|\U0001f3c3\u200d\u2640\ufe0f|\U0001f3c3\U0001f3fb\u200d\u2640|\U0001f3c3\U0001f3fc\u200d\u2640|\U0001f3c3\U0001f3fd\u200d\u2640|\U0001f3c3\U0001f3fe\u200d\u2640|\U0001f3c3\U0001f3ff\u200d\u2640|\U0001f46f\u200d\u2642\ufe0f|\U0001f46f\u200d\u2640\ufe0f|\U0001f9d6\u200d\u2642\ufe0f|\U0001f9d6\U0001f3fb\u200d\u2642|\U0001f9d6\U0001f3fc\u200d\u2642|\U0001f9d6\U0001f3fd\u200d\u2642|\U0001f9d6\U0001f3fe\u200d\u2642|\U0001f9d6\U0001f3ff\u200d\u2642|\U0001f9d6\u200d\u2640\ufe0f|\U0001f9d6\U0001f3fb\u200d\u2640|\U0001f9d6\U0001f3fc\u200d\u2640|\U0001f9d6\U0001f3fd\u200d\u2640|\U0001f9d6\U0001f3fe\u200d\u2640|\U0001f9d6\U0001f3ff\u200d\u2640|\U0001f9d7\u200d\u2642\ufe0f|\U0001f9d7\U0001f3fb\u200d\u2642|\U0001f9d7\U0001f3fc\u200d\u2642|\U0001f9d7\U0001f3fd\u200d\u2642|\U0001f9d7\U0001f3fe\u200d\u2642|\U0001f9d7\U0001f3ff\u200d\u2642|\U0001f9d7\u200d\u2640\ufe0f|\U0001f9d7\U0001f3fb\u200d\u2640|\U0001f9d7\U0001f3fc\u200d\u2640|\U0001f9d7\U0001f3fd\u200d\u2640|\U0001f9d7\U0001f3fe\u200d\u2640|\U0001f9d7\U0001f3ff\u200d\u2640|\U0001f3cc\u200d\u2642\ufe0f|\U0001f3cc\ufe0f\u200d\u2642|\U0001f3cc\U0001f3fb\u200d\u2642|\U0001f3cc\U0001f3fc\u200d\u2642|\U0001f3cc\U0001f3fd\u200d\u2642|\U0001f3cc\U0001f3fe\u200d\u2642|\U0001f3cc\U0001f3ff\u200d\u2642|\U0001f3cc\u200d\u2640\ufe0f|\U0001f3cc\ufe0f\u200d\u2640|\U0001f3cc\U0001f3fb\u200d\u2640|\U0001f3cc\U0001f3fc\u200d\u2640|\U0001f3cc\U0001f3fd\u200d\u2640|\U0001f3cc\U0001f3fe\u200d\u2640|\U0001f3cc\U0001f3ff\u200d\u2640|\U0001f3c4\u200d\u2642\ufe0f|\U0001f3c4\U0001f3fb\u200d\u2642|\U0001f3c4\U0001f3fc\u200d\u2642|\U0001f3c4\U0001f3fd\u200d\u2642|\U0001f3c4\U0001f3fe\u200d\u2642|\U0001f3c4\U0001f3ff\u200d\u2642|\U0001f3c4\u200d\u2640\ufe0f|\U0001f3c4\U0001f3fb\u200d\u2640|\U0001f3c4\U0001f3fc\u200d\u2640|\U0001f3c4\U0001f3fd\u200d\u2640|\U0001f3c4\U0001f3fe\u200d\u2640|\U0001f3c4\U0001f3ff\u200d\u2640|\U0001f6a3\u200d\u2642\ufe0f|\U0001f6a3\U0001f3fb\u200d\u2642|\U0001f6a3\U0001f3fc\u200d\u2642|\U0001f6a3\U0001f3fd\u200d\u2642|\U0001f6a3\U0001f3fe\u200d\u2642|\U0001f6a3\U0001f3ff\u200d\u2642|\U0001f6a3\u200d\u2640\ufe0f|\U0001f6a3\U0001f3fb\u200d\u2640|\U0001f6a3\U0001f3fc\u200d\u2640|\U0001f6a3\U0001f3fd\u200d\u2640|\U0001f6a3\U0001f3fe\u200d\u2640|\U0001f6a3\U0001f3ff\u200d\u2640|\U0001f3ca\u200d\u2642\ufe0f|\U0001f3ca\U0001f3fb\u200d\u2642|\U0001f3ca\U0001f3fc\u200d\u2642|\U0001f3ca\U0001f3fd\u200d\u2642|\U0001f3ca\U0001f3fe\u200d\u2642|\U0001f3ca\U0001f3ff\u200d\u2642|\U0001f3ca\u200d\u2640\ufe0f|\U0001f3ca\U0001f3fb\u200d\u2640|\U0001f3ca\U0001f3fc\u200d\u2640|\U0001f3ca\U0001f3fd\u200d\u2640|\U0001f3ca\U0001f3fe\u200d\u2640|\U0001f3ca\U0001f3ff\u200d\u2640|\u26f9\u200d\u2642\ufe0f|\u26f9\ufe0f\u200d\u2642|\u26f9\U0001f3fb\u200d\u2642|\u26f9\U0001f3fc\u200d\u2642|\u26f9\U0001f3fd\u200d\u2642|\u26f9\U0001f3fe\u200d\u2642|\u26f9\U0001f3ff\u200d\u2642|\u26f9\u200d\u2640\ufe0f|\u26f9\ufe0f\u200d\u2640|\u26f9\U0001f3fb\u200d\u2640|\u26f9\U0001f3fc\u200d\u2640|\u26f9\U0001f3fd\u200d\u2640|\u26f9\U0001f3fe\u200d\u2640|\u26f9\U0001f3ff\u200d\u2640|\U0001f3cb\u200d\u2642\ufe0f|\U0001f3cb\ufe0f\u200d\u2642|\U0001f3cb\U0001f3fb\u200d\u2642|\U0001f3cb\U0001f3fc\u200d\u2642|\U0001f3cb\U0001f3fd\u200d\u2642|\U0001f3cb\U0001f3fe\u200d\u2642|\U0001f3cb\U0001f3ff\u200d\u2642|\U0001f3cb\u200d\u2640\ufe0f|\U0001f3cb\ufe0f\u200d\u2640|\U0001f3cb\U0001f3fb\u200d\u2640|\U0001f3cb\U0001f3fc\u200d\u2640|\U0001f3cb\U0001f3fd\u200d\u2640|\U0001f3cb\U0001f3fe\u200d\u2640|\U0001f3cb\U0001f3ff\u200d\u2640|\U0001f6b4\u200d\u2642\ufe0f|\U0001f6b4\U0001f3fb\u200d\u2642|\U0001f6b4\U0001f3fc\u200d\u2642|\U0001f6b4\U0001f3fd\u200d\u2642|\U0001f6b4\U0001f3fe\u200d\u2642|\U0001f6b4\U0001f3ff\u200d\u2642|\U0001f6b4\u200d\u2640\ufe0f|\U0001f6b4\U0001f3fb\u200d\u2640|\U0001f6b4\U0001f3fc\u200d\u2640|\U0001f6b4\U0001f3fd\u200d\u2640|\U0001f6b4\U0001f3fe\u200d\u2640|\U0001f6b4\U0001f3ff\u200d\u2640|\U0001f6b5\u200d\u2642\ufe0f|\U0001f6b5\U0001f3fb\u200d\u2642|\U0001f6b5\U0001f3fc\u200d\u2642|\U0001f6b5\U0001f3fd\u200d\u2642|\U0001f6b5\U0001f3fe\u200d\u2642|\U0001f6b5\U0001f3ff\u200d\u2642|\U0001f6b5\u200d\u2640\ufe0f|\U0001f6b5\U0001f3fb\u200d\u2640|\U0001f6b5\U0001f3fc\u200d\u2640|\U0001f6b5\U0001f3fd\u200d\u2640|\U0001f6b5\U0001f3fe\u200d\u2640|\U0001f6b5\U0001f3ff\u200d\u2640|\U0001f938\u200d\u2642\ufe0f|\U0001f938\U0001f3fb\u200d\u2642|\U0001f938\U0001f3fc\u200d\u2642|\U0001f938\U0001f3fd\u200d\u2642|\U0001f938\U0001f3fe\u200d\u2642|\U0001f938\U0001f3ff\u200d\u2642|\U0001f938\u200d\u2640\ufe0f|\U0001f938\U0001f3fb\u200d\u2640|\U0001f938\U0001f3fc\u200d\u2640|\U0001f938\U0001f3fd\u200d\u2640|\U0001f938\U0001f3fe\u200d\u2640|\U0001f938\U0001f3ff\u200d\u2640|\U0001f93c\u200d\u2642\ufe0f|\U0001f93c\u200d\u2640\ufe0f|\U0001f93d\u200d\u2642\ufe0f|\U0001f93d\U0001f3fb\u200d\u2642|\U0001f93d\U0001f3fc\u200d\u2642|\U0001f93d\U0001f3fd\u200d\u2642|\U0001f93d\U0001f3fe\u200d\u2642|\U0001f93d\U0001f3ff\u200d\u2642|\U0001f93d\u200d\u2640\ufe0f|\U0001f93d\U0001f3fb\u200d\u2640|\U0001f93d\U0001f3fc\u200d\u2640|\U0001f93d\U0001f3fd\u200d\u2640|\U0001f93d\U0001f3fe\u200d\u2640|\U0001f93d\U0001f3ff\u200d\u2640|\U0001f93e\u200d\u2642\ufe0f|\U0001f93e\U0001f3fb\u200d\u2642|\U0001f93e\U0001f3fc\u200d\u2642|\U0001f93e\U0001f3fd\u200d\u2642|\U0001f93e\U0001f3fe\u200d\u2642|\U0001f93e\U0001f3ff\u200d\u2642|\U0001f93e\u200d\u2640\ufe0f|\U0001f93e\U0001f3fb\u200d\u2640|\U0001f93e\U0001f3fc\u200d\u2640|\U0001f93e\U0001f3fd\u200d\u2640|\U0001f93e\U0001f3fe\u200d\u2640|\U0001f93e\U0001f3ff\u200d\u2640|\U0001f939\u200d\u2642\ufe0f|\U0001f939\U0001f3fb\u200d\u2642|\U0001f939\U0001f3fc\u200d\u2642|\U0001f939\U0001f3fd\u200d\u2642|\U0001f939\U0001f3fe\u200d\u2642|\U0001f939\U0001f3ff\u200d\u2642|\U0001f939\u200d\u2640\ufe0f|\U0001f939\U0001f3fb\u200d\u2640|\U0001f939\U0001f3fc\u200d\u2640|\U0001f939\U0001f3fd\u200d\u2640|\U0001f939\U0001f3fe\u200d\u2640|\U0001f939\U0001f3ff\u200d\u2640|\U0001f9d8\u200d\u2642\ufe0f|\U0001f9d8\U0001f3fb\u200d\u2642|\U0001f9d8\U0001f3fc\u200d\u2642|\U0001f9d8\U0001f3fd\u200d\u2642|\U0001f9d8\U0001f3fe\u200d\u2642|\U0001f9d8\U0001f3ff\u200d\u2642|\U0001f9d8\u200d\u2640\ufe0f|\U0001f9d8\U0001f3fb\u200d\u2640|\U0001f9d8\U0001f3fc\u200d\u2640|\U0001f9d8\U0001f3fd\u200d\u2640|\U0001f9d8\U0001f3fe\u200d\u2640|\U0001f9d8\U0001f3ff\u200d\u2640|\U0001f3f3\ufe0f\u200d\U0001f308|\U0001f3f4\u200d\u2620\ufe0f|\U0001f441\u200d\U0001f5e8|\U0001f471\u200d\u2642|\U0001f468\u200d\U0001f9b0|\U0001f468\u200d\U0001f9b1|\U0001f468\u200d\U0001f9b3|\U0001f468\u200d\U0001f9b2|\U0001f471\u200d\u2640|\U0001f469\u200d\U0001f9b0|\U0001f469\u200d\U0001f9b1|\U0001f469\u200d\U0001f9b3|\U0001f469\u200d\U0001f9b2|\U0001f64d\u200d\u2642|\U0001f64d\u200d\u2640|\U0001f64e\u200d\u2642|\U0001f64e\u200d\u2640|\U0001f645\u200d\u2642|\U0001f645\u200d\u2640|\U0001f646\u200d\u2642|\U0001f646\u200d\u2640|\U0001f481\u200d\u2642|\U0001f481\u200d\u2640|\U0001f64b\u200d\u2642|\U0001f64b\u200d\u2640|\U0001f9cf\u200d\u2642|\U0001f9cf\u200d\u2640|\U0001f647\u200d\u2642|\U0001f647\u200d\u2640|\U0001f926\u200d\u2642|\U0001f926\u200d\u2640|\U0001f937\u200d\u2642|\U0001f937\u200d\u2640|\U0001f468\u200d\u2695|\U0001f469\u200d\u2695|\U0001f468\u200d\U0001f393|\U0001f469\u200d\U0001f393|\U0001f468\u200d\U0001f3eb|\U0001f469\u200d\U0001f3eb|\U0001f468\u200d\u2696|\U0001f469\u200d\u2696|\U0001f468\u200d\U0001f33e|\U0001f469\u200d\U0001f33e|\U0001f468\u200d\U0001f373|\U0001f469\u200d\U0001f373|\U0001f468\u200d\U0001f527|\U0001f469\u200d\U0001f527|\U0001f468\u200d\U0001f3ed|\U0001f469\u200d\U0001f3ed|\U0001f468\u200d\U0001f4bc|\U0001f469\u200d\U0001f4bc|\U0001f468\u200d\U0001f52c|\U0001f469\u200d\U0001f52c|\U0001f468\u200d\U0001f4bb|\U0001f469\u200d\U0001f4bb|\U0001f468\u200d\U0001f3a4|\U0001f469\u200d\U0001f3a4|\U0001f468\u200d\U0001f3a8|\U0001f469\u200d\U0001f3a8|\U0001f468\u200d\u2708|\U0001f469\u200d\u2708|\U0001f468\u200d\U0001f680|\U0001f469\u200d\U0001f680|\U0001f468\u200d\U0001f692|\U0001f469\u200d\U0001f692|\U0001f46e\u200d\u2642|\U0001f46e\u200d\u2640|\U0001f575\u200d\u2642|\U0001f575\u200d\u2640|\U0001f482\u200d\u2642|\U0001f482\u200d\u2640|\U0001f477\u200d\u2642|\U0001f477\u200d\u2640|\U0001f473\u200d\u2642|\U0001f473\u200d\u2640|\U0001f9b8\u200d\u2642|\U0001f9b8\u200d\u2640|\U0001f9b9\u200d\u2642|\U0001f9b9\u200d\u2640|\U0001f9d9\u200d\u2642|\U0001f9d9\u200d\u2640|\U0001f9da\u200d\u2642|\U0001f9da\u200d\u2640|\U0001f9db\u200d\u2642|\U0001f9db\u200d\u2640|\U0001f9dc\u200d\u2642|\U0001f9dc\u200d\u2640|\U0001f9dd\u200d\u2642|\U0001f9dd\u200d\u2640|\U0001f9de\u200d\u2642|\U0001f9de\u200d\u2640|\U0001f9df\u200d\u2642|\U0001f9df\u200d\u2640|\U0001f486\u200d\u2642|\U0001f486\u200d\u2640|\U0001f487\u200d\u2642|\U0001f487\u200d\u2640|\U0001f6b6\u200d\u2642|\U0001f6b6\u200d\u2640|\U0001f9cd\u200d\u2642|\U0001f9cd\u200d\u2640|\U0001f9ce\u200d\u2642|\U0001f9ce\u200d\u2640|\U0001f468\u200d\U0001f9af|\U0001f469\u200d\U0001f9af|\U0001f468\u200d\U0001f9bc|\U0001f469\u200d\U0001f9bc|\U0001f468\u200d\U0001f9bd|\U0001f469\u200d\U0001f9bd|\U0001f3c3\u200d\u2642|\U0001f3c3\u200d\u2640|\U0001f46f\u200d\u2642|\U0001f46f\u200d\u2640|\U0001f9d6\u200d\u2642|\U0001f9d6\u200d\u2640|\U0001f9d7\u200d\u2642|\U0001f9d7\u200d\u2640|\U0001f3cc\u200d\u2642|\U0001f3cc\u200d\u2640|\U0001f3c4\u200d\u2642|\U0001f3c4\u200d\u2640|\U0001f6a3\u200d\u2642|\U0001f6a3\u200d\u2640|\U0001f3ca\u200d\u2642|\U0001f3ca\u200d\u2640|\u26f9\u200d\u2642|\u26f9\u200d\u2640|\U0001f3cb\u200d\u2642|\U0001f3cb\u200d\u2640|\U0001f6b4\u200d\u2642|\U0001f6b4\u200d\u2640|\U0001f6b5\u200d\u2642|\U0001f6b5\u200d\u2640|\U0001f938\u200d\u2642|\U0001f938\u200d\u2640|\U0001f93c\u200d\u2642|\U0001f93c\u200d\u2640|\U0001f93d\u200d\u2642|\U0001f93d\u200d\u2640|\U0001f93e\u200d\u2642|\U0001f93e\u200d\u2640|\U0001f939\u200d\u2642|\U0001f939\u200d\u2640|\U0001f9d8\u200d\u2642|\U0001f9d8\u200d\u2640|\U0001f468\u200d\U0001f466|\U0001f468\u200d\U0001f467|\U0001f469\u200d\U0001f466|\U0001f469\u200d\U0001f467|\U0001f415\u200d\U0001f9ba|\\#\ufe0f\u20e3|\\*\ufe0f\u20e3|0\ufe0f\u20e3|1\ufe0f\u20e3|2\ufe0f\u20e3|3\ufe0f\u20e3|4\ufe0f\u20e3|5\ufe0f\u20e3|6\ufe0f\u20e3|7\ufe0f\u20e3|8\ufe0f\u20e3|9\ufe0f\u20e3|\U0001f3f3\u200d\U0001f308|\U0001f3f4\u200d\u2620|\u263a\ufe0f|\u2639\ufe0f|\u2620\ufe0f|\u2763\ufe0f|\u2764\ufe0f|\U0001f573\ufe0f|\U0001f5e8\ufe0f|\U0001f5ef\ufe0f|\U0001f44b\U0001f3fb|\U0001f44b\U0001f3fc|\U0001f44b\U0001f3fd|\U0001f44b\U0001f3fe|\U0001f44b\U0001f3ff|\U0001f91a\U0001f3fb|\U0001f91a\U0001f3fc|\U0001f91a\U0001f3fd|\U0001f91a\U0001f3fe|\U0001f91a\U0001f3ff|\U0001f590\ufe0f|\U0001f590\U0001f3fb|\U0001f590\U0001f3fc|\U0001f590\U0001f3fd|\U0001f590\U0001f3fe|\U0001f590\U0001f3ff|\u270b\U0001f3fb|\u270b\U0001f3fc|\u270b\U0001f3fd|\u270b\U0001f3fe|\u270b\U0001f3ff|\U0001f596\U0001f3fb|\U0001f596\U0001f3fc|\U0001f596\U0001f3fd|\U0001f596\U0001f3fe|\U0001f596\U0001f3ff|\U0001f44c\U0001f3fb|\U0001f44c\U0001f3fc|\U0001f44c\U0001f3fd|\U0001f44c\U0001f3fe|\U0001f44c\U0001f3ff|\U0001f90f\U0001f3fb|\U0001f90f\U0001f3fc|\U0001f90f\U0001f3fd|\U0001f90f\U0001f3fe|\U0001f90f\U0001f3ff|\u270c\ufe0f|\u270c\U0001f3fb|\u270c\U0001f3fc|\u270c\U0001f3fd|\u270c\U0001f3fe|\u270c\U0001f3ff|\U0001f91e\U0001f3fb|\U0001f91e\U0001f3fc|\U0001f91e\U0001f3fd|\U0001f91e\U0001f3fe|\U0001f91e\U0001f3ff|\U0001f91f\U0001f3fb|\U0001f91f\U0001f3fc|\U0001f91f\U0001f3fd|\U0001f91f\U0001f3fe|\U0001f91f\U0001f3ff|\U0001f918\U0001f3fb|\U0001f918\U0001f3fc|\U0001f918\U0001f3fd|\U0001f918\U0001f3fe|\U0001f918\U0001f3ff|\U0001f919\U0001f3fb|\U0001f919\U0001f3fc|\U0001f919\U0001f3fd|\U0001f919\U0001f3fe|\U0001f919\U0001f3ff|\U0001f448\U0001f3fb|\U0001f448\U0001f3fc|\U0001f448\U0001f3fd|\U0001f448\U0001f3fe|\U0001f448\U0001f3ff|\U0001f449\U0001f3fb|\U0001f449\U0001f3fc|\U0001f449\U0001f3fd|\U0001f449\U0001f3fe|\U0001f449\U0001f3ff|\U0001f446\U0001f3fb|\U0001f446\U0001f3fc|\U0001f446\U0001f3fd|\U0001f446\U0001f3fe|\U0001f446\U0001f3ff|\U0001f595\U0001f3fb|\U0001f595\U0001f3fc|\U0001f595\U0001f3fd|\U0001f595\U0001f3fe|\U0001f595\U0001f3ff|\U0001f447\U0001f3fb|\U0001f447\U0001f3fc|\U0001f447\U0001f3fd|\U0001f447\U0001f3fe|\U0001f447\U0001f3ff|\u261d\ufe0f|\u261d\U0001f3fb|\u261d\U0001f3fc|\u261d\U0001f3fd|\u261d\U0001f3fe|\u261d\U0001f3ff|\U0001f44d\U0001f3fb|\U0001f44d\U0001f3fc|\U0001f44d\U0001f3fd|\U0001f44d\U0001f3fe|\U0001f44d\U0001f3ff|\U0001f44e\U0001f3fb|\U0001f44e\U0001f3fc|\U0001f44e\U0001f3fd|\U0001f44e\U0001f3fe|\U0001f44e\U0001f3ff|\u270a\U0001f3fb|\u270a\U0001f3fc|\u270a\U0001f3fd|\u270a\U0001f3fe|\u270a\U0001f3ff|\U0001f44a\U0001f3fb|\U0001f44a\U0001f3fc|\U0001f44a\U0001f3fd|\U0001f44a\U0001f3fe|\U0001f44a\U0001f3ff|\U0001f91b\U0001f3fb|\U0001f91b\U0001f3fc|\U0001f91b\U0001f3fd|\U0001f91b\U0001f3fe|\U0001f91b\U0001f3ff|\U0001f91c\U0001f3fb|\U0001f91c\U0001f3fc|\U0001f91c\U0001f3fd|\U0001f91c\U0001f3fe|\U0001f91c\U0001f3ff|\U0001f44f\U0001f3fb|\U0001f44f\U0001f3fc|\U0001f44f\U0001f3fd|\U0001f44f\U0001f3fe|\U0001f44f\U0001f3ff|\U0001f64c\U0001f3fb|\U0001f64c\U0001f3fc|\U0001f64c\U0001f3fd|\U0001f64c\U0001f3fe|\U0001f64c\U0001f3ff|\U0001f450\U0001f3fb|\U0001f450\U0001f3fc|\U0001f450\U0001f3fd|\U0001f450\U0001f3fe|\U0001f450\U0001f3ff|\U0001f932\U0001f3fb|\U0001f932\U0001f3fc|\U0001f932\U0001f3fd|\U0001f932\U0001f3fe|\U0001f932\U0001f3ff|\U0001f64f\U0001f3fb|\U0001f64f\U0001f3fc|\U0001f64f\U0001f3fd|\U0001f64f\U0001f3fe|\U0001f64f\U0001f3ff|\u270d\ufe0f|\u270d\U0001f3fb|\u270d\U0001f3fc|\u270d\U0001f3fd|\u270d\U0001f3fe|\u270d\U0001f3ff|\U0001f485\U0001f3fb|\U0001f485\U0001f3fc|\U0001f485\U0001f3fd|\U0001f485\U0001f3fe|\U0001f485\U0001f3ff|\U0001f933\U0001f3fb|\U0001f933\U0001f3fc|\U0001f933\U0001f3fd|\U0001f933\U0001f3fe|\U0001f933\U0001f3ff|\U0001f4aa\U0001f3fb|\U0001f4aa\U0001f3fc|\U0001f4aa\U0001f3fd|\U0001f4aa\U0001f3fe|\U0001f4aa\U0001f3ff|\U0001f9b5\U0001f3fb|\U0001f9b5\U0001f3fc|\U0001f9b5\U0001f3fd|\U0001f9b5\U0001f3fe|\U0001f9b5\U0001f3ff|\U0001f9b6\U0001f3fb|\U0001f9b6\U0001f3fc|\U0001f9b6\U0001f3fd|\U0001f9b6\U0001f3fe|\U0001f9b6\U0001f3ff|\U0001f442\U0001f3fb|\U0001f442\U0001f3fc|\U0001f442\U0001f3fd|\U0001f442\U0001f3fe|\U0001f442\U0001f3ff|\U0001f9bb\U0001f3fb|\U0001f9bb\U0001f3fc|\U0001f9bb\U0001f3fd|\U0001f9bb\U0001f3fe|\U0001f9bb\U0001f3ff|\U0001f443\U0001f3fb|\U0001f443\U0001f3fc|\U0001f443\U0001f3fd|\U0001f443\U0001f3fe|\U0001f443\U0001f3ff|\U0001f441\ufe0f|\U0001f476\U0001f3fb|\U0001f476\U0001f3fc|\U0001f476\U0001f3fd|\U0001f476\U0001f3fe|\U0001f476\U0001f3ff|\U0001f9d2\U0001f3fb|\U0001f9d2\U0001f3fc|\U0001f9d2\U0001f3fd|\U0001f9d2\U0001f3fe|\U0001f9d2\U0001f3ff|\U0001f466\U0001f3fb|\U0001f466\U0001f3fc|\U0001f466\U0001f3fd|\U0001f466\U0001f3fe|\U0001f466\U0001f3ff|\U0001f467\U0001f3fb|\U0001f467\U0001f3fc|\U0001f467\U0001f3fd|\U0001f467\U0001f3fe|\U0001f467\U0001f3ff|\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fd|\U0001f9d1\U0001f3fe|\U0001f9d1\U0001f3ff|\U0001f471\U0001f3fb|\U0001f471\U0001f3fc|\U0001f471\U0001f3fd|\U0001f471\U0001f3fe|\U0001f471\U0001f3ff|\U0001f468\U0001f3fb|\U0001f468\U0001f3fc|\U0001f468\U0001f3fd|\U0001f468\U0001f3fe|\U0001f468\U0001f3ff|\U0001f9d4\U0001f3fb|\U0001f9d4\U0001f3fc|\U0001f9d4\U0001f3fd|\U0001f9d4\U0001f3fe|\U0001f9d4\U0001f3ff|\U0001f469\U0001f3fb|\U0001f469\U0001f3fc|\U0001f469\U0001f3fd|\U0001f469\U0001f3fe|\U0001f469\U0001f3ff|\U0001f9d3\U0001f3fb|\U0001f9d3\U0001f3fc|\U0001f9d3\U0001f3fd|\U0001f9d3\U0001f3fe|\U0001f9d3\U0001f3ff|\U0001f474\U0001f3fb|\U0001f474\U0001f3fc|\U0001f474\U0001f3fd|\U0001f474\U0001f3fe|\U0001f474\U0001f3ff|\U0001f475\U0001f3fb|\U0001f475\U0001f3fc|\U0001f475\U0001f3fd|\U0001f475\U0001f3fe|\U0001f475\U0001f3ff|\U0001f64d\U0001f3fb|\U0001f64d\U0001f3fc|\U0001f64d\U0001f3fd|\U0001f64d\U0001f3fe|\U0001f64d\U0001f3ff|\U0001f64e\U0001f3fb|\U0001f64e\U0001f3fc|\U0001f64e\U0001f3fd|\U0001f64e\U0001f3fe|\U0001f64e\U0001f3ff|\U0001f645\U0001f3fb|\U0001f645\U0001f3fc|\U0001f645\U0001f3fd|\U0001f645\U0001f3fe|\U0001f645\U0001f3ff|\U0001f646\U0001f3fb|\U0001f646\U0001f3fc|\U0001f646\U0001f3fd|\U0001f646\U0001f3fe|\U0001f646\U0001f3ff|\U0001f481\U0001f3fb|\U0001f481\U0001f3fc|\U0001f481\U0001f3fd|\U0001f481\U0001f3fe|\U0001f481\U0001f3ff|\U0001f64b\U0001f3fb|\U0001f64b\U0001f3fc|\U0001f64b\U0001f3fd|\U0001f64b\U0001f3fe|\U0001f64b\U0001f3ff|\U0001f9cf\U0001f3fb|\U0001f9cf\U0001f3fc|\U0001f9cf\U0001f3fd|\U0001f9cf\U0001f3fe|\U0001f9cf\U0001f3ff|\U0001f647\U0001f3fb|\U0001f647\U0001f3fc|\U0001f647\U0001f3fd|\U0001f647\U0001f3fe|\U0001f647\U0001f3ff|\U0001f926\U0001f3fb|\U0001f926\U0001f3fc|\U0001f926\U0001f3fd|\U0001f926\U0001f3fe|\U0001f926\U0001f3ff|\U0001f937\U0001f3fb|\U0001f937\U0001f3fc|\U0001f937\U0001f3fd|\U0001f937\U0001f3fe|\U0001f937\U0001f3ff|\U0001f46e\U0001f3fb|\U0001f46e\U0001f3fc|\U0001f46e\U0001f3fd|\U0001f46e\U0001f3fe|\U0001f46e\U0001f3ff|\U0001f575\ufe0f|\U0001f575\U0001f3fb|\U0001f575\U0001f3fc|\U0001f575\U0001f3fd|\U0001f575\U0001f3fe|\U0001f575\U0001f3ff|\U0001f482\U0001f3fb|\U0001f482\U0001f3fc|\U0001f482\U0001f3fd|\U0001f482\U0001f3fe|\U0001f482\U0001f3ff|\U0001f477\U0001f3fb|\U0001f477\U0001f3fc|\U0001f477\U0001f3fd|\U0001f477\U0001f3fe|\U0001f477\U0001f3ff|\U0001f934\U0001f3fb|\U0001f934\U0001f3fc|\U0001f934\U0001f3fd|\U0001f934\U0001f3fe|\U0001f934\U0001f3ff|\U0001f478\U0001f3fb|\U0001f478\U0001f3fc|\U0001f478\U0001f3fd|\U0001f478\U0001f3fe|\U0001f478\U0001f3ff|\U0001f473\U0001f3fb|\U0001f473\U0001f3fc|\U0001f473\U0001f3fd|\U0001f473\U0001f3fe|\U0001f473\U0001f3ff|\U0001f472\U0001f3fb|\U0001f472\U0001f3fc|\U0001f472\U0001f3fd|\U0001f472\U0001f3fe|\U0001f472\U0001f3ff|\U0001f9d5\U0001f3fb|\U0001f9d5\U0001f3fc|\U0001f9d5\U0001f3fd|\U0001f9d5\U0001f3fe|\U0001f9d5\U0001f3ff|\U0001f935\U0001f3fb|\U0001f935\U0001f3fc|\U0001f935\U0001f3fd|\U0001f935\U0001f3fe|\U0001f935\U0001f3ff|\U0001f470\U0001f3fb|\U0001f470\U0001f3fc|\U0001f470\U0001f3fd|\U0001f470\U0001f3fe|\U0001f470\U0001f3ff|\U0001f930\U0001f3fb|\U0001f930\U0001f3fc|\U0001f930\U0001f3fd|\U0001f930\U0001f3fe|\U0001f930\U0001f3ff|\U0001f931\U0001f3fb|\U0001f931\U0001f3fc|\U0001f931\U0001f3fd|\U0001f931\U0001f3fe|\U0001f931\U0001f3ff|\U0001f47c\U0001f3fb|\U0001f47c\U0001f3fc|\U0001f47c\U0001f3fd|\U0001f47c\U0001f3fe|\U0001f47c\U0001f3ff|\U0001f385\U0001f3fb|\U0001f385\U0001f3fc|\U0001f385\U0001f3fd|\U0001f385\U0001f3fe|\U0001f385\U0001f3ff|\U0001f936\U0001f3fb|\U0001f936\U0001f3fc|\U0001f936\U0001f3fd|\U0001f936\U0001f3fe|\U0001f936\U0001f3ff|\U0001f9b8\U0001f3fb|\U0001f9b8\U0001f3fc|\U0001f9b8\U0001f3fd|\U0001f9b8\U0001f3fe|\U0001f9b8\U0001f3ff|\U0001f9b9\U0001f3fb|\U0001f9b9\U0001f3fc|\U0001f9b9\U0001f3fd|\U0001f9b9\U0001f3fe|\U0001f9b9\U0001f3ff|\U0001f9d9\U0001f3fb|\U0001f9d9\U0001f3fc|\U0001f9d9\U0001f3fd|\U0001f9d9\U0001f3fe|\U0001f9d9\U0001f3ff|\U0001f9da\U0001f3fb|\U0001f9da\U0001f3fc|\U0001f9da\U0001f3fd|\U0001f9da\U0001f3fe|\U0001f9da\U0001f3ff|\U0001f9db\U0001f3fb|\U0001f9db\U0001f3fc|\U0001f9db\U0001f3fd|\U0001f9db\U0001f3fe|\U0001f9db\U0001f3ff|\U0001f9dc\U0001f3fb|\U0001f9dc\U0001f3fc|\U0001f9dc\U0001f3fd|\U0001f9dc\U0001f3fe|\U0001f9dc\U0001f3ff|\U0001f9dd\U0001f3fb|\U0001f9dd\U0001f3fc|\U0001f9dd\U0001f3fd|\U0001f9dd\U0001f3fe|\U0001f9dd\U0001f3ff|\U0001f486\U0001f3fb|\U0001f486\U0001f3fc|\U0001f486\U0001f3fd|\U0001f486\U0001f3fe|\U0001f486\U0001f3ff|\U0001f487\U0001f3fb|\U0001f487\U0001f3fc|\U0001f487\U0001f3fd|\U0001f487\U0001f3fe|\U0001f487\U0001f3ff|\U0001f6b6\U0001f3fb|\U0001f6b6\U0001f3fc|\U0001f6b6\U0001f3fd|\U0001f6b6\U0001f3fe|\U0001f6b6\U0001f3ff|\U0001f9cd\U0001f3fb|\U0001f9cd\U0001f3fc|\U0001f9cd\U0001f3fd|\U0001f9cd\U0001f3fe|\U0001f9cd\U0001f3ff|\U0001f9ce\U0001f3fb|\U0001f9ce\U0001f3fc|\U0001f9ce\U0001f3fd|\U0001f9ce\U0001f3fe|\U0001f9ce\U0001f3ff|\U0001f3c3\U0001f3fb|\U0001f3c3\U0001f3fc|\U0001f3c3\U0001f3fd|\U0001f3c3\U0001f3fe|\U0001f3c3\U0001f3ff|\U0001f483\U0001f3fb|\U0001f483\U0001f3fc|\U0001f483\U0001f3fd|\U0001f483\U0001f3fe|\U0001f483\U0001f3ff|\U0001f57a\U0001f3fb|\U0001f57a\U0001f3fc|\U0001f57a\U0001f3fd|\U0001f57a\U0001f3fe|\U0001f57a\U0001f3ff|\U0001f574\ufe0f|\U0001f574\U0001f3fb|\U0001f574\U0001f3fc|\U0001f574\U0001f3fd|\U0001f574\U0001f3fe|\U0001f574\U0001f3ff|\U0001f9d6\U0001f3fb|\U0001f9d6\U0001f3fc|\U0001f9d6\U0001f3fd|\U0001f9d6\U0001f3fe|\U0001f9d6\U0001f3ff|\U0001f9d7\U0001f3fb|\U0001f9d7\U0001f3fc|\U0001f9d7\U0001f3fd|\U0001f9d7\U0001f3fe|\U0001f9d7\U0001f3ff|\U0001f3c7\U0001f3fb|\U0001f3c7\U0001f3fc|\U0001f3c7\U0001f3fd|\U0001f3c7\U0001f3fe|\U0001f3c7\U0001f3ff|\u26f7\ufe0f|\U0001f3c2\U0001f3fb|\U0001f3c2\U0001f3fc|\U0001f3c2\U0001f3fd|\U0001f3c2\U0001f3fe|\U0001f3c2\U0001f3ff|\U0001f3cc\ufe0f|\U0001f3cc\U0001f3fb|\U0001f3cc\U0001f3fc|\U0001f3cc\U0001f3fd|\U0001f3cc\U0001f3fe|\U0001f3cc\U0001f3ff|\U0001f3c4\U0001f3fb|\U0001f3c4\U0001f3fc|\U0001f3c4\U0001f3fd|\U0001f3c4\U0001f3fe|\U0001f3c4\U0001f3ff|\U0001f6a3\U0001f3fb|\U0001f6a3\U0001f3fc|\U0001f6a3\U0001f3fd|\U0001f6a3\U0001f3fe|\U0001f6a3\U0001f3ff|\U0001f3ca\U0001f3fb|\U0001f3ca\U0001f3fc|\U0001f3ca\U0001f3fd|\U0001f3ca\U0001f3fe|\U0001f3ca\U0001f3ff|\u26f9\ufe0f|\u26f9\U0001f3fb|\u26f9\U0001f3fc|\u26f9\U0001f3fd|\u26f9\U0001f3fe|\u26f9\U0001f3ff|\U0001f3cb\ufe0f|\U0001f3cb\U0001f3fb|\U0001f3cb\U0001f3fc|\U0001f3cb\U0001f3fd|\U0001f3cb\U0001f3fe|\U0001f3cb\U0001f3ff|\U0001f6b4\U0001f3fb|\U0001f6b4\U0001f3fc|\U0001f6b4\U0001f3fd|\U0001f6b4\U0001f3fe|\U0001f6b4\U0001f3ff|\U0001f6b5\U0001f3fb|\U0001f6b5\U0001f3fc|\U0001f6b5\U0001f3fd|\U0001f6b5\U0001f3fe|\U0001f6b5\U0001f3ff|\U0001f938\U0001f3fb|\U0001f938\U0001f3fc|\U0001f938\U0001f3fd|\U0001f938\U0001f3fe|\U0001f938\U0001f3ff|\U0001f93d\U0001f3fb|\U0001f93d\U0001f3fc|\U0001f93d\U0001f3fd|\U0001f93d\U0001f3fe|\U0001f93d\U0001f3ff|\U0001f93e\U0001f3fb|\U0001f93e\U0001f3fc|\U0001f93e\U0001f3fd|\U0001f93e\U0001f3fe|\U0001f93e\U0001f3ff|\U0001f939\U0001f3fb|\U0001f939\U0001f3fc|\U0001f939\U0001f3fd|\U0001f939\U0001f3fe|\U0001f939\U0001f3ff|\U0001f9d8\U0001f3fb|\U0001f9d8\U0001f3fc|\U0001f9d8\U0001f3fd|\U0001f9d8\U0001f3fe|\U0001f9d8\U0001f3ff|\U0001f6c0\U0001f3fb|\U0001f6c0\U0001f3fc|\U0001f6c0\U0001f3fd|\U0001f6c0\U0001f3fe|\U0001f6c0\U0001f3ff|\U0001f6cc\U0001f3fb|\U0001f6cc\U0001f3fc|\U0001f6cc\U0001f3fd|\U0001f6cc\U0001f3fe|\U0001f6cc\U0001f3ff|\U0001f46d\U0001f3fb|\U0001f46d\U0001f3fc|\U0001f46d\U0001f3fd|\U0001f46d\U0001f3fe|\U0001f46d\U0001f3ff|\U0001f46b\U0001f3fb|\U0001f46b\U0001f3fc|\U0001f46b\U0001f3fd|\U0001f46b\U0001f3fe|\U0001f46b\U0001f3ff|\U0001f46c\U0001f3fb|\U0001f46c\U0001f3fc|\U0001f46c\U0001f3fd|\U0001f46c\U0001f3fe|\U0001f46c\U0001f3ff|\U0001f5e3\ufe0f|\U0001f43f\ufe0f|\U0001f54a\ufe0f|\U0001f577\ufe0f|\U0001f578\ufe0f|\U0001f3f5\ufe0f|\u2618\ufe0f|\U0001f336\ufe0f|\U0001f37d\ufe0f|\U0001f5fa\ufe0f|\U0001f3d4\ufe0f|\u26f0\ufe0f|\U0001f3d5\ufe0f|\U0001f3d6\ufe0f|\U0001f3dc\ufe0f|\U0001f3dd\ufe0f|\U0001f3de\ufe0f|\U0001f3df\ufe0f|\U0001f3db\ufe0f|\U0001f3d7\ufe0f|\U0001f3d8\ufe0f|\U0001f3da\ufe0f|\u26e9\ufe0f|\U0001f3d9\ufe0f|\u2668\ufe0f|\U0001f3ce\ufe0f|\U0001f3cd\ufe0f|\U0001f6e3\ufe0f|\U0001f6e4\ufe0f|\U0001f6e2\ufe0f|\U0001f6f3\ufe0f|\u26f4\ufe0f|\U0001f6e5\ufe0f|\u2708\ufe0f|\U0001f6e9\ufe0f|\U0001f6f0\ufe0f|\U0001f6ce\ufe0f|\u23f1\ufe0f|\u23f2\ufe0f|\U0001f570\ufe0f|\U0001f321\ufe0f|\u2600\ufe0f|\u2601\ufe0f|\u26c8\ufe0f|\U0001f324\ufe0f|\U0001f325\ufe0f|\U0001f326\ufe0f|\U0001f327\ufe0f|\U0001f328\ufe0f|\U0001f329\ufe0f|\U0001f32a\ufe0f|\U0001f32b\ufe0f|\U0001f32c\ufe0f|\u2602\ufe0f|\u26f1\ufe0f|\u2744\ufe0f|\u2603\ufe0f|\u2604\ufe0f|\U0001f397\ufe0f|\U0001f39f\ufe0f|\U0001f396\ufe0f|\u26f8\ufe0f|\U0001f579\ufe0f|\u2660\ufe0f|\u2665\ufe0f|\u2666\ufe0f|\u2663\ufe0f|\u265f\ufe0f|\U0001f5bc\ufe0f|\U0001f576\ufe0f|\U0001f6cd\ufe0f|\u26d1\ufe0f|\U0001f399\ufe0f|\U0001f39a\ufe0f|\U0001f39b\ufe0f|\u260e\ufe0f|\U0001f5a5\ufe0f|\U0001f5a8\ufe0f|\u2328\ufe0f|\U0001f5b1\ufe0f|\U0001f5b2\ufe0f|\U0001f39e\ufe0f|\U0001f4fd\ufe0f|\U0001f56f\ufe0f|\U0001f5de\ufe0f|\U0001f3f7\ufe0f|\u2709\ufe0f|\U0001f5f3\ufe0f|\u270f\ufe0f|\u2712\ufe0f|\U0001f58b\ufe0f|\U0001f58a\ufe0f|\U0001f58c\ufe0f|\U0001f58d\ufe0f|\U0001f5c2\ufe0f|\U0001f5d2\ufe0f|\U0001f5d3\ufe0f|\U0001f587\ufe0f|\u2702\ufe0f|\U0001f5c3\ufe0f|\U0001f5c4\ufe0f|\U0001f5d1\ufe0f|\U0001f5dd\ufe0f|\u26cf\ufe0f|\u2692\ufe0f|\U0001f6e0\ufe0f|\U0001f5e1\ufe0f|\u2694\ufe0f|\U0001f6e1\ufe0f|\u2699\ufe0f|\U0001f5dc\ufe0f|\u2696\ufe0f|\u26d3\ufe0f|\u2697\ufe0f|\U0001f6cf\ufe0f|\U0001f6cb\ufe0f|\u26b0\ufe0f|\u26b1\ufe0f|\u26a0\ufe0f|\u2622\ufe0f|\u2623\ufe0f|\u2b06\ufe0f|\u2197\ufe0f|\u27a1\ufe0f|\u2198\ufe0f|\u2b07\ufe0f|\u2199\ufe0f|\u2b05\ufe0f|\u2196\ufe0f|\u2195\ufe0f|\u2194\ufe0f|\u21a9\ufe0f|\u21aa\ufe0f|\u2934\ufe0f|\u2935\ufe0f|\u269b\ufe0f|\U0001f549\ufe0f|\u2721\ufe0f|\u2638\ufe0f|\u262f\ufe0f|\u271d\ufe0f|\u2626\ufe0f|\u262a\ufe0f|\u262e\ufe0f|\u25b6\ufe0f|\u23ed\ufe0f|\u23ef\ufe0f|\u25c0\ufe0f|\u23ee\ufe0f|\u23f8\ufe0f|\u23f9\ufe0f|\u23fa\ufe0f|\u23cf\ufe0f|\u2640\ufe0f|\u2642\ufe0f|\u2695\ufe0f|\u267e\ufe0f|\u267b\ufe0f|\u269c\ufe0f|\u2611\ufe0f|\u2714\ufe0f|\u2716\ufe0f|\u303d\ufe0f|\u2733\ufe0f|\u2734\ufe0f|\u2747\ufe0f|\u203c\ufe0f|\u2049\ufe0f|\u3030\ufe0f|\xa9\ufe0f|\xae\ufe0f|\u2122\ufe0f|\\#\u20e3|\\*\u20e3|0\u20e3|1\u20e3|2\u20e3|3\u20e3|4\u20e3|5\u20e3|6\u20e3|7\u20e3|8\u20e3|9\u20e3|\U0001f170\ufe0f|\U0001f171\ufe0f|\u2139\ufe0f|\u24c2\ufe0f|\U0001f17e\ufe0f|\U0001f17f\ufe0f|\U0001f202\ufe0f|\U0001f237\ufe0f|\u3297\ufe0f|\u3299\ufe0f|\u25fc\ufe0f|\u25fb\ufe0f|\u25aa\ufe0f|\u25ab\ufe0f|\U0001f3f3\ufe0f|\U0001f1e6\U0001f1e8|\U0001f1e6\U0001f1e9|\U0001f1e6\U0001f1ea|\U0001f1e6\U0001f1eb|\U0001f1e6\U0001f1ec|\U0001f1e6\U0001f1ee|\U0001f1e6\U0001f1f1|\U0001f1e6\U0001f1f2|\U0001f1e6\U0001f1f4|\U0001f1e6\U0001f1f6|\U0001f1e6\U0001f1f7|\U0001f1e6\U0001f1f8|\U0001f1e6\U0001f1f9|\U0001f1e6\U0001f1fa|\U0001f1e6\U0001f1fc|\U0001f1e6\U0001f1fd|\U0001f1e6\U0001f1ff|\U0001f1e7\U0001f1e6|\U0001f1e7\U0001f1e7|\U0001f1e7\U0001f1e9|\U0001f1e7\U0001f1ea|\U0001f1e7\U0001f1eb|\U0001f1e7\U0001f1ec|\U0001f1e7\U0001f1ed|\U0001f1e7\U0001f1ee|\U0001f1e7\U0001f1ef|\U0001f1e7\U0001f1f1|\U0001f1e7\U0001f1f2|\U0001f1e7\U0001f1f3|\U0001f1e7\U0001f1f4|\U0001f1e7\U0001f1f6|\U0001f1e7\U0001f1f7|\U0001f1e7\U0001f1f8|\U0001f1e7\U0001f1f9|\U0001f1e7\U0001f1fb|\U0001f1e7\U0001f1fc|\U0001f1e7\U0001f1fe|\U0001f1e7\U0001f1ff|\U0001f1e8\U0001f1e6|\U0001f1e8\U0001f1e8|\U0001f1e8\U0001f1e9|\U0001f1e8\U0001f1eb|\U0001f1e8\U0001f1ec|\U0001f1e8\U0001f1ed|\U0001f1e8\U0001f1ee|\U0001f1e8\U0001f1f0|\U0001f1e8\U0001f1f1|\U0001f1e8\U0001f1f2|\U0001f1e8\U0001f1f3|\U0001f1e8\U0001f1f4|\U0001f1e8\U0001f1f5|\U0001f1e8\U0001f1f7|\U0001f1e8\U0001f1fa|\U0001f1e8\U0001f1fb|\U0001f1e8\U0001f1fc|\U0001f1e8\U0001f1fd|\U0001f1e8\U0001f1fe|\U0001f1e8\U0001f1ff|\U0001f1e9\U0001f1ea|\U0001f1e9\U0001f1ec|\U0001f1e9\U0001f1ef|\U0001f1e9\U0001f1f0|\U0001f1e9\U0001f1f2|\U0001f1e9\U0001f1f4|\U0001f1e9\U0001f1ff|\U0001f1ea\U0001f1e6|\U0001f1ea\U0001f1e8|\U0001f1ea\U0001f1ea|\U0001f1ea\U0001f1ec|\U0001f1ea\U0001f1ed|\U0001f1ea\U0001f1f7|\U0001f1ea\U0001f1f8|\U0001f1ea\U0001f1f9|\U0001f1ea\U0001f1fa|\U0001f1eb\U0001f1ee|\U0001f1eb\U0001f1ef|\U0001f1eb\U0001f1f0|\U0001f1eb\U0001f1f2|\U0001f1eb\U0001f1f4|\U0001f1eb\U0001f1f7|\U0001f1ec\U0001f1e6|\U0001f1ec\U0001f1e7|\U0001f1ec\U0001f1e9|\U0001f1ec\U0001f1ea|\U0001f1ec\U0001f1eb|\U0001f1ec\U0001f1ec|\U0001f1ec\U0001f1ed|\U0001f1ec\U0001f1ee|\U0001f1ec\U0001f1f1|\U0001f1ec\U0001f1f2|\U0001f1ec\U0001f1f3|\U0001f1ec\U0001f1f5|\U0001f1ec\U0001f1f6|\U0001f1ec\U0001f1f7|\U0001f1ec\U0001f1f8|\U0001f1ec\U0001f1f9|\U0001f1ec\U0001f1fa|\U0001f1ec\U0001f1fc|\U0001f1ec\U0001f1fe|\U0001f1ed\U0001f1f0|\U0001f1ed\U0001f1f2|\U0001f1ed\U0001f1f3|\U0001f1ed\U0001f1f7|\U0001f1ed\U0001f1f9|\U0001f1ed\U0001f1fa|\U0001f1ee\U0001f1e8|\U0001f1ee\U0001f1e9|\U0001f1ee\U0001f1ea|\U0001f1ee\U0001f1f1|\U0001f1ee\U0001f1f2|\U0001f1ee\U0001f1f3|\U0001f1ee\U0001f1f4|\U0001f1ee\U0001f1f6|\U0001f1ee\U0001f1f7|\U0001f1ee\U0001f1f8|\U0001f1ee\U0001f1f9|\U0001f1ef\U0001f1ea|\U0001f1ef\U0001f1f2|\U0001f1ef\U0001f1f4|\U0001f1ef\U0001f1f5|\U0001f1f0\U0001f1ea|\U0001f1f0\U0001f1ec|\U0001f1f0\U0001f1ed|\U0001f1f0\U0001f1ee|\U0001f1f0\U0001f1f2|\U0001f1f0\U0001f1f3|\U0001f1f0\U0001f1f5|\U0001f1f0\U0001f1f7|\U0001f1f0\U0001f1fc|\U0001f1f0\U0001f1fe|\U0001f1f0\U0001f1ff|\U0001f1f1\U0001f1e6|\U0001f1f1\U0001f1e7|\U0001f1f1\U0001f1e8|\U0001f1f1\U0001f1ee|\U0001f1f1\U0001f1f0|\U0001f1f1\U0001f1f7|\U0001f1f1\U0001f1f8|\U0001f1f1\U0001f1f9|\U0001f1f1\U0001f1fa|\U0001f1f1\U0001f1fb|\U0001f1f1\U0001f1fe|\U0001f1f2\U0001f1e6|\U0001f1f2\U0001f1e8|\U0001f1f2\U0001f1e9|\U0001f1f2\U0001f1ea|\U0001f1f2\U0001f1eb|\U0001f1f2\U0001f1ec|\U0001f1f2\U0001f1ed|\U0001f1f2\U0001f1f0|\U0001f1f2\U0001f1f1|\U0001f1f2\U0001f1f2|\U0001f1f2\U0001f1f3|\U0001f1f2\U0001f1f4|\U0001f1f2\U0001f1f5|\U0001f1f2\U0001f1f6|\U0001f1f2\U0001f1f7|\U0001f1f2\U0001f1f8|\U0001f1f2\U0001f1f9|\U0001f1f2\U0001f1fa|\U0001f1f2\U0001f1fb|\U0001f1f2\U0001f1fc|\U0001f1f2\U0001f1fd|\U0001f1f2\U0001f1fe|\U0001f1f2\U0001f1ff|\U0001f1f3\U0001f1e6|\U0001f1f3\U0001f1e8|\U0001f1f3\U0001f1ea|\U0001f1f3\U0001f1eb|\U0001f1f3\U0001f1ec|\U0001f1f3\U0001f1ee|\U0001f1f3\U0001f1f1|\U0001f1f3\U0001f1f4|\U0001f1f3\U0001f1f5|\U0001f1f3\U0001f1f7|\U0001f1f3\U0001f1fa|\U0001f1f3\U0001f1ff|\U0001f1f4\U0001f1f2|\U0001f1f5\U0001f1e6|\U0001f1f5\U0001f1ea|\U0001f1f5\U0001f1eb|\U0001f1f5\U0001f1ec|\U0001f1f5\U0001f1ed|\U0001f1f5\U0001f1f0|\U0001f1f5\U0001f1f1|\U0001f1f5\U0001f1f2|\U0001f1f5\U0001f1f3|\U0001f1f5\U0001f1f7|\U0001f1f5\U0001f1f8|\U0001f1f5\U0001f1f9|\U0001f1f5\U0001f1fc|\U0001f1f5\U0001f1fe|\U0001f1f6\U0001f1e6|\U0001f1f7\U0001f1ea|\U0001f1f7\U0001f1f4|\U0001f1f7\U0001f1f8|\U0001f1f7\U0001f1fa|\U0001f1f7\U0001f1fc|\U0001f1f8\U0001f1e6|\U0001f1f8\U0001f1e7|\U0001f1f8\U0001f1e8|\U0001f1f8\U0001f1e9|\U0001f1f8\U0001f1ea|\U0001f1f8\U0001f1ec|\U0001f1f8\U0001f1ed|\U0001f1f8\U0001f1ee|\U0001f1f8\U0001f1ef|\U0001f1f8\U0001f1f0|\U0001f1f8\U0001f1f1|\U0001f1f8\U0001f1f2|\U0001f1f8\U0001f1f3|\U0001f1f8\U0001f1f4|\U0001f1f8\U0001f1f7|\U0001f1f8\U0001f1f8|\U0001f1f8\U0001f1f9|\U0001f1f8\U0001f1fb|\U0001f1f8\U0001f1fd|\U0001f1f8\U0001f1fe|\U0001f1f8\U0001f1ff|\U0001f1f9\U0001f1e6|\U0001f1f9\U0001f1e8|\U0001f1f9\U0001f1e9|\U0001f1f9\U0001f1eb|\U0001f1f9\U0001f1ec|\U0001f1f9\U0001f1ed|\U0001f1f9\U0001f1ef|\U0001f1f9\U0001f1f0|\U0001f1f9\U0001f1f1|\U0001f1f9\U0001f1f2|\U0001f1f9\U0001f1f3|\U0001f1f9\U0001f1f4|\U0001f1f9\U0001f1f7|\U0001f1f9\U0001f1f9|\U0001f1f9\U0001f1fb|\U0001f1f9\U0001f1fc|\U0001f1f9\U0001f1ff|\U0001f1fa\U0001f1e6|\U0001f1fa\U0001f1ec|\U0001f1fa\U0001f1f2|\U0001f1fa\U0001f1f3|\U0001f1fa\U0001f1f8|\U0001f1fa\U0001f1fe|\U0001f1fa\U0001f1ff|\U0001f1fb\U0001f1e6|\U0001f1fb\U0001f1e8|\U0001f1fb\U0001f1ea|\U0001f1fb\U0001f1ec|\U0001f1fb\U0001f1ee|\U0001f1fb\U0001f1f3|\U0001f1fb\U0001f1fa|\U0001f1fc\U0001f1eb|\U0001f1fc\U0001f1f8|\U0001f1fd\U0001f1f0|\U0001f1fe\U0001f1ea|\U0001f1fe\U0001f1f9|\U0001f1ff\U0001f1e6|\U0001f1ff\U0001f1f2|\U0001f1ff\U0001f1fc|\U0001f600|\U0001f603|\U0001f604|\U0001f601|\U0001f606|\U0001f605|\U0001f923|\U0001f602|\U0001f642|\U0001f643|\U0001f609|\U0001f60a|\U0001f607|\U0001f970|\U0001f60d|\U0001f929|\U0001f618|\U0001f617|\u263a|\U0001f61a|\U0001f619|\U0001f60b|\U0001f61b|\U0001f61c|\U0001f92a|\U0001f61d|\U0001f911|\U0001f917|\U0001f92d|\U0001f92b|\U0001f914|\U0001f910|\U0001f928|\U0001f610|\U0001f611|\U0001f636|\U0001f60f|\U0001f612|\U0001f644|\U0001f62c|\U0001f925|\U0001f60c|\U0001f614|\U0001f62a|\U0001f924|\U0001f634|\U0001f637|\U0001f912|\U0001f915|\U0001f922|\U0001f92e|\U0001f927|\U0001f975|\U0001f976|\U0001f974|\U0001f635|\U0001f92f|\U0001f920|\U0001f973|\U0001f60e|\U0001f913|\U0001f9d0|\U0001f615|\U0001f61f|\U0001f641|\u2639|\U0001f62e|\U0001f62f|\U0001f632|\U0001f633|\U0001f97a|\U0001f626|\U0001f627|\U0001f628|\U0001f630|\U0001f625|\U0001f622|\U0001f62d|\U0001f631|\U0001f616|\U0001f623|\U0001f61e|\U0001f613|\U0001f629|\U0001f62b|\U0001f971|\U0001f624|\U0001f621|\U0001f620|\U0001f92c|\U0001f608|\U0001f47f|\U0001f480|\u2620|\U0001f4a9|\U0001f921|\U0001f479|\U0001f47a|\U0001f47b|\U0001f47d|\U0001f47e|\U0001f916|\U0001f63a|\U0001f638|\U0001f639|\U0001f63b|\U0001f63c|\U0001f63d|\U0001f640|\U0001f63f|\U0001f63e|\U0001f648|\U0001f649|\U0001f64a|\U0001f48b|\U0001f48c|\U0001f498|\U0001f49d|\U0001f496|\U0001f497|\U0001f493|\U0001f49e|\U0001f495|\U0001f49f|\u2763|\U0001f494|\u2764|\U0001f9e1|\U0001f49b|\U0001f49a|\U0001f499|\U0001f49c|\U0001f90e|\U0001f5a4|\U0001f90d|\U0001f4af|\U0001f4a2|\U0001f4a5|\U0001f4ab|\U0001f4a6|\U0001f4a8|\U0001f573|\U0001f4a3|\U0001f4ac|\U0001f5e8|\U0001f5ef|\U0001f4ad|\U0001f4a4|\U0001f44b|\U0001f91a|\U0001f590|\u270b|\U0001f596|\U0001f44c|\U0001f90f|\u270c|\U0001f91e|\U0001f91f|\U0001f918|\U0001f919|\U0001f448|\U0001f449|\U0001f446|\U0001f595|\U0001f447|\u261d|\U0001f44d|\U0001f44e|\u270a|\U0001f44a|\U0001f91b|\U0001f91c|\U0001f44f|\U0001f64c|\U0001f450|\U0001f932|\U0001f91d|\U0001f64f|\u270d|\U0001f485|\U0001f933|\U0001f4aa|\U0001f9be|\U0001f9bf|\U0001f9b5|\U0001f9b6|\U0001f442|\U0001f9bb|\U0001f443|\U0001f9e0|\U0001f9b7|\U0001f9b4|\U0001f440|\U0001f441|\U0001f445|\U0001f444|\U0001f476|\U0001f9d2|\U0001f466|\U0001f467|\U0001f9d1|\U0001f471|\U0001f468|\U0001f9d4|\U0001f469|\U0001f9d3|\U0001f474|\U0001f475|\U0001f64d|\U0001f64e|\U0001f645|\U0001f646|\U0001f481|\U0001f64b|\U0001f9cf|\U0001f647|\U0001f926|\U0001f937|\U0001f46e|\U0001f575|\U0001f482|\U0001f477|\U0001f934|\U0001f478|\U0001f473|\U0001f472|\U0001f9d5|\U0001f935|\U0001f470|\U0001f930|\U0001f931|\U0001f47c|\U0001f385|\U0001f936|\U0001f9b8|\U0001f9b9|\U0001f9d9|\U0001f9da|\U0001f9db|\U0001f9dc|\U0001f9dd|\U0001f9de|\U0001f9df|\U0001f486|\U0001f487|\U0001f6b6|\U0001f9cd|\U0001f9ce|\U0001f3c3|\U0001f483|\U0001f57a|\U0001f574|\U0001f46f|\U0001f9d6|\U0001f9d7|\U0001f93a|\U0001f3c7|\u26f7|\U0001f3c2|\U0001f3cc|\U0001f3c4|\U0001f6a3|\U0001f3ca|\u26f9|\U0001f3cb|\U0001f6b4|\U0001f6b5|\U0001f938|\U0001f93c|\U0001f93d|\U0001f93e|\U0001f939|\U0001f9d8|\U0001f6c0|\U0001f6cc|\U0001f46d|\U0001f46b|\U0001f46c|\U0001f48f|\U0001f491|\U0001f46a|\U0001f5e3|\U0001f464|\U0001f465|\U0001f463|\U0001f3fb|\U0001f3fc|\U0001f3fd|\U0001f3fe|\U0001f3ff|\U0001f9b0|\U0001f9b1|\U0001f9b3|\U0001f9b2|\U0001f435|\U0001f412|\U0001f98d|\U0001f9a7|\U0001f436|\U0001f415|\U0001f9ae|\U0001f429|\U0001f43a|\U0001f98a|\U0001f99d|\U0001f431|\U0001f408|\U0001f981|\U0001f42f|\U0001f405|\U0001f406|\U0001f434|\U0001f40e|\U0001f984|\U0001f993|\U0001f98c|\U0001f42e|\U0001f402|\U0001f403|\U0001f404|\U0001f437|\U0001f416|\U0001f417|\U0001f43d|\U0001f40f|\U0001f411|\U0001f410|\U0001f42a|\U0001f42b|\U0001f999|\U0001f992|\U0001f418|\U0001f98f|\U0001f99b|\U0001f42d|\U0001f401|\U0001f400|\U0001f439|\U0001f430|\U0001f407|\U0001f43f|\U0001f994|\U0001f987|\U0001f43b|\U0001f428|\U0001f43c|\U0001f9a5|\U0001f9a6|\U0001f9a8|\U0001f998|\U0001f9a1|\U0001f43e|\U0001f983|\U0001f414|\U0001f413|\U0001f423|\U0001f424|\U0001f425|\U0001f426|\U0001f427|\U0001f54a|\U0001f985|\U0001f986|\U0001f9a2|\U0001f989|\U0001f9a9|\U0001f99a|\U0001f99c|\U0001f438|\U0001f40a|\U0001f422|\U0001f98e|\U0001f40d|\U0001f432|\U0001f409|\U0001f995|\U0001f996|\U0001f433|\U0001f40b|\U0001f42c|\U0001f41f|\U0001f420|\U0001f421|\U0001f988|\U0001f419|\U0001f41a|\U0001f40c|\U0001f98b|\U0001f41b|\U0001f41c|\U0001f41d|\U0001f41e|\U0001f997|\U0001f577|\U0001f578|\U0001f982|\U0001f99f|\U0001f9a0|\U0001f490|\U0001f338|\U0001f4ae|\U0001f3f5|\U0001f339|\U0001f940|\U0001f33a|\U0001f33b|\U0001f33c|\U0001f337|\U0001f331|\U0001f332|\U0001f333|\U0001f334|\U0001f335|\U0001f33e|\U0001f33f|\u2618|\U0001f340|\U0001f341|\U0001f342|\U0001f343|\U0001f347|\U0001f348|\U0001f349|\U0001f34a|\U0001f34b|\U0001f34c|\U0001f34d|\U0001f96d|\U0001f34e|\U0001f34f|\U0001f350|\U0001f351|\U0001f352|\U0001f353|\U0001f95d|\U0001f345|\U0001f965|\U0001f951|\U0001f346|\U0001f954|\U0001f955|\U0001f33d|\U0001f336|\U0001f952|\U0001f96c|\U0001f966|\U0001f9c4|\U0001f9c5|\U0001f344|\U0001f95c|\U0001f330|\U0001f35e|\U0001f950|\U0001f956|\U0001f968|\U0001f96f|\U0001f95e|\U0001f9c7|\U0001f9c0|\U0001f356|\U0001f357|\U0001f969|\U0001f953|\U0001f354|\U0001f35f|\U0001f355|\U0001f32d|\U0001f96a|\U0001f32e|\U0001f32f|\U0001f959|\U0001f9c6|\U0001f95a|\U0001f373|\U0001f958|\U0001f372|\U0001f963|\U0001f957|\U0001f37f|\U0001f9c8|\U0001f9c2|\U0001f96b|\U0001f371|\U0001f358|\U0001f359|\U0001f35a|\U0001f35b|\U0001f35c|\U0001f35d|\U0001f360|\U0001f362|\U0001f363|\U0001f364|\U0001f365|\U0001f96e|\U0001f361|\U0001f95f|\U0001f960|\U0001f961|\U0001f980|\U0001f99e|\U0001f990|\U0001f991|\U0001f9aa|\U0001f366|\U0001f367|\U0001f368|\U0001f369|\U0001f36a|\U0001f382|\U0001f370|\U0001f9c1|\U0001f967|\U0001f36b|\U0001f36c|\U0001f36d|\U0001f36e|\U0001f36f|\U0001f37c|\U0001f95b|\u2615|\U0001f375|\U0001f376|\U0001f37e|\U0001f377|\U0001f378|\U0001f379|\U0001f37a|\U0001f37b|\U0001f942|\U0001f943|\U0001f964|\U0001f9c3|\U0001f9c9|\U0001f9ca|\U0001f962|\U0001f37d|\U0001f374|\U0001f944|\U0001f52a|\U0001f3fa|\U0001f30d|\U0001f30e|\U0001f30f|\U0001f310|\U0001f5fa|\U0001f5fe|\U0001f9ed|\U0001f3d4|\u26f0|\U0001f30b|\U0001f5fb|\U0001f3d5|\U0001f3d6|\U0001f3dc|\U0001f3dd|\U0001f3de|\U0001f3df|\U0001f3db|\U0001f3d7|\U0001f9f1|\U0001f3d8|\U0001f3da|\U0001f3e0|\U0001f3e1|\U0001f3e2|\U0001f3e3|\U0001f3e4|\U0001f3e5|\U0001f3e6|\U0001f3e8|\U0001f3e9|\U0001f3ea|\U0001f3eb|\U0001f3ec|\U0001f3ed|\U0001f3ef|\U0001f3f0|\U0001f492|\U0001f5fc|\U0001f5fd|\u26ea|\U0001f54c|\U0001f6d5|\U0001f54d|\u26e9|\U0001f54b|\u26f2|\u26fa|\U0001f301|\U0001f303|\U0001f3d9|\U0001f304|\U0001f305|\U0001f306|\U0001f307|\U0001f309|\u2668|\U0001f3a0|\U0001f3a1|\U0001f3a2|\U0001f488|\U0001f3aa|\U0001f682|\U0001f683|\U0001f684|\U0001f685|\U0001f686|\U0001f687|\U0001f688|\U0001f689|\U0001f68a|\U0001f69d|\U0001f69e|\U0001f68b|\U0001f68c|\U0001f68d|\U0001f68e|\U0001f690|\U0001f691|\U0001f692|\U0001f693|\U0001f694|\U0001f695|\U0001f696|\U0001f697|\U0001f698|\U0001f699|\U0001f69a|\U0001f69b|\U0001f69c|\U0001f3ce|\U0001f3cd|\U0001f6f5|\U0001f9bd|\U0001f9bc|\U0001f6fa|\U0001f6b2|\U0001f6f4|\U0001f6f9|\U0001f68f|\U0001f6e3|\U0001f6e4|\U0001f6e2|\u26fd|\U0001f6a8|\U0001f6a5|\U0001f6a6|\U0001f6d1|\U0001f6a7|\u2693|\u26f5|\U0001f6f6|\U0001f6a4|\U0001f6f3|\u26f4|\U0001f6e5|\U0001f6a2|\u2708|\U0001f6e9|\U0001f6eb|\U0001f6ec|\U0001fa82|\U0001f4ba|\U0001f681|\U0001f69f|\U0001f6a0|\U0001f6a1|\U0001f6f0|\U0001f680|\U0001f6f8|\U0001f6ce|\U0001f9f3|\u231b|\u23f3|\u231a|\u23f0|\u23f1|\u23f2|\U0001f570|\U0001f55b|\U0001f567|\U0001f550|\U0001f55c|\U0001f551|\U0001f55d|\U0001f552|\U0001f55e|\U0001f553|\U0001f55f|\U0001f554|\U0001f560|\U0001f555|\U0001f561|\U0001f556|\U0001f562|\U0001f557|\U0001f563|\U0001f558|\U0001f564|\U0001f559|\U0001f565|\U0001f55a|\U0001f566|\U0001f311|\U0001f312|\U0001f313|\U0001f314|\U0001f315|\U0001f316|\U0001f317|\U0001f318|\U0001f319|\U0001f31a|\U0001f31b|\U0001f31c|\U0001f321|\u2600|\U0001f31d|\U0001f31e|\U0001fa90|\u2b50|\U0001f31f|\U0001f320|\U0001f30c|\u2601|\u26c5|\u26c8|\U0001f324|\U0001f325|\U0001f326|\U0001f327|\U0001f328|\U0001f329|\U0001f32a|\U0001f32b|\U0001f32c|\U0001f300|\U0001f308|\U0001f302|\u2602|\u2614|\u26f1|\u26a1|\u2744|\u2603|\u26c4|\u2604|\U0001f525|\U0001f4a7|\U0001f30a|\U0001f383|\U0001f384|\U0001f386|\U0001f387|\U0001f9e8|\u2728|\U0001f388|\U0001f389|\U0001f38a|\U0001f38b|\U0001f38d|\U0001f38e|\U0001f38f|\U0001f390|\U0001f391|\U0001f9e7|\U0001f380|\U0001f381|\U0001f397|\U0001f39f|\U0001f3ab|\U0001f396|\U0001f3c6|\U0001f3c5|\U0001f947|\U0001f948|\U0001f949|\u26bd|\u26be|\U0001f94e|\U0001f3c0|\U0001f3d0|\U0001f3c8|\U0001f3c9|\U0001f3be|\U0001f94f|\U0001f3b3|\U0001f3cf|\U0001f3d1|\U0001f3d2|\U0001f94d|\U0001f3d3|\U0001f3f8|\U0001f94a|\U0001f94b|\U0001f945|\u26f3|\u26f8|\U0001f3a3|\U0001f93f|\U0001f3bd|\U0001f3bf|\U0001f6f7|\U0001f94c|\U0001f3af|\U0001fa80|\U0001fa81|\U0001f3b1|\U0001f52e|\U0001f9ff|\U0001f3ae|\U0001f579|\U0001f3b0|\U0001f3b2|\U0001f9e9|\U0001f9f8|\u2660|\u2665|\u2666|\u2663|\u265f|\U0001f0cf|\U0001f004|\U0001f3b4|\U0001f3ad|\U0001f5bc|\U0001f3a8|\U0001f9f5|\U0001f9f6|\U0001f453|\U0001f576|\U0001f97d|\U0001f97c|\U0001f9ba|\U0001f454|\U0001f455|\U0001f456|\U0001f9e3|\U0001f9e4|\U0001f9e5|\U0001f9e6|\U0001f457|\U0001f458|\U0001f97b|\U0001fa71|\U0001fa72|\U0001fa73|\U0001f459|\U0001f45a|\U0001f45b|\U0001f45c|\U0001f45d|\U0001f6cd|\U0001f392|\U0001f45e|\U0001f45f|\U0001f97e|\U0001f97f|\U0001f460|\U0001f461|\U0001fa70|\U0001f462|\U0001f451|\U0001f452|\U0001f3a9|\U0001f393|\U0001f9e2|\u26d1|\U0001f4ff|\U0001f484|\U0001f48d|\U0001f48e|\U0001f507|\U0001f508|\U0001f509|\U0001f50a|\U0001f4e2|\U0001f4e3|\U0001f4ef|\U0001f514|\U0001f515|\U0001f3bc|\U0001f3b5|\U0001f3b6|\U0001f399|\U0001f39a|\U0001f39b|\U0001f3a4|\U0001f3a7|\U0001f4fb|\U0001f3b7|\U0001f3b8|\U0001f3b9|\U0001f3ba|\U0001f3bb|\U0001fa95|\U0001f941|\U0001f4f1|\U0001f4f2|\u260e|\U0001f4de|\U0001f4df|\U0001f4e0|\U0001f50b|\U0001f50c|\U0001f4bb|\U0001f5a5|\U0001f5a8|\u2328|\U0001f5b1|\U0001f5b2|\U0001f4bd|\U0001f4be|\U0001f4bf|\U0001f4c0|\U0001f9ee|\U0001f3a5|\U0001f39e|\U0001f4fd|\U0001f3ac|\U0001f4fa|\U0001f4f7|\U0001f4f8|\U0001f4f9|\U0001f4fc|\U0001f50d|\U0001f50e|\U0001f56f|\U0001f4a1|\U0001f526|\U0001f3ee|\U0001fa94|\U0001f4d4|\U0001f4d5|\U0001f4d6|\U0001f4d7|\U0001f4d8|\U0001f4d9|\U0001f4da|\U0001f4d3|\U0001f4d2|\U0001f4c3|\U0001f4dc|\U0001f4c4|\U0001f4f0|\U0001f5de|\U0001f4d1|\U0001f516|\U0001f3f7|\U0001f4b0|\U0001f4b4|\U0001f4b5|\U0001f4b6|\U0001f4b7|\U0001f4b8|\U0001f4b3|\U0001f9fe|\U0001f4b9|\U0001f4b1|\U0001f4b2|\u2709|\U0001f4e7|\U0001f4e8|\U0001f4e9|\U0001f4e4|\U0001f4e5|\U0001f4e6|\U0001f4eb|\U0001f4ea|\U0001f4ec|\U0001f4ed|\U0001f4ee|\U0001f5f3|\u270f|\u2712|\U0001f58b|\U0001f58a|\U0001f58c|\U0001f58d|\U0001f4dd|\U0001f4bc|\U0001f4c1|\U0001f4c2|\U0001f5c2|\U0001f4c5|\U0001f4c6|\U0001f5d2|\U0001f5d3|\U0001f4c7|\U0001f4c8|\U0001f4c9|\U0001f4ca|\U0001f4cb|\U0001f4cc|\U0001f4cd|\U0001f4ce|\U0001f587|\U0001f4cf|\U0001f4d0|\u2702|\U0001f5c3|\U0001f5c4|\U0001f5d1|\U0001f512|\U0001f513|\U0001f50f|\U0001f510|\U0001f511|\U0001f5dd|\U0001f528|\U0001fa93|\u26cf|\u2692|\U0001f6e0|\U0001f5e1|\u2694|\U0001f52b|\U0001f3f9|\U0001f6e1|\U0001f527|\U0001f529|\u2699|\U0001f5dc|\u2696|\U0001f9af|\U0001f517|\u26d3|\U0001f9f0|\U0001f9f2|\u2697|\U0001f9ea|\U0001f9eb|\U0001f9ec|\U0001f52c|\U0001f52d|\U0001f4e1|\U0001f489|\U0001fa78|\U0001f48a|\U0001fa79|\U0001fa7a|\U0001f6aa|\U0001f6cf|\U0001f6cb|\U0001fa91|\U0001f6bd|\U0001f6bf|\U0001f6c1|\U0001fa92|\U0001f9f4|\U0001f9f7|\U0001f9f9|\U0001f9fa|\U0001f9fb|\U0001f9fc|\U0001f9fd|\U0001f9ef|\U0001f6d2|\U0001f6ac|\u26b0|\u26b1|\U0001f5ff|\U0001f3e7|\U0001f6ae|\U0001f6b0|\u267f|\U0001f6b9|\U0001f6ba|\U0001f6bb|\U0001f6bc|\U0001f6be|\U0001f6c2|\U0001f6c3|\U0001f6c4|\U0001f6c5|\u26a0|\U0001f6b8|\u26d4|\U0001f6ab|\U0001f6b3|\U0001f6ad|\U0001f6af|\U0001f6b1|\U0001f6b7|\U0001f4f5|\U0001f51e|\u2622|\u2623|\u2b06|\u2197|\u27a1|\u2198|\u2b07|\u2199|\u2b05|\u2196|\u2195|\u2194|\u21a9|\u21aa|\u2934|\u2935|\U0001f503|\U0001f504|\U0001f519|\U0001f51a|\U0001f51b|\U0001f51c|\U0001f51d|\U0001f6d0|\u269b|\U0001f549|\u2721|\u2638|\u262f|\u271d|\u2626|\u262a|\u262e|\U0001f54e|\U0001f52f|\u2648|\u2649|\u264a|\u264b|\u264c|\u264d|\u264e|\u264f|\u2650|\u2651|\u2652|\u2653|\u26ce|\U0001f500|\U0001f501|\U0001f502|\u25b6|\u23e9|\u23ed|\u23ef|\u25c0|\u23ea|\u23ee|\U0001f53c|\u23eb|\U0001f53d|\u23ec|\u23f8|\u23f9|\u23fa|\u23cf|\U0001f3a6|\U0001f505|\U0001f506|\U0001f4f6|\U0001f4f3|\U0001f4f4|\u2640|\u2642|\u2695|\u267e|\u267b|\u269c|\U0001f531|\U0001f4db|\U0001f530|\u2b55|\u2705|\u2611|\u2714|\u2716|\u274c|\u274e|\u2795|\u2796|\u2797|\u27b0|\u27bf|\u303d|\u2733|\u2734|\u2747|\u203c|\u2049|\u2753|\u2754|\u2755|\u2757|\u3030|\xa9|\xae|\u2122|\U0001f51f|\U0001f520|\U0001f521|\U0001f522|\U0001f523|\U0001f524|\U0001f170|\U0001f18e|\U0001f171|\U0001f191|\U0001f192|\U0001f193|\u2139|\U0001f194|\u24c2|\U0001f195|\U0001f196|\U0001f17e|\U0001f197|\U0001f17f|\U0001f198|\U0001f199|\U0001f19a|\U0001f201|\U0001f202|\U0001f237|\U0001f236|\U0001f22f|\U0001f250|\U0001f239|\U0001f21a|\U0001f232|\U0001f251|\U0001f238|\U0001f234|\U0001f233|\u3297|\u3299|\U0001f23a|\U0001f235|\U0001f534|\U0001f7e0|\U0001f7e1|\U0001f7e2|\U0001f535|\U0001f7e3|\U0001f7e4|\u26ab|\u26aa|\U0001f7e5|\U0001f7e7|\U0001f7e8|\U0001f7e9|\U0001f7e6|\U0001f7ea|\U0001f7eb|\u2b1b|\u2b1c|\u25fc|\u25fb|\u25fe|\u25fd|\u25aa|\u25ab|\U0001f536|\U0001f537|\U0001f538|\U0001f539|\U0001f53a|\U0001f53b|\U0001f4a0|\U0001f518|\U0001f533|\U0001f532|\U0001f3c1|\U0001f6a9|\U0001f38c|\U0001f3f4|\U0001f3f3')) -> str: """Return the string obtained by replacing all emojis in 'text' by the replacement 'repl'. Args: text (str): text to be replaced repl (str): replace all emojis in text with 'repl' Reference: akkez/emoji.py: Python emoji regexp / python emoji detection https://gist.github.com/akkez/99ceeae2f13c9d8d9be7df0279e2c438 """ text = regex.sub(repl, text) return text def _email_normalize(self, text: str, repl: str, regex=re.compile(r'[a-zA-Z0-9.!#$%&\'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9.]+')) -> str: """Return the string obtained by replacing all email addresses in 'text' by the replacement 'repl'. Args: text (str): text to be replaced repl (str): replace all email addresses in text with 'repl' """ text = regex.sub(repl, text) return text def _tel_normalize(self, text: str, repl: str, regex=re.compile(r'[()+\d.\-]*[ ]?\d{2,4}[-. ]+\d{3,4}[-. ]+\d{3,4}')) -> str: """Return the string obtained by replacing all phone numbers in 'text' by the replacement 'repl'. Args: text (str): text to be replaced repl (str): replace all phone numbers in text with 'repl' """ text = regex.sub(repl, text) return text
946.587629
87,778
0.831418
10,544
91,819
7.233687
0.132777
0.071324
0.053493
0.013845
0.232471
0.165487
0.054371
0.036396
0.029644
0.029644
0
0.514645
0.012764
91,819
97
87,779
946.587629
0.326773
0.018852
0
0.275
0
0.025
0.978157
0.97682
0
0
0
0
0
1
0.2
false
0
0.025
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
790593cfe62b7bcbe5c632cb438fd0aadd8ff5d1
621
py
Python
exit/losses.py
exitudio/neural-network-pytorch
2831eb92d396187cc0e043234c2dfd17fc83ae3b
[ "MIT" ]
null
null
null
exit/losses.py
exitudio/neural-network-pytorch
2831eb92d396187cc0e043234c2dfd17fc83ae3b
[ "MIT" ]
null
null
null
exit/losses.py
exitudio/neural-network-pytorch
2831eb92d396187cc0e043234c2dfd17fc83ae3b
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod import numpy as np from .constants import EPSILON import torch class Loss(ABC): def __init__(self, expected_output, predict_output): self._expected_output = expected_output self._predict_output = predict_output @abstractmethod def get_loss(self): pass def crossEntropy(expected_output, predict_output): return -(expected_output * torch.log(predict_output) + (1-expected_output) * torch.log(1-predict_output+EPSILON)).mean() def l2(expected_output, predict_output): return ((predict_output - expected_output) ** 2).mean()
25.875
78
0.724638
77
621
5.545455
0.350649
0.262295
0.177986
0.189696
0.154567
0
0
0
0
0
0
0.007905
0.185185
621
23
79
27
0.835968
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.0625
0.25
0.125
0.6875
0
0
0
0
null
1
0
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
0
1
0
1
1
0
0
6
790d34d501f0113b2f8b6c70872c3f6647520f89
36,551
py
Python
repro_eval/Evaluator.py
irgroup/repro_eval
35a4cf083dbb5f4b29d6ef602a604f0686a537c9
[ "MIT" ]
8
2020-10-27T02:11:53.000Z
2022-03-02T11:00:10.000Z
repro_eval/Evaluator.py
irgroup/repro_eval
35a4cf083dbb5f4b29d6ef602a604f0686a537c9
[ "MIT" ]
2
2021-01-25T19:59:39.000Z
2021-12-07T09:29:01.000Z
repro_eval/Evaluator.py
irgroup/repro_eval
35a4cf083dbb5f4b29d6ef602a604f0686a537c9
[ "MIT" ]
1
2021-04-16T16:21:16.000Z
2021-04-16T16:21:16.000Z
import pytrec_eval from repro_eval.util import trim, break_ties from repro_eval.measure.statistics import ttest from repro_eval.measure.overall_effects import ER, deltaRI from repro_eval.measure.document_order import ktau_union as ktu, RBO from repro_eval.measure.effectiveness import rmse as RMSE, nrmse as nRMSE from repro_eval.config import ERR_MSG class Evaluator(object): """ An abstract evaluator that holds the original baseline and advanced run as well as the reproduced/replicated baseline and advanced run. """ def __init__(self, **kwargs): self.qrel_orig_path = kwargs.get('qrel_orig_path', None) self.run_b_orig_path = kwargs.get('run_b_orig_path', None) self.run_a_orig_path = kwargs.get('run_a_orig_path', None) self.run_b_rep_path = kwargs.get('run_b_rep_path', None) self.run_a_rep_path = kwargs.get('run_a_rep_path', None) self.run_b_orig = None self.run_a_orig = None self.run_b_rep = None self.run_a_rep = None self.run_b_orig_score = None self.run_a_orig_score = None self.run_b_rep_score = None self.run_a_rep_score = None if self.qrel_orig_path: with open(self.qrel_orig_path, 'r') as f_qrel: qrel_orig = pytrec_eval.parse_qrel(f_qrel) self.rel_eval = pytrec_eval.RelevanceEvaluator(qrel_orig, pytrec_eval.supported_measures) if self.run_b_orig_path: with open(self.run_b_orig_path, 'r') as f_run: self.run_b_orig = pytrec_eval.parse_run(f_run) self.run_b_orig = {t: self.run_b_orig[t] for t in sorted(self.run_b_orig)} if self.run_a_orig_path: with open(self.run_a_orig_path, 'r') as f_run: self.run_a_orig = pytrec_eval.parse_run(f_run) self.run_a_orig = {t: self.run_a_orig[t] for t in sorted(self.run_a_orig)} if self.run_b_rep_path: with open(self.run_b_rep_path, 'r') as f_run: self.run_b_rep = pytrec_eval.parse_run(f_run) self.run_b_rep = {t: self.run_b_rep[t] for t in sorted(self.run_b_rep)} if self.run_a_rep_path: with open(self.run_a_rep_path, 'r') as f_run: self.run_a_rep = pytrec_eval.parse_run(f_run) self.run_a_rep = {t: self.run_a_rep[t] for t in sorted(self.run_a_rep)} def trim(self, t=None, run=None): """ Trims all runs of the Evaluator to the length specified by the threshold value t. @param t: Threshold parameter or number of top-k documents to be considered. @param run: If run is not None, only the provided run will be trimmed. """ if run: run = break_ties(run) if t: trim(run, thresh=t) else: trim(run) return if self.run_b_orig: self.run_b_orig = break_ties(self.run_b_orig) if t: trim(self.run_b_orig, thresh=t) else: trim(self.run_b_orig) if self.run_a_orig: self.run_a_orig = break_ties(self.run_a_orig) if t: trim(self.run_a_orig, thresh=t) else: trim(self.run_a_orig) if self.run_b_rep: self.run_b_rep = break_ties(self.run_b_rep) if t: trim(self.run_b_rep, thresh=t) else: trim(self.run_b_rep) if self.run_a_rep: self.run_a_rep = break_ties(self.run_a_rep) if t: trim(self.run_a_rep, thresh=t) else: trim(self.run_a_rep) def evaluate(self, run=None): """ Evaluates the original baseline and advanced run if available. @param run: Reproduced or replicated run that will be evaluated. """ if self.run_b_orig: self.run_b_orig = break_ties(self.run_b_orig) self.run_b_orig_score = self.rel_eval.evaluate(self.run_b_orig) if self.run_a_orig: self.run_a_orig = break_ties(self.run_a_orig) self.run_a_orig_score = self.rel_eval.evaluate(self.run_a_orig) def er(self, run_b_score=None, run_a_score=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Determines the Effect Ratio (ER) according to the following paper: Timo Breuer, Nicola Ferro, Norbert Fuhr, Maria Maistro, Tetsuya Sakai, Philipp Schaer, Ian Soboroff. How to Measure the Reproducibility of System-oriented IR Experiments. Proceedings of SIGIR, pages 349-358, 2020. The ER value is determined by the ratio between the mean improvements of the original and reproduced/replicated experiments. @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary containing the ER values for the specified run combination. """ if print_feedback: print('Determining Effect Ratio (ER)') if self.run_b_orig_score and self.run_a_orig_score and run_b_path and run_a_path: with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval_rpl.evaluate(run_b_rep) if hasattr(self, 'rel_eval_rpl') else self.rel_eval.evaluate(run_b_rep) run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} run_a_rep_score = self.rel_eval_rpl.evaluate(run_a_rep) if hasattr(self, 'rel_eval_rpl') else self.rel_eval.evaluate(run_a_rep) return ER(orig_score_b=self.run_b_orig_score, orig_score_a=self.run_a_orig_score, rep_score_b=run_b_rep_score, rep_score_a=run_a_rep_score, pbar=print_feedback) if self.run_b_orig_score and self.run_a_orig_score and run_b_score and run_a_score: return ER(orig_score_b=self.run_b_orig_score, orig_score_a=self.run_a_orig_score, rep_score_b=run_b_score, rep_score_a=run_a_score, pbar=print_feedback) if self.run_b_orig_score and self.run_a_orig_score and self.run_b_rep_score and self.run_a_rep_score: return ER(orig_score_b=self.run_b_orig_score, orig_score_a=self.run_a_orig_score, rep_score_b=self.run_b_rep_score, rep_score_a=self.run_a_rep_score, pbar=print_feedback) else: print(ERR_MSG) def dri(self, run_b_score=None, run_a_score=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Determines the Delta Relative Improvement (DeltaRI) according to the following paper: Timo Breuer, Nicola Ferro, Norbert Fuhr, Maria Maistro, Tetsuya Sakai, Philipp Schaer, Ian Soboroff. How to Measure the Reproducibility of System-oriented IR Experiments. Proceedings of SIGIR, pages 349-358, 2020. The DeltaRI value is determined by the difference between the relative improvements of the original and reproduced/replicated experiments. @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary containing the DRI values for the specified run combination. """ if print_feedback: print('Determining Delta Relative Improvement (DRI)') if self.run_b_orig_score and self.run_a_orig_score and run_b_path and run_a_path: with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval_rpl.evaluate(run_b_rep) if hasattr(self, 'rel_eval_rpl') else self.rel_eval.evaluate(run_b_rep) run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} run_a_rep_score = self.rel_eval_rpl.evaluate(run_a_rep) if hasattr(self, 'rel_eval_rpl') else self.rel_eval.evaluate(run_a_rep) return deltaRI(orig_score_b=self.run_b_orig_score, orig_score_a=self.run_a_orig_score, rep_score_b=run_b_rep_score, rep_score_a=run_a_rep_score, pbar=print_feedback) if self.run_b_orig_score and self.run_a_orig_score and run_b_score and run_a_score: return deltaRI(orig_score_b=self.run_b_orig_score, orig_score_a=self.run_a_orig_score, rep_score_b=run_b_score, rep_score_a=run_a_score, pbar=print_feedback) if self.run_b_orig_score and self.run_a_orig_score and self.run_b_rep_score and self.run_a_rep_score: return deltaRI(orig_score_b=self.run_b_orig_score, orig_score_a=self.run_a_orig_score, rep_score_b=self.run_b_rep_score, rep_score_a=self.run_a_rep_score, pbar=print_feedback) else: print(ERR_MSG) def _ttest(self, rpd=True, run_b_score=None, run_a_score=None, print_feedback=False): """ Conducts either a paired (reproducibility) or unpaired (replicability) two-sided t-test according to the following paper: Timo Breuer, Nicola Ferro, Norbert Fuhr, Maria Maistro, Tetsuya Sakai, Philipp Schaer, Ian Soboroff. How to Measure the Reproducibility of System-oriented IR Experiments. Proceedings of SIGIR, pages 349-358, 2020. @param rpd: Boolean indicating if the evaluated runs are reproduced. @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary with p-values that compare the score distributions of the baseline and advanced run. """ if self.run_b_orig_score and (self.run_b_rep_score or run_b_score): if run_b_score and run_a_score: if print_feedback: print('Determining p-values of t-test for baseline and advanced run.') return {'baseline': ttest(self.run_b_orig_score, run_b_score, rpd=rpd, pbar=print_feedback), 'advanced': ttest(self.run_a_orig_score, run_a_score, rpd=rpd, pbar=print_feedback)} if run_b_score: if print_feedback: print('Determining p-values of t-test for baseline run.') return {'baseline': ttest(self.run_b_orig_score, run_b_score, rpd=rpd, pbar=print_feedback)} if self.run_a_orig_score and self.run_a_rep_score: if print_feedback: print('Determining p-values of t-test for baseline and advanced run.') return {'baseline': ttest(self.run_b_orig_score, self.run_b_rep_score, rpd=rpd, pbar=print_feedback), 'advanced': ttest(self.run_a_orig_score, self.run_a_rep_score, rpd=rpd, pbar=print_feedback)} else: if print_feedback: print('Determining p-values of t-test for baseline run.') return {'baseline': ttest(self.run_b_orig_score, self.run_b_rep_score, rpd=rpd, pbar=print_feedback)} else: print(ERR_MSG) class RpdEvaluator(Evaluator): """ The Reproducibility Evaluator is used for quantifying the different levels of reproduction for runs that were derived from the same test collection used in the original experiment. """ def evaluate(self, run=None): """ Evaluates the scores of the original and reproduced baseline and advanced runs. If a (reproduced) run is provided only this one will be evaluated and a dictionary with the corresponding scores is returned. @param run: A reproduced run. If not specified, the original and reproduced runs of the the RpdEvaluator will be used instead. @return: If run is specified, a dictionary with the corresponding scores is returned. """ if run: return self.rel_eval.evaluate(run) super(RpdEvaluator, self).evaluate() if self.run_b_rep: self.run_b_rep = break_ties(self.run_b_rep) self.run_b_rep_score = self.rel_eval.evaluate(self.run_b_rep) if self.run_a_rep: self.run_a_rep = break_ties(self.run_a_rep) self.run_a_rep_score = self.rel_eval.evaluate(self.run_a_rep) def ktau_union(self, run_b_rep=None, run_a_rep=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Determines Kendall's tau Union (KTU) between the original and reproduced document orderings according to the following paper: Timo Breuer, Nicola Ferro, Norbert Fuhr, Maria Maistro, Tetsuya Sakai, Philipp Schaer, Ian Soboroff. How to Measure the Reproducibility of System-oriented IR Experiments. Proceedings of SIGIR, pages 349-358, 2020. @param run_b_rep: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_rep: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_b_path: Path to another reproduced baseline run, if not provided the reproduced baseline run of the RpdEvaluator object will be used instead. @param run_a_path: Path to another reproduced advanced run, if not provided the reproduced advanced run of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary with KTU values that compare the document orderings of the original and reproduced runs. """ if self.run_b_orig and run_b_path: if self.run_a_orig and run_a_path: if print_feedback: print("Determining Kendall's tau Union (KTU) for baseline and advanced run.") with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} return {'baseline': ktu(self.run_b_orig, run_b_rep, pbar=print_feedback), 'advanced': ktu(self.run_a_orig, run_a_rep, pbar=print_feedback)} else: if print_feedback: print("Determining Kendall's tau Union (KTU) for baseline run.") with open(run_b_path, 'r') as b_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} return {'baseline': ktu(self.run_b_orig, run_b_rep, pbar=print_feedback)} if self.run_b_orig and run_b_rep: if self.run_a_orig and run_a_rep: if print_feedback: print("Determining Kendall's tau Union (KTU) for baseline and advanced run.") return {'baseline': ktu(self.run_b_orig, run_b_rep, pbar=print_feedback), 'advanced': ktu(self.run_a_orig, run_a_rep, pbar=print_feedback)} else: if print_feedback: print("Determining Kendall's tau Union (KTU) for baseline run.") return {'baseline': ktu(self.run_b_orig, run_b_rep, pbar=print_feedback)} if self.run_b_orig and self.run_b_rep: if self.run_a_orig and self.run_a_rep: if print_feedback: print("Determining Kendall's tau Union (KTU) for baseline and advanced run.") return {'baseline': ktu(self.run_b_orig, self.run_b_rep, pbar=print_feedback), 'advanced': ktu(self.run_a_orig, self.run_a_rep, pbar=print_feedback)} else: if print_feedback: print("Determining Kendall's tau Union (KTU) for baseline run.") return {'baseline': ktu(self.run_b_orig, self.run_b_rep, pbar=print_feedback)} else: print(ERR_MSG) def rbo(self, run_b_rep=None, run_a_rep=None, run_b_path=None, run_a_path=None, print_feedback=False, misinfo=True): """ Determines the Rank-Biased Overlap (RBO) between the original and reproduced document orderings according to the following paper: Timo Breuer, Nicola Ferro, Norbert Fuhr, Maria Maistro, Tetsuya Sakai, Philipp Schaer, Ian Soboroff. How to Measure the Reproducibility of System-oriented IR Experiments. Proceedings of SIGIR, pages 349-358, 2020. @param run_b_rep: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_rep: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_b_path: Path to another reproduced baseline run, if not provided the reproduced baseline run of the RpdEvaluator object will be used instead. @param run_a_path: Path to another reproduced advanced run, if not provided the reproduced advanced run of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @param misinfo: Use the RBO implementation that is also used in the TREC Health Misinformation Track. See also: https://github.com/claclark/Compatibility @return: Dictionary with RBO values that compare the document orderings of the original and reproduced runs. """ if self.run_b_orig and run_b_path: if self.run_a_orig and run_a_path: if print_feedback: print("Determining Rank-biased Overlap (RBO) for baseline and advanced run.") with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} return {'baseline': RBO(self.run_b_orig, run_b_rep, pbar=print_feedback, misinfo=misinfo), 'advanced': RBO(self.run_a_orig, run_a_rep, pbar=print_feedback, misinfo=misinfo)} else: if print_feedback: print("Determining Rank-biased Overlap (RBO) for baseline run.") with open(run_b_path, 'r') as b_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} return {'baseline': RBO(self.run_b_orig, run_b_rep, pbar=print_feedback, misinfo=misinfo)} if self.run_b_orig and run_b_rep: if self.run_a_orig and run_a_rep: if print_feedback: print("Determining Rank-biased Overlap (RBO) for baseline and advanced run.") return {'baseline': RBO(self.run_b_orig, run_b_rep, pbar=print_feedback, misinfo=misinfo), 'advanced': RBO(self.run_a_orig, run_a_rep, pbar=print_feedback, misinfo=misinfo)} else: if print_feedback: print("Determining Rank-biased Overlap (RBO) for baseline run.") return {'baseline': RBO(self.run_b_orig, run_b_rep, pbar=print_feedback, misinfo=misinfo)} if self.run_b_orig and self.run_b_rep: if self.run_a_orig and self.run_a_rep: if print_feedback: print("Determining Rank-biased Overlap (RBO) for baseline and advanced run.") return {'baseline': RBO(self.run_b_orig, self.run_b_rep, pbar=print_feedback, misinfo=misinfo), 'advanced': RBO(self.run_a_orig, self.run_a_rep, pbar=print_feedback, misinfo=misinfo)} else: if print_feedback: print("Determining Rank-biased Overlap (RBO) for baseline run.") return {'baseline': RBO(self.run_b_orig, self.run_b_rep, pbar=print_feedback, misinfo=misinfo)} else: print(ERR_MSG) def rmse(self, run_b_score=None, run_a_score=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Determines the Root Mean Square Error (RMSE) according to the following paper: Timo Breuer, Nicola Ferro, Norbert Fuhr, Maria Maistro, Tetsuya Sakai, Philipp Schaer, Ian Soboroff. How to Measure the Reproducibility of System-oriented IR Experiments. Proceedings of SIGIR, pages 349-358, 2020. @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_b_path: Path to another reproduced baseline run, if not provided the reproduced baseline run of the RpdEvaluator object will be used instead. @param run_a_path: Path to another reproduced advanced run, if not provided the reproduced advanced run of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary with RMSE values that measure the closeness between the topics scores of the original and reproduced runs. """ if self.run_b_orig and run_b_path: if self.run_a_orig and run_a_path: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline and advanced run.") with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval.evaluate(run_b_rep) run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} run_a_rep_score = self.rel_eval.evaluate(run_a_rep) return {'baseline': RMSE(self.run_b_orig_score, run_b_rep_score, pbar=print_feedback), 'advanced': RMSE(self.run_a_orig_score, run_a_rep_score, pbar=print_feedback)} else: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline run.") with open(run_b_path, 'r') as b_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval.evaluate(run_b_rep) return {'baseline': RMSE(self.run_b_orig_score, run_b_rep_score, pbar=print_feedback)} if self.run_b_orig_score and run_b_score: if self.run_a_orig_score and run_a_score: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline and advanced run.") return {'baseline': RMSE(self.run_b_orig_score, run_b_score, pbar=print_feedback), 'advanced': RMSE(self.run_a_orig_score, run_a_score, pbar=print_feedback)} else: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline run.") return {'baseline': RMSE(self.run_b_orig_score, run_b_score, pbar=print_feedback)} if self.run_b_orig_score and self.run_b_rep_score: if self.run_a_orig_score and self.run_a_rep_score: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline and advanced run.") return {'baseline': RMSE(self.run_b_orig_score, self.run_b_rep_score, pbar=print_feedback), 'advanced': RMSE(self.run_a_orig_score, self.run_a_rep_score, pbar=print_feedback)} else: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline run.") return {'baseline': RMSE(self.run_b_orig_score, self.run_b_rep_score, pbar=print_feedback)} else: print(ERR_MSG) def nrmse(self, run_b_score=None, run_a_score=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Determines the normalized Root Mean Square Error (RMSE). @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_b_path: Path to another reproduced baseline run, if not provided the reproduced baseline run of the RpdEvaluator object will be used instead. @param run_a_path: Path to another reproduced advanced run, if not provided the reproduced advanced run of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary with nRMSE values that measure the closeness between the topics scores of the original and reproduced runs. """ if self.run_b_orig and run_b_path: if self.run_a_orig and run_a_path: if print_feedback: print("Determining normalized Root Mean Square Error (RMSE) for baseline and advanced run.") with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval.evaluate(run_b_rep) run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} run_a_rep_score = self.rel_eval.evaluate(run_a_rep) return {'baseline': nRMSE(self.run_b_orig_score, run_b_rep_score, pbar=print_feedback), 'advanced': nRMSE(self.run_a_orig_score, run_a_rep_score, pbar=print_feedback)} else: if print_feedback: print("Determining normalized Root Mean Square Error (RMSE) for baseline run.") with open(run_b_path, 'r') as b_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval.evaluate(run_b_rep) return {'baseline': nRMSE(self.run_b_orig_score, run_b_rep_score, pbar=print_feedback)} if self.run_b_orig_score and run_b_score: if self.run_a_orig_score and run_a_score: if print_feedback: print("Determining normalized Root Mean Square Error (RMSE) for baseline and advanced run.") return {'baseline': nRMSE(self.run_b_orig_score, run_b_score, pbar=print_feedback), 'advanced': nRMSE(self.run_a_orig_score, run_a_score, pbar=print_feedback)} else: if print_feedback: print("Determining normalized Root Mean Square Error (RMSE) for baseline run.") return {'baseline': nRMSE(self.run_b_orig_score, run_b_score, pbar=print_feedback)} if self.run_b_orig_score and self.run_b_rep_score: if self.run_a_orig_score and self.run_a_rep_score: if print_feedback: print("Determining Root Mean Square Error (RMSE) for baseline and advanced run.") return {'baseline': nRMSE(self.run_b_orig_score, self.run_b_rep_score, pbar=print_feedback), 'advanced': nRMSE(self.run_a_orig_score, self.run_a_rep_score, pbar=print_feedback)} else: if print_feedback: print("Determining normalized Root Mean Square Error (RMSE) for baseline run.") return {'baseline': nRMSE(self.run_b_orig_score, self.run_b_rep_score, pbar=print_feedback)} else: print(ERR_MSG) def ttest(self, run_b_score=None, run_a_score=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Conducts a paired two-tailed t-test for reproduced runs that were derived from the same test collection as in the original experiment. @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_b_path: Path to another reproduced baseline run, if not provided the reproduced baseline run of the RpdEvaluator object will be used instead. @param run_a_path: Path to another reproduced advanced run, if not provided the reproduced advanced run of the RpdEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary with p-values that compare the score distributions of the baseline and advanced run. """ if run_b_path: if run_a_path: with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval.evaluate(run_b_rep) run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} run_a_rep_score = self.rel_eval.evaluate(run_a_rep) return self._ttest(run_b_score=run_b_rep_score, run_a_score=run_a_rep_score, print_feedback=print_feedback) else: with open(run_b_path, 'r') as b_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval.evaluate(run_b_rep) return self._ttest(run_b_score=run_b_rep_score, run_a_score=None, print_feedback=print_feedback) return self._ttest(run_b_score=run_b_score, run_a_score=run_a_score, print_feedback=print_feedback) class RplEvaluator(Evaluator): """ The Replicability Evaluator is used for quantifying the different levels of replication for runs that were derived from a test collection not used in the original experiment. """ def __init__(self, **kwargs): super(RplEvaluator, self).__init__(**kwargs) self.qrel_rpl_path = kwargs.get('qrel_rpl_path', None) if self.qrel_rpl_path: with open(self.qrel_rpl_path, 'r') as f_qrel: qrel_rpl = pytrec_eval.parse_qrel(f_qrel) self.rel_eval_rpl = pytrec_eval.RelevanceEvaluator(qrel_rpl, pytrec_eval.supported_measures) def evaluate(self, run=None): """ Evaluates the scores of the original and replicated baseline and advanced runs. If a (replicated) run is provided only this one will be evaluated and a dictionary with the corresponding scores is returned. @param run: A replicated run. If not specified, the original and replicated runs of the the RplEvaluator will be used instead. @return: If run is specified, a dictionary with the corresponding scores is returned. """ if run: return self.rel_eval_rpl.evaluate(run) super(RplEvaluator, self).evaluate() if self.run_b_rep: self.run_b_rep = break_ties(self.run_b_rep) self.run_b_rep_score = self.rel_eval_rpl.evaluate(self.run_b_rep) if self.run_a_rep: self.run_a_rep = break_ties(self.run_a_rep) self.run_a_rep_score = self.rel_eval_rpl.evaluate(self.run_a_rep) def ttest(self, run_b_score=None, run_a_score=None, run_b_path=None, run_a_path=None, print_feedback=False): """ Conducts an un-paired two-tailed t-test for replicated runs that were derived from a test collection not used in the original experiment. @param run_b_score: Scores of the baseline run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_a_score: Scores of the advanced run, if not provided the scores of the RpdEvaluator object will be used instead. @param run_b_path: Path to another replicated baseline run, if not provided the replicated baseline run of the RplEvaluator object will be used instead. @param run_a_path: Path to another replicated advanced run, if not provided the replicated advanced run of the RplEvaluator object will be used instead. @param print_feedback: Boolean value indicating if feedback on progress should be printed. @return: Dictionary with p-values that compare the score distributions of the baseline and advanced run. """ if run_b_path: if run_a_path: with open(run_b_path, 'r') as b_run, open(run_a_path, 'r') as a_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval_rpl.evaluate(run_b_rep) run_a_rep = pytrec_eval.parse_run(a_run) run_a_rep = {t: run_a_rep[t] for t in sorted(run_a_rep)} run_a_rep_score = self.rel_eval_rpl.evaluate(run_a_rep) return self._ttest(rpd=False, run_b_score=run_b_rep_score, run_a_score=run_a_rep_score, print_feedback=print_feedback) else: with open(run_b_path, 'r') as b_run: run_b_rep = pytrec_eval.parse_run(b_run) run_b_rep = {t: run_b_rep[t] for t in sorted(run_b_rep)} run_b_rep_score = self.rel_eval_rpl.evaluate(run_b_rep) return self._ttest(rpd=False, run_b_score=run_b_rep_score, run_a_score=None, print_feedback=print_feedback) return self._ttest(rpd=False, run_b_score=run_b_score, run_a_score=run_a_score, print_feedback=print_feedback)
59.723856
143
0.643019
5,388
36,551
4.072569
0.041945
0.055781
0.046575
0.039375
0.917422
0.894499
0.866928
0.856811
0.841726
0.818074
0
0.002304
0.287598
36,551
611
144
59.821604
0.840393
0.297584
0
0.681579
0
0
0.097243
0
0
0
0
0
0
1
0.039474
false
0
0.018421
0
0.178947
0.342105
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7919b65310d700381cf3d0df92cdab1b15db83a9
149
py
Python
enforce_codeowners/setup.py
JoshuaRM/keras-bot
1c83c73b8e479ff11188ec98a6bcb24144ebc3ee
[ "MIT" ]
null
null
null
enforce_codeowners/setup.py
JoshuaRM/keras-bot
1c83c73b8e479ff11188ec98a6bcb24144ebc3ee
[ "MIT" ]
1
2019-03-28T00:36:44.000Z
2019-04-01T19:27:56.000Z
enforce_codeowners/setup.py
JoshuaRM/keras-bot
1c83c73b8e479ff11188ec98a6bcb24144ebc3ee
[ "MIT" ]
1
2019-03-15T16:20:53.000Z
2019-03-15T16:20:53.000Z
from setuptools import setup from setuptools import find_packages setup(name='Keras-bot-enforce-codeowners', packages=find_packages())
21.285714
43
0.758389
18
149
6.166667
0.611111
0.252252
0.36036
0
0
0
0
0
0
0
0
0
0.161074
149
6
44
24.833333
0.888
0
0
0
0
0
0.195804
0.195804
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
6
7924096d39900472b76a499f1110319ad1452f9c
78
py
Python
source/nn/modules/__init__.py
tailerr/R-NET-pytorch
a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd
[ "MIT" ]
null
null
null
source/nn/modules/__init__.py
tailerr/R-NET-pytorch
a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd
[ "MIT" ]
null
null
null
source/nn/modules/__init__.py
tailerr/R-NET-pytorch
a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd
[ "MIT" ]
2
2020-03-04T05:48:48.000Z
2020-03-04T06:37:27.000Z
from .attention import * from .output_layer import * from .embedding import *
19.5
27
0.769231
10
78
5.9
0.6
0.338983
0
0
0
0
0
0
0
0
0
0
0.153846
78
3
28
26
0.893939
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
793953a11e2c35da980b4425383255d3cb8fe3b9
17,967
py
Python
contract.py
Cocos-BCX/Python-Middleware-sample
282c0ec56007dd1d750ae4a2e7bc148a58aef4d5
[ "MIT" ]
13
2019-08-21T06:18:52.000Z
2021-02-13T02:43:59.000Z
contract.py
Cocos-BCX/Python-Middleware-sample
282c0ec56007dd1d750ae4a2e7bc148a58aef4d5
[ "MIT" ]
null
null
null
contract.py
Cocos-BCX/Python-Middleware-sample
282c0ec56007dd1d750ae4a2e7bc148a58aef4d5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PythonMiddleware.graphene import Graphene from PythonMiddleware.instance import set_shared_graphene_instance from pprint import pprint from PythonMiddleware.account import Account nodeAddress = "ws://127.0.0.1:8020" gph = Graphene(node=nodeAddress, blocking=True) set_shared_graphene_instance(gph) #创建钱包 #可以通过gph.wallet 直接使用钱包instance,操作钱包的接口。 if gph.wallet.created() is False: gph.newWallet("123456") #钱包解锁 if gph.wallet.locked() is True: gph.wallet.unlock("123456") #init0 ["COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT", "5JHdMwsWkEXsMozFrQAQKnKwo44CaV77H45S9PsH7QVbFQngJfw"] pub="COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT" pprint(gph.wallet.getPrivateKeyForPublicKey(pub)) #合约创建1:单行合约 data1="function hello() chainhelper:log('Hello World!') end" pprint(gph.create_contract("contract.pytest.hello", data=data1, con_authority=pub, account="init0")) ''' 执行结果: tx.buffer>>>: {'extensions': [], 'signatures': ['1f11b53efe5abb9fa5690644b437ce2fe7193b3deeb5bc0f13021241ad914c008019942a45a830253f49410e77537d8739a1f1c629f31938c613085faa8ad82aa9'], 'ref_block_prefix': 695707653, 'ref_block_num': 53573, 'operations': [[43, {'data': "function hello() chainhelper:log('Hello World!') end", 'extensions': [], 'fee': {'asset_id': '1.3.0', 'amount': 2051757}, 'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'owner': '1.2.4', 'name': 'contract.pytest.hello'}]], 'expiration': '2019-08-21T06:34:07'} tx======>>: {'extensions': [], 'signatures': ['1f11b53efe5abb9fa5690644b437ce2fe7193b3deeb5bc0f13021241ad914c008019942a45a830253f49410e77537d8739a1f1c629f31938c613085faa8ad82aa9'], 'ref_block_prefix': 695707653, 'ref_block_num': 53573, 'operations': [[43, {'data': "function hello() chainhelper:log('Hello World!') end", 'extensions': [], 'fee': {'asset_id': '1.3.0', 'amount': 2051757}, 'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'owner': '1.2.4', 'name': 'contract.pytest.hello'}]], 'expiration': '2019-08-21T06:34:07'} transaction>>>: {'extensions': [], 'signatures': ['1f11b53efe5abb9fa5690644b437ce2fe7193b3deeb5bc0f13021241ad914c008019942a45a830253f49410e77537d8739a1f1c629f31938c613085faa8ad82aa9'], 'ref_block_prefix': 695707653, 'ref_block_num': 53573, 'operations': [[43, {'data': "function hello() chainhelper:log('Hello World!') end", 'extensions': [], 'fee': {'asset_id': '1.3.0', 'amount': 2051757}, 'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'owner': '1.2.4', 'name': 'contract.pytest.hello'}]], 'expiration': '2019-08-21T06:34:07'} ['66d25d4d1a8fd68fe8d431f1af4b0c11d7d2760777261fc77488033a4c643177', {'block': 53574, 'expiration': '2019-08-21T06:34:07', 'extensions': [], 'operation_results': [[2, {'real_running_time': 822, 'result': '1.16.1'}]], 'operations': [[43, {'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'data': "function hello() chainhelper:log('Hello World!') " 'end', 'extensions': [], 'fee': {'amount': 2051757, 'asset_id': '1.3.0'}, 'name': 'contract.pytest.hello', 'owner': '1.2.4'}]], 'ref_block_num': 53573, 'ref_block_prefix': 695707653, 'signatures': ['1f11b53efe5abb9fa5690644b437ce2fe7193b3deeb5bc0f13021241ad914c008019942a45a830253f49410e77537d8739a1f1c629f31938c613085faa8ad82aa9']}] ''' #合约创建2: 多行合约 data2 = "function hello() \ chainhelper:log('Hello World!') \ chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) \ end " pprint(gph.create_contract("contract.pytest.hello2", data=data2, con_authority=pub, account="init0")) ''' 执行结果: tx.buffer>>>: {'extensions': [], 'ref_block_num': 53615, 'ref_block_prefix': 3922499816, 'signatures': ['1f5088ae364efb3b1bbcf59e6adcdd969548d94023564e740631a6b7cbd283a3376533d17c0da90f9f7f4abeb08615f046c056bee4a16d9f6850eb95a325f126be'], 'operations': [[43, {'extensions': [], 'name': 'contract.pytest.hello2', 'data': "function hello() chainhelper:log('Hello World!') chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) end ", 'owner': '1.2.4', 'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'fee': {'asset_id': '1.3.0', 'amount': 2122070}}]], 'expiration': '2019-08-21T06:37:37'} tx======>>: {'extensions': [], 'ref_block_num': 53615, 'ref_block_prefix': 3922499816, 'signatures': ['1f5088ae364efb3b1bbcf59e6adcdd969548d94023564e740631a6b7cbd283a3376533d17c0da90f9f7f4abeb08615f046c056bee4a16d9f6850eb95a325f126be'], 'operations': [[43, {'extensions': [], 'name': 'contract.pytest.hello2', 'data': "function hello() chainhelper:log('Hello World!') chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) end ", 'owner': '1.2.4', 'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'fee': {'asset_id': '1.3.0', 'amount': 2122070}}]], 'expiration': '2019-08-21T06:37:37'} transaction>>>: {'extensions': [], 'ref_block_num': 53615, 'ref_block_prefix': 3922499816, 'signatures': ['1f5088ae364efb3b1bbcf59e6adcdd969548d94023564e740631a6b7cbd283a3376533d17c0da90f9f7f4abeb08615f046c056bee4a16d9f6850eb95a325f126be'], 'operations': [[43, {'extensions': [], 'name': 'contract.pytest.hello2', 'data': "function hello() chainhelper:log('Hello World!') chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) end ", 'owner': '1.2.4', 'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'fee': {'asset_id': '1.3.0', 'amount': 2122070}}]], 'expiration': '2019-08-21T06:37:37'} ['dd79a4497506b0d24b0aff5e1896be5d7f2ff875adf08560d84382e128a3b87c', {'block': 53616, 'expiration': '2019-08-21T06:37:37', 'extensions': [], 'operation_results': [[2, {'real_running_time': 780, 'result': '1.16.2'}]], 'operations': [[43, {'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'data': "function hello() chainhelper:log('Hello " "World!') " "chainhelper:log(date('%Y-%m-%dT%H:%M:%S', " 'chainhelper:time())) end ', 'extensions': [], 'fee': {'amount': 2122070, 'asset_id': '1.3.0'}, 'name': 'contract.pytest.hello2', 'owner': '1.2.4'}]], 'ref_block_num': 53615, 'ref_block_prefix': 3922499816, 'signatures': ['1f5088ae364efb3b1bbcf59e6adcdd969548d94023564e740631a6b7cbd283a3376533d17c0da90f9f7f4abeb08615f046c056bee4a16d9f6850eb95a325f126be']}] ''' #合约创建3:通过文件创建 file = open("hello.lua", "r") #打开文件 context = file.read() #读取文件 print(context) pprint(gph.create_contract("contract.pytest.hello3", data=context, con_authority=pub, account="init0")) ''' 执行结果: function hello() chainhelper:log('Hello World!') chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) chainhelper:log('test end. 2019-08-21 14:35:08') end tx.buffer>>>: {'signatures': ['1f6a7c96c3c1664db6cd6fecd7e6764f3b1c61c1591a1b1ed54448b0055bae5ec508457fbf2f980fe35117982b2ef35f98fe43888d8a8c814bdc4c78ce84b61c07'], 'expiration': '2019-08-21T07:40:25', 'operations': [[43, {'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'owner': '1.2.4', 'name': 'contract.pytest.hello3', 'fee': {'amount': 2178710, 'asset_id': '1.3.0'}, 'extensions': [], 'data': "function hello() \n chainhelper:log('Hello World!') \n chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) \n chainhelper:log('test end. 2019-08-21 14:35:08') \nend\n"}]], 'ref_block_prefix': 2432441567, 'extensions': [], 'ref_block_num': 54369} tx======>>: {'signatures': ['1f6a7c96c3c1664db6cd6fecd7e6764f3b1c61c1591a1b1ed54448b0055bae5ec508457fbf2f980fe35117982b2ef35f98fe43888d8a8c814bdc4c78ce84b61c07'], 'expiration': '2019-08-21T07:40:25', 'operations': [[43, {'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'owner': '1.2.4', 'name': 'contract.pytest.hello3', 'fee': {'amount': 2178710, 'asset_id': '1.3.0'}, 'extensions': [], 'data': "function hello() \n chainhelper:log('Hello World!') \n chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) \n chainhelper:log('test end. 2019-08-21 14:35:08') \nend\n"}]], 'ref_block_prefix': 2432441567, 'extensions': [], 'ref_block_num': 54369} transaction>>>: {'signatures': ['1f6a7c96c3c1664db6cd6fecd7e6764f3b1c61c1591a1b1ed54448b0055bae5ec508457fbf2f980fe35117982b2ef35f98fe43888d8a8c814bdc4c78ce84b61c07'], 'expiration': '2019-08-21T07:40:25', 'operations': [[43, {'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'owner': '1.2.4', 'name': 'contract.pytest.hello3', 'fee': {'amount': 2178710, 'asset_id': '1.3.0'}, 'extensions': [], 'data': "function hello() \n chainhelper:log('Hello World!') \n chainhelper:log(date('%Y-%m-%dT%H:%M:%S', chainhelper:time())) \n chainhelper:log('test end. 2019-08-21 14:35:08') \nend\n"}]], 'ref_block_prefix': 2432441567, 'extensions': [], 'ref_block_num': 54369} ['53a1bcf027ddaf235f26b9987b41feeaa7087d2cf288f5efa76b727df6edfc67', {'block': 54370, 'expiration': '2019-08-21T07:40:25', 'extensions': [], 'operation_results': [[2, {'real_running_time': 936, 'result': '1.16.3'}]], 'operations': [[43, {'contract_authority': 'COCOS5vzuh6YRRmCjUMeeHLsjnVCdJwqm9WZoUBDDNVp7HTwFM1ZYQT', 'data': 'function hello() \n' " chainhelper:log('Hello World!') \n" " chainhelper:log(date('%Y-%m-%dT%H:%M:%S', " 'chainhelper:time())) \n' " chainhelper:log('test end. 2019-08-21 " "14:35:08') \n" 'end\n', 'extensions': [], 'fee': {'amount': 2178710, 'asset_id': '1.3.0'}, 'name': 'contract.pytest.hello3', 'owner': '1.2.4'}]], 'ref_block_num': 54369, 'ref_block_prefix': 2432441567, 'signatures': ['1f6a7c96c3c1664db6cd6fecd7e6764f3b1c61c1591a1b1ed54448b0055bae5ec508457fbf2f980fe35117982b2ef35f98fe43888d8a8c814bdc4c78ce84b61c07']}] ''' #调用合约: contract.pytest.hello2 value_list=[] #调用1 pprint(gph.call_contract_function("contract.pytest.hello2", "hello", value_list=value_list, account="test14")) #调用2 pprint(gph.call_contract_function("1.16.2", "hello", value_list=value_list, account="test14")) ''' 执行结果: value_list:>>> [] value_list:>>> [] tx.buffer>>>: {'ref_block_num': 53792, 'expiration': '2019-08-21T06:52:24', 'operations': [[44, {'value_list': [], 'function_name': 'hello', 'caller': '1.2.17', 'fee': {'asset_id': '1.3.0', 'amount': 2007812}, 'contract_id': '1.16.2', 'extensions': []}]], 'extensions': [], 'ref_block_prefix': 1080919947, 'signatures': ['200e225780dc4381daeb9322a81733d2a085b68d41d5c5468794b106f2f21a3679228fcbc97035aa992c37570f1a548a6ed764a84d479b06cf5cf6adb70ce5d1a1', '203d5a926b2777f092c6659838c80c71521a37bf549edf221778b9aa7763fa97167d0f679123e4078b77371c58f15bccc01cc2ea4155ef322d8f0221af36e3126b']} tx======>>: {'ref_block_num': 53792, 'expiration': '2019-08-21T06:52:24', 'operations': [[44, {'value_list': [], 'function_name': 'hello', 'caller': '1.2.17', 'fee': {'asset_id': '1.3.0', 'amount': 2007812}, 'contract_id': '1.16.2', 'extensions': []}]], 'extensions': [], 'ref_block_prefix': 1080919947, 'signatures': ['200e225780dc4381daeb9322a81733d2a085b68d41d5c5468794b106f2f21a3679228fcbc97035aa992c37570f1a548a6ed764a84d479b06cf5cf6adb70ce5d1a1', '203d5a926b2777f092c6659838c80c71521a37bf549edf221778b9aa7763fa97167d0f679123e4078b77371c58f15bccc01cc2ea4155ef322d8f0221af36e3126b']} transaction>>>: {'ref_block_num': 53792, 'expiration': '2019-08-21T06:52:24', 'operations': [[44, {'value_list': [], 'function_name': 'hello', 'caller': '1.2.17', 'fee': {'asset_id': '1.3.0', 'amount': 2007812}, 'contract_id': '1.16.2', 'extensions': []}]], 'extensions': [], 'ref_block_prefix': 1080919947, 'signatures': ['200e225780dc4381daeb9322a81733d2a085b68d41d5c5468794b106f2f21a3679228fcbc97035aa992c37570f1a548a6ed764a84d479b06cf5cf6adb70ce5d1a1', '203d5a926b2777f092c6659838c80c71521a37bf549edf221778b9aa7763fa97167d0f679123e4078b77371c58f15bccc01cc2ea4155ef322d8f0221af36e3126b']} ['6a73a9d7dc3e56fd6087d17592ce55e5c8453f21c268c1f66ef0055759b943f3', {'block': 53794, 'expiration': '2019-08-21T06:52:24', 'extensions': [], 'operation_results': [[4, {'additional_cost': {'amount': 637109, 'asset_id': '1.3.0'}, 'contract_affecteds': [[3, {'affected_account': '1.2.17', 'message': 'Hello World!'}], [3, {'affected_account': '1.2.17', 'message': '2019-08-21T05:52:25'}]], 'contract_id': '1.16.2', 'existed_pv': False, 'process_value': '', 'real_running_time': 600}]], 'operations': [[44, {'caller': '1.2.17', 'contract_id': '1.16.2', 'extensions': [], 'fee': {'amount': 2007812, 'asset_id': '1.3.0'}, 'function_name': 'hello', 'value_list': []}]], 'ref_block_num': 53792, 'ref_block_prefix': 1080919947, 'signatures': ['200e225780dc4381daeb9322a81733d2a085b68d41d5c5468794b106f2f21a3679228fcbc97035aa992c37570f1a548a6ed764a84d479b06cf5cf6adb70ce5d1a1', '203d5a926b2777f092c6659838c80c71521a37bf549edf221778b9aa7763fa97167d0f679123e4078b77371c58f15bccc01cc2ea4155ef322d8f0221af36e3126b']}] ''' #合约调用:调用通过文件创建的合约:contract.pytest.hello3 pprint(gph.call_contract_function("contract.pytest.hello3", "hello", value_list=value_list, account="test14")) ''' 合约执行: value_list:>>> [] value_list:>>> [] tx.buffer>>>: {'ref_block_num': 54396, 'ref_block_prefix': 398433404, 'extensions': [], 'operations': [[44, {'value_list': [], 'extensions': [], 'contract_id': '1.16.3', 'function_name': 'hello', 'caller': '1.2.17', 'fee': {'amount': 2007812, 'asset_id': '1.3.0'}}]], 'expiration': '2019-08-21T07:42:41', 'signatures': ['20312321ead5eefee489d55868fad2b3782f3b39fdf9fcf79a229e4967a1a49f0460e658e3d14fde1162a78f4707ac7ffd14a0c98f132723e72856bed6d75721c0', '203afda066ec1969e9eb5b37e015744011aff225ae0674692b3e0f505d21d64b352e9e51b8fffdf66cec6ec1bd9233cfefae8226b159b5673744304068172017a2']} tx======>>: {'ref_block_num': 54396, 'ref_block_prefix': 398433404, 'extensions': [], 'operations': [[44, {'value_list': [], 'extensions': [], 'contract_id': '1.16.3', 'function_name': 'hello', 'caller': '1.2.17', 'fee': {'amount': 2007812, 'asset_id': '1.3.0'}}]], 'expiration': '2019-08-21T07:42:41', 'signatures': ['20312321ead5eefee489d55868fad2b3782f3b39fdf9fcf79a229e4967a1a49f0460e658e3d14fde1162a78f4707ac7ffd14a0c98f132723e72856bed6d75721c0', '203afda066ec1969e9eb5b37e015744011aff225ae0674692b3e0f505d21d64b352e9e51b8fffdf66cec6ec1bd9233cfefae8226b159b5673744304068172017a2']} transaction>>>: {'ref_block_num': 54396, 'ref_block_prefix': 398433404, 'extensions': [], 'operations': [[44, {'value_list': [], 'extensions': [], 'contract_id': '1.16.3', 'function_name': 'hello', 'caller': '1.2.17', 'fee': {'amount': 2007812, 'asset_id': '1.3.0'}}]], 'expiration': '2019-08-21T07:42:41', 'signatures': ['20312321ead5eefee489d55868fad2b3782f3b39fdf9fcf79a229e4967a1a49f0460e658e3d14fde1162a78f4707ac7ffd14a0c98f132723e72856bed6d75721c0', '203afda066ec1969e9eb5b37e015744011aff225ae0674692b3e0f505d21d64b352e9e51b8fffdf66cec6ec1bd9233cfefae8226b159b5673744304068172017a2']} ['2bc05435b5d4eac3f69da12b5917eb9d29f2825db0dc152ee96415e03294f046', {'block': 54397, 'expiration': '2019-08-21T07:42:41', 'extensions': [], 'operation_results': [[4, {'additional_cost': {'amount': 701359, 'asset_id': '1.3.0'}, 'contract_affecteds': [[3, {'affected_account': '1.2.17', 'message': 'Hello World!'}], [3, {'affected_account': '1.2.17', 'message': '2019-08-21T06:42:40'}], [3, {'affected_account': '1.2.17', 'message': 'test end. ' '2019-08-21 ' '14:35:08'}]], 'contract_id': '1.16.3', 'existed_pv': False, 'process_value': '', 'real_running_time': 633}]], 'operations': [[44, {'caller': '1.2.17', 'contract_id': '1.16.3', 'extensions': [], 'fee': {'amount': 2007812, 'asset_id': '1.3.0'}, 'function_name': 'hello', 'value_list': []}]], 'ref_block_num': 54396, 'ref_block_prefix': 398433404, 'signatures': ['20312321ead5eefee489d55868fad2b3782f3b39fdf9fcf79a229e4967a1a49f0460e658e3d14fde1162a78f4707ac7ffd14a0c98f132723e72856bed6d75721c0', '203afda066ec1969e9eb5b37e015744011aff225ae0674692b3e0f505d21d64b352e9e51b8fffdf66cec6ec1bd9233cfefae8226b159b5673744304068172017a2']}] '''
83.957944
699
0.654812
1,502
17,967
7.701731
0.126498
0.027663
0.015214
0.017116
0.822095
0.817082
0.800311
0.722943
0.695712
0.684474
0
0.258496
0.176212
17,967
213
700
84.352113
0.523073
0.017977
0
0
0
0.035714
0.226969
0.124166
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.321429
0
0
0
null
0
0
0
1
1
1
1
0
1
0
1
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
6
f70982161030e47bcbd5ca140e005db20ffc06d5
1,694
py
Python
test/writing/test_minimize.py
backwardn/policy_sentry
6676fba80b00bcfb3d3884ce5777168a9bbcbf71
[ "MIT" ]
1
2020-07-20T16:16:30.000Z
2020-07-20T16:16:30.000Z
test/writing/test_minimize.py
avineshwar/policy_sentry
1b52b50d97293109ac54350a6c09e48643c7170d
[ "MIT" ]
14
2020-05-06T21:34:17.000Z
2021-03-05T01:04:06.000Z
test/writing/test_minimize.py
Mohib-hub/policy_sentry
d04a69eb7cce2e184c986e0a364b57eea01ef4da
[ "MIT" ]
null
null
null
import unittest from policy_sentry.writing.minimize import minimize_statement_actions from policy_sentry.querying.all import get_all_actions class MinimizeWildcardActionsTestCase(unittest.TestCase): def test_minimize_statement_actions(self): actions_to_minimize = [ "kms:CreateGrant", "kms:CreateCustomKeyStore", "ec2:AuthorizeSecurityGroupEgress", "ec2:AuthorizeSecurityGroupIngress", ] desired_result = ["ec2:authorizes*", "kms:createc*", "kms:createg*"] all_actions = get_all_actions(lowercase=True) minchars = None self.maxDiff = None # minimized_actions_list = minimize_statement_actions(desired_actions, all_actions, minchars) self.assertListEqual( sorted( minimize_statement_actions(actions_to_minimize, all_actions, minchars) ), sorted(desired_result), ) def test_minimize_statement_actions_funky_case(self): actions_to_minimize = [ "kms:creategrant", "kms:createcustomkeystore", "ec2:authorizesecuritygroupegress", "ec2:authorizesecuritygroupingress", ] desired_result = ["ec2:authorizes*", "kms:createc*", "kms:createg*"] all_actions = get_all_actions(lowercase=True) minchars = None self.maxDiff = None # minimized_actions_list = minimize_statement_actions(desired_actions, all_actions, minchars) self.assertListEqual( sorted( minimize_statement_actions(actions_to_minimize, all_actions, minchars) ), sorted(desired_result), )
37.644444
101
0.656434
152
1,694
6.986842
0.269737
0.084746
0.158192
0.045198
0.828625
0.770245
0.770245
0.770245
0.770245
0.770245
0
0.0048
0.262102
1,694
44
102
38.5
0.8448
0.108028
0
0.526316
0
0
0.189655
0.118037
0
0
0
0
0.052632
1
0.052632
false
0
0.078947
0
0.157895
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f7357d01e959dfee06c677343477559f2ba68a03
77
py
Python
form.py
kdvuong/cgi-lab
b1e3a68d60607fd93124dab4e9f1b396525fa361
[ "Apache-2.0" ]
null
null
null
form.py
kdvuong/cgi-lab
b1e3a68d60607fd93124dab4e9f1b396525fa361
[ "Apache-2.0" ]
null
null
null
form.py
kdvuong/cgi-lab
b1e3a68d60607fd93124dab4e9f1b396525fa361
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from templates import login_page print(login_page())
15.4
32
0.779221
12
77
4.833333
0.833333
0.310345
0
0
0
0
0
0
0
0
0
0.014493
0.103896
77
4
33
19.25
0.826087
0.272727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
f747f17175c6f52ae99009332497137eae1f81cc
63
py
Python
marshmallow_dumped_order/__init__.py
maximdanilchenko/marshmallow-dumped-order
b266ca795a1563e49f33d01d394c69915e8535a8
[ "MIT" ]
null
null
null
marshmallow_dumped_order/__init__.py
maximdanilchenko/marshmallow-dumped-order
b266ca795a1563e49f33d01d394c69915e8535a8
[ "MIT" ]
null
null
null
marshmallow_dumped_order/__init__.py
maximdanilchenko/marshmallow-dumped-order
b266ca795a1563e49f33d01d394c69915e8535a8
[ "MIT" ]
null
null
null
from marshmallow_dumped_order.dumped_order import dumped_order
31.5
62
0.920635
9
63
6
0.555556
0.611111
0
0
0
0
0
0
0
0
0
0
0.063492
63
1
63
63
0.915254
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
f750bd571033d52bea706b8151121f0d99b64242
57,734
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_aaa_protocol_radius_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_aaa_protocol_radius_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_aaa_protocol_radius_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import re import collections from enum import Enum from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION from ydk.errors import YPYError, YPYModelError from ydk.providers._importer import _yang_ns _meta_table = { 'Radius.Nodes.Node.Client' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Client', False, [ _MetaInfoClassMember('authentication-nas-id', ATTRIBUTE, 'str' , None, None, [], [], ''' NAS-Identifier of the RADIUS authentication client ''', 'authentication_nas_id', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('unknown-accounting-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of RADIUS accounting responses packets received from unknown addresses ''', 'unknown_accounting_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('unknown-authentication-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of RADIUS access responses packets received from unknown addresses ''', 'unknown_authentication_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'client', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time', False, [ _MetaInfoClassMember('is-computed', ATTRIBUTE, 'bool' , None, None, [], [], ''' True if computed; false if not ''', 'is_computed', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('value', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Value for time or tries ''', 'value', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'time', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries', False, [ _MetaInfoClassMember('is-computed', ATTRIBUTE, 'bool' , None, None, [], [], ''' True if computed; false if not ''', 'is_computed', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('value', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Value for time or tries ''', 'value', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'tries', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.DeadCriteria.Hosts.Host' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.DeadCriteria.Hosts.Host', False, [ _MetaInfoClassMember('acct-port-number', ATTRIBUTE, 'int' , None, None, [('1', '65535')], [], ''' Accounting Port number (standard port 1646) ''', 'acct_port_number', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('auth-port-number', ATTRIBUTE, 'int' , None, None, [('1', '65535')], [], ''' Authentication Port number (standard port 1645) ''', 'auth_port_number', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('ip-address', REFERENCE_UNION, 'str' , None, None, [], [], ''' IP address of RADIUS server ''', 'ip_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False, [ _MetaInfoClassMember('ip-address', ATTRIBUTE, 'str' , None, None, [], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'], ''' IP address of RADIUS server ''', 'ip_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('ip-address', ATTRIBUTE, 'str' , None, None, [], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'], ''' IP address of RADIUS server ''', 'ip_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ]), _MetaInfoClassMember('time', REFERENCE_CLASS, 'Time' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time', [], [], ''' Time in seconds ''', 'time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('tries', REFERENCE_CLASS, 'Tries' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries', [], [], ''' Number of tries ''', 'tries', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'host', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.DeadCriteria.Hosts' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.DeadCriteria.Hosts', False, [ _MetaInfoClassMember('host', REFERENCE_LIST, 'Host' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.DeadCriteria.Hosts.Host', [], [], ''' RADIUS Server ''', 'host', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'hosts', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.DeadCriteria' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.DeadCriteria', False, [ _MetaInfoClassMember('hosts', REFERENCE_CLASS, 'Hosts' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.DeadCriteria.Hosts', [], [], ''' RADIUS server dead criteria host table ''', 'hosts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'dead-criteria', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_', False, [ _MetaInfoClassMember('access-accepts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access accepts ''', 'access_accepts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-challenges', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access challenges ''', 'access_challenges', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-rejects', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access rejects ''', 'access_rejects', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-request-retransmits', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of retransmitted access requests ''', 'access_request_retransmits', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access requests ''', 'access_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-timeouts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access packets timed out ''', 'access_timeouts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-incorrect-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of incorrect authentication responses ''', 'authen_incorrect_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-response-time', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Average response time for authentication requests ''', 'authen_response_time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-server-error-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of server error authentication responses ''', 'authen_server_error_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-transaction-failure', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of failed authentication transactions ''', 'authen_transaction_failure', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-transaction-successess', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of succeeded authentication transactions ''', 'authen_transaction_successess', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-unexpected-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of unexpected authentication responses ''', 'authen_unexpected_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-access-authenticators', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad access authenticators ''', 'bad_access_authenticators', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-access-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad access responses ''', 'bad_access_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('dropped-access-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access responses dropped ''', 'dropped_access_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('pending-access-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of pending access requests ''', 'pending_access_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('rtt', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Round trip time for authentication in milliseconds ''', 'rtt', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('unknown-access-types', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of packets received with unknown type from authentication server ''', 'unknown_access_types', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'authentication', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.Authentication.AuthenticationGroup' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Authentication.AuthenticationGroup', False, [ _MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_', [], [], ''' Authentication data ''', 'authentication', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('family', ATTRIBUTE, 'str' , None, None, [], [], ''' IP address Family ''', 'family', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('ip-address', ATTRIBUTE, 'str' , None, None, [], [], ''' IP address buffer ''', 'ip_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('port', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Authentication port number ''', 'port', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('server-address', ATTRIBUTE, 'str' , None, None, [], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'], ''' IP address of RADIUS server ''', 'server_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'authentication-group', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.Authentication' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Authentication', False, [ _MetaInfoClassMember('authentication-group', REFERENCE_LIST, 'AuthenticationGroup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Authentication.AuthenticationGroup', [], [], ''' List of authentication groups ''', 'authentication_group', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'authentication', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_', False, [ _MetaInfoClassMember('acct-incorrect-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of incorrect accounting responses ''', 'acct_incorrect_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-response-time', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Average response time for authentication requests ''', 'acct_response_time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-server-error-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of server error accounting responses ''', 'acct_server_error_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-transaction-failure', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of failed authentication transactions ''', 'acct_transaction_failure', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-transaction-successess', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of succeeded authentication transactions ''', 'acct_transaction_successess', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-unexpected-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of unexpected accounting responses ''', 'acct_unexpected_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-authenticators', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad accounting authenticators ''', 'bad_authenticators', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad accounting responses ''', 'bad_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('dropped-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting responses dropped ''', 'dropped_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('pending-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of pending accounting requests ''', 'pending_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting requests ''', 'requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting responses ''', 'responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('retransmits', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of retransmitted accounting requests ''', 'retransmits', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('rtt', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Round trip time for accounting in milliseconds ''', 'rtt', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('timeouts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting packets timed-out ''', 'timeouts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('unknown-packet-types', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of packets received with unknown type from accounting server ''', 'unknown_packet_types', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'accounting', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.Accounting.AccountingGroup' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Accounting.AccountingGroup', False, [ _MetaInfoClassMember('accounting', REFERENCE_CLASS, 'Accounting_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_', [], [], ''' Accounting data ''', 'accounting', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('family', ATTRIBUTE, 'str' , None, None, [], [], ''' IP address Family ''', 'family', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('ip-address', ATTRIBUTE, 'str' , None, None, [], [], ''' IP address buffer ''', 'ip_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('port', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Accounting port number ''', 'port', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('server-address', ATTRIBUTE, 'str' , None, None, [], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'], ''' IP address of RADIUS server ''', 'server_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'accounting-group', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.Accounting' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.Accounting', False, [ _MetaInfoClassMember('accounting-group', REFERENCE_LIST, 'AccountingGroup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Accounting.AccountingGroup', [], [], ''' List of accounting groups ''', 'accounting_group', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'accounting', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting', False, [ _MetaInfoClassMember('acct-incorrect-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of incorrect accounting responses ''', 'acct_incorrect_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-response-time', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Average response time for authentication requests ''', 'acct_response_time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-server-error-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of server error accounting responses ''', 'acct_server_error_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-transaction-failure', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of failed authentication transactions ''', 'acct_transaction_failure', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-transaction-successess', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of succeeded authentication transactions ''', 'acct_transaction_successess', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('acct-unexpected-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of unexpected accounting responses ''', 'acct_unexpected_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-authenticators', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad accounting authenticators ''', 'bad_authenticators', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad accounting responses ''', 'bad_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('dropped-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting responses dropped ''', 'dropped_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('pending-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of pending accounting requests ''', 'pending_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting requests ''', 'requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting responses ''', 'responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('retransmits', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of retransmitted accounting requests ''', 'retransmits', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('rtt', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Round trip time for accounting in milliseconds ''', 'rtt', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('timeouts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of accounting packets timed-out ''', 'timeouts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('unknown-packet-types', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of packets received with unknown type from accounting server ''', 'unknown_packet_types', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'accounting', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication', False, [ _MetaInfoClassMember('access-accepts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access accepts ''', 'access_accepts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-challenges', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access challenges ''', 'access_challenges', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-rejects', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access rejects ''', 'access_rejects', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-request-retransmits', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of retransmitted access requests ''', 'access_request_retransmits', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access requests ''', 'access_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('access-timeouts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access packets timed out ''', 'access_timeouts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-incorrect-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of incorrect authentication responses ''', 'authen_incorrect_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-response-time', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Average response time for authentication requests ''', 'authen_response_time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-server-error-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of server error authentication responses ''', 'authen_server_error_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-transaction-failure', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of failed authentication transactions ''', 'authen_transaction_failure', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-transaction-successess', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of succeeded authentication transactions ''', 'authen_transaction_successess', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authen-unexpected-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of unexpected authentication responses ''', 'authen_unexpected_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-access-authenticators', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad access authenticators ''', 'bad_access_authenticators', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('bad-access-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of bad access responses ''', 'bad_access_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('dropped-access-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access responses dropped ''', 'dropped_access_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('pending-access-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of pending access requests ''', 'pending_access_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('rtt', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Round trip time for authentication in milliseconds ''', 'rtt', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('unknown-access-types', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of packets received with unknown type from authentication server ''', 'unknown_access_types', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'authentication', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization', False, [ _MetaInfoClassMember('author-incorrect-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of incorrect authorization responses ''', 'author_incorrect_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-request-timeouts', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access packets timed out ''', 'author_request_timeouts', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of access requests ''', 'author_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-response-time', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Average response time for authorization requests ''', 'author_response_time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-server-error-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of server error authorization responses ''', 'author_server_error_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-transaction-failure', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of failed authorization transactions ''', 'author_transaction_failure', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-transaction-successess', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of succeeded authorization transactions ''', 'author_transaction_successess', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('author-unexpected-responses', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of unexpected authorization responses ''', 'author_unexpected_responses', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'authorization', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_', False, [ _MetaInfoClassMember('accounting', REFERENCE_CLASS, 'Accounting' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting', [], [], ''' Accounting data ''', 'accounting', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('accounting-port', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Accounting port ''', 'accounting_port', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication', [], [], ''' Authentication data ''', 'authentication', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authentication-port', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Authentication port ''', 'authentication_port', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authorization', REFERENCE_CLASS, 'Authorization' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization', [], [], ''' Authorization data ''', 'authorization', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('family', ATTRIBUTE, 'str' , None, None, [], [], ''' IP address Family ''', 'family', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('ip-address', ATTRIBUTE, 'str' , None, None, [], [], ''' IP address buffer ''', 'ip_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('is-private', ATTRIBUTE, 'bool' , None, None, [], [], ''' True if private ''', 'is_private', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('server-address', ATTRIBUTE, 'str' , None, None, [], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'], ''' Server address ''', 'server_address', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'server-group', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.ServerGroups.ServerGroup' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.ServerGroups.ServerGroup', False, [ _MetaInfoClassMember('server-group-name', ATTRIBUTE, 'str' , None, None, [], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'], ''' Group name ''', 'server_group_name', 'Cisco-IOS-XR-aaa-protocol-radius-oper', True), _MetaInfoClassMember('dead-time', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Dead time in minutes ''', 'dead_time', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('groups', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of groups ''', 'groups', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('server-group', REFERENCE_LIST, 'ServerGroup_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_', [], [], ''' Server groups ''', 'server_group', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('servers', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Number of servers ''', 'servers', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('vrf-name', ATTRIBUTE, 'str' , None, None, [], [], ''' VRF name ''', 'vrf_name', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'server-group', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.ServerGroups' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.ServerGroups', False, [ _MetaInfoClassMember('server-group', REFERENCE_LIST, 'ServerGroup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.ServerGroups.ServerGroup', [], [], ''' RADIUS server group data ''', 'server_group', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'server-groups', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node.DynamicAuthorization' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node.DynamicAuthorization', False, [ _MetaInfoClassMember('disconnected-invalid-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Invalid disconnected requests ''', 'disconnected_invalid_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('invalid-coa-requests', ATTRIBUTE, 'int' , None, None, [('0', '4294967295')], [], ''' Invalid change of authorization requests ''', 'invalid_coa_requests', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'dynamic-authorization', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes.Node' : { 'meta_info' : _MetaInfoClass('Radius.Nodes.Node', False, [ _MetaInfoClassMember('node-name', ATTRIBUTE, 'str' , None, None, [], ['([a-zA-Z0-9_]*\\d+/){1,2}([a-zA-Z0-9_]*\\d+)'], ''' Node name ''', 'node_name', 'Cisco-IOS-XR-aaa-protocol-radius-oper', True), _MetaInfoClassMember('accounting', REFERENCE_CLASS, 'Accounting' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Accounting', [], [], ''' RADIUS accounting data ''', 'accounting', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Authentication', [], [], ''' RADIUS authentication data ''', 'authentication', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('client', REFERENCE_CLASS, 'Client' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.Client', [], [], ''' RADIUS client data ''', 'client', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('dead-criteria', REFERENCE_CLASS, 'DeadCriteria' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.DeadCriteria', [], [], ''' RADIUS dead criteria information ''', 'dead_criteria', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('dynamic-authorization', REFERENCE_CLASS, 'DynamicAuthorization' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.DynamicAuthorization', [], [], ''' Dynamic authorization data ''', 'dynamic_authorization', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), _MetaInfoClassMember('server-groups', REFERENCE_CLASS, 'ServerGroups' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node.ServerGroups', [], [], ''' RADIUS server group table ''', 'server_groups', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'node', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius.Nodes' : { 'meta_info' : _MetaInfoClass('Radius.Nodes', False, [ _MetaInfoClassMember('node', REFERENCE_LIST, 'Node' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes.Node', [], [], ''' RADIUS operational data for a particular node ''', 'node', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'nodes', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, 'Radius' : { 'meta_info' : _MetaInfoClass('Radius', False, [ _MetaInfoClassMember('nodes', REFERENCE_CLASS, 'Nodes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper', 'Radius.Nodes', [], [], ''' Contains all the nodes ''', 'nodes', 'Cisco-IOS-XR-aaa-protocol-radius-oper', False), ], 'Cisco-IOS-XR-aaa-protocol-radius-oper', 'radius', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-oper'], 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper' ), }, } _meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time']['meta_info'].parent =_meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host']['meta_info'] _meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries']['meta_info'].parent =_meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host']['meta_info'] _meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host']['meta_info'].parent =_meta_table['Radius.Nodes.Node.DeadCriteria.Hosts']['meta_info'] _meta_table['Radius.Nodes.Node.DeadCriteria.Hosts']['meta_info'].parent =_meta_table['Radius.Nodes.Node.DeadCriteria']['meta_info'] _meta_table['Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_']['meta_info'].parent =_meta_table['Radius.Nodes.Node.Authentication.AuthenticationGroup']['meta_info'] _meta_table['Radius.Nodes.Node.Authentication.AuthenticationGroup']['meta_info'].parent =_meta_table['Radius.Nodes.Node.Authentication']['meta_info'] _meta_table['Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_']['meta_info'].parent =_meta_table['Radius.Nodes.Node.Accounting.AccountingGroup']['meta_info'] _meta_table['Radius.Nodes.Node.Accounting.AccountingGroup']['meta_info'].parent =_meta_table['Radius.Nodes.Node.Accounting']['meta_info'] _meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting']['meta_info'].parent =_meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_']['meta_info'] _meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication']['meta_info'].parent =_meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_']['meta_info'] _meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization']['meta_info'].parent =_meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_']['meta_info'] _meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_']['meta_info'].parent =_meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup']['meta_info'] _meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup']['meta_info'].parent =_meta_table['Radius.Nodes.Node.ServerGroups']['meta_info'] _meta_table['Radius.Nodes.Node.Client']['meta_info'].parent =_meta_table['Radius.Nodes.Node']['meta_info'] _meta_table['Radius.Nodes.Node.DeadCriteria']['meta_info'].parent =_meta_table['Radius.Nodes.Node']['meta_info'] _meta_table['Radius.Nodes.Node.Authentication']['meta_info'].parent =_meta_table['Radius.Nodes.Node']['meta_info'] _meta_table['Radius.Nodes.Node.Accounting']['meta_info'].parent =_meta_table['Radius.Nodes.Node']['meta_info'] _meta_table['Radius.Nodes.Node.ServerGroups']['meta_info'].parent =_meta_table['Radius.Nodes.Node']['meta_info'] _meta_table['Radius.Nodes.Node.DynamicAuthorization']['meta_info'].parent =_meta_table['Radius.Nodes.Node']['meta_info'] _meta_table['Radius.Nodes.Node']['meta_info'].parent =_meta_table['Radius.Nodes']['meta_info'] _meta_table['Radius.Nodes']['meta_info'].parent =_meta_table['Radius']['meta_info']
53.358595
231
0.515277
5,083
57,734
5.666732
0.034625
0.07249
0.090612
0.098389
0.917789
0.913311
0.906228
0.894286
0.867553
0.813845
0
0.032149
0.34271
57,734
1,081
232
53.407956
0.726889
0
0
0.638321
0
0.006459
0.433057
0.332986
0
0
0
0
0
1
0
false
0
0.008611
0
0.008611
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f75faca0bb67da741648769b11320056a8c8ac7e
64
py
Python
tests/conftest.py
brianbruggeman/rl
6dd8a53da07697ffc87e62aa397be7b3b08f0aa0
[ "MIT" ]
3
2018-01-31T19:55:28.000Z
2019-05-30T20:21:18.000Z
tests/conftest.py
brianbruggeman/rl
6dd8a53da07697ffc87e62aa397be7b3b08f0aa0
[ "MIT" ]
12
2019-01-18T16:16:19.000Z
2019-06-14T03:26:34.000Z
tests/conftest.py
brianbruggeman/rl
6dd8a53da07697ffc87e62aa397be7b3b08f0aa0
[ "MIT" ]
1
2019-01-18T16:20:15.000Z
2019-01-18T16:20:15.000Z
from decorators import * # noqa from fixtures import * # noqa
21.333333
32
0.71875
8
64
5.75
0.625
0.434783
0
0
0
0
0
0
0
0
0
0
0.21875
64
2
33
32
0.92
0.140625
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
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
6
f765edf32f3af65bd03ea30a2095f3d10eaa13d6
24,199
py
Python
fuel_plugin_builder/tests/test_validator_v3.py
naumvd95/plugin-stub-fuel
348a20fd2df5959e1dc8f156447d1c8e8059be39
[ "Apache-2.0" ]
null
null
null
fuel_plugin_builder/tests/test_validator_v3.py
naumvd95/plugin-stub-fuel
348a20fd2df5959e1dc8f156447d1c8e8059be39
[ "Apache-2.0" ]
null
null
null
fuel_plugin_builder/tests/test_validator_v3.py
naumvd95/plugin-stub-fuel
348a20fd2df5959e1dc8f156447d1c8e8059be39
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2015 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import mock from fuel_plugin_builder import errors from fuel_plugin_builder.tests.base import LegacyBaseValidatorTestCase from fuel_plugin_builder.validators.schemas import SchemaV3 from fuel_plugin_builder.validators.validator_v3 import ValidatorV3 class TestValidatorV3(LegacyBaseValidatorTestCase): __test__ = True validator_class = ValidatorV3 schema_class = SchemaV3 def test_validate(self): mocked_methods = [ 'check_schemas', 'check_tasks', 'check_releases_paths', 'check_compatibility', 'check_deployment_tasks' ] self.check_validate(mocked_methods) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_check_tasks_schema_validation_failed(self, utils_mock, *args): data_sets = [ { 'type': 'shell', 'parameters': { 'timeout': 3 }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3 }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'cmd': 'xx' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'shell', 'parameters': { 'timeout': 3, 'puppet_manifest': 'xx', 'puppet_modules': 'yy', }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'puppet_manifest': 'xx', 'puppet_modules': 'yy', 'retries': 'asd', }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'puppet_manifest': 'xx', 'puppet_modules': '', 'retries': 1, }, 'stage': 'pre_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'puppet_manifest': '', 'puppet_modules': 'yy', 'retries': 1, }, 'stage': 'pre_deployment', 'role': '*' } ] for data in data_sets: utils_mock.parse_yaml.return_value = [data] self.assertRaises(errors.ValidationError, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_check_tasks_schema_validation_passed(self, utils_mock, *args): data_sets = [ [ { 'type': 'shell', 'parameters': { 'timeout': 3, 'cmd': 'xx' }, 'stage': 'post_deployment', 'role': '*' }, ], [ { 'type': 'shell', 'parameters': { 'timeout': 3, 'cmd': 'xx' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'puppet_manifest': 'xx', 'puppet_modules': 'xxx' }, 'stage': 'post_deployment', 'role': '*' }, ], [ { 'type': 'shell', 'parameters': { 'timeout': 3, 'cmd': 'reboot' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'shell', 'parameters': { 'timeout': 3, 'cmd': 'xx' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'puppet_manifest': 'xx', 'puppet_modules': 'xxx' }, 'stage': 'post_deployment', 'role': '*' } ], [ { 'type': 'shell', 'parameters': { 'timeout': 3, 'cmd': 'reboot' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'shell', 'parameters': { 'timeout': 3, 'puppet_manifest': 'xx', 'puppet_modules': 'yy', 'cmd': 'reboot' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'retries': 10, 'puppet_manifest': 'xx', 'puppet_modules': 'xxx' }, 'stage': 'post_deployment', 'role': '*' }, { 'type': 'puppet', 'parameters': { 'timeout': 3, 'retries': 10, 'puppet_manifest': 'xx', 'puppet_modules': 'xxx' }, 'stage': 'post_deployment', 'role': 'master' }, ] ] for data in data_sets: utils_mock.parse_yaml.return_value = data self.validator.check_deployment_tasks() @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') @mock.patch('fuel_plugin_builder.validators.base.utils.exists') def test_check_tasks_no_file(self, exists_mock, utils_mock, *args): mocked_methods = ['validate_schema'] self.mock_methods(self.validator, mocked_methods) exists_mock.return_value = False self.validator.check_deployment_tasks() self.assertFalse(self.validator.validate_schema.called) def test_check_schemas(self): mocked_methods = [ 'check_env_config_attrs', 'check_deployment_tasks_schema', 'check_network_roles_schema', 'check_node_roles_schema', 'check_volumes_schema' ] self.mock_methods(self.validator, mocked_methods) self.mock_methods(self.validator, ['validate_file_by_schema']) self.validator.check_schemas() self.assertEqual( [mock.call(self.schema_class().metadata_schema, self.validator.meta_path), mock.call(self.schema_class().tasks_schema, self.validator.tasks_path, allow_not_exists=True)], self.validator.validate_file_by_schema.call_args_list) for method in mocked_methods: getattr(self.validator, method).assert_called_once_with() @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_compatibility_failed(self, utils_mock): fuel_version_checks = ( (['6.0', '6.1', '7.0']), (['6.1', '7.0']), ) for fuel_version in fuel_version_checks: mock_data = { 'fuel_version': fuel_version, 'package_version': '3.0.0'} err_msg = 'Current plugin format 3.0.0 is not compatible with ' \ '{0} Fuel release. Fuel version must be 7.0 or higher.' \ ' Please remove {0} version from metadata.yaml file or' \ ' downgrade package_version.'.format(fuel_version[0]) self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_compatibility) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_compatibility_passed(self, utils_mock): utils_mock.parse_yaml.return_value = { 'fuel_version': ['7.0'], 'package_version': '3.0.0'} self.validator.check_compatibility() @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_role_attribute_is_required_for_deployment_task_types( self, utils_mock, *args): deployment_task_types = [ 'group', 'shell', 'copy_files', 'sync', 'upload_file'] for task_type in deployment_task_types: mock_data = [{ 'id': 'plugin_name', 'type': task_type}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "'role' is a required property, value path '0'" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_parameters_attribute_is_required_for_deployment_task_types( self, utils_mock, *args): deployment_task_types = ['copy_files', 'sync', 'upload_file'] for task_type in deployment_task_types: mock_data = [{ 'id': 'plugin_name', 'type': task_type, 'role': '*'}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "'parameters' is a required property, value path '0'" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_files_attribute_is_required_for_copy_files_task_type( self, utils_mock, *args): mock_data = [{ 'id': 'plugin_name', 'type': 'copy_files', 'role': '*', 'parameters': {}}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "'files' is a required property, value path '0 " \ "-> parameters'" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_files_should_contain_at_least_one_item_for_copy_files_task_type( self, utils_mock, *args): mock_data = [{ 'id': 'plugin_name', 'type': 'copy_files', 'role': '*', 'parameters': {'files': []}}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "\[\] is too short, value path '0 -> parameters -> files'" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_src_and_dst_attributes_are_required_for_copy_files_task_type( self, utils_mock, *args): data_to_check = [ ([{ 'id': 'plugin_name', 'type': 'copy_files', 'role': '*', 'parameters': { 'files': [{}]} }], 'src'), ([{ 'id': 'plugin_name', 'type': 'copy_files', 'role': '*', 'parameters': { 'files': [{'src': 'some_source'}]} }], 'dst')] for mock_data, key in data_to_check: err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "'{0}' is a required property, value path '0 " \ "-> parameters -> files -> 0'".format(key) self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_src_and_dst_attributes_are_required_for_sync_task_type( self, utils_mock, *args): data_to_check = [ ([{ 'id': 'plugin_name', 'type': 'sync', 'role': '*', 'parameters': {} }], 'src'), ([{ 'id': 'plugin_name', 'type': 'sync', 'role': '*', 'parameters': {'src': 'some_source'} }], 'dst')] for mock_data, key in data_to_check: err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "'{0}' is a required property, value path '0 " \ "-> parameters'".format(key) self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_path_and_data_attributes_are_required_for_upload_file_task_type( self, utils_mock, *args): data_to_check = [ ([{ 'id': 'plugin_name', 'type': 'upload_file', 'role': '*', 'parameters': {} }], 'path'), ([{ 'id': 'plugin_name', 'type': 'upload_file', 'role': '*', 'parameters': {'path': 'some_path'} }], 'data')] for mock_data, key in data_to_check: err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml', " \ "'{0}' is a required property, value path '0 " \ "-> parameters'".format(key) self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_check_group_type_deployment_task_does_not_contain_manifests( self, utils_mock, *args): utils_mock.parse_yaml.return_value = [{ 'id': 'plugin_name', 'type': 'group', 'role': ['plugin_name'], 'parameters': {}}] self.validator.check_deployment_tasks() @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_check_deployment_task_role_failed(self, utils_mock, *args): mock_data = [{ 'id': 'plugin_name', 'type': 'group', 'role': ['plugin_n@me']}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml'," \ " 'plugin_n@me' does not match" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks) @mock.patch('fuel_plugin_builder.validators.validator_v3.utils') def test_check_deployment_task_role(self, utils_mock, *args): utils_mock.parse_yaml.return_value = [ {'id': 'plugin_name', 'type': 'group', 'role': []}, {'id': 'plugin_name', 'type': 'group', 'role': ['a', 'b']}, {'id': 'plugin_name', 'type': 'group', 'role': '*'}, {'id': 'plugin_name', 'type': 'puppet', 'role': []}, {'id': 'plugin_name', 'type': 'puppet', 'role': ['a', 'b']}, {'id': 'plugin_name', 'type': 'puppet', 'role': '*'}, {'id': 'plugin_name', 'type': 'shell', 'role': []}, {'id': 'plugin_name', 'type': 'shell', 'role': ['a', 'b']}, {'id': 'plugin_name', 'type': 'shell', 'role': '*'}, {'id': 'plugin_name', 'type': 'skipped'}, {'id': 'plugin_name', 'type': 'stage'}, {'id': 'plugin_name', 'type': 'reboot'}, { 'id': 'plugin_name', 'type': 'copy_files', 'role': '*', 'parameters': { 'files': [ {'src': 'some_source', 'dst': 'some_destination'}]} }, { 'id': 'plugin_name', 'type': 'sync', 'role': '*', 'parameters': { 'src': 'some_source', 'dst': 'some_destination'} }, { 'id': 'plugin_name', 'type': 'upload_file', 'role': '*', 'parameters': { 'path': 'some_path', 'data': 'some_data'} }, ] self.validator.check_deployment_tasks() @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_deployment_task_id(self, utils_mock): mock_data = [{ 'id': 'plugin_n@me', 'type': 'group', 'role': ['plugin_name']}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml'," \ " 'plugin_n@me' does not match" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks_schema) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_deployment_task_valid_dependencies(self, utils_mock): utils_mock.parse_yaml.return_value = [{ 'id': 'plugin_name', 'type': 'group', 'role': ['plugin_name'], 'requires': ['dependency_1', 'dependency_2']}] self.validator.check_deployment_tasks_schema() @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_deployment_task_invalid_dependencies(self, utils_mock): mock_data = [{ 'id': 'plugin_name', 'type': 'group', 'role': ['plugin_name'], 'requires': ['dependency_1', 'dependency_#']}] err_msg = "File '/tmp/plugin_path/deployment_tasks.yaml'," \ " 'dependency_#' does not match" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_deployment_tasks_schema) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_node_roles_have_correct_name(self, utils_mock): mock_data = { 'plug$n_n@me': { 'name': 'test_plugin', 'description': 'test plugin'}} err_msg = "File '/tmp/plugin_path/node_roles.yaml', Additional" \ " properties are not allowed" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_node_roles_schema) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_node_role_should_has_name(self, utils_mock): mock_data = { 'plugin_name': { 'description': 'test plugin'}} err_msg = "File '/tmp/plugin_path/node_roles.yaml', 'name' is" \ " a required property, value path 'plugin_name'" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_node_roles_schema) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_node_role_conflicts(self, utils_mock): utils_mock.parse_yaml.return_value = { 'plugin_name': { 'name': 'test_plugin', 'description': 'test plugin', 'conflicts': '*'}} self.validator.check_node_roles_schema() utils_mock.parse_yaml.return_value = { 'plugin_name': { 'name': 'test_plugin', 'description': 'test plugin', 'conflicts': ['some_role']}} self.validator.check_node_roles_schema() @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_valid_volumes_roles_mapping_name(self, utils_mock): utils_mock.parse_yaml.return_value = { 'volumes_roles_mapping': { 'mapping_name': [{'allocate_size': 'min', 'id': 'test'}]}, 'volumes': []} self.validator.check_volumes_schema() @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_invalid_volumes_roles_mapping_name(self, utils_mock): mock_data = { 'volumes_roles_mapping': { 'm@pping_name': [{'allocate_size': 'min', 'id': 'test'}]}, 'volumes': []} err_msg = "File '/tmp/plugin_path/volumes.yaml', Additional" \ " properties are not allowed" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_volumes_schema) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_valid_network_roles(self, utils_mock): utils_mock.parse_yaml.return_value = [{ "id": "example_net_role", "default_mapping": "public", "properties": { "subnet": True, "gateway": False, "vip": [{ "name": "vip_name", "namespace": "haproxy"}]}}] self.validator.check_network_roles_schema() @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_network_roles_vip_have_invalid_name(self, utils_mock): mock_data = [{ "id": "example_net_role", "default_mapping": "public", "properties": { "subnet": True, "gateway": False, "vip": [{ "name": "vip@name", "namespace": "haproxy"}]}}] err_msg = "File '/tmp/plugin_path/network_roles.yaml'," \ " 'vip@name' does not match" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_network_roles_schema) @mock.patch('fuel_plugin_builder.validators.base.utils') def test_check_network_roles_vip_have_invalid_namespace(self, utils_mock): mock_data = [{ "id": "example_net_role", "default_mapping": "public", "properties": { "subnet": True, "gateway": False, "vip": [{ "name": "vip_name", "namespace": "hap roxy"}]}}] err_msg = "File '/tmp/plugin_path/network_roles.yaml'," \ " 'hap roxy' does not match" self.check_raised_exception( utils_mock, mock_data, err_msg, self.validator.check_network_roles_schema)
37.929467
79
0.493739
2,224
24,199
5.042266
0.107464
0.042536
0.046995
0.069823
0.805957
0.784823
0.756733
0.73863
0.720885
0.676387
0
0.006077
0.381173
24,199
637
80
37.989011
0.742771
0.02496
0
0.635088
0
0
0.264292
0.084521
0
0
0
0
0.007018
1
0.049123
false
0.003509
0.008772
0
0.064912
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f772fcdac28470e763d79429a04717ea1247f18b
125
py
Python
boost/std_pair.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
boost/std_pair.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
boost/std_pair.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division import boost.python ext = boost.python.import_ext("std_pair_ext") from std_pair_ext import *
25
45
0.824
20
125
4.7
0.45
0.234043
0.212766
0
0
0
0
0
0
0
0
0
0.104
125
4
46
31.25
0.839286
0
0
0
0
0
0.096
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
6
f7763032e4c5d0fa1eb69117ba9e1b7fea1c78f2
403
py
Python
src/secml/adv/attacks/evasion/__init__.py
Cinofix/secml
431373e65d8cfe2cb7cf042ce1a6c9519ea5a14a
[ "Apache-2.0" ]
null
null
null
src/secml/adv/attacks/evasion/__init__.py
Cinofix/secml
431373e65d8cfe2cb7cf042ce1a6c9519ea5a14a
[ "Apache-2.0" ]
null
null
null
src/secml/adv/attacks/evasion/__init__.py
Cinofix/secml
431373e65d8cfe2cb7cf042ce1a6c9519ea5a14a
[ "Apache-2.0" ]
null
null
null
from .c_attack_evasion import CAttackEvasion from .c_attack_evasion_pgd_ls import CAttackEvasionPGDLS from .c_attack_evasion_pgd_exp import CAttackEvasionPGDExp from .c_attack_evasion_pgd import CAttackEvasionPGD try: import cleverhans except ImportError: pass # cleverhans is an extra component else: from .cleverhans.c_attack_evasion_cleverhans import \ CAttackEvasionCleverhans
31
58
0.833747
49
403
6.530612
0.469388
0.109375
0.21875
0.225
0.196875
0
0
0
0
0
0
0
0.138958
403
12
59
33.583333
0.92219
0.079404
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.090909
0.636364
0
0.636364
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
0
1
1
1
0
1
0
0
6
f789a6eaedb30b3637a46d5937ad234d07b7d953
191
py
Python
python/dgl/utils/__init__.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
1
2022-02-23T01:35:37.000Z
2022-02-23T01:35:37.000Z
python/dgl/utils/__init__.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
null
null
null
python/dgl/utils/__init__.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
null
null
null
"""Internal utilities.""" from .internal import * from .data import * from .checks import * from .shared_mem import * from .filter import * from .exception import * from .pin_memory import *
21.222222
25
0.732984
25
191
5.52
0.48
0.434783
0
0
0
0
0
0
0
0
0
0
0.157068
191
8
26
23.875
0.857143
0.099476
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
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
6
e39a90d051c7a0ae6d4a7114407db5ad06127c85
117
py
Python
django_joblog/tests/__init__.py
defgsus/django-joblog
88467f951d7ebc586c69e421cab39e4caa395cca
[ "MIT" ]
null
null
null
django_joblog/tests/__init__.py
defgsus/django-joblog
88467f951d7ebc586c69e421cab39e4caa395cca
[ "MIT" ]
null
null
null
django_joblog/tests/__init__.py
defgsus/django-joblog
88467f951d7ebc586c69e421cab39e4caa395cca
[ "MIT" ]
null
null
null
from .t010_basic import * from .t020_db_updates import * from .t030_parallel import * from .t100_regression import *
23.4
30
0.794872
17
117
5.176471
0.647059
0.340909
0
0
0
0
0
0
0
0
0
0.118812
0.136752
117
4
31
29.25
0.752475
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
e3a51a27848770ebc8852c46c73d43162fe0b17f
15,532
py
Python
tests/customer/get_customer.py
EazyCollectServices/EazyCollectSDK-Python
bafe26e1386e1d45571e921baaa2ca6e54f78ff7
[ "Apache-2.0", "MIT" ]
null
null
null
tests/customer/get_customer.py
EazyCollectServices/EazyCollectSDK-Python
bafe26e1386e1d45571e921baaa2ca6e54f78ff7
[ "Apache-2.0", "MIT" ]
1
2022-03-28T14:35:53.000Z
2022-03-28T14:35:53.000Z
tests/customer/get_customer.py
EazyCollectServices/EazyCollectSDK-Python
bafe26e1386e1d45571e921baaa2ca6e54f78ff7
[ "Apache-2.0", "MIT" ]
1
2020-04-13T10:39:50.000Z
2020-04-13T10:39:50.000Z
from ... import main from json import loads as json from json import JSONDecodeError from datetime import datetime from ...settings import Settings as s import unittest class Test(unittest.TestCase): def setUp(self): self.eazy = main.EazySDK().get def test_searching_more_than_one_parameter_narrows_search(self): req = self.eazy.customers( email='test@email.com', customer_reference='test-000001', surname='Test', account_holder_name='Mr Test Test' ) req_json = json(req) for record in req_json['Customers']: email = record['Email'] ref = record['CustomerRef'] surname = record['Surname'] account_holder_name = record['BankDetail']['AccountHolderName'] self.assertEqual(email, 'test@email.com') self.assertEqual(ref, 'test-000001') self.assertEqual(surname, 'Test') self.assertEqual(account_holder_name, 'Mr Test Test') self.assertEqual(len(req_json), 1) def test_searching_more_than_one_parameter_incorrect(self): req = self.eazy.customers( email='test@email.com', customer_reference='not_a_reference', surname='Test', account_holder_name='Mr Test Test' ) try: json(req) self.fail('You should not see this.') except JSONDecodeError: self.assertEqual(1, 1) def test_search_email_full_email(self): req = self.eazy.customers(email='test@email.com') req_json = json(req) for record in req_json['Customers']: email = record['Email'] self.assertIn('test@email.com', email) self.assertEqual(len(req_json), 1) def test_search_full_title(self): # This will fail. This is a limitation of the API. req = self.eazy.customers(title='Mx') req_json = json(req) for record in req_json['Customers']: title = record['Title'] self.assertIn('Mx', title) self.assertGreaterEqual(len(req_json), 1) def test_search_partial_title(self): # This will fail. This is a limitation of the API. req = self.eazy.customers(title='Maste') req_json = json(req) for record in req_json['Customers']: title = record['Title'] self.assertIn('Maste', title) self.assertEqual(len(req_json), 1) def test_search_search_from_full_date(self): date_format = '%Y-%m-%d' req_date = datetime.strptime('2019-01-01', date_format).date() req = self.eazy.customers(search_from=req_date) self.assertNotIn('No customers could be found', req) req_json = json(req) for record in req_json['Customers']: date_record = record['DateAdded'][0:10] date = datetime.strptime(date_record, date_format).date() self.assertGreaterEqual(date, req_date) def test_search_search_from_month(self): date_format = '%Y-%m' req_date = datetime.strptime('2019-01', date_format).date() req = self.eazy.customers(search_from=req_date) self.assertNotIn('No customers could be found', req) req_json = json(req) for record in req_json['Customers']: date_record = record['DateAdded'][0:7] date = datetime.strptime(date_record, date_format).date() self.assertGreaterEqual(date, req_date) def test_search_search_from_year(self): date_format = '%Y' req_date = datetime.strptime('2019', date_format).date() req = self.eazy.customers(search_from=req_date) self.assertNotIn('No customers could be found', req) req_json = json(req) for record in req_json['Customers']: date_record = record['DateAdded'][0:4] date = datetime.strptime(date_record, date_format).date() self.assertGreaterEqual(date, req_date) def test_search_date_of_birth_full_date(self): # This will fail. This is a limitation of the API. date_format = '%Y-%m-%d' req_date = datetime.strptime('1990-06-29', date_format).date() req = self.eazy.customers(date_of_birth=req_date) self.assertNotIn('No customers could be found', req) req_json = json(req) for record in req_json['Customers']: date_record = record['DateOfBirth'][0:10] self.assertIsNotNone(date_record) date = datetime.strptime(date_record, date_format).date() self.assertGreaterEqual(date, req_date) def test_search_date_of_birth_from_month(self): # This will fail. This is a limitation of the API. date_format = '%Y-%m' req_date = datetime.strptime('1990-06', date_format).date() req = self.eazy.customers(date_of_birth=req_date) self.assertNotIn('No customers could be found', req) req_json = json(req) for record in req_json['Customers']: date_record = record['DateOfBirth'][0:7] self.assertIsNotNone(date_record) date = datetime.strptime(date_record, date_format).date() self.assertGreaterEqual(date, req_date) def test_search_date_of_birth_from_year(self): # This will fail. This is a limitation of the API. date_format = '%Y' req_date = datetime.strptime('1990', date_format).date() req = self.eazy.customers(date_of_birth=req_date) self.assertNotIn('No customers could be found', req) req_json = json(req) for record in req_json['Customers']: date_record = record['DateOfBirth'][0:4] self.assertIsNotNone(date_record) date = datetime.strptime(date_record, date_format).date() self.assertGreaterEqual(date, req_date) def test_search_customer_ref_full_reference_number(self): req = self.eazy.customers(customer_reference='test-000002') req_json = json(req) for record in req_json['Customers']: customer_ref = record['CustomerRef'] self.assertEqual(customer_ref, 'test-000002') self.assertEqual(len(req_json), 1) def test_search_customer_ref_partial_ref_number(self): # This will fail. This is a limitation of the API. req = self.eazy.customers(customer_reference='test') try: req_json = json(req) for record in req_json['Customers']: customer_ref = record['CustomerRef'] self.assertIn('test', customer_ref) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_first_name_full_name(self): req = self.eazy.customers(first_name='test') try: req_json = json(req) for record in req_json['Customers']: first_name = record['FirstName'] self.assertIn('test', first_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_first_name_partial_name(self): req = self.eazy.customers(first_name='te') try: req_json = json(req) for record in req_json['Customers']: first_name = record['FirstName'] self.assertIn('te', first_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_surname_full_name(self): req = self.eazy.customers(surname='test') try: req_json = json(req) for record in req_json['Customers']: first_name = record['Surname'] self.assertIn('test', first_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_surname_partial_name(self): req = self.eazy.customers(surname='te') try: req_json = json(req) for record in req_json['Customers']: first_name = record['Surname'] self.assertIn('te', first_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_company_name_full(self): req = self.eazy.customers(company_name='SDK Test Cliemt') try: req_json = json(req) for record in req_json['Customers']: first_name = record['CompanyName'] self.assertEqual('sdk test cliemt', first_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_company_name_partial(self): req = self.eazy.customers(company_name='test') try: req_json = json(req) for record in req_json['Customers']: first_name = record['CompanyName'] print(first_name) self.assertIn('te', first_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_post_code_full_post_code(self): req = self.eazy.customers(post_code='GL52 2NF') try: req_json = json(req) for record in req_json['Customers']: post_code = record['AddressDetail']['PostCode'] self.assertEqual('gl52 2nf', post_code.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_post_code_partial_post_code(self): req = self.eazy.customers(post_code='GL52') try: req_json = json(req) for record in req_json['Customers']: post_code = record['AddressDetail']['PostCode'] self.assertIn('gl52', post_code.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_account_number_full_number(self): req = self.eazy.customers(account_number='45678912') try: req_json = json(req) for record in req_json['Customers']: account_number = record['BankDetail']['AccountNumber'] self.assertEqual('45678912', account_number.lower()) self.assertEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_sort_code_full_number(self): req = self.eazy.customers(sort_code='147852') try: req_json = json(req) for record in req_json['Customers']: sort_code = record['BankDetail']['BankSortCode'] self.assertEqual('147852', sort_code.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_account_holder_name_full_name(self): req = self.eazy.customers(account_holder_name='Mr Test Client') try: req_json = json(req) for record in req_json['Customers']: account_name = record['BankDetail']['AccountHolderName'] self.assertEqual('mr test client', account_name.lower()) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_home_phone_full_number(self): req = self.eazy.customers(home_phone='01242147852') try: req_json = json(req) for record in req_json['Customers']: phone_number = record['HomePhoneNumber'] self.assertEqual('01242147852', phone_number) self.assertEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_home_phone_partial_number(self): req = self.eazy.customers(home_phone='01242') try: req_json = json(req) for record in req_json['Customers']: phone_number = record['HomePhoneNumber'] self.assertIn('01242', phone_number) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_mobile_phone_full_number(self): req = self.eazy.customers(mobile_phone='07393549789') try: req_json = json(req) for record in req_json['Customers']: phone_number = record['MobilePhoneNumber'] self.assertEqual('07393549789', phone_number) self.assertEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_mobile_phone_partial_number(self): req = self.eazy.customers(mobile_phone='07393') try: req_json = json(req) for record in req_json['Customers']: phone_number = record['HomePhoneNumber'] self.assertIn('01242', phone_number) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_work_phone_full_number(self): req = self.eazy.customers(work_phone='01452365478') try: req_json = json(req) for record in req_json['Customers']: phone_number = record['WorkPhoneNumber'] self.assertEqual('01452365478', phone_number) self.assertEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_search_customer_work_phone_partial_number(self): req = self.eazy.customers(work_phone='01452') try: req_json = json(req) for record in req_json['Customers']: phone_number = record['WorkPhoneNumber'] self.assertIn('01452', phone_number) self.assertGreaterEqual(len(req_json), 1) except JSONDecodeError: self.fail('json was not returned, no customers were returned.') def test_warning_enabled_warning_thrown(self): s.warnings['customer_search'] = True with self.assertWarns(UserWarning): self.eazy.customers() def test_warning_disabled_warning_not_thrown(self): s.warnings['customer_search'] = False try: with self.assertWarns(UserWarning): self.eazy.customers() except AssertionError: pass
42.321526
75
0.624517
1,834
15,532
5.077426
0.081243
0.060889
0.058419
0.064433
0.866731
0.859858
0.8314
0.775558
0.71671
0.693299
0
0.020643
0.273307
15,532
366
76
42.437158
0.804377
0.018864
0
0.644654
0
0
0.150407
0
0
0
0
0
0.213836
1
0.103774
false
0.003145
0.018868
0
0.125786
0.003145
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e3e5f2e7e03093dab152587a007bdff311aec6d5
260,262
py
Python
instances/passenger_demand/pas-20210422-1717-int18e/29.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210422-1717-int18e/29.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210422-1717-int18e/29.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
""" PASSENGERS """ numPassengers = 34171 passenger_arriving = ( (11, 2, 10, 10, 2, 7, 5, 3, 1, 1, 1, 2, 0, 11, 5, 5, 9, 6, 7, 6, 1, 4, 3, 1, 1, 0), # 0 (11, 10, 14, 7, 6, 1, 5, 3, 3, 1, 0, 2, 0, 9, 6, 7, 9, 7, 4, 3, 0, 2, 2, 0, 4, 0), # 1 (7, 14, 9, 11, 9, 5, 5, 6, 7, 1, 1, 3, 0, 9, 7, 7, 7, 8, 7, 2, 2, 4, 7, 2, 1, 0), # 2 (15, 9, 4, 10, 9, 3, 5, 4, 1, 3, 0, 0, 0, 8, 11, 10, 7, 9, 6, 9, 3, 3, 3, 1, 0, 0), # 3 (13, 11, 8, 9, 9, 3, 7, 1, 5, 6, 0, 1, 0, 11, 9, 8, 4, 5, 6, 6, 2, 3, 2, 4, 0, 0), # 4 (9, 11, 11, 8, 9, 4, 6, 4, 5, 3, 1, 2, 0, 10, 13, 7, 8, 5, 6, 5, 4, 3, 5, 3, 2, 0), # 5 (11, 15, 8, 10, 12, 5, 6, 9, 6, 4, 1, 0, 0, 15, 14, 5, 10, 11, 4, 7, 2, 7, 3, 2, 0, 0), # 6 (9, 22, 5, 11, 11, 1, 1, 5, 7, 2, 1, 1, 0, 9, 13, 12, 6, 11, 10, 6, 2, 11, 6, 5, 1, 0), # 7 (19, 13, 13, 12, 9, 5, 3, 6, 9, 3, 0, 3, 0, 17, 13, 10, 9, 7, 4, 1, 4, 4, 5, 6, 2, 0), # 8 (9, 14, 15, 23, 12, 9, 8, 8, 8, 3, 3, 0, 0, 13, 9, 14, 7, 15, 8, 8, 2, 4, 7, 3, 3, 0), # 9 (7, 14, 10, 16, 14, 0, 4, 7, 9, 3, 1, 1, 0, 18, 11, 6, 8, 15, 12, 8, 2, 8, 7, 2, 0, 0), # 10 (13, 10, 18, 12, 19, 9, 2, 8, 13, 1, 3, 2, 0, 21, 19, 14, 4, 20, 12, 5, 6, 6, 5, 1, 2, 0), # 11 (8, 17, 15, 16, 12, 6, 3, 8, 3, 2, 0, 2, 0, 12, 13, 10, 8, 3, 9, 8, 4, 6, 5, 0, 2, 0), # 12 (24, 19, 11, 9, 5, 5, 9, 3, 4, 2, 1, 0, 0, 11, 11, 10, 9, 7, 11, 2, 3, 10, 5, 1, 3, 0), # 13 (11, 20, 12, 20, 13, 4, 5, 5, 2, 2, 4, 1, 0, 9, 28, 17, 11, 12, 9, 1, 3, 9, 7, 3, 2, 0), # 14 (20, 11, 17, 19, 23, 8, 4, 5, 6, 2, 3, 0, 0, 19, 15, 18, 10, 15, 10, 11, 5, 5, 6, 3, 2, 0), # 15 (14, 14, 12, 18, 12, 5, 8, 5, 6, 1, 1, 1, 0, 14, 15, 20, 6, 17, 2, 3, 7, 7, 9, 1, 0, 0), # 16 (14, 19, 17, 16, 15, 3, 10, 5, 4, 0, 5, 2, 0, 17, 19, 6, 16, 19, 8, 9, 4, 9, 3, 4, 2, 0), # 17 (24, 16, 18, 23, 17, 5, 6, 8, 8, 4, 4, 1, 0, 17, 18, 11, 12, 18, 7, 9, 7, 6, 4, 4, 1, 0), # 18 (21, 20, 8, 15, 18, 4, 10, 7, 6, 5, 1, 2, 0, 19, 14, 18, 12, 13, 7, 7, 4, 7, 7, 7, 0, 0), # 19 (18, 19, 18, 16, 12, 4, 3, 6, 1, 7, 2, 8, 0, 25, 16, 12, 14, 17, 4, 7, 4, 7, 5, 3, 1, 0), # 20 (18, 20, 10, 19, 17, 6, 8, 10, 8, 4, 0, 0, 0, 27, 12, 13, 13, 17, 10, 4, 4, 7, 8, 2, 1, 0), # 21 (17, 18, 15, 15, 14, 5, 10, 7, 9, 3, 4, 2, 0, 26, 15, 11, 9, 17, 6, 8, 3, 9, 5, 4, 1, 0), # 22 (19, 23, 14, 15, 12, 1, 8, 5, 5, 4, 2, 2, 0, 23, 17, 16, 14, 13, 12, 3, 4, 5, 4, 2, 1, 0), # 23 (17, 21, 17, 19, 17, 7, 9, 5, 9, 8, 2, 0, 0, 25, 23, 16, 13, 15, 12, 3, 5, 8, 3, 3, 1, 0), # 24 (15, 18, 16, 21, 13, 4, 7, 6, 6, 4, 0, 1, 0, 17, 18, 12, 12, 21, 13, 3, 5, 5, 4, 1, 3, 0), # 25 (21, 25, 13, 10, 13, 7, 9, 8, 7, 4, 2, 0, 0, 23, 13, 10, 13, 10, 14, 8, 7, 8, 5, 1, 1, 0), # 26 (18, 25, 19, 20, 11, 3, 4, 11, 11, 4, 1, 1, 0, 21, 19, 12, 14, 11, 13, 4, 4, 8, 3, 6, 3, 0), # 27 (18, 22, 14, 26, 13, 11, 8, 6, 5, 4, 1, 1, 0, 19, 15, 13, 9, 12, 7, 9, 3, 5, 6, 4, 1, 0), # 28 (25, 11, 27, 12, 16, 8, 9, 9, 9, 1, 1, 0, 0, 17, 13, 14, 8, 14, 6, 3, 2, 6, 8, 4, 1, 0), # 29 (20, 19, 14, 20, 11, 6, 9, 6, 11, 2, 3, 1, 0, 15, 13, 7, 11, 10, 12, 7, 3, 6, 10, 2, 1, 0), # 30 (15, 22, 18, 19, 13, 10, 10, 7, 5, 4, 2, 2, 0, 17, 21, 5, 14, 12, 9, 9, 7, 6, 5, 0, 1, 0), # 31 (25, 15, 18, 25, 6, 7, 7, 5, 4, 3, 6, 2, 0, 29, 15, 10, 12, 22, 7, 10, 4, 11, 2, 2, 1, 0), # 32 (8, 15, 10, 11, 9, 10, 4, 8, 5, 4, 0, 1, 0, 19, 14, 19, 15, 17, 5, 7, 3, 5, 11, 4, 2, 0), # 33 (16, 22, 14, 16, 13, 10, 3, 7, 9, 3, 1, 2, 0, 22, 12, 6, 14, 10, 8, 5, 3, 8, 7, 2, 2, 0), # 34 (13, 13, 13, 16, 14, 7, 6, 5, 13, 2, 2, 3, 0, 17, 18, 14, 14, 7, 5, 5, 5, 10, 4, 3, 2, 0), # 35 (18, 23, 13, 22, 17, 4, 8, 8, 10, 3, 2, 0, 0, 19, 11, 15, 7, 21, 9, 6, 4, 12, 4, 5, 1, 0), # 36 (24, 20, 16, 11, 10, 7, 7, 4, 6, 4, 3, 0, 0, 19, 15, 18, 9, 15, 10, 6, 2, 6, 6, 1, 1, 0), # 37 (16, 26, 22, 13, 18, 5, 5, 6, 5, 3, 2, 2, 0, 14, 12, 13, 11, 18, 9, 5, 4, 2, 8, 4, 0, 0), # 38 (13, 16, 22, 21, 8, 7, 11, 8, 7, 4, 1, 2, 0, 18, 12, 11, 8, 21, 12, 2, 4, 7, 3, 1, 1, 0), # 39 (19, 20, 12, 12, 11, 8, 7, 5, 7, 1, 4, 0, 0, 19, 16, 10, 9, 16, 11, 6, 10, 7, 5, 1, 0, 0), # 40 (19, 13, 12, 14, 12, 8, 9, 7, 5, 2, 1, 1, 0, 25, 15, 21, 8, 7, 4, 10, 9, 7, 8, 2, 0, 0), # 41 (12, 19, 5, 16, 13, 9, 6, 10, 6, 1, 2, 4, 0, 18, 14, 7, 9, 24, 6, 7, 5, 1, 3, 3, 1, 0), # 42 (14, 32, 8, 19, 12, 10, 5, 6, 3, 1, 1, 4, 0, 20, 16, 10, 10, 12, 4, 9, 6, 1, 2, 2, 1, 0), # 43 (19, 17, 23, 28, 15, 6, 8, 4, 3, 3, 4, 2, 0, 21, 9, 15, 3, 15, 7, 3, 6, 11, 6, 1, 3, 0), # 44 (11, 17, 15, 15, 10, 3, 3, 5, 8, 1, 1, 3, 0, 15, 15, 15, 10, 14, 10, 7, 4, 10, 5, 5, 4, 0), # 45 (18, 21, 13, 17, 15, 3, 7, 7, 8, 4, 1, 4, 0, 22, 15, 18, 7, 17, 9, 5, 3, 7, 8, 4, 4, 0), # 46 (12, 20, 10, 22, 17, 7, 10, 3, 12, 5, 2, 1, 0, 17, 18, 9, 10, 13, 17, 9, 2, 3, 6, 4, 1, 0), # 47 (18, 19, 20, 27, 13, 9, 5, 4, 7, 5, 1, 1, 0, 19, 21, 15, 12, 8, 11, 7, 5, 11, 5, 0, 3, 0), # 48 (18, 13, 13, 9, 9, 7, 9, 12, 7, 5, 2, 1, 0, 10, 19, 13, 12, 20, 9, 3, 3, 10, 1, 2, 2, 0), # 49 (20, 15, 12, 20, 11, 13, 3, 4, 5, 2, 1, 4, 0, 23, 13, 12, 11, 16, 9, 11, 9, 6, 5, 5, 0, 0), # 50 (14, 16, 10, 15, 10, 12, 7, 7, 4, 2, 2, 2, 0, 23, 19, 10, 15, 12, 14, 5, 3, 1, 4, 2, 0, 0), # 51 (22, 18, 16, 13, 7, 8, 7, 8, 7, 5, 2, 1, 0, 17, 14, 15, 7, 17, 11, 5, 4, 6, 3, 2, 4, 0), # 52 (13, 16, 14, 14, 10, 2, 6, 3, 6, 5, 1, 4, 0, 16, 13, 6, 7, 15, 8, 7, 5, 7, 4, 7, 1, 0), # 53 (21, 16, 15, 13, 15, 6, 2, 3, 5, 3, 1, 4, 0, 25, 15, 12, 11, 18, 11, 12, 5, 7, 3, 5, 2, 0), # 54 (19, 18, 14, 8, 9, 6, 10, 7, 6, 3, 8, 1, 0, 17, 12, 18, 7, 14, 9, 8, 4, 6, 5, 1, 2, 0), # 55 (26, 15, 15, 19, 12, 3, 7, 5, 7, 3, 4, 0, 0, 10, 13, 10, 12, 19, 8, 5, 5, 10, 8, 5, 2, 0), # 56 (17, 12, 13, 17, 16, 7, 8, 5, 10, 3, 1, 2, 0, 16, 13, 11, 8, 14, 3, 4, 8, 2, 6, 3, 1, 0), # 57 (17, 9, 12, 23, 10, 5, 6, 5, 7, 3, 0, 2, 0, 27, 21, 15, 12, 13, 10, 4, 5, 3, 8, 3, 2, 0), # 58 (17, 16, 15, 25, 18, 5, 9, 6, 12, 5, 2, 1, 0, 22, 17, 13, 9, 8, 7, 7, 5, 4, 4, 2, 1, 0), # 59 (17, 13, 12, 13, 15, 8, 7, 2, 7, 1, 3, 1, 0, 9, 15, 20, 10, 15, 6, 7, 10, 7, 5, 2, 3, 0), # 60 (19, 20, 16, 20, 12, 12, 5, 5, 8, 4, 1, 2, 0, 16, 17, 11, 6, 13, 6, 16, 6, 5, 4, 3, 3, 0), # 61 (15, 20, 10, 15, 18, 5, 12, 6, 8, 1, 3, 2, 0, 19, 18, 8, 11, 15, 5, 2, 5, 5, 7, 3, 1, 0), # 62 (10, 13, 13, 13, 18, 6, 7, 4, 7, 6, 2, 1, 0, 23, 15, 13, 8, 16, 7, 4, 3, 3, 5, 2, 2, 0), # 63 (24, 15, 19, 9, 8, 3, 5, 2, 5, 1, 2, 1, 0, 11, 16, 23, 11, 10, 12, 6, 4, 4, 3, 2, 0, 0), # 64 (20, 19, 12, 12, 12, 6, 5, 2, 12, 3, 2, 1, 0, 17, 10, 12, 15, 16, 15, 3, 4, 8, 7, 2, 2, 0), # 65 (22, 14, 14, 16, 16, 5, 3, 4, 9, 3, 1, 2, 0, 24, 16, 17, 11, 10, 7, 7, 1, 8, 14, 4, 1, 0), # 66 (17, 18, 20, 17, 15, 10, 9, 8, 5, 4, 2, 0, 0, 15, 22, 13, 16, 19, 5, 4, 3, 10, 3, 1, 2, 0), # 67 (20, 14, 11, 20, 11, 4, 7, 6, 7, 2, 1, 2, 0, 20, 15, 20, 13, 16, 5, 7, 2, 9, 9, 5, 2, 0), # 68 (23, 27, 14, 19, 22, 8, 2, 5, 3, 5, 2, 0, 0, 14, 15, 11, 9, 14, 4, 5, 4, 6, 3, 4, 2, 0), # 69 (13, 18, 16, 17, 13, 7, 4, 6, 6, 2, 4, 0, 0, 15, 14, 13, 13, 15, 11, 9, 4, 8, 5, 3, 1, 0), # 70 (12, 30, 15, 15, 15, 9, 10, 7, 7, 4, 3, 2, 0, 25, 19, 15, 12, 12, 6, 4, 7, 3, 5, 0, 1, 0), # 71 (13, 11, 13, 13, 9, 11, 8, 4, 5, 3, 1, 0, 0, 24, 11, 19, 6, 16, 5, 5, 4, 10, 2, 5, 1, 0), # 72 (16, 20, 12, 16, 11, 9, 3, 7, 7, 3, 3, 1, 0, 12, 15, 16, 7, 18, 5, 7, 6, 7, 8, 3, 2, 0), # 73 (12, 12, 17, 22, 6, 2, 8, 5, 5, 5, 1, 0, 0, 11, 10, 12, 16, 9, 9, 2, 7, 9, 6, 3, 1, 0), # 74 (22, 16, 18, 12, 17, 9, 5, 5, 4, 2, 2, 0, 0, 19, 13, 9, 10, 17, 13, 9, 2, 1, 1, 7, 3, 0), # 75 (13, 17, 7, 15, 15, 7, 6, 4, 2, 3, 2, 1, 0, 15, 13, 6, 11, 16, 8, 3, 5, 10, 5, 3, 1, 0), # 76 (16, 13, 14, 10, 15, 9, 8, 4, 4, 2, 3, 1, 0, 21, 20, 10, 10, 14, 11, 10, 6, 9, 7, 2, 0, 0), # 77 (12, 11, 21, 20, 13, 9, 3, 7, 4, 1, 2, 2, 0, 14, 19, 15, 6, 12, 6, 5, 3, 6, 4, 3, 0, 0), # 78 (13, 13, 12, 18, 13, 7, 6, 2, 7, 2, 3, 3, 0, 22, 15, 11, 4, 16, 6, 3, 7, 8, 5, 4, 1, 0), # 79 (24, 10, 18, 18, 13, 4, 9, 9, 3, 2, 1, 1, 0, 21, 24, 12, 16, 8, 5, 9, 3, 11, 7, 1, 0, 0), # 80 (22, 15, 12, 12, 17, 7, 9, 4, 8, 4, 0, 0, 0, 22, 12, 10, 8, 14, 8, 12, 6, 6, 9, 5, 1, 0), # 81 (22, 18, 13, 21, 7, 6, 6, 3, 9, 4, 0, 1, 0, 14, 17, 11, 10, 12, 8, 11, 4, 4, 8, 3, 3, 0), # 82 (16, 14, 12, 12, 18, 9, 6, 5, 3, 3, 1, 0, 0, 22, 13, 11, 12, 19, 9, 5, 3, 7, 4, 4, 4, 0), # 83 (15, 7, 13, 18, 12, 6, 7, 6, 4, 7, 2, 0, 0, 19, 18, 11, 8, 11, 4, 7, 6, 9, 2, 2, 1, 0), # 84 (17, 10, 18, 20, 15, 3, 4, 6, 7, 3, 4, 1, 0, 17, 7, 15, 7, 17, 8, 4, 7, 8, 8, 4, 2, 0), # 85 (27, 21, 6, 13, 9, 3, 11, 5, 9, 7, 2, 0, 0, 11, 18, 13, 9, 12, 5, 8, 4, 4, 6, 7, 0, 0), # 86 (20, 17, 14, 17, 8, 12, 2, 6, 6, 2, 4, 3, 0, 20, 11, 7, 13, 22, 6, 5, 5, 10, 6, 0, 1, 0), # 87 (24, 11, 9, 19, 16, 10, 2, 2, 7, 4, 5, 1, 0, 15, 11, 12, 7, 6, 4, 2, 7, 3, 3, 4, 0, 0), # 88 (19, 13, 11, 17, 6, 5, 5, 7, 7, 6, 4, 0, 0, 19, 20, 9, 12, 16, 6, 4, 4, 8, 7, 3, 0, 0), # 89 (11, 22, 12, 15, 15, 11, 4, 5, 6, 1, 4, 0, 0, 18, 13, 7, 7, 15, 7, 7, 1, 5, 8, 1, 1, 0), # 90 (16, 7, 14, 12, 15, 5, 8, 1, 3, 4, 2, 0, 0, 17, 11, 7, 13, 17, 9, 9, 3, 10, 7, 5, 3, 0), # 91 (9, 14, 7, 16, 7, 3, 9, 8, 10, 1, 0, 1, 0, 20, 14, 13, 11, 13, 12, 8, 8, 5, 4, 1, 2, 0), # 92 (14, 18, 18, 10, 15, 4, 4, 8, 9, 2, 1, 2, 0, 18, 10, 19, 6, 17, 4, 4, 1, 9, 7, 1, 1, 0), # 93 (22, 16, 10, 18, 13, 6, 6, 4, 4, 2, 1, 1, 0, 14, 12, 13, 10, 18, 5, 6, 8, 9, 6, 3, 1, 0), # 94 (19, 16, 15, 10, 12, 6, 5, 8, 6, 6, 4, 2, 0, 19, 18, 11, 11, 10, 6, 3, 2, 7, 6, 7, 0, 0), # 95 (14, 16, 17, 10, 10, 6, 4, 3, 6, 2, 3, 4, 0, 15, 13, 10, 7, 8, 9, 3, 6, 9, 6, 1, 0, 0), # 96 (17, 11, 16, 19, 19, 10, 4, 5, 4, 6, 0, 2, 0, 24, 14, 10, 11, 14, 9, 5, 1, 14, 9, 3, 1, 0), # 97 (23, 6, 16, 5, 10, 4, 8, 7, 8, 1, 2, 0, 0, 30, 17, 16, 6, 10, 5, 7, 3, 8, 9, 3, 2, 0), # 98 (21, 13, 9, 24, 15, 4, 7, 7, 6, 1, 1, 1, 0, 20, 16, 11, 7, 14, 13, 2, 5, 10, 3, 2, 1, 0), # 99 (22, 9, 12, 17, 16, 2, 4, 9, 5, 2, 3, 0, 0, 20, 16, 12, 11, 9, 8, 8, 4, 5, 5, 4, 1, 0), # 100 (18, 14, 13, 13, 11, 4, 14, 6, 5, 6, 2, 1, 0, 20, 20, 10, 13, 10, 3, 5, 5, 11, 4, 4, 4, 0), # 101 (19, 11, 16, 18, 10, 3, 7, 5, 9, 4, 2, 3, 0, 22, 10, 10, 7, 11, 6, 6, 2, 1, 1, 2, 0, 0), # 102 (10, 12, 17, 14, 12, 5, 3, 7, 8, 5, 2, 1, 0, 21, 14, 14, 5, 9, 6, 1, 3, 5, 4, 5, 1, 0), # 103 (26, 9, 14, 15, 10, 3, 5, 3, 8, 3, 1, 0, 0, 13, 17, 13, 7, 10, 4, 9, 6, 6, 4, 1, 2, 0), # 104 (23, 15, 5, 15, 8, 6, 5, 9, 8, 4, 2, 1, 0, 17, 12, 13, 3, 10, 4, 3, 4, 5, 0, 4, 2, 0), # 105 (21, 15, 14, 14, 8, 8, 6, 8, 6, 7, 0, 0, 0, 19, 17, 10, 12, 7, 4, 7, 3, 9, 6, 1, 2, 0), # 106 (12, 11, 12, 16, 4, 7, 7, 1, 5, 1, 1, 0, 0, 17, 9, 13, 11, 14, 6, 7, 7, 8, 3, 4, 1, 0), # 107 (13, 17, 12, 10, 7, 5, 7, 6, 5, 6, 4, 3, 0, 14, 18, 7, 7, 10, 5, 5, 3, 10, 4, 3, 0, 0), # 108 (19, 11, 14, 27, 15, 4, 9, 2, 8, 6, 0, 2, 0, 19, 9, 12, 10, 12, 6, 9, 4, 6, 6, 6, 2, 0), # 109 (17, 10, 18, 13, 13, 8, 7, 6, 7, 1, 4, 0, 0, 17, 11, 12, 7, 8, 5, 9, 3, 8, 2, 4, 0, 0), # 110 (12, 10, 20, 13, 9, 4, 8, 8, 6, 7, 2, 3, 0, 20, 19, 12, 8, 14, 3, 4, 8, 5, 7, 4, 1, 0), # 111 (15, 10, 13, 17, 15, 4, 9, 3, 11, 3, 3, 1, 0, 22, 11, 8, 10, 8, 4, 4, 7, 3, 4, 3, 1, 0), # 112 (10, 18, 18, 11, 16, 6, 3, 4, 6, 0, 3, 0, 0, 13, 9, 12, 9, 12, 7, 2, 6, 2, 8, 2, 0, 0), # 113 (16, 16, 15, 10, 10, 8, 11, 8, 4, 2, 0, 1, 0, 23, 12, 7, 10, 12, 4, 5, 5, 7, 2, 2, 1, 0), # 114 (20, 9, 13, 19, 11, 8, 3, 6, 7, 3, 3, 1, 0, 16, 17, 6, 3, 15, 8, 4, 3, 4, 5, 2, 0, 0), # 115 (24, 16, 14, 12, 13, 3, 12, 3, 2, 3, 0, 2, 0, 11, 11, 14, 5, 17, 8, 6, 4, 7, 4, 1, 2, 0), # 116 (10, 13, 19, 13, 14, 8, 5, 8, 2, 4, 1, 0, 0, 26, 12, 8, 8, 12, 2, 5, 5, 9, 2, 5, 0, 0), # 117 (12, 13, 12, 15, 17, 9, 8, 5, 2, 5, 1, 0, 0, 12, 13, 8, 8, 15, 5, 1, 4, 5, 9, 1, 3, 0), # 118 (15, 12, 13, 12, 8, 4, 6, 4, 8, 1, 2, 0, 0, 11, 16, 13, 14, 11, 10, 5, 6, 7, 2, 2, 0, 0), # 119 (21, 14, 13, 17, 12, 7, 9, 4, 6, 2, 2, 1, 0, 15, 8, 11, 10, 8, 7, 11, 5, 3, 10, 3, 0, 0), # 120 (17, 11, 11, 16, 13, 12, 6, 5, 6, 4, 3, 1, 0, 22, 15, 9, 3, 15, 5, 9, 7, 6, 5, 5, 1, 0), # 121 (11, 11, 9, 14, 10, 3, 9, 1, 7, 3, 0, 1, 0, 23, 12, 8, 12, 13, 8, 5, 4, 6, 6, 1, 0, 0), # 122 (12, 15, 21, 15, 17, 11, 2, 5, 5, 1, 0, 1, 0, 14, 13, 6, 9, 12, 8, 7, 3, 3, 7, 0, 1, 0), # 123 (16, 12, 14, 13, 8, 3, 7, 3, 5, 1, 2, 0, 0, 20, 14, 12, 5, 13, 9, 7, 1, 10, 6, 5, 3, 0), # 124 (17, 13, 11, 12, 16, 10, 7, 8, 7, 1, 0, 0, 0, 25, 9, 14, 9, 18, 5, 5, 2, 4, 6, 3, 1, 0), # 125 (14, 10, 9, 9, 10, 6, 5, 7, 7, 1, 2, 0, 0, 18, 11, 13, 5, 15, 7, 4, 4, 6, 3, 1, 1, 0), # 126 (10, 9, 14, 13, 15, 4, 2, 4, 6, 3, 0, 1, 0, 16, 6, 11, 6, 15, 10, 8, 4, 6, 6, 2, 2, 0), # 127 (15, 16, 11, 13, 16, 5, 1, 4, 4, 2, 2, 0, 0, 17, 19, 7, 3, 5, 7, 6, 5, 8, 4, 1, 1, 0), # 128 (21, 16, 10, 16, 17, 7, 6, 6, 6, 3, 3, 2, 0, 23, 8, 10, 9, 10, 4, 10, 3, 7, 3, 2, 1, 0), # 129 (18, 9, 13, 13, 9, 5, 5, 4, 7, 4, 2, 2, 0, 15, 15, 15, 9, 10, 4, 7, 5, 8, 1, 2, 0, 0), # 130 (20, 15, 13, 15, 9, 7, 3, 4, 4, 0, 5, 2, 0, 11, 11, 16, 7, 15, 4, 4, 6, 3, 5, 1, 1, 0), # 131 (15, 10, 11, 18, 11, 9, 7, 5, 3, 1, 3, 0, 0, 13, 16, 9, 8, 9, 9, 3, 3, 3, 4, 1, 0, 0), # 132 (14, 5, 12, 11, 13, 11, 6, 6, 4, 0, 1, 1, 0, 17, 17, 8, 7, 16, 5, 4, 1, 6, 9, 2, 3, 0), # 133 (13, 10, 13, 12, 22, 5, 7, 4, 8, 3, 1, 2, 0, 23, 9, 11, 6, 8, 6, 2, 9, 4, 2, 1, 1, 0), # 134 (11, 13, 12, 8, 7, 9, 6, 2, 9, 1, 2, 1, 0, 16, 14, 13, 5, 12, 3, 5, 1, 4, 4, 6, 0, 0), # 135 (20, 12, 8, 17, 10, 6, 3, 3, 8, 4, 3, 1, 0, 12, 14, 12, 8, 12, 5, 8, 5, 3, 7, 2, 0, 0), # 136 (14, 5, 12, 12, 14, 4, 9, 3, 6, 3, 3, 2, 0, 15, 11, 11, 8, 16, 8, 8, 6, 2, 5, 3, 0, 0), # 137 (11, 8, 15, 9, 10, 3, 2, 3, 10, 0, 2, 2, 0, 19, 15, 11, 11, 16, 3, 5, 3, 10, 4, 2, 0, 0), # 138 (11, 10, 11, 13, 9, 6, 4, 6, 10, 4, 0, 1, 0, 16, 13, 9, 3, 11, 2, 1, 3, 10, 6, 3, 0, 0), # 139 (14, 8, 12, 11, 19, 8, 7, 8, 9, 3, 1, 2, 0, 13, 7, 11, 6, 16, 9, 5, 3, 5, 10, 4, 1, 0), # 140 (13, 12, 7, 13, 9, 1, 4, 6, 9, 5, 1, 0, 0, 17, 12, 3, 10, 7, 4, 5, 4, 4, 2, 3, 1, 0), # 141 (14, 14, 6, 10, 9, 5, 8, 6, 8, 1, 1, 1, 0, 21, 10, 9, 6, 9, 6, 4, 4, 8, 2, 6, 0, 0), # 142 (21, 14, 21, 16, 10, 4, 6, 8, 5, 2, 3, 1, 0, 16, 5, 11, 2, 15, 7, 3, 3, 2, 3, 4, 1, 0), # 143 (15, 16, 9, 16, 14, 7, 4, 6, 4, 2, 0, 0, 0, 18, 13, 7, 4, 11, 4, 4, 6, 5, 7, 0, 1, 0), # 144 (14, 10, 8, 17, 24, 7, 5, 4, 7, 3, 0, 1, 0, 17, 14, 10, 7, 14, 11, 3, 2, 6, 5, 3, 0, 0), # 145 (20, 11, 15, 15, 11, 5, 5, 3, 8, 4, 2, 2, 0, 16, 15, 13, 9, 11, 6, 6, 0, 5, 3, 4, 1, 0), # 146 (25, 11, 9, 12, 11, 3, 6, 4, 9, 2, 5, 1, 0, 21, 15, 9, 4, 5, 4, 2, 3, 8, 2, 1, 0, 0), # 147 (11, 12, 16, 11, 11, 3, 6, 3, 7, 2, 0, 1, 0, 16, 10, 7, 3, 14, 7, 4, 1, 8, 4, 3, 1, 0), # 148 (9, 11, 10, 18, 12, 3, 11, 4, 6, 1, 2, 1, 0, 15, 16, 8, 9, 16, 10, 6, 0, 5, 5, 3, 0, 0), # 149 (16, 8, 14, 9, 10, 4, 3, 3, 5, 2, 3, 2, 0, 14, 13, 11, 10, 12, 11, 7, 5, 9, 1, 2, 0, 0), # 150 (11, 12, 9, 7, 9, 3, 5, 4, 8, 1, 0, 1, 0, 15, 12, 6, 4, 15, 2, 3, 6, 4, 3, 4, 1, 0), # 151 (10, 15, 5, 13, 6, 4, 6, 3, 8, 1, 2, 2, 0, 11, 10, 7, 4, 13, 3, 2, 2, 4, 4, 2, 1, 0), # 152 (10, 7, 13, 10, 15, 6, 6, 7, 5, 1, 1, 2, 0, 9, 11, 12, 5, 10, 1, 4, 4, 3, 3, 3, 1, 0), # 153 (15, 14, 9, 17, 6, 9, 2, 8, 7, 2, 0, 0, 0, 9, 15, 9, 7, 10, 5, 4, 5, 7, 5, 2, 0, 0), # 154 (10, 11, 9, 15, 6, 4, 3, 3, 3, 1, 0, 0, 0, 20, 13, 8, 9, 13, 4, 7, 2, 4, 4, 2, 0, 0), # 155 (11, 12, 17, 10, 13, 3, 3, 4, 5, 5, 3, 1, 0, 13, 8, 8, 10, 7, 6, 0, 2, 10, 3, 4, 1, 0), # 156 (6, 10, 17, 9, 8, 2, 3, 5, 4, 2, 0, 2, 0, 16, 7, 10, 8, 12, 1, 6, 4, 5, 4, 1, 0, 0), # 157 (12, 11, 9, 8, 14, 6, 4, 5, 11, 1, 1, 1, 0, 11, 12, 11, 4, 10, 4, 4, 0, 10, 1, 1, 1, 0), # 158 (16, 5, 15, 13, 9, 9, 5, 5, 4, 5, 2, 0, 0, 15, 10, 8, 4, 12, 9, 6, 2, 7, 3, 6, 0, 0), # 159 (10, 13, 10, 11, 9, 5, 3, 4, 12, 3, 1, 0, 0, 12, 10, 12, 5, 9, 8, 1, 7, 3, 8, 5, 1, 0), # 160 (9, 7, 8, 12, 11, 6, 4, 2, 5, 1, 3, 0, 0, 19, 6, 10, 7, 7, 5, 0, 0, 6, 4, 2, 0, 0), # 161 (11, 7, 15, 13, 6, 2, 7, 10, 9, 0, 1, 1, 0, 15, 12, 5, 5, 13, 15, 6, 5, 4, 3, 2, 0, 0), # 162 (12, 13, 14, 12, 8, 7, 3, 3, 8, 3, 1, 2, 0, 10, 15, 10, 6, 20, 3, 3, 2, 7, 3, 1, 0, 0), # 163 (6, 6, 12, 10, 6, 6, 4, 2, 7, 1, 2, 1, 0, 20, 10, 8, 5, 6, 3, 5, 1, 8, 3, 2, 1, 0), # 164 (19, 11, 10, 9, 10, 6, 6, 4, 5, 3, 2, 1, 0, 14, 8, 13, 8, 15, 3, 3, 6, 4, 4, 1, 0, 0), # 165 (13, 7, 16, 12, 6, 7, 5, 2, 4, 2, 4, 0, 0, 7, 6, 6, 3, 13, 7, 4, 5, 4, 2, 1, 2, 0), # 166 (16, 9, 10, 10, 8, 7, 2, 7, 5, 4, 1, 1, 0, 14, 10, 5, 8, 8, 2, 4, 5, 4, 10, 1, 0, 0), # 167 (9, 10, 15, 9, 11, 2, 5, 4, 6, 4, 1, 0, 0, 14, 7, 3, 5, 11, 2, 2, 3, 10, 4, 0, 1, 0), # 168 (12, 7, 11, 11, 15, 5, 1, 3, 1, 0, 1, 0, 0, 10, 6, 3, 9, 10, 5, 7, 1, 6, 2, 2, 1, 0), # 169 (12, 8, 6, 16, 6, 7, 0, 2, 3, 0, 0, 1, 0, 14, 12, 3, 5, 6, 4, 3, 5, 3, 4, 1, 0, 0), # 170 (11, 8, 8, 6, 13, 3, 2, 7, 8, 3, 0, 1, 0, 12, 9, 8, 4, 14, 5, 3, 3, 4, 2, 2, 0, 0), # 171 (10, 5, 10, 7, 7, 0, 1, 5, 4, 1, 0, 1, 0, 12, 9, 5, 5, 7, 4, 3, 4, 6, 1, 1, 1, 0), # 172 (6, 9, 11, 8, 9, 5, 3, 2, 5, 2, 1, 0, 0, 13, 9, 6, 1, 11, 2, 2, 3, 5, 2, 1, 0, 0), # 173 (5, 6, 9, 5, 7, 3, 4, 4, 5, 0, 2, 1, 0, 12, 8, 7, 1, 6, 5, 3, 2, 2, 1, 1, 0, 0), # 174 (8, 4, 8, 14, 4, 5, 4, 2, 1, 2, 0, 1, 0, 10, 10, 3, 1, 7, 3, 4, 2, 2, 6, 0, 2, 0), # 175 (3, 6, 6, 11, 5, 0, 7, 2, 4, 3, 5, 2, 0, 3, 11, 7, 3, 7, 4, 1, 4, 5, 4, 1, 1, 0), # 176 (5, 9, 5, 5, 5, 7, 3, 4, 2, 0, 2, 2, 0, 7, 9, 1, 0, 5, 5, 3, 1, 4, 2, 1, 0, 0), # 177 (8, 7, 3, 6, 11, 4, 3, 2, 2, 1, 1, 0, 0, 11, 6, 3, 1, 5, 1, 2, 0, 1, 1, 0, 1, 0), # 178 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), # 179 ) station_arriving_intensity = ( (9.037558041069182, 9.9455194074477, 9.380309813302512, 11.18640199295418, 9.998434093697302, 5.64957887766721, 7.462864107673047, 8.375717111362961, 10.962178311902413, 7.124427027940266, 7.569477294994085, 8.816247140951113, 9.150984382641052), # 0 (9.637788873635953, 10.602109249460566, 9.999623864394273, 11.925259655897909, 10.660482607453627, 6.0227704512766005, 7.955044094274649, 8.927124701230275, 11.686041587399236, 7.59416524609887, 8.069573044721038, 9.398189989465838, 9.755624965391739), # 1 (10.236101416163518, 11.256093307603763, 10.616476113985344, 12.66117786839663, 11.320133352749538, 6.3944732061224006, 8.445273314329269, 9.476325446227955, 12.407016252379588, 8.062044795036982, 8.567681667797364, 9.9778187736955, 10.357856690777442), # 2 (10.830164027663812, 11.904876903485604, 11.228419564775738, 13.391237533557733, 11.974791016803424, 6.763213120653203, 8.93160655496632, 10.021142083490112, 13.122243289657968, 8.526208857167125, 9.061827141289289, 10.55283423287483, 10.955291051257605), # 3 (11.417645067148767, 12.545865358714394, 11.833007219465467, 14.112519554488625, 12.621860286833686, 7.127516173317602, 9.412098603315226, 10.559397350150848, 13.828863682048873, 8.984800614901822, 9.550033442263036, 11.120937106238575, 11.54553953929167), # 4 (11.996212893630318, 13.176463994898459, 12.427792080754532, 14.822104834296708, 13.258745850058704, 7.485908342564186, 9.884804246505404, 11.088913983344266, 14.524018412366805, 9.435963250653593, 10.030324547784838, 11.679828133021466, 12.126213647339089), # 5 (12.5635358661204, 13.794078133646101, 13.010327151342958, 15.517074276089375, 13.882852393696878, 7.836915606841555, 10.347778271666273, 11.60751472020448, 15.204848463426268, 9.877839946834966, 10.500724434920908, 12.227208052458254, 12.694924867859292), # 6 (13.117282343630944, 14.396113096565637, 13.578165433930742, 16.194508782974033, 14.491584604966597, 8.179063944598298, 10.799075465927253, 12.113022297865593, 15.868494818041759, 10.308573885858456, 10.959257080737483, 12.760777603783673, 13.249284693311735), # 7 (13.655120685173882, 14.979974205265378, 14.128859931217914, 16.85148925805807, 15.082347171086255, 8.510879334283002, 11.236750616417757, 12.603259453461705, 16.512098459027772, 10.726308250136594, 11.403946462300778, 13.278237526232465, 13.786904616155851), # 8 (14.174719249761154, 15.543066781353641, 14.659963645904467, 17.485096604448906, 15.652544779274237, 8.830887754344271, 11.658858510267216, 13.076048924126933, 17.132800369198815, 11.129186222081895, 11.83281655667702, 13.777288559039365, 14.305396128851092), # 9 (14.673746396404677, 16.082796146438728, 15.169029580690424, 18.092411725253918, 16.199582116748942, 9.137615183230693, 12.063453934605038, 13.52921344699538, 17.727741531369386, 11.515350984106886, 12.243891340932432, 14.255631441439114, 14.802370723856898), # 10 (15.149870484116411, 16.596567622128973, 15.653610738275788, 18.670515523580516, 16.72086387072876, 9.429587599390864, 12.44859167656065, 13.960575759201147, 18.294062928353988, 11.882945718624095, 12.635194792133248, 14.710966912666459, 15.2754398936327), # 11 (15.600759871908263, 17.081786530032655, 16.111260121360573, 19.216488902536103, 17.21379472843208, 9.705330981273365, 12.812326523263462, 14.367958597878339, 18.82890554296712, 12.23011360804603, 13.004750887345683, 15.140995711956123, 15.722215130637963), # 12 (16.02408291879218, 17.535858191758116, 16.539530732644792, 19.727412765228078, 17.675779377077284, 9.963371307326803, 13.152713261842901, 14.749184700161067, 19.329410358023278, 12.554997834785228, 13.350583603635965, 15.543418578542857, 16.140307927332124), # 13 (16.41750798378009, 17.95618792891366, 16.935975574828465, 20.20036801476383, 18.10422250388278, 10.202234555999762, 13.46780667942839, 15.102076803183444, 19.79271835633696, 12.855741581254202, 13.670716918070312, 15.915936251661408, 16.527329776174614), # 14 (16.77870342588394, 18.34018106310759, 17.298147650611575, 20.632435554250776, 18.496528796066954, 10.420446705740842, 13.755661563149326, 15.424457644079562, 20.215970520722674, 13.130488029865482, 13.963174807714955, 16.256249470546507, 16.880892169624886), # 15 (17.10533760411564, 18.685242915948237, 17.623599962694165, 21.02069628679629, 18.8501029408482, 10.616533734998628, 14.014332700135158, 15.71414995998353, 20.596307833994917, 13.377380363031593, 14.225981249636122, 16.56205897443289, 17.198606600142384), # 16 (17.395078877487137, 18.988778809043904, 17.909885513776235, 21.362231115507804, 19.162349625444907, 10.789021622221714, 14.24187487751528, 15.968976488029472, 20.930871278968173, 13.594561763165041, 14.457160220900038, 16.8310655025553, 17.47808456018655), # 17 (17.645595605010367, 19.248194064002895, 18.154557306557784, 21.654120943492703, 19.43067353707546, 10.936436345858706, 14.436342882419133, 16.18675996535147, 21.216801838456973, 13.780175412678366, 14.654735698572916, 17.060969794148487, 17.716937542216822), # 18 (17.85455614569726, 19.46089400243354, 18.355168343738843, 21.893446673858367, 19.65247936295826, 11.057303884358175, 14.59579150197611, 16.36532312908364, 21.4512404952758, 13.93236449398409, 14.81673165972098, 17.249472588447173, 17.912777038692653), # 19 (18.01962885855975, 19.624283945944132, 18.509271628019405, 22.077289209712237, 19.8251717903117, 11.150150216168733, 14.718275523315652, 16.50248871636009, 21.631328232239156, 14.049272189494726, 14.94117208141047, 17.394274624686105, 18.063214542073485), # 20 (18.13848210260976, 19.735769216143005, 18.614420162099496, 22.202729454161673, 19.94615550635416, 11.213501319738963, 14.801849733567167, 16.596079464314922, 21.754206032161537, 14.1290416816228, 15.026080940707608, 17.49307664210003, 18.165861544818743), # 21 (18.20878423685924, 19.792755134638462, 18.668166948679115, 22.266848310314106, 20.012835198304035, 11.245883173517461, 14.844568919860079, 16.643918110082247, 21.81701487785745, 14.169816152780836, 15.069482214678613, 17.54357937992368, 18.218329539387888), # 22 (18.23470805401675, 19.799502469135803, 18.674861728395065, 22.274875462962967, 20.029917700858675, 11.25, 14.84964720406681, 16.64908888888889, 21.824867222222224, 14.17462609053498, 15.074924466891131, 17.549815637860082, 18.225), # 23 (18.253822343461476, 19.79556666666667, 18.673766666666666, 22.273887500000004, 20.039593704506736, 11.25, 14.8468568627451, 16.6419, 21.823815, 14.17167111111111, 15.074324242424245, 17.548355555555556, 18.225), # 24 (18.272533014380844, 19.78780864197531, 18.671604938271606, 22.27193287037037, 20.049056902070106, 11.25, 14.841358024691358, 16.62777777777778, 21.82173611111111, 14.16585390946502, 15.073134118967452, 17.545473251028806, 18.225), # 25 (18.290838634286462, 19.776346913580248, 18.668406172839507, 22.269033796296295, 20.05830696315799, 11.25, 14.833236092955698, 16.60698888888889, 21.81865722222222, 14.157271275720165, 15.07136487093154, 17.54120823045268, 18.225), # 26 (18.308737770689945, 19.7613, 18.6642, 22.265212499999997, 20.067343557379587, 11.25, 14.822576470588237, 16.579800000000002, 21.814605, 14.146019999999998, 15.069027272727272, 17.535600000000002, 18.225), # 27 (18.3262289911029, 19.742786419753084, 18.659016049382718, 22.260491203703705, 20.076166354344124, 11.25, 14.809464560639071, 16.54647777777778, 21.809606111111112, 14.132196872427985, 15.066132098765433, 17.528688065843625, 18.225), # 28 (18.34331086303695, 19.720924691358025, 18.652883950617287, 22.25489212962963, 20.084775023660796, 11.25, 14.793985766158318, 16.507288888888887, 21.803687222222223, 14.115898683127574, 15.06269012345679, 17.520511934156378, 18.225), # 29 (18.359981954003697, 19.695833333333333, 18.645833333333332, 22.2484375, 20.093169234938827, 11.25, 14.776225490196078, 16.4625, 21.796875, 14.097222222222223, 15.058712121212121, 17.51111111111111, 18.225), # 30 (18.376240831514746, 19.667630864197534, 18.637893827160497, 22.241149537037035, 20.101348657787415, 11.25, 14.756269135802471, 16.412377777777778, 21.78919611111111, 14.07626427983539, 15.054208866442199, 17.500525102880662, 18.225), # 31 (18.392086063081717, 19.636435802469137, 18.629095061728393, 22.233050462962964, 20.10931296181577, 11.25, 14.734202106027599, 16.357188888888892, 21.780677222222224, 14.053121646090535, 15.0491911335578, 17.48879341563786, 18.225), # 32 (18.407516216216216, 19.602366666666665, 18.619466666666668, 22.2241625, 20.117061816633115, 11.25, 14.710109803921569, 16.2972, 21.771345, 14.027891111111112, 15.043669696969696, 17.475955555555554, 18.225), # 33 (18.422529858429858, 19.56554197530864, 18.609038271604938, 22.21450787037037, 20.12459489184864, 11.25, 14.684077632534496, 16.232677777777777, 21.761226111111114, 14.000669465020577, 15.037655331088663, 17.462051028806584, 18.225), # 34 (18.437125557234253, 19.52608024691358, 18.597839506172843, 22.204108796296293, 20.131911857071568, 11.25, 14.656190994916486, 16.163888888888888, 21.750347222222224, 13.971553497942386, 15.031158810325476, 17.447119341563788, 18.225), # 35 (18.45130188014101, 19.484099999999998, 18.5859, 22.192987499999997, 20.139012381911105, 11.25, 14.626535294117646, 16.0911, 21.738735, 13.94064, 15.024190909090908, 17.431200000000004, 18.225), # 36 (18.46505739466174, 19.43971975308642, 18.57324938271605, 22.181166203703704, 20.145896135976457, 11.25, 14.595195933188089, 16.014577777777777, 21.72641611111111, 13.908025761316873, 15.016762401795738, 17.414332510288066, 18.225), # 37 (18.47839066830806, 19.39305802469136, 18.559917283950615, 22.168667129629632, 20.152562788876843, 11.25, 14.562258315177923, 15.934588888888891, 21.713417222222223, 13.873807572016462, 15.00888406285073, 17.396556378600824, 18.225), # 38 (18.491300268591576, 19.34423333333333, 18.545933333333334, 22.1555125, 20.159012010221467, 11.25, 14.527807843137257, 15.8514, 21.699765000000003, 13.838082222222223, 15.000566666666668, 17.37791111111111, 18.225), # 39 (18.503784763023894, 19.293364197530863, 18.531327160493827, 22.14172453703704, 20.165243469619533, 11.25, 14.491929920116196, 15.765277777777781, 21.685486111111114, 13.800946502057615, 14.99182098765432, 17.358436213991773, 18.225), # 40 (18.51584271911663, 19.24056913580247, 18.51612839506173, 22.127325462962965, 20.171256836680264, 11.25, 14.454709949164851, 15.67648888888889, 21.67060722222222, 13.76249720164609, 14.982657800224468, 17.338171193415636, 18.225), # 41 (18.527472704381402, 19.18596666666667, 18.500366666666668, 22.112337500000002, 20.177051781012857, 11.25, 14.416233333333333, 15.5853, 21.655155000000004, 13.72283111111111, 14.97308787878788, 17.317155555555555, 18.225), # 42 (18.538673286329807, 19.12967530864198, 18.484071604938272, 22.096782870370372, 20.182627972226527, 11.25, 14.37658547567175, 15.491977777777779, 21.63915611111111, 13.682045020576133, 14.96312199775533, 17.295428806584365, 18.225), # 43 (18.54944303247347, 19.071813580246914, 18.467272839506176, 22.0806837962963, 20.18798507993048, 11.25, 14.335851779230211, 15.396788888888892, 21.62263722222222, 13.64023572016461, 14.952770931537597, 17.2730304526749, 18.225), # 44 (18.55978051032399, 19.0125, 18.45, 22.064062500000002, 20.193122773733933, 11.25, 14.294117647058824, 15.3, 21.605625, 13.597500000000002, 14.942045454545454, 17.25, 18.225), # 45 (18.569684287392985, 18.951853086419753, 18.432282716049382, 22.046941203703703, 20.198040723246088, 11.25, 14.251468482207699, 15.20187777777778, 21.588146111111108, 13.553934650205761, 14.930956341189674, 17.226376954732512, 18.225), # 46 (18.579152931192063, 18.88999135802469, 18.41415061728395, 22.02934212962963, 20.202738598076163, 11.25, 14.207989687726945, 15.102688888888888, 21.570227222222226, 13.50963646090535, 14.919514365881032, 17.20220082304527, 18.225), # 47 (18.588185009232834, 18.827033333333333, 18.395633333333333, 22.0112875, 20.20721606783336, 11.25, 14.163766666666668, 15.0027, 21.551895000000002, 13.464702222222222, 14.907730303030302, 17.177511111111112, 18.225), # 48 (18.596779089026917, 18.763097530864197, 18.376760493827163, 21.99279953703704, 20.211472802126895, 11.25, 14.118884822076978, 14.902177777777778, 21.53317611111111, 13.419228724279836, 14.895614927048262, 17.152347325102884, 18.225), # 49 (18.604933738085908, 18.698302469135808, 18.357561728395066, 21.973900462962963, 20.21550847056597, 11.25, 14.073429557007989, 14.801388888888889, 21.514097222222222, 13.373312757201646, 14.883179012345678, 17.126748971193418, 18.225), # 50 (18.61264752392144, 18.63276666666667, 18.338066666666666, 21.9546125, 20.219322742759797, 11.25, 14.027486274509805, 14.7006, 21.494685000000004, 13.32705111111111, 14.870433333333335, 17.10075555555556, 18.225), # 51 (18.619919014045102, 18.56660864197531, 18.318304938271606, 21.934957870370372, 20.222915288317584, 11.25, 13.981140377632535, 14.600077777777777, 21.47496611111111, 13.280540576131688, 14.857388664421999, 17.074406584362144, 18.225), # 52 (18.626746775968517, 18.49994691358025, 18.29830617283951, 21.914958796296297, 20.226285776848552, 11.25, 13.93447726942629, 14.50008888888889, 21.454967222222226, 13.233877942386831, 14.844055780022448, 17.04774156378601, 18.225), # 53 (18.63312937720329, 18.432900000000004, 18.2781, 21.8946375, 20.229433877961906, 11.25, 13.887582352941177, 14.400899999999998, 21.434715, 13.18716, 14.830445454545453, 17.0208, 18.225), # 54 (18.63906538526104, 18.365586419753086, 18.25771604938272, 21.874016203703704, 20.232359261266843, 11.25, 13.840541031227307, 14.302777777777777, 21.414236111111112, 13.140483539094651, 14.816568462401795, 16.993621399176956, 18.225), # 55 (18.64455336765337, 18.298124691358026, 18.237183950617286, 21.85311712962963, 20.235061596372585, 11.25, 13.793438707334786, 14.20598888888889, 21.393557222222224, 13.09394534979424, 14.802435578002246, 16.96624526748971, 18.225), # 56 (18.649591891891887, 18.230633333333333, 18.216533333333334, 21.8319625, 20.23754055288834, 11.25, 13.746360784313726, 14.110800000000001, 21.372705, 13.047642222222223, 14.788057575757577, 16.93871111111111, 18.225), # 57 (18.654179525488225, 18.163230864197534, 18.195793827160493, 21.810574537037034, 20.239795800423316, 11.25, 13.699392665214235, 14.017477777777778, 21.35170611111111, 13.001670946502058, 14.773445230078567, 16.91105843621399, 18.225), # 58 (18.658314835953966, 18.096035802469135, 18.174995061728396, 21.788975462962963, 20.24182700858672, 11.25, 13.65261975308642, 13.92628888888889, 21.330587222222224, 12.956128312757203, 14.758609315375981, 16.883326748971193, 18.225), # 59 (18.661996390800738, 18.02916666666667, 18.154166666666665, 21.767187500000002, 20.243633846987766, 11.25, 13.606127450980392, 13.8375, 21.309375000000003, 12.911111111111111, 14.743560606060607, 16.855555555555558, 18.225), # 60 (18.665222757540146, 17.962741975308646, 18.13333827160494, 21.74523287037037, 20.24521598523566, 11.25, 13.560001161946259, 13.751377777777778, 21.288096111111113, 12.866716131687244, 14.728309876543209, 16.82778436213992, 18.225), # 61 (18.66799250368381, 17.89688024691358, 18.112539506172844, 21.7231337962963, 20.246573092939624, 11.25, 13.514326289034132, 13.66818888888889, 21.266777222222224, 12.823040164609054, 14.712867901234567, 16.80005267489712, 18.225), # 62 (18.670304196743327, 17.831699999999998, 18.0918, 21.7009125, 20.24770483970884, 11.25, 13.469188235294117, 13.5882, 21.245445, 12.78018, 14.697245454545456, 16.7724, 18.225), # 63 (18.672156404230314, 17.767319753086422, 18.071149382716047, 21.678591203703704, 20.24861089515255, 11.25, 13.424672403776325, 13.511677777777779, 21.22412611111111, 12.738232427983538, 14.681453310886642, 16.7448658436214, 18.225), # 64 (18.67354769365639, 17.703858024691357, 18.05061728395062, 21.65619212962963, 20.24929092887994, 11.25, 13.380864197530865, 13.438888888888888, 21.202847222222225, 12.697294238683126, 14.665502244668913, 16.717489711934153, 18.225), # 65 (18.674476632533153, 17.641433333333335, 18.030233333333335, 21.6337375, 20.249744610500233, 11.25, 13.337849019607843, 13.3701, 21.181635000000004, 12.657462222222222, 14.649403030303029, 16.690311111111114, 18.225), # 66 (18.674941788372227, 17.580164197530863, 18.010027160493827, 21.611249537037036, 20.249971609622634, 11.25, 13.29571227305737, 13.30557777777778, 21.16051611111111, 12.618833168724281, 14.633166442199778, 16.6633695473251, 18.225), # 67 (18.674624906065485, 17.519847550776582, 17.989930709876543, 21.588555132850242, 20.249780319535223, 11.24979122085048, 13.254327350693364, 13.245018930041153, 21.13935812757202, 12.5813167949649, 14.616514779372677, 16.636554039419536, 18.22477527006173), # 68 (18.671655072463768, 17.458641935483872, 17.969379166666666, 21.564510326086953, 20.248039215686273, 11.248140740740741, 13.212482726423904, 13.185177777777778, 21.11723611111111, 12.543851503267971, 14.597753110047847, 16.608994152046783, 18.222994791666668), # 69 (18.665794417606012, 17.39626642771804, 17.948283179012343, 21.538956823671498, 20.244598765432098, 11.244890260631001, 13.169988242210465, 13.125514403292183, 21.09402520576132, 12.506255144032922, 14.576667995746943, 16.580560970327056, 18.219478202160495), # 70 (18.657125389157272, 17.332758303464754, 17.92665015432099, 21.51193230676329, 20.239502541757446, 11.240092455418381, 13.12686298717018, 13.066048559670783, 21.06975997942387, 12.46852864681675, 14.553337267410951, 16.551275286982886, 18.21427179783951), # 71 (18.64573043478261, 17.268154838709677, 17.9044875, 21.48347445652174, 20.23279411764706, 11.2338, 13.083126050420168, 13.0068, 21.044475000000002, 12.43067294117647, 14.527838755980863, 16.52115789473684, 18.207421875), # 72 (18.631692002147076, 17.20249330943847, 17.88180262345679, 21.45362095410628, 20.224517066085692, 11.226065569272976, 13.038796521077565, 12.947788477366256, 21.01820483539095, 12.392688956669087, 14.50025029239766, 16.490229586311454, 18.198974729938275), # 73 (18.61509253891573, 17.1358109916368, 17.858602932098762, 21.42240948067633, 20.214714960058096, 11.216941838134431, 12.9938934882595, 12.889033744855967, 20.990984053497943, 12.354577622851611, 14.470649707602341, 16.45851115442928, 18.18897665895062), # 74 (18.59601449275362, 17.06814516129032, 17.83489583333333, 21.389877717391304, 20.203431372549023, 11.206481481481482, 12.9484360410831, 12.830555555555556, 20.96284722222222, 12.316339869281046, 14.439114832535884, 16.426023391812866, 18.177473958333334), # 75 (18.57454031132582, 16.99953309438471, 17.8106887345679, 21.35606334541063, 20.19070987654321, 11.19473717421125, 12.902443268665492, 12.772373662551441, 20.93382890946502, 12.277976625514404, 14.405723498139285, 16.392787091184747, 18.164512924382716), # 76 (18.55075244229737, 16.93001206690562, 17.785989043209874, 21.32100404589372, 20.176594045025414, 11.18176159122085, 12.855934260123803, 12.714507818930043, 20.90396368312757, 12.239488821108692, 14.370553535353537, 16.358823045267492, 18.150139853395064), # 77 (18.524733333333334, 16.859619354838713, 17.760804166666667, 21.2847375, 20.16112745098039, 11.167607407407406, 12.808928104575164, 12.65697777777778, 20.87328611111111, 12.200877385620915, 14.333682775119618, 16.324152046783627, 18.134401041666667), # 78 (18.496565432098766, 16.788392234169656, 17.735141512345677, 21.24730138888889, 20.144353667392885, 11.152327297668037, 12.761443891136702, 12.59980329218107, 20.84183076131687, 12.162143248608086, 14.29518904837852, 16.28879488845571, 18.117342785493825), # 79 (18.466331186258724, 16.71636798088411, 17.70900848765432, 21.208733393719807, 20.126316267247642, 11.135973936899862, 12.713500708925546, 12.543004115226339, 20.809632201646092, 12.123287339627208, 14.255150186071239, 16.252772363006283, 18.09901138117284), # 80 (18.434113043478263, 16.643583870967742, 17.682412499999998, 21.169071195652176, 20.10705882352941, 11.118599999999999, 12.665117647058823, 12.486600000000001, 20.776725, 12.084310588235295, 14.213644019138757, 16.216105263157896, 18.079453124999997), # 81 (18.399993451422436, 16.570077180406216, 17.655360956790126, 21.12835247584541, 20.086624909222948, 11.10025816186557, 12.616313794653665, 12.430610699588478, 20.743143724279836, 12.045213923989348, 14.170748378522063, 16.178814381633096, 18.058714313271608), # 82 (18.364054857756308, 16.495885185185184, 17.6278612654321, 21.086614915458934, 20.065058097313, 11.08100109739369, 12.567108240827196, 12.37505596707819, 20.70892294238683, 12.00599827644638, 14.12654109516215, 16.14092051115443, 18.036841242283952), # 83 (18.326379710144927, 16.421045161290323, 17.599920833333332, 21.043896195652174, 20.042401960784314, 11.060881481481482, 12.517520074696545, 12.319955555555556, 20.674097222222223, 11.9666645751634, 14.0811, 16.102444444444444, 18.013880208333333), # 84 (18.287050456253354, 16.345594384707287, 17.571547067901232, 21.000233997584544, 20.01870007262164, 11.039951989026063, 12.467568385378843, 12.265329218106997, 20.63870113168724, 11.92721374969741, 14.034502923976609, 16.06340697422569, 17.989877507716052), # 85 (18.246149543746643, 16.269570131421744, 17.54274737654321, 20.955666002415462, 19.99399600580973, 11.018265294924555, 12.417272261991217, 12.21119670781893, 20.60276923868313, 11.887646729605423, 13.986827698032961, 16.02382889322071, 17.964879436728395), # 86 (18.203759420289852, 16.193009677419354, 17.513529166666665, 20.910229891304347, 19.968333333333337, 10.995874074074074, 12.366650793650793, 12.157577777777778, 20.566336111111116, 11.847964444444443, 13.938152153110048, 15.983730994152046, 17.938932291666667), # 87 (18.159962533548043, 16.11595029868578, 17.483899845679012, 20.86396334541063, 19.941755628177198, 10.972831001371743, 12.315723069474704, 12.104492181069958, 20.52943631687243, 11.808167823771482, 13.888554120148857, 15.943134069742257, 17.912082368827164), # 88 (18.11484133118626, 16.03842927120669, 17.453866820987656, 20.81690404589372, 19.91430646332607, 10.94918875171468, 12.264508178580074, 12.051959670781894, 20.492104423868312, 11.76825779714355, 13.838111430090379, 15.902058912713883, 17.884375964506173), # 89 (18.068478260869565, 15.960483870967742, 17.423437500000002, 20.769089673913047, 19.886029411764707, 10.925, 12.213025210084034, 12.0, 20.454375000000002, 11.728235294117647, 13.786901913875598, 15.860526315789475, 17.855859375), # 90 (18.020955770263015, 15.8821513739546, 17.392619290123456, 20.720557910628024, 19.85696804647785, 10.900317421124829, 12.161293253103711, 11.9486329218107, 20.41628261316873, 11.688101244250786, 13.735003402445509, 15.818557071691574, 17.826578896604936), # 91 (17.97235630703167, 15.80346905615293, 17.361419598765433, 20.671346437198068, 19.827165940450254, 10.875193689986283, 12.109331396756236, 11.897878189300412, 20.377861831275723, 11.647856577099976, 13.682493726741095, 15.776171973142736, 17.796580825617283), # 92 (17.92276231884058, 15.724474193548389, 17.329845833333334, 20.621492934782612, 19.796666666666667, 10.84968148148148, 12.057158730158731, 11.847755555555556, 20.339147222222223, 11.607502222222221, 13.62945071770335, 15.733391812865497, 17.76591145833333), # 93 (17.872256253354806, 15.645204062126643, 17.29790540123457, 20.571035084541062, 19.765513798111837, 10.823833470507545, 12.00479434242833, 11.798284773662553, 20.300173353909464, 11.567039109174534, 13.575952206273259, 15.690237383582414, 17.734617091049383), # 94 (17.820920558239397, 15.56569593787336, 17.265605709876546, 20.52001056763285, 19.733750907770517, 10.797702331961592, 11.95225732268216, 11.749485596707821, 20.260974794238685, 11.526468167513919, 13.522076023391813, 15.646729478016026, 17.70274402006173), # 95 (17.76883768115942, 15.485987096774197, 17.23295416666667, 20.468457065217393, 19.701421568627453, 10.77134074074074, 11.899566760037347, 11.701377777777779, 20.221586111111108, 11.485790326797385, 13.4679, 15.602888888888891, 17.67033854166667), # 96 (17.716090069779927, 15.406114814814819, 17.199958179012345, 20.416412258454105, 19.668569353667394, 10.744801371742112, 11.846741743611025, 11.65398106995885, 20.182041872427984, 11.445006516581941, 13.413501967038808, 15.558736408923545, 17.637446952160495), # 97 (17.66276017176597, 15.326116367980884, 17.166625154320986, 20.363913828502415, 19.635237835875095, 10.718136899862827, 11.793801362520316, 11.607315226337448, 20.142376646090533, 11.404117666424595, 13.35895975544923, 15.514292830842535, 17.604115547839505), # 98 (17.608930434782607, 15.246029032258065, 17.1329625, 20.31099945652174, 19.601470588235298, 10.6914, 11.740764705882354, 11.5614, 20.102625, 11.363124705882353, 13.304351196172249, 15.469578947368422, 17.570390625), # 99 (17.5546833064949, 15.165890083632016, 17.09897762345679, 20.257706823671498, 19.567311183732752, 10.664643347050754, 11.687650862814262, 11.516255144032922, 20.062821502057616, 11.322028564512225, 13.249754120148857, 15.42461555122374, 17.536318479938274), # 100 (17.500101234567904, 15.085736798088412, 17.064677932098768, 20.204073611111113, 19.532803195352216, 10.637919615912208, 11.634478922433171, 11.471900411522633, 20.02300072016461, 11.280830171871218, 13.195246358320043, 15.379423435131034, 17.501945408950615), # 101 (17.44526666666667, 15.005606451612904, 17.030070833333333, 20.1501375, 19.497990196078433, 10.611281481481482, 11.58126797385621, 11.428355555555555, 19.98319722222222, 11.239530457516341, 13.140905741626794, 15.334023391812867, 17.467317708333336), # 102 (17.390262050456254, 14.92553632019116, 16.9951637345679, 20.095936171497584, 19.462915758896152, 10.584781618655693, 11.528037106200506, 11.385640329218107, 19.943445576131687, 11.1981303510046, 13.086810101010101, 15.28843621399177, 17.432481674382714), # 103 (17.335169833601718, 14.845563679808842, 16.959964043209876, 20.041507306763286, 19.427623456790123, 10.558472702331962, 11.474805408583187, 11.343774485596708, 19.90378034979424, 11.156630781893005, 13.03303726741095, 15.242682694390297, 17.397483603395063), # 104 (17.280072463768114, 14.765725806451613, 16.924479166666668, 19.98688858695652, 19.392156862745097, 10.532407407407408, 11.421591970121383, 11.302777777777779, 19.86423611111111, 11.115032679738563, 12.979665071770334, 15.196783625730996, 17.362369791666666), # 105 (17.225052388620504, 14.686059976105138, 16.888716512345678, 19.932117693236716, 19.356559549745825, 10.50663840877915, 11.36841587993222, 11.262669958847736, 19.82484742798354, 11.07333697409828, 12.92677134502924, 15.15075980073641, 17.327186535493826), # 106 (17.17019205582394, 14.606603464755079, 16.852683487654325, 19.877232306763286, 19.32087509077705, 10.48121838134431, 11.31529622713283, 11.223470781893006, 19.78564886831276, 11.03154459452917, 12.874433918128654, 15.104632012129088, 17.29198013117284), # 107 (17.11557391304348, 14.5273935483871, 16.8163875, 19.822270108695655, 19.28514705882353, 10.4562, 11.262252100840335, 11.185200000000002, 19.746675000000003, 10.989656470588237, 12.82273062200957, 15.05842105263158, 17.256796875000003), # 108 (17.061280407944178, 14.448467502986858, 16.779835956790127, 19.767268780193234, 19.249419026870008, 10.431635939643346, 11.209302590171871, 11.147877366255145, 19.707960390946504, 10.947673531832486, 12.771739287612972, 15.012147714966428, 17.221683063271605), # 109 (17.007393988191087, 14.369862604540026, 16.743036265432103, 19.71226600241546, 19.213734567901238, 10.407578875171467, 11.15646678424456, 11.111522633744855, 19.669539609053498, 10.90559670781893, 12.72153774587985, 14.965832791856185, 17.18668499228395), # 110 (16.953997101449275, 14.29161612903226, 16.705995833333336, 19.65729945652174, 19.178137254901962, 10.384081481481482, 11.103763772175537, 11.076155555555555, 19.631447222222224, 10.863426928104575, 12.672203827751195, 14.919497076023394, 17.151848958333336), # 111 (16.90117219538379, 14.213765352449222, 16.66872206790124, 19.602406823671497, 19.142670660856936, 10.361196433470509, 11.051212643081925, 11.041795884773663, 19.593717798353907, 10.821165122246429, 12.623815364167996, 14.873161360190599, 17.11722125771605), # 112 (16.84890760266548, 14.136477513814715, 16.631312090853726, 19.547700988485673, 19.10731622431267, 10.338965584586125, 10.998946734582185, 11.00853462380509, 19.556483060265517, 10.778948525902914, 12.57646303107516, 14.826947285707972, 17.0827990215178), # 113 (16.796665616220118, 14.060514930345965, 16.594282215038913, 19.493620958299207, 19.071708038219388, 10.317338295353823, 10.947632775139043, 10.976780267109216, 19.52031426428351, 10.73756730224301, 12.530239806803754, 14.781441909803354, 17.048295745488062), # 114 (16.744292825407193, 13.985904957629483, 16.55765447887317, 19.440152109327204, 19.035733820199482, 10.296258322497776, 10.89730737034481, 10.946524777701677, 19.485224961603823, 10.697085590378538, 12.485078120568769, 14.736667648605932, 17.013611936988678), # 115 (16.691723771827743, 13.912538906325063, 16.521357941970972, 19.38719907047953, 18.999339347490803, 10.275675979116777, 10.847888671550209, 10.917684563218188, 19.451126410610094, 10.657428045209185, 12.440890676288666, 14.692541755477222, 16.978693067560602), # 116 (16.63889299708279, 13.840308087092497, 16.485321663946774, 19.33466647066604, 18.9624703973312, 10.255541578309604, 10.799294830105955, 10.890176031294454, 19.417929869685967, 10.618519321634633, 12.39759017788191, 14.64898148377875, 16.943484608744804), # 117 (16.58573504277338, 13.769103810591583, 16.44947470441506, 19.2824589387966, 18.925072746958516, 10.235805433175049, 10.751443997362767, 10.863915589566174, 19.385546597215082, 10.580284074554568, 12.355089329266963, 14.60590408687203, 16.907932032082243), # 118 (16.532184450500534, 13.698817387482112, 16.413746122990304, 19.23048110378107, 18.887092173610597, 10.2164178568119, 10.70425432467136, 10.838819645669062, 19.353887851581078, 10.54264695886867, 12.31330083436229, 14.563226818118581, 16.87198080911388), # 119 (16.47817576186529, 13.629340128423884, 16.37806497928697, 19.17863759452931, 18.848474454525295, 10.197329162318939, 10.657643963382455, 10.814804607238818, 19.322864891167605, 10.50553262947663, 12.272137397086349, 14.520866930879935, 16.835576411380675), # 120 (16.423643518468683, 13.560563344076693, 16.342360332919537, 19.12683303995118, 18.809165366940455, 10.178489662794956, 10.611531064846766, 10.791786881911152, 19.2923889743583, 10.468865741278133, 12.23151172135761, 14.4787416785176, 16.79866431042359), # 121 (16.36852226191174, 13.49237834510033, 16.30656124350248, 19.07497206895654, 18.76911068809392, 10.159849671338735, 10.565833780415012, 10.769682877321769, 19.2623713595368, 10.43257094917286, 12.191336511094532, 14.436768314393102, 16.761189977783587), # 122 (16.312746533795494, 13.424676442154594, 16.270596770650265, 19.02295931045525, 18.728256195223544, 10.141359501049065, 10.52047026143791, 10.74840900110637, 19.232723305086758, 10.396572908060497, 12.151524470215579, 14.394864091867959, 16.72309888500163), # 123 (16.256250875720976, 13.357348945899277, 16.234395973977367, 18.970699393357176, 18.68654766556717, 10.12296946502473, 10.475358659266176, 10.727881660900668, 19.20335606939181, 10.36079627284073, 12.111988302639215, 14.352946264303695, 16.68433650361868), # 124 (16.198969829289226, 13.290287166994178, 16.197887913098263, 18.91809694657217, 18.643930876362642, 10.104629876364521, 10.43041712525053, 10.708017264340365, 19.174180910835588, 10.32516569841324, 12.072640712283903, 14.310932085061827, 16.644848305175692), # 125 (16.14083793610127, 13.22338241609909, 16.16100164762742, 18.8650565990101, 18.60035160484781, 10.086291048167222, 10.385563810741687, 10.688732219061166, 19.145109087801753, 10.289605839677717, 12.033394403068103, 14.268738807503881, 16.604579761213643), # 126 (16.08178973775815, 13.156526003873804, 16.123666237179307, 18.81148297958082, 18.555755628260517, 10.067903293531618, 10.34071686709037, 10.669942932698781, 19.116051858673934, 10.254041351533843, 11.994162078910282, 14.226283684991369, 16.56347634327348), # 127 (16.021759775860883, 13.089609240978122, 16.08581074136841, 18.7572807171942, 18.51008872383862, 10.0494169255565, 10.295794445647289, 10.651565812888913, 19.086920481835772, 10.218396888881303, 11.954856443728904, 14.183483970885819, 16.521483522896165), # 128 (15.960682592010507, 13.022523438071834, 16.047364219809193, 18.702354440760086, 18.46329666881996, 10.03078225734065, 10.250714697763163, 10.633517267267269, 19.057626215670915, 10.182597106619781, 11.915390201442428, 14.140256918548745, 16.478546771622668), # 129 (15.89849272780806, 12.955159905814739, 16.008255732116123, 18.646608779188355, 18.415325240442385, 10.011949601982854, 10.205395774788713, 10.61571370346955, 19.028080318563003, 10.146566659648963, 11.87567605596932, 14.096519781341675, 16.434611560993947), # 130 (15.83512472485457, 12.887409954866628, 15.968414337903685, 18.589948361388856, 18.36612021594374, 9.992869272581904, 10.159755828074656, 10.59807152913147, 18.998194048895677, 10.110230202868534, 11.835626711228041, 14.052189812626125, 16.38962336255096), # 131 (15.770513124751067, 12.8191648958873, 15.927769096786342, 18.532277816271456, 18.315627372561877, 9.973491582236585, 10.113713008971706, 10.580507151888732, 18.967878665052577, 10.073512391178177, 11.795154871137056, 14.007184265763614, 16.343527647834676), # 132 (15.704592469098595, 12.750316039536544, 15.88624906837857, 18.473501772746012, 18.263792487534637, 9.95376684404568, 10.06718546883058, 10.562936979377039, 18.93704542541735, 10.036337879477578, 11.754173239614829, 13.961420394115667, 16.296269888386057), # 133 (15.63729729949817, 12.68075469647416, 15.843783312294848, 18.413524859722386, 18.210561338099865, 9.933645371107978, 10.020091359002002, 10.545277419232098, 18.905605588373632, 9.998631322666423, 11.712594520579822, 13.914815451043799, 16.24779555574605), # 134 (15.568562157550836, 12.610372177359944, 15.800300888149636, 18.352251706110444, 18.15587970149542, 9.913077476522266, 9.972348830836681, 10.527444879089616, 18.873470412305064, 9.960317375644397, 11.670331417950496, 13.867286689909534, 16.198050121455637), # 135 (15.498321584857623, 12.539059792853687, 15.755730855557415, 18.28958694082003, 18.09969335495913, 9.892013473387332, 9.923876035685343, 10.509355766585298, 18.840551155595293, 9.92132069331118, 11.627296635645319, 13.818751364074394, 16.146979057055766), # 136 (15.426510123019561, 12.466708853615184, 15.710002274132659, 18.225435192761026, 18.04194807572886, 9.870403674801956, 9.8745911248987, 10.490926489354854, 18.80675907662796, 9.881565930566463, 11.583402877582751, 13.769126726899895, 16.094527834087398), # 137 (15.353062313637686, 12.393210670304235, 15.66304420348983, 18.159701090843274, 17.982589641042455, 9.848198393864935, 9.824412249827468, 10.472073455033982, 18.772005433786706, 9.840977742309924, 11.538562847681254, 13.718330031747561, 16.040641924091503), # 138 (15.277912698313022, 12.31845655358063, 15.614785703243411, 18.092289263976646, 17.921563828137746, 9.825347943675048, 9.773257561822367, 10.452713071258394, 18.73620148545517, 9.799480783441254, 11.492689249859293, 13.66627853197891, 15.985266798609034), # 139 (15.200995818646616, 12.242337814104165, 15.565155833007877, 18.023104341071, 17.858816414252605, 9.801802637331082, 9.721045212234115, 10.432761745663793, 18.699258490016998, 9.756999708860134, 11.445694788035329, 13.612889480955465, 15.928347929180966), # 140 (15.122246216239494, 12.164745762534638, 15.514083652397689, 17.952050951036195, 17.794293176624855, 9.777512787931828, 9.667693352413432, 10.412135885885887, 18.661087705855824, 9.713459173466253, 11.39749216612783, 13.558080132038745, 15.869830787348244), # 141 (15.041598432692682, 12.08557170953184, 15.461498221027327, 17.879033722782097, 17.727939892492355, 9.752428708576069, 9.613120133711027, 10.39075189956038, 18.621600391355297, 9.66878383215929, 11.347994088055255, 13.50176773859027, 15.80966084465184), # 142 (14.958987009607215, 12.004706965755565, 15.407328598511267, 17.803957285218555, 17.659702339092952, 9.726500712362592, 9.557243707477623, 10.368526194322978, 18.580707804899063, 9.622898339838935, 11.297113257736068, 13.443869553971561, 15.747783572632711), # 143 (14.874346488584132, 11.922042841865615, 15.35150384446397, 17.72672626725544, 17.58952629366449, 9.699679112390184, 9.499982225063938, 10.34537517780939, 18.53832120487076, 9.575727351404868, 11.244762379088732, 13.384302831544138, 15.684144442831826), # 144 (14.787611411224459, 11.837470648521778, 15.29395301849992, 17.64724529780261, 17.51735753344482, 9.671914221757634, 9.441253837820689, 10.321215257655316, 18.494351849654016, 9.527195521756779, 11.190854156031712, 13.322984824669524, 15.618688926790139), # 145 (14.69871631912923, 11.750881696383855, 15.23460518023359, 17.565419005769925, 17.443141835671785, 9.643156353563725, 9.380976697098594, 10.295962841496468, 18.448710997632492, 9.477227505794348, 11.135301292483467, 13.259832786709236, 15.551362496048613), # 146 (14.607595753899481, 11.662167296111635, 15.173389389279437, 17.481152020067245, 17.36682497758323, 9.613355820907245, 9.319068954248365, 10.269534336968547, 18.401309907189823, 9.425747958417263, 11.078016492362465, 13.194763971024798, 15.482110622148213), # 147 (14.51418425713624, 11.571218758364918, 15.11023470525195, 17.394348969604433, 17.28835273641701, 9.582462936886982, 9.255448760620729, 10.241846151707264, 18.352059836709653, 9.372681534525205, 11.018912459587169, 13.127695630977726, 15.410878776629895), # 148 (14.418416370440541, 11.477927393803494, 15.045070187765598, 17.304914483291345, 17.207670889410966, 9.550428014601719, 9.190034267566393, 10.21281469334832, 18.30087204457561, 9.317952889017864, 10.957901898076038, 13.058545019929545, 15.337612431034628), # 149 (14.320226635413416, 11.382184513087163, 14.97782489643485, 17.212753190037848, 17.124725213802947, 9.517201367150248, 9.122743626436081, 10.182356369527422, 18.247657789171353, 9.261486676794918, 10.894897511747537, 12.987229391241772, 15.262257056903364), # 150 (14.219549593655895, 11.283881426875716, 14.908427890874176, 17.117769718753795, 17.0394614868308, 9.48273330763135, 9.05349498858051, 10.150387587880278, 18.19232832888052, 9.20320755275606, 10.829812004520129, 12.91366599827593, 15.184758125777073), # 151 (14.116319786769019, 11.182909445828951, 14.836808230698063, 17.019868698349054, 16.951825485732364, 9.446974149143815, 8.982206505350396, 10.116824756042595, 18.134794922086748, 9.143040171800969, 10.762558080312278, 12.837772094393538, 15.105061109196717), # 152 (14.010471756353809, 11.079159880606662, 14.762894975520963, 16.91895475773348, 16.8617629877455, 9.409874204786428, 8.908796328096455, 10.081584281650072, 18.07496882717368, 9.080909188829333, 10.693048443042448, 12.759464932956115, 15.02311147870325), # 153 (13.901940044011312, 10.972524041868644, 14.686617184957365, 16.81493252581694, 16.769219770108045, 9.371383787657978, 8.83318260816941, 10.044582572338422, 18.01276130252496, 9.016739258740834, 10.6211957966291, 12.678661767325185, 14.938854705837642), # 154 (13.790659191342543, 10.86289324027469, 14.607903918621735, 16.707706631509282, 16.674141610057855, 9.331453210857248, 8.75528349691997, 10.005736035743345, 17.948083606524232, 8.950455036435159, 10.5469128449907, 12.595279850862267, 14.852236262140847), # 155 (13.676563739948545, 10.750158786484597, 14.526684236128547, 16.597181703720377, 16.576474284832766, 9.29003278748303, 8.67501714569886, 9.964961079500554, 17.88084699755513, 8.88198117681199, 10.470112292045709, 12.50923643692888, 14.763201619153833), # 156 (13.559588231430352, 10.634211991158162, 14.442887197092272, 16.483262371360087, 16.476163571670632, 9.247072830634105, 8.592301705856794, 9.922174111245749, 17.8109627340013, 8.811242334771014, 10.39070684171259, 12.420448778886547, 14.671696248417557), # 157 (13.43642570352943, 10.512815617390064, 14.352465517024239, 16.36158524697224, 16.368625990567796, 9.199844057370798, 8.505192097670143, 9.87443451422887, 17.732991764878374, 8.73605864932406, 10.306072354570096, 12.32567921554981, 14.573674546947622), # 158 (13.288116180561124, 10.37351757527906, 14.232128073125379, 16.207158885819215, 16.22734435760693, 9.132641366412786, 8.40278297409429, 9.804984358975888, 17.61556907019986, 8.644105789377742, 10.20135048411419, 12.206452542629595, 14.445769764456351), # 159 (13.112769770827757, 10.215174111373285, 14.0794577243206, 16.017439518735948, 16.04955623642423, 9.043814332885832, 8.284038747090811, 9.712078541149223, 17.455365409011574, 8.534170173353209, 10.075067115497172, 12.060903507998123, 14.285557096008445), # 160 (12.911799698254727, 10.038817562544844, 13.896084549438555, 15.79423050676211, 15.837107623707803, 8.934439034826566, 8.149826602812377, 9.596880959597605, 17.254493580598233, 8.407184747707687, 9.928334978279473, 11.890381444033627, 14.094673280674375), # 161 (12.686619186767443, 9.84548026566583, 13.683638627307893, 15.539335210937388, 15.591844516145768, 8.80559155027162, 8.001013727411657, 9.460555513169764, 17.015066384244545, 8.264082458898416, 9.762266802021516, 11.696235683114327, 13.874755057524599), # 162 (12.438641460291295, 9.636194557608343, 13.443750036757264, 15.254556992301481, 15.315612910426239, 8.65834795725763, 7.838467307041322, 9.304266100714425, 16.73919661923523, 8.105796253382625, 9.577975316283736, 11.479815557618458, 13.627439165629584), # 163 (12.16927974275169, 9.411992775244478, 13.178048856615318, 14.941699211894072, 15.01025880323734, 8.493784333821234, 7.663054527854039, 9.129176621080324, 16.428997084855002, 7.933259077617543, 9.376573250626553, 11.242470399924246, 13.35436234405979), # 164 (11.879947258074031, 9.173907255446338, 12.888165165710705, 14.602565230754854, 14.677628191267182, 8.312976757999055, 7.475642576002479, 8.936450973116184, 16.086580580388564, 7.747403878060404, 9.1591733346104, 10.985549542409915, 13.057161331885686), # 165 (11.572057230183715, 8.922970335086019, 12.57572904287207, 14.238958409923503, 14.319567071203886, 8.117001307827735, 7.277098637639315, 8.727253055670738, 15.714059905120632, 7.549163601168441, 8.926888297795703, 10.710402317453703, 12.737472868177733), # 166 (11.24702288300614, 8.660214351035616, 12.242370566928068, 13.852682110439718, 13.937921439735565, 7.906934061343905, 7.0682898989172145, 8.502746767592717, 15.31354785833592, 7.339471193398886, 8.680830869742888, 10.418378057433825, 12.396933692006392), # 167 (10.906257440466712, 8.386671640167231, 11.889719816707347, 13.445539693343184, 13.534537293550335, 7.683851096584198, 6.850083545988848, 8.264096007730847, 14.887157239319139, 7.11925960120897, 8.422113780012385, 10.11082609472852, 12.037180542442131), # 168 (10.551174126490828, 8.103374539352963, 11.519406871038555, 13.019334519673588, 13.111260629336316, 7.4488284915852505, 6.623346765006885, 8.012464674933861, 14.437000847355009, 6.889461771055926, 8.151849758164623, 9.78909576171601, 11.659850158555415), # 169 (10.18318616500389, 7.811355385464907, 11.133061808750343, 12.575869950470615, 12.66993744378162, 7.2029423243836925, 6.388946742123995, 7.749016668050485, 13.96519148172823, 6.6510106493969845, 7.871151533760029, 9.454536390774527, 11.2665792794167), # 170 (9.8037067799313, 7.511646515375161, 10.73231470867136, 12.116949346773964, 12.21241373357437, 6.947268673016157, 6.147750663492849, 7.47491588592945, 13.47384194172352, 6.404839182689379, 7.581131836359027, 9.108497314282296, 10.859004644096458), # 171 (9.414149195198457, 7.205280265955825, 10.318795649630257, 11.644376069623315, 11.740535495402677, 6.682883615519281, 5.900625715266118, 7.191326227419487, 12.965065026625595, 6.151880317390344, 7.282903395522049, 8.752327864617548, 10.438762991665145), # 172 (9.015926634730764, 6.893288974078996, 9.894134710455681, 11.159953480058356, 11.256148725954663, 6.410863229929695, 5.64843908359647, 6.899411591369322, 12.440973535719161, 5.893066999957107, 6.97757894080952, 8.387377374158506, 10.007491061193234), # 173 (8.610452322453618, 6.576704976616772, 9.459961969976282, 10.665484939118773, 10.76109942191844, 6.132283594284034, 5.3920579546365754, 6.600335876627689, 11.903680268288936, 5.629332176846904, 6.66627120178187, 8.014995175283403, 9.566825591751181), # 174 (8.19913948229242, 6.256560610441251, 9.017907507020714, 10.162773807844262, 10.257233579982124, 5.848220786618931, 5.132349514539104, 6.295262982043313, 11.35529802361963, 5.361608794516964, 6.3500929079995245, 7.636530600370466, 9.118403322409455), # 175 (7.783401338172574, 5.933888212424531, 8.569601400417621, 9.653623447274505, 9.746397196833835, 5.55975088497102, 4.870180949456727, 5.985356806464928, 10.797939600995955, 5.090829799424521, 6.0301567890229135, 7.253332981797922, 8.663860992238513), # 176 (7.364651114019479, 5.6097201194387125, 8.116673728995655, 9.13983721844919, 9.230436269161691, 5.267949967376934, 4.606419445542112, 5.671781248741259, 10.233717799702626, 4.817928138026804, 5.7075755744124645, 6.866751651944002, 8.204835340308824), # 177 (6.944302033758534, 5.285088668355891, 7.660754571583465, 8.623218482408008, 8.711196793653805, 4.973894111873309, 4.341932188947932, 5.355700207721038, 9.664745419024355, 4.54383675678105, 5.383461993728603, 6.478135943186929, 7.742963105690853), # 178 (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), # 179 ) passenger_arriving_acc = ( (11, 2, 10, 10, 2, 7, 5, 3, 1, 1, 1, 2, 0, 11, 5, 5, 9, 6, 7, 6, 1, 4, 3, 1, 1, 0), # 0 (22, 12, 24, 17, 8, 8, 10, 6, 4, 2, 1, 4, 0, 20, 11, 12, 18, 13, 11, 9, 1, 6, 5, 1, 5, 0), # 1 (29, 26, 33, 28, 17, 13, 15, 12, 11, 3, 2, 7, 0, 29, 18, 19, 25, 21, 18, 11, 3, 10, 12, 3, 6, 0), # 2 (44, 35, 37, 38, 26, 16, 20, 16, 12, 6, 2, 7, 0, 37, 29, 29, 32, 30, 24, 20, 6, 13, 15, 4, 6, 0), # 3 (57, 46, 45, 47, 35, 19, 27, 17, 17, 12, 2, 8, 0, 48, 38, 37, 36, 35, 30, 26, 8, 16, 17, 8, 6, 0), # 4 (66, 57, 56, 55, 44, 23, 33, 21, 22, 15, 3, 10, 0, 58, 51, 44, 44, 40, 36, 31, 12, 19, 22, 11, 8, 0), # 5 (77, 72, 64, 65, 56, 28, 39, 30, 28, 19, 4, 10, 0, 73, 65, 49, 54, 51, 40, 38, 14, 26, 25, 13, 8, 0), # 6 (86, 94, 69, 76, 67, 29, 40, 35, 35, 21, 5, 11, 0, 82, 78, 61, 60, 62, 50, 44, 16, 37, 31, 18, 9, 0), # 7 (105, 107, 82, 88, 76, 34, 43, 41, 44, 24, 5, 14, 0, 99, 91, 71, 69, 69, 54, 45, 20, 41, 36, 24, 11, 0), # 8 (114, 121, 97, 111, 88, 43, 51, 49, 52, 27, 8, 14, 0, 112, 100, 85, 76, 84, 62, 53, 22, 45, 43, 27, 14, 0), # 9 (121, 135, 107, 127, 102, 43, 55, 56, 61, 30, 9, 15, 0, 130, 111, 91, 84, 99, 74, 61, 24, 53, 50, 29, 14, 0), # 10 (134, 145, 125, 139, 121, 52, 57, 64, 74, 31, 12, 17, 0, 151, 130, 105, 88, 119, 86, 66, 30, 59, 55, 30, 16, 0), # 11 (142, 162, 140, 155, 133, 58, 60, 72, 77, 33, 12, 19, 0, 163, 143, 115, 96, 122, 95, 74, 34, 65, 60, 30, 18, 0), # 12 (166, 181, 151, 164, 138, 63, 69, 75, 81, 35, 13, 19, 0, 174, 154, 125, 105, 129, 106, 76, 37, 75, 65, 31, 21, 0), # 13 (177, 201, 163, 184, 151, 67, 74, 80, 83, 37, 17, 20, 0, 183, 182, 142, 116, 141, 115, 77, 40, 84, 72, 34, 23, 0), # 14 (197, 212, 180, 203, 174, 75, 78, 85, 89, 39, 20, 20, 0, 202, 197, 160, 126, 156, 125, 88, 45, 89, 78, 37, 25, 0), # 15 (211, 226, 192, 221, 186, 80, 86, 90, 95, 40, 21, 21, 0, 216, 212, 180, 132, 173, 127, 91, 52, 96, 87, 38, 25, 0), # 16 (225, 245, 209, 237, 201, 83, 96, 95, 99, 40, 26, 23, 0, 233, 231, 186, 148, 192, 135, 100, 56, 105, 90, 42, 27, 0), # 17 (249, 261, 227, 260, 218, 88, 102, 103, 107, 44, 30, 24, 0, 250, 249, 197, 160, 210, 142, 109, 63, 111, 94, 46, 28, 0), # 18 (270, 281, 235, 275, 236, 92, 112, 110, 113, 49, 31, 26, 0, 269, 263, 215, 172, 223, 149, 116, 67, 118, 101, 53, 28, 0), # 19 (288, 300, 253, 291, 248, 96, 115, 116, 114, 56, 33, 34, 0, 294, 279, 227, 186, 240, 153, 123, 71, 125, 106, 56, 29, 0), # 20 (306, 320, 263, 310, 265, 102, 123, 126, 122, 60, 33, 34, 0, 321, 291, 240, 199, 257, 163, 127, 75, 132, 114, 58, 30, 0), # 21 (323, 338, 278, 325, 279, 107, 133, 133, 131, 63, 37, 36, 0, 347, 306, 251, 208, 274, 169, 135, 78, 141, 119, 62, 31, 0), # 22 (342, 361, 292, 340, 291, 108, 141, 138, 136, 67, 39, 38, 0, 370, 323, 267, 222, 287, 181, 138, 82, 146, 123, 64, 32, 0), # 23 (359, 382, 309, 359, 308, 115, 150, 143, 145, 75, 41, 38, 0, 395, 346, 283, 235, 302, 193, 141, 87, 154, 126, 67, 33, 0), # 24 (374, 400, 325, 380, 321, 119, 157, 149, 151, 79, 41, 39, 0, 412, 364, 295, 247, 323, 206, 144, 92, 159, 130, 68, 36, 0), # 25 (395, 425, 338, 390, 334, 126, 166, 157, 158, 83, 43, 39, 0, 435, 377, 305, 260, 333, 220, 152, 99, 167, 135, 69, 37, 0), # 26 (413, 450, 357, 410, 345, 129, 170, 168, 169, 87, 44, 40, 0, 456, 396, 317, 274, 344, 233, 156, 103, 175, 138, 75, 40, 0), # 27 (431, 472, 371, 436, 358, 140, 178, 174, 174, 91, 45, 41, 0, 475, 411, 330, 283, 356, 240, 165, 106, 180, 144, 79, 41, 0), # 28 (456, 483, 398, 448, 374, 148, 187, 183, 183, 92, 46, 41, 0, 492, 424, 344, 291, 370, 246, 168, 108, 186, 152, 83, 42, 0), # 29 (476, 502, 412, 468, 385, 154, 196, 189, 194, 94, 49, 42, 0, 507, 437, 351, 302, 380, 258, 175, 111, 192, 162, 85, 43, 0), # 30 (491, 524, 430, 487, 398, 164, 206, 196, 199, 98, 51, 44, 0, 524, 458, 356, 316, 392, 267, 184, 118, 198, 167, 85, 44, 0), # 31 (516, 539, 448, 512, 404, 171, 213, 201, 203, 101, 57, 46, 0, 553, 473, 366, 328, 414, 274, 194, 122, 209, 169, 87, 45, 0), # 32 (524, 554, 458, 523, 413, 181, 217, 209, 208, 105, 57, 47, 0, 572, 487, 385, 343, 431, 279, 201, 125, 214, 180, 91, 47, 0), # 33 (540, 576, 472, 539, 426, 191, 220, 216, 217, 108, 58, 49, 0, 594, 499, 391, 357, 441, 287, 206, 128, 222, 187, 93, 49, 0), # 34 (553, 589, 485, 555, 440, 198, 226, 221, 230, 110, 60, 52, 0, 611, 517, 405, 371, 448, 292, 211, 133, 232, 191, 96, 51, 0), # 35 (571, 612, 498, 577, 457, 202, 234, 229, 240, 113, 62, 52, 0, 630, 528, 420, 378, 469, 301, 217, 137, 244, 195, 101, 52, 0), # 36 (595, 632, 514, 588, 467, 209, 241, 233, 246, 117, 65, 52, 0, 649, 543, 438, 387, 484, 311, 223, 139, 250, 201, 102, 53, 0), # 37 (611, 658, 536, 601, 485, 214, 246, 239, 251, 120, 67, 54, 0, 663, 555, 451, 398, 502, 320, 228, 143, 252, 209, 106, 53, 0), # 38 (624, 674, 558, 622, 493, 221, 257, 247, 258, 124, 68, 56, 0, 681, 567, 462, 406, 523, 332, 230, 147, 259, 212, 107, 54, 0), # 39 (643, 694, 570, 634, 504, 229, 264, 252, 265, 125, 72, 56, 0, 700, 583, 472, 415, 539, 343, 236, 157, 266, 217, 108, 54, 0), # 40 (662, 707, 582, 648, 516, 237, 273, 259, 270, 127, 73, 57, 0, 725, 598, 493, 423, 546, 347, 246, 166, 273, 225, 110, 54, 0), # 41 (674, 726, 587, 664, 529, 246, 279, 269, 276, 128, 75, 61, 0, 743, 612, 500, 432, 570, 353, 253, 171, 274, 228, 113, 55, 0), # 42 (688, 758, 595, 683, 541, 256, 284, 275, 279, 129, 76, 65, 0, 763, 628, 510, 442, 582, 357, 262, 177, 275, 230, 115, 56, 0), # 43 (707, 775, 618, 711, 556, 262, 292, 279, 282, 132, 80, 67, 0, 784, 637, 525, 445, 597, 364, 265, 183, 286, 236, 116, 59, 0), # 44 (718, 792, 633, 726, 566, 265, 295, 284, 290, 133, 81, 70, 0, 799, 652, 540, 455, 611, 374, 272, 187, 296, 241, 121, 63, 0), # 45 (736, 813, 646, 743, 581, 268, 302, 291, 298, 137, 82, 74, 0, 821, 667, 558, 462, 628, 383, 277, 190, 303, 249, 125, 67, 0), # 46 (748, 833, 656, 765, 598, 275, 312, 294, 310, 142, 84, 75, 0, 838, 685, 567, 472, 641, 400, 286, 192, 306, 255, 129, 68, 0), # 47 (766, 852, 676, 792, 611, 284, 317, 298, 317, 147, 85, 76, 0, 857, 706, 582, 484, 649, 411, 293, 197, 317, 260, 129, 71, 0), # 48 (784, 865, 689, 801, 620, 291, 326, 310, 324, 152, 87, 77, 0, 867, 725, 595, 496, 669, 420, 296, 200, 327, 261, 131, 73, 0), # 49 (804, 880, 701, 821, 631, 304, 329, 314, 329, 154, 88, 81, 0, 890, 738, 607, 507, 685, 429, 307, 209, 333, 266, 136, 73, 0), # 50 (818, 896, 711, 836, 641, 316, 336, 321, 333, 156, 90, 83, 0, 913, 757, 617, 522, 697, 443, 312, 212, 334, 270, 138, 73, 0), # 51 (840, 914, 727, 849, 648, 324, 343, 329, 340, 161, 92, 84, 0, 930, 771, 632, 529, 714, 454, 317, 216, 340, 273, 140, 77, 0), # 52 (853, 930, 741, 863, 658, 326, 349, 332, 346, 166, 93, 88, 0, 946, 784, 638, 536, 729, 462, 324, 221, 347, 277, 147, 78, 0), # 53 (874, 946, 756, 876, 673, 332, 351, 335, 351, 169, 94, 92, 0, 971, 799, 650, 547, 747, 473, 336, 226, 354, 280, 152, 80, 0), # 54 (893, 964, 770, 884, 682, 338, 361, 342, 357, 172, 102, 93, 0, 988, 811, 668, 554, 761, 482, 344, 230, 360, 285, 153, 82, 0), # 55 (919, 979, 785, 903, 694, 341, 368, 347, 364, 175, 106, 93, 0, 998, 824, 678, 566, 780, 490, 349, 235, 370, 293, 158, 84, 0), # 56 (936, 991, 798, 920, 710, 348, 376, 352, 374, 178, 107, 95, 0, 1014, 837, 689, 574, 794, 493, 353, 243, 372, 299, 161, 85, 0), # 57 (953, 1000, 810, 943, 720, 353, 382, 357, 381, 181, 107, 97, 0, 1041, 858, 704, 586, 807, 503, 357, 248, 375, 307, 164, 87, 0), # 58 (970, 1016, 825, 968, 738, 358, 391, 363, 393, 186, 109, 98, 0, 1063, 875, 717, 595, 815, 510, 364, 253, 379, 311, 166, 88, 0), # 59 (987, 1029, 837, 981, 753, 366, 398, 365, 400, 187, 112, 99, 0, 1072, 890, 737, 605, 830, 516, 371, 263, 386, 316, 168, 91, 0), # 60 (1006, 1049, 853, 1001, 765, 378, 403, 370, 408, 191, 113, 101, 0, 1088, 907, 748, 611, 843, 522, 387, 269, 391, 320, 171, 94, 0), # 61 (1021, 1069, 863, 1016, 783, 383, 415, 376, 416, 192, 116, 103, 0, 1107, 925, 756, 622, 858, 527, 389, 274, 396, 327, 174, 95, 0), # 62 (1031, 1082, 876, 1029, 801, 389, 422, 380, 423, 198, 118, 104, 0, 1130, 940, 769, 630, 874, 534, 393, 277, 399, 332, 176, 97, 0), # 63 (1055, 1097, 895, 1038, 809, 392, 427, 382, 428, 199, 120, 105, 0, 1141, 956, 792, 641, 884, 546, 399, 281, 403, 335, 178, 97, 0), # 64 (1075, 1116, 907, 1050, 821, 398, 432, 384, 440, 202, 122, 106, 0, 1158, 966, 804, 656, 900, 561, 402, 285, 411, 342, 180, 99, 0), # 65 (1097, 1130, 921, 1066, 837, 403, 435, 388, 449, 205, 123, 108, 0, 1182, 982, 821, 667, 910, 568, 409, 286, 419, 356, 184, 100, 0), # 66 (1114, 1148, 941, 1083, 852, 413, 444, 396, 454, 209, 125, 108, 0, 1197, 1004, 834, 683, 929, 573, 413, 289, 429, 359, 185, 102, 0), # 67 (1134, 1162, 952, 1103, 863, 417, 451, 402, 461, 211, 126, 110, 0, 1217, 1019, 854, 696, 945, 578, 420, 291, 438, 368, 190, 104, 0), # 68 (1157, 1189, 966, 1122, 885, 425, 453, 407, 464, 216, 128, 110, 0, 1231, 1034, 865, 705, 959, 582, 425, 295, 444, 371, 194, 106, 0), # 69 (1170, 1207, 982, 1139, 898, 432, 457, 413, 470, 218, 132, 110, 0, 1246, 1048, 878, 718, 974, 593, 434, 299, 452, 376, 197, 107, 0), # 70 (1182, 1237, 997, 1154, 913, 441, 467, 420, 477, 222, 135, 112, 0, 1271, 1067, 893, 730, 986, 599, 438, 306, 455, 381, 197, 108, 0), # 71 (1195, 1248, 1010, 1167, 922, 452, 475, 424, 482, 225, 136, 112, 0, 1295, 1078, 912, 736, 1002, 604, 443, 310, 465, 383, 202, 109, 0), # 72 (1211, 1268, 1022, 1183, 933, 461, 478, 431, 489, 228, 139, 113, 0, 1307, 1093, 928, 743, 1020, 609, 450, 316, 472, 391, 205, 111, 0), # 73 (1223, 1280, 1039, 1205, 939, 463, 486, 436, 494, 233, 140, 113, 0, 1318, 1103, 940, 759, 1029, 618, 452, 323, 481, 397, 208, 112, 0), # 74 (1245, 1296, 1057, 1217, 956, 472, 491, 441, 498, 235, 142, 113, 0, 1337, 1116, 949, 769, 1046, 631, 461, 325, 482, 398, 215, 115, 0), # 75 (1258, 1313, 1064, 1232, 971, 479, 497, 445, 500, 238, 144, 114, 0, 1352, 1129, 955, 780, 1062, 639, 464, 330, 492, 403, 218, 116, 0), # 76 (1274, 1326, 1078, 1242, 986, 488, 505, 449, 504, 240, 147, 115, 0, 1373, 1149, 965, 790, 1076, 650, 474, 336, 501, 410, 220, 116, 0), # 77 (1286, 1337, 1099, 1262, 999, 497, 508, 456, 508, 241, 149, 117, 0, 1387, 1168, 980, 796, 1088, 656, 479, 339, 507, 414, 223, 116, 0), # 78 (1299, 1350, 1111, 1280, 1012, 504, 514, 458, 515, 243, 152, 120, 0, 1409, 1183, 991, 800, 1104, 662, 482, 346, 515, 419, 227, 117, 0), # 79 (1323, 1360, 1129, 1298, 1025, 508, 523, 467, 518, 245, 153, 121, 0, 1430, 1207, 1003, 816, 1112, 667, 491, 349, 526, 426, 228, 117, 0), # 80 (1345, 1375, 1141, 1310, 1042, 515, 532, 471, 526, 249, 153, 121, 0, 1452, 1219, 1013, 824, 1126, 675, 503, 355, 532, 435, 233, 118, 0), # 81 (1367, 1393, 1154, 1331, 1049, 521, 538, 474, 535, 253, 153, 122, 0, 1466, 1236, 1024, 834, 1138, 683, 514, 359, 536, 443, 236, 121, 0), # 82 (1383, 1407, 1166, 1343, 1067, 530, 544, 479, 538, 256, 154, 122, 0, 1488, 1249, 1035, 846, 1157, 692, 519, 362, 543, 447, 240, 125, 0), # 83 (1398, 1414, 1179, 1361, 1079, 536, 551, 485, 542, 263, 156, 122, 0, 1507, 1267, 1046, 854, 1168, 696, 526, 368, 552, 449, 242, 126, 0), # 84 (1415, 1424, 1197, 1381, 1094, 539, 555, 491, 549, 266, 160, 123, 0, 1524, 1274, 1061, 861, 1185, 704, 530, 375, 560, 457, 246, 128, 0), # 85 (1442, 1445, 1203, 1394, 1103, 542, 566, 496, 558, 273, 162, 123, 0, 1535, 1292, 1074, 870, 1197, 709, 538, 379, 564, 463, 253, 128, 0), # 86 (1462, 1462, 1217, 1411, 1111, 554, 568, 502, 564, 275, 166, 126, 0, 1555, 1303, 1081, 883, 1219, 715, 543, 384, 574, 469, 253, 129, 0), # 87 (1486, 1473, 1226, 1430, 1127, 564, 570, 504, 571, 279, 171, 127, 0, 1570, 1314, 1093, 890, 1225, 719, 545, 391, 577, 472, 257, 129, 0), # 88 (1505, 1486, 1237, 1447, 1133, 569, 575, 511, 578, 285, 175, 127, 0, 1589, 1334, 1102, 902, 1241, 725, 549, 395, 585, 479, 260, 129, 0), # 89 (1516, 1508, 1249, 1462, 1148, 580, 579, 516, 584, 286, 179, 127, 0, 1607, 1347, 1109, 909, 1256, 732, 556, 396, 590, 487, 261, 130, 0), # 90 (1532, 1515, 1263, 1474, 1163, 585, 587, 517, 587, 290, 181, 127, 0, 1624, 1358, 1116, 922, 1273, 741, 565, 399, 600, 494, 266, 133, 0), # 91 (1541, 1529, 1270, 1490, 1170, 588, 596, 525, 597, 291, 181, 128, 0, 1644, 1372, 1129, 933, 1286, 753, 573, 407, 605, 498, 267, 135, 0), # 92 (1555, 1547, 1288, 1500, 1185, 592, 600, 533, 606, 293, 182, 130, 0, 1662, 1382, 1148, 939, 1303, 757, 577, 408, 614, 505, 268, 136, 0), # 93 (1577, 1563, 1298, 1518, 1198, 598, 606, 537, 610, 295, 183, 131, 0, 1676, 1394, 1161, 949, 1321, 762, 583, 416, 623, 511, 271, 137, 0), # 94 (1596, 1579, 1313, 1528, 1210, 604, 611, 545, 616, 301, 187, 133, 0, 1695, 1412, 1172, 960, 1331, 768, 586, 418, 630, 517, 278, 137, 0), # 95 (1610, 1595, 1330, 1538, 1220, 610, 615, 548, 622, 303, 190, 137, 0, 1710, 1425, 1182, 967, 1339, 777, 589, 424, 639, 523, 279, 137, 0), # 96 (1627, 1606, 1346, 1557, 1239, 620, 619, 553, 626, 309, 190, 139, 0, 1734, 1439, 1192, 978, 1353, 786, 594, 425, 653, 532, 282, 138, 0), # 97 (1650, 1612, 1362, 1562, 1249, 624, 627, 560, 634, 310, 192, 139, 0, 1764, 1456, 1208, 984, 1363, 791, 601, 428, 661, 541, 285, 140, 0), # 98 (1671, 1625, 1371, 1586, 1264, 628, 634, 567, 640, 311, 193, 140, 0, 1784, 1472, 1219, 991, 1377, 804, 603, 433, 671, 544, 287, 141, 0), # 99 (1693, 1634, 1383, 1603, 1280, 630, 638, 576, 645, 313, 196, 140, 0, 1804, 1488, 1231, 1002, 1386, 812, 611, 437, 676, 549, 291, 142, 0), # 100 (1711, 1648, 1396, 1616, 1291, 634, 652, 582, 650, 319, 198, 141, 0, 1824, 1508, 1241, 1015, 1396, 815, 616, 442, 687, 553, 295, 146, 0), # 101 (1730, 1659, 1412, 1634, 1301, 637, 659, 587, 659, 323, 200, 144, 0, 1846, 1518, 1251, 1022, 1407, 821, 622, 444, 688, 554, 297, 146, 0), # 102 (1740, 1671, 1429, 1648, 1313, 642, 662, 594, 667, 328, 202, 145, 0, 1867, 1532, 1265, 1027, 1416, 827, 623, 447, 693, 558, 302, 147, 0), # 103 (1766, 1680, 1443, 1663, 1323, 645, 667, 597, 675, 331, 203, 145, 0, 1880, 1549, 1278, 1034, 1426, 831, 632, 453, 699, 562, 303, 149, 0), # 104 (1789, 1695, 1448, 1678, 1331, 651, 672, 606, 683, 335, 205, 146, 0, 1897, 1561, 1291, 1037, 1436, 835, 635, 457, 704, 562, 307, 151, 0), # 105 (1810, 1710, 1462, 1692, 1339, 659, 678, 614, 689, 342, 205, 146, 0, 1916, 1578, 1301, 1049, 1443, 839, 642, 460, 713, 568, 308, 153, 0), # 106 (1822, 1721, 1474, 1708, 1343, 666, 685, 615, 694, 343, 206, 146, 0, 1933, 1587, 1314, 1060, 1457, 845, 649, 467, 721, 571, 312, 154, 0), # 107 (1835, 1738, 1486, 1718, 1350, 671, 692, 621, 699, 349, 210, 149, 0, 1947, 1605, 1321, 1067, 1467, 850, 654, 470, 731, 575, 315, 154, 0), # 108 (1854, 1749, 1500, 1745, 1365, 675, 701, 623, 707, 355, 210, 151, 0, 1966, 1614, 1333, 1077, 1479, 856, 663, 474, 737, 581, 321, 156, 0), # 109 (1871, 1759, 1518, 1758, 1378, 683, 708, 629, 714, 356, 214, 151, 0, 1983, 1625, 1345, 1084, 1487, 861, 672, 477, 745, 583, 325, 156, 0), # 110 (1883, 1769, 1538, 1771, 1387, 687, 716, 637, 720, 363, 216, 154, 0, 2003, 1644, 1357, 1092, 1501, 864, 676, 485, 750, 590, 329, 157, 0), # 111 (1898, 1779, 1551, 1788, 1402, 691, 725, 640, 731, 366, 219, 155, 0, 2025, 1655, 1365, 1102, 1509, 868, 680, 492, 753, 594, 332, 158, 0), # 112 (1908, 1797, 1569, 1799, 1418, 697, 728, 644, 737, 366, 222, 155, 0, 2038, 1664, 1377, 1111, 1521, 875, 682, 498, 755, 602, 334, 158, 0), # 113 (1924, 1813, 1584, 1809, 1428, 705, 739, 652, 741, 368, 222, 156, 0, 2061, 1676, 1384, 1121, 1533, 879, 687, 503, 762, 604, 336, 159, 0), # 114 (1944, 1822, 1597, 1828, 1439, 713, 742, 658, 748, 371, 225, 157, 0, 2077, 1693, 1390, 1124, 1548, 887, 691, 506, 766, 609, 338, 159, 0), # 115 (1968, 1838, 1611, 1840, 1452, 716, 754, 661, 750, 374, 225, 159, 0, 2088, 1704, 1404, 1129, 1565, 895, 697, 510, 773, 613, 339, 161, 0), # 116 (1978, 1851, 1630, 1853, 1466, 724, 759, 669, 752, 378, 226, 159, 0, 2114, 1716, 1412, 1137, 1577, 897, 702, 515, 782, 615, 344, 161, 0), # 117 (1990, 1864, 1642, 1868, 1483, 733, 767, 674, 754, 383, 227, 159, 0, 2126, 1729, 1420, 1145, 1592, 902, 703, 519, 787, 624, 345, 164, 0), # 118 (2005, 1876, 1655, 1880, 1491, 737, 773, 678, 762, 384, 229, 159, 0, 2137, 1745, 1433, 1159, 1603, 912, 708, 525, 794, 626, 347, 164, 0), # 119 (2026, 1890, 1668, 1897, 1503, 744, 782, 682, 768, 386, 231, 160, 0, 2152, 1753, 1444, 1169, 1611, 919, 719, 530, 797, 636, 350, 164, 0), # 120 (2043, 1901, 1679, 1913, 1516, 756, 788, 687, 774, 390, 234, 161, 0, 2174, 1768, 1453, 1172, 1626, 924, 728, 537, 803, 641, 355, 165, 0), # 121 (2054, 1912, 1688, 1927, 1526, 759, 797, 688, 781, 393, 234, 162, 0, 2197, 1780, 1461, 1184, 1639, 932, 733, 541, 809, 647, 356, 165, 0), # 122 (2066, 1927, 1709, 1942, 1543, 770, 799, 693, 786, 394, 234, 163, 0, 2211, 1793, 1467, 1193, 1651, 940, 740, 544, 812, 654, 356, 166, 0), # 123 (2082, 1939, 1723, 1955, 1551, 773, 806, 696, 791, 395, 236, 163, 0, 2231, 1807, 1479, 1198, 1664, 949, 747, 545, 822, 660, 361, 169, 0), # 124 (2099, 1952, 1734, 1967, 1567, 783, 813, 704, 798, 396, 236, 163, 0, 2256, 1816, 1493, 1207, 1682, 954, 752, 547, 826, 666, 364, 170, 0), # 125 (2113, 1962, 1743, 1976, 1577, 789, 818, 711, 805, 397, 238, 163, 0, 2274, 1827, 1506, 1212, 1697, 961, 756, 551, 832, 669, 365, 171, 0), # 126 (2123, 1971, 1757, 1989, 1592, 793, 820, 715, 811, 400, 238, 164, 0, 2290, 1833, 1517, 1218, 1712, 971, 764, 555, 838, 675, 367, 173, 0), # 127 (2138, 1987, 1768, 2002, 1608, 798, 821, 719, 815, 402, 240, 164, 0, 2307, 1852, 1524, 1221, 1717, 978, 770, 560, 846, 679, 368, 174, 0), # 128 (2159, 2003, 1778, 2018, 1625, 805, 827, 725, 821, 405, 243, 166, 0, 2330, 1860, 1534, 1230, 1727, 982, 780, 563, 853, 682, 370, 175, 0), # 129 (2177, 2012, 1791, 2031, 1634, 810, 832, 729, 828, 409, 245, 168, 0, 2345, 1875, 1549, 1239, 1737, 986, 787, 568, 861, 683, 372, 175, 0), # 130 (2197, 2027, 1804, 2046, 1643, 817, 835, 733, 832, 409, 250, 170, 0, 2356, 1886, 1565, 1246, 1752, 990, 791, 574, 864, 688, 373, 176, 0), # 131 (2212, 2037, 1815, 2064, 1654, 826, 842, 738, 835, 410, 253, 170, 0, 2369, 1902, 1574, 1254, 1761, 999, 794, 577, 867, 692, 374, 176, 0), # 132 (2226, 2042, 1827, 2075, 1667, 837, 848, 744, 839, 410, 254, 171, 0, 2386, 1919, 1582, 1261, 1777, 1004, 798, 578, 873, 701, 376, 179, 0), # 133 (2239, 2052, 1840, 2087, 1689, 842, 855, 748, 847, 413, 255, 173, 0, 2409, 1928, 1593, 1267, 1785, 1010, 800, 587, 877, 703, 377, 180, 0), # 134 (2250, 2065, 1852, 2095, 1696, 851, 861, 750, 856, 414, 257, 174, 0, 2425, 1942, 1606, 1272, 1797, 1013, 805, 588, 881, 707, 383, 180, 0), # 135 (2270, 2077, 1860, 2112, 1706, 857, 864, 753, 864, 418, 260, 175, 0, 2437, 1956, 1618, 1280, 1809, 1018, 813, 593, 884, 714, 385, 180, 0), # 136 (2284, 2082, 1872, 2124, 1720, 861, 873, 756, 870, 421, 263, 177, 0, 2452, 1967, 1629, 1288, 1825, 1026, 821, 599, 886, 719, 388, 180, 0), # 137 (2295, 2090, 1887, 2133, 1730, 864, 875, 759, 880, 421, 265, 179, 0, 2471, 1982, 1640, 1299, 1841, 1029, 826, 602, 896, 723, 390, 180, 0), # 138 (2306, 2100, 1898, 2146, 1739, 870, 879, 765, 890, 425, 265, 180, 0, 2487, 1995, 1649, 1302, 1852, 1031, 827, 605, 906, 729, 393, 180, 0), # 139 (2320, 2108, 1910, 2157, 1758, 878, 886, 773, 899, 428, 266, 182, 0, 2500, 2002, 1660, 1308, 1868, 1040, 832, 608, 911, 739, 397, 181, 0), # 140 (2333, 2120, 1917, 2170, 1767, 879, 890, 779, 908, 433, 267, 182, 0, 2517, 2014, 1663, 1318, 1875, 1044, 837, 612, 915, 741, 400, 182, 0), # 141 (2347, 2134, 1923, 2180, 1776, 884, 898, 785, 916, 434, 268, 183, 0, 2538, 2024, 1672, 1324, 1884, 1050, 841, 616, 923, 743, 406, 182, 0), # 142 (2368, 2148, 1944, 2196, 1786, 888, 904, 793, 921, 436, 271, 184, 0, 2554, 2029, 1683, 1326, 1899, 1057, 844, 619, 925, 746, 410, 183, 0), # 143 (2383, 2164, 1953, 2212, 1800, 895, 908, 799, 925, 438, 271, 184, 0, 2572, 2042, 1690, 1330, 1910, 1061, 848, 625, 930, 753, 410, 184, 0), # 144 (2397, 2174, 1961, 2229, 1824, 902, 913, 803, 932, 441, 271, 185, 0, 2589, 2056, 1700, 1337, 1924, 1072, 851, 627, 936, 758, 413, 184, 0), # 145 (2417, 2185, 1976, 2244, 1835, 907, 918, 806, 940, 445, 273, 187, 0, 2605, 2071, 1713, 1346, 1935, 1078, 857, 627, 941, 761, 417, 185, 0), # 146 (2442, 2196, 1985, 2256, 1846, 910, 924, 810, 949, 447, 278, 188, 0, 2626, 2086, 1722, 1350, 1940, 1082, 859, 630, 949, 763, 418, 185, 0), # 147 (2453, 2208, 2001, 2267, 1857, 913, 930, 813, 956, 449, 278, 189, 0, 2642, 2096, 1729, 1353, 1954, 1089, 863, 631, 957, 767, 421, 186, 0), # 148 (2462, 2219, 2011, 2285, 1869, 916, 941, 817, 962, 450, 280, 190, 0, 2657, 2112, 1737, 1362, 1970, 1099, 869, 631, 962, 772, 424, 186, 0), # 149 (2478, 2227, 2025, 2294, 1879, 920, 944, 820, 967, 452, 283, 192, 0, 2671, 2125, 1748, 1372, 1982, 1110, 876, 636, 971, 773, 426, 186, 0), # 150 (2489, 2239, 2034, 2301, 1888, 923, 949, 824, 975, 453, 283, 193, 0, 2686, 2137, 1754, 1376, 1997, 1112, 879, 642, 975, 776, 430, 187, 0), # 151 (2499, 2254, 2039, 2314, 1894, 927, 955, 827, 983, 454, 285, 195, 0, 2697, 2147, 1761, 1380, 2010, 1115, 881, 644, 979, 780, 432, 188, 0), # 152 (2509, 2261, 2052, 2324, 1909, 933, 961, 834, 988, 455, 286, 197, 0, 2706, 2158, 1773, 1385, 2020, 1116, 885, 648, 982, 783, 435, 189, 0), # 153 (2524, 2275, 2061, 2341, 1915, 942, 963, 842, 995, 457, 286, 197, 0, 2715, 2173, 1782, 1392, 2030, 1121, 889, 653, 989, 788, 437, 189, 0), # 154 (2534, 2286, 2070, 2356, 1921, 946, 966, 845, 998, 458, 286, 197, 0, 2735, 2186, 1790, 1401, 2043, 1125, 896, 655, 993, 792, 439, 189, 0), # 155 (2545, 2298, 2087, 2366, 1934, 949, 969, 849, 1003, 463, 289, 198, 0, 2748, 2194, 1798, 1411, 2050, 1131, 896, 657, 1003, 795, 443, 190, 0), # 156 (2551, 2308, 2104, 2375, 1942, 951, 972, 854, 1007, 465, 289, 200, 0, 2764, 2201, 1808, 1419, 2062, 1132, 902, 661, 1008, 799, 444, 190, 0), # 157 (2563, 2319, 2113, 2383, 1956, 957, 976, 859, 1018, 466, 290, 201, 0, 2775, 2213, 1819, 1423, 2072, 1136, 906, 661, 1018, 800, 445, 191, 0), # 158 (2579, 2324, 2128, 2396, 1965, 966, 981, 864, 1022, 471, 292, 201, 0, 2790, 2223, 1827, 1427, 2084, 1145, 912, 663, 1025, 803, 451, 191, 0), # 159 (2589, 2337, 2138, 2407, 1974, 971, 984, 868, 1034, 474, 293, 201, 0, 2802, 2233, 1839, 1432, 2093, 1153, 913, 670, 1028, 811, 456, 192, 0), # 160 (2598, 2344, 2146, 2419, 1985, 977, 988, 870, 1039, 475, 296, 201, 0, 2821, 2239, 1849, 1439, 2100, 1158, 913, 670, 1034, 815, 458, 192, 0), # 161 (2609, 2351, 2161, 2432, 1991, 979, 995, 880, 1048, 475, 297, 202, 0, 2836, 2251, 1854, 1444, 2113, 1173, 919, 675, 1038, 818, 460, 192, 0), # 162 (2621, 2364, 2175, 2444, 1999, 986, 998, 883, 1056, 478, 298, 204, 0, 2846, 2266, 1864, 1450, 2133, 1176, 922, 677, 1045, 821, 461, 192, 0), # 163 (2627, 2370, 2187, 2454, 2005, 992, 1002, 885, 1063, 479, 300, 205, 0, 2866, 2276, 1872, 1455, 2139, 1179, 927, 678, 1053, 824, 463, 193, 0), # 164 (2646, 2381, 2197, 2463, 2015, 998, 1008, 889, 1068, 482, 302, 206, 0, 2880, 2284, 1885, 1463, 2154, 1182, 930, 684, 1057, 828, 464, 193, 0), # 165 (2659, 2388, 2213, 2475, 2021, 1005, 1013, 891, 1072, 484, 306, 206, 0, 2887, 2290, 1891, 1466, 2167, 1189, 934, 689, 1061, 830, 465, 195, 0), # 166 (2675, 2397, 2223, 2485, 2029, 1012, 1015, 898, 1077, 488, 307, 207, 0, 2901, 2300, 1896, 1474, 2175, 1191, 938, 694, 1065, 840, 466, 195, 0), # 167 (2684, 2407, 2238, 2494, 2040, 1014, 1020, 902, 1083, 492, 308, 207, 0, 2915, 2307, 1899, 1479, 2186, 1193, 940, 697, 1075, 844, 466, 196, 0), # 168 (2696, 2414, 2249, 2505, 2055, 1019, 1021, 905, 1084, 492, 309, 207, 0, 2925, 2313, 1902, 1488, 2196, 1198, 947, 698, 1081, 846, 468, 197, 0), # 169 (2708, 2422, 2255, 2521, 2061, 1026, 1021, 907, 1087, 492, 309, 208, 0, 2939, 2325, 1905, 1493, 2202, 1202, 950, 703, 1084, 850, 469, 197, 0), # 170 (2719, 2430, 2263, 2527, 2074, 1029, 1023, 914, 1095, 495, 309, 209, 0, 2951, 2334, 1913, 1497, 2216, 1207, 953, 706, 1088, 852, 471, 197, 0), # 171 (2729, 2435, 2273, 2534, 2081, 1029, 1024, 919, 1099, 496, 309, 210, 0, 2963, 2343, 1918, 1502, 2223, 1211, 956, 710, 1094, 853, 472, 198, 0), # 172 (2735, 2444, 2284, 2542, 2090, 1034, 1027, 921, 1104, 498, 310, 210, 0, 2976, 2352, 1924, 1503, 2234, 1213, 958, 713, 1099, 855, 473, 198, 0), # 173 (2740, 2450, 2293, 2547, 2097, 1037, 1031, 925, 1109, 498, 312, 211, 0, 2988, 2360, 1931, 1504, 2240, 1218, 961, 715, 1101, 856, 474, 198, 0), # 174 (2748, 2454, 2301, 2561, 2101, 1042, 1035, 927, 1110, 500, 312, 212, 0, 2998, 2370, 1934, 1505, 2247, 1221, 965, 717, 1103, 862, 474, 200, 0), # 175 (2751, 2460, 2307, 2572, 2106, 1042, 1042, 929, 1114, 503, 317, 214, 0, 3001, 2381, 1941, 1508, 2254, 1225, 966, 721, 1108, 866, 475, 201, 0), # 176 (2756, 2469, 2312, 2577, 2111, 1049, 1045, 933, 1116, 503, 319, 216, 0, 3008, 2390, 1942, 1508, 2259, 1230, 969, 722, 1112, 868, 476, 201, 0), # 177 (2764, 2476, 2315, 2583, 2122, 1053, 1048, 935, 1118, 504, 320, 216, 0, 3019, 2396, 1945, 1509, 2264, 1231, 971, 722, 1113, 869, 476, 202, 0), # 178 (2764, 2476, 2315, 2583, 2122, 1053, 1048, 935, 1118, 504, 320, 216, 0, 3019, 2396, 1945, 1509, 2264, 1231, 971, 722, 1113, 869, 476, 202, 0), # 179 ) passenger_arriving_rate = ( (9.037558041069182, 9.116726123493724, 7.81692484441876, 8.389801494715634, 6.665622729131535, 3.295587678639206, 3.7314320538365235, 3.4898821297345672, 3.654059437300804, 1.781106756985067, 1.261579549165681, 0.7346872617459261, 0.0, 9.150984382641052, 8.081559879205185, 6.307897745828405, 5.3433202709552, 7.308118874601608, 4.885834981628395, 3.7314320538365235, 2.3539911990280045, 3.3328113645657673, 2.7966004982385453, 1.5633849688837522, 0.828793283953975, 0.0), # 0 (9.637788873635953, 9.718600145338852, 8.333019886995228, 8.943944741923431, 7.106988404969084, 3.5132827632446837, 3.9775220471373247, 3.7196352921792815, 3.8953471957997454, 1.8985413115247178, 1.3449288407868398, 0.7831824991221532, 0.0, 9.755624965391739, 8.615007490343684, 6.724644203934198, 5.695623934574153, 7.790694391599491, 5.207489409050994, 3.9775220471373247, 2.509487688031917, 3.553494202484542, 2.9813149139744777, 1.6666039773990458, 0.883509104121714, 0.0), # 1 (10.236101416163518, 10.318085531970116, 8.847063428321121, 9.495883401297473, 7.546755568499692, 3.7301093702380674, 4.222636657164634, 3.948468935928315, 4.135672084126529, 2.015511198759246, 1.4279469446328943, 0.8314848978079584, 0.0, 10.357856690777442, 9.14633387588754, 7.13973472316447, 6.046533596277737, 8.271344168253059, 5.527856510299641, 4.222636657164634, 2.6643638358843336, 3.773377784249846, 3.1652944670991583, 1.7694126856642243, 0.938007775633647, 0.0), # 2 (10.830164027663812, 10.912803828195138, 9.357016303979782, 10.0434281501683, 7.983194011202283, 3.9452076537143688, 4.46580327748316, 4.175475868120881, 4.374081096552656, 2.1315522142917818, 1.5103045235482149, 0.8794028527395692, 0.0, 10.955291051257605, 9.67343138013526, 7.551522617741075, 6.3946566428753435, 8.748162193105312, 5.845666215369232, 4.46580327748316, 2.818005466938835, 3.9915970056011414, 3.3478093833894342, 1.8714032607959565, 0.9920730752904672, 0.0), # 3 (11.417645067148767, 11.500376578821527, 9.860839349554556, 10.584389665866468, 8.41457352455579, 4.1577177677686015, 4.706049301657613, 4.399748895896186, 4.609621227349624, 2.246200153725456, 1.5916722403771728, 0.9267447588532147, 0.0, 11.54553953929167, 10.19419234738536, 7.958361201885864, 6.738600461176366, 9.219242454699248, 6.159648454254661, 4.706049301657613, 2.969798405549001, 4.207286762277895, 3.528129888622157, 1.9721678699109113, 1.0454887798928663, 0.0), # 4 (11.996212893630318, 12.07842532865692, 10.356493400628777, 11.11657862572253, 8.839163900039136, 4.366779866495776, 4.942402123252702, 4.620380826393444, 4.841339470788935, 2.3589908126633987, 1.67172075796414, 0.9733190110851223, 0.0, 12.126213647339089, 10.706509121936344, 8.358603789820698, 7.076972437990195, 9.68267894157787, 6.468533156950822, 4.942402123252702, 3.119128476068411, 4.419581950019568, 3.705526208574178, 2.071298680125756, 1.0980386662415385, 0.0), # 5 (12.5635358661204, 12.644571622508925, 10.8419392927858, 11.63780570706703, 9.255234929131252, 4.571534103990907, 5.173889135833137, 4.836464466751867, 5.068282821142089, 2.469459986708742, 1.750120739153485, 1.0189340043715214, 0.0, 12.694924867859292, 11.208274048086732, 8.750603695767424, 7.408379960126224, 10.136565642284179, 6.771050253452613, 5.173889135833137, 3.265381502850648, 4.627617464565626, 3.8792685690223445, 2.16838785855716, 1.1495065111371752, 0.0), # 6 (13.117282343630944, 13.196437005185167, 11.315137861608953, 12.145881587230525, 9.661056403311065, 4.771120634349007, 5.399537732963626, 5.047092624110664, 5.289498272680586, 2.5771434714646144, 1.8265428467895808, 1.0633981336486396, 0.0, 13.249284693311735, 11.697379470135033, 9.132714233947903, 7.7314304143938415, 10.578996545361171, 7.06592967375493, 5.399537732963626, 3.4079433102492906, 4.830528201655532, 4.048627195743509, 2.2630275723217905, 1.1996760913804698, 0.0), # 7 (13.655120685173882, 13.731643021493262, 11.774049942681595, 12.638616943543553, 10.054898114057503, 4.964679611665085, 5.618375308208878, 5.251358105609044, 5.504032819675924, 2.681577062534149, 1.9006577437167966, 1.1065197938527056, 0.0, 13.786904616155851, 12.171717732379758, 9.503288718583983, 8.044731187602444, 11.008065639351848, 7.351901347852662, 5.618375308208878, 3.5461997226179176, 5.027449057028751, 4.212872314514518, 2.3548099885363194, 1.248331183772115, 0.0), # 8 (14.174719249761154, 14.247811216240837, 12.216636371587056, 13.11382245333668, 10.43502985284949, 5.151351190034158, 5.829429255133608, 5.4483537183862225, 5.710933456399605, 2.782296555520474, 1.9721360927795035, 1.1481073799199473, 0.0, 14.305396128851092, 12.629181179119417, 9.860680463897518, 8.34688966656142, 11.42186691279921, 7.627695205740712, 5.829429255133608, 3.679536564310113, 5.217514926424745, 4.371274151112227, 2.4433272743174115, 1.2952555651128035, 0.0), # 9 (14.673746396404677, 14.7425631342355, 12.640857983908687, 13.569308793940438, 10.799721411165962, 5.330275523551238, 6.031726967302519, 5.637172269581408, 5.909247177123128, 2.878837746026722, 2.0406485568220725, 1.187969286786593, 0.0, 14.802370723856898, 13.06766215465252, 10.20324278411036, 8.636513238080164, 11.818494354246257, 7.892041177413972, 6.031726967302519, 3.8073396596794558, 5.399860705582981, 4.52310293131348, 2.5281715967817378, 1.3402330122032275, 0.0), # 10 (15.149870484116411, 15.213520320284891, 13.044675615229824, 14.002886642685386, 11.14724258048584, 5.500592766311337, 6.224295838280325, 5.816906566333811, 6.098020976117995, 2.970736429656024, 2.105865798688875, 1.2259139093888718, 0.0, 15.2754398936327, 13.485053003277587, 10.529328993444373, 8.912209288968072, 12.19604195223599, 8.143669192867335, 6.224295838280325, 3.9289948330795266, 5.57362129024292, 4.66762888089513, 2.6089351230459648, 1.3830473018440812, 0.0), # 11 (15.600759871908263, 15.6583043191966, 13.42605010113381, 14.412366676902078, 11.475863152288053, 5.6614430724094635, 6.406163261631731, 5.986649415782641, 6.276301847655707, 3.0575284020115086, 2.1674584812242808, 1.2617496426630104, 0.0, 15.722215130637963, 13.879246069293112, 10.837292406121403, 9.172585206034523, 12.552603695311413, 8.381309182095698, 6.406163261631731, 4.043887908863902, 5.737931576144026, 4.804122225634027, 2.6852100202267626, 1.4234822108360548, 0.0), # 12 (16.02408291879218, 16.074536675778273, 13.782942277203993, 14.795559573921057, 11.783852918051522, 5.8119665959406355, 6.576356630921451, 6.145493625067111, 6.443136786007759, 3.138749458696308, 2.225097267272661, 1.2952848815452382, 0.0, 16.140307927332124, 14.248133696997618, 11.125486336363304, 9.416248376088921, 12.886273572015519, 8.603691075093955, 6.576356630921451, 4.151404711386168, 5.891926459025761, 4.93185319130702, 2.756588455440799, 1.4613215159798432, 0.0), # 13 (16.41750798378009, 16.45983893483752, 14.113312979023721, 15.150276011072872, 12.069481669255186, 5.9513034909998614, 6.733903339714195, 6.292532001326435, 6.597572785445653, 3.2139353953135514, 2.2784528196783858, 1.3263280209717843, 0.0, 16.527329776174614, 14.589608230689624, 11.392264098391927, 9.641806185940652, 13.195145570891306, 8.80954480185701, 6.733903339714195, 4.250931064999901, 6.034740834627593, 5.050092003690958, 2.8226625958047444, 1.4963489940761385, 0.0), # 14 (16.77870342588394, 16.811832641181958, 14.415123042176313, 15.474326665688082, 12.33101919737797, 6.078593911682158, 6.877830781574663, 6.426857351699818, 6.738656840240891, 3.2826220074663714, 2.3271958012858263, 1.3546874558788757, 0.0, 16.880892169624886, 14.90156201466763, 11.63597900642913, 9.847866022399112, 13.477313680481782, 8.997600292379746, 6.877830781574663, 4.341852794058684, 6.165509598688985, 5.158108888562695, 2.883024608435263, 1.5283484219256327, 0.0), # 15 (17.10533760411564, 17.128139339619217, 14.686333302245139, 15.765522215097217, 12.566735293898798, 6.192978012082533, 7.007166350067579, 6.547562483326471, 6.865435944664972, 3.344345090757899, 2.370996874939354, 1.380171581202741, 0.0, 17.198606600142384, 15.181887393230149, 11.85498437469677, 10.033035272273695, 13.730871889329944, 9.16658747665706, 7.007166350067579, 4.423555722916095, 6.283367646949399, 5.255174071699074, 2.9372666604490276, 1.55710357632902, 0.0), # 16 (17.395078877487137, 17.406380574956913, 14.92490459481353, 16.021673336630855, 12.774899750296605, 6.2935959462960005, 7.12093743875764, 6.653740203345614, 6.976957092989391, 3.398640440791261, 2.40952670348334, 1.4025887918796085, 0.0, 17.47808456018655, 15.428476710675692, 12.047633517416699, 10.195921322373781, 13.953914185978782, 9.31523628468386, 7.12093743875764, 4.4954256759257145, 6.387449875148302, 5.340557778876952, 2.984980918962706, 1.5823982340869922, 0.0), # 17 (17.645595605010367, 17.644177892002652, 15.12879775546482, 16.24059070761953, 12.953782358050306, 6.379587868417579, 7.2181714412095666, 6.744483318896446, 7.072267279485658, 3.4450438531695924, 2.4424559497621527, 1.4217474828457075, 0.0, 17.716937542216822, 15.63922231130278, 12.212279748810763, 10.335131559508774, 14.144534558971316, 9.442276646455024, 7.2181714412095666, 4.556848477441128, 6.476891179025153, 5.413530235873177, 3.0257595510929645, 1.6040161720002415, 0.0), # 18 (17.85455614569726, 17.83915283556408, 15.29597361978237, 16.420085005393776, 13.10165290863884, 6.450093932542269, 7.297895750988055, 6.818884637118185, 7.150413498425267, 3.4830911234960236, 2.4694552766201636, 1.4374560490372645, 0.0, 17.912777038692653, 15.812016539409907, 12.347276383100818, 10.449273370488068, 14.300826996850533, 9.546438491965459, 7.297895750988055, 4.607209951815906, 6.55082645431942, 5.473361668464593, 3.059194723956474, 1.621741166869462, 0.0), # 19 (18.01962885855975, 17.988926950448786, 15.424393023349506, 16.55796690728418, 13.216781193541133, 6.504254292765094, 7.359137761657826, 6.876036965150038, 7.210442744079718, 3.5123180473736824, 2.490195346901745, 1.4495228853905089, 0.0, 18.063214542073485, 15.944751739295596, 12.450976734508725, 10.536954142121044, 14.420885488159437, 9.626451751210054, 7.359137761657826, 4.645895923403639, 6.608390596770566, 5.51932230242806, 3.084878604669901, 1.6353569954953444, 0.0), # 20 (18.13848210260976, 18.09112178146442, 15.51201680174958, 16.652047090621256, 13.297437004236105, 6.541209103181062, 7.400924866783583, 6.915033110131218, 7.251402010720512, 3.532260420405701, 2.5043468234512685, 1.4577563868416692, 0.0, 18.165861544818743, 16.03532025525836, 12.52173411725634, 10.5967812612171, 14.502804021441024, 9.681046354183705, 7.400924866783583, 4.672292216557902, 6.648718502118053, 5.550682363540419, 3.1024033603499164, 1.644647434678584, 0.0), # 21 (18.20878423685924, 18.143358873418588, 15.55680579056593, 16.70013623273558, 13.341890132202689, 6.560098517885186, 7.422284459930039, 6.934965879200936, 7.27233829261915, 3.54245403819521, 2.5115803691131027, 1.4619649483269737, 0.0, 18.218329539387888, 16.08161443159671, 12.557901845565512, 10.627362114585626, 14.5446765852383, 9.70895223088131, 7.422284459930039, 4.6857846556322755, 6.6709450661013445, 5.5667120775785275, 3.111361158113186, 1.649396261219872, 0.0), # 22 (18.23470805401675, 18.14954393004115, 15.562384773662554, 16.706156597222225, 13.353278467239116, 6.5625, 7.424823602033405, 6.937120370370371, 7.274955740740741, 3.543656522633746, 2.512487411148522, 1.4624846364883404, 0.0, 18.225, 16.08733100137174, 12.56243705574261, 10.630969567901236, 14.549911481481482, 9.71196851851852, 7.424823602033405, 4.6875, 6.676639233619558, 5.568718865740743, 3.1124769547325113, 1.6499585390946503, 0.0), # 23 (18.253822343461476, 18.145936111111112, 15.561472222222221, 16.705415625000004, 13.359729136337823, 6.5625, 7.42342843137255, 6.934125, 7.274604999999999, 3.5429177777777783, 2.5123873737373743, 1.462362962962963, 0.0, 18.225, 16.085992592592593, 12.561936868686871, 10.628753333333332, 14.549209999999999, 9.707775, 7.42342843137255, 4.6875, 6.679864568168911, 5.568471875000002, 3.1122944444444447, 1.649630555555556, 0.0), # 24 (18.272533014380844, 18.138824588477366, 15.559670781893006, 16.70394965277778, 13.366037934713404, 6.5625, 7.420679012345679, 6.928240740740742, 7.273912037037037, 3.541463477366256, 2.512189019827909, 1.4621227709190674, 0.0, 18.225, 16.08335048010974, 12.560945099139545, 10.624390432098766, 14.547824074074073, 9.69953703703704, 7.420679012345679, 4.6875, 6.683018967356702, 5.567983217592594, 3.1119341563786014, 1.6489840534979427, 0.0), # 25 (18.290838634286462, 18.128318004115226, 15.557005144032923, 16.70177534722222, 13.372204642105325, 6.5625, 7.416618046477849, 6.919578703703704, 7.27288574074074, 3.539317818930042, 2.511894145155257, 1.4617673525377233, 0.0, 18.225, 16.079440877914955, 12.559470725776283, 10.617953456790124, 14.54577148148148, 9.687410185185186, 7.416618046477849, 4.6875, 6.686102321052663, 5.567258449074075, 3.111401028806585, 1.648028909465021, 0.0), # 26 (18.308737770689945, 18.114524999999997, 15.553500000000001, 16.698909375, 13.378229038253057, 6.5625, 7.411288235294118, 6.908250000000002, 7.271535, 3.5365050000000005, 2.5115045454545455, 1.4613000000000003, 0.0, 18.225, 16.0743, 12.557522727272728, 10.609514999999998, 14.54307, 9.671550000000002, 7.411288235294118, 4.6875, 6.689114519126528, 5.566303125, 3.1107000000000005, 1.646775, 0.0), # 27 (18.3262289911029, 18.097554218106993, 15.549180041152265, 16.695368402777778, 13.384110902896083, 6.5625, 7.404732280319536, 6.894365740740742, 7.269868703703704, 3.533049218106997, 2.5110220164609056, 1.4607240054869688, 0.0, 18.225, 16.067964060356655, 12.555110082304529, 10.599147654320989, 14.539737407407408, 9.652112037037039, 7.404732280319536, 4.6875, 6.6920554514480415, 5.565122800925927, 3.1098360082304533, 1.6452322016460905, 0.0), # 28 (18.34331086303695, 18.077514300411522, 15.54406995884774, 16.69116909722222, 13.389850015773863, 6.5625, 7.396992883079159, 6.8780370370370365, 7.267895740740741, 3.5289746707818943, 2.510448353909465, 1.4600426611796984, 0.0, 18.225, 16.06046927297668, 12.552241769547326, 10.58692401234568, 14.535791481481482, 9.629251851851851, 7.396992883079159, 4.6875, 6.694925007886932, 5.563723032407409, 3.1088139917695483, 1.6434103909465023, 0.0), # 29 (18.359981954003697, 18.054513888888888, 15.538194444444445, 16.686328125000003, 13.395446156625884, 6.5625, 7.388112745098039, 6.859375, 7.265625, 3.5243055555555567, 2.509785353535354, 1.4592592592592593, 0.0, 18.225, 16.05185185185185, 12.548926767676768, 10.572916666666668, 14.53125, 9.603125, 7.388112745098039, 4.6875, 6.697723078312942, 5.562109375000001, 3.107638888888889, 1.6413194444444446, 0.0), # 30 (18.376240831514746, 18.028661625514406, 15.531578189300415, 16.680862152777777, 13.400899105191609, 6.5625, 7.378134567901236, 6.838490740740741, 7.26306537037037, 3.5190660699588485, 2.5090348110737, 1.458377091906722, 0.0, 18.225, 16.04214801097394, 12.5451740553685, 10.557198209876542, 14.52613074074074, 9.573887037037037, 7.378134567901236, 4.6875, 6.7004495525958045, 5.56028738425926, 3.106315637860083, 1.638969238683128, 0.0), # 31 (18.392086063081717, 18.000066152263376, 15.524245884773661, 16.674787847222223, 13.406208641210513, 6.5625, 7.3671010530137995, 6.815495370370372, 7.260225740740741, 3.5132804115226346, 2.5081985222596335, 1.4573994513031552, 0.0, 18.225, 16.031393964334704, 12.540992611298167, 10.539841234567902, 14.520451481481482, 9.541693518518521, 7.3671010530137995, 4.6875, 6.703104320605257, 5.558262615740742, 3.1048491769547324, 1.6363696502057616, 0.0), # 32 (18.407516216216216, 17.96883611111111, 15.516222222222224, 16.668121874999997, 13.411374544422076, 6.5625, 7.355054901960784, 6.790500000000001, 7.257115, 3.506972777777779, 2.507278282828283, 1.4563296296296298, 0.0, 18.225, 16.019625925925926, 12.536391414141413, 10.520918333333334, 14.51423, 9.5067, 7.355054901960784, 4.6875, 6.705687272211038, 5.5560406250000005, 3.103244444444445, 1.6335305555555555, 0.0), # 33 (18.422529858429858, 17.93508014403292, 15.507531893004115, 16.660880902777777, 13.41639659456576, 6.5625, 7.342038816267248, 6.7636157407407405, 7.253742037037037, 3.500167366255145, 2.5062758885147773, 1.4551709190672155, 0.0, 18.225, 16.006880109739367, 12.531379442573886, 10.500502098765432, 14.507484074074075, 9.469062037037038, 7.342038816267248, 4.6875, 6.70819829728288, 5.553626967592593, 3.1015063786008232, 1.6304618312757202, 0.0), # 34 (18.437125557234253, 17.898906893004114, 15.49819958847737, 16.65308159722222, 13.421274571381044, 6.5625, 7.328095497458243, 6.734953703703703, 7.250115740740741, 3.4928883744855974, 2.5051931350542462, 1.4539266117969825, 0.0, 18.225, 15.993192729766804, 12.52596567527123, 10.47866512345679, 14.500231481481482, 9.428935185185185, 7.328095497458243, 4.6875, 6.710637285690522, 5.551027199074074, 3.099639917695474, 1.627173353909465, 0.0), # 35 (18.45130188014101, 17.860424999999996, 15.488249999999999, 16.644740624999997, 13.426008254607403, 6.5625, 7.313267647058823, 6.704625000000001, 7.246244999999999, 3.485160000000001, 2.504031818181818, 1.4526000000000006, 0.0, 18.225, 15.978600000000004, 12.520159090909091, 10.45548, 14.492489999999998, 9.386475, 7.313267647058823, 4.6875, 6.7130041273037016, 5.548246875, 3.0976500000000002, 1.623675, 0.0), # 36 (18.46505739466174, 17.819743106995883, 15.477707818930043, 16.63587465277778, 13.430597423984304, 6.5625, 7.2975979665940445, 6.672740740740741, 7.242138703703703, 3.477006440329219, 2.502793733632623, 1.451194375857339, 0.0, 18.225, 15.963138134430727, 12.513968668163116, 10.431019320987655, 14.484277407407406, 9.341837037037038, 7.2975979665940445, 4.6875, 6.715298711992152, 5.545291550925927, 3.0955415637860084, 1.619976646090535, 0.0), # 37 (18.47839066830806, 17.776969855967078, 15.466597736625513, 16.626500347222226, 13.435041859251228, 6.5625, 7.281129157588961, 6.639412037037038, 7.237805740740741, 3.4684518930041164, 2.5014806771417883, 1.4497130315500688, 0.0, 18.225, 15.946843347050754, 12.507403385708942, 10.405355679012347, 14.475611481481481, 9.295176851851854, 7.281129157588961, 4.6875, 6.717520929625614, 5.542166782407409, 3.0933195473251027, 1.61608816872428, 0.0), # 38 (18.491300268591576, 17.732213888888886, 15.454944444444445, 16.616634375, 13.439341340147644, 6.5625, 7.2639039215686285, 6.60475, 7.233255000000001, 3.4595205555555566, 2.500094444444445, 1.4481592592592594, 0.0, 18.225, 15.92975185185185, 12.500472222222223, 10.378561666666666, 14.466510000000001, 9.24665, 7.2639039215686285, 4.6875, 6.719670670073822, 5.538878125000001, 3.0909888888888895, 1.6120194444444444, 0.0), # 39 (18.503784763023894, 17.685583847736623, 15.442772633744857, 16.60629340277778, 13.443495646413021, 6.5625, 7.245964960058098, 6.568865740740742, 7.228495370370371, 3.4502366255144046, 2.49863683127572, 1.4465363511659812, 0.0, 18.225, 15.911899862825791, 12.4931841563786, 10.350709876543212, 14.456990740740743, 9.196412037037039, 7.245964960058098, 4.6875, 6.721747823206511, 5.535431134259261, 3.0885545267489714, 1.6077803497942387, 0.0), # 40 (18.51584271911663, 17.637188374485596, 15.430106995884776, 16.595494097222222, 13.447504557786843, 6.5625, 7.2273549745824255, 6.531870370370371, 7.22353574074074, 3.4406243004115233, 2.4971096333707448, 1.4448475994513033, 0.0, 18.225, 15.893323593964332, 12.485548166853723, 10.321872901234567, 14.44707148148148, 9.14461851851852, 7.2273549745824255, 4.6875, 6.723752278893421, 5.531831365740742, 3.0860213991769556, 1.6033807613168727, 0.0), # 41 (18.527472704381402, 17.587136111111114, 15.416972222222224, 16.584253125000004, 13.45136785400857, 6.5625, 7.208116666666666, 6.493875, 7.218385000000001, 3.4307077777777786, 2.4955146464646467, 1.4430962962962963, 0.0, 18.225, 15.874059259259258, 12.477573232323234, 10.292123333333333, 14.436770000000003, 9.091425000000001, 7.208116666666666, 4.6875, 6.725683927004285, 5.5280843750000015, 3.083394444444445, 1.598830555555556, 0.0), # 42 (18.538673286329807, 17.53553569958848, 15.403393004115227, 16.57258715277778, 13.455085314817683, 6.5625, 7.188292737835875, 6.454990740740741, 7.213052037037036, 3.420511255144034, 2.4938536662925554, 1.4412857338820306, 0.0, 18.225, 15.854143072702334, 12.469268331462775, 10.2615337654321, 14.426104074074072, 9.036987037037038, 7.188292737835875, 4.6875, 6.727542657408842, 5.524195717592594, 3.080678600823046, 1.5941396090534983, 0.0), # 43 (18.54944303247347, 17.482495781893004, 15.389394032921814, 16.560512847222224, 13.458656719953654, 6.5625, 7.1679258896151055, 6.415328703703706, 7.2075457407407395, 3.4100589300411532, 2.4921284885895996, 1.439419204389575, 0.0, 18.225, 15.833611248285322, 12.460642442947998, 10.230176790123457, 14.415091481481479, 8.981460185185188, 7.1679258896151055, 4.6875, 6.729328359976827, 5.520170949074076, 3.077878806584363, 1.5893177983539097, 0.0), # 44 (18.55978051032399, 17.428124999999998, 15.375, 16.548046875, 13.462081849155954, 6.5625, 7.147058823529412, 6.375000000000001, 7.201874999999999, 3.3993750000000014, 2.4903409090909094, 1.4375000000000002, 0.0, 18.225, 15.8125, 12.451704545454545, 10.198125000000001, 14.403749999999999, 8.925, 7.147058823529412, 4.6875, 6.731040924577977, 5.516015625000001, 3.075, 1.584375, 0.0), # 45 (18.569684287392985, 17.372531995884774, 15.360235596707819, 16.535205902777776, 13.465360482164058, 6.5625, 7.125734241103849, 6.334115740740741, 7.196048703703703, 3.388483662551441, 2.4884927235316128, 1.4355314128943761, 0.0, 18.225, 15.790845541838134, 12.442463617658062, 10.16545098765432, 14.392097407407405, 8.86776203703704, 7.125734241103849, 4.6875, 6.732680241082029, 5.511735300925927, 3.072047119341564, 1.5793210905349795, 0.0), # 46 (18.579152931192063, 17.31582541152263, 15.345125514403293, 16.522006597222223, 13.46849239871744, 6.5625, 7.103994843863473, 6.292787037037037, 7.190075740740742, 3.3774091152263384, 2.486585727646839, 1.4335167352537728, 0.0, 18.225, 15.768684087791497, 12.432928638234193, 10.132227345679013, 14.380151481481484, 8.809901851851851, 7.103994843863473, 4.6875, 6.73424619935872, 5.507335532407408, 3.069025102880659, 1.5741659465020577, 0.0), # 47 (18.588185009232834, 17.258113888888886, 15.329694444444444, 16.508465625, 13.471477378555573, 6.5625, 7.081883333333334, 6.251125000000001, 7.183965000000001, 3.3661755555555564, 2.4846217171717173, 1.4314592592592594, 0.0, 18.225, 15.746051851851853, 12.423108585858586, 10.098526666666666, 14.367930000000001, 8.751575, 7.081883333333334, 4.6875, 6.735738689277786, 5.502821875000001, 3.065938888888889, 1.5689194444444445, 0.0), # 48 (18.596779089026917, 17.199506069958847, 15.313967078189304, 16.49459965277778, 13.47431520141793, 6.5625, 7.059442411038489, 6.209240740740741, 7.17772537037037, 3.35480718106996, 2.4826024878413775, 1.4293622770919072, 0.0, 18.225, 15.722985048010976, 12.413012439206886, 10.064421543209878, 14.35545074074074, 8.692937037037037, 7.059442411038489, 4.6875, 6.737157600708965, 5.498199884259261, 3.0627934156378607, 1.5635914609053498, 0.0), # 49 (18.604933738085908, 17.140110596707824, 15.297968106995889, 16.480425347222223, 13.477005647043978, 6.5625, 7.0367147785039945, 6.16724537037037, 7.1713657407407405, 3.3433281893004123, 2.480529835390947, 1.427229080932785, 0.0, 18.225, 15.699519890260632, 12.402649176954732, 10.029984567901234, 14.342731481481481, 8.634143518518519, 7.0367147785039945, 4.6875, 6.738502823521989, 5.4934751157407415, 3.059593621399178, 1.5581918724279842, 0.0), # 50 (18.61264752392144, 17.080036111111113, 15.281722222222223, 16.465959375, 13.479548495173198, 6.5625, 7.013743137254902, 6.12525, 7.164895000000001, 3.3317627777777785, 2.478405555555556, 1.4250629629629634, 0.0, 18.225, 15.675692592592595, 12.392027777777779, 9.995288333333333, 14.329790000000003, 8.57535, 7.013743137254902, 4.6875, 6.739774247586599, 5.488653125000001, 3.0563444444444445, 1.552730555555556, 0.0), # 51 (18.619919014045102, 17.019391255144033, 15.26525411522634, 16.45121840277778, 13.481943525545056, 6.5625, 6.9905701888162675, 6.08336574074074, 7.158322037037037, 3.320135144032923, 2.4762314440703332, 1.4228672153635122, 0.0, 18.225, 15.651539368998632, 12.381157220351666, 9.960405432098767, 14.316644074074073, 8.516712037037037, 6.9905701888162675, 4.6875, 6.740971762772528, 5.483739467592594, 3.0530508230452678, 1.547217386831276, 0.0), # 52 (18.626746775968517, 16.958284670781893, 15.248588477366258, 16.43621909722222, 13.484190517899034, 6.5625, 6.967238634713145, 6.041703703703704, 7.1516557407407415, 3.3084694855967087, 2.4740092966704084, 1.4206451303155008, 0.0, 18.225, 15.627096433470507, 12.37004648335204, 9.925408456790123, 14.303311481481483, 8.458385185185186, 6.967238634713145, 4.6875, 6.742095258949517, 5.478739699074075, 3.049717695473252, 1.5416622427983542, 0.0), # 53 (18.63312937720329, 16.896825000000003, 15.23175, 16.420978125, 13.486289251974604, 6.5625, 6.943791176470588, 6.000374999999999, 7.144905, 3.296790000000001, 2.4717409090909093, 1.4184000000000003, 0.0, 18.225, 15.602400000000001, 12.358704545454545, 9.89037, 14.28981, 8.400525, 6.943791176470588, 4.6875, 6.743144625987302, 5.473659375000001, 3.04635, 1.5360750000000005, 0.0), # 54 (18.63906538526104, 16.835120884773662, 15.2147633744856, 16.405512152777778, 13.488239507511228, 6.5625, 6.9202705156136535, 5.9594907407407405, 7.1380787037037035, 3.2851208847736637, 2.4694280770669663, 1.4161351165980798, 0.0, 18.225, 15.577486282578874, 12.34714038533483, 9.855362654320988, 14.276157407407407, 8.343287037037037, 6.9202705156136535, 4.6875, 6.744119753755614, 5.468504050925927, 3.04295267489712, 1.530465534979424, 0.0), # 55 (18.64455336765337, 16.77328096707819, 15.197653292181073, 16.389837847222225, 13.49004106424839, 6.5625, 6.896719353667393, 5.9191620370370375, 7.131185740740741, 3.2734863374485608, 2.467072596333708, 1.4138537722908093, 0.0, 18.225, 15.5523914951989, 12.335362981668538, 9.82045901234568, 14.262371481481482, 8.286826851851853, 6.896719353667393, 4.6875, 6.745020532124195, 5.463279282407409, 3.0395306584362145, 1.5248437242798356, 0.0), # 56 (18.649591891891887, 16.711413888888888, 15.180444444444445, 16.373971875, 13.49169370192556, 6.5625, 6.873180392156863, 5.879500000000001, 7.124235, 3.2619105555555565, 2.4646762626262633, 1.4115592592592594, 0.0, 18.225, 15.527151851851851, 12.323381313131314, 9.785731666666667, 14.24847, 8.231300000000001, 6.873180392156863, 4.6875, 6.74584685096278, 5.457990625000001, 3.0360888888888895, 1.5192194444444447, 0.0), # 57 (18.654179525488225, 16.64962829218107, 15.163161522633745, 16.357930902777774, 13.49319720028221, 6.5625, 6.849696332607118, 5.840615740740741, 7.11723537037037, 3.2504177366255154, 2.4622408716797612, 1.4092548696844995, 0.0, 18.225, 15.501803566529492, 12.311204358398806, 9.751253209876543, 14.23447074074074, 8.176862037037038, 6.849696332607118, 4.6875, 6.746598600141105, 5.4526436342592595, 3.032632304526749, 1.5136025720164612, 0.0), # 58 (18.658314835953966, 16.58803281893004, 15.145829218106996, 16.34173159722222, 13.494551339057814, 6.5625, 6.82630987654321, 5.802620370370371, 7.110195740740741, 3.2390320781893016, 2.4597682192293306, 1.4069438957475995, 0.0, 18.225, 15.476382853223592, 12.298841096146651, 9.717096234567903, 14.220391481481482, 8.12366851851852, 6.82630987654321, 4.6875, 6.747275669528907, 5.447243865740742, 3.0291658436213997, 1.5080029835390947, 0.0), # 59 (18.661996390800738, 16.526736111111113, 15.128472222222221, 16.325390625, 13.495755897991843, 6.5625, 6.803063725490196, 5.765625, 7.103125, 3.2277777777777787, 2.4572601010101014, 1.40462962962963, 0.0, 18.225, 15.450925925925928, 12.286300505050505, 9.683333333333334, 14.20625, 8.071875, 6.803063725490196, 4.6875, 6.747877948995922, 5.441796875000001, 3.0256944444444445, 1.502430555555556, 0.0), # 60 (18.665222757540146, 16.465846810699592, 15.111115226337452, 16.308924652777776, 13.496810656823772, 6.5625, 6.780000580973129, 5.729740740740741, 7.0960320370370376, 3.216679032921812, 2.4547183127572016, 1.40231536351166, 0.0, 18.225, 15.425468998628258, 12.273591563786008, 9.650037098765434, 14.192064074074075, 8.021637037037038, 6.780000580973129, 4.6875, 6.748405328411886, 5.436308217592593, 3.0222230452674905, 1.496895164609054, 0.0), # 61 (18.66799250368381, 16.40547355967078, 15.093782921810703, 16.292350347222225, 13.497715395293081, 6.5625, 6.757163144517066, 5.695078703703705, 7.088925740740741, 3.2057600411522644, 2.4521446502057613, 1.4000043895747603, 0.0, 18.225, 15.40004828532236, 12.260723251028807, 9.61728012345679, 14.177851481481483, 7.973110185185186, 6.757163144517066, 4.6875, 6.748857697646541, 5.430783449074076, 3.018756584362141, 1.4914066872427985, 0.0), # 62 (18.670304196743327, 16.345724999999998, 15.0765, 16.275684375, 13.498469893139227, 6.5625, 6.734594117647059, 5.6617500000000005, 7.081815, 3.195045000000001, 2.4495409090909095, 1.3977000000000002, 0.0, 18.225, 15.3747, 12.247704545454548, 9.585135, 14.16363, 7.926450000000001, 6.734594117647059, 4.6875, 6.749234946569613, 5.425228125000001, 3.0153000000000003, 1.485975, 0.0), # 63 (18.672156404230314, 16.286709773662555, 15.059291152263373, 16.258943402777778, 13.499073930101698, 6.5625, 6.712336201888163, 5.629865740740741, 7.0747087037037035, 3.1845581069958855, 2.446908885147774, 1.3954054869684502, 0.0, 18.225, 15.34946035665295, 12.23454442573887, 9.553674320987653, 14.149417407407407, 7.881812037037038, 6.712336201888163, 4.6875, 6.749536965050849, 5.419647800925927, 3.011858230452675, 1.4806099794238687, 0.0), # 64 (18.67354769365639, 16.228536522633743, 15.042181069958849, 16.242144097222223, 13.49952728591996, 6.5625, 6.690432098765433, 5.599537037037037, 7.067615740740742, 3.1743235596707824, 2.4442503741114856, 1.3931241426611796, 0.0, 18.225, 15.324365569272972, 12.221251870557428, 9.522970679012344, 14.135231481481483, 7.839351851851852, 6.690432098765433, 4.6875, 6.74976364295998, 5.4140480324074085, 3.00843621399177, 1.4753215020576131, 0.0), # 65 (18.674476632533153, 16.17131388888889, 15.025194444444447, 16.225303125, 13.499829740333489, 6.5625, 6.668924509803921, 5.570875000000001, 7.060545000000001, 3.1643655555555563, 2.4415671717171716, 1.3908592592592597, 0.0, 18.225, 15.299451851851854, 12.207835858585858, 9.493096666666666, 14.121090000000002, 7.799225000000001, 6.668924509803921, 4.6875, 6.749914870166744, 5.408434375000001, 3.0050388888888895, 1.4701194444444448, 0.0), # 66 (18.674941788372227, 16.11515051440329, 15.00835596707819, 16.208437152777776, 13.499981073081756, 6.5625, 6.647856136528685, 5.543990740740742, 7.05350537037037, 3.154708292181071, 2.438861073699963, 1.3886141289437586, 0.0, 18.225, 15.274755418381341, 12.194305368499816, 9.464124876543211, 14.10701074074074, 7.761587037037039, 6.647856136528685, 4.6875, 6.749990536540878, 5.40281238425926, 3.001671193415638, 1.465013683127572, 0.0), # 67 (18.674624906065485, 16.059860254878533, 14.99160892489712, 16.19141634963768, 13.499853546356814, 6.56237821216278, 6.627163675346682, 5.518757887517148, 7.046452709190673, 3.145329198741226, 2.436085796562113, 1.3863795032849615, 0.0, 18.22477527006173, 15.250174536134574, 12.180428982810565, 9.435987596223676, 14.092905418381346, 7.726261042524007, 6.627163675346682, 4.6874130086877, 6.749926773178407, 5.3971387832125615, 2.998321784979424, 1.4599872958980487, 0.0), # 68 (18.671655072463768, 16.00375510752688, 14.974482638888889, 16.173382744565217, 13.498692810457515, 6.561415432098766, 6.606241363211952, 5.493824074074074, 7.039078703703703, 3.1359628758169937, 2.4329588516746417, 1.3840828460038987, 0.0, 18.222994791666668, 15.224911306042884, 12.164794258373206, 9.407888627450978, 14.078157407407407, 7.6913537037037045, 6.606241363211952, 4.686725308641976, 6.749346405228757, 5.391127581521739, 2.994896527777778, 1.4548868279569895, 0.0), # 69 (18.665794417606012, 15.946577558741536, 14.956902649176953, 16.154217617753623, 13.496399176954732, 6.559519318701418, 6.5849941211052325, 5.468964334705077, 7.031341735253773, 3.1265637860082314, 2.429444665957824, 1.3817134141939216, 0.0, 18.219478202160495, 15.198847556133135, 12.147223329789119, 9.379691358024692, 14.062683470507546, 7.656550068587107, 6.5849941211052325, 4.685370941929584, 6.748199588477366, 5.384739205917875, 2.9913805298353906, 1.4496888689765035, 0.0), # 70 (18.657125389157272, 15.888361778176023, 14.938875128600824, 16.133949230072467, 13.493001694504963, 6.556720598994056, 6.56343149358509, 5.444186899862826, 7.023253326474624, 3.1171321617041885, 2.425556211235159, 1.3792729405819073, 0.0, 18.21427179783951, 15.172002346400978, 12.127781056175793, 9.351396485112563, 14.046506652949247, 7.621861659807958, 6.56343149358509, 4.683371856424325, 6.746500847252482, 5.377983076690823, 2.987775025720165, 1.4443965252887296, 0.0), # 71 (18.64573043478261, 15.82914193548387, 14.92040625, 16.112605842391304, 13.488529411764706, 6.553050000000001, 6.541563025210084, 5.4195, 7.014825, 3.1076682352941183, 2.421306459330144, 1.376763157894737, 0.0, 18.207421875, 15.144394736842104, 12.10653229665072, 9.323004705882353, 14.02965, 7.587300000000001, 6.541563025210084, 4.680750000000001, 6.744264705882353, 5.370868614130436, 2.98408125, 1.4390129032258066, 0.0), # 72 (18.631692002147076, 15.768952200318596, 14.90150218621399, 16.09021571557971, 13.483011377390461, 6.548538248742569, 6.519398260538782, 5.394911865569274, 7.006068278463649, 3.0981722391672726, 2.4167083820662767, 1.374185798859288, 0.0, 18.198974729938275, 15.116043787452165, 12.083541910331384, 9.294516717501814, 14.012136556927299, 7.552876611796983, 6.519398260538782, 4.677527320530407, 6.741505688695231, 5.363405238526571, 2.9803004372427986, 1.4335411091198726, 0.0), # 73 (18.61509253891573, 15.707826742333731, 14.882169110082302, 16.06680711050725, 13.47647664003873, 6.543216072245086, 6.49694674412975, 5.37043072702332, 6.996994684499314, 3.0886444057129037, 2.411774951267057, 1.3715425962024403, 0.0, 18.18897665895062, 15.086968558226841, 12.058874756335285, 9.26593321713871, 13.993989368998628, 7.518603017832648, 6.49694674412975, 4.673725765889347, 6.738238320019365, 5.355602370169083, 2.976433822016461, 1.4279842493030668, 0.0), # 74 (18.59601449275362, 15.645799731182793, 14.862413194444443, 16.04240828804348, 13.468954248366014, 6.537114197530865, 6.47421802054155, 5.346064814814815, 6.98761574074074, 3.0790849673202625, 2.406519138755981, 1.3688352826510723, 0.0, 18.177473958333334, 15.057188109161793, 12.032595693779903, 9.237254901960785, 13.97523148148148, 7.484490740740742, 6.47421802054155, 4.669367283950618, 6.734477124183007, 5.347469429347827, 2.9724826388888888, 1.422345430107527, 0.0), # 75 (18.57454031132582, 15.582905336519316, 14.842240612139918, 16.01704750905797, 13.460473251028805, 6.53026335162323, 6.451221634332746, 5.321822359396434, 6.977942969821673, 3.069494156378602, 2.400953916356548, 1.3660655909320625, 0.0, 18.164512924382716, 15.026721500252684, 12.004769581782737, 9.208482469135802, 13.955885939643347, 7.450551303155008, 6.451221634332746, 4.664473822588021, 6.730236625514403, 5.339015836352658, 2.9684481224279837, 1.4166277578653925, 0.0), # 76 (18.55075244229737, 15.519177727996816, 14.821657536008228, 15.99075303442029, 13.451062696683609, 6.522694261545496, 6.4279671300619015, 5.2977115912208514, 6.967987894375857, 3.059872205277174, 2.3950922558922563, 1.3632352537722912, 0.0, 18.150139853395064, 14.9955877914952, 11.975461279461282, 9.179616615831518, 13.935975788751714, 7.416796227709193, 6.4279671300619015, 4.659067329675354, 6.725531348341804, 5.330251011473431, 2.964331507201646, 1.4108343389088016, 0.0), # 77 (18.524733333333334, 15.45465107526882, 14.80067013888889, 15.963553124999999, 13.440751633986928, 6.514437654320987, 6.404464052287582, 5.273740740740742, 6.957762037037036, 3.0502193464052296, 2.388947129186603, 1.3603460038986357, 0.0, 18.134401041666667, 14.963806042884991, 11.944735645933015, 9.150658039215687, 13.915524074074073, 7.383237037037039, 6.404464052287582, 4.653169753086419, 6.720375816993464, 5.3211843750000005, 2.960134027777778, 1.404968279569893, 0.0), # 78 (18.496565432098766, 15.389359547988851, 14.779284593621398, 15.935476041666668, 13.429569111595256, 6.505524256973022, 6.380721945568351, 5.249918038408779, 6.947276920438957, 3.0405358121520223, 2.382531508063087, 1.3573995740379758, 0.0, 18.117342785493825, 14.931395314417731, 11.912657540315433, 9.121607436456063, 13.894553840877913, 7.349885253772292, 6.380721945568351, 4.646803040695016, 6.714784555797628, 5.311825347222223, 2.95585691872428, 1.399032686180805, 0.0), # 79 (18.466331186258724, 15.323337315810434, 14.757507073045266, 15.906550045289855, 13.417544178165095, 6.49598479652492, 6.356750354462773, 5.226251714677641, 6.9365440672153635, 3.030821834906803, 2.375858364345207, 1.3543976969171905, 0.0, 18.09901138117284, 14.898374666089092, 11.879291821726033, 9.092465504720405, 13.873088134430727, 7.316752400548698, 6.356750354462773, 4.639989140374943, 6.708772089082547, 5.302183348429953, 2.9515014146090537, 1.3930306650736761, 0.0), # 80 (18.434113043478263, 15.256618548387095, 14.735343749999998, 15.876803396739131, 13.404705882352939, 6.48585, 6.3325588235294115, 5.202750000000001, 6.925574999999999, 3.0210776470588248, 2.36894066985646, 1.3513421052631582, 0.0, 18.079453124999997, 14.864763157894737, 11.844703349282298, 9.063232941176471, 13.851149999999999, 7.283850000000001, 6.3325588235294115, 4.63275, 6.7023529411764695, 5.292267798913045, 2.94706875, 1.3869653225806453, 0.0), # 81 (18.399993451422436, 15.189237415372364, 14.712800797325105, 15.846264356884058, 13.391083272815298, 6.475150594421583, 6.308156897326833, 5.179421124828533, 6.914381241426612, 3.011303480997338, 2.3617913964203443, 1.3482345318027582, 0.0, 18.058714313271608, 14.830579849830338, 11.80895698210172, 9.03391044299201, 13.828762482853223, 7.2511895747599455, 6.308156897326833, 4.625107567443988, 6.695541636407649, 5.2820881189613536, 2.9425601594650215, 1.3808397650338515, 0.0), # 82 (18.364054857756308, 15.121228086419752, 14.689884387860083, 15.8149611865942, 13.376705398208665, 6.463917306812986, 6.283554120413598, 5.156273319615913, 6.902974314128944, 3.001499569111596, 2.3544235158603586, 1.3450767092628693, 0.0, 18.036841242283952, 14.79584380189156, 11.772117579301792, 9.004498707334786, 13.805948628257887, 7.218782647462278, 6.283554120413598, 4.617083790580704, 6.688352699104333, 5.2716537288647345, 2.9379768775720168, 1.374657098765432, 0.0), # 83 (18.326379710144927, 15.052624731182796, 14.666600694444444, 15.78292214673913, 13.361601307189542, 6.452180864197532, 6.258760037348273, 5.133314814814815, 6.89136574074074, 2.9916661437908503, 2.3468500000000003, 1.3418703703703705, 0.0, 18.013880208333333, 14.760574074074073, 11.73425, 8.97499843137255, 13.78273148148148, 7.186640740740741, 6.258760037348273, 4.608700617283951, 6.680800653594771, 5.260974048913044, 2.933320138888889, 1.3684204301075271, 0.0), # 84 (18.287050456253354, 14.983461519315012, 14.642955889917694, 15.750175498188408, 13.345800048414427, 6.439971993598538, 6.233784192689422, 5.110553840877915, 6.879567043895747, 2.981803437424353, 2.3390838206627684, 1.338617247852141, 0.0, 17.989877507716052, 14.724789726373547, 11.69541910331384, 8.945410312273058, 13.759134087791494, 7.154775377229082, 6.233784192689422, 4.5999799954275264, 6.672900024207213, 5.250058499396137, 2.928591177983539, 1.362132865392274, 0.0), # 85 (18.246149543746643, 14.913772620469931, 14.618956147119343, 15.716749501811597, 13.32933067053982, 6.427321422039324, 6.208636130995608, 5.087998628257887, 6.86758974622771, 2.9719116824013563, 2.3311379496721605, 1.3353190744350594, 0.0, 17.964879436728395, 14.68850981878565, 11.655689748360802, 8.915735047204068, 13.73517949245542, 7.123198079561043, 6.208636130995608, 4.590943872885232, 6.66466533526991, 5.2389165006038665, 2.923791229423869, 1.3557975109518121, 0.0), # 86 (18.203759420289852, 14.843592204301075, 14.594607638888888, 15.68267241847826, 13.312222222222225, 6.41425987654321, 6.1833253968253965, 5.065657407407408, 6.855445370370372, 2.9619911111111112, 2.323025358851675, 1.3319775828460039, 0.0, 17.938932291666667, 14.651753411306041, 11.615126794258373, 8.885973333333332, 13.710890740740744, 7.091920370370371, 6.1833253968253965, 4.581614197530865, 6.656111111111112, 5.227557472826088, 2.9189215277777776, 1.3494174731182798, 0.0), # 87 (18.159962533548043, 14.772954440461966, 14.569916538065844, 15.647972509057974, 13.294503752118132, 6.400818084133517, 6.157861534737352, 5.043538408779149, 6.843145438957476, 2.952041955942871, 2.31475902002481, 1.328594505811855, 0.0, 17.912082368827164, 14.614539563930402, 11.573795100124048, 8.856125867828611, 13.686290877914953, 7.06095377229081, 6.157861534737352, 4.572012917238227, 6.647251876059066, 5.215990836352659, 2.913983307613169, 1.3429958582238153, 0.0), # 88 (18.11484133118626, 14.701893498606132, 14.544889017489714, 15.612678034420288, 13.276204308884047, 6.387026771833563, 6.132254089290037, 5.0216498628257895, 6.830701474622771, 2.942064449285888, 2.3063519050150636, 1.3251715760594904, 0.0, 17.884375964506173, 14.576887336654393, 11.531759525075316, 8.826193347857663, 13.661402949245542, 7.0303098079561055, 6.132254089290037, 4.562161979881116, 6.638102154442024, 5.2042260114734304, 2.908977803497943, 1.3365357726005578, 0.0), # 89 (18.068478260869565, 14.630443548387097, 14.519531250000002, 15.576817255434786, 13.257352941176471, 6.372916666666668, 6.106512605042017, 5.0, 6.818125, 2.9320588235294123, 2.2978169856459334, 1.3217105263157898, 0.0, 17.855859375, 14.538815789473684, 11.489084928229666, 8.796176470588236, 13.63625, 7.0, 6.106512605042017, 4.552083333333334, 6.6286764705882355, 5.192272418478263, 2.903906250000001, 1.3300403225806454, 0.0), # 90 (18.020955770263015, 14.558638759458383, 14.493849408436214, 15.540418432971018, 13.237978697651899, 6.35851849565615, 6.0806466265518555, 4.978597050754459, 6.80542753772291, 2.922025311062697, 2.2891672337409186, 1.3182130893076314, 0.0, 17.826578896604936, 14.500343982383942, 11.445836168704592, 8.76607593318809, 13.61085507544582, 6.9700358710562424, 6.0806466265518555, 4.541798925468679, 6.6189893488259495, 5.180139477657007, 2.898769881687243, 1.3235126144962168, 0.0), # 91 (17.97235630703167, 14.486513301473519, 14.467849665637862, 15.50350982789855, 13.218110626966835, 6.343862985825332, 6.054665698378118, 4.957449245541839, 6.7926206104252405, 2.9119641442749944, 2.2804156211235163, 1.3146809977618947, 0.0, 17.796580825617283, 14.46149097538084, 11.40207810561758, 8.735892432824983, 13.585241220850481, 6.940428943758574, 6.054665698378118, 4.531330704160951, 6.609055313483418, 5.167836609299518, 2.8935699331275724, 1.3169557546794108, 0.0), # 92 (17.92276231884058, 14.414101344086022, 14.441538194444446, 15.46611970108696, 13.197777777777777, 6.328980864197531, 6.0285793650793655, 4.936564814814815, 6.779715740740741, 2.9018755555555558, 2.2715751196172254, 1.3111159844054583, 0.0, 17.76591145833333, 14.422275828460037, 11.357875598086125, 8.705626666666666, 13.559431481481482, 6.911190740740742, 6.0285793650793655, 4.520700617283951, 6.598888888888888, 5.155373233695654, 2.888307638888889, 1.3103728494623659, 0.0), # 93 (17.872256253354806, 14.341437056949422, 14.414921167695475, 15.428276313405796, 13.177009198741224, 6.313902857796068, 6.002397171214165, 4.915951989026064, 6.766724451303155, 2.891759777293634, 2.2626587010455435, 1.3075197819652014, 0.0, 17.734617091049383, 14.382717601617212, 11.313293505227715, 8.675279331880901, 13.53344890260631, 6.88233278463649, 6.002397171214165, 4.509930612711477, 6.588504599370612, 5.1427587711352665, 2.882984233539095, 1.3037670051772203, 0.0), # 94 (17.820920558239397, 14.268554609717246, 14.388004758230455, 15.390007925724635, 13.155833938513677, 6.298659693644262, 5.97612866134108, 4.895618998628259, 6.753658264746228, 2.88161704187848, 2.253679337231969, 1.3038941231680024, 0.0, 17.70274402006173, 14.342835354848022, 11.268396686159845, 8.644851125635439, 13.507316529492456, 6.853866598079563, 5.97612866134108, 4.49904263831733, 6.577916969256838, 5.130002641908213, 2.8776009516460914, 1.2971413281561135, 0.0), # 95 (17.76883768115942, 14.195488172043014, 14.360795138888891, 15.351342798913045, 13.134281045751635, 6.283282098765432, 5.9497833800186735, 4.875574074074075, 6.740528703703703, 2.8714475816993468, 2.2446500000000005, 1.300240740740741, 0.0, 17.67033854166667, 14.30264814814815, 11.22325, 8.614342745098039, 13.481057407407405, 6.825803703703705, 5.9497833800186735, 4.488058641975309, 6.5671405228758175, 5.117114266304349, 2.8721590277777787, 1.2904989247311833, 0.0), # 96 (17.716090069779927, 14.12227191358025, 14.333298482510289, 15.31230919384058, 13.112379569111596, 6.267800800182899, 5.9233708718055125, 4.855825445816188, 6.727347290809328, 2.8612516291454857, 2.235583661173135, 1.2965613674102956, 0.0, 17.637446952160495, 14.262175041513249, 11.177918305865674, 8.583754887436456, 13.454694581618655, 6.798155624142662, 5.9233708718055125, 4.477000571559214, 6.556189784555798, 5.104103064613527, 2.8666596965020577, 1.2838429012345685, 0.0), # 97 (17.66276017176597, 14.048940003982477, 14.305520961934155, 15.27293537137681, 13.090158557250064, 6.252246524919983, 5.896900681260158, 4.83638134430727, 6.714125548696844, 2.851029416606149, 2.226493292574872, 1.2928577359035447, 0.0, 17.604115547839505, 14.22143509493899, 11.13246646287436, 8.553088249818446, 13.428251097393687, 6.770933882030178, 5.896900681260158, 4.465890374942845, 6.545079278625032, 5.090978457125605, 2.8611041923868314, 1.277176363998407, 0.0), # 98 (17.608930434782607, 13.975526612903225, 14.277468750000002, 15.233249592391303, 13.067647058823532, 6.23665, 5.870382352941177, 4.8172500000000005, 6.700875, 2.8407811764705886, 2.2173918660287084, 1.2891315789473687, 0.0, 17.570390625, 14.180447368421053, 11.086959330143541, 8.522343529411764, 13.40175, 6.744150000000001, 5.870382352941177, 4.45475, 6.533823529411766, 5.0777498641304355, 2.8554937500000004, 1.2705024193548389, 0.0), # 99 (17.5546833064949, 13.902065909996015, 14.249148019547325, 15.193280117753623, 13.044874122488501, 6.2210419524462734, 5.843825431407131, 4.798439643347051, 6.687607167352539, 2.8305071411280567, 2.2082923533581433, 1.285384629268645, 0.0, 17.536318479938274, 14.139230921955095, 11.041461766790714, 8.49152142338417, 13.375214334705078, 6.717815500685871, 5.843825431407131, 4.443601394604481, 6.522437061244251, 5.064426705917875, 2.8498296039094653, 1.2638241736360014, 0.0), # 100 (17.500101234567904, 13.828592064914377, 14.22056494341564, 15.153055208333335, 13.021868796901476, 6.205453109282122, 5.817239461216586, 4.7799585048010975, 6.674333573388203, 2.820207542967805, 2.1992077263866743, 1.281618619594253, 0.0, 17.501945408950615, 14.097804815536781, 10.99603863193337, 8.460622628903414, 13.348667146776407, 6.691941906721536, 5.817239461216586, 4.432466506630087, 6.510934398450738, 5.051018402777779, 2.8441129886831282, 1.2571447331740344, 0.0), # 101 (17.44526666666667, 13.755139247311828, 14.191725694444445, 15.112603125, 12.998660130718955, 6.189914197530865, 5.790633986928105, 4.761814814814815, 6.66106574074074, 2.809882614379086, 2.1901509569377993, 1.2778352826510724, 0.0, 17.467317708333336, 14.056188109161795, 10.950754784688995, 8.429647843137257, 13.32213148148148, 6.666540740740741, 5.790633986928105, 4.421367283950618, 6.499330065359477, 5.037534375000001, 2.838345138888889, 1.2504672043010754, 0.0), # 102 (17.390262050456254, 13.681741626841896, 14.16263644547325, 15.071952128623188, 12.975277172597433, 6.174455944215821, 5.764018553100253, 4.7440168038408785, 6.647815192043895, 2.7995325877511505, 2.181135016835017, 1.2740363511659811, 0.0, 17.432481674382714, 14.014399862825789, 10.905675084175085, 8.39859776325345, 13.29563038408779, 6.64162352537723, 5.764018553100253, 4.410325674439872, 6.487638586298717, 5.023984042874397, 2.8325272890946502, 1.2437946933492634, 0.0), # 103 (17.335169833601718, 13.608433373158105, 14.133303369341563, 15.031130480072465, 12.951748971193414, 6.159109076360311, 5.737402704291593, 4.7265727023319615, 6.634593449931413, 2.7891576954732518, 2.1721728779018252, 1.2702235578658583, 0.0, 17.397483603395063, 13.972459136524439, 10.860864389509127, 8.367473086419754, 13.269186899862826, 6.617201783264746, 5.737402704291593, 4.399363625971651, 6.475874485596707, 5.010376826690822, 2.826660673868313, 1.237130306650737, 0.0), # 104 (17.280072463768114, 13.535248655913978, 14.103732638888891, 14.99016644021739, 12.928104575163397, 6.143904320987655, 5.710795985060692, 4.709490740740741, 6.621412037037037, 2.7787581699346413, 2.1632775119617227, 1.2663986354775831, 0.0, 17.362369791666666, 13.930384990253412, 10.816387559808613, 8.336274509803923, 13.242824074074074, 6.5932870370370384, 5.710795985060692, 4.388503086419754, 6.464052287581699, 4.996722146739131, 2.820746527777778, 1.2304771505376346, 0.0), # 105 (17.225052388620504, 13.462221644763043, 14.073930426954732, 14.949088269927536, 12.904373033163882, 6.128872405121171, 5.68420793996611, 4.6927791495198905, 6.608282475994512, 2.7683342435245706, 2.1544618908382067, 1.2625633167280343, 0.0, 17.327186535493826, 13.888196484008375, 10.772309454191033, 8.30500273057371, 13.216564951989024, 6.5698908093278465, 5.68420793996611, 4.377766003657979, 6.452186516581941, 4.98302942330918, 2.8147860853909465, 1.223838331342095, 0.0), # 106 (17.17019205582394, 13.389386509358822, 14.043902906378605, 14.907924230072464, 12.880583393851367, 6.114044055784181, 5.657648113566415, 4.6764461591220865, 6.595216289437586, 2.7578861486322928, 2.145738986354776, 1.2587193343440908, 0.0, 17.29198013117284, 13.845912677784996, 10.728694931773878, 8.273658445896878, 13.190432578875171, 6.547024622770921, 5.657648113566415, 4.367174325560129, 6.440291696925684, 4.969308076690822, 2.808780581275721, 1.2172169553962566, 0.0), # 107 (17.11557391304348, 13.31677741935484, 14.013656250000002, 14.866702581521741, 12.856764705882352, 6.099450000000001, 5.631126050420168, 4.660500000000001, 6.582225000000001, 2.7474141176470597, 2.1371217703349283, 1.2548684210526317, 0.0, 17.256796875000003, 13.803552631578947, 10.685608851674642, 8.242242352941178, 13.164450000000002, 6.524700000000001, 5.631126050420168, 4.356750000000001, 6.428382352941176, 4.955567527173915, 2.8027312500000003, 1.2106161290322583, 0.0), # 108 (17.061280407944178, 13.24442854440462, 13.983196630658439, 14.825451585144926, 12.832946017913338, 6.085120964791952, 5.604651295085936, 4.644948902606311, 6.569320130315501, 2.736918382958122, 2.1286232146021624, 1.2510123095805359, 0.0, 17.221683063271605, 13.761135405385891, 10.64311607301081, 8.210755148874364, 13.138640260631002, 6.502928463648835, 5.604651295085936, 4.346514974851394, 6.416473008956669, 4.941817195048309, 2.796639326131688, 1.2040389585822384, 0.0), # 109 (17.007393988191087, 13.17237405416169, 13.95253022119342, 14.784199501811596, 12.809156378600825, 6.071087677183356, 5.57823339212228, 4.62980109739369, 6.556513203017833, 2.726399176954733, 2.120256290979975, 1.2471527326546823, 0.0, 17.18668499228395, 13.718680059201501, 10.601281454899876, 8.179197530864197, 13.113026406035665, 6.4817215363511655, 5.57823339212228, 4.336491197988112, 6.404578189300413, 4.928066500603866, 2.790506044238684, 1.1974885503783357, 0.0), # 110 (16.953997101449275, 13.10064811827957, 13.921663194444447, 14.742974592391306, 12.785424836601308, 6.0573808641975315, 5.551881886087768, 4.615064814814815, 6.543815740740741, 2.715856732026144, 2.1120339712918663, 1.2432914230019496, 0.0, 17.151848958333336, 13.676205653021444, 10.56016985645933, 8.147570196078432, 13.087631481481482, 6.461090740740741, 5.551881886087768, 4.326700617283951, 6.392712418300654, 4.914324864130436, 2.78433263888889, 1.1909680107526885, 0.0), # 111 (16.90117219538379, 13.029284906411787, 13.890601723251033, 14.701805117753622, 12.76178044057129, 6.044031252857797, 5.5256063215409625, 4.60074828532236, 6.531239266117969, 2.7052912805616076, 2.103969227361333, 1.2394301133492167, 0.0, 17.11722125771605, 13.633731246841382, 10.519846136806663, 8.115873841684822, 13.062478532235938, 6.441047599451304, 5.5256063215409625, 4.3171651806127125, 6.380890220285645, 4.900601705917875, 2.778120344650207, 1.1844804460374354, 0.0), # 112 (16.84890760266548, 12.958437720996821, 13.859426742378105, 14.660775741364255, 12.738210816208445, 6.03106325767524, 5.499473367291093, 4.586889426585454, 6.518827686755172, 2.694737131475729, 2.0960771718458604, 1.2355789404756645, 0.0, 17.0827990215178, 13.591368345232306, 10.480385859229301, 8.084211394427186, 13.037655373510344, 6.421645197219636, 5.499473367291093, 4.307902326910885, 6.369105408104223, 4.886925247121419, 2.7718853484756214, 1.178039792817893, 0.0), # 113 (16.796665616220118, 12.888805352817133, 13.828568512532428, 14.620215718724406, 12.71447202547959, 6.018447338956397, 5.473816387569522, 4.57365844462884, 6.506771421427836, 2.684391825560753, 2.0883733011339594, 1.2317868258169462, 0.0, 17.048295745488062, 13.549655083986407, 10.441866505669795, 8.053175476682258, 13.013542842855673, 6.403121822480377, 5.473816387569522, 4.298890956397426, 6.357236012739795, 4.873405239574803, 2.7657137025064857, 1.1717095775288306, 0.0), # 114 (16.744292825407193, 12.820412877827026, 13.798045399060976, 14.580114081995404, 12.690489213466321, 6.006150688123703, 5.448653685172405, 4.561051990709032, 6.495074987201274, 2.674271397594635, 2.0808463534281283, 1.2280556373838278, 0.0, 17.013611936988678, 13.508612011222104, 10.404231767140642, 8.022814192783905, 12.990149974402549, 6.385472786992645, 5.448653685172405, 4.290107634374073, 6.345244606733161, 4.860038027331802, 2.7596090798121957, 1.165492079802457, 0.0), # 115 (16.691723771827743, 12.753160664131308, 13.767798284975811, 14.540399302859647, 12.666226231660534, 5.994144321151453, 5.423944335775104, 4.549035234674245, 6.483708803536698, 2.6643570113022967, 2.0734817793814444, 1.224378479623102, 0.0, 16.978693067560602, 13.46816327585412, 10.367408896907222, 7.9930710339068884, 12.967417607073395, 6.368649328543944, 5.423944335775104, 4.281531657965324, 6.333113115830267, 4.846799767619883, 2.7535596569951624, 1.1593782421937553, 0.0), # 116 (16.63889299708279, 12.686949079834788, 13.73776805328898, 14.50099985299953, 12.641646931554131, 5.982399254013936, 5.399647415052978, 4.537573346372689, 6.472643289895322, 2.6546298304086586, 2.0662650296469853, 1.2207484569815625, 0.0, 16.943484608744804, 13.428233026797187, 10.331325148234924, 7.963889491225975, 12.945286579790643, 6.352602684921765, 5.399647415052978, 4.2731423242956685, 6.320823465777066, 4.833666617666511, 2.747553610657796, 1.1533590072577082, 0.0), # 117 (16.58573504277338, 12.621678493042284, 13.707895587012551, 14.461844204097451, 12.616715164639011, 5.970886502685445, 5.375721998681383, 4.526631495652572, 6.461848865738361, 2.6450710186386424, 2.0591815548778274, 1.2171586739060027, 0.0, 16.907932032082243, 13.388745412966028, 10.295907774389137, 7.935213055915925, 12.923697731476722, 6.337284093913602, 5.375721998681383, 4.264918930489604, 6.3083575823195055, 4.820614734699151, 2.74157911740251, 1.1474253175492988, 0.0), # 118 (16.532184450500534, 12.557249271858602, 13.678121769158587, 14.422860827835802, 12.591394782407065, 5.9595770831402755, 5.35212716233568, 4.516174852362109, 6.451295950527026, 2.6356617397171678, 2.0522168057270487, 1.2136022348432152, 0.0, 16.87198080911388, 13.349624583275366, 10.261084028635242, 7.906985219151502, 12.902591901054052, 6.322644793306953, 5.35212716233568, 4.256840773671625, 6.295697391203532, 4.807620275945268, 2.7356243538317178, 1.1415681156235096, 0.0), # 119 (16.47817576186529, 12.49356178438856, 13.648387482739144, 14.383978195896983, 12.565649636350196, 5.948442011352714, 5.3288219816912274, 4.506168586349507, 6.440954963722534, 2.626383157369158, 2.045356232847725, 1.2100722442399947, 0.0, 16.835576411380675, 13.31079468663994, 10.226781164238623, 7.879149472107472, 12.881909927445069, 6.308636020889311, 5.3288219816912274, 4.248887150966224, 6.282824818175098, 4.794659398632328, 2.7296774965478288, 1.1357783440353237, 0.0), # 120 (16.423643518468683, 12.430516398736968, 13.618633610766281, 14.345124779963385, 12.539443577960302, 5.937452303297058, 5.305765532423383, 4.49657786746298, 6.430796324786099, 2.6172164353195337, 2.038585286892935, 1.2065618065431336, 0.0, 16.79866431042359, 13.272179871974467, 10.192926434464676, 7.8516493059586, 12.861592649572199, 6.295209014448172, 5.305765532423383, 4.2410373594978985, 6.269721788980151, 4.781708259987796, 2.7237267221532564, 1.1300469453397246, 0.0), # 121 (16.36852226191174, 12.368013483008635, 13.588801036252066, 14.306229051717406, 12.51274045872928, 5.926578974947596, 5.282916890207506, 4.487367865550737, 6.420790453178933, 2.6081427372932153, 2.0318894185157554, 1.2030640261994254, 0.0, 16.761189977783587, 13.233704288193676, 10.159447092578777, 7.824428211879645, 12.841580906357866, 6.282315011771032, 5.282916890207506, 4.2332706963911395, 6.25637022936464, 4.768743017239136, 2.7177602072504135, 1.1243648620916942, 0.0), # 122 (16.312746533795494, 12.305953405308378, 13.558830642208555, 14.267219482841437, 12.485504130149028, 5.915793042278621, 5.260235130718955, 4.478503750460988, 6.410907768362252, 2.5991432270151247, 2.0252540783692634, 1.1995720076556633, 0.0, 16.72309888500163, 13.195292084212294, 10.126270391846315, 7.797429681045372, 12.821815536724504, 6.269905250645383, 5.260235130718955, 4.225566458770444, 6.242752065074514, 4.755739827613813, 2.711766128441711, 1.1187230368462162, 0.0), # 123 (16.256250875720976, 12.244236533741004, 13.528663311647806, 14.228024545017881, 12.457698443711445, 5.905065521264426, 5.237679329633088, 4.469950692041945, 6.401118689797269, 2.590199068210183, 2.018664717106536, 1.1960788553586414, 0.0, 16.68433650361868, 13.156867408945052, 10.09332358553268, 7.770597204630548, 12.802237379594539, 6.257930968858723, 5.237679329633088, 4.217903943760304, 6.2288492218557225, 4.742674848339295, 2.7057326623295617, 1.1131124121582732, 0.0), # 124 (16.198969829289226, 12.18276323641133, 13.498239927581887, 14.188572709929128, 12.429287250908427, 5.894367427879304, 5.215208562625265, 4.461673860141818, 6.391393636945196, 2.5812914246033105, 2.012106785380651, 1.1925776737551523, 0.0, 16.644848305175692, 13.118354411306674, 10.060533926903252, 7.74387427380993, 12.782787273890392, 6.246343404198546, 5.215208562625265, 4.210262448485217, 6.2146436254542134, 4.7295242366430434, 2.6996479855163775, 1.1075239305828484, 0.0), # 125 (16.14083793610127, 12.121433881424165, 13.46750137302285, 14.148792449257574, 12.400234403231872, 5.883669778097547, 5.192781905370843, 4.453638424608819, 6.381703029267251, 2.57240145991943, 2.005565733844684, 1.1890615672919902, 0.0, 16.604579761213643, 13.079677240211891, 10.02782866922342, 7.717204379758288, 12.763406058534501, 6.235093794452347, 5.192781905370843, 4.202621270069677, 6.200117201615936, 4.716264149752526, 2.69350027460457, 1.1019485346749243, 0.0), # 126 (16.08178973775815, 12.06014883688432, 13.436388530982757, 14.108612234685616, 12.370503752173677, 5.872943587893444, 5.170358433545185, 4.445809555291159, 6.3720172862246445, 2.563510337883461, 1.9990270131517138, 1.1855236404159475, 0.0, 16.56347634327348, 13.040760044575421, 9.99513506575857, 7.690531013650382, 12.744034572449289, 6.224133377407623, 5.170358433545185, 4.194959705638174, 6.185251876086839, 4.702870744895206, 2.6872777061965514, 1.0963771669894837, 0.0), # 127 (16.021759775860883, 11.998808470896611, 13.404842284473675, 14.06796053789565, 12.340059149225747, 5.862159873241292, 5.147897222823644, 4.438152422037048, 6.362306827278591, 2.554599222220326, 1.9924760739548175, 1.1819569975738184, 0.0, 16.521483522896165, 13.001526973312, 9.962380369774086, 7.663797666660978, 12.724613654557182, 6.2134133908518665, 5.147897222823644, 4.187257052315209, 6.170029574612873, 4.689320179298551, 2.680968456894735, 1.0908007700815103, 0.0), # 128 (15.960682592010507, 11.937313151565847, 13.37280351650766, 14.026765830570064, 12.308864445879973, 5.85128965011538, 5.125357348881582, 4.430632194694696, 6.352542071890305, 2.5456492766549457, 1.9858983669070716, 1.1783547432123955, 0.0, 16.478546771622668, 12.96190217533635, 9.929491834535357, 7.636947829964836, 12.70508414378061, 6.202885072572574, 5.125357348881582, 4.179492607225272, 6.154432222939986, 4.675588610190022, 2.6745607033015326, 1.0852102865059863, 0.0), # 129 (15.89849272780806, 11.875563246996844, 13.34021311009677, 13.984956584391266, 12.276883493628256, 5.840303934489999, 5.102697887394356, 4.423214043112313, 6.342693439521001, 2.536641664912241, 1.9792793426615536, 1.174709981778473, 0.0, 16.434611560993947, 12.921809799563201, 9.896396713307768, 7.609924994736723, 12.685386879042001, 6.192499660357238, 5.102697887394356, 4.171645667492856, 6.138441746814128, 4.66165219479709, 2.668042622019354, 1.0795966588178951, 0.0), # 130 (15.83512472485457, 11.81345912529441, 13.307011948253072, 13.942461271041642, 12.244080143962494, 5.829173742339445, 5.079877914037328, 4.415863137138113, 6.332731349631892, 2.527557550717134, 1.9726044518713404, 1.1710158177188439, 0.0, 16.38962336255096, 12.88117399490728, 9.863022259356702, 7.5826726521514, 12.665462699263784, 6.182208391993358, 5.079877914037328, 4.16369553024246, 6.122040071981247, 4.647487090347215, 2.6614023896506143, 1.073950829572219, 0.0), # 131 (15.770513124751067, 11.750901154563357, 13.27314091398862, 13.899208362203591, 12.210418248374584, 5.817870089638008, 5.056856504485853, 4.408544646620305, 6.322626221684192, 2.5183780977945447, 1.9658591451895095, 1.1672653554803014, 0.0, 16.343527647834676, 12.839918910283313, 9.829295725947548, 7.555134293383633, 12.645252443368385, 6.171962505268427, 5.056856504485853, 4.155621492598577, 6.105209124187292, 4.633069454067865, 2.654628182797724, 1.0682637413239418, 0.0), # 132 (15.704592469098595, 11.687789702908498, 13.238540890315475, 13.855126329559509, 12.175861658356425, 5.80636399235998, 5.03359273441529, 4.4012237414071, 6.312348475139116, 2.509084469869395, 1.9590288732691383, 1.1634516995096391, 0.0, 16.296269888386057, 12.797968694606027, 9.795144366345692, 7.527253409608184, 12.624696950278231, 6.1617132379699395, 5.03359273441529, 4.1474028516857, 6.087930829178212, 4.618375443186504, 2.647708178063095, 1.0625263366280455, 0.0), # 133 (15.63729729949817, 11.624025138434646, 13.203152760245707, 13.81014364479179, 12.14037422539991, 5.794626466479654, 5.010045679501001, 4.3938655913467075, 6.301868529457877, 2.499657830666606, 1.952099086763304, 1.1595679542536501, 0.0, 16.24779555574605, 12.755247496790147, 9.76049543381652, 7.498973491999817, 12.603737058915755, 6.151411827885391, 5.010045679501001, 4.139018904628324, 6.070187112699955, 4.6033812149305975, 2.6406305520491418, 1.0567295580395135, 0.0), # 134 (15.568562157550836, 11.559507829246614, 13.166917406791363, 13.764188779582833, 12.103919800996945, 5.7826285279713225, 4.986174415418341, 4.3864353662873405, 6.291156804101687, 2.4900793439110998, 1.945055236325083, 1.155607224159128, 0.0, 16.198050121455637, 12.711679465750406, 9.725276181625414, 7.470238031733298, 12.582313608203375, 6.141009512802277, 4.986174415418341, 4.130448948550945, 6.051959900498472, 4.588062926527612, 2.633383481358273, 1.0508643481133288, 0.0), # 135 (15.498321584857623, 11.494138143449213, 13.129775712964513, 13.717190205615022, 12.066462236639419, 5.770341192809277, 4.961938017842671, 4.378898236077208, 6.280183718531764, 2.4803301733277956, 1.9378827726075534, 1.1515626136728663, 0.0, 16.146979057055766, 12.667188750401527, 9.689413863037766, 7.4409905199833855, 12.560367437063528, 6.130457530508091, 4.961938017842671, 4.121672280578055, 6.033231118319709, 4.572396735205008, 2.6259551425929026, 1.044921649404474, 0.0), # 136 (15.426510123019561, 11.427816449147253, 13.091668561777217, 13.66907639457077, 12.02796538381924, 5.757735476967808, 4.93729556244935, 4.371219370564522, 6.2689196922093195, 2.4703914826416162, 1.930567146263792, 1.1474272272416581, 0.0, 16.094527834087398, 12.621699499658236, 9.652835731318959, 7.411174447924847, 12.537839384418639, 6.119707118790331, 4.93729556244935, 4.112668197834148, 6.01398269190962, 4.556358798190257, 2.6183337123554433, 1.0388924044679322, 0.0), # 137 (15.353062313637686, 11.360443114445548, 13.052536836241526, 13.619775818132457, 11.988393094028304, 5.744782396421213, 4.912206124913734, 4.363363939597493, 6.257335144595569, 2.4602444355774815, 1.9230938079468758, 1.143194169312297, 0.0, 16.040641924091503, 12.575135862435264, 9.615469039734378, 7.380733306732443, 12.514670289191137, 6.10870951543649, 4.912206124913734, 4.103415997443723, 5.994196547014152, 4.5399252727108195, 2.6105073672483052, 1.0327675558586864, 0.0), # 138 (15.277912698313022, 11.29191850744891, 13.01232141936951, 13.569216947982484, 11.947709218758497, 5.731452967143778, 4.886628780911184, 4.355297113024331, 6.245400495151722, 2.449870195860314, 1.9154482083098823, 1.1388565443315761, 0.0, 15.985266798609034, 12.527421987647335, 9.577241041549412, 7.3496105875809405, 12.490800990303445, 6.0974159582340635, 4.886628780911184, 4.093894976531271, 5.973854609379249, 4.523072315994162, 2.602464283873902, 1.0265380461317193, 0.0), # 139 (15.200995818646616, 11.22214299626215, 12.970963194173232, 13.51732825580325, 11.905877609501736, 5.717718205109798, 4.860522606117057, 4.346984060693248, 6.233086163338999, 2.439249927215034, 1.9076157980058883, 1.134407456746289, 0.0, 15.928347929180966, 12.478482024209175, 9.538078990029442, 7.3177497816451, 12.466172326677999, 6.085777684970546, 4.860522606117057, 4.084084432221284, 5.952938804750868, 4.505776085267751, 2.5941926388346466, 1.020194817842014, 0.0), # 140 (15.122246216239494, 11.151016948990085, 12.92840304366474, 13.464038213277146, 11.862862117749902, 5.7035491262935665, 4.833846676206716, 4.338389952452453, 6.220362568618608, 2.4283647933665637, 1.8995820276879718, 1.129840011003229, 0.0, 15.869830787348244, 12.428240121035515, 9.497910138439858, 7.2850943800996895, 12.440725137237216, 6.073745933433434, 4.833846676206716, 4.0739636616382615, 5.931431058874951, 4.48801273775905, 2.5856806087329485, 1.0137288135445532, 0.0), # 141 (15.041598432692682, 11.07844073373752, 12.884581850856106, 13.409275292086573, 11.818626594994903, 5.688916746669374, 4.806560066855513, 4.329479958150158, 6.207200130451765, 2.417195958039823, 1.8913323480092095, 1.1251473115491895, 0.0, 15.80966084465184, 12.37662042704108, 9.456661740046046, 7.251587874119467, 12.41440026090353, 6.061271941410222, 4.806560066855513, 4.063511961906696, 5.909313297497452, 4.469758430695525, 2.5769163701712214, 1.00713097579432, 0.0), # 142 (14.958987009607215, 11.004314718609267, 12.839440498759389, 13.352967963913915, 11.773134892728635, 5.673792082211512, 4.778621853738811, 4.320219247634575, 6.1935692682996875, 2.405724584959734, 1.8828522096226783, 1.1203224628309636, 0.0, 15.747783572632711, 12.323547091140597, 9.41426104811339, 7.217173754879202, 12.387138536599375, 6.048306946688404, 4.778621853738811, 4.05270863015108, 5.886567446364317, 4.45098932130464, 2.5678880997518783, 1.0003922471462972, 0.0), # 143 (14.874346488584132, 10.928539271710147, 12.792919870386642, 13.29504470044158, 11.726350862442994, 5.658146148894274, 4.749991112531969, 4.310572990753912, 6.1794404016235855, 2.3939318378512175, 1.8741270631814555, 1.115358569295345, 0.0, 15.684144442831826, 12.268944262248793, 9.370635315907277, 7.181795513553651, 12.358880803247171, 6.034802187055478, 4.749991112531969, 4.04153296349591, 5.863175431221497, 4.431681566813861, 2.5585839740773286, 0.993503570155468, 0.0), # 144 (14.787611411224459, 10.851014761144963, 12.744960848749933, 13.235433973351956, 11.67823835562988, 5.641949962691953, 4.7206269189103445, 4.300506357356382, 6.164783949884672, 2.381798880439195, 1.865142359338619, 1.110248735389127, 0.0, 15.618688926790139, 12.212736089280396, 9.325711796693094, 7.145396641317584, 12.329567899769344, 6.020708900298935, 4.7206269189103445, 4.029964259065681, 5.83911917781494, 4.411811324450653, 2.548992169749987, 0.986455887376815, 0.0), # 145 (14.69871631912923, 10.771641555018533, 12.695504316861326, 13.174064254327444, 11.62876122378119, 5.62517453957884, 4.690488348549297, 4.289984517290195, 6.1495703325441635, 2.3693068764485874, 1.8558835487472447, 1.104986065559103, 0.0, 15.551362496048613, 12.154846721150133, 9.279417743736223, 7.107920629345761, 12.299140665088327, 6.005978324206273, 4.690488348549297, 4.0179818139848855, 5.814380611890595, 4.391354751442482, 2.539100863372265, 0.9792401413653213, 0.0), # 146 (14.607595753899481, 10.690320021435666, 12.644491157732865, 13.110864015050435, 11.577883318388821, 5.607790895529226, 4.659534477124183, 4.278972640403562, 6.133769969063274, 2.3564369896043162, 1.846336082060411, 1.0995636642520668, 0.0, 15.482110622148213, 12.095200306772732, 9.231680410302054, 7.069310968812948, 12.267539938126548, 5.990561696564987, 4.659534477124183, 4.005564925378019, 5.7889416591944105, 4.370288005016812, 2.5288982315465733, 0.9718472746759697, 0.0), # 147 (14.51418425713624, 10.606950528501175, 12.591862254376625, 13.045761727203324, 11.525568490944673, 5.5897700465174065, 4.627724380310364, 4.2674358965446935, 6.1173532789032175, 2.3431703836313016, 1.836485409931195, 1.0939746359148106, 0.0, 15.410878776629895, 12.033720995062914, 9.182427049655974, 7.029511150893903, 12.234706557806435, 5.974410255162571, 4.627724380310364, 3.9926928903695758, 5.762784245472337, 4.348587242401109, 2.5183724508753254, 0.9642682298637433, 0.0), # 148 (14.418416370440541, 10.52143344431987, 12.537558489804665, 12.97868586246851, 11.471780592940643, 5.57108300851767, 4.595017133783196, 4.255339455561801, 6.100290681525203, 2.3294882222544664, 1.8263169830126733, 1.0882120849941288, 0.0, 15.337612431034628, 11.970332934935415, 9.131584915063366, 6.988464666763398, 12.200581363050405, 5.957475237786521, 4.595017133783196, 3.9793450060840496, 5.735890296470322, 4.326228620822837, 2.507511697960933, 0.9564939494836247, 0.0), # 149 (14.320226635413416, 10.433669136996565, 12.481520747029043, 12.909564892528387, 11.416483475868631, 5.551700797504312, 4.561371813218041, 4.242648487303093, 6.0825525963904505, 2.31537166919873, 1.815816251957923, 1.0822691159368145, 0.0, 15.262257056903364, 11.904960275304958, 9.079081259789614, 6.946115007596189, 12.165105192780901, 5.93970788222433, 4.561371813218041, 3.9655005696459367, 5.7082417379343156, 4.303188297509463, 2.4963041494058085, 0.948515376090597, 0.0), # 150 (14.219549593655895, 10.343557974636072, 12.423689909061814, 12.838327289065347, 11.359640991220532, 5.531594429451621, 4.526747494290255, 4.229328161616783, 6.064109442960174, 2.3008018881890155, 1.8049686674200216, 1.0761388331896609, 0.0, 15.184758125777073, 11.837527165086268, 9.024843337100108, 6.902405664567045, 12.128218885920347, 5.921059426263496, 4.526747494290255, 3.951138878179729, 5.679820495610266, 4.27944242968845, 2.484737981812363, 0.9403234522396431, 0.0), # 151 (14.116319786769019, 10.251000325343204, 12.364006858915053, 12.76490152376179, 11.301216990488243, 5.510734920333892, 4.491103252675198, 4.215343648351081, 6.044931640695582, 2.2857600429502427, 1.7937596800520466, 1.0698143411994616, 0.0, 15.105061109196717, 11.767957753194075, 8.968798400260232, 6.857280128850727, 12.089863281391164, 5.901481107691514, 4.491103252675198, 3.936239228809923, 5.650608495244121, 4.254967174587264, 2.4728013717830106, 0.931909120485746, 0.0), # 152 (14.010471756353809, 10.155896557222773, 12.302412479600802, 12.68921606830011, 11.241175325163667, 5.489093286125417, 4.454398164048228, 4.200660117354197, 6.024989609057894, 2.2702272972073336, 1.782174740507075, 1.0632887444130097, 0.0, 15.02311147870325, 11.696176188543106, 8.910873702535374, 6.810681891622, 12.049979218115787, 5.880924164295876, 4.454398164048228, 3.920780918661012, 5.620587662581833, 4.229738689433371, 2.4604824959201608, 0.9232633233838886, 0.0), # 153 (13.901940044011312, 10.05814703837959, 12.238847654131138, 12.611199394362703, 11.179479846738696, 5.466640542800487, 4.416591304084705, 4.185242738474343, 6.00425376750832, 2.254184814685209, 1.7701992994381837, 1.0565551472770989, 0.0, 14.938854705837642, 11.622106620048086, 8.850996497190918, 6.762554444055626, 12.00850753501664, 5.85933983386408, 4.416591304084705, 3.904743244857491, 5.589739923369348, 4.203733131454236, 2.447769530826228, 0.9143770034890537, 0.0), # 154 (13.790659191342543, 9.957652136918465, 12.173253265518113, 12.530779973631962, 11.116094406705237, 5.443347706333395, 4.377641748459985, 4.169056681559727, 5.982694535508077, 2.23761375910879, 1.7578188074984502, 1.0496066542385225, 0.0, 14.852236262140847, 11.545673196623744, 8.789094037492251, 6.712841277326369, 11.965389071016155, 5.836679354183619, 4.377641748459985, 3.8881055045238533, 5.5580472033526185, 4.176926657877321, 2.4346506531036227, 0.9052411033562243, 0.0), # 155 (13.676563739948545, 9.854312220944214, 12.10557019677379, 12.447886277790282, 11.050982856555176, 5.419185792698435, 4.33750857284943, 4.152067116458564, 5.960282332518376, 2.220495294202998, 1.7450187153409518, 1.0424363697440735, 0.0, 14.763201619153833, 11.466800067184806, 8.725093576704758, 6.661485882608993, 11.920564665036752, 5.81289396304199, 4.33750857284943, 3.870846994784596, 5.525491428277588, 4.149295425930095, 2.4211140393547583, 0.8958465655403832, 0.0), # 156 (13.559588231430352, 9.748027658561648, 12.035739330910227, 12.362446778520066, 10.984109047780422, 5.394125817869895, 4.296150852928397, 4.134239213019062, 5.9369875780004335, 2.202810583692754, 1.731784473618765, 1.0350373982405456, 0.0, 14.671696248417557, 11.385411380646001, 8.658922368093824, 6.60843175107826, 11.873975156000867, 5.787934898226687, 4.296150852928397, 3.8529470127642105, 5.492054523890211, 4.120815592840023, 2.407147866182046, 0.8861843325965136, 0.0), # 157 (13.43642570352943, 9.636747649274225, 11.960387930853534, 12.27118893522918, 10.912417327045198, 5.366575700132966, 4.252596048835072, 4.1143477142620295, 5.910997254959458, 2.1840146623310153, 1.717678725761683, 1.027139934629151, 0.0, 14.573674546947622, 11.298539280920659, 8.588393628808413, 6.552043986993045, 11.821994509918916, 5.7600867999668415, 4.252596048835072, 3.833268357237833, 5.456208663522599, 4.090396311743061, 2.3920775861707066, 0.8760679681158388, 0.0), # 158 (13.288116180561124, 9.509057777339137, 11.860106727604483, 12.155369164364412, 10.818229571737954, 5.327374130407459, 4.201391487047145, 4.085410149573287, 5.871856356733287, 2.161026447344436, 1.7002250806856987, 1.0172043785524665, 0.0, 14.445769764456351, 11.189248164077128, 8.501125403428492, 6.483079342033307, 11.743712713466573, 5.719574209402602, 4.201391487047145, 3.8052672360053275, 5.409114785868977, 4.051789721454805, 2.372021345520897, 0.8644597979399218, 0.0), # 159 (13.112769770827757, 9.363909602092178, 11.732881436933834, 12.013079639051961, 10.699704157616154, 5.275558360850069, 4.142019373545406, 4.04669939214551, 5.818455136337191, 2.1335425433383026, 1.6791778525828622, 1.0050752923331772, 0.0, 14.285557096008445, 11.055828215664945, 8.39588926291431, 6.400627630014906, 11.636910272674381, 5.665379149003714, 4.142019373545406, 3.7682559720357633, 5.349852078808077, 4.004359879683988, 2.346576287386767, 0.8512645092811072, 0.0), # 160 (12.911799698254727, 9.202249432332774, 11.580070457865464, 11.845672880071582, 10.558071749138534, 5.21175610364883, 4.0749133014061885, 3.9987003998323356, 5.751497860199411, 2.101796186926922, 1.6547224963799123, 0.9908651203361357, 0.0, 14.094673280674375, 10.899516323697492, 8.273612481899562, 6.305388560780765, 11.502995720398822, 5.59818055976527, 4.0749133014061885, 3.722682931177736, 5.279035874569267, 3.9485576266905285, 2.3160140915730927, 0.8365681302120704, 0.0), # 161 (12.686619186767443, 9.025023576860344, 11.403032189423245, 11.654501408203041, 10.394563010763845, 5.1365950709917785, 4.000506863705828, 3.941898130487402, 5.6716887947481816, 2.0660206147246045, 1.6270444670035862, 0.9746863069261941, 0.0, 13.874755057524599, 10.721549376188133, 8.13522233501793, 6.198061844173813, 11.343377589496363, 5.518657382682362, 4.000506863705828, 3.668996479279842, 5.197281505381922, 3.884833802734348, 2.280606437884649, 0.8204566888054858, 0.0), # 162 (12.438641460291295, 8.833178344474314, 11.203125030631053, 11.44091774422611, 10.210408606950825, 5.050702975066952, 3.919233653520661, 3.876777541964344, 5.579732206411743, 2.0264490633456567, 1.5963292193806227, 0.956651296468205, 0.0, 13.627439165629584, 10.523164261150253, 7.9816460969031136, 6.079347190036969, 11.159464412823485, 5.427488558750082, 3.919233653520661, 3.6076449821906795, 5.105204303475412, 3.813639248075371, 2.2406250061262107, 0.8030162131340287, 0.0), # 163 (12.16927974275169, 8.627660043974105, 10.981707380512765, 11.206274408920553, 10.006839202158226, 4.954707528062387, 3.8315272639270197, 3.8038235921168018, 5.476332361618334, 1.9833147694043862, 1.562762208437759, 0.9368725333270206, 0.0, 13.35436234405979, 10.305597866597225, 7.813811042188794, 5.949944308213158, 10.952664723236667, 5.325353028963523, 3.8315272639270197, 3.5390768057588473, 5.003419601079113, 3.735424802973519, 2.1963414761025533, 0.7843327312703733, 0.0), # 164 (11.879947258074031, 8.409414984159142, 10.740137638092254, 10.95192392306614, 9.785085460844787, 4.849236442166116, 3.7378212880012396, 3.7235212387984102, 5.3621935267961875, 1.9368509695151015, 1.5265288891017337, 0.915462461867493, 0.0, 13.057161331885686, 10.070087080542422, 7.632644445508667, 5.810552908545303, 10.724387053592375, 5.2129297343177745, 3.7378212880012396, 3.4637403158329394, 4.892542730422393, 3.6506413076887143, 2.148027527618451, 0.7644922712871949, 0.0), # 165 (11.572057230183715, 8.17938947382885, 10.479774202393392, 10.679218807442627, 9.546378047469258, 4.734917429566179, 3.6385493188196576, 3.636355439862808, 5.2380199683735436, 1.8872909002921108, 1.4878147162992839, 0.8925335264544754, 0.0, 12.737472868177733, 9.817868790999228, 7.4390735814964195, 5.661872700876331, 10.476039936747087, 5.090897615807931, 3.6385493188196576, 3.3820838782615565, 4.773189023734629, 3.5597396024808767, 2.0959548404786785, 0.7435808612571683, 0.0), # 166 (11.24702288300614, 7.938529821782648, 10.201975472440058, 10.389511582829789, 9.291947626490376, 4.6123782024506115, 3.5341449494586072, 3.542811153163632, 5.104515952778639, 1.834867798349722, 1.4468051449571482, 0.8681981714528189, 0.0, 12.396933692006392, 9.550179885981006, 7.23402572478574, 5.504603395049164, 10.209031905557278, 4.959935614429085, 3.5341449494586072, 3.2945558588932937, 4.645973813245188, 3.4631705276099303, 2.040395094488012, 0.7216845292529681, 0.0), # 167 (10.906257440466712, 7.687782336819962, 9.908099847256123, 10.084154770007387, 9.023024862366888, 4.482246473007449, 3.425041772994424, 3.44337333655452, 4.962385746439713, 1.779814900302243, 1.4036856300020644, 0.8425688412273767, 0.0, 12.037180542442131, 9.268257253501142, 7.018428150010321, 5.339444700906728, 9.924771492879426, 4.820722671176328, 3.425041772994424, 3.2016046235767495, 4.511512431183444, 3.361384923335797, 1.9816199694512246, 0.6988893033472693, 0.0), # 168 (10.551174126490828, 7.428093327740216, 9.599505725865463, 9.76450088975519, 8.740840419557543, 4.3451499534247295, 3.3116733825034426, 3.338526947889109, 4.812333615785002, 1.7223654427639818, 1.3586416263607706, 0.8157579801430009, 0.0, 11.659850158555415, 8.97333778157301, 6.793208131803853, 5.167096328291944, 9.624667231570005, 4.673937727044753, 3.3116733825034426, 3.103678538160521, 4.370420209778771, 3.254833629918398, 1.9199011451730927, 0.675281211612747, 0.0), # 169 (10.18318616500389, 7.160409103342831, 9.277551507291953, 9.43190246285296, 8.44662496252108, 4.201716355890488, 3.1944733710619975, 3.228756945021036, 4.655063827242743, 1.6627526623492466, 1.311858588960005, 0.7878780325645439, 0.0, 11.2665792794167, 8.666658358209983, 6.559292944800025, 4.988257987047739, 9.310127654485486, 4.52025972302945, 3.1944733710619975, 3.0012259684932054, 4.22331248126054, 3.1439674876176547, 1.8555103014583907, 0.6509462821220756, 0.0), # 170 (9.8037067799313, 6.88567597242723, 8.943595590559468, 9.087712010080473, 8.141609155716246, 4.052573392592758, 3.0738753317464247, 3.1145482858039375, 4.491280647241173, 1.6012097956723452, 1.2635219727265048, 0.759041442856858, 0.0, 10.859004644096458, 8.349455871425437, 6.317609863632523, 4.803629387017034, 8.982561294482347, 4.360367600125513, 3.0738753317464247, 2.8946952804233987, 4.070804577858123, 3.029237336693492, 1.7887191181118935, 0.6259705429479302, 0.0), # 171 (9.414149195198457, 6.604840243792839, 8.59899637469188, 8.733282052217486, 7.827023663601784, 3.898348775719581, 2.950312857633059, 2.996385928091453, 4.321688342208532, 1.5379700793475863, 1.2138172325870082, 0.7293606553847958, 0.0, 10.438762991665145, 8.022967209232752, 6.069086162935041, 4.613910238042758, 8.643376684417063, 4.194940299328034, 2.950312857633059, 2.7845348397997007, 3.913511831800892, 2.911094017405829, 1.7197992749383764, 0.6004400221629854, 0.0), # 172 (9.015926634730764, 6.31884822623908, 8.245112258713068, 8.369965110043767, 7.504099150636442, 3.739670217458989, 2.824219541798235, 2.874754829737218, 4.146991178573053, 1.4732667499892769, 1.1629298234682535, 0.6989481145132089, 0.0, 10.007491061193234, 7.6884292596452966, 5.8146491173412675, 4.41980024996783, 8.293982357146106, 4.024656761632105, 2.824219541798235, 2.6711930124707064, 3.752049575318221, 2.7899883700145893, 1.6490224517426137, 0.5744407478399164, 0.0), # 173 (8.610452322453618, 6.028646228565374, 7.883301641646902, 7.99911370433908, 7.174066281278959, 3.57716542999902, 2.6960289773182877, 2.7501399485948705, 3.9678934227629785, 1.4073330442117262, 1.1110452002969786, 0.6679162646069503, 0.0, 9.566825591751181, 7.347078910676452, 5.555226001484892, 4.221999132635178, 7.935786845525957, 3.850195928032819, 2.6960289773182877, 2.5551181642850143, 3.5870331406394795, 2.6663712347796937, 1.5766603283293805, 0.5480587480513978, 0.0), # 174 (8.19913948229242, 5.7351805595711465, 7.514922922517262, 7.622080355883197, 6.838155719988082, 3.41146212552771, 2.566174757269552, 2.623026242518047, 3.7850993412065432, 1.3404021986292411, 1.058348817999921, 0.6363775500308723, 0.0, 9.118403322409455, 7.000153050339593, 5.291744089999604, 4.021206595887723, 7.5701986824130865, 3.6722367395252657, 2.566174757269552, 2.4367586610912215, 3.419077859994041, 2.540693451961066, 1.5029845845034526, 0.5213800508701043, 0.0), # 175 (7.783401338172574, 5.43939752805582, 7.141334500348018, 7.240217585455879, 6.497598131222556, 3.2431880162330953, 2.4350904747283635, 2.493898669360387, 3.5993132003319848, 1.2727074498561304, 1.0050261315038191, 0.6044444151498269, 0.0, 8.663860992238513, 6.648888566648095, 5.025130657519095, 3.8181223495683905, 7.1986264006639695, 3.4914581371045417, 2.4350904747283635, 2.3165628687379254, 3.248799065611278, 2.4134058618186267, 1.4282669000696038, 0.49449068436871096, 0.0), # 176 (7.364651114019479, 5.1422434428188195, 6.763894774163046, 6.8548779138368925, 6.1536241794411275, 3.0729708143032117, 2.303209722771056, 2.3632421869755245, 3.411239266567542, 1.2044820345067013, 0.9512625957354108, 0.5722293043286669, 0.0, 8.204835340308824, 6.2945223476153345, 4.756312978677054, 3.6134461035201033, 6.822478533135084, 3.3085390617657344, 2.303209722771056, 2.1949791530737226, 3.0768120897205637, 2.284959304612298, 1.3527789548326095, 0.4674766766198928, 0.0), # 177 (6.944302033758534, 4.8446646126595665, 6.383962142986221, 6.467413861806007, 5.807464529102536, 2.901438231926097, 2.170966094473966, 2.2315417532170994, 3.2215818063414514, 1.1359591891952627, 0.897243665621434, 0.5398446619322442, 0.0, 7.742963105690853, 5.938291281254685, 4.486218328107169, 3.4078775675857873, 6.443163612682903, 3.1241584545039394, 2.170966094473966, 2.072455879947212, 2.903732264551268, 2.1558046206020025, 1.2767924285972443, 0.44042405569632426, 0.0), # 178 (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), # 179 ) passenger_allighting_rate = ( (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 0 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 1 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 2 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 3 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 4 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 5 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 6 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 7 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 8 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 9 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 10 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 11 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 12 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 13 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 14 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 15 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 16 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 17 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 18 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 19 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 20 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 21 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 22 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 23 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 24 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 25 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 26 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 27 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 28 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 29 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 30 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 31 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 32 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 33 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 34 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 35 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 36 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 37 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 38 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 39 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 40 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 41 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 42 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 43 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 44 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 45 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 46 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 47 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 48 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 49 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 50 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 51 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 52 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 53 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 54 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 55 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 56 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 57 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 58 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 59 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 60 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 61 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 62 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 63 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 64 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 65 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 66 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 67 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 68 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 69 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 70 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 71 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 72 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 73 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 74 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 75 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 76 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 77 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 78 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 79 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 80 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 81 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 82 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 83 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 84 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 85 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 86 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 87 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 88 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 89 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 90 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 91 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 92 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 93 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 94 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 95 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 96 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 97 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 98 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 99 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 100 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 101 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 102 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 103 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 104 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 105 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 106 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 107 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 108 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 109 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 110 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 111 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 112 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 113 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 114 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 115 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 116 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 117 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 118 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 119 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 120 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 121 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 122 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 123 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 124 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 125 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 126 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 127 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 128 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 129 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 130 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 131 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 132 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 133 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 134 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 135 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 136 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 137 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 138 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 139 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 140 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 141 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 142 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 143 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 144 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 145 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 146 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 147 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 148 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 149 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 150 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 151 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 152 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 153 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 154 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 155 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 156 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 157 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 158 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 159 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 160 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 161 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 162 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 163 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 164 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 165 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 166 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 167 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 168 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 169 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 170 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 171 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 172 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 173 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 174 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 175 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 176 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 177 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 178 (0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1, 0, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 0.07692307692307693, 1), # 179 ) """ parameters for reproducibiliy. More information: https://numpy.org/doc/stable/reference/random/parallel.html """ #initial entropy entropy = 8991598675325360468762009371570610170 #index for seed sequence child child_seed_index = ( 1, # 0 28, # 1 )
278.35508
490
0.771292
32,987
260,262
6.085034
0.234547
0.355109
0.340761
0.645653
0.366269
0.361112
0.360749
0.360609
0.360609
0.360609
0
0.851058
0.095035
260,262
934
491
278.653105
0.001185
0.015411
0
0.200873
0
0
0
0
0
0
0
0
0
1
0
false
0.005459
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e3eba483068a3c405003dcb2345009672d278c22
26
py
Python
examples/project5/two/c.py
jeanslack/winpackit
44bfebcf2191fbc32acfa4a61e7c53d8a8fbae4d
[ "MIT" ]
2
2021-09-19T21:34:13.000Z
2021-11-25T07:27:29.000Z
examples/project5/two/c.py
jeanslack/winpackit
44bfebcf2191fbc32acfa4a61e7c53d8a8fbae4d
[ "MIT" ]
1
2021-09-19T23:20:02.000Z
2021-09-22T17:35:08.000Z
examples/project5/two/c.py
jeanslack/winpackit
44bfebcf2191fbc32acfa4a61e7c53d8a8fbae4d
[ "MIT" ]
1
2021-09-21T22:01:45.000Z
2021-09-21T22:01:45.000Z
print('this is two/c.py')
13
25
0.653846
6
26
2.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.73913
0
0
0
0
0
0.615385
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
582ca4576b2858a1d52540ea40fda9def2c7b114
30
py
Python
LCDProteus/__init__.py
Hour-Sirak/LCD
8a5269f0e05a21c05937652d4a7ce63db885b22b
[ "MIT" ]
null
null
null
LCDProteus/__init__.py
Hour-Sirak/LCD
8a5269f0e05a21c05937652d4a7ce63db885b22b
[ "MIT" ]
null
null
null
LCDProteus/__init__.py
Hour-Sirak/LCD
8a5269f0e05a21c05937652d4a7ce63db885b22b
[ "MIT" ]
null
null
null
from LCDProteus.lcd import Lcd
30
30
0.866667
5
30
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
5830600372f9f1059a1d380fb95ecf559fb9f11a
134
py
Python
SvnHack.py
hadeseve/INFO-Disclosure-tool
74913a4d46cd0d652a03f41b0e1f1cd2e40efe8e
[ "MIT" ]
null
null
null
SvnHack.py
hadeseve/INFO-Disclosure-tool
74913a4d46cd0d652a03f41b0e1f1cd2e40efe8e
[ "MIT" ]
null
null
null
SvnHack.py
hadeseve/INFO-Disclosure-tool
74913a4d46cd0d652a03f41b0e1f1cd2e40efe8e
[ "MIT" ]
null
null
null
##### #Author: LordCasser #Date: 2020-03-26 12:29:40 #LastEditTime: 2020-03-26 12:29:40 #LastEditors: LordCasser #Description: #####
16.75
34
0.686567
19
134
4.842105
0.631579
0.130435
0.173913
0.217391
0.304348
0.304348
0
0
0
0
0
0.233333
0.104478
134
7
35
19.142857
0.533333
0.828358
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
6
584b30b5f57737cb7ab16680d38e5778632b3d6d
102,019
py
Python
likeyoubot_darkeden.py
dogfooter-master/dogfooter
e1e39375703fe3019af7976f97c44cf2cb7ca0fa
[ "MIT" ]
null
null
null
likeyoubot_darkeden.py
dogfooter-master/dogfooter
e1e39375703fe3019af7976f97c44cf2cb7ca0fa
[ "MIT" ]
null
null
null
likeyoubot_darkeden.py
dogfooter-master/dogfooter
e1e39375703fe3019af7976f97c44cf2cb7ca0fa
[ "MIT" ]
null
null
null
import likeyoubot_game as lybgame import likeyoubot_darkeden_scene as lybscene from likeyoubot_configure import LYBConstant as lybconstant import time import sys import tkinter from tkinter import ttk from tkinter import font import copy class LYBDarkEden(lybgame.LYBGame): work_list = [ '게임 시작', '로그인', '자동 사냥', '메인 퀘스트', '일일 퀘스트', '지역 퀘스트', '종족임무', '일일임무', '결투장', '토벌대', '판매', '분해', '가상수련장', '특수던전', '보상', '이벤트', '길드', '뽑기', '도감', '알림', '[반복 시작]', '[반복 종료]', '[작업 대기]', '[작업 예약]', ''] darkeden_icon_list = [ 'darkeden_icon', 'darkeden_icon_2', ] area_list = [ '에슬라니안 시', '림보성 지역', '드로베타 공단', '브랑코 시티' ] sub_area_list = [ [ '페이악 터널', ], [ '고르고바 터널', ], [ '드로베타 MID', '드로베타 SW', '드로베타 NE', '드로베타 NW', '아이센 던전 B1', '라옴 던전 B1', '드로베타 SE', ], [ '브랑코 MID', '브랑코 NW', ] ] sub_area_dic = { area_list[0]: sub_area_list[0], area_list[1]: sub_area_list[1], area_list[2]: sub_area_list[2], area_list[3]: sub_area_list[3], } sub_area_monster_dic = { sub_area_list[0][0] : [ '선택안함', '미누투스', '디오네아', ], sub_area_list[1][0] : [ '선택안함', '미누투스', '디오네아', ], sub_area_list[2][0] : [ '선택안함', '거터미누투스', '블루케니스', '미스트앵글러', '튜머뮤턴트', '튜커클링커', '인펙티드월딩봇', '인펙티드트랜스포트봇', ], sub_area_list[2][1] : [ '선택안함', '빅맨티스', ], sub_area_list[2][2] : [ '선택안함', '알칸', ], sub_area_list[2][3] : [ '선택안함', '솔져', '인페스트 레이디', ], sub_area_list[2][4] : [ '선택안함', ], sub_area_list[2][5] : [ '선택안함', ], sub_area_list[2][6] : [ '선택안함', '앵글러', ], sub_area_list[3][0] : [ '선택안함', '디케이리서치', ], sub_area_list[3][1] : [ '선택안함', 'B-봇', '세크워치봇', ], } sub_area_npc_dic = { sub_area_list[0][0] : [ '선택안함', ], sub_area_list[1][0] : [ '선택안함', ], sub_area_list[2][0] : [ '선택안함', ], sub_area_list[2][1] : [ '선택안함', ], sub_area_list[2][2] : [ '선택안함', ], sub_area_list[2][3] : [ '선택안함', '애슬라니안 SW', ], sub_area_list[2][4] : [ '선택안함', '아이센 던전 B2', ], sub_area_list[2][5] : [ '선택안함', '라옴 던전 B2', ], sub_area_list[3][0] : [ '선택안함', ], sub_area_list[3][1] : [ '선택안함', ], } item_list = [ '무기', '방어구', '악세사리', '제작재료', ] item_quality_list = [ '일반', '고급', '희귀', '영웅', '전설', ] special_dungeon_list = [ '재료', '경험치', '스킬', '골드', ] difficulty_list = [ '쉬움', '보통', '어려움', ] option_list = [ '강화 아이템 포함', '거래가능 아이템 포함', ] guild_immu_list = [ '길드 레벨업', '부수고 또 부수고', '골드 사용', '포션 사용', '종족임무 수행', '일일퀘스트 수행', '지역퀘스트 완료', ] dungeon_floor_list = [ '선택안함', '아이센 던전 B2', '아이센 던전 B3', '아이센 던전 B4', '라옴 던전 B2', '라옴 던전 B3', '라옴 던전 B4', '라옴 던전 B5', ] dungeon_floor_monster_list = [ [ '선택안함', ], [ '선택안함', '상급 페스트네일', ], [ '선택안함', ], [ '선택안함', '다크헤이즈', '인세이나', ], [ '선택안함', ], [ '선택안함', ], [ '선택안함', ], [ '선택안함', '블런트크래그', '허밋', ], ] dungeon_floor_npc_list = [ [ '선택안함', ], [ '선택안함', '아이센 던전 B3', ], [ '선택안함', '아이센 던전 B4', ], [ '선택안함', '아이센 던전 B3', ], [ '선택안함', '라옴 던전 B3', ], [ '선택안함', '라옴 던전 B4', ], [ '선택안함', '라옴 던전 B5', ], [ '선택안함', ], ] dungeon_floor_monster_dic = { dungeon_floor_list[0]: dungeon_floor_monster_list[0], dungeon_floor_list[1]: dungeon_floor_monster_list[1], dungeon_floor_list[2]: dungeon_floor_monster_list[2], dungeon_floor_list[3]: dungeon_floor_monster_list[3], dungeon_floor_list[4]: dungeon_floor_monster_list[4], dungeon_floor_list[5]: dungeon_floor_monster_list[5], dungeon_floor_list[6]: dungeon_floor_monster_list[6], dungeon_floor_list[7]: dungeon_floor_monster_list[7], } dungeon_floor_npc_dic = { dungeon_floor_list[0]: dungeon_floor_npc_list[0], dungeon_floor_list[1]: dungeon_floor_npc_list[1], dungeon_floor_list[2]: dungeon_floor_npc_list[2], dungeon_floor_list[3]: dungeon_floor_npc_list[3], dungeon_floor_list[4]: dungeon_floor_npc_list[4], dungeon_floor_list[5]: dungeon_floor_npc_list[5], dungeon_floor_list[6]: dungeon_floor_npc_list[6], dungeon_floor_list[7]: dungeon_floor_npc_list[7], } quest_scene_jiyeok_list = [ '드로베타', '브랑코', ] quest_scene_jiyeok_quest_list = [ [ '드로베타 정화8', ], [ '브랑코 정화1', '브랑코 정화2', ] ] quest_scene_jiyeok_quest_dic = { quest_scene_jiyeok_list[0] : quest_scene_jiyeok_quest_list[0], quest_scene_jiyeok_list[1] : quest_scene_jiyeok_quest_list[1], } def __init__(self, game_name, game_data_name, window): lybgame.LYBGame.__init__(self, lybconstant.LYB_GAME_DARKEDEN, lybconstant.LYB_GAME_DATA_DARKEDEN, window) def process(self, window_image): rc = super(LYBDarkEden, self).process(window_image) if rc < 0: return rc return rc def custom_check(self, window_image, window_pixel): resource_name = 'skip_dehwa_loc' elapsed_time = time.time() - self.get_scene('main_scene').get_checkpoint(resource_name) if elapsed_time > self.period_bot(5): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( self.window_image, resource_name, custom_threshold=0.8, custom_flag=1, custom_rect=(710, 335, 790, 360) ) if loc_x != -1: self.get_scene('main_scene').set_checkpoint(resource_name) self.logger.info('대화 스킵: ' + str(match_rate)) self.get_scene('main_scene').lyb_mouse_click_location(loc_x, loc_y) return 'skip' resource_name = 'open_all_loc' (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( self.window_image, resource_name, custom_threshold=0.7, custom_flag=1, custom_rect=(680, 430, 760, 470) ) if loc_x != -1: self.get_scene('main_scene').lyb_mouse_click_location(loc_x, loc_y) return 'skip' resource_name = 'open_ok_loc' (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( self.window_image, resource_name, custom_threshold=0.7, custom_flag=1, custom_rect=(40, 430, 110, 470) ) if loc_x != -1: self.get_scene('main_scene').lyb_mouse_click_location(loc_x, loc_y) return 'skip' resource_name = 'skip_npc_loc' elapsed_time = time.time() - self.get_scene('main_scene').get_checkpoint(resource_name) if elapsed_time > self.period_bot(5): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( self.window_image, resource_name, custom_threshold=0.7, custom_flag=1, custom_rect=(710, 400, 790, 450) ) if loc_x != -1: self.get_scene('main_scene').set_checkpoint(resource_name) self.logger.info('NPC 대화: ' + str(match_rate)) self.get_scene('main_scene').lyb_mouse_click_location(loc_x, loc_y) return 'skip' confirm_list = [ 'confirm_20181129_loc', 'confirm_20181129_1_loc', 'confirm_20190119_loc', 'confirm_20190120_loc', 'download_20190120_loc' ] for resource_name in confirm_list: elapsed_time = time.time() - self.get_scene('main_scene').get_checkpoint(resource_name) if elapsed_time > self.period_bot(3): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( self.window_image, resource_name, custom_threshold=0.8, custom_flag=1, custom_rect=(300, 200, 510, 450) ) # self.logger.warn(resource_name + ' ' + str(match_rate)) if loc_x != -1: self.get_scene('quest_scene').status = 20 self.get_scene('main_scene').set_checkpoint(resource_name) self.logger.info('확인: ' + str(match_rate)) self.get_scene('main_scene').lyb_mouse_click_location(loc_x, loc_y) return 'skip' if self.get_scene('main_scene').current_work == '메인 퀘스트': self.process_tutorial() # 패배! # (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( # self.window_image, # 'defeat_press_key_loc', # custom_below_level=(250, 250, 250), # custom_top_level=(255, 255, 255), # custom_threshold=0.7, # custom_flag=1, # custom_rect=(280, 190, 360, 230) # ) # if loc_x != -1: # self.logger.warn('전투 패배: ' + str(match_rate)) # self.mouse_click('defeat_press_key_0') return '' def get_screen_by_location(self, window_image): scene_name = self.scene_init_screen(window_image) if len(scene_name) > 0: return scene_name scene_name = self.gabang_scene(window_image) if len(scene_name) > 0: return scene_name scene_name = self.gabang_sell_scene(window_image) if len(scene_name) > 0: return scene_name scene_name = self.jido_scene(window_image) if len(scene_name) > 0: return scene_name scene_name = self.upjeok_scene(window_image) if len(scene_name) > 0: return scene_name scene_list = [ 'sangjeom_scene', 'dungeon_scene', 'dejeon_scene', 'gyeoltoojang_scene', 'tobeolde_scene', 'special_dungeon_scene', 'gasang_sooryeonjang_scene', 'gejo_scene', 'special_dungeon_create_scene', 'event_scene', 'character_scene', 'quick_move_gold_scene', 'buy_confirm_scene', 'bosang_scene', 'death_scene', 'quest_scene', 'dogam_scene', ] max_match_rate_scene = '' max_match_rate = 0 # for each_scene, value in self.resource_manager.resource_dic.items(): # if 'scene' in value.resource_type: # (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart2( # self.window_image, # each_scene, # custom_threshold=0.7, # custom_flag=1, # average=True) # # self.logger.warn(each_scene + ' ' + str(match_rate)) # if loc_x != -1: # if max_match_rate < match_rate: # max_match_rate_scene = each_scene # max_match_rate = match_rate for each_scene in scene_list: (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart2( self.window_image, each_scene, custom_threshold=0.7, custom_flag=1, near=64, average=True) # self.logger.warn(each_scene + ' ' + str(match_rate)) if loc_x != -1: if max_match_rate < match_rate: max_match_rate_scene = each_scene max_match_rate = match_rate if len(max_match_rate_scene) > 0: return max_match_rate_scene # scene_name = self.jeontoo_scene(window_image) # if len(scene_name) > 0: # return scene_name # scene_name = self.scene_google_play_account_select(window_image) # if len(scene_name) > 0: # return scene_name if self.get_scene('main_scene').current_work == '메인 퀘스트': self.click_all_tutorial_point() return '' def upjeok_scene(self, window_image): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart2( self.window_image, 'upjeok_scene_loc', custom_threshold=0.7, custom_flag=1, average=True) if loc_x != -1: return 'upjeok_scene' return '' def gabang_sell_scene(self, window_image): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart2( self.window_image, 'gabang_sell_scene_loc', custom_threshold=0.7, custom_flag=1) if loc_x != -1: return 'gabang_sell_scene' return '' def jido_scene(self, window_image): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart2( self.window_image, 'jido_scene_loc', custom_threshold=0.7, custom_flag=1, average=True) if loc_x != -1: return 'jido_scene' return '' def gabang_scene(self, window_image): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart2( self.window_image, 'gabang_scene_loc', custom_flag=1, custom_threshold=0.7, average=True) if loc_x != -1: return 'gabang_scene' return '' def click_all_tutorial_point(self): tutorial_check_threshold = self.get_option('tutorial_check_threshold') if tutorial_check_threshold == None: tutorial_check_threshold = 0 elapsed_time = time.time() - self.get_scene('main_scene').get_checkpoint('tutorial_last_check_time') if elapsed_time > self.period_bot(3): tutorial_check_threshold = 0 self.get_scene('main_scene').set_checkpoint('tutorial_last_check_time') if tutorial_check_threshold > 5: resource_name = 'tutorial_loc' if not resource_name in self.resource_manager.resource_dic: return resource = self.resource_manager.resource_dic[resource_name] tutorial_iterator = self.get_option('tutorial_iterator') if tutorial_iterator is None: tutorial_iterator = 0 if tutorial_iterator >= len(resource): self.set_option('tutorial_check_threshold', 0) self.set_option('tutorial_iterator', 0) else: pb_name = resource[tutorial_iterator] self.set_option('tutorial_iterator', tutorial_iterator + 1) self.logger.debug(pb_name) self.mouse_click(pb_name) self.interval = 0.01 else: self.set_option('tutorial_check_threshold', tutorial_check_threshold + 1) # def jeontoo_scene(self, window_image): # (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( # self.window_image, # 'jeontoo_scene_loc', # custom_below_level=(100, 100, 100), # custom_top_level=(255, 255, 255), # custom_threshold=0.7, # custom_flag=1, # custom_rect=(5, 90, 80, 130) # ) # if match_rate > 0.7: # return 'jeontoo_scene' # return '' def scene_init_screen(self, window_image): loc_x = -1 loc_y = -1 if self.player_type == 'nox': for each_icon in LYBDarkEden.darkeden_icon_list: (loc_x, loc_y), match_rate = self.locationOnWindowPart( window_image, self.resource_manager.pixel_box_dic[each_icon], custom_threshold=0.8, custom_flag=1, custom_rect=(80, 110, 700, 370) ) # print('[DEBUG] nox yh icon:', (loc_x, loc_y), match_rate) if loc_x != -1: break else: for each_icon in LYBDarkEden.darkeden_icon_list: (loc_x, loc_y), match_rate = self.locationOnWindowPart( window_image, self.resource_manager.pixel_box_dic[each_icon], custom_threshold=0.8, custom_flag=1, custom_rect=(30, 10, 740, 370) ) # self.logger.info(each_icon + ' ' + str((loc_x, loc_y)) + ' ' + str(match_rate)) if loc_x != -1: break if loc_x == -1: return '' return 'init_screen_scene' def scene_google_play_account_select(self, window_image): loc_x_list = [] loc_y_list = [] (loc_x, loc_y) = lybgame.LYBGame.locationOnWindow( window_image, self.resource_manager.pixel_box_dic['google_play_letter'] ) loc_x_list.append(loc_x) loc_y_list.append(loc_y) for i in range(6): (loc_x, loc_y) = lybgame.LYBGame.locationOnWindow( window_image, self.resource_manager.pixel_box_dic['google_play_letter_' + str(i)] ) loc_x_list.append(loc_x) loc_y_list.append(loc_y) for each_loc in loc_x_list: if each_loc == -1: return '' else: continue return 'google_play_account_select_scene' def clear_scene(self): last_scene = self.scene_dic self.scene_dic = {} for scene_name, scene in last_scene.items(): if ('google_play_account_select_scene' in scene_name or 'logo_screen_scene' in scene_name or 'connect_account_scene' in scene_name ): self.scene_dic[scene_name] = last_scene[scene_name] def add_scene(self, scene_name): self.scene_dic[scene_name] = lybscene.LYBDarkEdenScene(scene_name) self.scene_dic[scene_name].setLoggingQueue(self.logging_queue) self.scene_dic[scene_name].setGameObject(self) def process_tutorial(self): # resource_name = 'control_pad_tutorial_loc' # elapsed_time = time.time() - self.get_scene('main_scene').get_checkpoint(resource_name) # if elapsed_time > self.period_bot(10): # (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( # self.window_image, # resource_name, # custom_threshold=0.7, # custom_flag=1, # custom_rect=(130, 300, 400, 340) # ) # if loc_x != -1: # self.get_scene('main_scene').set_checkpoint(resource_name) # self.logger.info('콘트롤 패드 튜토리얼: ' + str(match_rate)) # self.get_scene('main_scene').lyb_mouse_drag('pad_direction_center', 'pad_direction_1', stop_delay=2) # return 'skip' resource_name = 'potion_tutorial_loc' elapsed_time = time.time() - self.get_scene('main_scene').get_checkpoint(resource_name) if elapsed_time > self.period_bot(10): (loc_x, loc_y), match_rate = self.locationResourceOnWindowPart( self.window_image, resource_name, custom_threshold=0.7, custom_flag=1, custom_rect=(5, 180, 150, 210), ) if loc_x != -1: self.get_scene('main_scene').set_checkpoint(resource_name) self.logger.info('상점에서 회복 물약 구입' + str(match_rate)) self.get_scene('sangjeom_scene').status = 0 self.get_scene('main_scene').lyb_mouse_click_location(loc_x, loc_y) return 'skip' class LYBDarkEdenTab(lybgame.LYBGameTab): def __init__(self, root_frame, configure, game_options, inner_frame_dics, width, height, game_name=lybconstant.LYB_GAME_DARKEDEN): lybgame.LYBGameTab.__init__(self, root_frame, configure, game_options, inner_frame_dics, width, height, game_name) def set_work_list(self): lybgame.LYBGameTab.set_work_list(self) for each_work in LYBDarkEden.work_list: self.option_dic['work_list_listbox'].insert('end', each_work) self.configure.common_config[self.game_name]['work_list'].append(each_work) def set_option(self): # PADDING frame = ttk.Frame( master=self.master, relief=self.frame_relief ) frame.pack(pady=5) self.inner_frame_dic['options'] = ttk.Frame( master=self.master, relief=self.frame_relief ) self.option_dic['option_note'] = ttk.Notebook( master=self.inner_frame_dic['options'] ) self.inner_frame_dic['common_tab_frame'] = ttk.Frame( master=self.option_dic['option_note'], relief=self.frame_relief ) self.inner_frame_dic['common_tab_frame'].pack(anchor=tkinter.NW, fill=tkinter.BOTH, expand=True) self.option_dic['option_note'].add(self.inner_frame_dic['common_tab_frame'], text='일반') self.inner_frame_dic['work_tab_frame'] = ttk.Frame( master=self.option_dic['option_note'], relief=self.frame_relief ) self.inner_frame_dic['work_tab_frame'].pack(anchor=tkinter.NW, fill=tkinter.BOTH, expand=True) self.option_dic['option_note'].add(self.inner_frame_dic['work_tab_frame'], text='작업') self.inner_frame_dic['notify_tab_frame'] = ttk.Frame( master=self.option_dic['option_note'], relief=self.frame_relief ) self.inner_frame_dic['notify_tab_frame'].pack(anchor=tkinter.NW, fill=tkinter.BOTH, expand=True) self.option_dic['option_note'].add(self.inner_frame_dic['notify_tab_frame'], text='알림') # ------ # 일반 탭 좌측 frame_l = ttk.Frame(self.inner_frame_dic['common_tab_frame']) frame_label = ttk.LabelFrame(frame_l, text='전투') frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('자동 전환 감지 횟수(회)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count'].trace( 'w', lambda *args: self.auto_limit_count(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count') ) combobox_list = [] for i in range(1, 11): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count'] = 5 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'auto_limit_count']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_label = ttk.LabelFrame(frame_l, text='이동') frame = ttk.Frame(frame_label) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'quick_move_gold'] = tkinter.BooleanVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'quick_move_gold'].trace( 'w', lambda *args: self.quick_move_gold(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'quick_move_gold') ) if not lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'quick_move_gold' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'quick_move_gold'] = False check_box = ttk.Checkbutton( master = frame, text = '골드 사용 즉시 이동', variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'quick_move_gold'], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_l.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 일반 탭 중간 frame_m = ttk.Frame(self.inner_frame_dic['common_tab_frame']) frame_label = ttk.LabelFrame(frame_m, text='던전 이동 세부 설정') self.dungeon_floor_monster_combobox = [] self.dungeon_floor_npc_combobox = [] for i in range(6): frame = ttk.Frame(frame_label) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i)] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(i)] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(i)] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(i)] = tkinter.StringVar(frame) combobox_list = LYBDarkEden.dungeon_floor_list if not lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i)] = combobox_list[0] combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i)], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i)]) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) label = ttk.Label( master = frame, text = '>>' ) label.pack(side=tkinter.LEFT) try: area_index = LYBDarkEden.dungeon_floor_list.index(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i)]) combobox_list = LYBDarkEden.dungeon_floor_monster_list[area_index] if not lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(i)] = combobox_list[0] except ValueError: area_index = 0 combobox_list = LYBDarkEden.dungeon_floor_monster_list[area_index] self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(i)] = combobox_list[0] self.dungeon_floor_monster_combobox.append( ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(i)], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) ) self.dungeon_floor_monster_combobox[i].set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(i)]) self.dungeon_floor_monster_combobox[i].pack(anchor=tkinter.W, side=tkinter.LEFT) try: area_index = LYBDarkEden.dungeon_floor_list.index(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(i)]) combobox_list = LYBDarkEden.dungeon_floor_npc_list[area_index] if not lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(i)] = combobox_list[0] except ValueError: area_index = 0 combobox_list = LYBDarkEden.dungeon_floor_npc_list[area_index] self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(i)] = combobox_list[0] self.dungeon_floor_npc_combobox.append( ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(i)], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) ) self.dungeon_floor_npc_combobox[i].set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(i)]) self.dungeon_floor_npc_combobox[i].pack(anchor=tkinter.W, side=tkinter.LEFT) combobox_list = [] for j in range(1, 5): combobox_list.append(str(j)) if not lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(i)] = 1 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(i)], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(i)]) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) if i == 0: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(0)].trace( 'w', lambda *args: self.dungeon_floor_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(0)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(0)].trace( 'w', lambda *args: self.dungeon_floor_monster_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(0)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(0)].trace( 'w', lambda *args: self.dungeon_floor_npc_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(0)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(0)].trace( 'w', lambda *args: self.dungeon_floor_order_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(0)) ) elif i == 1: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(1)].trace( 'w', lambda *args: self.dungeon_floor_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(1)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(1)].trace( 'w', lambda *args: self.dungeon_floor_monster_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(1)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(1)].trace( 'w', lambda *args: self.dungeon_floor_npc_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(1)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(1)].trace( 'w', lambda *args: self.dungeon_floor_order_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(1)) ) elif i == 2: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(2)].trace( 'w', lambda *args: self.dungeon_floor_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(2)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(2)].trace( 'w', lambda *args: self.dungeon_floor_monster_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(2)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(2)].trace( 'w', lambda *args: self.dungeon_floor_npc_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(2)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(2)].trace( 'w', lambda *args: self.dungeon_floor_order_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(2)) ) elif i == 3: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(3)].trace( 'w', lambda *args: self.dungeon_floor_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(3)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(3)].trace( 'w', lambda *args: self.dungeon_floor_monster_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(3)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(3)].trace( 'w', lambda *args: self.dungeon_floor_npc_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(3)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(3)].trace( 'w', lambda *args: self.dungeon_floor_order_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(3)) ) elif i == 4: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(4)].trace( 'w', lambda *args: self.dungeon_floor_4(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(4)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(4)].trace( 'w', lambda *args: self.dungeon_floor_monster_4(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(4)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(4)].trace( 'w', lambda *args: self.dungeon_floor_npc_4(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(4)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(4)].trace( 'w', lambda *args: self.dungeon_floor_order_4(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(4)) ) elif i == 5: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(5)].trace( 'w', lambda *args: self.dungeon_floor_5(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor' + str(5)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(5)].trace( 'w', lambda *args: self.dungeon_floor_monster_5(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(5)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(5)].trace( 'w', lambda *args: self.dungeon_floor_npc_5(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(5)) ) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(5)].trace( 'w', lambda *args: self.dungeon_floor_order_5(args, lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_order' + str(5)) ) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_m.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 일반 탭 우측 frame_r = ttk.Frame(self.inner_frame_dic['common_tab_frame']) frame_r.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 작업 탭 좌측 frame_l = ttk.Frame(self.inner_frame_dic['work_tab_frame']) frame_label = ttk.LabelFrame(frame_l, text='자동 사냥') frame = ttk.Frame(frame_label) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_party'] = tkinter.BooleanVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_party'].trace( 'w', lambda *args: self.auto_party(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_party') ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_party' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_party'] = False check_box = ttk.Checkbutton( master = frame, text = '파티 초대', variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_party'], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jiyeok'] = tkinter.BooleanVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jiyeok'].trace( 'w', lambda *args: self.auto_jiyeok(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jiyeok') ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jiyeok' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jiyeok'] = False check_box = ttk.Checkbutton( master = frame, text = '지역 퀘스트', variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jiyeok'], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok'] = tkinter.BooleanVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok'].trace( 'w', lambda *args: self.auto_jongjok(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok') ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok'] = False check_box = ttk.Checkbutton( master = frame, text = '종족 퀘스트', variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok'], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('클릭할 인식 순서(번째)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order'].trace( 'w', lambda *args: self.auto_order(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order') ) combobox_list = [] for i in range(1, 5): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order'] = 1 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_order']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('진행 시간(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration'].trace( 'w', lambda *args: self.auto_duration(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration') ) combobox_list = [] for i in range(0, 86401, 60): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration'] = 3600 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_duration']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('판매 체크 주기(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period'].trace( 'w', lambda *args: self.auto_sell_period(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period') ) combobox_list = [] for i in range(0, 3601): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period'] = 300 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sell_period']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('분해 체크 주기(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period'].trace( 'w', lambda *args: self.auto_bunhe_period(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period') ) combobox_list = [] for i in range(0, 3601): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period'] = 300 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_bunhe_period']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('일일 퀘스트 체크 주기(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period'].trace( 'w', lambda *args: self.auto_ilil_quest_period(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period') ) combobox_list = [] for i in range(0, 3601): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period'] = 1800 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_ilil_quest_period']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('도감 체크 주기(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period'].trace( 'w', lambda *args: self.auto_dogam_period(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period') ) combobox_list = [] for i in range(0, 3601): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period'] = 1200 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_dogam_period']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('종족 퀘스트 수행 횟수(회)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count'].trace( 'w', lambda *args: self.auto_jongjok_quest_count(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count') ) combobox_list = [] for i in range(0, 101): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count'] = 10 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_jongjok_quest_count']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('월드맵 체크 주기(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period'].trace( 'w', lambda *args: self.auto_move_check_period(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period') ) combobox_list = [] for i in range(0, 3601): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period'] = 120 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_move_check_period']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('월드맵(대분류)', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area'].trace( 'w', lambda *args: self.auto_area(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area') ) combobox_list = LYBDarkEden.area_list if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area'] = combobox_list[0] combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('지역맵(중분류)', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area'].trace( 'w', lambda *args: self.auto_sub_area(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area') ) try: area_index = LYBDarkEden.area_list.index(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_area']) combobox_list = LYBDarkEden.sub_area_list[area_index] if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area'] = combobox_list[0] except ValueError: area_index = 0 combobox_list = LYBDarkEden.sub_area_list[area_index] self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area'] = combobox_list[0] self.auto_sub_area_combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) self.auto_sub_area_combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area']) self.auto_sub_area_combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('몬스터(소분류1)', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster'].trace( 'w', lambda *args: self.auto_monster(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster') ) combobox_list = LYBDarkEden.sub_area_monster_dic[self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area']] if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster'] = combobox_list[0] self.auto_monster_combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) self.auto_monster_combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster']) self.auto_monster_combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('NPC/포탈(소분류2)', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc'].trace( 'w', lambda *args: self.auto_npc(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc') ) combobox_list = LYBDarkEden.sub_area_npc_dic[self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area']] if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc'] = combobox_list[0] self.auto_npc_combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) self.auto_npc_combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc']) self.auto_npc_combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_label = ttk.LabelFrame(frame_l, text='특수던전') frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('던전 선택', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon'].trace( 'w', lambda *args: self.special_dungeon(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon') ) combobox_list = LYBDarkEden.special_dungeon_list if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon'] = combobox_list[1] combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('난이도 선택', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty'].trace( 'w', lambda *args: self.special_dungeon_difficulty(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty') ) combobox_list = LYBDarkEden.difficulty_list if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty'] = combobox_list[1] combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'special_dungeon_difficulty']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_l.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 작업 탭 중간 frame_m = ttk.Frame(self.inner_frame_dic['work_tab_frame']) frame_label = ttk.LabelFrame(frame_m, text='판매') frame = ttk.Frame(frame_label) for i in range(len(LYBDarkEden.item_list)): self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(i)] = tkinter.BooleanVar(frame) if i == 0: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(0)].trace( 'w', lambda *args: self.sell_item_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(0)) ) elif i == 1: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(1)].trace( 'w', lambda *args: self.sell_item_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(1)) ) elif i == 2: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(2)].trace( 'w', lambda *args: self.sell_item_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(2)) ) elif i == 3: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(3)].trace( 'w', lambda *args: self.sell_item_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(3)) ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(i)] = False check_box = ttk.Checkbutton( master = frame, text = LYBDarkEden.item_list[i], variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_' + str(i)], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) for i in range(len(LYBDarkEden.item_quality_list)): self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(i)] = tkinter.BooleanVar(frame) if i == 0: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(0)].trace( 'w', lambda *args: self.sell_item_quality_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(0)) ) elif i == 1: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(1)].trace( 'w', lambda *args: self.sell_item_quality_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(1)) ) elif i == 2: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(2)].trace( 'w', lambda *args: self.sell_item_quality_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(2)) ) elif i == 3: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(3)].trace( 'w', lambda *args: self.sell_item_quality_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(3)) ) elif i == 4: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(4)].trace( 'w', lambda *args: self.sell_item_quality_4(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(4)) ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(i)] = False check_box = ttk.Checkbutton( master = frame, text = LYBDarkEden.item_quality_list[i], variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'sell_item_quality_' + str(i)], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_label = ttk.LabelFrame(frame_m, text='분해') frame = ttk.Frame(frame_label) for i in range(len(LYBDarkEden.option_list)): self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(i)] = tkinter.BooleanVar(frame) if i == 0: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(0)].trace( 'w', lambda *args: self.bunhe_option_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(0)) ) elif i == 1: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(1)].trace( 'w', lambda *args: self.bunhe_option_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(1)) ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(i)] = False check_box = ttk.Checkbutton( master = frame, text = LYBDarkEden.option_list[i], variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_option_' + str(i)], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) for i in range(len(LYBDarkEden.item_quality_list)): self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(i)] = tkinter.BooleanVar(frame) if i == 0: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(0)].trace( 'w', lambda *args: self.bunhe_item_quality_0(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(0)) ) elif i == 1: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(1)].trace( 'w', lambda *args: self.bunhe_item_quality_1(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(1)) ) elif i == 2: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(2)].trace( 'w', lambda *args: self.bunhe_item_quality_2(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(2)) ) elif i == 3: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(3)].trace( 'w', lambda *args: self.bunhe_item_quality_3(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(3)) ) elif i == 4: self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(4)].trace( 'w', lambda *args: self.bunhe_item_quality_4(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(4)) ) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(i) in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(i)] = False check_box = ttk.Checkbutton( master = frame, text = LYBDarkEden.item_quality_list[i], variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'bunhe_item_quality_' + str(i)], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_label = ttk.LabelFrame(frame_m, text='길드') frame = ttk.Frame(frame_label) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'guild_immu'] = tkinter.BooleanVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'guild_immu'].trace( 'w', lambda *args: self.guild_immu(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'guild_immu' )) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'guild_immu' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'guild_immu'] = True check_box = ttk.Checkbutton( master = frame, text = '길드 임무', variable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'guild_immu'], onvalue = True, offvalue = False ) check_box.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_m.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 작업 탭 우측 frame_r = ttk.Frame(self.inner_frame_dic['work_tab_frame']) frame_label = ttk.LabelFrame(frame_r, text='메인 퀘스트') frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('진행 시간(초)', width=27) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration'].trace( 'w', lambda *args: self.main_quest_duration(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration') ) combobox_list = [] for i in range(0, 86401, 60): combobox_list.append(str(i)) if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration'] = 3600 combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration'], state = "readonly", height = 10, width = 7, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'main_quest_duration']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_label = ttk.LabelFrame(frame_r, text='지역 퀘스트') frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('지역(대분류)', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area'].trace( 'w', lambda *args: self.jiyeok_quest_area(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area') ) combobox_list = LYBDarkEden.quest_scene_jiyeok_list if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area'] = combobox_list[0] combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area']) combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame = ttk.Frame(frame_label) label = ttk.Label( master = frame, text = self.get_option_text('퀘스트(중분류)', width=19) ) label.pack(side=tkinter.LEFT) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select'] = tkinter.StringVar(frame) self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select'].trace( 'w', lambda *args: self.jiyeok_quest_select(args, lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select') ) try: area_index = LYBDarkEden.quest_scene_jiyeok_list.index(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_area']) combobox_list = LYBDarkEden.quest_scene_jiyeok_quest_list[area_index] if not lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select' in self.configure.common_config[self.game_name]: self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select'] = combobox_list[0] except ValueError: area_index = 0 combobox_list = LYBDarkEden.quest_scene_jiyeok_quest_list[area_index] self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select'] = combobox_list[0] self.jiyeok_quest_select_combobox = ttk.Combobox( master = frame, values = combobox_list, textvariable = self.option_dic[lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select'], state = "readonly", height = 10, width = 15, font = lybconstant.LYB_FONT ) self.jiyeok_quest_select_combobox.set(self.configure.common_config[self.game_name][lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select']) self.jiyeok_quest_select_combobox.pack(anchor=tkinter.W, side=tkinter.LEFT) frame.pack(anchor=tkinter.W) frame_label.pack(anchor=tkinter.NW, padx=5, pady=5) frame_r.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 알림 탭 좌 frame_l = ttk.Frame(self.inner_frame_dic['notify_tab_frame']) frame_l.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 알림 탭 중 frame_m = ttk.Frame(self.inner_frame_dic['notify_tab_frame']) frame_m.pack(side=tkinter.LEFT, anchor=tkinter.NW) # 알림 탭 우 frame_r = ttk.Frame(self.inner_frame_dic['notify_tab_frame']) frame_r.pack(side=tkinter.LEFT, anchor=tkinter.NW) # ------ self.option_dic['option_note'].pack(anchor=tkinter.NW, fill=tkinter.BOTH, expand=True) self.inner_frame_dic['options'].pack(anchor=tkinter.NW, fill=tkinter.BOTH, expand=True) self.set_game_option() def auto_duration(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_sell_period(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_bunhe_period(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_ilil_quest_period(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_dogam_period(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_jongjok_quest_count(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_move_check_period(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_area(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.sub_area_dic[self.option_dic[option_name].get()] self.auto_sub_area_combobox['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_sub_area') in new_list: self.auto_sub_area_combobox.set(new_list[0]) except KeyError: pass def auto_sub_area(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.sub_area_monster_dic[self.option_dic[option_name].get()] self.auto_monster_combobox['values'] = new_list # self.logger.warn("DEBUG1: " + self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'elite_quest_go')) if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_monster') in new_list: self.auto_monster_combobox.set(new_list[0]) new_list = LYBDarkEden.sub_area_npc_dic[self.option_dic[option_name].get()] self.auto_npc_combobox['values'] = new_list # self.logger.warn("DEBUG1: " + self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'elite_quest_go')) try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'auto_npc') in new_list: self.auto_npc_combobox.set(new_list[0]) except KeyError: pass # if not self.elite_quest_go_combobox.get() in new_list: # self.elite_quest_go_combobox.set(new_list[0]) # for i in range(5): # # self.logger.warn("DEBUG2: " + self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'elite_quest_accept' + str(i))) # self.elite_quest_accept_combobox[i]['values'] = new_list # if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'elite_quest_accept' + str(i)) in new_list: # self.elite_quest_accept_combobox[i].set(new_list[0]) # # if not self.elite_quest_accept_combobox[i].get() in new_list: # # self.elite_quest_accept_combobox[i].set( new_list[0]) def dungeon_floor_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.dungeon_floor_monster_dic[self.option_dic[option_name].get()] self.dungeon_floor_monster_combobox[0]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(0)) in new_list: self.dungeon_floor_monster_combobox[0].set(new_list[0]) except KeyError: pass new_list = LYBDarkEden.dungeon_floor_npc_dic[self.option_dic[option_name].get()] self.dungeon_floor_npc_combobox[0]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(0)) in new_list: self.dungeon_floor_npc_combobox[0].set(new_list[0]) except KeyError: pass def dungeon_floor_monster_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_npc_combobox[0].set(self.dungeon_floor_npc_combobox[0]['values'][0]) except KeyError: pass def dungeon_floor_npc_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_monster_combobox[0].set(self.dungeon_floor_monster_combobox[0]['values'][0]) except KeyError: pass def dungeon_floor_order_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def dungeon_floor_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.dungeon_floor_monster_dic[self.option_dic[option_name].get()] self.dungeon_floor_monster_combobox[1]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(1)) in new_list: self.dungeon_floor_monster_combobox[1].set(new_list[0]) except KeyError: pass new_list = LYBDarkEden.dungeon_floor_npc_dic[self.option_dic[option_name].get()] self.dungeon_floor_npc_combobox[1]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(1)) in new_list: self.dungeon_floor_npc_combobox[1].set(new_list[0]) except KeyError: pass def dungeon_floor_monster_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_npc_combobox[1].set(self.dungeon_floor_npc_combobox[1]['values'][0]) except KeyError: pass def dungeon_floor_npc_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_monster_combobox[1].set(self.dungeon_floor_monster_combobox[1]['values'][0]) except KeyError: pass def dungeon_floor_order_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def dungeon_floor_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.dungeon_floor_monster_dic[self.option_dic[option_name].get()] self.dungeon_floor_monster_combobox[2]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(2)) in new_list: self.dungeon_floor_monster_combobox[2].set(new_list[0]) except KeyError: pass new_list = LYBDarkEden.dungeon_floor_npc_dic[self.option_dic[option_name].get()] self.dungeon_floor_npc_combobox[2]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(2)) in new_list: self.dungeon_floor_npc_combobox[2].set(new_list[0]) except KeyError: pass def dungeon_floor_monster_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_npc_combobox[2].set(self.dungeon_floor_npc_combobox[2]['values'][0]) except KeyError: pass def dungeon_floor_npc_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_monster_combobox[2].set(self.dungeon_floor_monster_combobox[2]['values'][0]) except KeyError: pass def dungeon_floor_order_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def dungeon_floor_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.dungeon_floor_monster_dic[self.option_dic[option_name].get()] self.dungeon_floor_monster_combobox[3]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(3)) in new_list: self.dungeon_floor_monster_combobox[3].set(new_list[0]) except KeyError: pass new_list = LYBDarkEden.dungeon_floor_npc_dic[self.option_dic[option_name].get()] self.dungeon_floor_npc_combobox[3]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(3)) in new_list: self.dungeon_floor_npc_combobox[3].set(new_list[0]) except KeyError: pass def dungeon_floor_monster_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_npc_combobox[3].set(self.dungeon_floor_npc_combobox[3]['values'][0]) except KeyError: pass def dungeon_floor_npc_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_monster_combobox[3].set(self.dungeon_floor_monster_combobox[3]['values'][0]) except KeyError: pass def dungeon_floor_order_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def dungeon_floor_4(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.dungeon_floor_monster_dic[self.option_dic[option_name].get()] self.dungeon_floor_monster_combobox[4]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(4)) in new_list: self.dungeon_floor_monster_combobox[4].set(new_list[0]) except KeyError: pass new_list = LYBDarkEden.dungeon_floor_npc_dic[self.option_dic[option_name].get()] self.dungeon_floor_npc_combobox[4]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(4)) in new_list: self.dungeon_floor_npc_combobox[4].set(new_list[0]) except KeyError: pass def dungeon_floor_monster_4(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_npc_combobox[4].set(self.dungeon_floor_npc_combobox[4]['values'][0]) except KeyError: pass def dungeon_floor_npc_4(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_monster_combobox[4].set(self.dungeon_floor_monster_combobox[4]['values'][0]) except KeyError: pass def dungeon_floor_order_4(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def dungeon_floor_5(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.dungeon_floor_monster_dic[self.option_dic[option_name].get()] self.dungeon_floor_monster_combobox[5]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_monster' + str(5)) in new_list: self.dungeon_floor_monster_combobox[5].set(new_list[0]) except KeyError: pass new_list = LYBDarkEden.dungeon_floor_npc_dic[self.option_dic[option_name].get()] self.dungeon_floor_npc_combobox[5]['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_ETC + 'dungeon_floor_npc' + str(5)) in new_list: self.dungeon_floor_npc_combobox[5].set(new_list[0]) except KeyError: pass def dungeon_floor_monster_5(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_npc_combobox[5].set(self.dungeon_floor_npc_combobox[5]['values'][0]) except KeyError: pass def dungeon_floor_npc_5(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) try: if self.option_dic[option_name].get() != '선택안함': self.dungeon_floor_monster_combobox[5].set(self.dungeon_floor_monster_combobox[5]['values'][0]) except KeyError: pass def dungeon_floor_order_5(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def quick_move_gold(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def main_quest_duration(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_limit_count(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_monster(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_npc(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def special_dungeon(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def special_dungeon_difficulty(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_party(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_jiyeok(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_jongjok(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def auto_order(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_quality_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_quality_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_quality_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_quality_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def sell_item_quality_4(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_option_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_option_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_item_quality_0(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_item_quality_1(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_item_quality_2(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_item_quality_3(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def bunhe_item_quality_4(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def guild_immu(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) def jiyeok_quest_area(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get()) new_list = LYBDarkEden.quest_scene_jiyeok_quest_dic[self.option_dic[option_name].get()] self.jiyeok_quest_select_combobox['values'] = new_list try: if not self.get_game_config(lybconstant.LYB_DO_STRING_DARKEDEN_WORK + 'jiyeok_quest_select') in new_list: self.jiyeok_quest_select_combobox.set(new_list[0]) except KeyError: pass def jiyeok_quest_select(self, args, option_name): self.set_game_config(option_name, self.option_dic[option_name].get())
45.483281
178
0.603231
12,237
102,019
4.661927
0.038735
0.080248
0.084701
0.116463
0.91884
0.898489
0.882625
0.857015
0.8286
0.785514
0
0.013067
0.296386
102,019
2,243
179
45.483281
0.781672
0.033082
0
0.475248
0
0
0.079622
0.015484
0
0
0
0
0
1
0.044004
false
0.014851
0.004951
0
0.077558
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
586f50a7a0afae1f1844d9526c7e6a665b4ab89c
12,688
py
Python
bullets.py
nckackerman/Tank-d
9c7818c1229dac16250a1dedb9a4f83b2273711b
[ "WTFPL" ]
null
null
null
bullets.py
nckackerman/Tank-d
9c7818c1229dac16250a1dedb9a4f83b2273711b
[ "WTFPL" ]
null
null
null
bullets.py
nckackerman/Tank-d
9c7818c1229dac16250a1dedb9a4f83b2273711b
[ "WTFPL" ]
null
null
null
import pygame import Lists import constants import colors import player import math import pointGains bulletWidth = 3 bulletHeight = 8 straightSpeed = 5 diagonalBulletSpeed = 3.5 shotDir = 0 class bullet(pygame.sprite.Sprite): def __init__(self,width,height,xVel,yVel,color,posX,posY): # Call the parent class (Sprite) constructor pygame.sprite.Sprite.__init__(self) self.image = pygame.Surface([width,height]) self.image.fill(color) self.rect = self.image.get_rect() self.xVel = xVel self.yVel = yVel self.image = self.image.convert() self.initX = posX self.initY = posY def update(self): # Move the bullet up 5 pixels self.rect.y -= self.yVel self.rect.x -= self.xVel def spawnBullets(xSpeed,ySpeed,posX,posY): if constants.activeMode != 2 or constants.playerColor == 0: color = colors.BLUE else: color = colors.RED if xSpeed == 0: #leftbullet bullet1 = bullet(bulletWidth,bulletHeight,xSpeed,ySpeed,color,posX,posY) #right bullet bullet2 = bullet(bulletWidth,bulletHeight,xSpeed,ySpeed,color,posX,posY) bullet1.rect.x = posX bullet1.rect.y = posY bullet2.rect.x = posX + player.playerWidth-bulletWidth bullet2.rect.y = posY else: #Upbullet bullet1 = bullet(bulletHeight,bulletWidth,xSpeed,ySpeed,color,posX,posY) #downbullet bullet2 = bullet(bulletHeight,bulletWidth,xSpeed,ySpeed,color,posX,posY) bullet1.rect.x = posX bullet1.rect.y = posY bullet2.rect.x = posX bullet2.rect.y = posY + player.playerHeight-bulletWidth if constants.activeMode != 2: Lists.bullet_list.add(bullet1) Lists.bullet_list.add(bullet2) else: if constants.playerColor == 0: Lists.blue_bullet_list.add(bullet1) Lists.blue_bullet_list.add(bullet2) else: Lists.red_bullet_list.add(bullet1) Lists.red_bullet_list.add(bullet2) Lists.all_sprites_list.add(bullet1) Lists.all_sprites_list.add(bullet2) Lists.bullet_list.add(bullet1) Lists.bullet_list.add(bullet2) # Add the bullet to the lists def spawnOneBullet(xSpeed,ySpeed,posX,posY): if constants.activeMode == 0 or constants.playerColor == 0: color = colors.BLUE else: color = colors.RED if xSpeed == 0: singleBullet = bullet(bulletWidth,bulletHeight,xSpeed,ySpeed,color,posX,posY) singleBullet.rect.x = posX singleBullet.rect.y = posY Lists.bullet_list.add(singleBullet) Lists.all_sprites_list.add(singleBullet) elif ySpeed == 0: singleBullet = bullet(bulletHeight,bulletWidth,xSpeed,ySpeed,color,posX,posY) singleBullet.rect.x = posX singleBullet.rect.y = posY Lists.bullet_list.add(singleBullet) Lists.all_sprites_list.add(singleBullet) else: singleBullet = bullet(bulletHeight,bulletWidth,xSpeed,ySpeed,color,posX,posY) singleBullet.rect.x = posX singleBullet.rect.y = posY Lists.bullet_list.add(singleBullet) Lists.all_sprites_list.add(singleBullet) # Add the bullet to the lists def removeBullets(): #removes bullets that go off the screen # if constants.activeMode != 2: for thisBullet in Lists.bullet_list: if thisBullet.rect.y <constants.player.rect.y - 200: thisBullet.kill() if thisBullet.rect.y >constants.player.rect.y + 200 : thisBullet.kill() elif thisBullet.rect.x >constants.player.rect.x + 200: thisBullet.kill() elif thisBullet.rect.x < constants.player.rect.x - 200: thisBullet.kill() # else: # for thisBullet in Lists.bullet_list: # if thisBullet.rect.y <constants.menu_height: # thisBullet.yVel = -math.fabs(thisBullet.yVel) # if thisBullet.rect.y >constants.screen_height+constants.menu_height: # thisBullet.yVel = math.fabs(thisBullet.yVel) # elif thisBullet.rect.x > constants.screen_width: # thisBullet.xVel = math.fabs(thisBullet.xVel) # elif thisBullet.rect.x < 0: # thisBullet.xVel = -math.fabs(thisBullet.xVel) def removeTitleBullets(): #removes bullets that go off the screen for thisBullet in Lists.introScreenListBullets: if thisBullet.rect.y <constants.menu_height: thisBullet.kill() if thisBullet.rect.y >constants.screen_height+constants.menu_height: thisBullet.kill() elif thisBullet.rect.x > constants.screen_width: thisBullet.kill() elif thisBullet.rect.x < 0: thisBullet.kill() def bulletHitEnemy(pg): if constants.activeMode != 2: for bullet in Lists.bullet_list: Lists.bullet_hit_list = pygame.sprite.spritecollide(bullet, Lists.Enemy_list, True) thisBullet = bullet for bullet in Lists.bullet_hit_list: thisBullet.kill() constants.score += 10 pointGains.spawnNewPoints(colors.WHITE,thisBullet.rect.x,thisBullet.rect.y,10,pygame.time.get_ticks(),pg) # Lists.startAnimateTimes_list.append(pygame.time.get_ticks()) # Lists.pointFade_List.append(thisBullet.rect.y) # Lists.pointFade_List.append(thisBullet.rect.x) else: for bullet in Lists.red_bullet_list: Lists.red_bullet_hit_list = pygame.sprite.spritecollide(bullet, Lists.Blue_Enemy_list, True) thisBullet = bullet for bullet in Lists.red_bullet_hit_list: thisBullet.kill() constants.score += 10 Lists.startAnimateTimes_list.append(pygame.time.get_ticks()) Lists.pointFade_List.append(thisBullet.rect.y) Lists.pointFade_List.append(thisBullet.rect.x) for bullet in Lists.blue_bullet_list: Lists.blue_bullet_hit_list = pygame.sprite.spritecollide(bullet, Lists.Red_Enemy_list, True) thisBullet = bullet for bullet in Lists.blue_bullet_hit_list: thisBullet.kill() constants.score += 10 Lists.startAnimateTimes_list.append(pygame.time.get_ticks()) Lists.pointFade_List.append(thisBullet.rect.y) Lists.pointFade_List.append(thisBullet.rect.x) def fireWave(gamePlayer): # shoot up if constants.shotDir == 0 or constants.shotDir == constants.currHoldU: spawnBullets(0,straightSpeed,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(0,straightSpeed,gamePlayer.rect.x + constants.playerSpawnX,gamePlayer.rect.y - constants.playerSpawnY/2) spawnOneBullet(0,straightSpeed,gamePlayer.rect.x - constants.playerSpawnX/2,gamePlayer.rect.y - constants.playerSpawnY/2) ##this code will make 6 bullets come out instead of 4 #spawnOneBullet(0,straightSpeed,gamePlayer.rect.x + constants.playerSpawnX*1.5,gamePlayer.rect.y - constants.playerSpawnY) #spawnOneBullet(0,straightSpeed,gamePlayer.rect.x - constants.playerSpawnX,gamePlayer.rect.y - constants.playerSpawnY) # Shoot right elif constants.shotDir == 1 or constants.shotDir == constants.currHoldR: spawnBullets(-straightSpeed,0,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(-straightSpeed,0,gamePlayer.rect.x + constants.playerSpawnX/2,gamePlayer.rect.y - constants.playerSpawnY/2) spawnOneBullet(-straightSpeed,0,gamePlayer.rect.x + constants.playerSpawnX/2,gamePlayer.rect.y + constants.playerSpawnY) # Shoot down elif constants.shotDir == 2 or constants.shotDir == constants.currHoldD: spawnBullets(0,-straightSpeed,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(0,-straightSpeed,gamePlayer.rect.x + constants.playerSpawnX,gamePlayer.rect.y + constants.playerSpawnY/2) spawnOneBullet(0,-straightSpeed,gamePlayer.rect.x - constants.playerSpawnX/2,gamePlayer.rect.y + constants.playerSpawnY/2) # shoot left! elif constants.shotDir == 3 or constants.shotDir == constants.currHoldL: spawnBullets(straightSpeed,0,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(straightSpeed,0,gamePlayer.rect.x - constants.playerSpawnX/2,gamePlayer.rect.y - constants.playerSpawnY/2) spawnOneBullet(straightSpeed,0,gamePlayer.rect.x - constants.playerSpawnX/2,gamePlayer.rect.y + constants.playerSpawnY) #Up right bullet elif constants.shotDir == constants.currHoldU+constants.currHoldR: spawnBullets(-diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y + constants.playerSpawnY/4) spawnOneBullet(-diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x + constants.playerSpawnX/4,gamePlayer.rect.y - constants.playerSpawnY/2) spawnOneBullet(-diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x + constants.playerSpawnX/1.5,gamePlayer.rect.y + constants.playerSpawnY*1.25) #UP Left bullet elif constants.shotDir == constants.currHoldU+constants.currHoldL: spawnBullets(diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x - constants.playerSpawnX/3,gamePlayer.rect.y - constants.playerSpawnY/1.5) spawnOneBullet(diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x - constants.playerSpawnX/1.5,gamePlayer.rect.y + constants.playerSpawnY) #Down Left bullet elif constants.shotDir == constants.currHoldD+constants.currHoldL: spawnBullets(diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x - constants.playerSpawnX/2,gamePlayer.rect.y - constants.playerSpawnY/2) spawnOneBullet(diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x - constants.playerSpawnX/3,gamePlayer.rect.y + constants.playerSpawnY*1.25) #Down Right bullet elif constants.shotDir == constants.currHoldD+constants.currHoldR: spawnBullets(-diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) spawnOneBullet(-diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x + constants.playerSpawnX/1.5,gamePlayer.rect.y - constants.playerSpawnY/2) spawnOneBullet(-diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x + constants.playerSpawnX/2,gamePlayer.rect.y + constants.playerSpawnY*1.25) #default to handle any odd occurences else: spawnBullets(-diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) def fireNorm(gamePlayer): if constants.shotDir == 0: spawnBullets(0,straightSpeed,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == 1: spawnBullets(-straightSpeed,0,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == 2: spawnBullets(0,-straightSpeed,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == 3: spawnBullets(straightSpeed,0,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == constants.currHoldL: spawnBullets(straightSpeed,0,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == constants.currHoldD: spawnBullets(0,-straightSpeed,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == constants.currHoldR: spawnBullets(-straightSpeed,0,gamePlayer.rect.x,gamePlayer.rect.y) elif constants.shotDir == constants.currHoldU: spawnBullets(0,straightSpeed,gamePlayer.rect.x,gamePlayer.rect.y) #Up right bullet elif constants.shotDir == constants.currHoldU+constants.currHoldR: spawnBullets(-diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) #UP Left bullet elif constants.shotDir == constants.currHoldU+constants.currHoldL: spawnBullets(diagonalBulletSpeed,diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) #Down Left bullet elif constants.shotDir == constants.currHoldD+constants.currHoldL: spawnBullets(diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) #Down Right bullet elif constants.shotDir == constants.currHoldD+constants.currHoldR: spawnBullets(-diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y) #default to handle any odd occurences else: spawnBullets(-diagonalBulletSpeed,-diagonalBulletSpeed,gamePlayer.rect.x,gamePlayer.rect.y)
48.613027
159
0.704524
1,427
12,688
6.206027
0.094604
0.126468
0.067751
0.062105
0.860772
0.831075
0.810298
0.78636
0.713528
0.690154
0
0.01313
0.195618
12,688
260
160
48.8
0.854595
0.122005
0
0.46875
0
0
0
0
0
0
0
0
0
1
0.046875
false
0
0.036458
0
0.088542
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
5870530a8c255037782d77d44e62c81e14199c64
34
py
Python
punctfix/__init__.py
danspeech/punctfix
025bb8ee3624df8805864867fe920946bf39dbb2
[ "Apache-2.0" ]
6
2022-03-23T10:45:48.000Z
2022-03-26T14:19:38.000Z
punctfix/__init__.py
danspeech/punctfix
025bb8ee3624df8805864867fe920946bf39dbb2
[ "Apache-2.0" ]
3
2022-03-23T10:45:34.000Z
2022-03-30T06:29:56.000Z
punctfix/__init__.py
danspeech/punctfix
025bb8ee3624df8805864867fe920946bf39dbb2
[ "Apache-2.0" ]
null
null
null
from .inference import PunctFixer
17
33
0.852941
4
34
7.25
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.966667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
58776ff7fb4041c7abbcf86d9c98b20803a2cf7b
100,109
py
Python
algorithms/sem_prop/ontomatch/sem_prop_benchmarking.py
Soton-Song/valentine
9a47859f912540cdbe961ed3585201d3accd07be
[ "Apache-2.0" ]
null
null
null
algorithms/sem_prop/ontomatch/sem_prop_benchmarking.py
Soton-Song/valentine
9a47859f912540cdbe961ed3585201d3accd07be
[ "Apache-2.0" ]
null
null
null
algorithms/sem_prop/ontomatch/sem_prop_benchmarking.py
Soton-Song/valentine
9a47859f912540cdbe961ed3585201d3accd07be
[ "Apache-2.0" ]
null
null
null
import time from collections import defaultdict import numpy as np from tqdm import tqdm from algorithms.sem_prop.inputoutput import utils as io from algorithms.sem_prop.knowledgerepr import fieldnetwork from algorithms.sem_prop.modelstore.elasticstore import StoreHandler from algorithms.sem_prop.ontomatch import glove_api from algorithms.sem_prop.ontomatch import matcher_lib as matcherlib from algorithms.sem_prop.ontomatch.matcher_lib import MatchingType from algorithms.sem_prop.ontomatch.ss_api import SSAPI # INDIVIDUAL FUNCTIONS # Only L4 and L5 def matchings_syntactic_only(network, kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5): # sim_threshold = 0.5 (original) st = time.time() l4_matchings = matcherlib.find_relation_class_name_matchings(network, kr_handlers, minhash_sim_threshold=sim_threshold_rel) l5_matchings = matcherlib.find_relation_class_attr_name_matching(network, kr_handlers, minhash_sim_threshold=sim_threshold_attr) et = time.time() print("l4 total: " + str(len(l4_matchings))) print("l5 total: " + str(len(l5_matchings))) print("Took: " + str(et - st)) return l4_matchings, l5_matchings # L4, L5, L42 and L52 def matchings_syntactic_and_naive_wordembeddings(network, kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5): # sim_threshold = 0.5 (original) st = time.time() l4_matchings = matcherlib.find_relation_class_name_matchings(network, kr_handlers, minhash_sim_threshold=sim_threshold_rel) l5_matchings = matcherlib.find_relation_class_attr_name_matching(network, kr_handlers, minhash_sim_threshold=sim_threshold_attr) l42_matchings, neg_l42_matchings =matcherlib.find_relation_class_name_sem_matchings(network, kr_handlers, sem_sim_threshold=sem_threshold_rel, sensitivity_neg_signal=0.4, penalize_unknown_word=False, add_exact_matches=True) l52_matchings, neg_l52_matchings = matcherlib.find_relation_class_attr_name_sem_matchings(network, kr_handlers, semantic_sim_threshold=sem_threshold_attr, sensitivity_neg_signal=0.4, penalize_unknown_word = False, add_exact_matches = True) et = time.time() print("l4 total: " + str(len(l4_matchings))) print("l42 total: " + str(len(l42_matchings))) print("l5 total: " + str(len(l5_matchings))) print("l52 total: " + str(len(l52_matchings))) print("Took: " + str(et - st)) return l4_matchings, l5_matchings, l42_matchings, l52_matchings # L4, L5, L42, L52 with cancellation def matchings_basic_pipeline_attr_rel_cancellation(network, kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5, sensitivity_cancellation_signal=0.4): # sim_threshold = 0.5 (original) st = time.time() l4_matchings = matcherlib.find_relation_class_name_matchings(network, kr_handlers, minhash_sim_threshold=sim_threshold_rel) l5_matchings = matcherlib.find_relation_class_attr_name_matching(network, kr_handlers, minhash_sim_threshold=sim_threshold_attr) l42_matchings, neg_l42_matchings = matcherlib.find_relation_class_name_sem_matchings(network, kr_handlers, sem_sim_threshold=sem_threshold_rel, sensitivity_neg_signal=sensitivity_cancellation_signal, penalize_unknown_word = True, add_exact_matches = False) l52_matchings, neg_l52_matchings = matcherlib.find_relation_class_attr_name_sem_matchings(network, kr_handlers, semantic_sim_threshold=sem_threshold_attr, sensitivity_neg_signal=sensitivity_cancellation_signal, penalize_unknown_word=True, add_exact_matches=False) # relation cancellation st = time.time() cancelled_l4_matchings = [] l4_dict = dict() l4_matchings_set = set(l4_matchings) for matching in l4_matchings_set: l4_dict[matching] = 1 total_cancelled = 0 for m in neg_l42_matchings: if m in l4_dict: total_cancelled += 1 l4_matchings_set.remove(m) cancelled_l4_matchings.append(m) l4_matchings = list(l4_matchings_set) et = time.time() print("l4 cancel time: " + str((et - st))) # attribute cancellation st = time.time() cancelled_l5_matchings = [] l5_dict = dict() l5_matchings_set = set(l5_matchings) for matching in l5_matchings: l5_dict[matching] = 1 total_cancelled = 0 for m in neg_l52_matchings: if m in l5_dict: total_cancelled += 1 l5_matchings_set.remove(m) cancelled_l5_matchings.append(m) l5_matchings = list(l5_matchings_set) et = time.time() print("l5 cancel time: " + str((et - st))) et = time.time() print("l4 total: " + str(len(l4_matchings))) print("l42 total: " + str(len(l42_matchings))) print("l5 total: " + str(len(l5_matchings))) print("l52 total: " + str(len(l52_matchings))) print("Took: " + str(et - st)) return l4_matchings, l5_matchings, l42_matchings, l52_matchings # L4, L5, L42, L52 with cancellation + L6 def matchings_basic_pipeline_coh_group_cancellation(network, kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4): # sim_threshold = 0.5 (original) st = time.time() l4_matchings = matcherlib.find_relation_class_name_matchings(network, kr_handlers, minhash_sim_threshold=sim_threshold_rel) l5_matchings = matcherlib.find_relation_class_attr_name_matching(network, kr_handlers, minhash_sim_threshold=sim_threshold_attr) l42_matchings, neg_l42_matchings = matcherlib.find_relation_class_name_sem_matchings(network, kr_handlers, sem_sim_threshold=sem_threshold_rel, sensitivity_neg_signal=sensitivity_cancellation_signal, penalize_unknown_word=True, add_exact_matches=False) l52_matchings, neg_l52_matchings = matcherlib.find_relation_class_attr_name_sem_matchings(network, kr_handlers, semantic_sim_threshold=sem_threshold_attr, sensitivity_neg_signal=sensitivity_cancellation_signal, penalize_unknown_word=True, add_exact_matches=False) l6_matchings, table_groups = matcherlib.find_sem_coh_matchings(network, kr_handlers, sem_sim_threshold=coh_group_threshold, group_size_cutoff=coh_group_size_cutoff) # relation cancellation st = time.time() cancelled_l4_matchings = [] l4_dict = dict() l4_matchings_set = set(l4_matchings) for matching in l4_matchings_set: l4_dict[matching] = 1 total_cancelled = 0 for m in neg_l42_matchings: if m in l4_dict: total_cancelled += 1 l4_matchings_set.remove(m) cancelled_l4_matchings.append(m) l4_matchings = list(l4_matchings_set) et = time.time() print("l4 cancel time: " + str((et-st))) # attribute cancellation st = time.time() cancelled_l5_matchings = [] l5_dict = dict() l5_matchings_set = set(l5_matchings) for matching in l5_matchings: l5_dict[matching] = 1 total_cancelled = 0 for m in neg_l52_matchings: if m in l5_dict: total_cancelled += 1 l5_matchings_set.remove(m) cancelled_l5_matchings.append(m) l5_matchings = list(l5_matchings_set) et = time.time() print("l5 cancel time: " + str((et - st))) # coh group cancellation relation st = time.time() l6_dict = dict() l42_matchings_set = set(l42_matchings) for matching in l6_matchings: l6_dict[matching] = 1 for m in l42_matchings: if m not in l6_dict: l42_matchings_set.remove(m) l42_matchings = list(l42_matchings_set) et = time.time() print("l42 cancel time: " + str((et-st))) # coh group cancellation attribute st = time.time() l52_dict = defaultdict(list) for matching in l52_matchings: # adapt matching to be compared to L6 sch, cla = matching sch0, sch1, sch2 = sch idx = ((sch0, sch1, '_'), cla) l52_dict[idx].append(matching) # coh group cancellation attributes idx_to_remove = [] # collect idx to remove for k, v in l52_dict.items(): if k not in l6_dict: idx_to_remove.append(k) # remove the indexes and take the values as matching list for el in idx_to_remove: del l52_dict[el] l52_matchings = [] for k, v in l52_dict.items(): for el in v: l52_matchings.append(el) """ for m in l52_dict.keys(): if m not in l6_dict: db_to_remove, rel_to_remove, _ = m[0] for el in l52_matchings: sch, cla = el db, relation, attr = sch if db == db_to_remove and relation == rel_to_remove: if el in l52_matchings: l52_matchings.remove(el) """ et = time.time() print("l52 cancel time: " + str(et-st)) et = time.time() print("l4 total: " + str(len(l4_matchings))) print("l42 total: " + str(len(l42_matchings))) print("l5 total: " + str(len(l5_matchings))) print("l52 total: " + str(len(l52_matchings))) print("Took: " + str(et - st)) return l4_matchings, l5_matchings, l42_matchings, l52_matchings def matchings_basic_pipeline_coh_group_cancellation_and_content(om, network, kr_handlers, store_client, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4): # sim_threshold = 0.5 (original) st = time.time() l4_matchings = matcherlib.find_relation_class_name_matchings(network, kr_handlers, minhash_sim_threshold=sim_threshold_rel) l5_matchings = matcherlib.find_relation_class_attr_name_matching(network, kr_handlers, minhash_sim_threshold=sim_threshold_attr) l42_matchings, neg_l42_matchings = matcherlib.find_relation_class_name_sem_matchings(network, kr_handlers, sem_sim_threshold=sem_threshold_rel, sensitivity_neg_signal=sensitivity_cancellation_signal) l52_matchings, neg_l52_matchings = matcherlib.find_relation_class_attr_name_sem_matchings(network, kr_handlers, semantic_sim_threshold=sem_threshold_attr, sensitivity_neg_signal=sensitivity_cancellation_signal) l6_matchings, table_groups = matcherlib.find_sem_coh_matchings(network, kr_handlers, sem_sim_threshold=coh_group_threshold, group_size_cutoff=coh_group_size_cutoff) # relation cancellation st = time.time() cancelled_l4_matchings = [] l4_dict = dict() l4_matchings_set = set(l4_matchings) for matching in l4_matchings_set: l4_dict[matching] = 1 total_cancelled = 0 for m in neg_l42_matchings: if m in l4_dict: total_cancelled += 1 l4_matchings_set.remove(m) cancelled_l4_matchings.append(m) l4_matchings = list(l4_matchings_set) et = time.time() print("l4 cancel time: " + str((et - st))) # attribute cancellation st = time.time() cancelled_l5_matchings = [] l5_dict = dict() l5_matchings_set = set(l5_matchings) for matching in l5_matchings: l5_dict[matching] = 1 total_cancelled = 0 for m in neg_l52_matchings: if m in l5_dict: total_cancelled += 1 l5_matchings_set.remove(m) cancelled_l5_matchings.append(m) l5_matchings = list(l5_matchings_set) et = time.time() print("l5 cancel time: " + str((et - st))) # coh group cancellation relation st = time.time() l6_dict = dict() l42_matchings_set = set(l42_matchings) for matching in l6_matchings: l6_dict[matching] = 1 for m in l42_matchings: if m not in l6_dict: l42_matchings_set.remove(m) l42_matchings = list(l42_matchings_set) et = time.time() print("l42 cancel time: " + str((et - st))) # coh group cancellation attribute st = time.time() l52_dict = defaultdict(list) for matching in l52_matchings: # adapt matching to be compared to L6 sch, cla = matching sch0, sch1, sch2 = sch idx = ((sch0, sch1, '_'), cla) l52_dict[idx].append(matching) # coh group cancellation attributes idx_to_remove = [] # collect idx to remove for k, v in l52_dict.items(): if k not in l6_dict: idx_to_remove.append(k) # remove the indexes and take the values as matching list for el in idx_to_remove: del l52_dict[el] l52_matchings = [] for k, v in l52_dict.items(): for el in v: l52_matchings.append(el) # Build content sim om.priv_build_content_sim(0.6) l1_matchings = [] for kr_name, kr_handler in kr_handlers.items(): kr_class_signatures = kr_handler.get_classes_signatures() l1_matchings += om.compare_content_signatures(kr_name, kr_class_signatures) l7_matchings = matcherlib.find_hierarchy_content_fuzzy(kr_handlers, store_client) et = time.time() print("l1 total: " + str(len(l1_matchings))) print("l4 total: " + str(len(l4_matchings))) print("l42 total: " + str(len(l42_matchings))) print("l5 total: " + str(len(l5_matchings))) print("l52 total: " + str(len(l52_matchings))) print("l7 total: " + str(len(l7_matchings))) print("Took: " + str(et - st)) return l4_matchings, l5_matchings, l42_matchings, l52_matchings, l1_matchings, l7_matchings def matchings_full_approach(): return def store_results(path, name, matchings): with open(path + name, 'w+') as f: for k, v in matchings.items(): lines = v.print_serial() for l in lines: f.write(l + '\n') def compute_pr_matchings(gt_matchings, matchings): gtm = set(gt_matchings) total_results = len(matchings) # true_positives = 0 # for el in matchings: # if el in gtm: # true_positives += 1 true_positives = sum(map(lambda x: x in gtm, matchings)) if total_results == 0: precision = 0 else: precision = float(true_positives / total_results) recall = float(true_positives / len(gt_matchings)) return precision, recall def compute_pr(gt_file, r_file): def parse_strings(list_of_strings): # format is: db %%% table %%% attr ==>> onto %%% class_name %%% list_of_matchers matchings = [] for l in list_of_strings: tokens = l.split("==>>") sch = tokens[0] cla = tokens[1] sch_tokens = sch.split("%%%") sch_tokens = [t.strip() for t in sch_tokens] cla_tokens = cla.split("%%%") cla_tokens = [t.strip() for t in cla_tokens] #matching_format = (((sch_tokens[0], sch_tokens[1], sch_tokens[2]), (cla_tokens[0], cla_tokens[1])), cla_tokens[2]) matching_format = (((sch_tokens[0], sch_tokens[1], sch_tokens[2]), (cla_tokens[0], cla_tokens[1]))) matchings.append(matching_format) return matchings with open(gt_file, 'r') as gt: ground_truth_matchings_strings = gt.readlines() with open(r_file, 'r') as r: output_matchings_strings = r.readlines() ground_truth_matchings = parse_strings(ground_truth_matchings_strings) output_matchings = parse_strings(output_matchings_strings) gtm = set(ground_truth_matchings) total_results = len(output_matchings) true_positives = 0 for el in output_matchings: if el in gtm: true_positives += 1 if total_results == 0: precision = 0 else: precision = float(true_positives / total_results) recall = float(true_positives / len(ground_truth_matchings)) return precision, recall # SCRIPT FUNCTIONS def best_config(path_to_serialized_model, onto_name, path_to_ontology, path_to_sem_model, path_to_results): # Deserialize model network = fieldnetwork.deserialize_network(path_to_serialized_model) # Create client store_client = StoreHandler() # Load glove model print("Loading language model...") glove_api.load_model(path_to_sem_model) print("Loading language model...OK") # Retrieve indexes schema_sim_index = io.deserialize_object(path_to_serialized_model + 'schema_sim_index.pkl') content_sim_index = io.deserialize_object(path_to_serialized_model + 'content_sim_index.pkl') # Create ontomatch api om = SSAPI(network, store_client, schema_sim_index, content_sim_index) # Load parsed ontology om.add_krs([(onto_name, path_to_ontology)], parsed=True) print("best config...") all_matchings = defaultdict(list) l4_01, l5_01, l42_01, l52_01, l1, l7 = matchings_basic_pipeline_coh_group_cancellation_and_content( om, om.network, om.kr_handlers, store_client, sim_threshold_attr=0.2, sim_threshold_rel=0.2, sem_threshold_attr=0.6, sem_threshold_rel=0.7, coh_group_threshold=0.5, coh_group_size_cutoff=2, sensitivity_cancellation_signal=0.3) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_01 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_01 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_01 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_01 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 combined_01 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "best_config", combined_01) print("best_config...OK") def relative_merit_one_onto(path_to_serialized_model, onto_name, path_to_ontology, path_to_sem_model, path_to_results): # Deserialize model network = fieldnetwork.deserialize_network(path_to_serialized_model) # Create client store_client = StoreHandler() # Load glove model print("Loading language model...") glove_api.load_model(path_to_sem_model) print("Loading language model...OK") # Retrieve indexes schema_sim_index = io.deserialize_object(path_to_serialized_model + 'schema_sim_index.pkl') content_sim_index = io.deserialize_object(path_to_serialized_model + 'content_sim_index.pkl') # Create ontomatch api om = SSAPI(network, store_client, schema_sim_index, content_sim_index) # Load parsed ontology om.add_krs([(onto_name, path_to_ontology)], parsed=True) # Experiments # syntactic only print("syn_only_01...") all_matchings = defaultdict(list) l4_01, l5_01 = matchings_syntactic_only(om.network, om.kr_handlers, sim_threshold_attr=0.1, sim_threshold_rel=0.1) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_01 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_01 combined_01 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_only_01", combined_01) print("syn_only_01...OK") print("syn_only_03...") all_matchings = defaultdict(list) l4_03, l5_03 = matchings_syntactic_only(om.network, om.kr_handlers, sim_threshold_attr=0.3, sim_threshold_rel=0.3) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_03 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_03 combined_03 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_only_03", combined_03) print("syn_only_03...OK") print("syn_only_05...") all_matchings = defaultdict(list) l4_05, l5_05 = matchings_syntactic_only(om.network, om.kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_05 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_05 combined_05 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_only_05", combined_05) print("syn_only_05...OK") print("syn_only_07...") all_matchings = defaultdict(list) l4_07, l5_07 = matchings_syntactic_only(om.network, om.kr_handlers, sim_threshold_attr=0.7, sim_threshold_rel=0.7) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_07 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_07 combined_07 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_only_07", combined_07) print("syn_only_07...OK") print("syn_only_09...") all_matchings = defaultdict(list) l4_09, l5_09 = matchings_syntactic_only(om.network, om.kr_handlers, sim_threshold_attr=0.9, sim_threshold_rel=0.9) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_09 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_09 combined_09 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_only_09", combined_09) print("syn_only_09...OK") # syntactic and naive embeddings print("syn_naive_we_01...") all_matchings = defaultdict(list) l4_01, l5_01, l42_01, l52_01 = matchings_syntactic_and_naive_wordembeddings(om.network, om.kr_handlers, sim_threshold_attr=0.1, sim_threshold_rel=0.1, sem_threshold_attr=0.1, sem_threshold_rel=0.1) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_01 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_01 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_01 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_01 combined_01 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_naive_we_01", combined_01) print("syn_naive_we_01...OK") print("syn_naive_we_03...") all_matchings = defaultdict(list) l4_03, l5_03, l42_03, l52_03 = matchings_syntactic_and_naive_wordembeddings(om.network, om.kr_handlers, sim_threshold_attr=0.3, sim_threshold_rel=0.3, sem_threshold_attr=0.3, sem_threshold_rel=0.3) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_03 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_03 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_03 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_03 combined_03 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_naive_we_03", combined_03) print("syn_naive_we_03...OK") print("syn_naive_we_05...") all_matchings = defaultdict(list) l4_05, l5_05, l42_05, l52_05 = matchings_syntactic_and_naive_wordembeddings(om.network, om.kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_05 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_05 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_05 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_05 combined_05 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_naive_we_05", combined_05) print("syn_naive_we_05...OK") print("syn_naive_we_07...OK") all_matchings = defaultdict(list) l4_07, l5_07, l42_07, l52_07 = matchings_syntactic_and_naive_wordembeddings(om.network, om.kr_handlers, sim_threshold_attr=0.7, sim_threshold_rel=0.7, sem_threshold_attr=0.7, sem_threshold_rel=0.7) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_07 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_07 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_07 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_07 combined_07 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_naive_we_07", combined_07) print("syn_naive_we_07...OK") print("syn_naive_we_09...") all_matchings = defaultdict(list) l4_09, l5_09, l42_09, l52_09 = matchings_syntactic_and_naive_wordembeddings(om.network, om.kr_handlers, sim_threshold_attr=0.9, sim_threshold_rel=0.9, sem_threshold_attr=0.9, sem_threshold_rel=0.9) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_09 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_09 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_09 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_09 combined_09 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "syn_naive_we_09", combined_09) print("syn_naive_we_09...OK") # Basic pipeline print("basic_01...") all_matchings = defaultdict(list) l4_01, l5_01, l42_01, l52_01 = matchings_basic_pipeline_attr_rel_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.1, sim_threshold_rel=0.1, sem_threshold_attr=0.1, sem_threshold_rel=0.1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_01 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_01 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_01 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_01 combined_01 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_01", combined_01) print("basic_01...OK") print("basic_03...") all_matchings = defaultdict(list) l4_03, l5_03, l42_03, l52_03 = matchings_basic_pipeline_attr_rel_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.3, sim_threshold_rel=0.3, sem_threshold_attr=0.3, sem_threshold_rel=0.3, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_03 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_03 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_03 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_03 combined_03 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_03", combined_03) print("basic_03...OK") print("basic_05...") all_matchings = defaultdict(list) l4_05, l5_05, l42_05, l52_05 = matchings_basic_pipeline_attr_rel_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_05 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_05 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_05 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_05 combined_05 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_05", combined_05) print("basic_05...OK") print("basic_07...") all_matchings = defaultdict(list) l4_07, l5_07, l42_07, l52_07 = matchings_basic_pipeline_attr_rel_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.7, sim_threshold_rel=0.7, sem_threshold_attr=0.7, sem_threshold_rel=0.7, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_07 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_07 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_07 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_07 combined_07 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_07", combined_07) print("basic_07...OK") print("basic_09...") all_matchings = defaultdict(list) l4_09, l5_09, l42_09, l52_09 = matchings_basic_pipeline_attr_rel_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.9, sim_threshold_rel=0.9, sem_threshold_attr=0.9, sem_threshold_rel=0.9, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_09 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_09 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_09 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_09 combined_09 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_09", combined_09) print("basic_09...OK") # Basic pipeline with l6 cancellation print("basic_l6cancel_01...") all_matchings = defaultdict(list) l4_01, l5_01, l42_01, l52_01 = matchings_basic_pipeline_coh_group_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.1, sim_threshold_rel=0.1, sem_threshold_attr=0.1, sem_threshold_rel=0.1, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_01 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_01 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_01 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_01 combined_01 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_l6cancel_01", combined_01) print("basic_l6cancel_01...OK") print("basic_l6cancel_03...") all_matchings = defaultdict(list) l4_03, l5_03, l42_03, l52_03 = matchings_basic_pipeline_coh_group_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.3, sim_threshold_rel=0.3, sem_threshold_attr=0.3, sem_threshold_rel=0.3, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_03 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_03 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_03 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_03 combined_03 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_l6cancel_03", combined_03) print("basic_l6cancel_03...OK") print("basic_l6cancel_05...") all_matchings = defaultdict(list) l4_05, l5_05, l42_05, l52_05 = matchings_basic_pipeline_coh_group_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_05 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_05 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_05 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_05 combined_05 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_l6cancel_05", combined_05) print("basic_l6cancel_05...OK") print("basic_l6cancel_07...") all_matchings = defaultdict(list) l4_07, l5_07, l42_07, l52_07 = matchings_basic_pipeline_coh_group_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.7, sim_threshold_rel=0.7, sem_threshold_attr=0.7, sem_threshold_rel=0.7, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_07 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_07 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_07 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_07 combined_07 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_l6cancel_07", combined_07) print("basic_l6cancel_07...OK") print("basic_l6cancel_09...") all_matchings = defaultdict(list) l4_09, l5_09, l42_09, l52_09 = matchings_basic_pipeline_coh_group_cancellation(om.network, om.kr_handlers, sim_threshold_attr=0.9, sim_threshold_rel=0.9, sem_threshold_attr=0.9, sem_threshold_rel=0.9, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_09 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_09 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_09 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_09 combined_09 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_l6cancel_09", combined_09) print("basic_l6cancel_09...OK") # Basic pipeline with content print("basic_content_01...") all_matchings = defaultdict(list) l4_01, l5_01, l42_01, l52_01, l1, l7 = matchings_basic_pipeline_coh_group_cancellation_and_content( om, om.network, om.kr_handlers, store_client, sim_threshold_attr=0.1, sim_threshold_rel=0.1, sem_threshold_attr=0.1, sem_threshold_rel=0.1, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_01 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_01 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_01 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_01 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 combined_01 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_content_01", combined_01) print("basic_content_01...OK") print("basic_content_03...") all_matchings = defaultdict(list) l4_03, l5_03, l42_03, l52_03, l1, l7 = matchings_basic_pipeline_coh_group_cancellation_and_content( om, om.network, om.kr_handlers, store_client, sim_threshold_attr=0.3, sim_threshold_rel=0.3, sem_threshold_attr=0.3, sem_threshold_rel=0.3, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_03 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_03 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_03 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_03 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 combined_03 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_content_03", combined_03) print("basic_content_03...OK") print("basic_content_05...") all_matchings = defaultdict(list) l4_05, l5_05, l42_05, l52_05, l1, l7 = matchings_basic_pipeline_coh_group_cancellation_and_content( om, om.network, om.kr_handlers, store_client, sim_threshold_attr=0.5, sim_threshold_rel=0.5, sem_threshold_attr=0.5, sem_threshold_rel=0.5, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_05 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_05 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_05 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_05 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 combined_05 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_content_05", combined_05) print("basic_content_05...OK") print("basic_content_07...") all_matchings = defaultdict(list) l4_07, l5_07, l42_07, l52_07, l1, l7 = matchings_basic_pipeline_coh_group_cancellation_and_content( om, om.network, om.kr_handlers, store_client, sim_threshold_attr=0.7, sim_threshold_rel=0.7, sem_threshold_attr=0.7, sem_threshold_rel=0.7, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_07 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_07 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_07 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_07 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 combined_07 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_content_07", combined_07) print("basic_content_07...OK") print("basic_content_09...") all_matchings = defaultdict(list) l4_09, l5_09, l42_09, l52_09, l1, l7 = matchings_basic_pipeline_coh_group_cancellation_and_content( om, om.network, om.kr_handlers, store_client, sim_threshold_attr=0.7, sim_threshold_rel=0.7, sem_threshold_attr=0.7, sem_threshold_rel=0.7, coh_group_threshold=0.5, coh_group_size_cutoff=1, sensitivity_cancellation_signal=0.4) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4_09 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5_09 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42_09 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52_09 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 combined_09 = matcherlib.combine_matchings(all_matchings) store_results(path_to_results, "basic_content_09", combined_09) print("basic_content_09...OK") def check_quality_results(path_to_ground_truth_file, path_to_results): # Check quality of results results = [] precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_only_01")) results.append(("syn_only_01", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_only_03")) results.append(("syn_only_03", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_only_05")) results.append(("syn_only_05", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_only_07")) results.append(("syn_only_07", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_only_09")) results.append(("syn_only_09", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_naive_we_01")) results.append(("syn_naive_we_01", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_naive_we_03")) results.append(("syn_naive_we_03", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_naive_we_05")) results.append(("syn_naive_we_05", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_naive_we_07")) results.append(("syn_naive_we_07", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "syn_naive_we_09")) results.append(("syn_naive_we_09", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_01")) results.append(("basic_01", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_03")) results.append(("basic_03", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_05")) results.append(("basic_05", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_07")) results.append(("basic_07", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_09")) results.append(("basic_09", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_l6cancel_01")) results.append(("basic_l6cancel_01", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_l6cancel_03")) results.append(("basic_l6cancel_03", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_l6cancel_05")) results.append(("basic_l6cancel_05", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_l6cancel_07")) results.append(("basic_l6cancel_07", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_l6cancel_09")) results.append(("basic_l6cancel_09", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_content_01")) results.append(("basic_content_01", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_content_03")) results.append(("basic_content_03", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_content_05")) results.append(("basic_content_05", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_content_07")) results.append(("basic_content_07", precision, recall)) precision, recall = compute_pr(path_to_ground_truth_file, (path_to_results + "basic_content_09")) results.append(("basic_content_09", precision, recall)) with open(path_to_results + "RESULTS", 'w') as f: for r in results: f.write(str(r) + '\n') def write_matchings_to(path, matchings): with open(path, 'w') as f: for m in matchings: sch, cla = m db, relation, attr = sch ont, class_name = cla matching_str = db + " %%% " + relation + " %%% " + attr + " ==>> " + ont + " %%% " + class_name + " %%% []" f.write(matching_str + '\n') def generate_results_battery_parameters(path_to_serialized_model, onto_name, path_to_ontology, path_to_sem_model, path_to_results): # Deserialize model network = fieldnetwork.deserialize_network(path_to_serialized_model) # Create client store_client = StoreHandler() # Load glove model print("Loading language model...") glove_api.load_model(path_to_sem_model) print("Loading language model...OK") # Retrieve indexes schema_sim_index = io.deserialize_object(path_to_serialized_model + 'schema_sim_index.pkl') content_sim_index = io.deserialize_object(path_to_serialized_model + 'content_sim_index.pkl') # Create ontomatch api om = SSAPI(network, store_client, schema_sim_index, content_sim_index) # Load parsed ontology om.add_krs([(onto_name, path_to_ontology)], parsed=True) # # Build content sim om.priv_build_content_sim(0.6) # # l1_matchings = [] # for kr_name, kr_handler in om.kr_handlers.items(): # kr_class_signatures = kr_handler.get_classes_signatures() # l1_matchings += om.compare_content_signatures(kr_name, kr_class_signatures) # # write_matchings_to(path_to_results + 'l1', l1_matchings) l7_matchings = matcherlib.find_hierarchy_content_fuzzy(om.kr_handlers, store_client) write_matchings_to(path_to_results + 'l7', l7_matchings) l4_matchings_01 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.1) write_matchings_to(path_to_results + 'l4_01', l4_matchings_01) l4_matchings_02 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.2) write_matchings_to(path_to_results + 'l4_02', l4_matchings_02) l4_matchings_03 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.3) write_matchings_to(path_to_results + 'l4_03', l4_matchings_03) l5_matchings_01 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.1) write_matchings_to(path_to_results + 'l5_01', l5_matchings_01) l5_matchings_02 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.2) write_matchings_to(path_to_results + 'l5_02', l5_matchings_02) l5_matchings_03 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.3) write_matchings_to(path_to_results + 'l5_03', l5_matchings_03) l42_matchings_04, neg_l42_matchings_02 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.4, negative_signal_threshold=0.2, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_04', l42_matchings_04) write_matchings_to(path_to_results + 'neg_l42_02', neg_l42_matchings_02) l42_matchings_04 = None neg_l42_matchings_02 = None l42_matchings_05, neg_l42_matchings_03 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.5, negative_signal_threshold=0.3, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_05', l42_matchings_05) write_matchings_to(path_to_results + 'neg_l42_03', neg_l42_matchings_03) l42_matchings_06, neg_l42_matchings_04 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.6, negative_signal_threshold=0.4, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_06', l42_matchings_06) write_matchings_to(path_to_results + 'neg_l42_04', neg_l42_matchings_04) l42_matchings_06 = None neg_l42_matchings_04 = None l42_matchings_07, neg_l42_matchings_05 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.7, negative_signal_threshold=0.5, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_07', l42_matchings_07) write_matchings_to(path_to_results + 'neg_l42_05', neg_l42_matchings_05) l52_matchings_04, neg_l52_matchings_02 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.4, negative_signal_threshold=0.2, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l52_04', l52_matchings_04) write_matchings_to(path_to_results + 'neg_l52_02', neg_l52_matchings_02) l52_matchings_04 = None neg_l52_matchings_02 = None l52_matchings_05, neg_l52_matchings_03 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.5, negative_signal_threshold=0.3, penalize_unknown_word=True, add_exact_matches=False) write_matchings_to(path_to_results + 'l52_05', l52_matchings_05) write_matchings_to(path_to_results + 'neg_l52_03', neg_l52_matchings_03) l52_matchings_06, neg_l52_matchings_04 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.6, negative_signal_threshold=0.4, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l52_06', l52_matchings_06) write_matchings_to(path_to_results + 'neg_l52_04', neg_l52_matchings_04) l52_matchings_06 = None neg_l52_matchings_04 = None l52_matchings_07, neg_l52_matchings_05 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.7, negative_signal_threshold=0.5, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l52_07', l52_matchings_07) write_matchings_to(path_to_results + 'neg_l52_05', neg_l52_matchings_05) l6_matchings_03_1, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.3, group_size_cutoff=1) write_matchings_to(path_to_results + 'l6_03_1', l6_matchings_03_1) l6_matchings_03_2, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.3, group_size_cutoff=2) write_matchings_to(path_to_results + 'l6_03_2', l6_matchings_03_2) l6_matchings_03_3, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.3, group_size_cutoff=3) write_matchings_to(path_to_results + 'l6_03_3', l6_matchings_03_3) l6_matchings_04_1, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.4, group_size_cutoff=1) write_matchings_to(path_to_results + 'l6_04_1', l6_matchings_04_1) l6_matchings_04_2, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.4, group_size_cutoff=2) write_matchings_to(path_to_results + 'l6_04_2', l6_matchings_04_2) l6_matchings_04_3, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.4, group_size_cutoff=3) write_matchings_to(path_to_results + 'l6_04_3', l6_matchings_04_3) l6_matchings_05_1, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.5, group_size_cutoff=1) write_matchings_to(path_to_results + 'l6_05_1', l6_matchings_05_1) l6_matchings_05_2, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.5, group_size_cutoff=2) write_matchings_to(path_to_results + 'l6_05_2', l6_matchings_05_2) l6_matchings_05_3, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.5, group_size_cutoff=3) write_matchings_to(path_to_results + 'l6_05_3', l6_matchings_05_3) def generate_results_battery_parameters2(path_to_serialized_model, onto_name, path_to_ontology, path_to_sem_model, path_to_results): # Deserialize model network = fieldnetwork.deserialize_network(path_to_serialized_model) # Create client store_client = StoreHandler() # Load glove model print("Loading language model...") glove_api.load_model(path_to_sem_model) print("Loading language model...OK") # Retrieve indexes schema_sim_index = io.deserialize_object(path_to_serialized_model + 'schema_sim_index.pkl') content_sim_index = io.deserialize_object(path_to_serialized_model + 'content_sim_index.pkl') # Create ontomatch api om = SSAPI(network, store_client, schema_sim_index, content_sim_index) # Load parsed ontology om.add_krs([(onto_name, path_to_ontology)], parsed=True) # Build content sim l4_matchings_04 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.4) write_matchings_to(path_to_results + 'l4_04', l4_matchings_04) l4_matchings_05 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.5) write_matchings_to(path_to_results + 'l4_05', l4_matchings_05) l4_matchings_06 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.6) write_matchings_to(path_to_results + 'l4_06', l4_matchings_06) l4_matchings_07 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.7) write_matchings_to(path_to_results + 'l4_07', l4_matchings_07) l4_matchings_08 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.8) write_matchings_to(path_to_results + 'l4_08', l4_matchings_08) l4_matchings_09 = matcherlib.find_relation_class_name_matchings(network, om.kr_handlers, minhash_sim_threshold=0.9) write_matchings_to(path_to_results + 'l4_09', l4_matchings_09) l5_matchings_04 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.4) write_matchings_to(path_to_results + 'l5_04', l5_matchings_04) l5_matchings_05 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.5) write_matchings_to(path_to_results + 'l5_05', l5_matchings_05) l5_matchings_06 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.6) write_matchings_to(path_to_results + 'l5_06', l5_matchings_06) l5_matchings_07 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.7) write_matchings_to(path_to_results + 'l5_07', l5_matchings_07) l5_matchings_08 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.8) write_matchings_to(path_to_results + 'l5_08', l5_matchings_08) l5_matchings_09 = matcherlib.find_relation_class_attr_name_matching(network, om.kr_handlers, minhash_sim_threshold=0.9) write_matchings_to(path_to_results + 'l5_09', l5_matchings_09) l42_matchings_08, neg_l42_matchings_01 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.8, negative_signal_threshold=0.1, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_08', l42_matchings_08) write_matchings_to(path_to_results + 'neg_l42_01', neg_l42_matchings_01) l42_matchings_08 = None neg_l42_matchings_01 = None l42_matchings_09, neg_l42_matchings_06 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.9, negative_signal_threshold=0.6, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_09', l42_matchings_09) write_matchings_to(path_to_results + 'neg_l42_06', neg_l42_matchings_06) l42_matchings_09 = None neg_l42_matchings_06 = None l42_matchings_03, neg_l42_matchings_07 = matcherlib.find_relation_class_name_sem_matchings(network, om.kr_handlers, sem_sim_threshold=0.3, negative_signal_threshold=0.7, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l42_03', l42_matchings_03) write_matchings_to(path_to_results + 'neg_l42_07', neg_l42_matchings_07) l42_matchings_03 = None neg_l42_matchings_07 = None l52_matchings_08, neg_l52_matchings_01 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.8, negative_signal_threshold=0.1, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l52_08', l52_matchings_08) write_matchings_to(path_to_results + 'neg_l52_01', neg_l52_matchings_01) l52_matchings_08 = None neg_l52_matchings_01 = None l52_matchings_09, neg_l52_matchings_06 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.9, negative_signal_threshold=0.6, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l52_09', l52_matchings_09) write_matchings_to(path_to_results + 'neg_l52_06', neg_l52_matchings_06) l52_matchings_09 = None neg_l52_matchings_06 = None l52_matchings_03, neg_l52_matchings_07 = matcherlib.find_relation_class_attr_name_sem_matchings(network, om.kr_handlers, semantic_sim_threshold=0.3, negative_signal_threshold=0.7, add_exact_matches=False, penalize_unknown_word=True) write_matchings_to(path_to_results + 'l52_03', l52_matchings_03) write_matchings_to(path_to_results + 'neg_l52_07', neg_l52_matchings_07) l52_matchings_03 = None neg_l52_matchings_07 = None l6_matchings_02_1, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.2, group_size_cutoff=1) write_matchings_to(path_to_results + 'l6_02_1', l6_matchings_02_1) l6_matchings_02_2, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.2, group_size_cutoff=2) write_matchings_to(path_to_results + 'l6_02_2', l6_matchings_02_2) l6_matchings_02_3, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.2, group_size_cutoff=3) write_matchings_to(path_to_results + 'l6_02_3', l6_matchings_02_3) l6_matchings_06_1, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.6, group_size_cutoff=1) write_matchings_to(path_to_results + 'l6_06_1', l6_matchings_06_1) l6_matchings_06_2, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.6, group_size_cutoff=2) write_matchings_to(path_to_results + 'l6_06_2', l6_matchings_06_2) l6_matchings_06_3, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.6, group_size_cutoff=3) write_matchings_to(path_to_results + 'l6_06_3', l6_matchings_06_3) l6_matchings_07_1, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.7, group_size_cutoff=1) write_matchings_to(path_to_results + 'l6_07_1', l6_matchings_07_1) l6_matchings_07_2, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.7, group_size_cutoff=2) write_matchings_to(path_to_results + 'l6_07_2', l6_matchings_07_2) l6_matchings_07_3, table_groups = matcherlib.find_sem_coh_matchings(network, om.kr_handlers, sem_sim_threshold=0.7, group_size_cutoff=3) write_matchings_to(path_to_results + 'l6_07_3', l6_matchings_07_3) def read(path): matchings = [] with open(path, 'r') as f: #lines = f.readlines() for l in f: tokens = l.split("==>>") sch = tokens[0] cla = tokens[1] sch_tokens = sch.split("%%%") sch_tokens = [t.strip() for t in sch_tokens] cla_tokens = cla.split("%%%") cla_tokens = [t.strip() for t in cla_tokens] matching_format = ((sch_tokens[0], sch_tokens[1], sch_tokens[2]), (cla_tokens[0], cla_tokens[1])) matchings.append(matching_format) return matchings def local_test(path_to_raw_data, path_to_ground_truth_file): # Getting ground truth with open(path_to_ground_truth_file, 'r') as gt: ground_truth_matchings_strings = gt.readlines() def parse_strings(list_of_strings): # format is: db %%% table %%% attr ==>> onto %%% class_name %%% list_of_matchers matchings = [] for l in list_of_strings: tokens = l.split("==>>") sch = tokens[0] cla = tokens[1] sch_tokens = sch.split("%%%") sch_tokens = [t.strip() for t in sch_tokens] cla_tokens = cla.split("%%%") cla_tokens = [t.strip() for t in cla_tokens] matching_format = (((sch_tokens[0], sch_tokens[1], sch_tokens[2]), (cla_tokens[0], cla_tokens[1]))) matchings.append(matching_format) return matchings ground_truth_matchings = parse_strings(ground_truth_matchings_strings) # Deserialize model network = fieldnetwork.deserialize_network("../models/chembl22/") # Create client store_client = StoreHandler() # Retrieve indexes schema_sim_index = io.deserialize_object("../models/chembl22/" + 'schema_sim_index.pkl') content_sim_index = io.deserialize_object("../models/chembl22/" + 'content_sim_index.pkl') # Create ontomatch api om = SSAPI(network, store_client, schema_sim_index, content_sim_index) om.add_krs([("efo", "cache_onto/efo.pkl")], parsed=True) def list_from_dict(combined): l = [] for k, v in combined.items(): matchings = v.get_matchings() for el in matchings: l.append(el) return l def syn_and_we(l4, l5, l42, l52, name): all_matchings = defaultdict(list) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) print(str(len(combined_list))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) combined_sum = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], combined_list) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) return combined_list, combined_sum def test1(name, l4=[], l5=[], nl42=[], nl52=[], l42=[], l52=[], l1=[], l7=[], l6=[]): # 1-. l4 - l42 l4_dict = dict() l4_cancelled = [] for matching in l4: l4_dict[matching] = 1 total_cancelled = 0 for m in nl42: if m in l4_dict: total_cancelled += 1 l4_cancelled.append(m) l4.remove(m) print("total l4 cancelled: " + str(total_cancelled)) print("#######") print("cancelled matching in gts: ") gt_set = set(ground_truth_matchings) for m in l4_cancelled: if m in gt_set: continue print(m) print("#######") # 2-. l5 - l52 l5_dict = dict() l5_cancelled = [] for matching in l5: l5_dict[matching] = 1 total_cancelled = 0 for m in nl52: if m in l5_dict: total_cancelled += 1 l5_cancelled.append(m) l5.remove(m) print("total l5 cancelled: " + str(total_cancelled)) print("#######") print("cancelled matching in gts: ") gt_set = set(ground_truth_matchings) for m in l5_cancelled: if m in gt_set: continue print(m) print("#######") # print("l42 orig: " + str(len(l42))) # print("l52 orig: " + str(len(l52))) # l6_set = set(l6) # l42_set = set(l42) # l52_set = set(l52) # for m in l42: # if m not in l6: # l42_set.remove(m) # for m in l52: # if m not in l6: # l52_set.remove(m) # l42 = list(l42_set) # l52 = list(l52_set) # # print("l42 orig: " + str(len(l42))) # print("l52 orig: " + str(len(l52))) # 3- structural summary l42 and l52 if len(l42) > 0: l42 = matcherlib.summarize_matchings_to_ancestor(om, l42, summarize_or_remove=True) if len(l52) > 0: l52 = matcherlib.summarize_matchings_to_ancestor(om, l52, summarize_or_remove=True) print("SUM L42") for m in l42: continue print(str(m)) print("SUM L52") for m in l52: continue print(str(m)) #l4 = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], l4, summarize_or_remove=True) #l5 = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], l5, summarize_or_remove=True) # 4-. combine l1, l7, l4, l5 all_matchings = defaultdict(list) all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) # 5-. summarize l1, l7, l4, l5 print(str(len(combined_list))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) combined_sum = matcherlib.summarize_matchings_to_ancestor(om, combined_list, summarize_or_remove=True) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) return combined_list, combined_sum # def all_matchings_from_combined_list(combined_matchings): # l4 = [] # l5 = [] # l1 = [] # l7 = [] # for m, type in combined_matchings: # if MatchingType.L1_CLASSNAME_ATTRVALUE in type: # l1.append(m) # if MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY in type: # l7.append(m) # if MatchingType.L4_CLASSNAME_RELATIONNAME_SYN in type: # l4.append(m) # if MatchingType.L5_CLASSNAME_ATTRNAME_SYN in type: # l5.append(m) # # return l1, l7, l4, l5 # # # 6-. add curated l42 and l52 # l1, l7, l4, l5 = all_matchings_from_combined_list(combined_sum) # # all_matchings = defaultdict(list) # all_matchings[MatchingType.L1_CLASSNAME_ATTRVALUE] = l1 # all_matchings[MatchingType.L7_CLASSNAME_ATTRNAME_FUZZY] = l7 # all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 # all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 # all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 # all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 # # combined = matcherlib.combine_matchings(all_matchings) # combined_list = list_from_dict(combined) # # print(str(len(combined_list))) # precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) # # combined_sum = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], combined_list, summarize_or_remove=False) # precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) # print(name + ", " + str(precision) + ", " + str(recall)) # print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) # return combined_list, combined_sum l1 = read(path_to_raw_data + "l1") l7 = read(path_to_raw_data + "l7") l4 = read(path_to_raw_data + "l4_02") #l4_02 0.015/0.46 - 0.33/0.38 (summary=2) l5 = read(path_to_raw_data + "l5_02") #l5_02 l42 = read(path_to_raw_data + "l42_07") #l42_05 l52 = read(path_to_raw_data + "l52_06") #l52_05 nl42 = read(path_to_raw_data + "neg_l42_05") #neg_l42_05 nl52 = read(path_to_raw_data + "neg_l52_05") #neg_l42_05 l6 = read(path_to_raw_data + "l6_05_2") #neg_l42_05 #combined_list, combined_sum = syn_and_we(l4, l5, l42, l52, "syn_and_we_02_03") # combined_list, combined_sum = test1("test1", l4, l5, nl42=nl42, nl52=nl52, l42=l42, l52=l52, l1=l1, l7=l7) # combined_list, combined_sum = test1("test1", l4=l4, l5=l5, nl42=[], nl52=[], l42=[], l52=[], l1=[], l7=[]) # combined_list, combined_sum = test1("test1", l4=l4, l5=l5, nl42=nl42, nl52=nl52, l42=[], l52=[], l1=[], l7=[]) # combined_list, combined_sum = test1("test1", l4=l4, l5=l5, nl42=nl42, nl52=nl52, l42=l42, l52=l52, l1=[], l7=[]) combined_list, combined_sum = test1("test1", l4=l4, l5=l5, nl42=nl42, nl52=nl52, l42=l42, l52=l52, l1=l1, l7=l7, l6=l6) print("num combined_list: " + str(len(combined_list))) for m in combined_list: continue print(str(m)) print("SUMMARY") print("num combined_sum: " + str(len(combined_sum))) for m in combined_sum: continue print(str(m)) print("the matchings that we could not find - list") print("#############") gt_set = set(ground_truth_matchings) missed_list = [] for m in gt_set: if m not in combined_list: continue print(m) missed_list.append(m) print("#############") print("the matchings that we could not find - sum") print("#############") missed_sum = [] gt_set = set(ground_truth_matchings) for m in gt_set: if m not in combined_sum: continue print(m) missed_sum.append(m) print("#############") print("so the matchings removed by summary are: ") for m in missed_sum: if m not in missed_list: continue print(m) return combined_list, combined_sum, om def combine_and_report_results(path_to_raw_data, path_to_ground_truth_file): # Getting ground truth with open(path_to_ground_truth_file, 'r') as gt: ground_truth_matchings_strings = gt.readlines() def parse_strings(list_of_strings): # format is: db %%% table %%% attr ==>> onto %%% class_name %%% list_of_matchers matchings = [] for l in list_of_strings: tokens = l.split("==>>") sch = tokens[0] cla = tokens[1] sch_tokens = sch.split("%%%") sch_tokens = [t.strip() for t in sch_tokens] cla_tokens = cla.split("%%%") cla_tokens = [t.strip() for t in cla_tokens] matching_format = (((sch_tokens[0], sch_tokens[1], sch_tokens[2]), (cla_tokens[0], cla_tokens[1]))) matchings.append(matching_format) return matchings ground_truth_matchings = parse_strings(ground_truth_matchings_strings) # Deserialize model network = fieldnetwork.deserialize_network("../models/chembl22/") # Create client store_client = StoreHandler() # Retrieve indexes schema_sim_index = io.deserialize_object("../models/chembl22/" + 'schema_sim_index.pkl') content_sim_index = io.deserialize_object("../models/chembl22/" + 'content_sim_index.pkl') # Create ontomatch api om = SSAPI(network, store_client, schema_sim_index, content_sim_index) om.add_krs([("efo", "cache_onto/efo.pkl")], parsed=True) def list_from_dict(combined): l = [] for k, v in combined.items(): matchings = v.get_matchings() for el in matchings: l.append(el) return l def syn_only(l4, l5, name): # l4 and l5 01 all_matchings = defaultdict(list) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) print(str(len(combined_list))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) combined_sum = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], combined_list) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) def syn_and_we(l4, l5, l42, l52, name): all_matchings = defaultdict(list) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) print(str(len(combined_list))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) combined_sum = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], combined_list) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) def syn_we_c4(l4, l5, l42, l52, nl42, name): l4_dict = dict() for matching in l4: l4_dict[matching] = 1 total_cancelled = 0 for m in nl42: if m in l4_dict: total_cancelled += 1 l4.remove(m) all_matchings = defaultdict(list) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) print(str(len(combined_list))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) combined_sum = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], combined_list) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) def syn_we_c4_c5(l4, l5, l42, l52, nl42, nl52, name): l4_dict = dict() for matching in l4: l4_dict[matching] = 1 total_cancelled = 0 for m in nl42: if m in l4_dict: total_cancelled += 1 l4.remove(m) l5_dict = dict() for matching in l5: l5_dict[matching] = 1 total_cancelled = 0 for m in nl52: if m in l5_dict: total_cancelled += 1 l5.remove(m) all_matchings = defaultdict(list) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) print(str(len(combined_list))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) combined_sum = matcherlib.summarize_matchings_to_ancestor(om.kr_handlers["efo"], combined_list) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) def syn_we_c4_c5_c6(l4, l5, l6, l42, l52, nl42, nl52, name, cuttingRatio, summaryT): print("Started computation ... ") l4_dict = dict() for matching in l4: l4_dict[matching] = 1 total_cancelled = 0 for m in nl42: if m in l4_dict: total_cancelled += 1 l4.remove(m) l4_dict = None l5_dict = dict() for matching in l5: l5_dict[matching] = 1 total_cancelled = 0 for m in nl52: if m in l5_dict: total_cancelled += 1 l5.remove(m) l5_dict = None l6_dict = dict() for matching in l6: l6_dict[matching] = 1 # curate l42 with l6 removed_l42 = 0 for m in l42: if m not in l6_dict: removed_l42 += 1 l42.remove(m) print("rem-l42: " + str(removed_l42)) # curate l52 with l6 # (('chemical', 'activity_stds_lookup', 'std_act_id'), ('efo', 'Metabolomic Profiling')) # (('chemical', 'activity_stds_lookup', '_'), ('efo', 'Experimental Factor')) removed_l52 = 0 for m in l52: db, relation, attr = m[0] el = ((db, relation, '_'), m[1]) if el not in l6_dict: # db_to_remove, rel_to_remove, _ = m[0] # for el in l52: # sch, cla = el # db, relation, attr = sch # if db == db_to_remove and relation == rel_to_remove: # if el in l52: removed_l52 += 1 l52.remove(m) print("rem-l52: " + str(removed_l52)) all_matchings = defaultdict(list) all_matchings[MatchingType.L4_CLASSNAME_RELATIONNAME_SYN] = l4 all_matchings[MatchingType.L5_CLASSNAME_ATTRNAME_SYN] = l5 all_matchings[MatchingType.L42_CLASSNAME_RELATIONNAME_SEM] = l42 all_matchings[MatchingType.L52_CLASSNAME_ATTRNAME_SEM] = l52 combined = matcherlib.combine_matchings(all_matchings) combined_list = list_from_dict(combined) print("Compute precision/recall: {}".format(str(len(combined_list)))) precision, recall = compute_pr_matchings(ground_truth_matchings, combined_list) print("StructS ... ") combined_sum = matcherlib.summarize_matchings_to_ancestor(om, combined_list, threshold_to_summarize=summaryT, summary_ratio=cuttingRatio) precision_sum, recall_sum = compute_pr_matchings(ground_truth_matchings, combined_sum) print(name + ", " + str(precision) + ", " + str(recall)) print(name + "_sum, " + str(precision_sum) + ", " + str(recall_sum)) return precision, recall, precision_sum, recall_sum print("Syn only") # l4 and l5 01 # syn and we # # syn and we c4 # # # syn and we c4 and c5 # neg = 1 six = 2 pos = 5 neg_l42 = read(path_to_raw_data + "neg_l42_0{}".format(neg)) neg_l52 = read(path_to_raw_data + "neg_l52_0{}".format(neg)) # for six in tqdm(range(2, 8, 2)): l6 = read(path_to_raw_data + "l6_0{}_1".format(six)) # for pos in tqdm(range(3, 10)): l42 = read(path_to_raw_data + "l42_0{}".format(pos)) l52 = read(path_to_raw_data + "l52_0{}".format(pos)) results = dict() # for neg in tqdm(range(1, 3)): for st in tqdm(np.arange(1, 5.5, 0.5)): print("\t{}".format(st)) for cr in tqdm(np.arange(0.5, 0.99, 0.1)): print("\t\t{}".format(cr)) i = 1 # for i in tqdm(range(2, 10, 2)): l4 = read(path_to_raw_data + "l4_0{}".format(i)) l5 = read(path_to_raw_data + "l5_0{}".format(i)) name = "st_{}_cr_{}".format(st, cr) p, r, ps, rs = syn_we_c4_c5_c6(l4, l5, l6, l42, l52, neg_l42, neg_l52, name, cr, st) results[name] = (p, r, ps, rs) # f = open('results.txt', 'rw') # for r in results.keys(): # f.write("{}:{}\n".format(r, str(results[r]))) # f.close() # last we add l1 and l7 to whatever is the best configuration if __name__ == "__main__": # Load glove model print("Loading language model...") path_to_glove_model = "../glove/glove.6B.100d.txt" glove_api.load_model(path_to_glove_model) print("Loading language model...OK") print("Benchmarking matchers and linkers") # relative_merit_one_onto("../models/chembl22/", # "efo", # "cache_onto/efo.pkl", # "../glove/glove.6B.100d.txt", # "results/") generate_results_battery_parameters("../models/chembl22/", "efo", "cache_onto/efo.pkl", "../glove/glove.6B.100d.txt", "raw/") # # generate_results_battery_parameters2("../models/chembl22/", "efo", "cache_onto/efo.pkl", # "../glove/glove.6B.100d.txt", "raw/") # best_config("../models/chembl22/", "efo", "cache_onto/efo.pkl", "../glove/glove.6B.100d.txt", "results/") #precision, recall = compute_pr("MATCHINGS_GROUND_TRUTH_CHEMBL", "results/" + "best_config") #print("Precision: " + str(precision)) #print("Recall : " + str(recall)) #check_quality_results("MATCHINGS_GROUND_TRUTH_CHEMBL", "results/") # combine_and_report_results("raw/", "MATCHINGS_GROUND_TRUTH_CHEMBL") # cl, cs, om = local_test("raw/", "MATCHINGS_GROUND_TRUTH_CHEMBL") # exit() # cs = [(el, "none") for el in cs] # # links = om.find_links(cs) # # fanout = defaultdict(int) # for sch, prop, cla in links: # fanout[sch] += 1 # # for k, v, in fanout.items(): # print(str(k) + " fanout: " + str(v)) # # print("LINKS TOTAL: " + str(len(links))) # for l in links: # print(str(l))
51.469923
132
0.579329
11,266
100,109
4.730162
0.029203
0.047288
0.063051
0.027097
0.876337
0.842053
0.831357
0.814543
0.80623
0.781122
0
0.054508
0.341548
100,109
1,944
133
51.496399
0.753933
0.071732
0
0.675546
0
0
0.046786
0.004257
0
0
0
0
0
1
0.020492
false
0
0.007514
0.000683
0.040301
0.105874
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
587b74b7110b41c12f8fa91d76b367d54adf1996
133
py
Python
recipes/Python/577015_Parse_HTTP_datetime_string/recipe-577015.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577015_Parse_HTTP_datetime_string/recipe-577015.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577015_Parse_HTTP_datetime_string/recipe-577015.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
from datetime import datetime from email.utils import parsedate def _parse_http_datetime(s): return datetime(*parsedate(s)[:6])
22.166667
38
0.781955
19
133
5.315789
0.631579
0
0
0
0
0
0
0
0
0
0
0.008621
0.12782
133
5
39
26.6
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
547b4e0095c055199d1d073b2236ae4e89a0d51a
123
py
Python
pkg/codegen/internal/test/testdata/aws-secret-pp/python/aws-secret.py
pcen/pulumi
1bb85ca98c90f2161fe915df083d47c56c135e4d
[ "Apache-2.0" ]
12,004
2018-06-17T23:56:29.000Z
2022-03-31T18:00:09.000Z
pkg/codegen/internal/test/testdata/aws-secret-pp/python/aws-secret.py
pcen/pulumi
1bb85ca98c90f2161fe915df083d47c56c135e4d
[ "Apache-2.0" ]
6,263
2018-06-17T23:27:24.000Z
2022-03-31T19:20:35.000Z
pkg/codegen/internal/test/testdata/aws-secret-pp/python/aws-secret.py
pcen/pulumi
1bb85ca98c90f2161fe915df083d47c56c135e4d
[ "Apache-2.0" ]
706
2018-06-17T23:56:50.000Z
2022-03-31T11:20:23.000Z
import pulumi import pulumi_aws as aws db_cluster = aws.rds.Cluster("dbCluster", master_password=pulumi.secret("foobar"))
24.6
82
0.796748
18
123
5.277778
0.666667
0.252632
0
0
0
0
0
0
0
0
0
0
0.089431
123
4
83
30.75
0.848214
0
0
0
0
0
0.121951
0
0
0
0
0
0
1
0
false
0.333333
0.666667
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
0
0
1
1
0
1
0
0
6
49a557eec2107af5a964abbe693a4281cecb9dd1
18,484
py
Python
starthinker/util/dcm/schema/Standard_Report_Metrics.py
viohman/starthinker
20bd2d7fd1e541eb8a2c9b7159941f667e22e38e
[ "Apache-2.0" ]
1
2019-07-02T18:25:25.000Z
2019-07-02T18:25:25.000Z
starthinker/util/dcm/schema/Standard_Report_Metrics.py
viohman/starthinker
20bd2d7fd1e541eb8a2c9b7159941f667e22e38e
[ "Apache-2.0" ]
204
2019-08-29T04:58:17.000Z
2021-07-30T04:27:07.000Z
starthinker/util/dcm/schema/Standard_Report_Metrics.py
viohman/starthinker
20bd2d7fd1e541eb8a2c9b7159941f667e22e38e
[ "Apache-2.0" ]
null
null
null
########################################################################### # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://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. # ########################################################################### Standard_Report_Metrics_Schema = [ { "name":"Active_View_Average_Viewable_Time_Seconds", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Eligible_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Measurable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Measurable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Impression_Distribution_Not_Measurable", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Impression_Distribution_Not_Viewable", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Impression_Distribution_Viewable", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Impressions_Audible_And_Visible_At_Completion", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Impressions_Visible_10_Seconds", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Measurable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Not_Measurable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Not_Viewable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Audible_And_Visible_At_Completion", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Audible_And_Visible_At_First_Quartile", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Audible_And_Visible_At_Midpoint", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Audible_And_Visible_At_Start", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Audible_And_Visible_At_Third_Quartile", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Audible_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_In_Background", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Full_Screen", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_15_Sec_Cap_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Audible_Amp_Fully_On_Screen_For_Half_Of_Duration_Trueview_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_Completed_Impressions_Audible_And_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_First_Quartile_Impressions_Audible_And_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_Midpoint_Impressions_Audible_And_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_Third_Quartile_Impressions_Audible_And_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_Completed_Impressions_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_First_Quartile_Impressions_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_Midpoint_Impressions_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Of_Third_Quartile_Impressions_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Play_Time_Audible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Play_Time_Audible_And_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Play_Time_Visible", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Visible_10_Seconds", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Visible_At_Completion", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Visible_At_First_Quartile", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Visible_At_Midpoint", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Visible_At_Start", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Visible_At_Third_Quartile", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Measurable_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Percent_Viewable_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Active_View_Viewable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Click_Through_Conversions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Click_Through_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Activity_Delivery_Status", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Activity_Per_Click", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Activity_Per_Thousand_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"View_Through_Conversions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"View_Through_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Audio_Companion_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Companion_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Booked_Activities", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Booked_Clicks", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Booked_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Booked_Viewable_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Click_Delivery_Status", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Click_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Cost_Per_Activity", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Cost_Per_Click", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Cost_Per_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Click_Through_Conversions_Cross_Environment", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Click_Through_Revenue_Cross_Environment", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Click_Through_Conversion_Events_Cross_Environment", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Total_Conversions_Cross_Environment", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Total_Revenue_Cross_Environment", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Total_Conversion_Events_Cross_Environment", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"View_Through_Conversions_Cross_Environment", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"View_Through_Revenue_Cross_Environment", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"View_Through_Conversion_Events_Cross_Environment", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Dbm_Cost_Account_Currency", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Dbm_Cost_Usd", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Downloaded_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Dynamic_Element_Click_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Dynamic_Element_Click_Through_Conversions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Dynamic_Element_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Dynamic_Element_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Dynamic_Element_Total_Conversions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Dynamic_Element_View_Through_Conversions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Effective_Cpm", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"General_Invalid_Traffic_Givt_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"General_Invalid_Traffic_Givt_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Impression_Delivery_Status", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Invalid_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Invalid_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Media_Cost", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Natural_Search_Actions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Natural_Search_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Natural_Search_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Natural_Search_Transactions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Action_Conversion_Percentage", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Actions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Average_Cost_Per_Action", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Average_Cost_Per_Transaction", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Average_Dcm_Transaction_Amount", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Average_Position", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Click_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Paid_Search_Cost", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Paid_Search_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Spend_Per_Transaction_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Transaction_Conversion_Percentage", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Floodlight_Paid_Search_Transaction_Revenue_Per_Spend", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Transactions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Paid_Search_Visits", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Percent_Invalid_Clicks", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Percent_Invalid_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Planned_Media_Cost", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Revenue_Per_Click", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Revenue_Per_Thousand_Impressions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Audio_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_First_Quartile_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Midpoints", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Mutes", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Pauses", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Plays", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Replays", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Third_Quartile_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Audio_Unmutes", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Average_Display_Time", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Average_Expansion_Time", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Full_Screen_Average_View_Time", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Average_Interaction_Time", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Video_Average_View_Time", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Backup_Image", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Rich_Media_Click_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Rich_Media_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Code_Serves", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Average_Time", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Counters", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Exits", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Timers", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Custom_Variable_Count_1", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Custom_Variable_Count_2", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Total_Display_Time", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Event_Counters", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Event_Timers", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Expansion_Time", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Expansions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Full_Screen_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Full_Screen_Video_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Full_Screen_Video_Plays", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Html5_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Rich_Media_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Interaction_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Total_Interaction_Time", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Total_Interactions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Interactive_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Manual_Closes", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Trueview_Views", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Companion_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_First_Quartile_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Full_Screen", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Interaction_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Video_Interactions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Midpoints", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Mutes", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Pauses", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Plays", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Progress_Events", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Replays", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Skips", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Stops", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Third_Quartile_Completions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Unmutes", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_View_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Video_Views", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Roadblock_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Email_Shares", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Social_Engagement_Rate", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Follows", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Leads_Generated", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Likes", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Offers_Accepted", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Replies", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Total_Social_Engagements", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Total_Conversions", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Total_Revenue", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Twitter_App_Install_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Buy_Now_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Buy_Now_Purchases", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Other_Twitter_Engagements", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Retweets", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Url_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Video_50Percent_In_View_For_2_Seconds", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Twitter_Video_100Percent_In_View_For_3_Seconds", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Blocked_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Classified_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Measurable_Impressions_For_Audio", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Measurable_Impressions_For_Video_Player_Location", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Measurable_Impressions_For_Video_Player_Size", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Percentage_Of_Measurable_Impressions_For_Audio", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Percentage_Of_Measurable_Impressions_For_Video_Player_Location", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Percentage_Of_Measurable_Impressions_For_Video_Player_Size", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Publisher_Problems", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Reporting_Problems", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Serving_Problems", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Verifiable_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Muted_At_Start", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Hd_Video_Player_Size_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Large_Video_Player_Size_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Player_Location_Avg_Pixels_From_Left", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Player_Location_Avg_Pixels_From_Top", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Player_Size_Avg_Height", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Player_Size_Avg_Width", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Small_Video_Player_Size_Impressions", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Video_Prominence_Score", "type":"FLOAT", "mode":"NULLABLE" }, { "name":"Warnings", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Companion_Clicks", "type":"INTEGER", "mode":"NULLABLE" }, { "name":"Companion_Impressions", "type":"INTEGER", "mode":"NULLABLE" } ]
78.655319
147
0.669227
2,070
18,484
5.642995
0.115942
0.220872
0.293126
0.232343
0.895557
0.855749
0.656365
0.455184
0.34081
0.252376
0
0.001661
0.087752
18,484
235
148
78.655319
0.691081
0.030188
0
0
0
0
0.670101
0.294538
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b7083832ffade8999cd569e1e64ace3f0c153170
1,414
py
Python
extensions/.stubs/clrclasses/System/Net/Mail/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
1
2020-03-25T03:27:24.000Z
2020-03-25T03:27:24.000Z
extensions/.stubs/clrclasses/System/Net/Mail/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
extensions/.stubs/clrclasses/System/Net/Mail/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
from __clrclasses__.System.Net.Mail import AlternateView from __clrclasses__.System.Net.Mail import AlternateViewCollection from __clrclasses__.System.Net.Mail import Attachment from __clrclasses__.System.Net.Mail import AttachmentBase from __clrclasses__.System.Net.Mail import AttachmentCollection from __clrclasses__.System.Net.Mail import DeliveryNotificationOptions from __clrclasses__.System.Net.Mail import LinkedResource from __clrclasses__.System.Net.Mail import LinkedResourceCollection from __clrclasses__.System.Net.Mail import MailAddress from __clrclasses__.System.Net.Mail import MailAddressCollection from __clrclasses__.System.Net.Mail import MailMessage from __clrclasses__.System.Net.Mail import MailPriority from __clrclasses__.System.Net.Mail import SendCompletedEventHandler from __clrclasses__.System.Net.Mail import SmtpAccess from __clrclasses__.System.Net.Mail import SmtpClient from __clrclasses__.System.Net.Mail import SmtpDeliveryFormat from __clrclasses__.System.Net.Mail import SmtpDeliveryMethod from __clrclasses__.System.Net.Mail import SmtpException from __clrclasses__.System.Net.Mail import SmtpFailedRecipientException from __clrclasses__.System.Net.Mail import SmtpFailedRecipientsException from __clrclasses__.System.Net.Mail import SmtpPermission from __clrclasses__.System.Net.Mail import SmtpPermissionAttribute from __clrclasses__.System.Net.Mail import SmtpStatusCode
58.916667
72
0.886139
161
1,414
7.21118
0.180124
0.277347
0.39621
0.455642
0.653747
0.653747
0
0
0
0
0
0
0.065064
1,414
23
73
61.478261
0.878215
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
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
6
b72b8bdb6211dd6f32cb227832e1fa11f9a410e5
61
py
Python
pystiche/image/__init__.py
dooglewoogle/pystiche
14b61123ede2abdb00daaa5b4981de6d7edaf034
[ "BSD-3-Clause" ]
129
2019-10-04T00:23:54.000Z
2021-04-24T06:41:37.000Z
pystiche/image/__init__.py
dooglewoogle/pystiche
14b61123ede2abdb00daaa5b4981de6d7edaf034
[ "BSD-3-Clause" ]
334
2019-10-01T08:10:44.000Z
2021-04-25T19:39:09.000Z
pystiche/image/__init__.py
dooglewoogle/pystiche
14b61123ede2abdb00daaa5b4981de6d7edaf034
[ "BSD-3-Clause" ]
32
2021-05-05T05:06:18.000Z
2022-03-17T09:14:47.000Z
from .utils import * from .io import * from .guides import *
15.25
21
0.704918
9
61
4.777778
0.555556
0.465116
0
0
0
0
0
0
0
0
0
0
0.196721
61
3
22
20.333333
0.877551
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
3fa3187eed6ead6ac676de1a41ed4654c47af65d
38,031
py
Python
instances/passenger_demand/pas-20210421-2109-int18e/92.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210421-2109-int18e/92.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210421-2109-int18e/92.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
""" PASSENGERS """ numPassengers = 4128 passenger_arriving = ( (7, 10, 6, 6, 2, 0, 4, 10, 3, 3, 2, 0), # 0 (7, 16, 11, 6, 4, 0, 15, 12, 9, 12, 2, 0), # 1 (5, 7, 7, 6, 3, 0, 11, 12, 6, 5, 4, 0), # 2 (6, 11, 5, 8, 4, 0, 10, 7, 5, 8, 2, 0), # 3 (6, 10, 9, 3, 0, 0, 6, 8, 2, 8, 2, 0), # 4 (4, 8, 9, 3, 1, 0, 10, 21, 2, 6, 1, 0), # 5 (2, 7, 7, 2, 2, 0, 14, 17, 5, 7, 4, 0), # 6 (4, 7, 7, 6, 2, 0, 5, 11, 7, 4, 4, 0), # 7 (5, 6, 5, 7, 6, 0, 4, 8, 5, 3, 9, 0), # 8 (2, 7, 7, 4, 3, 0, 8, 9, 5, 7, 4, 0), # 9 (4, 11, 6, 9, 3, 0, 9, 11, 8, 5, 4, 0), # 10 (6, 12, 10, 7, 6, 0, 9, 8, 4, 6, 4, 0), # 11 (7, 13, 11, 2, 2, 0, 13, 10, 9, 7, 0, 0), # 12 (5, 15, 16, 6, 4, 0, 10, 16, 10, 11, 1, 0), # 13 (8, 9, 7, 3, 3, 0, 6, 16, 8, 6, 4, 0), # 14 (8, 9, 14, 6, 3, 0, 4, 8, 9, 6, 1, 0), # 15 (6, 17, 10, 2, 8, 0, 12, 11, 12, 8, 3, 0), # 16 (5, 14, 8, 10, 2, 0, 5, 11, 14, 2, 2, 0), # 17 (5, 12, 4, 4, 2, 0, 5, 9, 8, 11, 3, 0), # 18 (9, 18, 11, 6, 0, 0, 12, 11, 7, 6, 2, 0), # 19 (4, 10, 10, 3, 3, 0, 8, 11, 8, 5, 5, 0), # 20 (4, 15, 14, 4, 5, 0, 10, 15, 4, 2, 4, 0), # 21 (6, 13, 8, 3, 4, 0, 11, 6, 5, 5, 3, 0), # 22 (3, 11, 17, 1, 3, 0, 5, 14, 5, 7, 4, 0), # 23 (6, 5, 14, 4, 1, 0, 6, 7, 5, 11, 3, 0), # 24 (7, 18, 6, 8, 4, 0, 4, 8, 5, 4, 0, 0), # 25 (7, 9, 5, 4, 3, 0, 11, 10, 6, 8, 2, 0), # 26 (5, 18, 7, 7, 5, 0, 6, 16, 14, 6, 0, 0), # 27 (7, 12, 9, 1, 4, 0, 10, 10, 7, 3, 2, 0), # 28 (4, 11, 9, 2, 4, 0, 11, 12, 4, 10, 1, 0), # 29 (6, 8, 11, 3, 3, 0, 5, 14, 7, 8, 1, 0), # 30 (4, 17, 7, 0, 5, 0, 5, 13, 5, 2, 2, 0), # 31 (9, 18, 4, 6, 5, 0, 8, 9, 9, 3, 1, 0), # 32 (7, 12, 11, 1, 1, 0, 6, 12, 7, 5, 5, 0), # 33 (2, 8, 7, 3, 3, 0, 4, 13, 9, 10, 2, 0), # 34 (7, 8, 18, 7, 1, 0, 11, 11, 8, 7, 4, 0), # 35 (6, 16, 11, 5, 4, 0, 5, 11, 7, 10, 4, 0), # 36 (5, 12, 10, 3, 4, 0, 8, 11, 13, 7, 2, 0), # 37 (6, 8, 10, 14, 1, 0, 11, 10, 10, 8, 4, 0), # 38 (8, 12, 9, 2, 4, 0, 2, 17, 5, 7, 0, 0), # 39 (4, 10, 11, 3, 2, 0, 5, 11, 12, 4, 2, 0), # 40 (4, 5, 13, 5, 4, 0, 6, 14, 13, 5, 4, 0), # 41 (1, 12, 10, 6, 3, 0, 8, 9, 9, 4, 3, 0), # 42 (3, 7, 17, 7, 2, 0, 12, 10, 7, 7, 7, 0), # 43 (6, 11, 8, 3, 1, 0, 13, 8, 5, 2, 3, 0), # 44 (4, 13, 10, 5, 2, 0, 7, 8, 4, 8, 8, 0), # 45 (5, 17, 7, 7, 1, 0, 9, 13, 6, 8, 2, 0), # 46 (2, 13, 7, 6, 4, 0, 9, 9, 6, 6, 3, 0), # 47 (4, 7, 9, 7, 2, 0, 6, 16, 7, 5, 4, 0), # 48 (9, 10, 8, 8, 1, 0, 11, 10, 9, 8, 6, 0), # 49 (11, 16, 13, 6, 3, 0, 9, 7, 12, 8, 3, 0), # 50 (8, 12, 5, 6, 4, 0, 4, 15, 10, 6, 1, 0), # 51 (6, 15, 11, 4, 1, 0, 7, 15, 7, 4, 2, 0), # 52 (7, 11, 11, 5, 2, 0, 4, 15, 4, 3, 4, 0), # 53 (7, 12, 8, 8, 3, 0, 8, 14, 8, 4, 5, 0), # 54 (9, 11, 6, 3, 2, 0, 9, 11, 4, 1, 4, 0), # 55 (4, 17, 4, 4, 1, 0, 7, 12, 6, 6, 2, 0), # 56 (6, 7, 13, 7, 2, 0, 8, 13, 5, 5, 2, 0), # 57 (8, 8, 12, 11, 4, 0, 6, 12, 5, 6, 7, 0), # 58 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), # 59 ) station_arriving_intensity = ( (4.769372805092186, 12.233629261363635, 14.389624839331619, 11.405298913043477, 12.857451923076923, 8.562228260869567), # 0 (4.81413961808604, 12.369674877683082, 14.46734796754499, 11.46881589673913, 12.953819711538461, 8.559309850543478), # 1 (4.8583952589991215, 12.503702525252525, 14.54322622107969, 11.530934782608696, 13.048153846153847, 8.556302173913043), # 2 (4.902102161984196, 12.635567578125, 14.617204169344474, 11.591602581521737, 13.14036778846154, 8.553205638586958), # 3 (4.94522276119403, 12.765125410353535, 14.689226381748071, 11.650766304347826, 13.230375, 8.550020652173911), # 4 (4.987719490781387, 12.892231395991162, 14.759237427699228, 11.708372961956522, 13.318088942307691, 8.546747622282608), # 5 (5.029554784899035, 13.01674090909091, 14.827181876606687, 11.764369565217393, 13.403423076923078, 8.54338695652174), # 6 (5.0706910776997365, 13.138509323705808, 14.893004297879177, 11.818703125, 13.486290865384618, 8.5399390625), # 7 (5.1110908033362605, 13.257392013888888, 14.956649260925452, 11.871320652173912, 13.56660576923077, 8.536404347826087), # 8 (5.1507163959613695, 13.373244353693181, 15.018061335154243, 11.922169157608696, 13.644281249999999, 8.532783220108696), # 9 (5.1895302897278315, 13.485921717171717, 15.077185089974291, 11.971195652173915, 13.719230769230771, 8.529076086956522), # 10 (5.227494918788412, 13.595279478377526, 15.133965094794343, 12.018347146739131, 13.791367788461539, 8.525283355978262), # 11 (5.2645727172958745, 13.701173011363636, 15.188345919023137, 12.063570652173912, 13.860605769230768, 8.521405434782608), # 12 (5.3007261194029835, 13.803457690183082, 15.240272132069407, 12.106813179347826, 13.926858173076925, 8.51744273097826), # 13 (5.335917559262511, 13.90198888888889, 15.289688303341899, 12.148021739130433, 13.99003846153846, 8.513395652173912), # 14 (5.370109471027217, 13.996621981534089, 15.336539002249355, 12.187143342391304, 14.050060096153846, 8.509264605978261), # 15 (5.403264288849868, 14.087212342171718, 15.380768798200515, 12.224124999999999, 14.10683653846154, 8.50505), # 16 (5.4353444468832315, 14.173615344854797, 15.422322260604112, 12.258913722826087, 14.16028125, 8.500752241847827), # 17 (5.46631237928007, 14.255686363636363, 15.461143958868895, 12.291456521739132, 14.210307692307696, 8.496371739130435), # 18 (5.496130520193152, 14.333280772569443, 15.4971784624036, 12.321700407608695, 14.256829326923079, 8.491908899456522), # 19 (5.524761303775241, 14.40625394570707, 15.530370340616965, 12.349592391304348, 14.299759615384616, 8.487364130434782), # 20 (5.552167164179106, 14.47446125710227, 15.56066416291774, 12.375079483695652, 14.339012019230768, 8.482737839673913), # 21 (5.578310535557506, 14.537758080808082, 15.588004498714653, 12.398108695652175, 14.374499999999998, 8.47803043478261), # 22 (5.603153852063214, 14.595999790877526, 15.612335917416454, 12.418627038043478, 14.40613701923077, 8.473242323369567), # 23 (5.62665954784899, 14.649041761363636, 15.633602988431875, 12.43658152173913, 14.433836538461538, 8.468373913043479), # 24 (5.648790057067603, 14.696739366319445, 15.651750281169667, 12.451919157608696, 14.457512019230768, 8.463425611413044), # 25 (5.669507813871817, 14.738947979797977, 15.66672236503856, 12.464586956521739, 14.477076923076922, 8.458397826086957), # 26 (5.688775252414398, 14.77552297585227, 15.6784638094473, 12.474531929347828, 14.492444711538463, 8.453290964673915), # 27 (5.7065548068481124, 14.806319728535353, 15.68691918380463, 12.481701086956523, 14.503528846153845, 8.448105434782608), # 28 (5.722808911325724, 14.831193611900254, 15.69203305751928, 12.486041440217392, 14.510242788461538, 8.44284164402174), # 29 (5.7375, 14.85, 15.69375, 12.4875, 14.512500000000001, 8.4375), # 30 (5.751246651214834, 14.865621839488634, 15.692462907608693, 12.487236580882353, 14.511678590425532, 8.430077267616193), # 31 (5.7646965153452685, 14.881037215909092, 15.68863804347826, 12.486451470588234, 14.509231914893617, 8.418644565217393), # 32 (5.777855634590792, 14.896244211647728, 15.682330027173915, 12.485152389705883, 14.50518630319149, 8.403313830584706), # 33 (5.790730051150895, 14.91124090909091, 15.67359347826087, 12.483347058823531, 14.499568085106382, 8.38419700149925), # 34 (5.803325807225064, 14.926025390624996, 15.662483016304348, 12.481043198529411, 14.492403590425532, 8.361406015742128), # 35 (5.815648945012788, 14.940595738636366, 15.649053260869564, 12.478248529411767, 14.48371914893617, 8.335052811094453), # 36 (5.8277055067135555, 14.954950035511365, 15.63335883152174, 12.474970772058823, 14.47354109042553, 8.305249325337332), # 37 (5.839501534526853, 14.969086363636364, 15.615454347826088, 12.471217647058824, 14.461895744680852, 8.272107496251873), # 38 (5.851043070652174, 14.983002805397728, 15.595394429347825, 12.466996875000001, 14.44880944148936, 8.23573926161919), # 39 (5.862336157289003, 14.99669744318182, 15.573233695652176, 12.462316176470589, 14.434308510638296, 8.196256559220389), # 40 (5.873386836636828, 15.010168359374997, 15.549026766304348, 12.457183272058824, 14.418419281914893, 8.153771326836583), # 41 (5.88420115089514, 15.023413636363639, 15.522828260869566, 12.451605882352942, 14.401168085106384, 8.108395502248875), # 42 (5.894785142263428, 15.03643135653409, 15.494692798913043, 12.445591727941178, 14.38258125, 8.060241023238381), # 43 (5.905144852941176, 15.049219602272727, 15.464675, 12.439148529411764, 14.36268510638298, 8.009419827586207), # 44 (5.915286325127877, 15.061776455965909, 15.432829483695656, 12.43228400735294, 14.341505984042554, 7.956043853073464), # 45 (5.925215601023019, 15.074100000000003, 15.39921086956522, 12.425005882352941, 14.319070212765958, 7.90022503748126), # 46 (5.934938722826087, 15.086188316761364, 15.363873777173913, 12.417321874999999, 14.295404122340427, 7.842075318590705), # 47 (5.944461732736574, 15.098039488636365, 15.326872826086957, 12.409239705882353, 14.27053404255319, 7.7817066341829095), # 48 (5.953790672953963, 15.10965159801136, 15.288262635869566, 12.400767095588236, 14.24448630319149, 7.71923092203898), # 49 (5.96293158567775, 15.121022727272724, 15.248097826086958, 12.391911764705883, 14.217287234042553, 7.65476011994003), # 50 (5.971890513107417, 15.132150958806818, 15.206433016304347, 12.38268143382353, 14.188963164893616, 7.588406165667167), # 51 (5.980673497442456, 15.143034375, 15.163322826086954, 12.373083823529411, 14.159540425531915, 7.5202809970015), # 52 (5.989286580882353, 15.153671058238638, 15.118821875, 12.363126654411765, 14.129045345744682, 7.450496551724138), # 53 (5.9977358056266, 15.164059090909088, 15.072984782608694, 12.352817647058824, 14.09750425531915, 7.379164767616192), # 54 (6.00602721387468, 15.174196555397728, 15.02586616847826, 12.342164522058825, 14.064943484042553, 7.306397582458771), # 55 (6.014166847826087, 15.184081534090907, 14.977520652173913, 12.331175, 14.031389361702129, 7.232306934032984), # 56 (6.022160749680308, 15.193712109375003, 14.92800285326087, 12.319856801470587, 13.996868218085105, 7.15700476011994), # 57 (6.030014961636829, 15.203086363636363, 14.877367391304347, 12.308217647058825, 13.961406382978723, 7.0806029985007495), # 58 (0.0, 0.0, 0.0, 0.0, 0.0, 0.0), # 59 ) passenger_arriving_acc = ( (7, 10, 6, 6, 2, 0, 4, 10, 3, 3, 2, 0), # 0 (14, 26, 17, 12, 6, 0, 19, 22, 12, 15, 4, 0), # 1 (19, 33, 24, 18, 9, 0, 30, 34, 18, 20, 8, 0), # 2 (25, 44, 29, 26, 13, 0, 40, 41, 23, 28, 10, 0), # 3 (31, 54, 38, 29, 13, 0, 46, 49, 25, 36, 12, 0), # 4 (35, 62, 47, 32, 14, 0, 56, 70, 27, 42, 13, 0), # 5 (37, 69, 54, 34, 16, 0, 70, 87, 32, 49, 17, 0), # 6 (41, 76, 61, 40, 18, 0, 75, 98, 39, 53, 21, 0), # 7 (46, 82, 66, 47, 24, 0, 79, 106, 44, 56, 30, 0), # 8 (48, 89, 73, 51, 27, 0, 87, 115, 49, 63, 34, 0), # 9 (52, 100, 79, 60, 30, 0, 96, 126, 57, 68, 38, 0), # 10 (58, 112, 89, 67, 36, 0, 105, 134, 61, 74, 42, 0), # 11 (65, 125, 100, 69, 38, 0, 118, 144, 70, 81, 42, 0), # 12 (70, 140, 116, 75, 42, 0, 128, 160, 80, 92, 43, 0), # 13 (78, 149, 123, 78, 45, 0, 134, 176, 88, 98, 47, 0), # 14 (86, 158, 137, 84, 48, 0, 138, 184, 97, 104, 48, 0), # 15 (92, 175, 147, 86, 56, 0, 150, 195, 109, 112, 51, 0), # 16 (97, 189, 155, 96, 58, 0, 155, 206, 123, 114, 53, 0), # 17 (102, 201, 159, 100, 60, 0, 160, 215, 131, 125, 56, 0), # 18 (111, 219, 170, 106, 60, 0, 172, 226, 138, 131, 58, 0), # 19 (115, 229, 180, 109, 63, 0, 180, 237, 146, 136, 63, 0), # 20 (119, 244, 194, 113, 68, 0, 190, 252, 150, 138, 67, 0), # 21 (125, 257, 202, 116, 72, 0, 201, 258, 155, 143, 70, 0), # 22 (128, 268, 219, 117, 75, 0, 206, 272, 160, 150, 74, 0), # 23 (134, 273, 233, 121, 76, 0, 212, 279, 165, 161, 77, 0), # 24 (141, 291, 239, 129, 80, 0, 216, 287, 170, 165, 77, 0), # 25 (148, 300, 244, 133, 83, 0, 227, 297, 176, 173, 79, 0), # 26 (153, 318, 251, 140, 88, 0, 233, 313, 190, 179, 79, 0), # 27 (160, 330, 260, 141, 92, 0, 243, 323, 197, 182, 81, 0), # 28 (164, 341, 269, 143, 96, 0, 254, 335, 201, 192, 82, 0), # 29 (170, 349, 280, 146, 99, 0, 259, 349, 208, 200, 83, 0), # 30 (174, 366, 287, 146, 104, 0, 264, 362, 213, 202, 85, 0), # 31 (183, 384, 291, 152, 109, 0, 272, 371, 222, 205, 86, 0), # 32 (190, 396, 302, 153, 110, 0, 278, 383, 229, 210, 91, 0), # 33 (192, 404, 309, 156, 113, 0, 282, 396, 238, 220, 93, 0), # 34 (199, 412, 327, 163, 114, 0, 293, 407, 246, 227, 97, 0), # 35 (205, 428, 338, 168, 118, 0, 298, 418, 253, 237, 101, 0), # 36 (210, 440, 348, 171, 122, 0, 306, 429, 266, 244, 103, 0), # 37 (216, 448, 358, 185, 123, 0, 317, 439, 276, 252, 107, 0), # 38 (224, 460, 367, 187, 127, 0, 319, 456, 281, 259, 107, 0), # 39 (228, 470, 378, 190, 129, 0, 324, 467, 293, 263, 109, 0), # 40 (232, 475, 391, 195, 133, 0, 330, 481, 306, 268, 113, 0), # 41 (233, 487, 401, 201, 136, 0, 338, 490, 315, 272, 116, 0), # 42 (236, 494, 418, 208, 138, 0, 350, 500, 322, 279, 123, 0), # 43 (242, 505, 426, 211, 139, 0, 363, 508, 327, 281, 126, 0), # 44 (246, 518, 436, 216, 141, 0, 370, 516, 331, 289, 134, 0), # 45 (251, 535, 443, 223, 142, 0, 379, 529, 337, 297, 136, 0), # 46 (253, 548, 450, 229, 146, 0, 388, 538, 343, 303, 139, 0), # 47 (257, 555, 459, 236, 148, 0, 394, 554, 350, 308, 143, 0), # 48 (266, 565, 467, 244, 149, 0, 405, 564, 359, 316, 149, 0), # 49 (277, 581, 480, 250, 152, 0, 414, 571, 371, 324, 152, 0), # 50 (285, 593, 485, 256, 156, 0, 418, 586, 381, 330, 153, 0), # 51 (291, 608, 496, 260, 157, 0, 425, 601, 388, 334, 155, 0), # 52 (298, 619, 507, 265, 159, 0, 429, 616, 392, 337, 159, 0), # 53 (305, 631, 515, 273, 162, 0, 437, 630, 400, 341, 164, 0), # 54 (314, 642, 521, 276, 164, 0, 446, 641, 404, 342, 168, 0), # 55 (318, 659, 525, 280, 165, 0, 453, 653, 410, 348, 170, 0), # 56 (324, 666, 538, 287, 167, 0, 461, 666, 415, 353, 172, 0), # 57 (332, 674, 550, 298, 171, 0, 467, 678, 420, 359, 179, 0), # 58 (332, 674, 550, 298, 171, 0, 467, 678, 420, 359, 179, 0), # 59 ) passenger_arriving_rate = ( (4.769372805092186, 9.786903409090908, 8.63377490359897, 4.56211956521739, 2.5714903846153843, 0.0, 8.562228260869567, 10.285961538461537, 6.843179347826086, 5.755849935732647, 2.446725852272727, 0.0), # 0 (4.81413961808604, 9.895739902146465, 8.680408780526994, 4.587526358695651, 2.5907639423076922, 0.0, 8.559309850543478, 10.363055769230769, 6.881289538043478, 5.786939187017995, 2.4739349755366162, 0.0), # 1 (4.8583952589991215, 10.00296202020202, 8.725935732647814, 4.612373913043478, 2.609630769230769, 0.0, 8.556302173913043, 10.438523076923076, 6.918560869565217, 5.817290488431875, 2.500740505050505, 0.0), # 2 (4.902102161984196, 10.1084540625, 8.770322501606683, 4.636641032608694, 2.628073557692308, 0.0, 8.553205638586958, 10.512294230769232, 6.954961548913042, 5.846881667737789, 2.527113515625, 0.0), # 3 (4.94522276119403, 10.212100328282828, 8.813535829048842, 4.66030652173913, 2.6460749999999997, 0.0, 8.550020652173911, 10.584299999999999, 6.990459782608696, 5.875690552699228, 2.553025082070707, 0.0), # 4 (4.987719490781387, 10.313785116792928, 8.855542456619537, 4.6833491847826085, 2.663617788461538, 0.0, 8.546747622282608, 10.654471153846153, 7.025023777173913, 5.90369497107969, 2.578446279198232, 0.0), # 5 (5.029554784899035, 10.413392727272727, 8.896309125964011, 4.705747826086957, 2.680684615384615, 0.0, 8.54338695652174, 10.72273846153846, 7.058621739130436, 5.930872750642674, 2.603348181818182, 0.0), # 6 (5.0706910776997365, 10.510807458964646, 8.935802578727506, 4.72748125, 2.697258173076923, 0.0, 8.5399390625, 10.789032692307693, 7.0912218750000005, 5.95720171915167, 2.6277018647411614, 0.0), # 7 (5.1110908033362605, 10.60591361111111, 8.97398955655527, 4.7485282608695645, 2.7133211538461537, 0.0, 8.536404347826087, 10.853284615384615, 7.122792391304347, 5.982659704370181, 2.6514784027777774, 0.0), # 8 (5.1507163959613695, 10.698595482954543, 9.010836801092546, 4.768867663043478, 2.7288562499999993, 0.0, 8.532783220108696, 10.915424999999997, 7.153301494565217, 6.007224534061697, 2.6746488707386358, 0.0), # 9 (5.1895302897278315, 10.788737373737373, 9.046311053984574, 4.7884782608695655, 2.743846153846154, 0.0, 8.529076086956522, 10.975384615384616, 7.182717391304348, 6.030874035989716, 2.697184343434343, 0.0), # 10 (5.227494918788412, 10.87622358270202, 9.080379056876605, 4.807338858695652, 2.7582735576923074, 0.0, 8.525283355978262, 11.03309423076923, 7.2110082880434785, 6.053586037917737, 2.719055895675505, 0.0), # 11 (5.2645727172958745, 10.960938409090907, 9.113007551413881, 4.825428260869565, 2.7721211538461534, 0.0, 8.521405434782608, 11.088484615384614, 7.238142391304347, 6.0753383676092545, 2.740234602272727, 0.0), # 12 (5.3007261194029835, 11.042766152146465, 9.144163279241644, 4.8427252717391305, 2.7853716346153847, 0.0, 8.51744273097826, 11.141486538461539, 7.264087907608696, 6.096108852827762, 2.760691538036616, 0.0), # 13 (5.335917559262511, 11.121591111111112, 9.173812982005138, 4.859208695652173, 2.7980076923076918, 0.0, 8.513395652173912, 11.192030769230767, 7.288813043478259, 6.115875321336759, 2.780397777777778, 0.0), # 14 (5.370109471027217, 11.19729758522727, 9.201923401349612, 4.874857336956521, 2.810012019230769, 0.0, 8.509264605978261, 11.240048076923076, 7.312286005434782, 6.134615600899742, 2.7993243963068175, 0.0), # 15 (5.403264288849868, 11.269769873737372, 9.228461278920308, 4.88965, 2.8213673076923076, 0.0, 8.50505, 11.28546923076923, 7.334474999999999, 6.152307519280206, 2.817442468434343, 0.0), # 16 (5.4353444468832315, 11.338892275883836, 9.253393356362468, 4.903565489130434, 2.83205625, 0.0, 8.500752241847827, 11.328225, 7.3553482336956515, 6.168928904241644, 2.834723068970959, 0.0), # 17 (5.46631237928007, 11.40454909090909, 9.276686375321336, 4.916582608695652, 2.842061538461539, 0.0, 8.496371739130435, 11.368246153846156, 7.374873913043479, 6.184457583547558, 2.8511372727272724, 0.0), # 18 (5.496130520193152, 11.466624618055553, 9.298307077442159, 4.928680163043477, 2.8513658653846155, 0.0, 8.491908899456522, 11.405463461538462, 7.393020244565217, 6.198871384961439, 2.866656154513888, 0.0), # 19 (5.524761303775241, 11.525003156565655, 9.318222204370178, 4.939836956521739, 2.859951923076923, 0.0, 8.487364130434782, 11.439807692307692, 7.409755434782609, 6.212148136246785, 2.8812507891414136, 0.0), # 20 (5.552167164179106, 11.579569005681815, 9.336398497750643, 4.95003179347826, 2.8678024038461536, 0.0, 8.482737839673913, 11.471209615384614, 7.425047690217391, 6.224265665167096, 2.894892251420454, 0.0), # 21 (5.578310535557506, 11.630206464646465, 9.352802699228791, 4.95924347826087, 2.8748999999999993, 0.0, 8.47803043478261, 11.499599999999997, 7.438865217391305, 6.235201799485861, 2.907551616161616, 0.0), # 22 (5.603153852063214, 11.67679983270202, 9.367401550449872, 4.967450815217391, 2.8812274038461534, 0.0, 8.473242323369567, 11.524909615384614, 7.451176222826087, 6.244934366966581, 2.919199958175505, 0.0), # 23 (5.62665954784899, 11.719233409090908, 9.380161793059125, 4.974632608695652, 2.8867673076923075, 0.0, 8.468373913043479, 11.54706923076923, 7.461948913043478, 6.25344119537275, 2.929808352272727, 0.0), # 24 (5.648790057067603, 11.757391493055556, 9.391050168701799, 4.980767663043478, 2.8915024038461534, 0.0, 8.463425611413044, 11.566009615384614, 7.471151494565217, 6.260700112467866, 2.939347873263889, 0.0), # 25 (5.669507813871817, 11.79115838383838, 9.400033419023135, 4.985834782608695, 2.8954153846153843, 0.0, 8.458397826086957, 11.581661538461537, 7.478752173913043, 6.266688946015424, 2.947789595959595, 0.0), # 26 (5.688775252414398, 11.820418380681815, 9.40707828566838, 4.989812771739131, 2.8984889423076923, 0.0, 8.453290964673915, 11.593955769230769, 7.484719157608696, 6.271385523778919, 2.9551045951704538, 0.0), # 27 (5.7065548068481124, 11.84505578282828, 9.412151510282778, 4.992680434782609, 2.9007057692307687, 0.0, 8.448105434782608, 11.602823076923075, 7.489020652173913, 6.274767673521851, 2.96126394570707, 0.0), # 28 (5.722808911325724, 11.864954889520202, 9.415219834511568, 4.994416576086956, 2.902048557692307, 0.0, 8.44284164402174, 11.608194230769229, 7.491624864130435, 6.276813223007712, 2.9662387223800506, 0.0), # 29 (5.7375, 11.879999999999999, 9.41625, 4.995, 2.9025, 0.0, 8.4375, 11.61, 7.4925, 6.277499999999999, 2.9699999999999998, 0.0), # 30 (5.751246651214834, 11.892497471590906, 9.415477744565216, 4.994894632352941, 2.9023357180851064, 0.0, 8.430077267616193, 11.609342872340426, 7.492341948529411, 6.276985163043476, 2.9731243678977264, 0.0), # 31 (5.7646965153452685, 11.904829772727274, 9.413182826086956, 4.994580588235293, 2.901846382978723, 0.0, 8.418644565217393, 11.607385531914892, 7.49187088235294, 6.275455217391303, 2.9762074431818184, 0.0), # 32 (5.777855634590792, 11.916995369318181, 9.40939801630435, 4.994060955882353, 2.9010372606382977, 0.0, 8.403313830584706, 11.60414904255319, 7.491091433823529, 6.272932010869566, 2.9792488423295453, 0.0), # 33 (5.790730051150895, 11.928992727272727, 9.40415608695652, 4.993338823529412, 2.899913617021276, 0.0, 8.38419700149925, 11.599654468085104, 7.490008235294118, 6.269437391304347, 2.9822481818181816, 0.0), # 34 (5.803325807225064, 11.940820312499996, 9.39748980978261, 4.9924172794117645, 2.898480718085106, 0.0, 8.361406015742128, 11.593922872340425, 7.488625919117647, 6.264993206521739, 2.985205078124999, 0.0), # 35 (5.815648945012788, 11.952476590909091, 9.389431956521738, 4.9912994117647065, 2.896743829787234, 0.0, 8.335052811094453, 11.586975319148936, 7.486949117647059, 6.259621304347825, 2.988119147727273, 0.0), # 36 (5.8277055067135555, 11.96396002840909, 9.380015298913044, 4.989988308823529, 2.8947082180851056, 0.0, 8.305249325337332, 11.578832872340422, 7.484982463235293, 6.253343532608695, 2.9909900071022726, 0.0), # 37 (5.839501534526853, 11.97526909090909, 9.369272608695653, 4.988487058823529, 2.89237914893617, 0.0, 8.272107496251873, 11.56951659574468, 7.4827305882352935, 6.246181739130434, 2.9938172727272727, 0.0), # 38 (5.851043070652174, 11.986402244318182, 9.357236657608695, 4.98679875, 2.8897618882978717, 0.0, 8.23573926161919, 11.559047553191487, 7.480198125, 6.23815777173913, 2.9966005610795454, 0.0), # 39 (5.862336157289003, 11.997357954545455, 9.343940217391305, 4.984926470588235, 2.886861702127659, 0.0, 8.196256559220389, 11.547446808510635, 7.477389705882353, 6.22929347826087, 2.999339488636364, 0.0), # 40 (5.873386836636828, 12.008134687499997, 9.329416059782607, 4.982873308823529, 2.8836838563829783, 0.0, 8.153771326836583, 11.534735425531913, 7.474309963235294, 6.219610706521738, 3.002033671874999, 0.0), # 41 (5.88420115089514, 12.01873090909091, 9.31369695652174, 4.980642352941176, 2.880233617021277, 0.0, 8.108395502248875, 11.520934468085107, 7.4709635294117644, 6.209131304347826, 3.0046827272727277, 0.0), # 42 (5.894785142263428, 12.02914508522727, 9.296815679347825, 4.978236691176471, 2.8765162499999994, 0.0, 8.060241023238381, 11.506064999999998, 7.467355036764706, 6.1978771195652165, 3.0072862713068176, 0.0), # 43 (5.905144852941176, 12.03937568181818, 9.278805, 4.975659411764705, 2.8725370212765955, 0.0, 8.009419827586207, 11.490148085106382, 7.4634891176470575, 6.1858699999999995, 3.009843920454545, 0.0), # 44 (5.915286325127877, 12.049421164772726, 9.259697690217394, 4.972913602941176, 2.8683011968085106, 0.0, 7.956043853073464, 11.473204787234042, 7.459370404411764, 6.1731317934782615, 3.0123552911931815, 0.0), # 45 (5.925215601023019, 12.059280000000001, 9.239526521739132, 4.970002352941176, 2.8638140425531913, 0.0, 7.90022503748126, 11.455256170212765, 7.455003529411765, 6.159684347826087, 3.0148200000000003, 0.0), # 46 (5.934938722826087, 12.06895065340909, 9.218324266304347, 4.966928749999999, 2.859080824468085, 0.0, 7.842075318590705, 11.43632329787234, 7.450393124999999, 6.145549510869564, 3.0172376633522724, 0.0), # 47 (5.944461732736574, 12.07843159090909, 9.196123695652174, 4.9636958823529405, 2.854106808510638, 0.0, 7.7817066341829095, 11.416427234042551, 7.445543823529412, 6.130749130434782, 3.0196078977272727, 0.0), # 48 (5.953790672953963, 12.087721278409088, 9.17295758152174, 4.960306838235294, 2.8488972606382976, 0.0, 7.71923092203898, 11.39558904255319, 7.4404602573529415, 6.115305054347826, 3.021930319602272, 0.0), # 49 (5.96293158567775, 12.096818181818177, 9.148858695652175, 4.956764705882353, 2.8434574468085105, 0.0, 7.65476011994003, 11.373829787234042, 7.43514705882353, 6.099239130434783, 3.0242045454545443, 0.0), # 50 (5.971890513107417, 12.105720767045453, 9.123859809782608, 4.953072573529411, 2.837792632978723, 0.0, 7.588406165667167, 11.351170531914892, 7.429608860294118, 6.082573206521738, 3.026430191761363, 0.0), # 51 (5.980673497442456, 12.114427499999998, 9.097993695652173, 4.949233529411764, 2.8319080851063827, 0.0, 7.5202809970015, 11.32763234042553, 7.4238502941176465, 6.065329130434781, 3.0286068749999995, 0.0), # 52 (5.989286580882353, 12.122936846590909, 9.071293125, 4.945250661764706, 2.8258090691489364, 0.0, 7.450496551724138, 11.303236276595745, 7.417875992647058, 6.04752875, 3.030734211647727, 0.0), # 53 (5.9977358056266, 12.13124727272727, 9.043790869565216, 4.941127058823529, 2.8195008510638297, 0.0, 7.379164767616192, 11.278003404255319, 7.411690588235294, 6.0291939130434775, 3.0328118181818176, 0.0), # 54 (6.00602721387468, 12.139357244318182, 9.015519701086955, 4.93686580882353, 2.8129886968085103, 0.0, 7.306397582458771, 11.251954787234041, 7.405298713235295, 6.010346467391304, 3.0348393110795455, 0.0), # 55 (6.014166847826087, 12.147265227272724, 8.986512391304348, 4.9324699999999995, 2.8062778723404254, 0.0, 7.232306934032984, 11.225111489361701, 7.398705, 5.991008260869565, 3.036816306818181, 0.0), # 56 (6.022160749680308, 12.154969687500001, 8.95680171195652, 4.927942720588234, 2.7993736436170207, 0.0, 7.15700476011994, 11.197494574468083, 7.391914080882352, 5.9712011413043475, 3.0387424218750003, 0.0), # 57 (6.030014961636829, 12.16246909090909, 8.926420434782608, 4.923287058823529, 2.792281276595744, 0.0, 7.0806029985007495, 11.169125106382976, 7.384930588235295, 5.950946956521738, 3.0406172727272724, 0.0), # 58 (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), # 59 ) passenger_allighting_rate = ( (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 0 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 1 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 2 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 3 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 4 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 5 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 6 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 7 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 8 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 9 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 10 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 11 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 12 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 13 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 14 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 15 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 16 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 17 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 18 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 19 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 20 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 21 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 22 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 23 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 24 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 25 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 26 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 27 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 28 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 29 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 30 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 31 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 32 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 33 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 34 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 35 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 36 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 37 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 38 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 39 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 40 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 41 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 42 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 43 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 44 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 45 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 46 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 47 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 48 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 49 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 50 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 51 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 52 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 53 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 54 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 55 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 56 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 57 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 58 (0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1, 0, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 1), # 59 ) """ parameters for reproducibiliy. More information: https://numpy.org/doc/stable/reference/random/parallel.html """ #initial entropy entropy = 258194110137029475889902652135037600173 #index for seed sequence child child_seed_index = ( 1, # 0 91, # 1 )
113.525373
213
0.730115
5,147
38,031
5.392656
0.236448
0.311284
0.246433
0.466926
0.326272
0.326272
0.326272
0.326272
0.326272
0.326272
0
0.819793
0.118693
38,031
334
214
113.865269
0.008324
0.031842
0
0.202532
0
0
0
0
0
0
0
0
0
1
0
false
0.015823
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
3fd4c2d62bfd697f8b2339b87ceb2cbdd7340141
40
py
Python
ct/config/__init__.py
ViktorStagge/CompressiveTransformer
644b363b1314f4f10c803ff4f014ff6d1a238fad
[ "MIT" ]
2
2020-10-26T10:08:37.000Z
2021-07-02T02:21:35.000Z
ct/config/__init__.py
ViktorStagge/CompressiveTransformer
644b363b1314f4f10c803ff4f014ff6d1a238fad
[ "MIT" ]
null
null
null
ct/config/__init__.py
ViktorStagge/CompressiveTransformer
644b363b1314f4f10c803ff4f014ff6d1a238fad
[ "MIT" ]
null
null
null
from ct.config.config import get_config
20
39
0.85
7
40
4.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.1
40
1
40
40
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b7561387c39cc1d008f84f790a1231ebf74e9d0a
2,203
py
Python
conans/test/functional/graph_lock/lock_install_test.py
Wonders11/conan
28ec09f6cbf1d7e27ec27393fd7bbc74891e74a8
[ "MIT" ]
6,205
2015-12-01T13:40:05.000Z
2022-03-31T07:30:25.000Z
conans/test/functional/graph_lock/lock_install_test.py
Wonders11/conan
28ec09f6cbf1d7e27ec27393fd7bbc74891e74a8
[ "MIT" ]
8,747
2015-12-01T16:28:48.000Z
2022-03-31T23:34:53.000Z
conans/test/functional/graph_lock/lock_install_test.py
Mattlk13/conan
005fc53485557b0a570bb71670f2ca9c66082165
[ "MIT" ]
961
2015-12-01T16:56:43.000Z
2022-03-31T13:50:52.000Z
from conans.test.utils.tools import TestClient, GenConanfile def test_install(): client = TestClient() client.save({"conanfile.py": GenConanfile("pkga", "0.1").with_package_file("file.h", "0.1")}) client.run("create . user/channel") # Use a consumer with a version range client.save({"conanfile.py": GenConanfile("pkgb", "0.1").with_require("pkga/[>=0.1]@user/channel")}) client.run("create . user/channel") client.run("lock create --reference=pkgb/0.1@user/channel --lockfile-out=lock1.lock") # We can create a pkga/0.2, but it will not be used client.save({"conanfile.py": GenConanfile("pkga", "0.2").with_package_file("file.h", "0.2")}) client.run("create . user/channel") client.run("lock install lock1.lock -g deploy") assert "pkga/0.1@user/channel from local cache" in client.out file_h = client.load("pkga/file.h") assert file_h == "0.1" def test_install_recipes(): client = TestClient(default_server_user=True) client.save({"conanfile.py": GenConanfile("pkga", "0.1").with_package_file("file.h", "0.1")}) client.run("create . user/channel") # Use a consumer with a version range client.save({"conanfile.py": GenConanfile("pkgb", "0.1").with_require("pkga/[>=0.1]@user/channel")}) client.run("create . user/channel") client.run("lock create --reference=pkgb/0.1@user/channel --lockfile-out=lock1.lock") # We can create a pkga/0.2, but it will not be used client.save({"conanfile.py": GenConanfile("pkga", "0.2").with_package_file("file.h", "0.2")}) client.run("create . user/channel") client.run("lock install lock1.lock --recipes") assert "pkga/0.1@user/channel:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache" in client.out assert "pkgb/0.1@user/channel:cfd10f60aeaa00f5ca1f90b5fe97c3fe19e7ec23 - Cache" in client.out client.run("upload * --all -c") client.run("remove * -f") client.run("lock install lock1.lock --recipes") assert "pkga/0.1@user/channel:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download" in client.out assert "pkgb/0.1@user/channel:cfd10f60aeaa00f5ca1f90b5fe97c3fe19e7ec23 - Download" in client.out
43.196078
100
0.681344
310
2,203
4.787097
0.209677
0.021563
0.036388
0.078841
0.803235
0.803235
0.787736
0.787736
0.787736
0.787736
0
0.069095
0.152519
2,203
50
101
44.06
0.725763
0.077621
0
0.545455
0
0.060606
0.460513
0.214709
0
0
0
0
0.181818
1
0.060606
false
0
0.030303
0
0.090909
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b7935d018003381bfb05c6cb1c4b1bca814498cf
263
py
Python
filer/tests/__init__.py
oubiga/django-filero
561f7b2c7f926a802c8dd5c05756c8d92d9f4350
[ "BSD-3-Clause" ]
1
2019-04-15T10:28:46.000Z
2019-04-15T10:28:46.000Z
filer/tests/__init__.py
techdragon/django-filer
085b880aa6bb738fe582a3ce40c25bd97f5bbe06
[ "BSD-3-Clause" ]
1
2018-01-31T12:08:48.000Z
2018-01-31T12:08:48.000Z
filer/tests/__init__.py
techdragon/django-filer
085b880aa6bb738fe582a3ce40c25bd97f5bbe06
[ "BSD-3-Clause" ]
3
2016-12-28T03:32:44.000Z
2018-05-28T15:13:38.000Z
#-*- coding: utf-8 -*- from filer.tests.admin import * from filer.tests.dump import * from filer.tests.models import * from filer.tests.permissions import * from filer.tests.server_backends import * from filer.tests.tools import * from filer.tests.utils import *
29.222222
41
0.764259
39
263
5.128205
0.384615
0.315
0.49
0.6
0
0
0
0
0
0
0
0.004329
0.121673
263
8
42
32.875
0.861472
0.079848
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
0
0
0
6
b7cf9acdd16af0f6ac0c2a3c5838ba1d9db5042b
5,366
py
Python
scripts/EducationalFacilities/V2/1-PreProcessing/ns/.ipynb_checkpoints/ns_isced-checkpoint.py
msmailes/LODE-ECDO
63eeb64bd8059de94fd73246797845f8faaee31a
[ "MIT" ]
21
2020-02-26T19:02:57.000Z
2022-03-24T21:03:03.000Z
scripts/EducationalFacilities/V2/1-PreProcessing/ns/.ipynb_checkpoints/ns_isced-checkpoint.py
msmailes/LODE-ECDO
63eeb64bd8059de94fd73246797845f8faaee31a
[ "MIT" ]
2
2019-03-29T18:34:10.000Z
2020-09-28T14:51:19.000Z
scripts/EducationalFacilities/V2/1-PreProcessing/ns/.ipynb_checkpoints/ns_isced-checkpoint.py
msmailes/LODE-ECDO
63eeb64bd8059de94fd73246797845f8faaee31a
[ "MIT" ]
13
2019-06-11T13:52:45.000Z
2022-01-13T17:11:14.000Z
import pandas as pd """ Note that Nova Scotia has a year Primary before first grade, which in this case maps to kindergarten/ISCED020. Pre-Primary is mapped to to ISCED010. https://novascotiaimmigration.com/live-here/education/ """ #public df=pd.read_csv('directoryofpublicschools2019-2020.csv',encoding='cp1252') ISCED010=[] ISCED020=[] ISCED1=[] ISCED2=[] ISCED3=[] START=list(df['Start Gr']) END=list(df['End Gr']) for i in range(len(START)): s=START[i] e=END[i] print(s,e) if s=='PP': if (e=='PP' or e=='PP'): ISCED010.append('1') ISCED020.append('0') ISCED1.append('0') ISCED2.append('0') ISCED3.append('0') elif int(e)<7: ISCED010.append('1') ISCED020.append('1') ISCED1.append('1') ISCED2.append('0') ISCED3.append('0') elif int(e)<10: ISCED010.append('1') ISCED020.append('1') ISCED1.append('1') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED010.append('1') ISCED020.append('1') ISCED1.append('1') ISCED2.append('1') ISCED3.append('1') elif s=='PR': if int(e)<7: ISCED010.append('0') ISCED020.append('1') ISCED1.append('1') ISCED2.append('0') ISCED3.append('0') elif int(e)<10: ISCED010.append('0') ISCED020.append('1') ISCED1.append('1') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED010.append('0') ISCED020.append('1') ISCED1.append('1') ISCED2.append('1') ISCED3.append('1') elif int(s)<7: if int(e)<7: ISCED010.append('0') ISCED020.append('0') ISCED1.append('1') ISCED2.append('0') ISCED3.append('0') elif int(e)<10: ISCED010.append('0') ISCED020.append('0') ISCED1.append('1') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED010.append('0') ISCED020.append('0') ISCED1.append('1') ISCED2.append('1') ISCED3.append('1') elif int(s)<10: if int(e)<10: ISCED010.append('0') ISCED020.append('0') ISCED1.append('0') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED010.append('0') ISCED020.append('0') ISCED1.append('0') ISCED2.append('1') ISCED3.append('1') else: ISCED010.append('0') ISCED020.append('0') ISCED1.append('0') ISCED2.append('0') ISCED3.append('1') df['ISCED010']=ISCED010 df['ISCED020']=ISCED020 df['ISCED1']=ISCED1 df['ISCED2']=ISCED2 df['ISCED3']=ISCED3 df.to_csv('directoryofpublicschools2019-2020_isced.csv',encoding='cp1252',index=False) #private df=pd.read_csv("Recognized_Private_Schools_Granting_the_Nova_Scotia_High_School_Leaving_Certificate.csv") for i in df['Grade Level'].unique(): print(i) df['Grade Level']=df['Grade Level'].str.replace('2019-07-12T00:00:00.000','7-12') ISCED020=[] ISCED1=[] ISCED2=[] ISCED3=[] r=list(df['Grade Level']) for k in r: k=k.replace('Gr','') s,e=k.split('-') s=s.strip() e=e.strip() print(s,e) if (s=='P'): if (e=='P' or e=='K'): ISCED020.append('1') ISCED1.append('0') ISCED2.append('0') ISCED3.append('0') elif int(e)<7: ISCED020.append('1') ISCED1.append('1') ISCED2.append('0') ISCED3.append('0') elif int(e)<10: ISCED020.append('1') ISCED1.append('1') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED020.append('1') ISCED1.append('1') ISCED2.append('1') ISCED3.append('1') elif int(s)<7: if int(e)<7: ISCED020.append('0') ISCED1.append('1') ISCED2.append('0') ISCED3.append('0') elif int(e)<10: ISCED020.append('0') ISCED1.append('1') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED020.append('0') ISCED1.append('1') ISCED2.append('1') ISCED3.append('1') elif int(s)<10: if int(e)<10: ISCED020.append('0') ISCED1.append('0') ISCED2.append('1') ISCED3.append('0') elif int(e)<13: ISCED020.append('0') ISCED1.append('0') ISCED2.append('1') ISCED3.append('1') else: ISCED020.append('0') ISCED1.append('0') ISCED2.append('0') ISCED3.append('1') df['ISCED020']=ISCED020 df['ISCED1']=ISCED1 df['ISCED2']=ISCED2 df['ISCED3']=ISCED3 df.to_csv("Recognized_Private_Schools_Granting_the_Nova_Scotia_High_School_Leaving_Certificate_isced.csv")
26.564356
111
0.491241
632
5,366
4.129747
0.150316
0.142146
0.074713
0.109195
0.75364
0.734483
0.734483
0.734483
0.734483
0.731801
0
0.118081
0.343459
5,366
201
112
26.696517
0.622765
0.002423
0
0.850575
0
0
0.1043
0.055069
0
0
0
0
0
1
0
false
0
0.005747
0
0.005747
0.017241
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b7f00667aafe833c9fc7d62ef9609627fc5bf459
200
py
Python
__init__.py
duchesneaumathieu/layers
2fb69080e08e7084f4c7ef9ec5ca24ec0f6ca064
[ "MIT" ]
1
2018-01-31T10:28:53.000Z
2018-01-31T10:28:53.000Z
__init__.py
duchesneaumathieu/layers
2fb69080e08e7084f4c7ef9ec5ca24ec0f6ca064
[ "MIT" ]
null
null
null
__init__.py
duchesneaumathieu/layers
2fb69080e08e7084f4c7ef9ec5ca24ec0f6ca064
[ "MIT" ]
null
null
null
from attentions import * from costs import * from indexing import * from loops import * from padding import * from recurrents import * from shapes import * from specials import * from updates import *
22.222222
24
0.78
27
200
5.777778
0.407407
0.512821
0
0
0
0
0
0
0
0
0
0
0.175
200
9
25
22.222222
0.945455
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
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
6
b7f98b23e5392e5d68b946fe27daf5b05a855f19
94
py
Python
spin the words.py
EchTR/python-projects-for-beginners
466b0c9864cbb924e7a4ad03cfade49d7c2f180b
[ "MIT" ]
1
2020-02-15T08:33:18.000Z
2020-02-15T08:33:18.000Z
spin the words.py
EchTR/my-python-projects
36efd7483c8f94666718f22a514dd4d65dca44be
[ "MIT" ]
null
null
null
spin the words.py
EchTR/my-python-projects
36efd7483c8f94666718f22a514dd4d65dca44be
[ "MIT" ]
null
null
null
# Github: EchTR def spin_words(sentence): return sentence[::-1] input(spin_words("EchTR"))
23.5
26
0.712766
13
94
5
0.692308
0.276923
0
0
0
0
0
0
0
0
0
0.012048
0.117021
94
4
27
23.5
0.771084
0.138298
0
0
0
0
0.064935
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
0
0
0
1
1
0
0
6
4d3d473279f2fd47a8dd4ed7f172089124552060
110
py
Python
tests/test_strip_comments.py
nikitabobko/git-revise
71a79a52f7f131d4420c6e6c7383ee296b9fd0b5
[ "MIT" ]
null
null
null
tests/test_strip_comments.py
nikitabobko/git-revise
71a79a52f7f131d4420c6e6c7383ee296b9fd0b5
[ "MIT" ]
null
null
null
tests/test_strip_comments.py
nikitabobko/git-revise
71a79a52f7f131d4420c6e6c7383ee296b9fd0b5
[ "MIT" ]
null
null
null
from gitrevise.utils import strip_comments def test_strip_comments() -> None: strip_comments() pass
15.714286
42
0.745455
14
110
5.571429
0.714286
0.5
0
0
0
0
0
0
0
0
0
0
0.181818
110
6
43
18.333333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0.25
0.25
0
0.5
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
1
0
0
0
0
0
6