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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42e0d979edff9c7a998b5ec794cca8e78853323e | 34 | py | Python | services/dsrp-api/app/api/nominated_well_site/models/__init__.py | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | null | null | null | services/dsrp-api/app/api/nominated_well_site/models/__init__.py | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | 9 | 2020-05-06T23:29:43.000Z | 2022-03-14T22:58:17.000Z | services/dsrp-api/app/api/nominated_well_site/models/__init__.py | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | 3 | 2020-05-08T16:54:22.000Z | 2021-01-27T17:28:49.000Z | from .nominated_well_site import * | 34 | 34 | 0.852941 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 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 |
42f2881e36fcfe359f25396f5146f5b309a94e4a | 21 | py | Python | yippi/xml/__init__.py | KiTTYsh/yippi | c34ef48d2cdce2d0967cfdac6be2d747ad94bbb1 | [
"MIT"
] | 1 | 2018-08-01T21:48:22.000Z | 2018-08-01T21:48:22.000Z | yippi/xml/__init__.py | KiTTYsh/yippi | c34ef48d2cdce2d0967cfdac6be2d747ad94bbb1 | [
"MIT"
] | null | null | null | yippi/xml/__init__.py | KiTTYsh/yippi | c34ef48d2cdce2d0967cfdac6be2d747ad94bbb1 | [
"MIT"
] | null | null | null | from . import object
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 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 |
6e067a60c1a6756817292b3ccbba51d2c17c4ac8 | 222 | py | Python | bottomline/account/views.py | mcm219/BottomLine | db82eef403c79bffa3864c4db6bc336632abaca5 | [
"MIT"
] | null | null | null | bottomline/account/views.py | mcm219/BottomLine | db82eef403c79bffa3864c4db6bc336632abaca5 | [
"MIT"
] | 1 | 2021-06-14T02:20:40.000Z | 2021-06-14T02:20:40.000Z | bottomline/account/views.py | mcm219/BottomLine | db82eef403c79bffa3864c4db6bc336632abaca5 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.http import HttpRequest
# Create your views here.
def index(request):
return HttpResponse("Welcome to BottomLine! (Account App)")
| 22.2 | 63 | 0.788288 | 29 | 222 | 6.034483 | 0.724138 | 0.171429 | 0.16 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 222 | 9 | 64 | 24.666667 | 0.921053 | 0.103604 | 0 | 0 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
28204b21a0cc1bb6d6a0ce1595f6a10fbcad95aa | 1,656 | py | Python | tests/test_cli.py | ggtr1138/yaml-to-sqlite | 8ba02216ecad7c8a037086a2131f1dd4c9f1deb3 | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | ggtr1138/yaml-to-sqlite | 8ba02216ecad7c8a037086a2131f1dd4c9f1deb3 | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | ggtr1138/yaml-to-sqlite | 8ba02216ecad7c8a037086a2131f1dd4c9f1deb3 | [
"Apache-2.0"
] | null | null | null | from click.testing import CliRunner
from yaml_to_sqlite import cli
import sqlite_utils
import json
TEST_YAML = """
- name: datasette-cluster-map
url: https://github.com/simonw/datasette-cluster-map
- name: datasette-vega
url: https://github.com/simonw/datasette-vega
nested_with_date:
- title: Hello
date: 2010-01-01
"""
EXPECTED = [
{
"name": "datasette-cluster-map",
"url": "https://github.com/simonw/datasette-cluster-map",
"nested_with_date": None,
},
{
"name": "datasette-vega",
"url": "https://github.com/simonw/datasette-vega",
"nested_with_date": json.dumps([{"title": "Hello", "date": "2010-01-01"}]),
},
]
def test_without_pk(tmpdir):
db_path = tmpdir / "db.db"
assert (
0
== CliRunner()
.invoke(cli.cli, [str(db_path), "items", "-"], input=TEST_YAML)
.exit_code
)
db = sqlite_utils.Database(str(db_path))
assert EXPECTED == list(db["items"].rows)
# Run it again should get double the rows
CliRunner().invoke(cli.cli, [str(db_path), "items", "-"], input=TEST_YAML)
assert EXPECTED + EXPECTED == list(db["items"].rows)
def test_with_pk(tmpdir):
db_path = tmpdir / "db.db"
assert (
0
== CliRunner()
.invoke(cli.cli, [str(db_path), "items", "-", "--pk", "name"], input=TEST_YAML)
.exit_code
)
db = sqlite_utils.Database(str(db_path))
assert EXPECTED == list(db["items"].rows)
# Run it again should get same number of rows
CliRunner().invoke(cli.cli, [str(db_path), "items", "-"], input=TEST_YAML)
assert EXPECTED == list(db["items"].rows)
| 28.551724 | 87 | 0.613527 | 217 | 1,656 | 4.543779 | 0.271889 | 0.048682 | 0.054767 | 0.068966 | 0.819473 | 0.796146 | 0.736308 | 0.736308 | 0.736308 | 0.736308 | 0 | 0.013867 | 0.216184 | 1,656 | 57 | 88 | 29.052632 | 0.745763 | 0.050121 | 0 | 0.306122 | 0 | 0 | 0.298726 | 0.026752 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.040816 | false | 0 | 0.081633 | 0 | 0.122449 | 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 |
2860cdc91b3b3aa265b287374d3fdedd81a1155b | 101 | py | Python | backend/apps/workorder/models/__init__.py | bopopescu/Journey | 654eb66e0e2df59e916eff4c75b68b183f9b58b5 | [
"MIT"
] | 41 | 2019-01-02T09:36:54.000Z | 2022-02-20T13:13:05.000Z | backend/apps/workorder/models/__init__.py | bopopescu/Journey | 654eb66e0e2df59e916eff4c75b68b183f9b58b5 | [
"MIT"
] | 15 | 2019-09-30T05:40:20.000Z | 2022-02-17T19:28:41.000Z | backend/apps/workorder/models/__init__.py | bopopescu/Journey | 654eb66e0e2df59e916eff4c75b68b183f9b58b5 | [
"MIT"
] | 23 | 2019-02-18T10:50:10.000Z | 2022-01-06T07:53:18.000Z | # -*- coding: UTF-8 -*-
from .sqlorder import *
from .approvalgroup import *
from .autoorder import * | 25.25 | 28 | 0.693069 | 12 | 101 | 5.833333 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.158416 | 101 | 4 | 29 | 25.25 | 0.811765 | 0.207921 | 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 |
287640f9f6120a3e9f76493e6e1d631850dddd66 | 76 | py | Python | conda/api.py | astrojuanlu/conda | badf048f5e8287250ef1940249a048f9bde08477 | [
"BSD-3-Clause"
] | null | null | null | conda/api.py | astrojuanlu/conda | badf048f5e8287250ef1940249a048f9bde08477 | [
"BSD-3-Clause"
] | null | null | null | conda/api.py | astrojuanlu/conda | badf048f5e8287250ef1940249a048f9bde08477 | [
"BSD-3-Clause"
] | null | null | null | from .core.index import get_index
get_index_ = get_index # suppress flake8
| 25.333333 | 41 | 0.802632 | 12 | 76 | 4.75 | 0.583333 | 0.421053 | 0.385965 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.144737 | 76 | 2 | 42 | 38 | 0.861538 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 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 |
28a054bf9a49006df16a79f082eaa66355fc7d31 | 21 | py | Python | Unidad 2/packages/extra/ugly/psi.py | angelxehg/utzac-ppy | fb88bcc661518bb35c08a102a67c20d0659f71db | [
"MIT"
] | null | null | null | Unidad 2/packages/extra/ugly/psi.py | angelxehg/utzac-ppy | fb88bcc661518bb35c08a102a67c20d0659f71db | [
"MIT"
] | null | null | null | Unidad 2/packages/extra/ugly/psi.py | angelxehg/utzac-ppy | fb88bcc661518bb35c08a102a67c20d0659f71db | [
"MIT"
] | null | null | null | def funP():
pass
| 7 | 11 | 0.52381 | 3 | 21 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.785714 | 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 |
956dc54f5ccbda8cffaa224db34c024543f1d2e1 | 1,359 | py | Python | dtleads_api_helper/dtl_models/dtl_settingrestriction_models.py | Daniel-Timothy-Leads/dtleads-api-helper | 700e201ab422b5239ef058e12d0cb0e7bcec6df9 | [
"MIT"
] | null | null | null | dtleads_api_helper/dtl_models/dtl_settingrestriction_models.py | Daniel-Timothy-Leads/dtleads-api-helper | 700e201ab422b5239ef058e12d0cb0e7bcec6df9 | [
"MIT"
] | null | null | null | dtleads_api_helper/dtl_models/dtl_settingrestriction_models.py | Daniel-Timothy-Leads/dtleads-api-helper | 700e201ab422b5239ef058e12d0cb0e7bcec6df9 | [
"MIT"
] | null | null | null |
# create setting restrictions
class DtlSettingRestrictionsCreateModel:
def __init__(self, name): # required fields
self.name = name
self.monday = []
self.tuesday = []
self.wednesday = []
self.thursday = []
self.friday = []
self.saturday = []
self.sunday = []
def get_json_object(self):
return {
'restrictionName': self.name,
'monday': self.monday,
'tuesday': self.tuesday,
'wednesday': self.wednesday,
'thursday': self.thursday,
'friday': self.friday,
'saturday': self.saturday,
'sunday': self.sunday,
}
# update setting restrictions
class DtlSettingRestrictionsPatchModel:
def __init__(self):
self.name = None
self.monday = []
self.tuesday = []
self.wednesday = []
self.thursday = []
self.friday = []
self.saturday = []
self.sunday = []
def get_json_object(self):
return {
'restrictionName': self.name,
'monday': self.monday,
'tuesday': self.tuesday,
'wednesday': self.wednesday,
'thursday': self.thursday,
'friday': self.friday,
'saturday': self.saturday,
'sunday': self.sunday,
} | 26.134615 | 47 | 0.523179 | 113 | 1,359 | 6.185841 | 0.230089 | 0.057225 | 0.06867 | 0.060086 | 0.729614 | 0.729614 | 0.729614 | 0.729614 | 0.729614 | 0.729614 | 0 | 0 | 0.357616 | 1,359 | 52 | 48 | 26.134615 | 0.800687 | 0.052244 | 0 | 0.809524 | 0 | 0 | 0.101325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0 | 0.047619 | 0.190476 | 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 |
958630570337c742a51681777f07fbd331e3f82b | 27 | py | Python | fastai_xla_extensions/all.py | farizrahman4u/fastai_xla_extensions | c0d66fe7f8dcfb4eaf2358f5f95d613765d55492 | [
"Apache-2.0"
] | 1 | 2021-04-12T14:24:55.000Z | 2021-04-12T14:24:55.000Z | fastai_xla_extensions/all.py | farizrahman4u/fastai_xla_extensions | c0d66fe7f8dcfb4eaf2358f5f95d613765d55492 | [
"Apache-2.0"
] | null | null | null | fastai_xla_extensions/all.py | farizrahman4u/fastai_xla_extensions | c0d66fe7f8dcfb4eaf2358f5f95d613765d55492 | [
"Apache-2.0"
] | null | null | null | from .multi_core import *
| 9 | 25 | 0.740741 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.863636 | 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 |
958703f585e74ec88ebcc968c0777fd51f9760ad | 230 | py | Python | pyNeuralEMPC/__init__.py | Enderdead/pyNeuralEMPC | 032a3675b10389c10bf3e687633462b489b5f26f | [
"MIT"
] | 2 | 2021-08-23T19:05:35.000Z | 2022-02-24T20:32:04.000Z | pyNeuralEMPC/__init__.py | Enderdead/pyNeuralEMPC | 032a3675b10389c10bf3e687633462b489b5f26f | [
"MIT"
] | null | null | null | pyNeuralEMPC/__init__.py | Enderdead/pyNeuralEMPC | 032a3675b10389c10bf3e687633462b489b5f26f | [
"MIT"
] | null | null | null | __version__ = '0.0'
from pyNeuralEMPC import model
from pyNeuralEMPC import objective
from pyNeuralEMPC import integrator
from pyNeuralEMPC import optimizer
from pyNeuralEMPC import constraints
from pyNeuralEMPC import controller | 28.75 | 36 | 0.865217 | 27 | 230 | 7.222222 | 0.407407 | 0.492308 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009852 | 0.117391 | 230 | 8 | 37 | 28.75 | 0.950739 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 |
9589a633c428373f332b33b2208836419aa9bf2e | 74,305 | py | Python | smooth_streams_proxy/http_server.py | kwaaak/SmoothStreamsProxy | 36ec544fdbf66fa455144d05eac84570f8ac18c4 | [
"MIT"
] | null | null | null | smooth_streams_proxy/http_server.py | kwaaak/SmoothStreamsProxy | 36ec544fdbf66fa455144d05eac84570f8ac18c4 | [
"MIT"
] | null | null | null | smooth_streams_proxy/http_server.py | kwaaak/SmoothStreamsProxy | 36ec544fdbf66fa455144d05eac84570f8ac18c4 | [
"MIT"
] | null | null | null | import base64
import json
import logging.handlers
import pprint
import re
import sys
import traceback
import urllib.parse
import uuid
from datetime import datetime
from http.server import BaseHTTPRequestHandler
from http.server import HTTPServer
from threading import Thread
import pytz
import requests
from tzlocal import get_localzone
from .constants import VALID_SMOOTH_STREAMS_PROTOCOL_VALUES
from .constants import VERSION
from .enums import SmoothStreamsProxyRecordingStatus
from .exceptions import DuplicateRecordingError
from .exceptions import RecordingNotFoundError
from .proxy import SmoothStreamsProxy
from .recorder import SmoothStreamsProxyRecording
from .utilities import SmoothStreamsProxyUtility
from .validators import SmoothStreamsProxyCerberusValidator
logger = logging.getLogger(__name__)
class SmoothStreamsProxyHTTPRequestHandler(BaseHTTPRequestHandler):
def _send_http_response(self, client_ip_address, client_uuid, path, response_status_code, response_headers,
response_content, do_print_content=True):
self.send_response(response_status_code)
headers = []
if response_headers:
for header_entry in sorted(response_headers):
self.send_header(header_entry, response_headers[header_entry])
headers.append(
'{0:32} => {1!s}'.format(header_entry, response_headers[header_entry]))
self.end_headers()
# noinspection PyUnresolvedReferences
logger.trace(
'Response to {0}{1} for {2}\n'
'[Status Code]\n=============\n{3}\n\n'
'{4}'
'{5}'.format(client_ip_address,
'/{0}'.format(client_uuid) if client_uuid else '',
path,
response_status_code,
'[Header]\n========\n{0}\n\n'.format('\n'.join(headers)) if headers else '',
'[Content]\n=========\n{0:{1}}\n'.format(
response_content if do_print_content else len(response_content),
'' if do_print_content else ',') if response_content else ''))
if response_content:
try:
self.wfile.write(bytes(response_content, 'utf-8'))
except TypeError:
self.wfile.write(response_content)
# noinspection PyPep8Naming
def do_DELETE(self):
client_ip_address = self.client_address[0]
requested_path_with_query_string = self.path
requested_url_components = urllib.parse.urlparse(requested_path_with_query_string)
requested_query_string_parameters = dict(urllib.parse.parse_qsl(requested_url_components.query))
requested_path_tokens = [requested_path_token.lower()
for requested_path_token in requested_url_components.path[1:].split('/')]
requested_path_tokens_length = len(requested_path_tokens)
requested_path_not_found = False
# noinspection PyBroadException
try:
logger.debug('{0} requested from {1}\n'
'Request type => {2}'.format(requested_path_with_query_string,
client_ip_address,
self.command))
if requested_path_tokens_length == 2 and \
requested_path_tokens[0] == 'recordings' and \
re.match('\A[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\Z',
requested_path_tokens[1]):
content_length = int(self.headers.get('Content-Length', 0))
delete_request_body = self.rfile.read(content_length) if content_length else ''
query_string_parameters_schema = {}
query_string_parameters_validator = SmoothStreamsProxyCerberusValidator(query_string_parameters_schema)
if delete_request_body:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Unsupported request body\n'
'Error Message => {2} recordings does not support a request body'.format(
client_ip_address,
requested_path_with_query_string,
self.command))
delete_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Unsupported request body',
'field': None,
'developer_message': '{0} recordings does not support a request body'.format(
self.command),
'user_message': 'The request is badly formatted'
}
]
}
delete_recordings_response_status_code = requests.codes.BAD_REQUEST
elif not query_string_parameters_validator.validate(requested_query_string_parameters):
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Unsupported query parameter{2}\n'
'Error Message => {3} recordings does not support [\'{4}\'] query parameter{2}'.format(
client_ip_address,
requested_path_with_query_string,
's' if len(query_string_parameters_validator.errors) > 1 else '',
self.command,
', '.join(query_string_parameters_validator.errors)))
delete_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Unsupported query parameter{0}'.format(
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'field': list(sorted(query_string_parameters_validator.errors)),
'developer_message': '{0} recordings does not support [\'{1}\'] query parameter'
'{2}'.format(
self.command,
', '.join(query_string_parameters_validator.errors),
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'user_message': 'The request is badly formatted'
}
]
}
delete_recordings_response_status_code = requests.codes.BAD_REQUEST
else:
recording_id = requested_url_components.path[len('/recordings/'):]
try:
recording = SmoothStreamsProxy.get_recording(recording_id)
logger.debug(
'Attempting to {0} {1} recording\n'
'Channel name => {2}\n'
'Channel number => {3}\n'
'Program title => {4}\n'
'Start date & time => {5}\n'
'End date & time => {6}'.format(
'stop'
if recording.status == SmoothStreamsProxyRecordingStatus.ACTIVE.value
else 'delete',
recording.status,
recording.channel_name,
recording.channel_number,
recording.program_title,
recording.start_date_time_in_utc.astimezone(
get_localzone()).strftime('%Y-%m-%d %H:%M:%S'),
recording.end_date_time_in_utc.astimezone(
get_localzone()).strftime('%Y-%m-%d %H:%M:%S')))
if recording.status == SmoothStreamsProxyRecordingStatus.ACTIVE.value:
try:
SmoothStreamsProxy.stop_active_recording(recording)
except KeyError:
raise RecordingNotFoundError
elif recording.status == SmoothStreamsProxyRecordingStatus.PERSISTED.value:
try:
SmoothStreamsProxy.delete_persisted_recording(recording)
except OSError:
raise RecordingNotFoundError
elif recording.status == SmoothStreamsProxyRecordingStatus.SCHEDULED.value:
try:
SmoothStreamsProxy.delete_scheduled_recording(recording)
except ValueError:
raise RecordingNotFoundError
logger.debug(
'{0} {1} recording\n'
'Channel name => {2}\n'
'Channel number => {3}\n'
'Program title => {4}\n'
'Start date & time => {5}\n'
'End date & time => {6}'.format(
'Stopped'
if recording.status == SmoothStreamsProxyRecordingStatus.ACTIVE.value
else 'Deleted',
recording.status,
recording.channel_name,
recording.channel_number,
recording.program_title,
recording.start_date_time_in_utc.astimezone(
get_localzone()).strftime('%Y-%m-%d %H:%M:%S'),
recording.end_date_time_in_utc.astimezone(
get_localzone()).strftime('%Y-%m-%d %H:%M:%S')))
delete_recordings_response = {
'meta': {
'application': 'SmoothStreamsProxy',
'version': VERSION
}
}
delete_recordings_response_status_code = requests.codes.OK
except RecordingNotFoundError:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Resource not found\n'
'Error Message => Recording with ID {2} does not exist'.format(
client_ip_address,
requested_path_with_query_string,
recording_id))
delete_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.NOT_FOUND),
'title': 'Resource not found',
'field': None,
'developer_message': 'Recording with ID {0} does not exist'.format(recording_id),
'user_message': 'Requested recording no longer exists'
}
]
}
delete_recordings_response_status_code = requests.codes.NOT_FOUND
json_api_response = json.dumps(delete_recordings_response, indent=4)
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
delete_recordings_response_status_code,
SmoothStreamsProxyUtility.construct_response_headers(
json_api_response,
'application/vnd.api+json'),
json_api_response)
else:
requested_path_not_found = True
if requested_path_not_found:
logger.error('HTTP error {0} encountered requesting {1} for {2}'.format(
requests.codes.NOT_FOUND,
requested_path_with_query_string,
client_ip_address))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.NOT_FOUND,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
except Exception:
(type_, value_, traceback_) = sys.exc_info()
logger.error('\n'.join(traceback.format_exception(type_, value_, traceback_)))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.INTERNAL_SERVER_ERROR,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
# noinspection PyPep8Naming
def do_GET(self):
client_ip_address = self.client_address[0]
requested_path_with_query_string = self.path
requested_url_components = urllib.parse.urlparse(requested_path_with_query_string)
requested_query_string_parameters = dict(urllib.parse.parse_qsl(requested_url_components.query))
requested_path_tokens = [requested_path_token.lower()
for requested_path_token in requested_url_components.path[1:].split('/')]
requested_path_tokens_length = len(requested_path_tokens)
requested_path_not_found = False
# noinspection PyBroadException
try:
logger.debug('{0} requested from {1}\n'
'Request type => {2}'.format(requested_path_with_query_string,
client_ip_address,
self.command))
if requested_path_tokens[0] == 'live' and requested_path_tokens_length == 2:
channel_number_parameter_value = requested_query_string_parameters.get('channel_number', None)
client_uuid_parameter_value = requested_query_string_parameters.get('client_uuid', None)
nimble_session_id_parameter_value = requested_query_string_parameters.get('nimblesessionid', None)
number_of_days_parameter_value = requested_query_string_parameters.get('number_of_days', 1)
protocol_parameter_value = requested_query_string_parameters.get('protocol', None)
smooth_streams_hash_parameter_value = requested_query_string_parameters.get('wmsAuthSign', None)
if protocol_parameter_value not in VALID_SMOOTH_STREAMS_PROTOCOL_VALUES:
protocol_parameter_value = SmoothStreamsProxy.get_configuration_parameter('SMOOTH_STREAMS_PROTOCOL')
if requested_path_tokens[1].endswith('.ts'):
try:
ts_file_content = SmoothStreamsProxy.download_ts_file(client_ip_address,
requested_url_components.path,
channel_number_parameter_value,
client_uuid_parameter_value,
nimble_session_id_parameter_value)
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(ts_file_content,
'video/m2ts'),
ts_file_content,
False)
except requests.exceptions.HTTPError as e:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
e.response.status_code,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
elif requested_path_tokens[1] == 'chunks.m3u8':
nimble_session_id_parameter_value = SmoothStreamsProxy.map_nimble_session_id(
client_ip_address,
requested_url_components.path,
channel_number_parameter_value,
client_uuid_parameter_value,
nimble_session_id_parameter_value,
smooth_streams_hash_parameter_value)
try:
playlist_m3u8_content = SmoothStreamsProxy.download_chunks_m3u8(
client_ip_address,
requested_url_components.path,
channel_number_parameter_value,
client_uuid_parameter_value,
nimble_session_id_parameter_value)
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(
playlist_m3u8_content,
'application/vnd.apple.mpegurl'),
playlist_m3u8_content)
except requests.exceptions.HTTPError as e:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
e.response.status_code,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
elif requested_path_tokens[1] == 'epg.xml':
epg_file_name = 'xmltv{0}.xml.gz'.format(number_of_days_parameter_value)
try:
epg_xml_content = SmoothStreamsProxy.get_file_content(epg_file_name)
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(
epg_xml_content,
'application/xml'),
epg_xml_content,
do_print_content=False)
except requests.exceptions.HTTPError as e:
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
e.response.status_code,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
elif requested_path_tokens[1] == 'playlist.m3u8':
do_generate_playlist_m3u8 = False
if requested_query_string_parameters:
if channel_number_parameter_value:
logger.info('{0} requested from {1}/{2}'.format(
SmoothStreamsProxy.get_channel_name(int(channel_number_parameter_value)),
client_ip_address,
client_uuid_parameter_value))
try:
playlist_m3u8_content = SmoothStreamsProxy.download_playlist_m3u8(
client_ip_address,
requested_url_components.path,
channel_number_parameter_value,
client_uuid_parameter_value,
protocol_parameter_value)
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(
playlist_m3u8_content,
'application/vnd.apple.mpegurl'),
playlist_m3u8_content)
except requests.exceptions.HTTPError as e:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
e.response.status_code,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
elif protocol_parameter_value:
do_generate_playlist_m3u8 = True
else:
logger.error('{0} requested from {1}/{2} has an invalid query string'.format(
requested_path_with_query_string,
client_ip_address,
client_uuid_parameter_value))
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.BAD_REQUEST,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
else:
do_generate_playlist_m3u8 = True
if do_generate_playlist_m3u8:
try:
channels_json_content = SmoothStreamsProxy.get_file_content('channels.json')
playlist_m3u8_content = SmoothStreamsProxy.generate_live_playlist_m3u8(
client_ip_address,
json.loads(channels_json_content),
protocol_parameter_value)
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(
playlist_m3u8_content,
'application/vnd.apple.mpegurl'),
playlist_m3u8_content)
except requests.exceptions.HTTPError as e:
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
e.response.status_code,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
else:
requested_path_not_found = True
elif requested_path_tokens[0] == 'recordings':
content_length = int(self.headers.get('Content-Length', 0))
get_request_body = self.rfile.read(content_length) if content_length else ''
if get_request_body:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Unsupported request body\n'
'Error Message => {2} recordings does not support a request body'.format(
client_ip_address,
requested_path_with_query_string,
self.command))
get_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Unsupported request body',
'field': None,
'developer_message': '{0} recordings does not support a request body'.format(
self.command),
'user_message': 'The request is badly formatted'
}
]
}
get_recordings_response_status_code = requests.codes.BAD_REQUEST
elif requested_path_tokens_length == 1:
query_string_parameters_schema = {
'status': {
'allowed': [SmoothStreamsProxyRecordingStatus.ACTIVE.value,
SmoothStreamsProxyRecordingStatus.PERSISTED.value,
SmoothStreamsProxyRecordingStatus.SCHEDULED.value],
'type': 'string'
}
}
query_string_parameters_validator = SmoothStreamsProxyCerberusValidator(
query_string_parameters_schema)
if not query_string_parameters_validator.validate(requested_query_string_parameters):
if [key for key in query_string_parameters_validator.errors if key != 'status']:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Unsupported query parameter{2}\n'
'Error Message => {3} recordings does not support [\'{4}\'] query parameter{2}'.format(
client_ip_address,
requested_path_with_query_string,
's' if len([error_key
for error_key in query_string_parameters_validator.errors
if error_key != 'status']) > 1 else '',
self.command,
', '.join([error_key
for error_key in query_string_parameters_validator.errors
if error_key != 'status'])))
get_recordings_response = {'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Unsupported query parameter{0}'.format(
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'field': list(sorted(query_string_parameters_validator.errors)),
'developer_message': '{0} recordings does not support [\'{1}\'] query parameter'
'{2}'.format(
self.command,
', '.join([error_key
for error_key in query_string_parameters_validator.errors
if error_key != 'status']),
's' if len(
[error_key
for error_key in query_string_parameters_validator.errors
if error_key != 'status']) > 1 else ''),
'user_message': 'The request is badly formatted'
}
]}
get_recordings_response_status_code = requests.codes.BAD_REQUEST
else:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Invalid query parameter value\n'
'Error Message => {2} recordings query parameter [\'status\'] value \'{3}\' '
'is not supported'.format(
client_ip_address,
requested_path_with_query_string,
self.command,
requested_query_string_parameters['status']))
get_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.UNPROCESSABLE_ENTITY),
'title': 'Invalid query parameter value',
'field': ['status'],
'developer_message': '{0} recordings query parameter [\'status\'] value '
'\'{1}\' is not supported'.format(
self.command,
requested_query_string_parameters['status']),
'user_message': 'The request is badly formatted'
}
]
}
get_recordings_response_status_code = requests.codes.UNPROCESSABLE_ENTITY
else:
get_recordings_response = {
'meta': {
'application': 'SmoothStreamsProxy',
'version': VERSION
},
'data': []
}
status = requested_query_string_parameters.get('status', None)
for recording in [recording for recording in SmoothStreamsProxy.get_recordings()
if status is None or status == recording.status]:
get_recordings_response['data'].append({
'type': 'recordings',
'id': recording.id,
'attributes': {
'channel_name': recording.channel_name,
'channel_number': recording.channel_number,
'end_date_time_in_utc': '{0}'.format(recording.end_date_time_in_utc),
'program_title': recording.program_title,
'start_date_time_in_utc': '{0}'.format(recording.start_date_time_in_utc),
'status': recording.status
}
})
get_recordings_response_status_code = requests.codes.OK
elif re.match('\A[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\Z',
requested_path_tokens[1]) and requested_path_tokens_length == 2:
query_string_parameters_schema = {}
query_string_parameters_validator = SmoothStreamsProxyCerberusValidator(
query_string_parameters_schema)
if not query_string_parameters_validator.validate(requested_query_string_parameters):
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Unsupported query parameter{2}\n'
'Error Message => {3} recordings does not support [\'{4}\'] query parameter{2}'.format(
client_ip_address,
requested_path_with_query_string,
's' if len(query_string_parameters_validator.errors) > 1 else '',
self.command,
', '.join(query_string_parameters_validator.errors)))
get_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Unsupported query parameter{0}'.format(
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'field': list(sorted(query_string_parameters_validator.errors)),
'developer_message': '{0} recordings does not support [\'{1}\'] query parameter'
'{2}'.format(
self.command,
', '.join(query_string_parameters_validator.errors),
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'user_message': 'The request is badly formatted'
}
]
}
get_recordings_response_status_code = requests.codes.BAD_REQUEST
else:
recording_id = requested_path_tokens[1]
try:
recording = SmoothStreamsProxy.get_recording(recording_id)
get_recordings_response = {
'meta': {
'application': 'SmoothStreamsProxy',
'version': VERSION
},
'data': {
'type': 'recordings',
'id': recording.id,
'attributes': {
'channel_name': recording.channel_name,
'channel_number': recording.channel_number,
'end_date_time_in_utc': '{0}'.format(recording.end_date_time_in_utc),
'program_title': recording.program_title,
'start_date_time_in_utc': '{0}'.format(recording.start_date_time_in_utc),
'status': recording.status
}
}
}
get_recordings_response_status_code = requests.codes.OK
except RecordingNotFoundError:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Resource not found\n'
'Error Message => Recording with ID {2} does not exist'.format(
client_ip_address,
requested_path_with_query_string,
recording_id))
get_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.NOT_FOUND),
'title': 'Resource not found',
'field': None,
'developer_message': 'Recording with ID {0} does not exist'.format(
recording_id),
'user_message': 'Requested recording no longer exists'
}
]
}
get_recordings_response_status_code = requests.codes.NOT_FOUND
else:
requested_path_not_found = True
if not requested_path_not_found:
# noinspection PyUnboundLocalVariable
json_api_response = json.dumps(get_recordings_response, indent=4)
# noinspection PyUnboundLocalVariable
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
get_recordings_response_status_code,
SmoothStreamsProxyUtility.construct_response_headers(
json_api_response,
'application/vnd.api+json'),
json_api_response)
elif requested_path_tokens[0] == 'vod' and requested_path_tokens_length == 2:
client_uuid_parameter_value = requested_query_string_parameters.get('client_uuid', None)
program_title = requested_query_string_parameters.get('program_title', None)
if requested_path_tokens[1].endswith('.ts'):
ts_file_content = SmoothStreamsProxy.read_ts_file(requested_path_with_query_string, program_title)
if ts_file_content:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(ts_file_content,
'video/m2ts'),
ts_file_content,
False)
else:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.NOT_FOUND,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
elif requested_path_tokens[1] == 'playlist.m3u8':
if requested_query_string_parameters:
logger.info('{0} requested from {1}/{2}'.format(
base64.urlsafe_b64decode(program_title.encode()).decode(),
client_ip_address,
client_uuid_parameter_value))
playlist_m3u8_content = SmoothStreamsProxy.read_vod_playlist_m3u8(program_title)
if playlist_m3u8_content:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(
playlist_m3u8_content,
'application/vnd.apple.mpegurl'),
playlist_m3u8_content)
else:
self._send_http_response(client_ip_address,
client_uuid_parameter_value,
requested_path_with_query_string,
requests.codes.NOT_FOUND,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
else:
playlist_m3u8_content = SmoothStreamsProxy.generate_vod_playlist_m3u8(client_ip_address)
if playlist_m3u8_content:
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(
playlist_m3u8_content,
'application/vnd.apple.mpegurl'),
playlist_m3u8_content)
else:
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
requests.codes.NOT_FOUND,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
else:
requested_path_not_found = True
else:
requested_path_not_found = True
if requested_path_not_found:
logger.error('HTTP error {0} encountered requesting {1} for {2}'.format(
requests.codes.NOT_FOUND,
requested_path_with_query_string,
client_ip_address))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.NOT_FOUND,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
except Exception:
(status, value_, traceback_) = sys.exc_info()
logger.error('\n'.join(traceback.format_exception(status, value_, traceback_)))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.INTERNAL_SERVER_ERROR,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
# noinspection PyPep8Naming
def do_OPTIONS(self):
client_ip_address = self.client_address[0]
requested_path_with_query_string = self.path
requested_url_components = urllib.parse.urlparse(requested_path_with_query_string)
requested_query_string_parameters = dict(urllib.parse.parse_qsl(requested_url_components.query))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.OK,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
# noinspection PyPep8Naming
def do_POST(self):
client_ip_address = self.client_address[0]
requested_path_with_query_string = self.path
requested_url_components = urllib.parse.urlparse(requested_path_with_query_string)
requested_query_string_parameters = dict(urllib.parse.parse_qsl(requested_url_components.query))
requested_path_tokens = [requested_path_token.lower()
for requested_path_token in requested_url_components.path[1:].split('/')]
requested_path_tokens_length = len(requested_path_tokens)
requested_path_not_found = False
# noinspection PyBroadException
try:
logger.debug('{0} requested from {1}\n'
'Request type => {2}'.format(requested_path_with_query_string,
client_ip_address,
self.command))
if requested_path_tokens_length == 1 and requested_path_tokens[0] == 'recordings':
content_length = int(self.headers.get('Content-Length', 0))
invalid_post_request_body = False
try:
post_request_body = json.loads(self.rfile.read(content_length)) if content_length else {}
except json.JSONDecodeError:
invalid_post_request_body = True
query_string_parameters_schema = {}
query_string_parameters_validator = SmoothStreamsProxyCerberusValidator(query_string_parameters_schema)
post_request_body_schema = {
'data': {
'required': True,
'schema': {
'type': {
'allowed': ['recordings'],
'required': True,
'type': 'string'
},
'attributes': {
'required': True,
'schema': {
'channel_number': {
'is_channel_number_valid': True,
'required': True,
'type': 'string'
},
'end_date_time_in_utc': {
'is_end_date_time_after_start_date_time': 'start_date_time_in_utc',
'is_end_date_time_in_the_future': True,
'required': True,
'type': 'datetime_string'
},
'program_title': {
'required': True,
'type': 'string'
},
'start_date_time_in_utc': {
'required': True,
'type': 'datetime_string'
}
},
'type': 'dict'
}
},
'type': 'dict'
}
}
post_request_body_validator = SmoothStreamsProxyCerberusValidator(post_request_body_schema)
if invalid_post_request_body:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Invalid request body\n'
'Error Message => Request body is not a valid JSON document'.format(
client_ip_address,
requested_path_with_query_string))
post_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Invalid request body',
'field': None,
'developer_message': 'Request body is not a valid JSON document'.format(self.command),
'user_message': 'The request is badly formatted'
}
]
}
post_recordings_response_status_code = requests.codes.BAD_REQUEST
elif not query_string_parameters_validator.validate(requested_query_string_parameters):
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Error Title => Unsupported query parameter{2}\n'
'Error Message => {3} recordings/{{id}} does not support [\'{4}\'] query parameter{2}'.format(
client_ip_address,
requested_path_with_query_string,
's' if len(query_string_parameters_validator.errors) > 1 else '',
self.command,
', '.join(query_string_parameters_validator.errors)))
post_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Unsupported query parameter{0}'.format(
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'field': list(sorted(query_string_parameters_validator.errors)),
'developer_message': '{0} recordings does not support [\'{1}\'] query parameter'
'{2}'.format(
self.command,
', '.join(query_string_parameters_validator.errors),
's' if len(query_string_parameters_validator.errors) > 1 else ''),
'user_message': 'The request is badly formatted'
}
]
}
post_recordings_response_status_code = requests.codes.BAD_REQUEST
elif not post_request_body_validator.validate(post_request_body):
missing_required_fields = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'required field\'\])',
'{0}'.format(post_request_body_validator.errors))]
included_unknown_fields = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'unknown field\'\])',
'{0}'.format(post_request_body_validator.errors))]
incorrect_type_fields = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'must be of (datetime_string|string) type\'\])',
'{0}'.format(post_request_body_validator.errors))]
invalid_type_value = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'unallowed value .*\'\])',
'{0}'.format(post_request_body_validator.errors))]
invalid_channel_number = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'must be between [0-9]{2} and [0-9]{2,4}\'\])',
'{0}'.format(post_request_body_validator.errors))]
invalid_end_date_time_in_the_future = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'must be later than now\'\])',
'{0}'.format(post_request_body_validator.errors))]
invalid_end_date_time_after_start_date_time = [match.group().replace(
'\'', '') for match in re.finditer(
'(\'[^{,\[]+\')(?=: \[\'must be later than start_date_time_in_utc\'\])',
'{0}'.format(post_request_body_validator.errors))]
if missing_required_fields or included_unknown_fields:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Post Data => {2}\n'
'Error Title => Invalid resource creation request\n'
'Error Message => Request body {3}'.format(
client_ip_address,
requested_path_with_query_string,
pprint.pformat(post_request_body, indent=4),
'is missing mandatory field{0} {1}'.format(
's' if len(missing_required_fields) > 1 else '',
missing_required_fields) if missing_required_fields else
'includes unknown field{0} {1}'.format(
's' if len(included_unknown_fields) > 1 else '',
included_unknown_fields)))
post_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.BAD_REQUEST),
'title': 'Invalid resource creation request',
'field': '{0}'.format(missing_required_fields if missing_required_fields
else included_unknown_fields),
'developer_message': 'Request body {0}'.format(
'is missing mandatory field{0} {1}'.format(
's' if len(missing_required_fields) > 1 else '',
missing_required_fields) if missing_required_fields else
'includes unknown field{0} {1}'.format(
's' if len(included_unknown_fields) > 1 else '',
included_unknown_fields)),
'user_message': 'The request is badly formatted'
}
]
}
post_recordings_response_status_code = requests.codes.BAD_REQUEST
elif incorrect_type_fields or invalid_type_value or invalid_channel_number or \
invalid_end_date_time_in_the_future or invalid_end_date_time_after_start_date_time:
field = None
developer_message = None
user_message = None
if incorrect_type_fields:
field = incorrect_type_fields
developer_message = 'Request body includes field{0} with invalid type {1}'.format(
's' if len(incorrect_type_fields) > 1 else '',
incorrect_type_fields)
user_message = 'The request is badly formatted'
elif invalid_type_value == ['type']:
field = invalid_type_value
developer_message = '[\'type\'] must be recordings'
user_message = 'The request is badly formatted'
elif invalid_channel_number == ['channel_number']:
field = invalid_channel_number
developer_message = '[\'channel_number\'] {0}'.format(
post_request_body_validator.errors['data'][0]['attributes'][0]['channel_number'][0])
user_message = 'The requested channel does not exist'
elif invalid_end_date_time_in_the_future == ['end_date_time_in_utc']:
field = invalid_end_date_time_in_the_future
developer_message = '[\'end_date_time_in_utc\'] must be later than now'
user_message = 'The requested recording is in the past'
elif invalid_end_date_time_after_start_date_time == ['end_date_time_in_utc']:
field = invalid_end_date_time_after_start_date_time
developer_message = '[\'end_date_time_in_utc\'] must be later than ' \
'[\'start_date_time_in_utc\']'
user_message = 'The request is badly formatted'
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Post Data => {2}\n'
'Error Title => Invalid resource creation request\n'
'Error Message => {3}'.format(
client_ip_address,
requested_path_with_query_string,
pprint.pformat(post_request_body, indent=4),
developer_message))
post_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.UNPROCESSABLE_ENTITY),
'title': 'Invalid resource creation request',
'field': field,
'developer_message': '{0}'.format(developer_message),
'user_message': '{0}'.format(user_message)
}
]
}
post_recordings_response_status_code = requests.codes.UNPROCESSABLE_ENTITY
else:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Post Data => {2}\n'
'Error Title => Invalid resource creation request\n'
'Error Message => Unexpected error'.format(
client_ip_address,
requested_path_with_query_string,
pprint.pformat(post_request_body, indent=4)))
post_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.UNPROCESSABLE_ENTITY),
'title': 'Invalid resource creation request',
'field': None,
'developer_message': 'Unexpected error',
'user_message': 'The request is badly formatted'
}
]
}
post_recordings_response_status_code = requests.codes.UNPROCESSABLE_ENTITY
else:
channel_name = SmoothStreamsProxy.get_channel_name(
int(post_request_body['data']['attributes']['channel_number']))
channel_number = post_request_body['data']['attributes']['channel_number']
end_date_time_in_utc = datetime.strptime(
post_request_body['data']['attributes']['end_date_time_in_utc'],
'%Y-%m-%d %H:%M:%S').replace(tzinfo=pytz.utc)
id_ = '{0}'.format(uuid.uuid4())
program_title = post_request_body['data']['attributes']['program_title']
start_date_time_in_utc = datetime.strptime(
post_request_body['data']['attributes']['start_date_time_in_utc'],
'%Y-%m-%d %H:%M:%S').replace(tzinfo=pytz.utc)
recording = SmoothStreamsProxyRecording(channel_name,
channel_number,
end_date_time_in_utc,
id_,
program_title,
start_date_time_in_utc,
SmoothStreamsProxyRecordingStatus.SCHEDULED.value)
try:
SmoothStreamsProxy.add_scheduled_recording(recording)
logger.info(
'Scheduled recording\n'
'Channel name => {0}\n'
'Channel number => {1}\n'
'Program title => {2}\n'
'Start date & time => {3}\n'
'End date & time => {4}'.format(channel_name,
channel_number,
program_title,
start_date_time_in_utc.astimezone(
get_localzone()).strftime('%Y-%m-%d %H:%M:%S'),
end_date_time_in_utc.astimezone(
get_localzone()).strftime('%Y-%m-%d %H:%M:%S')))
post_recordings_response = {
'meta': {
'application': 'SmoothStreamsProxy',
'version': VERSION
},
'data': {
'type': 'recordings',
'id': id_,
'attributes': {
'channel_name': channel_name,
'channel_number': channel_number,
'end_date_time_in_utc': '{0}'.format(end_date_time_in_utc),
'program_title': program_title,
'start_date_time_in_utc': '{0}'.format(start_date_time_in_utc),
'status': 'scheduled'
}
}
}
post_recordings_response_status_code = requests.codes.CREATED
except DuplicateRecordingError:
logger.error(
'Error encountered processing request\n'
'Source IP => {0}\n'
'Requested path => {1}\n'
'Post Data => {2}\n'
'Error Title => Duplicate resource\n'
'Error Message => Recording already scheduled'.format(
client_ip_address,
requested_path_with_query_string,
pprint.pformat(post_request_body, indent=4)))
post_recordings_response = {
'errors': [
{
'status': '{0}'.format(requests.codes.CONFLICT),
'field': None,
'title': 'Duplicate resource',
'developer_message': 'Recording already scheduled',
'user_message': 'The recording is already scheduled'
}
]
}
post_recordings_response_status_code = requests.codes.CONFLICT
json_api_response = json.dumps(post_recordings_response, indent=4)
self._send_http_response(client_ip_address,
None,
requested_path_with_query_string,
post_recordings_response_status_code,
SmoothStreamsProxyUtility.construct_response_headers(
json_api_response,
'application/vnd.api+json'),
json_api_response)
else:
requested_path_not_found = True
if requested_path_not_found:
logger.error('HTTP error {0} encountered requesting {1} for {2}'.format(
requests.codes.NOT_FOUND,
requested_path_with_query_string,
client_ip_address))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.NOT_FOUND,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
except Exception:
(type_, value_, traceback_) = sys.exc_info()
logger.error('\n'.join(traceback.format_exception(type_, value_, traceback_)))
self._send_http_response(client_ip_address,
requested_query_string_parameters.get('client_uuid', None),
requested_path_with_query_string,
requests.codes.INTERNAL_SERVER_ERROR,
SmoothStreamsProxyUtility.construct_response_headers(None,
None),
[])
def log_message(self, format_, *args):
return
class SmoothStreamsProxyHTTPRequestHandlerThread(Thread):
def __init__(self, server_address, server_socket):
Thread.__init__(self)
self.server_address = server_address
self.server_socket = server_socket
self.server_close = lambda self_: None
self._smooth_streams_proxy_http_server = SmoothStreamsProxyHTTPServer(self.server_address,
SmoothStreamsProxyHTTPRequestHandler,
False)
self.daemon = True
self.start()
def run(self):
self._smooth_streams_proxy_http_server.socket = self.server_socket
self._smooth_streams_proxy_http_server.server_bind = self.server_close
self._smooth_streams_proxy_http_server.serve_forever()
def stop(self):
self._smooth_streams_proxy_http_server.shutdown()
class SmoothStreamsProxyHTTPServer(HTTPServer):
def __init__(self, server_address, request_handler, context):
HTTPServer.__init__(self, server_address, request_handler, context)
| 60.657143 | 120 | 0.428222 | 5,318 | 74,305 | 5.624107 | 0.058293 | 0.046708 | 0.048447 | 0.041927 | 0.82303 | 0.774984 | 0.753385 | 0.703367 | 0.674479 | 0.654786 | 0 | 0.0097 | 0.50469 | 74,305 | 1,224 | 121 | 60.706699 | 0.802956 | 0.004051 | 0 | 0.653846 | 0 | 0.001789 | 0.115511 | 0.009352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008945 | false | 0 | 0.022361 | 0.000894 | 0.034884 | 0.00805 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9596b306c29a52323ebda6a5b805a61ca3af7453 | 45 | py | Python | FPSim2/io/backends/__init__.py | adalke/FPSim2 | 23ddf388dd00657e595cf8244360e5c60dc11661 | [
"MIT"
] | 51 | 2019-01-24T14:23:01.000Z | 2022-03-23T08:38:55.000Z | FPSim2/io/backends/__init__.py | adalke/FPSim2 | 23ddf388dd00657e595cf8244360e5c60dc11661 | [
"MIT"
] | 18 | 2019-01-18T16:38:37.000Z | 2022-03-09T12:38:36.000Z | FPSim2/io/backends/__init__.py | adalke/FPSim2 | 23ddf388dd00657e595cf8244360e5c60dc11661 | [
"MIT"
] | 11 | 2019-01-30T01:17:51.000Z | 2021-10-14T02:20:52.000Z | from .pytables import PyTablesStorageBackend
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
255880a6a886714ffb3137bbe80dc34722297acd | 159 | py | Python | scsr_api/utils/sanitize.py | hiperlogic/scsr-api | d1c40d7b86b94c50c88833149c29f413e6d39843 | [
"MIT"
] | 1 | 2021-02-09T21:33:56.000Z | 2021-02-09T21:33:56.000Z | scsr_api/utils/sanitize.py | hiperlogic/scsr-api | d1c40d7b86b94c50c88833149c29f413e6d39843 | [
"MIT"
] | null | null | null | scsr_api/utils/sanitize.py | hiperlogic/scsr-api | d1c40d7b86b94c50c88833149c29f413e6d39843 | [
"MIT"
] | null | null | null | def sanitize_db(data):
#TODO: Sanitize mongoDB Data. Just returns True and the data for now!. Returns false when not able to sanitize
return True, data | 53 | 114 | 0.748428 | 26 | 159 | 4.538462 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194969 | 159 | 3 | 115 | 53 | 0.921875 | 0.685535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
256e52f3a22aa73b7d32aa15da102272902b539d | 45 | py | Python | Supycap/cc_analysis/cccap/__init__.py | AdaYuanChen/Supercap | 17d0302610a39e030911e46ba750cf15a1b9706f | [
"MIT"
] | 7 | 2021-03-19T16:53:30.000Z | 2022-03-08T23:06:29.000Z | Supycap/cc_analysis/cccap/__init__.py | AdaYuanChen/Supercap | 17d0302610a39e030911e46ba750cf15a1b9706f | [
"MIT"
] | 12 | 2020-08-28T04:22:12.000Z | 2020-12-26T10:32:52.000Z | Supycap/cc_analysis/cccap/__init__.py | AdaYuanChen/Supercap | 17d0302610a39e030911e46ba750cf15a1b9706f | [
"MIT"
] | 1 | 2022-03-08T23:07:10.000Z | 2022-03-08T23:07:10.000Z | from .cc_cap import*
from .utilities import* | 22.5 | 23 | 0.777778 | 7 | 45 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 2 | 23 | 22.5 | 0.871795 | 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 |
c28a1c02fb723edafed49a21a2731f64d7dc4aa6 | 119 | py | Python | app/api/v2/resources/food.py | misatifelix/fast-food-fast-api | 083fee0993e8d2d0152b4cd13c1ab558d0ba9283 | [
"MIT"
] | 2 | 2018-09-26T16:55:50.000Z | 2020-03-10T08:56:35.000Z | app/api/v2/resources/food.py | misatifelix/fast-food-fast-api | 083fee0993e8d2d0152b4cd13c1ab558d0ba9283 | [
"MIT"
] | 1 | 2019-10-21T17:13:51.000Z | 2019-10-21T17:13:51.000Z | app/api/v2/resources/food.py | misatifelix/fast-food-fast-api | 083fee0993e8d2d0152b4cd13c1ab558d0ba9283 | [
"MIT"
] | null | null | null | from flask_restful import Resource
class FoodResource(Resource):
pass
class FoodListResource(Resource):
pass
| 14.875 | 34 | 0.781513 | 13 | 119 | 7.076923 | 0.692308 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 7 | 35 | 17 | 0.929293 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c2b037e99788e44372c1e30b21417513e2b32d85 | 460 | py | Python | Stack/Stack1.py | shaurtoonetwork/Data-Structures-Implemented-In-Python | 31f770165d535547e6ab3973ca92944cd4d93e11 | [
"Unlicense"
] | null | null | null | Stack/Stack1.py | shaurtoonetwork/Data-Structures-Implemented-In-Python | 31f770165d535547e6ab3973ca92944cd4d93e11 | [
"Unlicense"
] | null | null | null | Stack/Stack1.py | shaurtoonetwork/Data-Structures-Implemented-In-Python | 31f770165d535547e6ab3973ca92944cd4d93e11 | [
"Unlicense"
] | null | null | null | class Stack:
def __init__(self):
self.items=[]
def push(self,item):
self.items.append(item)
def pop(self):
return self.items.pop()
def is_empty(self):
return self.items == []
def peak(self):
if not self.is_empty():
return self.items[-1]
def get_stack(self):
return self.items
s=Stack()
s.push("A")
s.push(1)
s.push(2)
s.push(3)
print(s.peak())
print(s.get_stack()) | 15.862069 | 33 | 0.556522 | 69 | 460 | 3.594203 | 0.333333 | 0.217742 | 0.241935 | 0.229839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012158 | 0.284783 | 460 | 29 | 34 | 15.862069 | 0.741641 | 0 | 0 | 0 | 0 | 0 | 0.002169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.52381 | 0.095238 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6c2505d0b901df4294008715b650ff4f230a3777 | 143 | py | Python | AnonymounsLambdafunxtions.py | vidhurraj147/pythonexample | f595034cb6e4c317812f25d8d92501f62c2ccfee | [
"Apache-2.0"
] | null | null | null | AnonymounsLambdafunxtions.py | vidhurraj147/pythonexample | f595034cb6e4c317812f25d8d92501f62c2ccfee | [
"Apache-2.0"
] | null | null | null | AnonymounsLambdafunxtions.py | vidhurraj147/pythonexample | f595034cb6e4c317812f25d8d92501f62c2ccfee | [
"Apache-2.0"
] | null | null | null |
sum = lambda arg1,arg2: arg1+arg2
mul = lambda arg1,arg2: arg1*arg2
print("The total is: ",sum(10,30))
print("Multiplication is: ",mul(50,40)) | 28.6 | 39 | 0.699301 | 25 | 143 | 4 | 0.56 | 0.32 | 0.28 | 0.36 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0.118881 | 143 | 5 | 39 | 28.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
6c3022da6aa672d7f5a967044beeb69847ea1754 | 31 | py | Python | neuralpredictors/measures/__init__.py | kellirestivo/neuralpredictors | 57205a90d2e3daa5f8746c6ef6170be9e35cb5f5 | [
"MIT"
] | 9 | 2020-11-26T18:22:32.000Z | 2022-01-22T15:51:52.000Z | neuralpredictors/measures/__init__.py | kellirestivo/neuralpredictors | 57205a90d2e3daa5f8746c6ef6170be9e35cb5f5 | [
"MIT"
] | 60 | 2020-10-21T15:32:28.000Z | 2022-02-25T10:38:16.000Z | neuralpredictors/measures/__init__.py | mohammadbashiri/neuralpredictors | 8e60c9ce91f83e3dcaa1b3dbe4422e1509ccbd5f | [
"MIT"
] | 21 | 2020-10-21T09:29:17.000Z | 2022-02-07T10:04:46.000Z | from .np_functions import corr
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
6c7f57d696af5d29ca31ab5412285ec021b3cf49 | 32 | py | Python | run/__init__.py | Jignesh1996/s2w | 065bbb97307254cc7ded3c84d40ac3c203d08899 | [
"MIT"
] | null | null | null | run/__init__.py | Jignesh1996/s2w | 065bbb97307254cc7ded3c84d40ac3c203d08899 | [
"MIT"
] | null | null | null | run/__init__.py | Jignesh1996/s2w | 065bbb97307254cc7ded3c84d40ac3c203d08899 | [
"MIT"
] | null | null | null | from run.model import DumbModel
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
6c8d2ad99df01a983c9bfb68176b3714c0b567d2 | 28 | py | Python | tests/__init__.py | SimpleArt/pyroot | 1f1ac6a644999e86e4c3c83a5107cf2d34069c64 | [
"MIT"
] | null | null | null | tests/__init__.py | SimpleArt/pyroot | 1f1ac6a644999e86e4c3c83a5107cf2d34069c64 | [
"MIT"
] | null | null | null | tests/__init__.py | SimpleArt/pyroot | 1f1ac6a644999e86e4c3c83a5107cf2d34069c64 | [
"MIT"
] | null | null | null | import tests._test as _test
| 14 | 27 | 0.821429 | 5 | 28 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
66d33d91c1bee80370ef0eb5f6841c50a20c0463 | 267 | py | Python | analyser_crystal.py | RobBosman-rwhb/sedea | 7ff6caab247bc032ca350de7ba6e1db4f13dd338 | [
"BSD-3-Clause"
] | null | null | null | analyser_crystal.py | RobBosman-rwhb/sedea | 7ff6caab247bc032ca350de7ba6e1db4f13dd338 | [
"BSD-3-Clause"
] | null | null | null | analyser_crystal.py | RobBosman-rwhb/sedea | 7ff6caab247bc032ca350de7ba6e1db4f13dd338 | [
"BSD-3-Clause"
] | null | null | null |
class analyser_crystal:
def __init__(self,base_indicies):
self.base_indicies = base_indicies
def set_harmonic_list(self,harmonic_list):
self.harmonic_list = harmonic_list
def get_harmonic_list(self):
return self.harmonic_list
| 20.538462 | 46 | 0.722846 | 34 | 267 | 5.205882 | 0.382353 | 0.40678 | 0.271186 | 0.271186 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213483 | 267 | 12 | 47 | 22.25 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
66e5d575e64634b40cd3366c11cc119267cc6509 | 261 | py | Python | src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/__init__.py | mir-am/typilus | d2c126f178c02cfcef9b0ce652c4b019c2462e09 | [
"MIT"
] | 41 | 2020-05-18T21:00:44.000Z | 2022-01-26T23:06:58.000Z | src/data_preparation/scripts/graph_generator/typeparsing/rewriterules/__init__.py | fwangdo/typilus | 69c377b4cd286fd3657708accf3b2f56a5da1e8d | [
"MIT"
] | 7 | 2020-05-18T10:07:12.000Z | 2021-09-28T12:17:37.000Z | codebleu/graph_generator/typeparsing/rewriterules/__init__.py | JetBrains-Research/metrics-evaluation | 6e3696d11b9efcc7b4403f94b84651caed247649 | [
"Apache-2.0"
] | 12 | 2020-04-25T19:12:46.000Z | 2022-02-17T08:49:24.000Z | from .rewriterule import RewriteRule
from .removerecursivegenerics import RemoveRecursiveGenerics
from .removestandalones import RemoveStandAlones
from .removeunionwithanys import RemoveUnionWithAnys
from .removegenericwithany import RemoveGenericWithAnys
| 43.5 | 61 | 0.885057 | 20 | 261 | 11.55 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095785 | 261 | 5 | 62 | 52.2 | 0.978814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd86cab99cbc38a625779038ecb8dbb7fec29903 | 133 | py | Python | fun2.py | ofiro21-meet/meet2019y1lab7 | b0f88d114c7c54dc866bb365e69598946e322aef | [
"MIT"
] | null | null | null | fun2.py | ofiro21-meet/meet2019y1lab7 | b0f88d114c7c54dc866bb365e69598946e322aef | [
"MIT"
] | null | null | null | fun2.py | ofiro21-meet/meet2019y1lab7 | b0f88d114c7c54dc866bb365e69598946e322aef | [
"MIT"
] | null | null | null | import turtle
turtle.goto(0,0)
def up():
print("you pressed the up key")
turtle.onkey(up,"up")
turtle.goto(0,0)
turtle.listen()
| 14.777778 | 35 | 0.684211 | 24 | 133 | 3.791667 | 0.541667 | 0.21978 | 0.241758 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.135338 | 133 | 8 | 36 | 16.625 | 0.756522 | 0 | 0 | 0.285714 | 0 | 0 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6601cb2e1e4f3135f71d8589d4d8054567988e53 | 329 | py | Python | markup/ParseError.py | MarkGotham/Taking-Form | 6130a56d180aae36a7903e423078e287cfa92b55 | [
"MIT"
] | 7 | 2019-09-11T04:07:58.000Z | 2022-02-24T07:43:11.000Z | markup/ParseError.py | MarkGotham/Taking-Form | 6130a56d180aae36a7903e423078e287cfa92b55 | [
"MIT"
] | 5 | 2019-08-15T17:50:53.000Z | 2020-04-27T08:35:58.000Z | markup/ParseError.py | MarkGotham/Taking-Form | 6130a56d180aae36a7903e423078e287cfa92b55 | [
"MIT"
] | 3 | 2019-12-19T08:08:04.000Z | 2022-01-07T21:51:56.000Z |
# TODO tidy
class ParseError(Exception):
def __init__(self, annotationContent, bar):
self.annotationContent = annotationContent
self.bar = bar
def __str__(self):
return "Parse error | Bar " + str(self.bar) + " | " + self.annotationContent
def __repr__(self):
return self.__str__()
| 23.5 | 84 | 0.641337 | 34 | 329 | 5.735294 | 0.441176 | 0.323077 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25228 | 329 | 13 | 85 | 25.307692 | 0.792683 | 0.027356 | 0 | 0 | 0 | 0 | 0.066456 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
66136ef6ef2556fb915721dd213cf4705e0c2601 | 38 | py | Python | data_visualizer/__init__.py | RaczeQ/naive-bayes-classifier | c8adc960885118a13677e3c5ec4039b976810bee | [
"MIT"
] | null | null | null | data_visualizer/__init__.py | RaczeQ/naive-bayes-classifier | c8adc960885118a13677e3c5ec4039b976810bee | [
"MIT"
] | null | null | null | data_visualizer/__init__.py | RaczeQ/naive-bayes-classifier | c8adc960885118a13677e3c5ec4039b976810bee | [
"MIT"
] | null | null | null | from .data_visualizer import visualize | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 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 |
66138c2f732231baa7f8c9795675e0d56e90b893 | 593 | py | Python | Mild.py | tacoresearch/HotSauce | 07c30130c5b1b97b72c9b1d0a25411c1ed897b81 | [
"MIT"
] | 1 | 2021-04-14T03:13:35.000Z | 2021-04-14T03:13:35.000Z | Mild.py | tacoresearch/HotSauce | 07c30130c5b1b97b72c9b1d0a25411c1ed897b81 | [
"MIT"
] | null | null | null | Mild.py | tacoresearch/HotSauce | 07c30130c5b1b97b72c9b1d0a25411c1ed897b81 | [
"MIT"
] | null | null | null | print('''\
_
\`*-.
) _`-.
. : `. .
: _ ' \
; *` _. `*-._
`-.-' `-.
; ` `.
:. . \
. \ . : .-' .
' `+.; ; ' :
: ' | ; ;-.
; ' : :`-: _.`* ;
txt me.*' / .*' ; .*`- +' `*'
`*-* `*-* `*-*'
00111001 00110000 00111001 00110101 00110100 00110010 00111000 00110011 00110101 00110101
''')
| 31.210526 | 89 | 0.161889 | 13 | 593 | 6.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 0.645868 | 593 | 18 | 90 | 32.944444 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0.976391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66328c996e134ec40afa52e6ea5066407c3766fc | 176 | py | Python | reports/historical/__init__.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 4 | 2020-01-05T09:14:19.000Z | 2022-02-17T03:22:09.000Z | reports/historical/__init__.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 68 | 2019-12-23T02:19:55.000Z | 2021-04-23T06:13:36.000Z | reports/historical/__init__.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 2 | 2020-11-07T12:23:21.000Z | 2021-11-07T18:21:31.000Z | __all__ = ["historical", "canon"]
# Preserve the current `from reports.historical import Historical, canon` syntax
from .historical import Historical
from .canon import canon
| 29.333333 | 80 | 0.784091 | 21 | 176 | 6.380952 | 0.47619 | 0.223881 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130682 | 176 | 5 | 81 | 35.2 | 0.875817 | 0.443182 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0acc85350260ea1ee5e2d8048c7fe9aa95dab0c | 17,381 | py | Python | model/calculator.py | AlexMout/OptionPricer | 3c95a3758ab9a96027d40c8d7a23c3e4482ff221 | [
"MIT"
] | 1 | 2019-08-21T16:51:59.000Z | 2019-08-21T16:51:59.000Z | model/calculator.py | AlexMout/OptionPricer | 3c95a3758ab9a96027d40c8d7a23c3e4482ff221 | [
"MIT"
] | null | null | null | model/calculator.py | AlexMout/OptionPricer | 3c95a3758ab9a96027d40c8d7a23c3e4482ff221 | [
"MIT"
] | null | null | null | from model import graph_generator
from scipy.stats import norm
import math
class BlackScholes:
__oneDay = 1/365
# *********************** D1 & D2 **********************
@classmethod
def __d1(cls,S,K,R,T,Vol):
"""Class method so that the method has the access to the other methods inside the class without being forced
to call BlackScholes.My_function() but with cls.My_function()"""
return (math.log(S/K)+(R+(Vol**2)/2)*T)/(Vol*math.sqrt(T))
@classmethod
def __d2(cls,S,K,R,T,Vol):
return cls.__d1(S,K,R,T,Vol)-Vol*math.sqrt(T)
# *********************** PRICE FORMULAS **********************
@classmethod
def call_price(cls,S,K,R,T,Vol):
"""Return the price of a vanilla call"""
price = S*norm.cdf(cls.__d1(S,K,R,T,Vol))-K*math.exp(-R*T)*norm.cdf(cls.__d2(S,K,R,T,Vol))
return round(price,3)
@classmethod
def call_spread_price(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return cls.call_price(S,K1,R,T,Vol)-cls.call_price(S,K2,R,T,Vol)
return -cls.call_price(S, K1, R, T, Vol) + cls.call_price(S, K2, R, T, Vol)
@classmethod
def put_spread_price(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return -cls.put_price(S,K2,R,T,Vol)+cls.put_price(S,K1,R,T,Vol)
return cls.put_price(S,K2,R,T,Vol)-cls.put_price(S,K1,R,T,Vol)
@classmethod
def put_price(cls,S,K,R,T,Vol):
"""Return the price of a vanilla put"""
price = -S*norm.cdf(-cls.__d1(S,K,R,T,Vol))+K*math.exp(-R*T)*norm.cdf(-cls.__d2(S,K,R,T,Vol))
return round(price,3)
@classmethod
def call_digital_price(cls,S,K,R,T,Vol):
return round(math.exp(-R*T)*norm.cdf(cls.__d2(S,K,R,T,Vol)),3)
@classmethod
def put_digital_price(cls,S,K,R,T,Vol):
return round(math.exp(-R*T)*norm.cdf(-cls.__d2(S,K,R,T,Vol)),3)
@classmethod
def straddle_price(cls,S,K,R,T,Vol):
return cls.call_price(S,K,R,T,Vol)+cls.put_price(S,K,R,T,Vol)
@classmethod
def strangle_price(cls,S,K1,K2,R,T,Vol):
return cls.put_price(S,K1,R,T,Vol)+cls.call_price(S,K2,R,T,Vol)
@classmethod
def risk_rev_price(cls,S,K1,K2,R,T,Vol):
return -cls.put_price(S,K1,R,T,Vol)+cls.call_price(S,K2,R,T,Vol)
@classmethod
def calendar_price(cls,S,K,R,T1,T2,Vol):
return -cls.call_price(S,K,R,T1,Vol)+cls.call_price(S,K,R,T2,Vol)
# *********************** DELTA FORMULAS **********************
@classmethod
def call_delta(cls,S,K,R,T,Vol):
delta = norm.cdf(cls.__d1(S,K,R,T,Vol))
return round(delta,3)
@classmethod
def call_spread_delta(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return cls.call_delta(S,K1,R,T,Vol) - cls.call_delta(S,K2,R,T,Vol)
return -cls.call_delta(S,K1,R,T,Vol) + cls.call_delta(S,K2,R,T,Vol)
@classmethod
def put_delta(cls,S,K,R,T,Vol):
delta = norm.cdf(cls.__d1(S,K,R,T,Vol))-1
return round(delta,3)
@classmethod
def put_spread_delta(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return - cls.put_delta(S,K2,R,T,Vol) + cls.put_delta(S,K1,R,T,Vol)
return cls.put_delta(S, K2, R, T, Vol) - cls.put_delta(S, K1, R, T, Vol)
@classmethod
def call_digital_delta(cls,S,K,R,T,Vol):
return round((norm.pdf(cls.__d2(S,K,R,T,Vol))/(S*Vol*math.sqrt(T)))*math.exp(-R*T),3)
@classmethod
def put_digital_delta(cls,S,K,R,T,Vol):
return round(-cls.call_digital_delta(S,K,R,T,Vol),3)
@classmethod
def straddle_delta(cls,S,K,R,T,Vol):
return cls.call_delta(S,K,R,T,Vol)+cls.put_delta(S,K,R,T,Vol)
@classmethod
def strangle_delta(cls,S,K1,K2,R,T,Vol):
return cls.put_delta(S,K1,R,T,Vol)+cls.call_delta(S,K2,R,T,Vol)
@classmethod
def risk_rev_delta(cls,S,K1,K2,R,T,Vol):
return -cls.put_delta(S, K1, R, T, Vol) + cls.call_delta(S, K2, R, T, Vol)
@classmethod
def calendar_delta(cls,S,K,R,T1,T2,Vol):
return -cls.call_delta(S,K,R,T1,Vol)+cls.call_delta(S,K,R,T2,Vol)
# *********************** GAMMA FORMULAS **********************
@classmethod
def gamma(cls,S,K,R,T,Vol):
gamma = (1/(S*Vol*math.sqrt(T)))*norm.pdf(cls.__d1(S,K,R,T,Vol))
return round(gamma,3)
@classmethod
def call_spread_gamma(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return cls.gamma(S,K1,R,T,Vol)-cls.gamma(S,K2,R,T,Vol)
return -cls.gamma(S,K1,R,T,Vol)+cls.gamma(S,K2,R,T,Vol)
@classmethod
def put_spread_gamma(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return - cls.gamma(S,K2,R,T,Vol) + cls.gamma(S,K1,R,T,Vol)
return cls.gamma(S,K2,R,T,Vol) - cls.gamma(S,K1,R,T,Vol)
@classmethod
def call_digital_gamma(cls,S,K,R,T,Vol):
return round((math.exp(-R*T)*norm.pdf(cls.__d2(S,K,R,T,Vol))*cls.__d1(S,K,R,T,Vol))/(S**2*Vol**2*T),3)
@classmethod
def put_digital_gamma(cls,S,K,R,T,Vol):
return round(-cls.call_digital_gamma(S,K,R,T,Vol),3)
@classmethod
def straddle_gamma(cls,S,K,R,T,Vol):
return 2*cls.gamma(S,K,R,T,Vol)
@classmethod
def strangle_gamma(cls,S,K1,K2,R,T,Vol):
return cls.gamma(S,K1,R,T,Vol)+cls.gamma(S,K2,R,T,Vol)
@classmethod
def risk_rev_gamma(cls,S,K1,K2,R,T,Vol):
return -cls.gamma(S, K1, R, T, Vol) + cls.gamma(S, K2, R, T, Vol)
@classmethod
def calendar_gamma(cls, S, K, R, T1, T2, Vol):
return -cls.gamma(S, K, R, T1, Vol) + cls.gamma(S, K, R, T2, Vol)
# *********************** VEGA FORMULAS **********************
@classmethod
def vega(cls,S,K,R,T,Vol):
vega = S*math.sqrt(Vol)*norm.pdf(cls.__d1(S,K,R,T,Vol))
return round(vega,3)
@classmethod
def call_spread_vega(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return cls.vega(S,K1,R,T,Vol) - cls.vega(S,K2,R,T,Vol)
return - cls.vega(S,K1,R,T,Vol) + cls.vega(S,K2,R,T,Vol)
@classmethod
def call_digital_vega(cls,S,K,R,T,Vol):
return round(-math.exp(-R*T)*cls.__d1(S,K,R,T,Vol)*norm.pdf(cls.__d2(S,K,R,T,Vol))/Vol,3)
@classmethod
def put_spread_vega(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return - cls.vega(S,K2,R,T,Vol) + cls.vega(S,K1,R,T,Vol)
return cls.vega(S,K2,R,T,Vol) - cls.vega(S,K1,R,T,Vol)
@classmethod
def put_digital_vega(cls,S,K,R,T,Vol):
return round(-cls.call_digital_vega(S,K,R,T,Vol),3)
@classmethod
def straddle_vega(cls,S,K,R,T,Vol):
return 2*cls.vega(S,K,R,T,Vol)
@classmethod
def strangle_vega(cls,S,K1,K2,R,T,Vol):
return cls.vega(S,K1,R,T,Vol)+cls.vega(S,K2,R,T,Vol)
@classmethod
def risk_rev_vega(cls, S, K1, K2, R, T, Vol):
return -cls.vega(S, K1, R, T, Vol) + cls.vega(S, K2, R, T, Vol)
@classmethod
def calendar_vega(cls, S, K, R, T1, T2, Vol):
return -cls.vega(S, K, R, T1, Vol) + cls.vega(S, K, R, T2, Vol)
# *********************** THETA FORMULAS **********************
@classmethod
def call_theta(cls,S,K,R,T,Vol):
d2 = cls.__d2(S,K,R,T,Vol)
theta = -(K*Vol*norm.pdf(d2)*math.exp(-R*T))/(2*math.sqrt(T)) - R*K*norm.cdf(d2)*math.exp(-R*T)
return round(theta,3)
@classmethod
def call_spread_theta(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return cls.call_theta(S,K1,R,T,Vol) - cls.call_theta(S,K2,R,T,Vol)
return - cls.call_theta(S,K1,R,T,Vol) + cls.call_theta(S,K2,R,T,Vol)
@classmethod
def call_digital_theta(cls,S,K,R,T,Vol):
disc_factor = math.exp(-R*T)
d1 = cls.__d1(S,K,R,T,Vol)
d2 = cls.__d2(S,K,R,T,Vol)
return round(R*disc_factor*norm.cdf(d2)+disc_factor*norm.pdf(d2)*((d1/(2*T)) - (R/(Vol*math.sqrt(T)))),3)
@classmethod
def put_theta(cls,S,K,R,T,Vol):
d1 = cls.__d1(S, K, R, T, Vol)
d2 = cls.__d2(S, K, R, T, Vol)
theta = R*K*math.exp(-R*T)*norm.cdf(-d2) - S*norm.pdf(d1)*Vol/(2*math.sqrt(T))
return round(theta,3)
@classmethod
def put_spread_theta(cls,S,K1,K2,R,T,Vol,isbull):
if isbull:
return -cls.put_theta(S,K2,R,T,Vol) + cls.put_theta(S,K1,R,T,Vol)
return cls.put_theta(S,K2,R,T,Vol) - cls.put_theta(S,K1,R,T,Vol)
@classmethod
def put_digital_theta(cls,S,K,R,T,Vol):
return round(-R*math.exp(-R*T) - cls.call_digital_theta(S,K,R,T,Vol),3)
@classmethod
def straddle_theta(cls,S,K,R,T,Vol):
return cls.call_theta(S,K,R,T,Vol)+cls.put_theta(S,K,R,T,Vol)
@classmethod
def strangle_theta(cls,S,K1,K2,R,T,Vol):
return cls.put_theta(S,K1,R,T,Vol)+cls.call_theta(S,K2,R,T,Vol)
@classmethod
def risk_rev_theta(cls, S, K1, K2, R, T, Vol):
return -cls.put_theta(S, K1, R, T, Vol) + cls.call_theta(S, K2, R, T, Vol)
@classmethod
def calendar_theta(cls, S, K, R, T1, T2, Vol):
return -cls.call_theta(S, K, R, T1, Vol) + cls.call_theta(S, K, R, T2, Vol)
# *********************** PAYOFF GRAPH CALLERS **********************
@classmethod
def payoff_lists(cls, S, K, R, T, Vol, call_price, put_price):
"""Return a tuple : (list of strikes, list of Y curve , list of title)"""
return graph_generator.Plotter.get_payoff_lists((cls.call_price, cls.put_price)
, K, R, T, Vol,cls.__oneDay,
["Call", "Put"],
(call_price, put_price))
@classmethod
def payoff_call_spread(cls,K1,K2,R,T,Vol,bull_price,bear_price):
return graph_generator.Plotter.get_payoff_strategy((cls.call_spread_price,cls.call_spread_price,cls.call_spread_price,cls.call_spread_price),
((K1,K2,R,T,Vol,True),(K1,K2,R,cls.__oneDay,Vol,True),(K1,K2,R,T,Vol,False),(K1,K2,R,cls.__oneDay,Vol,False)),
["Bull Sp.","Bear Sp."],
(bull_price,bull_price, bear_price,bear_price),
(K1+K2)/2)
@classmethod
def payoff_put_spread(cls, K1, K2, R, T, Vol, bull_price, bear_price):
return graph_generator.Plotter.get_payoff_strategy((cls.put_spread_price, cls.put_spread_price,cls.put_spread_price, cls.put_spread_price),
((K1, K2, R, T, Vol, True),(K1, K2, R, cls.__oneDay, Vol, True),
(K1, K2, R, T, Vol, False),(K1, K2, R, cls.__oneDay, Vol, False)),
["Bull Spread","Bear Spread"],
(bull_price,bull_price, bear_price,bear_price),
(K1 + K2) / 2)
@classmethod
def payoff_digital_graph(cls, S, K, R, T, Vol, call_price, put_price):
return graph_generator.Plotter.get_payoff_lists((cls.call_digital_price, cls.put_digital_price)
, K, R, T, Vol,cls.__oneDay,
["Digital Call", "Digital Put"],
(call_price, put_price))
@classmethod
def straddle_payoff_graph(cls,S,K,R,T,Vol,straddle_price):
return graph_generator.Plotter.get_payoff_lists((cls.straddle_price,)
, K, R, T, Vol,cls.__oneDay,
["Straddle"],
(straddle_price,))
@classmethod
def strangle_payoff_graph(cls,S,K1,K2,R,T,Vol,price):
return graph_generator.Plotter.get_payoff_strategy([cls.strangle_price,cls.strangle_price]
, [[K1,K2, R, T, Vol],[K1,K2, R, cls.__oneDay, Vol]],
["Strangle"],
[price,price],(K1+K2)/2)
@classmethod
def risk_rev_payoff_graph(cls, S, K1, K2, R, T, Vol,price):
return graph_generator.Plotter.get_payoff_strategy([cls.risk_rev_price,cls.risk_rev_price]
, [[K1, K2, R, T, Vol],[K1, K2, R, cls.__oneDay, Vol]],
["Risk Reversal"],
[price,price], (K1 + K2) / 2)
@classmethod
def calendar_payoff_graph(cls, S, K, R, T1, T2, Vol,price):
return graph_generator.Plotter.get_payoff_strategy([cls.calendar_price,cls.calendar_price], [[K, R, T1, T2, Vol],[K, R, cls.__oneDay, T2-T1+cls.__oneDay, Vol]],
["Calendar Spread"],
[price,price], K)
# *********************** GREEKS GRAPH CALLERS **********************
@classmethod
def greeks_graph(cls,S,K,R,T,Vol):
list_greeks = (cls.gamma,cls.gamma,cls.call_delta,cls.put_delta,cls.call_theta,cls.put_theta,cls.vega,cls.vega)
list_title = ["Call Gamma","Put Gamma","Call Delta","Put Delta","Call Theta","Put Theta","Call Vega","Put Vega"]
return graph_generator.Plotter.get_graph_greeks(list_greeks,K,R,T,Vol,cls.__oneDay,list_title)
@classmethod
def greeks_digital_graph(cls,S,K,R,T,Vol):
list_greeks = (
cls.call_digital_gamma, cls.put_digital_gamma, cls.call_digital_delta, cls.put_digital_delta, cls.call_digital_theta, cls.put_digital_theta, cls.call_digital_vega, cls.put_digital_vega)
list_title = [
"Digital Call Gamma", "Digital Put Gamma", "Digital Call Delta", "Digital Put Delta", "Digital Call Theta", "Digital Put Theta","Digital Call Vega", "Digital Put Vega"]
return graph_generator.Plotter.get_graph_greeks(list_greeks, K, R, T, Vol,cls.__oneDay, list_title)
@classmethod
def call_spread_greeks_graph(cls,K1,K2,R,T,Vol):
list_greeks = (
cls.call_spread_gamma, cls.call_spread_gamma, cls.call_spread_delta, cls.call_spread_delta, cls.call_spread_theta, cls.call_spread_theta, cls.call_spread_vega, cls.call_spread_vega)
list_title = [
"Bull Gamma", "Bear Gamma", "Bull Delta", "Bear Delta", "Bull Theta", "Bear Theta" , "Bull Vega", "Bear Vega"]
return graph_generator.Plotter.get_graph_strategy_greeks(list_greeks, ((K1,K2,R,T,Vol,True),(K1,K2,R,cls.__oneDay,Vol,True),(K1,K2,R,T,Vol,False),(K1,K2,R,cls.__oneDay,Vol,False)), list_title,(K1+K2)/2)
@classmethod
def put_spread_greeks_graph(cls,K1,K2,R,T,Vol):
list_greeks = (
cls.put_spread_delta, cls.put_spread_delta, cls.put_spread_gamma, cls.put_spread_gamma,
cls.put_spread_vega, cls.put_spread_vega, cls.put_spread_theta, cls.put_spread_theta)
list_title = [
"Bull Gamma", "Bear Gamma", "Bull Delta", "Bear Delta", "Bull Theta",
"Bear Theta" ,"Bull Vega", "Bear Vega"]
return graph_generator.Plotter.get_graph_strategy_greeks(list_greeks, (
(K1, K2, R, T, Vol, True),(K1, K2, R, cls.__oneDay, Vol, True), (K1, K2, R, T, Vol, False),(K1, K2, R, cls.__oneDay, Vol, False)), list_title, (K1 + K2) / 2)
@classmethod
def straddle_greeks_graph(cls, S, K, R, T, Vol):
list_greeks = (cls.straddle_gamma, cls.straddle_delta, cls.straddle_theta, cls.straddle_vega)
list_title = ["Gamma","Delta", "Theta", "Vega"]
return graph_generator.Plotter.get_graph_strategy_greeks_one_leg(list_greeks, ((K, R, T, Vol),(K, R, cls.__oneDay, Vol)), list_title, K)
@classmethod
def strangle_greeks_graph(cls, S, K1, K2, R, T, Vol):
list_greeks = (cls.strangle_gamma,cls.strangle_delta, cls.strangle_theta, cls.strangle_vega)
list_title = ["Gamma", "Delta", "Theta", "Vega"]
return graph_generator.Plotter.get_graph_strategy_greeks_one_leg(list_greeks, ((K1, K2, R, T, Vol),(K1, K2, R, cls.__oneDay, Vol)), list_title,
(K1 + K2) / 2)
@classmethod
def risk_rev_greeks_graph(cls, S, K1, K2, R, T, Vol):
list_greeks = (cls.risk_rev_gamma,cls.risk_rev_delta, cls.risk_rev_theta,cls.risk_rev_vega)
list_title = ["Gamma", "Delta","Theta","Vega"]
return graph_generator.Plotter.get_graph_strategy_greeks_one_leg(list_greeks, ((K1, K2, R, T, Vol),(K1, K2, R, cls.__oneDay, Vol)), list_title,
(K1 + K2) / 2)
@classmethod
def calendar_greeks_graph(cls, S, K, R, T1, T2, Vol):
list_greeks = (cls.calendar_gamma, cls.calendar_delta, cls.calendar_theta, cls.calendar_vega)
list_title = ["Gamma", "Delta", "Theta", "Vega"]
return graph_generator.Plotter.get_graph_strategy_greeks_one_leg(list_greeks, ((K, R, T1, T2, Vol),(K, R, cls.__oneDay, T2-T1+cls.__oneDay, Vol)), list_title,K)
| 46.849057 | 210 | 0.564582 | 2,744 | 17,381 | 3.401968 | 0.03535 | 0.038993 | 0.091055 | 0.044992 | 0.811141 | 0.787145 | 0.76015 | 0.685913 | 0.644028 | 0.576754 | 0 | 0.022635 | 0.262873 | 17,381 | 370 | 211 | 46.975676 | 0.705979 | 0.046315 | 0 | 0.413793 | 0 | 0 | 0.033624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227586 | false | 0 | 0.010345 | 0.127586 | 0.506897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b0d1900eda941ab3792629dcb955a38a809ed2de | 3,413 | py | Python | src/encoded/tests/test_types_file.py | procha2/regulome-encoded | 327a097ebb539d1b4770145a598de08b579234f9 | [
"MIT"
] | null | null | null | src/encoded/tests/test_types_file.py | procha2/regulome-encoded | 327a097ebb539d1b4770145a598de08b579234f9 | [
"MIT"
] | 38 | 2019-03-22T14:11:51.000Z | 2022-03-30T23:56:09.000Z | src/encoded/tests/test_types_file.py | procha2/regulome-encoded | 327a097ebb539d1b4770145a598de08b579234f9 | [
"MIT"
] | 2 | 2020-10-01T11:48:07.000Z | 2021-02-23T06:33:15.000Z | import pytest
from encoded.types.file import File
from moto import (
mock_sts,
mock_s3
)
@pytest.fixture
def file_with_external_sheet(file, root):
file_item = root.get_by_uuid(file['uuid'])
properties = file_item.upgrade_properties()
file_item.update(
properties,
sheets={
'external': {
'service': 's3',
'key': 'xyz.bed',
'bucket': 'test_file_bucket',
}
}
)
return file
@mock_sts
@mock_s3
@pytest.mark.parametrize("file_status", [
status
for status in File.public_s3_statuses
])
def test_public_file_has_cloud_metadata(testapp, file_with_external_sheet, file_status):
testapp.patch_json(file_with_external_sheet['@id'], {'status': file_status})
res = testapp.get(file_with_external_sheet['@id'])
assert 'cloud_metadata' in res.json
cm = res.json['cloud_metadata']
assert 'test_file_bucket' in cm['url']
assert 'xyz.bed' in cm['url']
assert cm['md5sum_base64'] == '1B2M2Y8AsgTpgAmY7PhCfg=='
assert cm['file_size'] == 34
def test_public_restricted_file_does_not_have_cloud_metadata(testapp, file_with_external_sheet):
testapp.patch_json(
file_with_external_sheet['@id'],
{
'status': 'released',
'restricted': True
}
)
res = testapp.get(file_with_external_sheet['@id'])
assert 'cloud_metadata' not in res.json
@pytest.mark.parametrize("file_status", [
status
for status in File.private_s3_statuses
if status != 'replaced'
])
def test_private_file_does_not_have_cloud_metadata(testapp, file_with_external_sheet, file_status):
testapp.patch_json(file_with_external_sheet['@id'], {'status': file_status})
res = testapp.get(file_with_external_sheet['@id'])
assert 'cloud_metadata' not in res.json
def test_public_file_with_no_external_sheet_no_cloud_metadata(testapp, file):
testapp.patch_json(file['@id'], {'status': 'released'})
res = testapp.get(file['@id'])
assert 'cloud_metadata' not in res.json
@pytest.mark.parametrize("file_status", [
status
for status in File.public_s3_statuses
])
def test_public_file_has_s3_uri(testapp, file_with_external_sheet, file_status):
testapp.patch_json(file_with_external_sheet['@id'], {'status': file_status})
res = testapp.get(file_with_external_sheet['@id'])
assert 's3_uri' in res.json
assert res.json['s3_uri'] == 's3://test_file_bucket/xyz.bed'
@pytest.mark.parametrize("file_status", [
status
for status in File.private_s3_statuses
if status != 'replaced'
])
def test_private_file_does_not_have_s3_uri(testapp, file_with_external_sheet, file_status):
testapp.patch_json(file_with_external_sheet['@id'], {'status': file_status})
res = testapp.get(file_with_external_sheet['@id'])
assert 's3_uri' not in res.json
def test_public_file_no_external_sheet_no_s3_uri(testapp, file):
testapp.patch_json(file['@id'], {'status': 'released'})
res = testapp.get(file['@id'])
assert 's3_uri' not in res.json
def test_public_restricted_file_does_not_have_s3_uri(testapp, file_with_external_sheet):
testapp.patch_json(
file_with_external_sheet['@id'],
{
'status': 'released',
'restricted': True,
}
)
res = testapp.get(file_with_external_sheet['@id'])
assert 's3_uri' not in res.json
| 31.027273 | 99 | 0.691181 | 464 | 3,413 | 4.717672 | 0.140086 | 0.124714 | 0.138876 | 0.182275 | 0.788945 | 0.762905 | 0.762905 | 0.762905 | 0.738237 | 0.738237 | 0 | 0.009723 | 0.186346 | 3,413 | 109 | 100 | 31.311927 | 0.778538 | 0 | 0 | 0.483516 | 0 | 0 | 0.136244 | 0.015529 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.098901 | false | 0 | 0.032967 | 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 |
b0f11f4aa9f639bf4bc29fe5d34f6b9c6f0278e5 | 509 | py | Python | test/test_pytest.py | alexsander2902ariel/python_3_exercicio | a9a2480a7820637c9821352c58c626261074481c | [
"MIT"
] | 1 | 2022-03-23T20:24:37.000Z | 2022-03-23T20:24:37.000Z | test/test_pytest.py | alexsander2902ariel/python_3_exercicio | a9a2480a7820637c9821352c58c626261074481c | [
"MIT"
] | null | null | null | test/test_pytest.py | alexsander2902ariel/python_3_exercicio | a9a2480a7820637c9821352c58c626261074481c | [
"MIT"
] | null | null | null | from main import sum_numbers_sequence
def test_check_sum_1():
assert sum_numbers_sequence([0,1,2,3,5,8]) == 19
def test_check_sum_2():
assert sum_numbers_sequence([.1,.2,.3,.4]) == 1
from main import div_numbers_sequence
def test_check_div_1():
assert div_numbers_sequence(10,5) == 2
def test_check_div_2():
assert div_numbers_sequence(.5,.1) == 5
def test_check_sum_3():
assert sum_numbers_sequence([.1,.2]) == .3
def test_check_div_3():
assert div_numbers_sequence(.3,.1) == 3 | 31.8125 | 52 | 0.715128 | 90 | 509 | 3.666667 | 0.222222 | 0.363636 | 0.218182 | 0.136364 | 0.327273 | 0.163636 | 0.163636 | 0 | 0 | 0 | 0 | 0.073563 | 0.145383 | 509 | 16 | 53 | 31.8125 | 0.685057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b000a77b0101412e1791aa30c828d71893d7ac74 | 124 | py | Python | src/__main__.py | doublechiang/qsmcmd | 63e31390de020472c6ff4284cbe2d2c5147cb13d | [
"MIT"
] | 1 | 2021-05-07T09:57:01.000Z | 2021-05-07T09:57:01.000Z | src/__main__.py | doublechiang/qsmcmd | 63e31390de020472c6ff4284cbe2d2c5147cb13d | [
"MIT"
] | 30 | 2017-08-24T21:21:03.000Z | 2021-01-21T19:32:36.000Z | src/__main__.py | doublechiang/qsmcmd | 63e31390de020472c6ff4284cbe2d2c5147cb13d | [
"MIT"
] | null | null | null | import os,sys
import logging
import qsmcli.qsmcli
logging.basicConfig(level=logging.WARNING)
qsmcli.qsmcli.Qsmcli().run()
| 15.5 | 42 | 0.806452 | 17 | 124 | 5.882353 | 0.529412 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 124 | 7 | 43 | 17.714286 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
c6d7fb3eb3765031f31999433b5a0232bc1ed3b8 | 78 | py | Python | scripts/init/__init__.py | mathias-sm/mne-bids-pipeline | 55a8d7c7ca5a254ff7b9af84b818b164692667d5 | [
"BSD-3-Clause"
] | null | null | null | scripts/init/__init__.py | mathias-sm/mne-bids-pipeline | 55a8d7c7ca5a254ff7b9af84b818b164692667d5 | [
"BSD-3-Clause"
] | null | null | null | scripts/init/__init__.py | mathias-sm/mne-bids-pipeline | 55a8d7c7ca5a254ff7b9af84b818b164692667d5 | [
"BSD-3-Clause"
] | null | null | null | from . import _00_init_derivatives_dir
SCRIPTS = (_00_init_derivatives_dir,)
| 19.5 | 38 | 0.833333 | 11 | 78 | 5.181818 | 0.636364 | 0.210526 | 0.596491 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.102564 | 78 | 3 | 39 | 26 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c6d881e39bad2394624329a0e0f2df39e1781ee1 | 30 | py | Python | test1/login.py | luoning1206/test | 74740e00a38876af14d80669c5283f0993954d9a | [
"MIT"
] | null | null | null | test1/login.py | luoning1206/test | 74740e00a38876af14d80669c5283f0993954d9a | [
"MIT"
] | null | null | null | test1/login.py | luoning1206/test | 74740e00a38876af14d80669c5283f0993954d9a | [
"MIT"
] | null | null | null | a = 10
b = 100
c = 30
d = 40
| 5 | 7 | 0.433333 | 8 | 30 | 1.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0.433333 | 30 | 5 | 8 | 6 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
059e200d48ce3465f893a07f0a067812ebab2d7d | 33 | py | Python | api/db/__init__.py | FlipsideCrypto/flip | a0b27ec2dffbba42d3a907767bbae0fc6ec1bcbb | [
"MIT"
] | null | null | null | api/db/__init__.py | FlipsideCrypto/flip | a0b27ec2dffbba42d3a907767bbae0fc6ec1bcbb | [
"MIT"
] | null | null | null | api/db/__init__.py | FlipsideCrypto/flip | a0b27ec2dffbba42d3a907767bbae0fc6ec1bcbb | [
"MIT"
] | 1 | 2022-02-02T10:23:21.000Z | 2022-02-02T10:23:21.000Z | from .session import SessionLocal | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
05a1578a73c7349ca1fc8647a1564524e8d96d3b | 33 | py | Python | coursescheduler/util/__init__.py | zHxng/ClassScheduler | 2f6f0b40811af05ebd2a3fc5038864de4ba96509 | [
"MIT"
] | 1 | 2019-01-19T05:14:08.000Z | 2019-01-19T05:14:08.000Z | coursescheduler/util/__init__.py | zHxng/CourseScheduler | 2f6f0b40811af05ebd2a3fc5038864de4ba96509 | [
"MIT"
] | null | null | null | coursescheduler/util/__init__.py | zHxng/CourseScheduler | 2f6f0b40811af05ebd2a3fc5038864de4ba96509 | [
"MIT"
] | null | null | null | from .structures import uwcourse
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
05a771f4a979f96a42b17ab9fd79a00b99999963 | 33,467 | py | Python | pdf417dict.py | Hassoo7/pdf417-decoder | 907bc367e9803a4a6406e3c4cbcf9456134172a8 | [
"MIT"
] | 36 | 2015-01-29T02:43:56.000Z | 2022-01-27T20:50:47.000Z | pdf417dict.py | Hassoo7/pdf417-decoder | 907bc367e9803a4a6406e3c4cbcf9456134172a8 | [
"MIT"
] | 5 | 2017-02-22T01:59:45.000Z | 2020-08-06T16:33:13.000Z | pdf417dict.py | Hassoo7/pdf417-decoder | 907bc367e9803a4a6406e3c4cbcf9456134172a8 | [
"MIT"
] | 18 | 2017-09-14T07:16:37.000Z | 2021-05-01T10:27:15.000Z | codewords_tbl = [['31111136', '41111144', '51111152', '31111235', '41111243', '51111251', '21111326', '31111334', '21111425', '11111516', '21111524', '11111615', '21112136', '31112144', '41112152', '21112235', '31112243', '41112251', '11112326', '21112334', '11112425', '11113136', '21113144', '31113152', '11113235', '21113243', '31113251', '11113334', '21113342', '11114144', '21114152', '11114243', '21114251', '11115152', '51116111', '31121135', '41121143', '51121151', '21121226', '31121234', '41121242', '21121325', '31121333', '11121416', '21121424', '31121432', '11121515', '21121523', '11121614', '21122135', '31122143', '41122151', '11122226', '21122234', '31122242', '11122325', '21122333', '31122341', '11122424', '21122432', '11123135', '21123143', '31123151', '11123234', '21123242', '11123333', '21123341', '11124143', '21124151', '11124242', '11124341', '21131126', '31131134', '41131142', '21131225', '31131233', '41131241', '11131316', '21131324', '31131332', '11131415', '21131423', '11131514', '11131613', '11132126', '21132134', '31132142', '11132225', '21132233', '31132241', '11132324', '21132332', '11132423', '11132522', '11133134', '21133142', '11133233', '21133241', '11133332', '11134142', '21141125', '31141133', '41141141', '11141216', '21141224', '31141232', '11141315', '21141323', '31141331', '11141414', '21141422', '11141513', '21141521', '11142125', '21142133', '31142141', '11142224', '21142232', '11142323', '21142331', '11142422', '11142521', '21143141', '11143331', '11151116', '21151124', '31151132', '11151215', '21151223', '31151231', '11151314', '21151322', '11151413', '21151421', '11151512', '11152124', '11152223', '11152322', '11161115', '31161131', '21161222', '21161321', '11161511', '32111135', '42111143', '52111151', '22111226', '32111234', '42111242', '22111325', '32111333', '42111341', '12111416', '22111424', '12111515', '22112135', '32112143', '42112151', '12112226', '22112234', '32112242', '12112325', '22112333', '12112424', '12112523', '12113135', '22113143', '32113151', '12113234', '22113242', '12113333', '12113432', '12114143', '22114151', '12114242', '12115151', '31211126', '41211134', '51211142', '31211225', '41211233', '51211241', '21211316', '31211324', '41211332', '21211415', '31211423', '41211431', '21211514', '31211522', '22121126', '32121134', '42121142', '21212126', '22121225', '32121233', '42121241', '21212225', '31212233', '41212241', '11212316', '12121415', '22121423', '32121431', '11212415', '21212423', '11212514', '12122126', '22122134', '32122142', '11213126', '12122225', '22122233', '32122241', '11213225', '21213233', '31213241', '11213324', '12122423', '11213423', '12123134', '22123142', '11214134', '12123233', '22123241', '11214233', '21214241', '11214332', '12124142', '11215142', '12124241', '11215241', '31221125', '41221133', '51221141', '21221216', '31221224', '41221232', '21221315', '31221323', '41221331', '21221414', '31221422', '21221513', '21221612', '22131125', '32131133', '42131141', '21222125', '22131224', '32131232', '11222216', '12131315', '31222232', '32131331', '11222315', '12131414', '22131422', '11222414', '21222422', '22131521', '12131612', '12132125', '22132133', '32132141', '11223125', '12132224', '22132232', '11223224', '21223232', '22132331', '11223323', '12132422', '12132521', '12133133', '22133141', '11224133', '12133232', '11224232', '12133331', '11224331', '11225141', '21231116', '31231124', '41231132', '21231215', '31231223', '41231231', '21231314', '31231322', '21231413', '31231421', '21231512', '21231611', '12141116', '22141124', '32141132', '11232116', '12141215', '22141223', '32141231', '11232215', '21232223', '31232231', '11232314', '12141413', '22141421', '11232413', '21232421', '11232512', '12142124', '22142132', '11233124', '12142223', '22142231', '11233223', '21233231', '11233322', '12142421', '11233421', '11234132', '11234231', '21241115', '31241123', '41241131', '21241214', '31241222', '21241313', '31241321', '21241412', '21241511', '12151115', '22151123', '32151131', '11242115', '12151214', '22151222', '11242214', '21242222', '22151321', '11242313', '12151412', '11242412', '12151511', '12152123', '11243123', '11243222', '11243321', '31251122', '31251221', '21251411', '22161122', '12161213', '11252213', '11252312', '11252411', '23111126', '33111134', '43111142', '23111225', '33111233', '13111316', '23111324', '33111332', '13111415', '23111423', '13111514', '13111613', '13112126', '23112134', '33112142', '13112225', '23112233', '33112241', '13112324', '23112332', '13112423', '13112522', '13113134', '23113142', '13113233', '23113241', '13113332', '13114142', '13114241', '32211125', '42211133', '52211141', '22211216', '32211224', '42211232', '22211315', '32211323', '42211331', '22211414', '32211422', '22211513', '32211521', '23121125', '33121133', '43121141', '22212125', '23121224', '33121232', '12212216', '13121315', '32212232', '33121331', '12212315', '22212323', '23121422', '12212414', '13121513', '12212513', '13122125', '23122133', '33122141', '12213125', '13122224', '32213141', '12213224', '22213232', '23122331', '12213323', '13122422', '12213422', '13123133', '23123141', '12214133', '13123232', '12214232', '13123331', '13124141', '12215141', '31311116', '41311124', '51311132', '31311215', '41311223', '51311231', '31311314', '41311322', '31311413', '41311421', '31311512', '22221116', '32221124', '42221132', '21312116', '22221215', '41312132', '42221231', '21312215', '31312223', '41312231', '21312314', '22221413', '32221421', '21312413', '31312421', '22221611', '13131116', '23131124', '33131132', '12222116', '13131215', '23131223', '33131231', '11313116', '12222215', '22222223', '32222231', '11313215', '21313223', '31313231', '23131421', '11313314', '12222413', '22222421', '11313413', '13131611', '13132124', '23132132', '12223124', '13132223', '23132231', '11314124', '12223223', '22223231', '11314223', '21314231', '13132421', '12223421', '13133132', '12224132', '13133231', '11315132', '12224231', '31321115', '41321123', '51321131', '31321214', '41321222', '31321313', '41321321', '31321412', '31321511', '22231115', '32231123', '42231131', '21322115', '22231214', '41322131', '21322214', '31322222', '32231321', '21322313', '22231412', '21322412', '22231511', '21322511', '13141115', '23141123', '33141131', '12232115', '13141214', '23141222', '11323115', '12232214', '22232222', '23141321', '11323214', '21323222', '13141412', '11323313', '12232412', '13141511', '12232511', '13142123', '23142131', '12233123', '13142222', '11324123', '12233222', '13142321', '11324222', '12233321', '13143131', '11325131', '31331114', '41331122', '31331213', '41331221', '31331312', '31331411', '22241114', '32241122', '21332114', '22241213', '32241221', '21332213', '31332221', '21332312', '22241411', '21332411', '13151114', '23151122', '12242114', '13151213', '23151221', '11333114', '12242213', '22242221', '11333213', '21333221', '13151411', '11333312', '12242411', '11333411', '12243122', '11334122', '11334221', '41341121', '31341311', '32251121', '22251212', '22251311', '13161113', '12252113', '11343113', '13161311', '12252311', '24111125', '14111216', '24111224', '14111315', '24111323', '34111331', '14111414', '24111422', '14111513', '24111521', '14112125', '24112133', '34112141', '14112224', '24112232', '14112323', '24112331', '14112422', '14112521', '14113133', '24113141', '14113232', '14113331', '14114141', '23211116', '33211124', '43211132', '23211215', '33211223', '23211314', '33211322', '23211413', '33211421', '23211512', '14121116', '24121124', '34121132', '13212116', '14121215', '33212132', '34121231', '13212215', '23212223', '33212231', '13212314', '14121413', '24121421', '13212413', '23212421', '14121611', '14122124', '24122132', '13213124', '14122223', '24122231', '13213223', '23213231', '13213322', '14122421', '14123132', '13214132', '14123231', '13214231', '32311115', '42311123', '52311131', '32311214', '42311222', '32311313', '42311321', '32311412', '32311511', '23221115', '33221123', '22312115', '23221214', '33221222', '22312214', '32312222', '33221321', '22312313', '23221412', '22312412', '23221511', '22312511', '14131115', '24131123', '13222115', '14131214', '33222131', '12313115', '13222214', '23222222', '24131321', '12313214', '22313222', '14131412', '12313313', '13222412', '14131511', '13222511', '14132123', '24132131', '13223123', '14132222', '12314123', '13223222', '14132321', '12314222', '13223321', '14133131', '13224131', '12315131', '41411114', '51411122', '41411213', '51411221', '41411312', '41411411', '32321114', '42321122', '31412114', '41412122', '42321221', '31412213', '41412221', '31412312', '32321411', '31412411', '23231114', '33231122', '22322114', '23231213', '33231221', '21413114', '22322213', '32322221', '21413213', '31413221', '23231411', '21413312', '22322411', '21413411', '14141114', '24141122', '13232114', '14141213', '24141221', '12323114', '13232213', '23232221', '11414114', '12323213', '22323221', '14141411', '11414213', '21414221', '13232411', '11414312', '14142122', '13233122', '14142221', '12324122', '13233221', '11415122', '12324221', '11415221', '41421113', '51421121', '41421212', '41421311', '32331113', '42331121', '31422113', '41422121', '31422212', '32331311', '31422311', '23241113', '33241121', '22332113', '23241212', '21423113', '22332212', '23241311', '21423212', '22332311', '21423311', '14151113', '24151121', '13242113', '23242121', '12333113', '13242212', '14151311', '11424113', '12333212', '13242311', '11424212', '12333311', '11424311', '13243121', '11425121', '41431211', '31432112', '31432211', '22342112', '21433112', '21433211', '13252112', '12343112', '11434112', '11434211', '15111116', '15111215', '25111223', '15111314', '15111413', '15111512', '15112124', '15112223', '15112322', '15112421', '15113132', '15113231', '24211115', '24211214', '34211222', '24211313', '34211321', '24211412', '24211511', '15121115', '25121123', '14212115', '24212123', '25121222', '14212214', '24212222', '14212313', '24212321', '14212412', '15121511', '14212511', '15122123', '25122131', '14213123', '24213131', '14213222', '15122321', '14213321', '15123131', '14214131', '33311114', '33311213', '33311312', '33311411', '24221114', '23312114', '33312122', '34221221', '23312213', '33312221', '23312312', '24221411', '23312411', '15131114', '14222114', '15131213', '25131221', '13313114', '14222213', '15131312', '13313213', '14222312', '15131411', '13313312', '14222411', '15132122', '14223122', '15132221', '13314122', '14223221', '13314221', '42411113', '42411212', '42411311', '33321113', '32412113', '42412121', '32412212', '33321311', '32412311', '24231113', '34231121', '23322113', '33322121', '22413113', '23322212', '24231311', '22413212', '23322311', '22413311', '15141113', '25141121', '14232113', '24232121', '13323113', '14232212', '15141311', '12414113', '13323212', '14232311', '12414212', '13323311', '15142121', '14233121', '13324121', '12415121', '51511112', '51511211', '42421112', '41512112', '42421211', '41512211', '33331112', '32422112', '33331211', '31513112', '32422211', '31513211', '24241112', '23332112', '24241211', '22423112', '23332211', '21514112'], ['51111125', '61111133', '41111216', '51111224', '61111232', '41111315', '51111323', '61111331', '41111414', '51111422', '41111513', '51111521', '41111612', '41112125', '51112133', '61112141', '31112216', '41112224', '51112232', '31112315', '41112323', '51112331', '31112414', '41112422', '31112513', '41112521', '31112612', '31113125', '41113133', '51113141', '21113216', '31113224', '41113232', '21113315', '31113323', '41113331', '21113414', '31113422', '21113513', '31113521', '21113612', '21114125', '31114133', '41114141', '11114216', '21114224', '31114232', '11114315', '21114323', '31114331', '11114414', '21114422', '11114513', '21114521', '11115125', '21115133', '31115141', '11115224', '21115232', '11115323', '21115331', '11115422', '11116133', '21116141', '11116232', '11116331', '41121116', '51121124', '61121132', '41121215', '51121223', '61121231', '41121314', '51121322', '41121413', '51121421', '41121512', '41121611', '31122116', '41122124', '51122132', '31122215', '41122223', '51122231', '31122314', '41122322', '31122413', '41122421', '31122512', '31122611', '21123116', '31123124', '41123132', '21123215', '31123223', '41123231', '21123314', '31123322', '21123413', '31123421', '21123512', '21123611', '11124116', '21124124', '31124132', '11124215', '21124223', '31124231', '11124314', '21124322', '11124413', '21124421', '11124512', '11125124', '21125132', '11125223', '21125231', '11125322', '11125421', '11126132', '11126231', '41131115', '51131123', '61131131', '41131214', '51131222', '41131313', '51131321', '41131412', '41131511', '31132115', '41132123', '51132131', '31132214', '41132222', '31132313', '41132321', '31132412', '31132511', '21133115', '31133123', '41133131', '21133214', '31133222', '21133313', '31133321', '21133412', '21133511', '11134115', '21134123', '31134131', '11134214', '21134222', '11134313', '21134321', '11134412', '11134511', '11135123', '21135131', '11135222', '11135321', '11136131', '41141114', '51141122', '41141213', '51141221', '41141312', '41141411', '31142114', '41142122', '31142213', '41142221', '31142312', '31142411', '21143114', '31143122', '21143213', '31143221', '21143312', '21143411', '11144114', '21144122', '11144213', '21144221', '11144312', '11144411', '11145122', '11145221', '41151113', '51151121', '41151212', '41151311', '31152113', '41152121', '31152212', '31152311', '21153113', '31153121', '21153212', '21153311', '11154113', '21154121', '11154212', '11154311', '41161112', '41161211', '31162112', '31162211', '21163112', '21163211', '42111116', '52111124', '62111132', '42111215', '52111223', '62111231', '42111314', '52111322', '42111413', '52111421', '42111512', '42111611', '32112116', '42112124', '52112132', '32112215', '42112223', '52112231', '32112314', '42112322', '32112413', '42112421', '32112512', '32112611', '22113116', '32113124', '42113132', '22113215', '32113223', '42113231', '22113314', '32113322', '22113413', '32113421', '22113512', '22113611', '12114116', '22114124', '32114132', '12114215', '22114223', '32114231', '12114314', '22114322', '12114413', '22114421', '12114512', '12115124', '22115132', '12115223', '22115231', '12115322', '12115421', '12116132', '12116231', '51211115', '61211123', '11211164', '51211214', '61211222', '11211263', '51211313', '61211321', '11211362', '51211412', '51211511', '42121115', '52121123', '62121131', '41212115', '42121214', '61212131', '41212214', '51212222', '52121321', '41212313', '42121412', '41212412', '42121511', '41212511', '32122115', '42122123', '52122131', '31213115', '32122214', '42122222', '31213214', '41213222', '42122321', '31213313', '32122412', '31213412', '32122511', '31213511', '22123115', '32123123', '42123131', '21214115', '22123214', '32123222', '21214214', '31214222', '32123321', '21214313', '22123412', '21214412', '22123511', '21214511', '12124115', '22124123', '32124131', '11215115', '12124214', '22124222', '11215214', '21215222', '22124321', '11215313', '12124412', '11215412', '12124511', '12125123', '22125131', '11216123', '12125222', '11216222', '12125321', '11216321', '12126131', '51221114', '61221122', '11221163', '51221213', '61221221', '11221262', '51221312', '11221361', '51221411', '42131114', '52131122', '41222114', '42131213', '52131221', '41222213', '51222221', '41222312', '42131411', '41222411', '32132114', '42132122', '31223114', '32132213', '42132221', '31223213', '41223221', '31223312', '32132411', '31223411', '22133114', '32133122', '21224114', '22133213', '32133221', '21224213', '31224221', '21224312', '22133411', '21224411', '12134114', '22134122', '11225114', '12134213', '22134221', '11225213', '21225221', '11225312', '12134411', '11225411', '12135122', '11226122', '12135221', '11226221', '51231113', '61231121', '11231162', '51231212', '11231261', '51231311', '42141113', '52141121', '41232113', '51232121', '41232212', '42141311', '41232311', '32142113', '42142121', '31233113', '32142212', '31233212', '32142311', '31233311', '22143113', '32143121', '21234113', '31234121', '21234212', '22143311', '21234311', '12144113', '22144121', '11235113', '12144212', '11235212', '12144311', '11235311', '12145121', '11236121', '51241112', '11241161', '51241211', '42151112', '41242112', '42151211', '41242211', '32152112', '31243112', '32152211', '31243211', '22153112', '21244112', '22153211', '21244211', '12154112', '11245112', '12154211', '11245211', '51251111', '42161111', '41252111', '32162111', '31253111', '22163111', '21254111', '43111115', '53111123', '63111131', '43111214', '53111222', '43111313', '53111321', '43111412', '43111511', '33112115', '43112123', '53112131', '33112214', '43112222', '33112313', '43112321', '33112412', '33112511', '23113115', '33113123', '43113131', '23113214', '33113222', '23113313', '33113321', '23113412', '23113511', '13114115', '23114123', '33114131', '13114214', '23114222', '13114313', '23114321', '13114412', '13114511', '13115123', '23115131', '13115222', '13115321', '13116131', '52211114', '62211122', '12211163', '52211213', '62211221', '12211262', '52211312', '12211361', '52211411', '43121114', '53121122', '42212114', '43121213', '53121221', '42212213', '52212221', '42212312', '43121411', '42212411', '33122114', '43122122', '32213114', '33122213', '43122221', '32213213', '42213221', '32213312', '33122411', '32213411', '23123114', '33123122', '22214114', '23123213', '33123221', '22214213', '32214221', '22214312', '23123411', '22214411', '13124114', '23124122', '12215114', '13124213', '23124221', '12215213', '22215221', '12215312', '13124411', '12215411', '13125122', '12216122', '13125221', '12216221', '61311113', '11311154', '21311162', '61311212', '11311253', '21311261', '61311311', '11311352', '11311451', '52221113', '62221121', '12221162', '51312113', '61312121', '11312162', '12221261', '51312212', '52221311', '11312261', '51312311', '43131113', '53131121', '42222113', '43131212', '41313113', '51313121', '43131311', '41313212', '42222311', '41313311', '33132113', '43132121', '32223113', '33132212', '31314113', '32223212', '33132311', '31314212', '32223311', '31314311', '23133113', '33133121', '22224113', '23133212', '21315113', '22224212', '23133311', '21315212', '22224311', '21315311', '13134113', '23134121', '12225113', '13134212', '11316113', '12225212', '13134311', '11316212', '12225311', '11316311', '13135121', '12226121', '61321112', '11321153', '21321161', '61321211', '11321252', '11321351', '52231112', '12231161', '51322112', '52231211', '11322161', '51322211', '43141112', '42232112', '43141211', '41323112', '42232211', '41323211', '33142112', '32233112', '33142211', '31324112', '32233211', '31324211', '23143112', '22234112', '23143211', '21325112', '22234211', '21325211', '13144112', '12235112', '13144211', '11326112', '12235211', '11326211', '61331111', '11331152', '11331251', '52241111', '51332111', '43151111', '42242111', '41333111', '33152111', '32243111', '31334111', '23153111', '22244111', '21335111', '13154111', '12245111', '11336111', '11341151', '44111114', '54111122', '44111213', '54111221', '44111312', '44111411', '34112114', '44112122', '34112213', '44112221', '34112312', '34112411', '24113114', '34113122', '24113213', '34113221', '24113312', '24113411', '14114114', '24114122', '14114213', '24114221', '14114312', '14114411', '14115122', '14115221', '53211113', '63211121', '13211162', '53211212', '13211261', '53211311', '44121113', '54121121', '43212113', '44121212', '43212212', '44121311', '43212311', '34122113', '44122121', '33213113', '34122212', '33213212', '34122311', '33213311', '24123113', '34123121', '23214113', '24123212', '23214212', '24123311', '23214311', '14124113', '24124121', '13215113', '14124212', '13215212', '14124311', '13215311', '14125121', '13216121', '62311112', '12311153', '22311161', '62311211', '12311252', '12311351', '53221112', '13221161', '52312112', '53221211', '12312161', '52312211', '44131112', '43222112', '44131211', '42313112', '43222211', '42313211', '34132112', '33223112', '34132211', '32314112', '33223211', '32314211', '24133112', '23224112', '24133211', '22315112', '23224211', '22315211', '14134112', '13225112', '14134211', '12316112', '13225211', '12316211', '11411144', '21411152', '11411243', '21411251', '11411342', '11411441', '62321111', '12321152', '61412111', '11412152', '12321251', '11412251', '53231111', '52322111', '51413111', '44141111', '43232111', '42323111', '41414111', '34142111', '33233111', '32324111', '31415111', '24143111', '23234111', '22325111', '21416111', '14144111', '13235111', '12326111', '11421143', '21421151', '11421242', '11421341', '12331151', '11422151', '11431142', '11431241', '11441141', '45111113', '45111212', '45111311', '35112113', '45112121', '35112212', '35112311', '25113113', '35113121', '25113212', '25113311', '15114113', '25114121', '15114212', '15114311', '15115121', '54211112', '14211161', '54211211', '45121112', '44212112', '45121211', '44212211', '35122112', '34213112', '35122211', '34213211', '25123112', '24214112', '25123211', '24214211', '15124112', '14215112', '15124211', '14215211', '63311111', '13311152', '13311251', '54221111', '53312111', '45131111', '44222111', '43313111', '35132111', '34223111', '33314111', '25133111', '24224111', '23315111', '15134111', '14225111', '13316111', '12411143', '22411151', '12411242', '12411341', '13321151', '12412151', '11511134', '21511142', '11511233', '21511241', '11511332', '11511431', '12421142', '11512142', '12421241', '11512241', '11521133', '21521141', '11521232', '11521331', '12431141', '11522141', '11531132', '11531231', '11541131', '36112112', '36112211', '26113112', '26113211', '16114112', '16114211', '45212111', '36122111', '35213111', '26123111', '25214111', '16124111', '15215111', '14311151', '13411142', '13411241', '12511133', '22511141', '12511232', '12511331', '13421141', '12512141', '11611124', '21611132', '11611223', '21611231', '11611322', '11611421', '12521132', '11612132', '12521231', '11612231', '11621123', '21621131', '11621222', '11621321', '12531131', '11622131', '11631122', '11631221', '14411141', '13511132', '13511231', '12611123', '22611131', '12611222', '12611321', '13521131', '12612131', '12621122', '12621221'], ['21111155', '31111163', '11111246', '21111254', '31111262', '11111345', '21111353', '31111361', '11111444', '21111452', '11111543', '61112114', '11112155', '21112163', '61112213', '11112254', '21112262', '61112312', '11112353', '21112361', '61112411', '11112452', '51113114', '61113122', '11113163', '51113213', '61113221', '11113262', '51113312', '11113361', '51113411', '41114114', '51114122', '41114213', '51114221', '41114312', '41114411', '31115114', '41115122', '31115213', '41115221', '31115312', '31115411', '21116114', '31116122', '21116213', '31116221', '21116312', '11121146', '21121154', '31121162', '11121245', '21121253', '31121261', '11121344', '21121352', '11121443', '21121451', '11121542', '61122113', '11122154', '21122162', '61122212', '11122253', '21122261', '61122311', '11122352', '11122451', '51123113', '61123121', '11123162', '51123212', '11123261', '51123311', '41124113', '51124121', '41124212', '41124311', '31125113', '41125121', '31125212', '31125311', '21126113', '31126121', '21126212', '21126311', '11131145', '21131153', '31131161', '11131244', '21131252', '11131343', '21131351', '11131442', '11131541', '61132112', '11132153', '21132161', '61132211', '11132252', '11132351', '51133112', '11133161', '51133211', '41134112', '41134211', '31135112', '31135211', '21136112', '21136211', '11141144', '21141152', '11141243', '21141251', '11141342', '11141441', '61142111', '11142152', '11142251', '51143111', '41144111', '31145111', '11151143', '21151151', '11151242', '11151341', '11152151', '11161142', '11161241', '12111146', '22111154', '32111162', '12111245', '22111253', '32111261', '12111344', '22111352', '12111443', '22111451', '12111542', '62112113', '12112154', '22112162', '62112212', '12112253', '22112261', '62112311', '12112352', '12112451', '52113113', '62113121', '12113162', '52113212', '12113261', '52113311', '42114113', '52114121', '42114212', '42114311', '32115113', '42115121', '32115212', '32115311', '22116113', '32116121', '22116212', '22116311', '21211145', '31211153', '41211161', '11211236', '21211244', '31211252', '11211335', '21211343', '31211351', '11211434', '21211442', '11211533', '21211541', '11211632', '12121145', '22121153', '32121161', '11212145', '12121244', '22121252', '11212244', '21212252', '22121351', '11212343', '12121442', '11212442', '12121541', '11212541', '62122112', '12122153', '22122161', '61213112', '62122211', '11213153', '12122252', '61213211', '11213252', '12122351', '11213351', '52123112', '12123161', '51214112', '52123211', '11214161', '51214211', '42124112', '41215112', '42124211', '41215211', '32125112', '31216112', '32125211', '31216211', '22126112', '22126211', '11221136', '21221144', '31221152', '11221235', '21221243', '31221251', '11221334', '21221342', '11221433', '21221441', '11221532', '11221631', '12131144', '22131152', '11222144', '12131243', '22131251', '11222243', '21222251', '11222342', '12131441', '11222441', '62132111', '12132152', '61223111', '11223152', '12132251', '11223251', '52133111', '51224111', '42134111', '41225111', '32135111', '31226111', '22136111', '11231135', '21231143', '31231151', '11231234', '21231242', '11231333', '21231341', '11231432', '11231531', '12141143', '22141151', '11232143', '12141242', '11232242', '12141341', '11232341', '12142151', '11233151', '11241134', '21241142', '11241233', '21241241', '11241332', '11241431', '12151142', '11242142', '12151241', '11242241', '11251133', '21251141', '11251232', '11251331', '12161141', '11252141', '11261132', '11261231', '13111145', '23111153', '33111161', '13111244', '23111252', '13111343', '23111351', '13111442', '13111541', '63112112', '13112153', '23112161', '63112211', '13112252', '13112351', '53113112', '13113161', '53113211', '43114112', '43114211', '33115112', '33115211', '23116112', '23116211', '12211136', '22211144', '32211152', '12211235', '22211243', '32211251', '12211334', '22211342', '12211433', '22211441', '12211532', '12211631', '13121144', '23121152', '12212144', '13121243', '23121251', '12212243', '22212251', '12212342', '13121441', '12212441', '63122111', '13122152', '62213111', '12213152', '13122251', '12213251', '53123111', '52214111', '43124111', '42215111', '33125111', '32216111', '23126111', '21311135', '31311143', '41311151', '11311226', '21311234', '31311242', '11311325', '21311333', '31311341', '11311424', '21311432', '11311523', '21311531', '11311622', '12221135', '22221143', '32221151', '11312135', '12221234', '22221242', '11312234', '21312242', '22221341', '11312333', '12221432', '11312432', '12221531', '11312531', '13131143', '23131151', '12222143', '13131242', '11313143', '12222242', '13131341', '11313242', '12222341', '11313341', '13132151', '12223151', '11314151', '11321126', '21321134', '31321142', '11321225', '21321233', '31321241', '11321324', '21321332', '11321423', '21321431', '11321522', '11321621', '12231134', '22231142', '11322134', '12231233', '22231241', '11322233', '21322241', '11322332', '12231431', '11322431', '13141142', '12232142', '13141241', '11323142', '12232241', '11323241', '11331125', '21331133', '31331141', '11331224', '21331232', '11331323', '21331331', '11331422', '11331521', '12241133', '22241141', '11332133', '12241232', '11332232', '12241331', '11332331', '13151141', '12242141', '11333141', '11341124', '21341132', '11341223', '21341231', '11341322', '11341421', '12251132', '11342132', '12251231', '11342231', '11351123', '21351131', '11351222', '11351321', '12261131', '11352131', '11361122', '11361221', '14111144', '24111152', '14111243', '24111251', '14111342', '14111441', '14112152', '14112251', '54113111', '44114111', '34115111', '24116111', '13211135', '23211143', '33211151', '13211234', '23211242', '13211333', '23211341', '13211432', '13211531', '14121143', '24121151', '13212143', '14121242', '13212242', '14121341', '13212341', '14122151', '13213151', '12311126', '22311134', '32311142', '12311225', '22311233', '32311241', '12311324', '22311332', '12311423', '22311431', '12311522', '12311621', '13221134', '23221142', '12312134', '13221233', '23221241', '12312233', '13221332', '12312332', '13221431', '12312431', '14131142', '13222142', '14131241', '12313142', '13222241', '12313241', '21411125', '31411133', '41411141', '11411216', '21411224', '31411232', '11411315', '21411323', '31411331', '11411414', '21411422', '11411513', '21411521', '11411612', '12321125', '22321133', '32321141', '11412125', '12321224', '22321232', '11412224', '21412232', '22321331', '11412323', '12321422', '11412422', '12321521', '11412521', '13231133', '23231141', '12322133', '13231232', '11413133', '12322232', '13231331', '11413232', '12322331', '11413331', '14141141', '13232141', '12323141', '11414141', '11421116', '21421124', '31421132', '11421215', '21421223', '31421231', '11421314', '21421322', '11421413', '21421421', '11421512', '11421611', '12331124', '22331132', '11422124', '12331223', '22331231', '11422223', '21422231', '11422322', '12331421', '11422421', '13241132', '12332132', '13241231', '11423132', '12332231', '11423231', '11431115', '21431123', '31431131', '11431214', '21431222', '11431313', '21431321', '11431412', '11431511', '12341123', '22341131', '11432123', '12341222', '11432222', '12341321', '11432321', '13251131', '12342131', '11433131', '11441114', '21441122', '11441213', '21441221', '11441312', '11441411', '12351122', '11442122', '12351221', '11442221', '11451113', '21451121', '11451212', '11451311', '12361121', '11452121', '15111143', '25111151', '15111242', '15111341', '15112151', '14211134', '24211142', '14211233', '24211241', '14211332', '14211431', '15121142', '14212142', '15121241', '14212241', '13311125', '23311133', '33311141', '13311224', '23311232', '13311323', '23311331', '13311422', '13311521', '14221133', '24221141', '13312133', '14221232', '13312232', '14221331', '13312331', '15131141', '14222141', '13313141', '12411116', '22411124', '32411132', '12411215', '22411223', '32411231', '12411314', '22411322', '12411413', '22411421', '12411512', '12411611', '13321124', '23321132', '12412124', '13321223', '23321231', '12412223', '22412231', '12412322', '13321421', '12412421', '14231132', '13322132', '14231231', '12413132', '13322231', '12413231', '21511115', '31511123', '41511131', '21511214', '31511222', '21511313', '31511321', '21511412', '21511511', '12421115', '22421123', '32421131', '11512115', '12421214', '22421222', '11512214', '21512222', '22421321', '11512313', '12421412', '11512412', '12421511', '11512511', '13331123', '23331131', '12422123', '13331222', '11513123', '12422222', '13331321', '11513222', '12422321', '11513321', '14241131', '13332131', '12423131', '11514131', '21521114', '31521122', '21521213', '31521221', '21521312', '21521411', '12431114', '22431122', '11522114', '12431213', '22431221', '11522213', '21522221', '11522312', '12431411', '11522411', '13341122', '12432122', '13341221', '11523122', '12432221', '11523221', '21531113', '31531121', '21531212', '21531311', '12441113', '22441121', '11532113', '12441212', '11532212', '12441311', '11532311', '13351121', '12442121', '11533121', '21541112', '21541211', '12451112', '11542112', '12451211', '11542211', '16111142', '16111241', '15211133', '25211141', '15211232', '15211331', '16121141', '15212141', '14311124', '24311132', '14311223', '24311231', '14311322', '14311421', '15221132', '14312132', '15221231', '14312231', '13411115', '23411123', '33411131', '13411214', '23411222', '13411313', '23411321', '13411412', '13411511', '14321123', '24321131', '13412123', '23412131', '13412222', '14321321', '13412321', '15231131', '14322131', '13413131', '22511114', '32511122', '22511213', '32511221', '22511312', '22511411', '13421114', '23421122', '12512114', '22512122', '23421221', '12512213', '13421312', '12512312', '13421411', '12512411', '14331122', '13422122', '14331221', '12513122', '13422221', '12513221', '31611113', '41611121', '31611212', '31611311', '22521113', '32521121', '21612113', '22521212', '21612212', '22521311', '21612311', '13431113', '23431121', '12522113', '13431212', '11613113', '12522212', '13431311', '11613212', '12522311', '11613311', '14341121', '13432121', '12523121', '11614121', '31621112', '31621211', '22531112', '21622112', '22531211', '21622211', '13441112', '12532112', '13441211', '11623112', '12532211', '11623211', '31631111', '22541111', '21632111', '13451111', '12542111', '11633111', '16211132', '16211231', '15311123', '25311131', '15311222', '15311321', '16221131', '15312131', '14411114', '24411122', '14411213', '24411221', '14411312', '14411411', '15321122', '14412122', '15321221', '14412221', '23511113', '33511121', '23511212', '23511311', '14421113', '24421121', '13512113', '23512121', '13512212', '14421311', '13512311', '15331121', '14422121', '13513121', '32611112', '32611211', '23521112', '22612112', '23521211', '22612211', '14431112', '13522112', '14431211', '12613112', '13522211', '12613211', '32621111', '23531111', '22622111', '14441111', '13532111', '12623111', '16311122', '16311221', '15411113', '25411121', '15411212', '15411311', '16321121', '15412121', '24511112', '24511211', '15421112', '14512112', '15421211', '14512211', '33611111']]
| 16,733.5 | 33,466 | 0.666597 | 2,789 | 33,467 | 7.998566 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.726775 | 0.083336 | 33,467 | 1 | 33,467 | 33,467 | 0.000391 | 0 | 0 | 0 | 0 | 0 | 0.666209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05ffbc785c30ce2323262a0640e6817cc874bb96 | 5,839 | py | Python | indy_node/test/rs_schema/test_rs_send_schema.py | eric-erki/indy-node | 7313dd4f948b059b01f992548bf253bde646b432 | [
"Apache-2.0"
] | null | null | null | indy_node/test/rs_schema/test_rs_send_schema.py | eric-erki/indy-node | 7313dd4f948b059b01f992548bf253bde646b432 | [
"Apache-2.0"
] | null | null | null | indy_node/test/rs_schema/test_rs_send_schema.py | eric-erki/indy-node | 7313dd4f948b059b01f992548bf253bde646b432 | [
"Apache-2.0"
] | null | null | null | import json
import pytest
from indy_common.authorize.auth_constraints import AuthConstraintForbidden
from indy_common.types import SetRsSchemaDataField
from indy_node.test.api.helper import sdk_write_rs_schema_and_check, build_rs_schema_request
from indy_node.test.rs_schema.templates import TEST_1
from plenum.common.exceptions import RequestRejectedException
from indy_node.test.api.helper import req_id
_reqId = req_id()
def test_send_rs_schema_multiple_attrib(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.1", "8"
_id = identifier + ':' + type + ':' + name + ':' + version
schema = TEST_1
schema['@id'] = _id
request_json = build_rs_schema_request(identifier, schema, name, version)
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
def test_send_rs_schema_one_attrib(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.2", "8"
_id = identifier + ':' + type + ':' + name + ':' + version
schema = {'@id': _id,
'@type': "0od"}
request_json = build_rs_schema_request(identifier, schema, name, version)
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
def test_can_not_send_same_rs_schema(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.3", "8"
_id = identifier + ':' + type + ':' + name + ':' + version
schema = {'@id': _id,
'@type': "0od"}
request_json = build_rs_schema_request(identifier, schema, name, version)
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
with pytest.raises(RequestRejectedException,
match=str(AuthConstraintForbidden())):
request_json = build_rs_schema_request(identifier, schema, name, version)
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
def test_can_not_send_rs_schema_missing_id(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.3", "8"
# _id = identifier + ':' + type + ':' + name + ':' + version
schema = {'@type': "0od"}
request_json = build_rs_schema_request(identifier, schema, name, version)
with pytest.raises(Exception) as ex_info:
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
ex_info.match(
"validation error"
)
def test_can_not_send_rs_schema_missing_type(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.3", "8"
_id = identifier + ':' + type + ':' + name + ':' + version
schema = {'@id': _id}
request_json = build_rs_schema_request(identifier, schema, name, version)
with pytest.raises(Exception) as ex_info:
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
ex_info.match(
"validation error"
)
def test_can_not_send_rs_schema_missing_meta_type(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.3", "8"
_id = identifier + ':' + type + ':' + name + ':' + version
schema = {'@id': _id}
txn_dict = {
'operation': {
'type': "201",
'meta': {
#'type': "sch",
'name': name,
'version': version
},
'data': {
'schema': schema
}
},
"identifier": identifier,
"reqId": next(_reqId),
"protocolVersion": 2
}
request_json = json.dumps(txn_dict)
with pytest.raises(Exception) as ex_info:
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
ex_info.match("validation error")
def test_can_not_send_rs_schema_invalid_meta_type(looper, sdk_pool_handle, sdk_wallet_endorser):
_, identifier = sdk_wallet_endorser
authors_did, name, version, type = identifier, "ISO18023_Drivers_License", "1.3", "8"
_id = identifier + ':' + type + ':' + name + ':' + version
schema = {'@id': _id}
txn_dict = {
'operation': {
'type': "201",
'meta': {
'type': "Allen",
'name': name,
'version': version
},
'data': {
'schema': schema
}
},
"identifier": identifier,
"reqId": next(_reqId),
"protocolVersion": 2
}
request_json = json.dumps(txn_dict)
with pytest.raises(Exception) as ex_info:
sdk_write_rs_schema_and_check(looper, sdk_pool_handle, sdk_wallet_endorser, request_json)
ex_info.match(
"validation error"
)
def test_rs_schema_over_maximum_size():
attribs = {}
for i in range(131072 + 1):
attribs['attrib' + str(i)] = str(i)
schema = SetRsSchemaDataField()
with pytest.raises(Exception) as ex_info:
schema.validate({
"schema": attribs})
ex_info.match('length of rs_schema is {}; should be <= {}'.format(131073, 131072))
def test_rs_schema_empty_failure():
schema = SetRsSchemaDataField()
with pytest.raises(Exception) as ex_info:
schema.validate({
"schema": {}})
ex_info.match('validation error')
| 38.668874 | 97 | 0.66758 | 707 | 5,839 | 5.113154 | 0.141443 | 0.059751 | 0.103458 | 0.078838 | 0.849239 | 0.833472 | 0.826833 | 0.800277 | 0.796127 | 0.796127 | 0 | 0.019307 | 0.219387 | 5,839 | 150 | 98 | 38.926667 | 0.773804 | 0.012331 | 0 | 0.637097 | 0 | 0 | 0.094899 | 0.029146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072581 | false | 0 | 0.064516 | 0 | 0.137097 | 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 |
af1d7c615833113b38219a590bac3b615e21d00b | 41 | py | Python | kattis/Echo Echo Echo.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | kattis/Echo Echo Echo.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | kattis/Echo Echo Echo.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | # CPU: 0.05 s
print((input() + " ") * 3)
| 13.666667 | 26 | 0.439024 | 7 | 41 | 2.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0.243902 | 41 | 2 | 27 | 20.5 | 0.451613 | 0.268293 | 0 | 0 | 0 | 0 | 0.035714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
af2c509df092085d2daeef325150606b7cd06662 | 10,580 | py | Python | remodet_repository_wdh_part/Projects/PyLib/NetLib/GoogleNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/GoogleNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/GoogleNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
import sys
sys.dont_write_bytecode = True
from ConvBNLayer import *
# Create IP
def InceptionTower(net, from_layer, tower_name, layer_params):
use_scale = False
for param in layer_params:
tower_layer = '{}/{}'.format(tower_name, param['name'])
del param['name']
if 'pool' in tower_layer:
net[tower_layer] = L.Pooling(net[from_layer], **param)
else:
ConvBNUnitLayer(net, from_layer, tower_layer, use_bn=True, use_relu=True,
use_scale=use_scale, **param)
from_layer = tower_layer
return net[from_layer]
# Create GoogleNet Inception V3
def Google_IP_V3_Net(net, from_layer="data", output_pred=False):
# scale is fixed to 1, thus we ignore it.
use_scale = False
out_layer = 'conv'
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=True, use_relu=True,
num_output=32, kernel_size=3, pad=0, stride=2, use_scale=use_scale)
from_layer = out_layer
out_layer = 'conv_1'
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=True, use_relu=True,
num_output=32, kernel_size=3, pad=0, stride=1, use_scale=use_scale)
from_layer = out_layer
out_layer = 'conv_2'
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=True, use_relu=True,
num_output=64, kernel_size=3, pad=1, stride=1, use_scale=use_scale)
from_layer = out_layer
out_layer = 'pool'
net[out_layer] = L.Pooling(net[from_layer], pool=P.Pooling.MAX,
kernel_size=3, stride=2, pad=0)
from_layer = out_layer
out_layer = 'conv_3'
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=True, use_relu=True,
num_output=80, kernel_size=1, pad=0, stride=1, use_scale=use_scale)
from_layer = out_layer
out_layer = 'conv_4'
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=True, use_relu=True,
num_output=192, kernel_size=3, pad=0, stride=1, use_scale=use_scale)
from_layer = out_layer
out_layer = 'pool_1'
net[out_layer] = L.Pooling(net[from_layer], pool=P.Pooling.MAX,
kernel_size=3, stride=2, pad=0)
from_layer = out_layer
# inceptions with 1x1, 3x3, 5x5 convolutions
for inception_id in xrange(0, 3):
if inception_id == 0:
out_layer = 'mixed'
tower_2_conv_num_output = 32
else:
out_layer = 'mixed_{}'.format(inception_id)
tower_2_conv_num_output = 64
towers = []
tower_name = '{}'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=64, kernel_size=1, pad=0, stride=1),
])
towers.append(tower)
tower_name = '{}/tower'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=48, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=64, kernel_size=5, pad=2, stride=1),
])
towers.append(tower)
tower_name = '{}/tower_1'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=64, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=96, kernel_size=3, pad=1, stride=1),
dict(name='conv_2', num_output=96, kernel_size=3, pad=1, stride=1),
])
towers.append(tower)
tower_name = '{}/tower_2'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='pool', pool=P.Pooling.AVE, kernel_size=3, pad=1, stride=1),
dict(name='conv', num_output=tower_2_conv_num_output, kernel_size=1, pad=0, stride=1),
])
towers.append(tower)
out_layer = '{}/join'.format(out_layer)
net[out_layer] = L.Concat(*towers, axis=1)
from_layer = out_layer
# inceptions with 1x1, 3x3(in sequence) convolutions
out_layer = 'mixed_3'
towers = []
tower_name = '{}'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=384, kernel_size=3, pad=0, stride=2),
])
towers.append(tower)
tower_name = '{}/tower'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=64, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=96, kernel_size=3, pad=1, stride=1),
dict(name='conv_2', num_output=96, kernel_size=3, pad=0, stride=2),
])
towers.append(tower)
tower_name = '{}'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='pool', pool=P.Pooling.MAX, kernel_size=3, pad=0, stride=2),
])
towers.append(tower)
out_layer = '{}/join'.format(out_layer)
net[out_layer] = L.Concat(*towers, axis=1)
from_layer = out_layer
# inceptions with 1x1, 7x1, 1x7 convolutions
for inception_id in xrange(4, 8):
if inception_id == 4:
num_output = 128
elif inception_id == 5 or inception_id == 6:
num_output = 160
elif inception_id == 7:
num_output = 192
out_layer = 'mixed_{}'.format(inception_id)
towers = []
tower_name = '{}'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=192, kernel_size=1, pad=0, stride=1),
])
towers.append(tower)
tower_name = '{}/tower'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=num_output, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=num_output, kernel_size=[1, 7], pad=[0, 3], stride=[1, 1]),
dict(name='conv_2', num_output=192, kernel_size=[7, 1], pad=[3, 0], stride=[1, 1]),
])
towers.append(tower)
tower_name = '{}/tower_1'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=num_output, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=num_output, kernel_size=[7, 1], pad=[3, 0], stride=[1, 1]),
dict(name='conv_2', num_output=num_output, kernel_size=[1, 7], pad=[0, 3], stride=[1, 1]),
dict(name='conv_3', num_output=num_output, kernel_size=[7, 1], pad=[3, 0], stride=[1, 1]),
dict(name='conv_4', num_output=192, kernel_size=[1, 7], pad=[0, 3], stride=[1, 1]),
])
towers.append(tower)
tower_name = '{}/tower_2'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='pool', pool=P.Pooling.AVE, kernel_size=3, pad=1, stride=1),
dict(name='conv', num_output=192, kernel_size=1, pad=0, stride=1),
])
towers.append(tower)
out_layer = '{}/join'.format(out_layer)
net[out_layer] = L.Concat(*towers, axis=1)
from_layer = out_layer
# inceptions with 1x1, 3x3, 1x7, 7x1 filters
out_layer = 'mixed_8'
towers = []
tower_name = '{}/tower'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=192, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=320, kernel_size=3, pad=0, stride=2),
])
towers.append(tower)
tower_name = '{}/tower_1'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=192, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=192, kernel_size=[1, 7], pad=[0, 3], stride=[1, 1]),
dict(name='conv_2', num_output=192, kernel_size=[7, 1], pad=[3, 0], stride=[1, 1]),
dict(name='conv_3', num_output=192, kernel_size=3, pad=0, stride=2),
])
towers.append(tower)
tower_name = '{}'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='pool', pool=P.Pooling.MAX, kernel_size=3, pad=0, stride=2),
])
towers.append(tower)
out_layer = '{}/join'.format(out_layer)
net[out_layer] = L.Concat(*towers, axis=1)
from_layer = out_layer
for inception_id in xrange(9, 11):
num_output = 384
num_output2 = 448
if inception_id == 9:
pool = P.Pooling.AVE
else:
pool = P.Pooling.MAX
out_layer = 'mixed_{}'.format(inception_id)
towers = []
tower_name = '{}'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=320, kernel_size=1, pad=0, stride=1),
])
towers.append(tower)
tower_name = '{}/tower'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=num_output, kernel_size=1, pad=0, stride=1),
])
subtowers = []
subtower_name = '{}/mixed'.format(tower_name)
subtower = InceptionTower(net, '{}/conv'.format(tower_name), subtower_name, [
dict(name='conv', num_output=num_output, kernel_size=[1, 3], pad=[0, 1], stride=[1, 1]),
])
subtowers.append(subtower)
subtower = InceptionTower(net, '{}/conv'.format(tower_name), subtower_name, [
dict(name='conv_1', num_output=num_output, kernel_size=[3, 1], pad=[1, 0], stride=[1, 1]),
])
subtowers.append(subtower)
net[subtower_name] = L.Concat(*subtowers, axis=1)
towers.append(net[subtower_name])
tower_name = '{}/tower_1'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='conv', num_output=num_output2, kernel_size=1, pad=0, stride=1),
dict(name='conv_1', num_output=num_output, kernel_size=3, pad=1, stride=1),
])
subtowers = []
subtower_name = '{}/mixed'.format(tower_name)
subtower = InceptionTower(net, '{}/conv_1'.format(tower_name), subtower_name, [
dict(name='conv', num_output=num_output, kernel_size=[1, 3], pad=[0, 1], stride=[1, 1]),
])
subtowers.append(subtower)
subtower = InceptionTower(net, '{}/conv_1'.format(tower_name), subtower_name, [
dict(name='conv_1', num_output=num_output, kernel_size=[3, 1], pad=[1, 0], stride=[1, 1]),
])
subtowers.append(subtower)
net[subtower_name] = L.Concat(*subtowers, axis=1)
towers.append(net[subtower_name])
tower_name = '{}/tower_2'.format(out_layer)
tower = InceptionTower(net, from_layer, tower_name, [
dict(name='pool', pool=pool, kernel_size=3, pad=1, stride=1),
dict(name='conv', num_output=192, kernel_size=1, pad=0, stride=1),
])
towers.append(tower)
out_layer = '{}/join'.format(out_layer)
net[out_layer] = L.Concat(*towers, axis=1)
from_layer = out_layer
if output_pred:
net.pool_3 = L.Pooling(net[from_layer], pool=P.Pooling.AVE, kernel_size=8, pad=0, stride=1)
net.softmax = L.InnerProduct(net.pool_3, num_output=1008)
net.softmax_prob = L.Softmax(net.softmax)
return net
| 40.692308 | 98 | 0.660775 | 1,607 | 10,580 | 4.115744 | 0.072184 | 0.078621 | 0.065316 | 0.051406 | 0.856668 | 0.84306 | 0.817206 | 0.806925 | 0.798155 | 0.794073 | 0 | 0.042174 | 0.184216 | 10,580 | 259 | 99 | 40.849421 | 0.724134 | 0.02656 | 0 | 0.679654 | 0 | 0 | 0.049271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008658 | false | 0 | 0.030303 | 0 | 0.047619 | 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 |
af9167f9c03d34f1a29cf08d0575c3442bd947c0 | 235 | py | Python | pandana/core/__init__.py | HEPonHPC/pandana | 8ee68071892f2a34b54a09ac54033f5d14d42019 | [
"Apache-2.0"
] | 2 | 2021-04-23T19:36:57.000Z | 2021-06-30T15:57:35.000Z | pandana/core/__init__.py | HEPonHPC/pandana | 8ee68071892f2a34b54a09ac54033f5d14d42019 | [
"Apache-2.0"
] | null | null | null | pandana/core/__init__.py | HEPonHPC/pandana | 8ee68071892f2a34b54a09ac54033f5d14d42019 | [
"Apache-2.0"
] | null | null | null | from pandana.core import *
from pandana.core.loader import Loader
from pandana.core.var import Var
from pandana.core.cut import Cut
from pandana.core.spectrum import Spectrum,FilledSpectrum
from pandana.core.datagroup import DataGroup
| 33.571429 | 57 | 0.842553 | 35 | 235 | 5.657143 | 0.285714 | 0.333333 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102128 | 235 | 6 | 58 | 39.166667 | 0.938389 | 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 | 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 |
bb9c013f0a20eba847240aa5d5fe7240cea9d309 | 121 | py | Python | haystack/ranker/__init__.py | adithyaur99/haystack | 6db9e7eed48520d7e8aeb061a3cc1d1a4b542ab0 | [
"Apache-2.0"
] | 1 | 2021-08-08T19:03:56.000Z | 2021-08-08T19:03:56.000Z | haystack/ranker/__init__.py | adithyaur99/haystack | 6db9e7eed48520d7e8aeb061a3cc1d1a4b542ab0 | [
"Apache-2.0"
] | null | null | null | haystack/ranker/__init__.py | adithyaur99/haystack | 6db9e7eed48520d7e8aeb061a3cc1d1a4b542ab0 | [
"Apache-2.0"
] | null | null | null | from haystack.ranker.farm import FARMRanker
from haystack.ranker.sentence_transformers import SentenceTransformersRanker
| 40.333333 | 76 | 0.900826 | 13 | 121 | 8.307692 | 0.692308 | 0.222222 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 121 | 2 | 77 | 60.5 | 0.955752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bbb123d3ba6333224faefaca20d0d96f597bb779 | 72 | py | Python | py_battlescribe/bs_reference/link.py | akabbeke/py_battlescribe | 7f96d44295d46810268e666394e3e3238a6f2c61 | [
"MIT"
] | 1 | 2021-11-17T22:00:21.000Z | 2021-11-17T22:00:21.000Z | py_battlescribe/bs_reference/link.py | akabbeke/py_battlescribe | 7f96d44295d46810268e666394e3e3238a6f2c61 | [
"MIT"
] | null | null | null | py_battlescribe/bs_reference/link.py | akabbeke/py_battlescribe | 7f96d44295d46810268e666394e3e3238a6f2c61 | [
"MIT"
] | null | null | null | from . import BSReference
class BSReferenceLink(BSReference):
pass
| 14.4 | 35 | 0.777778 | 7 | 72 | 8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 4 | 36 | 18 | 0.933333 | 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 |
bbf9d05c8ce38ee353081306bccff45c7ee751ed | 36 | py | Python | continual_learning/methods/task_incremental/multi_task/gg/single_task/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/methods/task_incremental/multi_task/gg/single_task/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/methods/task_incremental/multi_task/gg/single_task/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | from .Single_Task import SingleTask
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
a5416a74240bbe593292bd72f189a9716052f735 | 128 | py | Python | 0x04-python-more_data_structures/101-square_matrix_map.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/101-square_matrix_map.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/101-square_matrix_map.py | calypsobronte/holbertonschool-higher_level_programming | c39c060d8473976fa475d22fffba5cb4329c9965 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def square_matrix_map(matrix=[]):
return list(map(lambda n1: list(map(lambda n2: n2 ** 2, n1)), matrix))
| 32 | 74 | 0.671875 | 21 | 128 | 4 | 0.619048 | 0.166667 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.132813 | 128 | 3 | 75 | 42.666667 | 0.702703 | 0.132813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a5535d0eb375b9f44e4b25fd52a18ba26438f5cc | 38 | py | Python | tests/molecular/molecules/molecule/fixtures/cage/three_plus_four/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | tests/molecular/molecules/molecule/fixtures/cage/three_plus_four/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | tests/molecular/molecules/molecule/fixtures/cage/three_plus_four/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from .six_plus_eight import * # noqa
| 19 | 37 | 0.736842 | 6 | 38 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.83871 | 0.105263 | 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 |
3c0286cc6f6371ef5bb0810953d6993db348bd7d | 138 | py | Python | dist/Basilisk/fswAlgorithms/thrFiringRemainder/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/thrFiringRemainder/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/thrFiringRemainder/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the thrFiringRemainder package is automatically generated by the build system
from thrFiringRemainder import * | 69 | 105 | 0.847826 | 18 | 138 | 6.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 138 | 2 | 106 | 69 | 0.941667 | 0.746377 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c0f3e37d3e94e6aa8b542162ee4dd14ea0ff39f | 113 | py | Python | project/project/configs/mailgun.py | hiraqdev/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | 1 | 2018-03-19T05:21:53.000Z | 2018-03-19T05:21:53.000Z | project/project/configs/mailgun.py | hiraq/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | 6 | 2020-06-05T20:17:33.000Z | 2022-03-11T23:45:44.000Z | project/project/configs/mailgun.py | hiraq/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | null | null | null | import os
MAILGUN_API_KEY = os.environ.get('MAILGUN_API_KEY')
MAILGUN_DOMAIN = os.environ.get('MAILGUN_DOMAIN')
| 22.6 | 51 | 0.79646 | 18 | 113 | 4.666667 | 0.444444 | 0.238095 | 0.309524 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 113 | 4 | 52 | 28.25 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.256637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3c1d03b06261b841507065bce6d00cb53b94e3e3 | 29 | py | Python | src/backend/framework/__init__.py | TestomatProject/sOrTES | b147a64a256fb53afee741c87f8670d95b7e3e8b | [
"MIT"
] | null | null | null | src/backend/framework/__init__.py | TestomatProject/sOrTES | b147a64a256fb53afee741c87f8670d95b7e3e8b | [
"MIT"
] | null | null | null | src/backend/framework/__init__.py | TestomatProject/sOrTES | b147a64a256fb53afee741c87f8670d95b7e3e8b | [
"MIT"
] | null | null | null | from .Handler import Handler
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
3c92f5990584b8b73bae9b9721e4adb1307bd046 | 70 | py | Python | src/mkdv/tools/hdl/__init__.py | fvutils/sim-mk | 271b4374a21785ab1b22fac333e423b5febb6a81 | [
"Apache-2.0"
] | null | null | null | src/mkdv/tools/hdl/__init__.py | fvutils/sim-mk | 271b4374a21785ab1b22fac333e423b5febb6a81 | [
"Apache-2.0"
] | null | null | null | src/mkdv/tools/hdl/__init__.py | fvutils/sim-mk | 271b4374a21785ab1b22fac333e423b5febb6a81 | [
"Apache-2.0"
] | null | null | null |
from .mkdv_plugin_tool_questa import *
from .hdl_tool_questa import * | 23.333333 | 38 | 0.828571 | 11 | 70 | 4.818182 | 0.636364 | 0.377358 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 39 | 23.333333 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b1f6f48b28249b16820b134d868eb67dfe8a2f0c | 2,374 | py | Python | code/loader.py | unique-chan/YeLU | e70c1e7ab8504ff8d22a33b681d0538a0f6e5745 | [
"MIT"
] | 1 | 2021-07-01T16:00:54.000Z | 2021-07-01T16:00:54.000Z | code/loader.py | unique-chan/YeLU | e70c1e7ab8504ff8d22a33b681d0538a0f6e5745 | [
"MIT"
] | null | null | null | code/loader.py | unique-chan/YeLU | e70c1e7ab8504ff8d22a33b681d0538a0f6e5745 | [
"MIT"
] | null | null | null | from tensorflow import keras
def train_test(args, train='train', test='test'):
train_dir, test_dir =\
'{}/{}'.format(args.data, train), '{}/{}'.format(args.data, test)
train_dataset = keras.preprocessing.image_dataset_from_directory(directory=train_dir,
batch_size=args.batch_size,
image_size=(args.height, args.width),
shuffle=True)
test_dataset = keras.preprocessing.image_dataset_from_directory(directory=test_dir,
batch_size=args.batch_size,
image_size=(args.height, args.width),
shuffle=False)
return train_dataset, test_dataset
def train_valid_test(args, train='train', valid='valid', test='test'):
train_dir, valid_dir, test_dir =\
'{}/{}'.format(args.data, train), '{}/{}'.format(args.data, valid), '{}/{}'.format(args.data, test)
train_dataset = keras.preprocessing.image_dataset_from_directory(directory=train_dir,
batch_size=args.batch_size,
image_size=(args.height, args.width),
shuffle=True)
valid_dataset = keras.preprocessing.image_dataset_from_directory(directory=valid_dir,
batch_size=args.batch_size,
image_size=(args.height, args.width),
shuffle=False)
test_dataset = keras.preprocessing.image_dataset_from_directory(directory=test_dir,
batch_size=args.batch_size,
image_size=(args.height, args.width),
shuffle=False)
return train_dataset, valid_dataset, test_dataset
| 65.944444 | 107 | 0.432182 | 185 | 2,374 | 5.259459 | 0.12973 | 0.092497 | 0.071942 | 0.154162 | 0.820144 | 0.820144 | 0.820144 | 0.820144 | 0.759507 | 0.759507 | 0 | 0 | 0.488206 | 2,374 | 35 | 108 | 67.828571 | 0.800823 | 0 | 0 | 0.655172 | 0 | 0 | 0.020236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.172414 | 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 |
592248d03856b99ad1e0425fdfd6f851707eda31 | 159 | py | Python | vic/drivers/python/vic/driver.py | lingyunan0510/VIC | dbc00a813b5df5a88027d1dc57a7805e9a464436 | [
"MIT"
] | 1 | 2022-01-18T01:23:47.000Z | 2022-01-18T01:23:47.000Z | vic/drivers/python/vic/driver.py | yusheng-wang/VIC | 8f6cc0661bdc67c4f6caabdd4dcd0b8782517435 | [
"MIT"
] | null | null | null | vic/drivers/python/vic/driver.py | yusheng-wang/VIC | 8f6cc0661bdc67c4f6caabdd4dcd0b8782517435 | [
"MIT"
] | null | null | null | """
@section DESCRIPTION
Python driver for VIC
"""
from .vic import lib
def vic_init():
pass
def vic_run():
pass
def vic_final():
pass
| 7.95 | 23 | 0.610063 | 22 | 159 | 4.272727 | 0.636364 | 0.191489 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 159 | 19 | 24 | 8.368421 | 0.824561 | 0.27044 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3ccf0c900445f61bfe6e24c74097b9833058f636 | 125 | py | Python | sdtv3/__init__.py | ankraft/SDTTool | aec305052d191d1659851b7615c67c79d269064d | [
"Apache-2.0"
] | 2 | 2018-05-14T16:00:23.000Z | 2018-12-26T14:02:51.000Z | sdtv3/__init__.py | ankraft/SDTTool | aec305052d191d1659851b7615c67c79d269064d | [
"Apache-2.0"
] | null | null | null | sdtv3/__init__.py | ankraft/SDTTool | aec305052d191d1659851b7615c67c79d269064d | [
"Apache-2.0"
] | 2 | 2016-09-05T09:24:41.000Z | 2020-06-23T14:05:45.000Z | from sdtv3.SDT3PrintOneM2MXSD import print3OneM2MXSD
from sdtv3.SDT3Parser import SDT3Parser
from sdtv3.SDT3Classes import *
| 31.25 | 52 | 0.872 | 14 | 125 | 7.785714 | 0.5 | 0.247706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 0.096 | 125 | 3 | 53 | 41.666667 | 0.876106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
3ce8ca12ae47b78ebbb7b310ef195a05e1a615c0 | 7,630 | py | Python | tests/core/service/pagination_test.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 17 | 2018-09-06T09:58:18.000Z | 2021-07-13T12:54:20.000Z | tests/core/service/pagination_test.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 59 | 2018-11-21T15:17:57.000Z | 2021-08-03T10:00:43.000Z | tests/core/service/pagination_test.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 37 | 2018-09-01T03:07:48.000Z | 2021-07-06T10:21:50.000Z | from unittest.mock import AsyncMock, call
import pytest
from symphony.bdk.core.service.pagination import offset_based_pagination, cursor_based_pagination
AFTER = "after"
CHUNK_SIZE = 2
class TestOffsetBasedPagination:
@staticmethod
async def assert_generator_produces(func_responses, max_number, expected_output, expected_calls):
mock_func = AsyncMock()
mock_func.side_effect = func_responses
assert [x async for x in offset_based_pagination(mock_func, CHUNK_SIZE, max_number)] == expected_output
mock_func.assert_has_awaits(expected_calls)
@pytest.mark.asyncio
async def test_empty_answer(self):
await self.assert_generator_produces(func_responses=[[]], max_number=None,
expected_output=[],
expected_calls=[call(0, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_answer_less_than_one_chunk(self):
await self.assert_generator_produces(func_responses=[["one"]], max_number=None,
expected_output=["one"],
expected_calls=[call(0, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_answer_same_length_than_one_chunk(self):
await self.assert_generator_produces(func_responses=[["one", "two"], []], max_number=None,
expected_output=["one", "two"],
expected_calls=[call(0, CHUNK_SIZE), call(CHUNK_SIZE, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_answer_more_than_one_chunk_less_than_two_chunks(self):
await self.assert_generator_produces(func_responses=[["one", "two"], ["three"]], max_number=None,
expected_output=["one", "two", "three"],
expected_calls=[call(0, CHUNK_SIZE), call(CHUNK_SIZE, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_answer_two_chunks(self):
await self.assert_generator_produces(func_responses=[["one", "two"], ["three", "four"], []], max_number=None,
expected_output=["one", "two", "three", "four"],
expected_calls=[call(0, CHUNK_SIZE), call(CHUNK_SIZE, CHUNK_SIZE),
call(2 * CHUNK_SIZE, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_negative_max_number(self):
await self.assert_generator_produces(func_responses=[[]], max_number=-1,
expected_output=[],
expected_calls=[])
@pytest.mark.asyncio
async def test_zero_max_number(self):
await self.assert_generator_produces(func_responses=[[]], max_number=0,
expected_output=[],
expected_calls=[])
@pytest.mark.asyncio
async def test_max_number_less_than_one_chunk(self):
await self.assert_generator_produces(func_responses=[["one", "two"]], max_number=1,
expected_output=["one"],
expected_calls=[call(0, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_max_number_equals_one_chunk(self):
await self.assert_generator_produces(func_responses=[["one", "two"]], max_number=CHUNK_SIZE,
expected_output=["one", "two"],
expected_calls=[call(0, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_max_number_equals_more_than_one_chunk(self):
await self.assert_generator_produces(func_responses=[["one", "two"], ["three", "four"]], max_number=3,
expected_output=["one", "two", "three"],
expected_calls=[call(0, CHUNK_SIZE), call(CHUNK_SIZE, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_func_returns_none(self):
await self.assert_generator_produces(func_responses=[None], max_number=None,
expected_output=[],
expected_calls=[call(0, CHUNK_SIZE)])
@pytest.mark.asyncio
async def test_func_second_chunk_returns_none(self):
await self.assert_generator_produces(func_responses=[["one", "two"], None], max_number=None,
expected_output=["one", "two"],
expected_calls=[call(0, CHUNK_SIZE), call(CHUNK_SIZE, CHUNK_SIZE)])
class TestCursorBasedPagination:
@pytest.mark.asyncio
async def test_answer_none(self):
mock_func = AsyncMock()
mock_func.side_effect = [(None, None)]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE)] == []
mock_func.assert_has_awaits([call(CHUNK_SIZE, None)])
@pytest.mark.asyncio
async def test_empty_answer(self):
mock_func = AsyncMock()
mock_func.side_effect = [([], None)]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE)] == []
mock_func.assert_has_awaits([call(CHUNK_SIZE, None)])
@pytest.mark.asyncio
async def test_answer_only_one_chunk(self):
mock_func = AsyncMock()
mock_func.side_effect = [(["one"], None)]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE)] == ["one"]
mock_func.assert_has_awaits([call(CHUNK_SIZE, None)])
@pytest.mark.asyncio
async def test_answer_two_chunks(self):
mock_func = AsyncMock()
mock_func.side_effect = [(["one", "two"], AFTER), (["three"], None)]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE)] == ["one", "two", "three"]
mock_func.assert_has_awaits([call(CHUNK_SIZE, None), call(CHUNK_SIZE, AFTER)])
@pytest.mark.asyncio
async def test_negative_max_number(self):
mock_func = AsyncMock()
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE, -1)] == []
mock_func.assert_not_awaited()
@pytest.mark.asyncio
async def test_zero_max_number(self):
mock_func = AsyncMock()
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE, 0)] == []
mock_func.assert_not_awaited()
@pytest.mark.asyncio
async def test_max_number_less_than_one_chunk(self):
mock_func = AsyncMock()
mock_func.side_effect = [(["one", "two"], AFTER)]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE, 1)] == ["one"]
mock_func.assert_has_awaits([call(CHUNK_SIZE, None)])
@pytest.mark.asyncio
async def test_max_number_equals_one_chunk(self):
mock_func = AsyncMock()
mock_func.side_effect = [(["one", "two"], AFTER)]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE, 2)] == ["one", "two"]
mock_func.assert_has_awaits([call(CHUNK_SIZE, None)])
@pytest.mark.asyncio
async def test_max_number_equals_more_than_one_chunk(self):
mock_func = AsyncMock()
mock_func.side_effect = [(["one", "two"], AFTER), (["three", "four"], "after_two")]
assert [x async for x in cursor_based_pagination(mock_func, CHUNK_SIZE, 3)] == ["one", "two", "three"]
mock_func.assert_has_awaits([call(CHUNK_SIZE, None), call(CHUNK_SIZE, AFTER)])
| 45.688623 | 117 | 0.601966 | 887 | 7,630 | 4.830891 | 0.080045 | 0.090315 | 0.083314 | 0.107818 | 0.908051 | 0.902217 | 0.885648 | 0.85881 | 0.845974 | 0.813069 | 0 | 0.003854 | 0.285845 | 7,630 | 166 | 118 | 45.963855 | 0.782529 | 0 | 0 | 0.634921 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.039683 | 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 |
3cfe3b02873e6361a789a0dad624902cbc189c25 | 19,284 | py | Python | pybind/nos/v7_1_0/interface_vlan/interface/ve/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/interface_vlan/interface/ve/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/interface_vlan/interface/ve/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from decimal import Decimal
from bitarray import bitarray
import __builtin__
import ip
import ipv6
import attach
class ve(PybindBase):
"""
This class was auto-generated by the PythonClass plugin for PYANG
from YANG module brocade-interface - based on the path /interface-vlan/interface/ve. Each member element of
the container is represented as a class variable - with a specific
YANG type.
YANG Description: The list of ve interfaces in the managed device. Each row
represents a ve interface. User can create/delete an entry in
to this list.
"""
__slots__ = ('_pybind_generated_by', '_path_helper', '_yang_name', '_rest_name', '_extmethods', '__gve_name','__global_ve_shutdown','__ip','__ipv6','__attach',)
_yang_name = 've'
_rest_name = 'Ve'
_pybind_generated_by = 'container'
def __init__(self, *args, **kwargs):
path_helper_ = kwargs.pop("path_helper", None)
if path_helper_ is False:
self._path_helper = False
elif path_helper_ is not None and isinstance(path_helper_, xpathhelper.YANGPathHelper):
self._path_helper = path_helper_
elif hasattr(self, "_parent"):
path_helper_ = getattr(self._parent, "_path_helper", False)
self._path_helper = path_helper_
else:
self._path_helper = False
extmethods = kwargs.pop("extmethods", None)
if extmethods is False:
self._extmethods = False
elif extmethods is not None and isinstance(extmethods, dict):
self._extmethods = extmethods
elif hasattr(self, "_parent"):
extmethods = getattr(self._parent, "_extmethods", None)
self._extmethods = extmethods
else:
self._extmethods = False
self.__ip = YANGDynClass(base=ip.ip, is_container='container', presence=False, yang_name="ip", rest_name="ip", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol (IP).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
self.__global_ve_shutdown = YANGDynClass(base=YANGBool, is_leaf=True, yang_name="global-ve-shutdown", rest_name="shutdown", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-full-command': None, u'info': u'Shutdown the selected interface', u'cli-show-no': None, u'alt-name': u'shutdown'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='empty', is_config=True)
self.__attach = YANGDynClass(base=attach.attach, is_container='container', presence=False, yang_name="attach", rest_name="attach", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure attachments', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='container', is_config=True)
self.__gve_name = YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'1..8191']}), is_leaf=True, yang_name="gve-name", rest_name="gve-name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-suppress-range': None, u'cli-custom-range': None}}, is_keyval=True, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='ve-type', is_config=True)
self.__ipv6 = YANGDynClass(base=ipv6.ipv6, is_container='container', presence=False, yang_name="ipv6", rest_name="ipv6", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol version 6(IPv6).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
load = kwargs.pop("load", None)
if args:
if len(args) > 1:
raise TypeError("cannot create a YANG container with >1 argument")
all_attr = True
for e in self._pyangbind_elements:
if not hasattr(args[0], e):
all_attr = False
break
if not all_attr:
raise ValueError("Supplied object did not have the correct attributes")
for e in self._pyangbind_elements:
nobj = getattr(args[0], e)
if nobj._changed() is False:
continue
setmethod = getattr(self, "_set_%s" % e)
if load is None:
setmethod(getattr(args[0], e))
else:
setmethod(getattr(args[0], e), load=load)
def _path(self):
if hasattr(self, "_parent"):
return self._parent._path()+[self._yang_name]
else:
return [u'interface-vlan', u'interface', u've']
def _rest_path(self):
if hasattr(self, "_parent"):
if self._rest_name:
return self._parent._rest_path()+[self._rest_name]
else:
return self._parent._rest_path()
else:
return [u'interface', u'Ve']
def _get_gve_name(self):
"""
Getter method for gve_name, mapped from YANG variable /interface_vlan/interface/ve/gve_name (ve-type)
"""
return self.__gve_name
def _set_gve_name(self, v, load=False):
"""
Setter method for gve_name, mapped from YANG variable /interface_vlan/interface/ve/gve_name (ve-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_gve_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_gve_name() directly.
"""
parent = getattr(self, "_parent", None)
if parent is not None and load is False:
raise AttributeError("Cannot set keys directly when" +
" within an instantiated list")
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'1..8191']}), is_leaf=True, yang_name="gve-name", rest_name="gve-name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-suppress-range': None, u'cli-custom-range': None}}, is_keyval=True, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='ve-type', is_config=True)
except (TypeError, ValueError):
raise ValueError({
'error-string': """gve_name must be of a type compatible with ve-type""",
'defined-type': "brocade-interface:ve-type",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'1..8191']}), is_leaf=True, yang_name="gve-name", rest_name="gve-name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-suppress-range': None, u'cli-custom-range': None}}, is_keyval=True, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='ve-type', is_config=True)""",
})
self.__gve_name = t
if hasattr(self, '_set'):
self._set()
def _unset_gve_name(self):
self.__gve_name = YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'1..8191']}), is_leaf=True, yang_name="gve-name", rest_name="gve-name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-suppress-range': None, u'cli-custom-range': None}}, is_keyval=True, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='ve-type', is_config=True)
def _get_global_ve_shutdown(self):
"""
Getter method for global_ve_shutdown, mapped from YANG variable /interface_vlan/interface/ve/global_ve_shutdown (empty)
"""
return self.__global_ve_shutdown
def _set_global_ve_shutdown(self, v, load=False):
"""
Setter method for global_ve_shutdown, mapped from YANG variable /interface_vlan/interface/ve/global_ve_shutdown (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_global_ve_shutdown is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_global_ve_shutdown() directly.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="global-ve-shutdown", rest_name="shutdown", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-full-command': None, u'info': u'Shutdown the selected interface', u'cli-show-no': None, u'alt-name': u'shutdown'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='empty', is_config=True)
except (TypeError, ValueError):
raise ValueError({
'error-string': """global_ve_shutdown must be of a type compatible with empty""",
'defined-type': "empty",
'generated-type': """YANGDynClass(base=YANGBool, is_leaf=True, yang_name="global-ve-shutdown", rest_name="shutdown", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-full-command': None, u'info': u'Shutdown the selected interface', u'cli-show-no': None, u'alt-name': u'shutdown'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='empty', is_config=True)""",
})
self.__global_ve_shutdown = t
if hasattr(self, '_set'):
self._set()
def _unset_global_ve_shutdown(self):
self.__global_ve_shutdown = YANGDynClass(base=YANGBool, is_leaf=True, yang_name="global-ve-shutdown", rest_name="shutdown", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-full-command': None, u'info': u'Shutdown the selected interface', u'cli-show-no': None, u'alt-name': u'shutdown'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='empty', is_config=True)
def _get_ip(self):
"""
Getter method for ip, mapped from YANG variable /interface_vlan/interface/ve/ip (container)
YANG Description: The IP configurations for an interface.
"""
return self.__ip
def _set_ip(self, v, load=False):
"""
Setter method for ip, mapped from YANG variable /interface_vlan/interface/ve/ip (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ip() directly.
YANG Description: The IP configurations for an interface.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=ip.ip, is_container='container', presence=False, yang_name="ip", rest_name="ip", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol (IP).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
except (TypeError, ValueError):
raise ValueError({
'error-string': """ip must be of a type compatible with container""",
'defined-type': "container",
'generated-type': """YANGDynClass(base=ip.ip, is_container='container', presence=False, yang_name="ip", rest_name="ip", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol (IP).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)""",
})
self.__ip = t
if hasattr(self, '_set'):
self._set()
def _unset_ip(self):
self.__ip = YANGDynClass(base=ip.ip, is_container='container', presence=False, yang_name="ip", rest_name="ip", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol (IP).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
def _get_ipv6(self):
"""
Getter method for ipv6, mapped from YANG variable /interface_vlan/interface/ve/ipv6 (container)
YANG Description: The IPv6 configurations for an interface.
"""
return self.__ipv6
def _set_ipv6(self, v, load=False):
"""
Setter method for ipv6, mapped from YANG variable /interface_vlan/interface/ve/ipv6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ipv6() directly.
YANG Description: The IPv6 configurations for an interface.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=ipv6.ipv6, is_container='container', presence=False, yang_name="ipv6", rest_name="ipv6", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol version 6(IPv6).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
except (TypeError, ValueError):
raise ValueError({
'error-string': """ipv6 must be of a type compatible with container""",
'defined-type': "container",
'generated-type': """YANGDynClass(base=ipv6.ipv6, is_container='container', presence=False, yang_name="ipv6", rest_name="ipv6", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol version 6(IPv6).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)""",
})
self.__ipv6 = t
if hasattr(self, '_set'):
self._set()
def _unset_ipv6(self):
self.__ipv6 = YANGDynClass(base=ipv6.ipv6, is_container='container', presence=False, yang_name="ipv6", rest_name="ipv6", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The Internet Protocol version 6(IPv6).', u'cli-incomplete-no': None, u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_IP_CONFIG', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
def _get_attach(self):
"""
Getter method for attach, mapped from YANG variable /interface_vlan/interface/ve/attach (container)
"""
return self.__attach
def _set_attach(self, v, load=False):
"""
Setter method for attach, mapped from YANG variable /interface_vlan/interface/ve/attach (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_attach is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_attach() directly.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=attach.attach, is_container='container', presence=False, yang_name="attach", rest_name="attach", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure attachments', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='container', is_config=True)
except (TypeError, ValueError):
raise ValueError({
'error-string': """attach must be of a type compatible with container""",
'defined-type': "container",
'generated-type': """YANGDynClass(base=attach.attach, is_container='container', presence=False, yang_name="attach", rest_name="attach", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure attachments', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='container', is_config=True)""",
})
self.__attach = t
if hasattr(self, '_set'):
self._set()
def _unset_attach(self):
self.__attach = YANGDynClass(base=attach.attach, is_container='container', presence=False, yang_name="attach", rest_name="attach", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure attachments', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='container', is_config=True)
gve_name = __builtin__.property(_get_gve_name, _set_gve_name)
global_ve_shutdown = __builtin__.property(_get_global_ve_shutdown, _set_global_ve_shutdown)
ip = __builtin__.property(_get_ip, _set_ip)
ipv6 = __builtin__.property(_get_ipv6, _set_ipv6)
attach = __builtin__.property(_get_attach, _set_attach)
_pyangbind_elements = {'gve_name': gve_name, 'global_ve_shutdown': global_ve_shutdown, 'ip': ip, 'ipv6': ipv6, 'attach': attach, }
| 68.141343 | 604 | 0.729672 | 2,666 | 19,284 | 5.052513 | 0.080645 | 0.040089 | 0.045731 | 0.029696 | 0.814848 | 0.787454 | 0.777431 | 0.764811 | 0.754417 | 0.742539 | 0 | 0.007485 | 0.134049 | 19,284 | 282 | 605 | 68.382979 | 0.79915 | 0.145613 | 0 | 0.417143 | 0 | 0.028571 | 0.383401 | 0.159206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102857 | false | 0 | 0.062857 | 0 | 0.285714 | 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 |
59aad792b475c45e9c60c5e194d322418730b886 | 10,583 | py | Python | scripts/codalab/make_table_1.py | felixwzh/control-tasks | 43b5e8acfefc20aea0e776064239790fe9948910 | [
"Apache-2.0"
] | 24 | 2019-09-10T18:51:04.000Z | 2022-02-24T09:20:32.000Z | scripts/codalab/make_table_1.py | felixwzh/control-tasks | 43b5e8acfefc20aea0e776064239790fe9948910 | [
"Apache-2.0"
] | 2 | 2019-12-15T02:21:06.000Z | 2021-03-25T23:15:50.000Z | scripts/codalab/make_table_1.py | felixwzh/control-tasks | 43b5e8acfefc20aea0e776064239790fe9948910 | [
"Apache-2.0"
] | 8 | 2019-09-10T18:51:08.000Z | 2021-11-11T03:33:56.000Z | import json
import sys
# Start of table code
print('\\begin{tabular}{l c c c | c c c}')
print('\\toprule')
print('\\bf Probe & \\bf PoS & Ctl & \\bf Select. & \\bf Dep & Ctl & \\bf Select.\\\\')
print('\\midrule')
### Probes with default hyperparams
print('\\multicolumn{7}{c}{Probes with ``Default'' Hyperparameters}')
print('\\vspace{3pt}\\\\')
pos_dropout_results = json.load(open('pos-codalab/summarize_pos_dropout/results.json'))
dep_dropout_results = json.load(open('dep-codalab/summarize_dep_dropout/results.json'))
pos_linear_default_acc = pos_dropout_results["dropout"]["0"]['0hid'][0]
pos_linear_default_ctl = pos_dropout_results["dropout"]["1"]['0hid'][0]
pos_linear_default_select = pos_linear_default_acc - pos_linear_default_ctl
#pos_linear_default_select = (1-pos_linear_default_ctl)/ (1-pos_linear_default_acc)
dep_bilinear_default_acc = dep_dropout_results["dropout"]["0"]['bilinear'][0]
dep_bilinear_default_ctl = dep_dropout_results["dropout"]["1"]['bilinear'][0]
dep_bilinear_default_select = dep_bilinear_default_acc - dep_bilinear_default_ctl
#dep_bilinear_default_select = (1-dep_bilinear_default_ctl)/(1- dep_bilinear_default_acc)
pos_1hid_default_acc = pos_dropout_results["dropout"]["0"]['1hid'][0]
pos_1hid_default_ctl = pos_dropout_results["dropout"]["1"]['1hid'][0]
pos_1hid_default_select = pos_1hid_default_acc - pos_1hid_default_ctl
#pos_1hid_default_select = (1-pos_1hid_default_ctl)/(1- pos_1hid_default_acc)
dep_1hid_default_acc = dep_dropout_results["dropout"]["0"]['1hid'][0]
dep_1hid_default_ctl = dep_dropout_results["dropout"]["1"]['1hid'][0]
dep_1hid_default_select = dep_1hid_default_acc - dep_1hid_default_ctl
#dep_1hid_default_select = (1-dep_1hid_default_ctl)/(1-dep_1hid_default_acc)
pos_2hid_default_acc = pos_dropout_results["dropout"]["0"]['2hid'][0]
pos_2hid_default_ctl = pos_dropout_results["dropout"]["1"]['2hid'][0]
pos_2hid_default_select = pos_2hid_default_acc - pos_2hid_default_ctl
#pos_2hid_default_select = (1-pos_2hid_default_ctl) / (1-pos_2hid_default_acc)
dep_2hid_default_acc = dep_dropout_results["dropout"]["0"]['2hid'][0]
dep_2hid_default_ctl = dep_dropout_results["dropout"]["1"]['2hid'][0]
dep_2hid_default_select = dep_2hid_default_acc - dep_2hid_default_ctl
#dep_2hid_default_select = (1-dep_2hid_default_ctl) / (1-dep_2hid_default_acc)
default_linear_tex_line = [pos_linear_default_acc, pos_linear_default_ctl, pos_linear_default_select]
default_linear_tex_line = ' & '.join(['Linear'] + ['${0:.1f}$'.format(100*x) for x in default_linear_tex_line] + ['-', '-', '-']) + '\\\\'
print(default_linear_tex_line)
default_bilinear_tex_line = [dep_bilinear_default_acc, dep_bilinear_default_ctl, dep_bilinear_default_select]
default_bilinear_tex_line = ' & '.join(['Bilinear', '-', '-', '-']+ ['${0:.1f}$'.format(100*x) for x in default_bilinear_tex_line]) + '\\\\'
print(default_bilinear_tex_line)
default_1hid_tex_line = [pos_1hid_default_acc, pos_1hid_default_ctl, pos_1hid_default_select] + [dep_1hid_default_acc, dep_1hid_default_ctl, dep_1hid_default_select]
default_1hid_tex_line = ' & '.join(['MLP-1'] + ['${0:.1f}$'.format(100*x) for x in default_1hid_tex_line]) + '\\\\'
print(default_1hid_tex_line)
default_2hid_tex_line = [pos_2hid_default_acc, pos_2hid_default_ctl, pos_2hid_default_select] + [dep_2hid_default_acc, dep_2hid_default_ctl, dep_2hid_default_select]
default_2hid_tex_line = ' & '.join(['MLP-2'] +['${0:.1f}$'.format(100*x) for x in default_2hid_tex_line]) + '\\\\'
print(default_2hid_tex_line)
print('\\midrule')
### Probes with .4 dropout
print('\\multicolumn{7}{c}{Probes with $0.4$ Dropout}')
print('\\vspace{3pt}\\\\')
pos_dropout_results = json.load(open('pos-codalab/summarize_pos_dropout/results.json'))
dep_dropout_results = json.load(open('dep-codalab/summarize_dep_dropout/results.json'))
pos_linear_default_acc = pos_dropout_results["dropout"]["0"]['0hid'][2]
pos_linear_default_ctl = pos_dropout_results["dropout"]["1"]['0hid'][2]
pos_linear_default_select = pos_linear_default_acc - pos_linear_default_ctl
#pos_linear_default_select = (1-pos_linear_default_ctl)/ (1-pos_linear_default_acc)
dep_bilinear_default_acc = dep_dropout_results["dropout"]["0"]['bilinear'][2]
dep_bilinear_default_ctl = dep_dropout_results["dropout"]["1"]['bilinear'][2]
dep_bilinear_default_select = dep_bilinear_default_acc - dep_bilinear_default_ctl
#dep_bilinear_default_select = (1-dep_bilinear_default_ctl)/(1- dep_bilinear_default_acc)
pos_1hid_default_acc = pos_dropout_results["dropout"]["0"]['1hid'][2]
pos_1hid_default_ctl = pos_dropout_results["dropout"]["1"]['1hid'][2]
pos_1hid_default_select = pos_1hid_default_acc - pos_1hid_default_ctl
#pos_1hid_default_select = (1-pos_1hid_default_ctl)/(1- pos_1hid_default_acc)
dep_1hid_default_acc = dep_dropout_results["dropout"]["0"]['1hid'][2]
dep_1hid_default_ctl = dep_dropout_results["dropout"]["1"]['1hid'][2]
dep_1hid_default_select = dep_1hid_default_acc - dep_1hid_default_ctl
#dep_1hid_default_select = (1-dep_1hid_default_ctl)/(1-dep_1hid_default_acc)
pos_2hid_default_acc = pos_dropout_results["dropout"]["0"]['2hid'][2]
pos_2hid_default_ctl = pos_dropout_results["dropout"]["1"]['2hid'][2]
pos_2hid_default_select = pos_2hid_default_acc - pos_2hid_default_ctl
#pos_2hid_default_select = (1-pos_2hid_default_ctl) / (1-pos_2hid_default_acc)
dep_2hid_default_acc = dep_dropout_results["dropout"]["0"]['2hid'][2]
dep_2hid_default_ctl = dep_dropout_results["dropout"]["1"]['2hid'][2]
dep_2hid_default_select = dep_2hid_default_acc - dep_2hid_default_ctl
#dep_2hid_default_select = (1-dep_2hid_default_ctl) / (1-dep_2hid_default_acc)
default_linear_tex_line = [pos_linear_default_acc, pos_linear_default_ctl, pos_linear_default_select]
default_linear_tex_line = ' & '.join(['Linear'] + ['${0:.1f}$'.format(100*x) for x in default_linear_tex_line] + ['-', '-', '-']) + '\\\\'
print(default_linear_tex_line)
default_bilinear_tex_line = [dep_bilinear_default_acc, dep_bilinear_default_ctl, dep_bilinear_default_select]
default_bilinear_tex_line = ' & '.join(['Bilinear', '-', '-', '-']+ ['${0:.1f}$'.format(100*x) for x in default_bilinear_tex_line]) + '\\\\'
print(default_bilinear_tex_line)
default_1hid_tex_line = [pos_1hid_default_acc, pos_1hid_default_ctl, pos_1hid_default_select] + [dep_1hid_default_acc, dep_1hid_default_ctl, dep_1hid_default_select]
default_1hid_tex_line = ' & '.join(['MLP-1'] +['${0:.1f}$'.format(100*x) for x in default_1hid_tex_line]) + '\\\\'
print(default_1hid_tex_line)
default_2hid_tex_line = [pos_2hid_default_acc, pos_2hid_default_ctl, pos_2hid_default_select] + [dep_2hid_default_acc, dep_2hid_default_ctl, dep_2hid_default_select]
default_2hid_tex_line = ' & '.join(['MLP-2'] +['${0:.1f}$'.format(100*x) for x in default_2hid_tex_line]) + '\\\\'
print(default_2hid_tex_line)
print('\\midrule')
### Probes designed with control tasks
print('\\multicolumn{7}{c}{Probes with Control Tasks }')
print('\\vspace{3pt}\\\\')
pos_rank_results = json.load(open('pos-codalab/summarize_pos_rank/results.json'))
dep_wd_results = json.load(open('dep-codalab/summarize_dep_wd/results.json'))
pos_linear_default_acc = pos_rank_results["rank"]["0"]['0hid'][2] # Rank=10
pos_linear_default_ctl = pos_rank_results["rank"]["1"]['0hid'][2] # Rank=10
pos_linear_default_select = pos_linear_default_acc - pos_linear_default_ctl
print(pos_rank_results['hyperparameter_options'][2], 'rank=10',file=sys.stderr)
#pos_linear_default_select = (1-pos_linear_default_ctl)/ (1-pos_linear_default_acc)
dep_bilinear_default_acc = dep_wd_results["wd"]["0"]['bilinear'][1] # wd=.01
dep_bilinear_default_ctl = dep_wd_results["wd"]["1"]['bilinear'][1] # wd=.01
print(dep_wd_results['hyperparameter_options'][1], 'wd=.01',file=sys.stderr)
dep_bilinear_default_select = dep_bilinear_default_acc - dep_bilinear_default_ctl
#dep_bilinear_default_select = (1-dep_bilinear_default_ctl)/(1- dep_bilinear_default_acc)
pos_1hid_default_acc = pos_rank_results["rank"]["0"]['1hid'][3] # rank=45
pos_1hid_default_ctl = pos_rank_results["rank"]["1"]['1hid'][3] # rank=45
pos_1hid_default_select = pos_1hid_default_acc - pos_1hid_default_ctl
print(pos_rank_results['hyperparameter_options'][3], 'rank=45',file=sys.stderr)
#pos_1hid_default_select = (1-pos_1hid_default_ctl)/(1- pos_1hid_default_acc)
dep_1hid_default_acc = dep_wd_results["wd"]["0"]['1hid'][2] # wd=.1
dep_1hid_default_ctl = dep_wd_results["wd"]["1"]['1hid'][2] # wd=.1
dep_1hid_default_select = dep_1hid_default_acc - dep_1hid_default_ctl
print(dep_wd_results['hyperparameter_options'][2], 'wd=0.1',file=sys.stderr)
#dep_1hid_default_select = (1-dep_1hid_default_ctl)/(1-dep_1hid_default_acc)
pos_2hid_default_acc = pos_rank_results["rank"]["0"]['2hid'][3] # rank=45
pos_2hid_default_ctl = pos_rank_results["rank"]["1"]['2hid'][3] # rank=45
pos_2hid_default_select = pos_2hid_default_acc - pos_2hid_default_ctl
print(pos_rank_results['hyperparameter_options'][3], 'rank=45',file=sys.stderr)
#pos_2hid_default_select = (1-pos_2hid_default_ctl) / (1-pos_2hid_default_acc)
dep_2hid_default_acc = dep_wd_results["wd"]["0"]['2hid'][2] # wd=.1
dep_2hid_default_ctl = dep_wd_results["wd"]["1"]['2hid'][2] # wd=.1
dep_2hid_default_select = dep_2hid_default_acc - dep_2hid_default_ctl
print(dep_wd_results['hyperparameter_options'][2], 'wd=0.1',file=sys.stderr)
#dep_2hid_default_select = (1-dep_2hid_default_ctl) / (1-dep_2hid_default_acc)
default_linear_tex_line = [pos_linear_default_acc, pos_linear_default_ctl, pos_linear_default_select]
default_linear_tex_line = ' & '.join(['Linear'] + ['${0:.1f}$'.format(100*x) for x in default_linear_tex_line] + ['-', '-', '-']) + '\\\\'
print(default_linear_tex_line)
default_bilinear_tex_line = [dep_bilinear_default_acc, dep_bilinear_default_ctl, dep_bilinear_default_select]
default_bilinear_tex_line = ' & '.join(['Bilinear', '-', '-', '-']+ ['${0:.1f}$'.format(100*x) for x in default_bilinear_tex_line]) + '\\\\'
print(default_bilinear_tex_line)
default_1hid_tex_line = [pos_1hid_default_acc, pos_1hid_default_ctl, pos_1hid_default_select] + [dep_1hid_default_acc, dep_1hid_default_ctl, dep_1hid_default_select]
default_1hid_tex_line = ' & '.join(['MLP-1'] +['${0:.1f}$'.format(100*x) for x in default_1hid_tex_line]) + '\\\\'
print(default_1hid_tex_line)
default_2hid_tex_line = [pos_2hid_default_acc, pos_2hid_default_ctl, pos_2hid_default_select] + [dep_2hid_default_acc, dep_2hid_default_ctl, dep_2hid_default_select]
default_2hid_tex_line = ' & '.join(['MLP-2'] +['${0:.1f}$'.format(100*x) for x in default_2hid_tex_line]) + '\\\\'
print(default_2hid_tex_line)
print('\\bottomrule')
print('\\end{tabular}')
| 61.52907 | 165 | 0.773694 | 1,677 | 10,583 | 4.374478 | 0.041741 | 0.098146 | 0.063795 | 0.03108 | 0.950927 | 0.947519 | 0.928708 | 0.872274 | 0.855643 | 0.855643 | 0 | 0.041194 | 0.066427 | 10,583 | 171 | 166 | 61.888889 | 0.701316 | 0.153643 | 0 | 0.576271 | 0 | 0.008475 | 0.168798 | 0.053611 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.016949 | 0.271186 | 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 |
59c2006019f68e02e1584c8e3584e5c4fe60e7f6 | 2,167 | py | Python | examples/maml/load_assistive_gym.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | examples/maml/load_assistive_gym.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | examples/maml/load_assistive_gym.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | from torchmeta.datasets.helpers import omniglot
from torchmeta.toy.helpers import sinusoid, behaviour
from torchmeta.utils.data import BatchMetaDataLoader
# dataset = omniglot("data", ways=5, shots=5, test_shots=15, meta_train=True, download=True)
# dataloader = BatchMetaDataLoader(dataset, batch_size=16, num_workers=4)
# for batch in dataloader:
# train_inputs, train_targets = batch["train"]
# print('Train inputs shape: {0}'.format(train_inputs.shape)) # (16, 25, 1, 28, 28)
# print('Train targets shape: {0}'.format(train_targets.shape)) # (16, 25)
# test_inputs, test_targets = batch["test"]
# print('Test inputs shape: {0}'.format(test_inputs.shape)) # (16, 75, 1, 28, 28)
# print('Test targets shape: {0}'.format(test_targets.shape)) # (16, 75)
# dataset = sinusoid(shots=1000, test_shots=100)
# dataloader = BatchMetaDataLoader(dataset, batch_size=16, num_workers=4)
# for batch in dataloader:
# train_inputs, train_targets = batch['train']
# print('Train inputs shape: {0}'.format(train_inputs.shape)) # (16, 25, 1, 28, 28)
# print('Train targets shape: {0}'.format(train_targets.shape)) # (16, 25)
# test_inputs, test_targets = batch["test"]
# print('Test inputs shape: {0}'.format(test_inputs.shape)) # (16, 75, 1, 28, 28)
# print('Test targets shape: {0}'.format(test_targets.shape)) # (16, 75)
inputs = [
"new_models/210430/dataset/BedBathingJacoHuman-v0217_0-v1-human-coop-robot-coop_10k",
"new_models/210430/dataset/BedBathingJacoHuman-v0217_0-v1-human-coop-robot-coop_10k"
]
dataset = behaviour(inputs, shots=1000, test_shots=200)
dataloader = BatchMetaDataLoader(dataset, batch_size=16, num_workers=4)
for batch in dataloader:
train_inputs, train_targets = batch['train']
print('Train inputs shape: {0}'.format(train_inputs.shape)) # (16, 25, 1, 28, 28)
print('Train targets shape: {0}'.format(train_targets.shape)) # (16, 25)
test_inputs, test_targets = batch["test"]
print('Test inputs shape: {0}'.format(test_inputs.shape)) # (16, 75, 1, 28, 28)
print('Test targets shape: {0}'.format(test_targets.shape)) # (16, 75)
| 46.106383 | 92 | 0.689894 | 301 | 2,167 | 4.833887 | 0.179402 | 0.090722 | 0.098969 | 0.074227 | 0.803436 | 0.803436 | 0.803436 | 0.803436 | 0.803436 | 0.803436 | 0 | 0.079148 | 0.154592 | 2,167 | 46 | 93 | 47.108696 | 0.715066 | 0.571758 | 0 | 0 | 0 | 0 | 0.295429 | 0.182832 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0.25 | 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 |
59cfdff668a017643486cbbf5e53cb0598bfad57 | 184 | py | Python | code_search/src/code_search/do_fns/__init__.py | AlexRogalskiy/kubeflow-examples | 2d6a784b6206cb9d692de622b91f23f6f965d44c | [
"Apache-2.0"
] | 8 | 2018-05-28T02:13:40.000Z | 2022-01-15T05:06:49.000Z | code_search/src/code_search/do_fns/__init__.py | katacoda/kubeflow-examples | 2d6a784b6206cb9d692de622b91f23f6f965d44c | [
"Apache-2.0"
] | 2 | 2022-01-06T13:28:33.000Z | 2022-01-06T13:28:51.000Z | code_search/src/code_search/do_fns/__init__.py | AlexRogalskiy/kubeflow-examples | 2d6a784b6206cb9d692de622b91f23f6f965d44c | [
"Apache-2.0"
] | 6 | 2018-11-05T14:12:54.000Z | 2022-02-22T10:56:06.000Z | from code_search.do_fns.github_files import ExtractFuncInfo
from code_search.do_fns.github_files import TokenizeCodeDocstring
from code_search.do_fns.github_files import SplitRepoPath
| 46 | 65 | 0.902174 | 27 | 184 | 5.814815 | 0.407407 | 0.152866 | 0.267516 | 0.305732 | 0.687898 | 0.687898 | 0.687898 | 0.687898 | 0 | 0 | 0 | 0 | 0.065217 | 184 | 3 | 66 | 61.333333 | 0.912791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ab80f9cae183663424b857598ba953b393c633a0 | 621 | py | Python | trojsten/special/installed_apps.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | null | null | null | trojsten/special/installed_apps.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | null | null | null | trojsten/special/installed_apps.py | MvonK/web | b701a6ea8fb6f0bdfb720e66d0a430db13db8bff | [
"MIT"
] | null | null | null | INSTALLED_APPS = (
"trojsten.special.plugin_ksp_32_1_1",
"trojsten.special.plugin_ksp_32_2_1",
"trojsten.special.plugin_prask_1_2_1",
"trojsten.special.plugin_prask_1_2_3",
"trojsten.special.plugin_prask_2_1_3",
"trojsten.special.plugin_prask_2_2_3",
"trojsten.special.plugin_prask_2_3_3",
"trojsten.special.plugin_prask_2_4_1",
"trojsten.special.plugin_prask_2_4_3",
"trojsten.special.plugin_prask_3_3_3",
"trojsten.special.plugin_prask_5_1_1",
"trojsten.special.plugin_prask_5_1_2",
"trojsten.special.plugin_prask_7_1_1",
"trojsten.special.plugin_prask_7_2_1",
)
| 36.529412 | 42 | 0.763285 | 100 | 621 | 4.17 | 0.14 | 0.503597 | 0.705036 | 0.748201 | 0.956835 | 0.693046 | 0.278177 | 0.141487 | 0 | 0 | 0 | 0.080439 | 0.119163 | 621 | 16 | 43 | 38.8125 | 0.681901 | 0 | 0 | 0 | 0 | 0 | 0.785829 | 0.785829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abbc81f5dcbc99c5a71612839b7d7fdc2e49d30d | 194 | py | Python | prime/index_ambiguity/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | prime/index_ambiguity/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | prime/index_ambiguity/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
import boost_adaptbx.boost.python as bp
ext = bp.import_ext("prime_index_ambiguity_ext")
from prime_index_ambiguity_ext import *
| 38.8 | 64 | 0.85567 | 29 | 194 | 5.241379 | 0.551724 | 0.131579 | 0.25 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087629 | 194 | 4 | 65 | 48.5 | 0.858757 | 0 | 0 | 0 | 0 | 0 | 0.128866 | 0.128866 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.25 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abe24e5ec681efc5e21236fad626c9f33534f282 | 93 | py | Python | Sea/adapter/system/ViewProviderFrequency.py | FRidh/Sea | b474e93a449570a9ba3b915c4d80f814feee2545 | [
"BSD-3-Clause"
] | 2 | 2015-07-02T13:34:09.000Z | 2015-09-28T09:07:52.000Z | Sea/adapter/system/ViewProviderFrequency.py | FRidh/Sea | b474e93a449570a9ba3b915c4d80f814feee2545 | [
"BSD-3-Clause"
] | null | null | null | Sea/adapter/system/ViewProviderFrequency.py | FRidh/Sea | b474e93a449570a9ba3b915c4d80f814feee2545 | [
"BSD-3-Clause"
] | 1 | 2022-01-22T03:01:54.000Z | 2022-01-22T03:01:54.000Z |
from ..base import ViewProviderBase
class ViewProviderFrequency(ViewProviderBase):
pass | 18.6 | 46 | 0.817204 | 8 | 93 | 9.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 5 | 47 | 18.6 | 0.938272 | 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 |
e62e475ff614d259171bb64711798393e4959192 | 221 | py | Python | gym_radio_scheduler/envs/src/__init__.py | vidits-kth/gym-radio-scheduler | be072423dd584ce927c59068398c5d5446a40b50 | [
"MIT"
] | 2 | 2018-12-05T08:32:21.000Z | 2021-04-12T14:24:42.000Z | gym_radio_scheduler/envs/src/__init__.py | vidits-kth/gym-radio-scheduler | be072423dd584ce927c59068398c5d5446a40b50 | [
"MIT"
] | null | null | null | gym_radio_scheduler/envs/src/__init__.py | vidits-kth/gym-radio-scheduler | be072423dd584ce927c59068398c5d5446a40b50 | [
"MIT"
] | 2 | 2018-12-05T08:32:29.000Z | 2019-02-05T19:44:50.000Z | from .baseband_processing import *
from .buffer_manipulation import *
from .channel_quality_index import *
from .radio_channel import *
from .plot_utils import *
from .postprocessing import *
from .preprocessing import *
| 27.625 | 36 | 0.809955 | 27 | 221 | 6.407407 | 0.518519 | 0.346821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126697 | 221 | 7 | 37 | 31.571429 | 0.896373 | 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 |
e635d24ab59f67f281f48b901edfaeb79c018010 | 33 | py | Python | systemconfig/validators/__init__.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | systemconfig/validators/__init__.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | 10 | 2020-03-24T17:09:56.000Z | 2021-12-13T20:00:15.000Z | systemconfig/validators/__init__.py | PyFlux/PyFlux-Django-Html | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | from .common_validators import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 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 |
0558f54750f8f207ea6bc6d711f8336917f5f3f1 | 103 | py | Python | Math/2588_곱셈/2588_곱셈.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | 1 | 2022-03-30T15:50:47.000Z | 2022-03-30T15:50:47.000Z | Math/2588_곱셈/2588_곱셈.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | null | null | null | Math/2588_곱셈/2588_곱셈.py | 7dudtj/BOJ_myCode | 37d105590a7963e2232102b3098fea3c3504b96f | [
"MIT"
] | 1 | 2021-07-20T07:11:06.000Z | 2021-07-20T07:11:06.000Z | a = int(input())
b = input()
print(a*int(b[2]))
print(a*int(b[1]))
print(a*int(b[0]))
print(a*int(b))
| 12.875 | 18 | 0.563107 | 24 | 103 | 2.416667 | 0.333333 | 0.344828 | 0.62069 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.106796 | 103 | 7 | 19 | 14.714286 | 0.597826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
055a9cd3a1b6c0e55307db02649ba47818204b28 | 171 | py | Python | terrascript/docker/d.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/docker/d.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/docker/d.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | from terrascript import _data
class docker_registry_image(_data): pass
registry_image = docker_registry_image
class docker_network(_data): pass
network = docker_network
| 21.375 | 40 | 0.847953 | 23 | 171 | 5.869565 | 0.434783 | 0.288889 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 171 | 7 | 41 | 24.428571 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
056c75d725f082693f267817bd747e927ca5f37f | 49 | py | Python | lib/__init__.py | MrFlynn/wordfilter | 8ff8c5796f7badfa7e49821862c75f0cdaa0d705 | [
"MIT"
] | 196 | 2015-01-17T01:34:56.000Z | 2021-12-27T17:49:49.000Z | lib/__init__.py | MrFlynn/wordfilter | 8ff8c5796f7badfa7e49821862c75f0cdaa0d705 | [
"MIT"
] | 27 | 2015-02-17T16:44:18.000Z | 2021-03-18T23:35:30.000Z | lib/__init__.py | MrFlynn/wordfilter | 8ff8c5796f7badfa7e49821862c75f0cdaa0d705 | [
"MIT"
] | 61 | 2015-02-14T20:31:39.000Z | 2022-03-11T16:12:49.000Z | from .wordfilter import Wordfilter # noqa: F401
| 24.5 | 48 | 0.77551 | 6 | 49 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 1 | 49 | 49 | 0.853659 | 0.204082 | 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 |
554c698600ccfd11986d830dc58a46d8d1fa05f9 | 121 | py | Python | ctools/worker/actor/env_manager/__init__.py | XinyuJing/DI-star | b573a5462e3d0ab72298c767eb945742e36fa6d8 | [
"Apache-2.0"
] | 267 | 2021-07-08T02:18:08.000Z | 2022-03-02T11:37:33.000Z | ctools/worker/actor/env_manager/__init__.py | XinyuJing/DI-star | b573a5462e3d0ab72298c767eb945742e36fa6d8 | [
"Apache-2.0"
] | 5 | 2021-07-15T22:55:22.000Z | 2022-01-11T15:28:10.000Z | ctools/worker/actor/env_manager/__init__.py | XinyuJing/DI-star | b573a5462e3d0ab72298c767eb945742e36fa6d8 | [
"Apache-2.0"
] | 35 | 2021-07-08T08:01:51.000Z | 2022-02-10T07:00:24.000Z | from .base_env_manager import BaseEnvManager
from .vec_env_manager import SubprocessEnvManager, SyncSubprocessEnvManager
| 40.333333 | 75 | 0.900826 | 13 | 121 | 8.076923 | 0.692308 | 0.190476 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07438 | 121 | 2 | 76 | 60.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
554f00c725263132750b45f44d609043670cceeb | 38 | py | Python | project/management/__init__.py | danielbraga/hcap | a3ca0d6963cff19ed6ec0436cce84e2b41615454 | [
"MIT"
] | null | null | null | project/management/__init__.py | danielbraga/hcap | a3ca0d6963cff19ed6ec0436cce84e2b41615454 | [
"MIT"
] | null | null | null | project/management/__init__.py | danielbraga/hcap | a3ca0d6963cff19ed6ec0436cce84e2b41615454 | [
"MIT"
] | null | null | null | from .base_command import BaseCommand
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 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 |
5564e1dc1f9a981c6cf9dafb405226bea5a817d9 | 42 | py | Python | credentialdigger/generator/__init__.py | Soontao/credential-digger | 365eedca3eaec201503441046ba0c37937db69e1 | [
"Apache-2.0"
] | null | null | null | credentialdigger/generator/__init__.py | Soontao/credential-digger | 365eedca3eaec201503441046ba0c37937db69e1 | [
"Apache-2.0"
] | null | null | null | credentialdigger/generator/__init__.py | Soontao/credential-digger | 365eedca3eaec201503441046ba0c37937db69e1 | [
"Apache-2.0"
] | null | null | null | from .generator import ExtractorGenerator
| 21 | 41 | 0.880952 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 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 |
55a1b77fabc90c335aed81f7099b60e389312f5e | 108 | py | Python | src/pyoffice/outlook/windows/dasl/linker/__init__.py | qq809326636/pyoffice | a3c036ef82f6b0438c1e38a7675eb1f06c61144d | [
"MIT"
] | 7 | 2020-06-19T03:11:48.000Z | 2020-11-18T06:14:21.000Z | src/pyoffice/outlook/windows/dasl/linker/__init__.py | qq809326636/pyoffice | a3c036ef82f6b0438c1e38a7675eb1f06c61144d | [
"MIT"
] | null | null | null | src/pyoffice/outlook/windows/dasl/linker/__init__.py | qq809326636/pyoffice | a3c036ef82f6b0438c1e38a7675eb1f06c61144d | [
"MIT"
] | null | null | null | from .AndLinker import *
from .BaseLinker import *
from .OrLinker import *
from .LinkerFactory import *
| 21.6 | 29 | 0.740741 | 12 | 108 | 6.666667 | 0.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 4 | 30 | 27 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
e96e7440f3030faabd8b6bf17f1a110d81467741 | 45 | py | Python | TypewriterPrint/__init__.py | radroid/typerwriter-effect | 586b7949b42e125950b991304006a198449f82fc | [
"MIT"
] | 1 | 2020-07-24T06:39:52.000Z | 2020-07-24T06:39:52.000Z | TypewriterPrint/__init__.py | radroid/typerwriter-effect | 586b7949b42e125950b991304006a198449f82fc | [
"MIT"
] | null | null | null | TypewriterPrint/__init__.py | radroid/typerwriter-effect | 586b7949b42e125950b991304006a198449f82fc | [
"MIT"
] | null | null | null | from .TypewriterPrint import TypewriterPrint
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
e9b493c87220e3433e993f1361b0cd4f8e227d82 | 278 | py | Python | ultrafastultrafast/__init__.py | peterarose/UF2 | cfc2c6625467945e12ac08bd267f79b6741e567f | [
"MIT"
] | 2 | 2020-02-28T15:36:42.000Z | 2021-07-26T21:27:54.000Z | ultrafastultrafast/__init__.py | peterarose/UF2 | cfc2c6625467945e12ac08bd267f79b6741e567f | [
"MIT"
] | null | null | null | ultrafastultrafast/__init__.py | peterarose/UF2 | cfc2c6625467945e12ac08bd267f79b6741e567f | [
"MIT"
] | null | null | null | from ultrafastultrafast.core import Wavepackets
from ultrafastultrafast.RK_core import RK_Wavepackets
from ultrafastultrafast.dipole_pruning import DipolePruning
import ultrafastultrafast.signals as signals
import ultrafastultrafast.vibronic_eigenstates as vibronic_eigenstates
| 46.333333 | 70 | 0.910072 | 30 | 278 | 8.266667 | 0.433333 | 0.266129 | 0.266129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 278 | 5 | 71 | 55.6 | 0.96124 | 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 | 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 |
e9b673b550b41271f020c929f82aa249eef22c8a | 172 | py | Python | mikenet/__init__.py | michael2017le/mikenet | 88bde76c529110529b7b9b3293bf710b4e288f2c | [
"MIT"
] | null | null | null | mikenet/__init__.py | michael2017le/mikenet | 88bde76c529110529b7b9b3293bf710b4e288f2c | [
"MIT"
] | null | null | null | mikenet/__init__.py | michael2017le/mikenet | 88bde76c529110529b7b9b3293bf710b4e288f2c | [
"MIT"
] | null | null | null | from mikenet.loss import MSE
from mikenet.layers import Linear, Tanh, ReLU
from mikenet.optim import SGD
from mikenet.nn import Sequential
from mikenet.train import train
| 24.571429 | 45 | 0.825581 | 27 | 172 | 5.259259 | 0.518519 | 0.387324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133721 | 172 | 6 | 46 | 28.666667 | 0.95302 | 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 |
e9c8308a92b780784f20f4e3af18397e40920811 | 50,574 | py | Python | LossJLearn/linear_model/_stochastic_gradient.py | LossJ/Statistical-Machine-Learning | c70fd82ee287f4902d8607ec459e52b0a301d6a2 | [
"MIT"
] | null | null | null | LossJLearn/linear_model/_stochastic_gradient.py | LossJ/Statistical-Machine-Learning | c70fd82ee287f4902d8607ec459e52b0a301d6a2 | [
"MIT"
] | 1 | 2020-09-26T07:57:23.000Z | 2020-09-26T07:57:23.000Z | LossJLearn/linear_model/_stochastic_gradient.py | LossJ/Statistical-Machine-Learning | c70fd82ee287f4902d8607ec459e52b0a301d6a2 | [
"MIT"
] | null | null | null | import time
import copy
from ._base import NumpyBaseLinearRegressor, TFBaseLinearRegressor, TorchBaseLinearRegressor
from ..utils.translator import sec2time
from ..datasets._generator import TorchBaseDataset
import numpy as np
import tensorflow as tf
from tensorflow import keras
import torch
import torch.nn.functional as F
from torch.utils.data import DataLoader, random_split
class NumpySGDBaseEstimator:
"""SGD Estimator Base class with numpy.
Attributes:
_X_train:feature data for training. A np.ndarray matrix of (n_samples,
n_features) shape, data type must be continuous value type.
_y_train:label data for training. A np.ndarray array of (n_samples, ) shape,
data type must be continuous value.
coef_: coef of linear regressor. A np.ndarray matrix of (n_features, ) shape.
intercept_: intercept of regressor. A np.ndarray integer if intercept_ is
not None else None.
alpha: the regularize rate. A float number and must be greater than 0,
default = 0.001.
save_param_list: if save param of the train process. A bool value, default = True.
coef_list: list of coef param from the train process,
every coef is a np.ndarray of (n_features, ) shape.
intercept_list: list of intercept param from the train process,
every intercept is a np.ndarray float number.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again. A bool value,
default = True.
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l1", "l2"} if regularize
is not None else None, default = None.
best_loss: best loss of the train process. A np.ndarray float number.
best_coef: best coef of the train process. A np.ndarray array of
(n_features, 1) shape.
best_intercept_: best intercept of the train process. A np.ndarray number.
train_loss: list of train loss from the train process.
every loss is a np.ndarray float number.
valid_loss: list of valid loss from the train process.
every loss is a np.ndarray float number.
n_iter: the actual iteration of train process. A int number, initial = 0.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True.
"""
def __init__(
self,
loss="mse",
alpha=0.0001,
fit_intercept=True,
save_param_list=True,
learning_rate=0.0001,
epochs=10,
batch_size=32,
print_step=1,
early_stopping=True,
patient=5,
toc=0.0001,
random_state=None,
regularize=None,
shuffle=True,
save_best_model=True
):
"""NumpySGDBaseEstimator initial method.
Args:
loss: A str in {"mse"}, default = "mse"
alpha: the regularize rate. A float number and must be greater
than 0, default = 0.001.
fit_intercept: if fit intercept. A bool value, default = True.
save_param_list: if save param of the train process. A bool value,
default = True.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again.
A bool value, default = True
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l2"} if regularize
is not None else None, default = None.
shuffle: if shuffle the train data. A bool value, default = True.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True.
Raises:
AssertionError: Some parameters do not match.
"""
(
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
print_step,
early_stopping,
patient,
toc,
random_state,
regularize,
shuffle,
save_best_model
) = self._init_validation(
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
print_step,
early_stopping,
patient,
toc,
random_state,
regularize,
shuffle,
save_best_model
)
self.random_state = None
if random_state:
self.random_state = random_state
np.random.seed(self.random_state)
loss_func_dict = {"mse": self._mse}
loss_gradient_func_dict = {"mse": self._mse_gradient}
self._loss_func = loss_func_dict[loss]
self._gradient_func = loss_gradient_func_dict[loss]
self.alpha = alpha
self.intercept_ = None
if fit_intercept:
self.intercept_ = np.random.randn()
self.save_param_list = save_param_list
self.learning_rate = learning_rate
self.epochs = epochs
self.batch_size = batch_size
self._print_step = print_step
self.early_stopping = early_stopping
self.patient = patient
self.toc = toc
self.regularize = regularize
self.shuffle = shuffle
self.save_best_model = save_best_model
self._X_train = None
self._y_train = None
self.n_iter_ = 0
self.coef_ = None
self.best_loss = float("inf")
self.best_coef_ = None
self.best_intercept_ = None
self.best_epoch = 1
self.coef_list = []
self.intercept_list = []
self.valid_loss = []
self.train_loss = []
def fit(self, X_train, y_train, validation_data=None):
"""train model methed.
Args:
X_train: A np.ndarray matrix of (n_samples, n_features) shape,
data type must be continuous value type.
y_train: A np.ndarray array of (n_samples, ) shape, data type
must be continuous value type.
validation: the validation data for validate the model. A tuple
like (X_valid, y_valid) , the shape of X_valid and y_valid is
like X_train and y_train. Default = None.
"""
self._X_train, self._y_train = self._fit_validation(X_train, y_train)
X_valid, y_valid = self._validation_data_valid(validation_data)
if self.coef_ is None:
self.coef_ = np.random.randn(self._X_train.shape[1])
current_patient = 0
last_valid_loss = None
self.coef_list.append(copy.deepcopy(self.coef_))
self.intercept_list.append(self.intercept_)
for epoch in range(self.epochs):
# train model
self._fit_train()
# validate model
valid_mean_loss = self._fit_valid(X_valid, y_valid, epoch)
self.n_iter_ += 1
# early stopping
if self.early_stopping and epoch != 0:
if last_valid_loss - valid_mean_loss < self.toc:
current_patient += 1
else:
current_patient = 0
if current_patient >= self.patient:
break
last_valid_loss = valid_mean_loss
if self.save_best_model:
self.coef_ = self.best_coef_
self.intercept_ = self.best_intercept_
self._final_print()
return self
def _final_print(self):
print(
f"Actual iter epoch: {self.n_iter_}, best epoch: {self.best_epoch}, "
f"best loss: {self.best_loss}, best coef: {self.best_coef_}, "
f"best intercept: {self.best_intercept_}"
)
def _fit_train(self):
train_data = self._batch_generator(self._X_train, self._y_train, self.shuffle)
for X_batch, y_batch in train_data:
y_pred = self.predict(X_batch, _miss_valid=True)
coef_gradient, intercept_gradient = self._gradient_func(
y_batch, y_pred, X_batch
)
self.coef_ -= self.learning_rate * coef_gradient
if self.intercept_:
self.intercept_ -= self.learning_rate * intercept_gradient
train_loss_last_batch = self._loss_func(y_batch, y_pred)
self.train_loss.append(train_loss_last_batch)
def _fit_valid(self, X_valid, y_valid, epoch):
valid_data = self._batch_generator(X_valid, y_valid, self.shuffle)
valid_sum_loss = 0
for X_valid_batch, y_valid_batch in valid_data:
valid_batch_pred = self.predict(X_valid_batch)
loss = self._loss_func(y_valid_batch, valid_batch_pred)
valid_sum_loss += loss
valid_mean_loss = valid_sum_loss / (X_valid.shape[0] // self.batch_size)
if valid_mean_loss < self.best_loss:
self.best_loss = valid_mean_loss
self.best_coef_ = self.coef_
self.best_intercept_ = self.intercept_
self.best_epoch = epoch + 1
if self.save_param_list:
self.coef_list.append(copy.deepcopy(self.coef_))
self.intercept_list.append(self.intercept_)
if (epoch + 1) % self._print_step == 0:
print(f"Epoch {epoch + 1}: valid_data loss: {valid_mean_loss}")
self.valid_loss.append(valid_mean_loss)
return valid_mean_loss
def _validation_data_valid(self, validation_data):
if validation_data:
assert isinstance(validation_data, tuple) and len(validation_data) == 2
X_valid, y_valid = validation_data
X_valid, y_valid = self._fit_validation(X_valid, y_valid)
else:
X_train_len = int(self._X_train.shape[0] * 0.25)
X_valid = self._X_train[X_train_len:]
y_valid = self._y_train[X_train_len:]
self._X_train = self._X_train[:X_train_len]
self._y_train = self._y_train[:X_train_len]
return X_valid, y_valid
def _batch_generator(self, X_data, y_data, shuffle=True):
step = 0
steps_per_epoch = X_data.shape[0] // self.batch_size
while steps_per_epoch > step:
if shuffle:
index = np.random.choice(X_data.shape[0], self.batch_size)
else:
index = np.arange(self.batch_size * step, self.batch_size * (step + 1))
yield X_data[index], y_data[index]
step += 1
def _regularize_gradient(self, coef_gradient):
if self.regularize is None:
return coef_gradient
elif self.regularize == "l2":
return coef_gradient + 2 * self.alpha * self.coef_
def _init_validation(
self,
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
print_step,
early_stopping,
patient,
toc,
random_state,
regularize,
shuffle,
save_best_model
):
loss_key_set = {"mse", "cross_entropy"}
assert loss in loss_key_set
assert isinstance(alpha, (int, float))
assert 0 < alpha
assert isinstance(fit_intercept, bool)
assert isinstance(save_param_list, bool)
assert isinstance(learning_rate, (int, float))
assert 0 < learning_rate
assert isinstance(epochs, int) and epochs >= 1
assert isinstance(batch_size, int) and batch_size >= 1
assert isinstance(print_step, int) and print_step >= 1
assert isinstance(early_stopping, bool)
assert isinstance(patient, int) and patient >= 2
assert isinstance(toc, (int, float)) and toc > 0.0
assert (random_state is None) or isinstance(random_state, int)
regularize_key_set = {None, "l2"}
assert regularize in regularize_key_set
assert isinstance(shuffle, bool)
assert isinstance(save_best_model, bool)
return (
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
print_step,
early_stopping,
patient,
toc,
random_state,
regularize,
shuffle,
save_best_model
)
class NumpySGDRegressor(NumpySGDBaseEstimator, NumpyBaseLinearRegressor):
"""SGD Regressor model with numpy, explicitly inherits
from NumpyBaseLinearRegression and NumpySGDBaseEstimator already.
Attributes:
_X_train:feature data for training. A np.ndarray matrix of (n_samples,
n_features) shape, data type must be continuous value type.
_y_train:label data for training. A np.ndarray array of (n_samples, ) shape,
data type must be continuous value.
coef_: coef of linear regressor. A np.ndarray matrix of (n_features, ) shape.
intercept_: intercept of regressor. A np.ndarray integer if intercept_ is
not None else None.
alpha: the regularize rate. A float number and must be greater than 0,
default = 0.001.
save_param_list: if save param of the train process. A bool value, default = True.
coef_list: list of coef param from the train process,
every coef is a np.ndarray of (n_features, ) shape.
intercept_list: list of intercept param from the train process,
every intercept is a np.ndarray float number.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again. A bool value,
default = True.
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l1", "l2"} if regularize
is not None else None, default = None.
best_loss: best loss of the train process. A np.ndarray float number.
best_coef: best coef of the train process. A np.ndarray array of
(n_features, 1) shape.
best_intercept_: best intercept of the train process. A np.ndarray number.
train_loss: list of train loss from the train process.
every loss is a np.ndarray float number.
valid_loss: list of valid loss from the train process.
every loss is a np.ndarray float number.
n_iter: the actual iteration of train process. A int number, initial = 0.
"""
def __init__(
self,
loss="mse",
alpha=0.0001,
fit_intercept=True,
save_param_list=True,
learning_rate=0.0001,
epochs=10,
batch_size=32,
print_step=1,
early_stopping=True,
patient=5,
toc=0.0001,
random_state=None,
regularize=None,
shuffle=True
):
"""NumpySGDRegressor initial method.
Args:
loss: A str in {"mse"}, default = "mse"
alpha: the regularize rate. A float number and must be greater
than 0, default = 0.001.
fit_intercept: if fit intercept. A bool value, default = True.
save_param_list: if save param of the train process. A bool value,
default = True.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again.
A bool value, default = True
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l2"} if regularize
is not None else None, default = None.
shuffle: if shuffle the train data. A bool value, default = True.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True
Raises:
AssertionError: Some parameters do not match.
"""
super().__init__(
loss=loss,
alpha=alpha,
fit_intercept=fit_intercept,
save_param_list=save_param_list,
learning_rate=learning_rate,
epochs=epochs,
batch_size=batch_size,
print_step=print_step,
early_stopping=early_stopping,
patient=patient,
toc=toc,
random_state=random_state,
regularize=regularize,
shuffle=shuffle
)
def _mse_gradient(self, y_true, y_pred, x):
difference_y = y_pred - y_true
intercept_gradient = None
if self.intercept_:
intercept_gradient = np.sum(difference_y) * 2 / self.batch_size
coef_gradient = (
np.sum(difference_y.reshape([-1, 1]) * x, axis=0) * 2 / self.batch_size
)
coef_gradient = self._regularize_gradient(coef_gradient)
return coef_gradient, intercept_gradient
def _mse(self, y, pred):
return np.sum(np.square(y - pred)) / y.shape[0]
class TFSGDRegressor(TFBaseLinearRegressor):
"""Linear SGD regressor class with tensorflow, explicitly inherits
from TFBaseLinearRegressor already.
Attributes:
_X_train:feature data for training. A tf.Tensor matrix of (n_samples,
n_features) shape, data type must be continuous value type.
_y_train:label data for training. A tf.Tensor array of (n_samples, ) shape,
data type must be continuous value.
coef_: coef of linear regressor. A tf.Tensor matrix of (n_features, 1) shape.
intercept_: intercept of regressor. A tf.Tensor integer if intercept_ is
not None else None.
alpha: the regularize rate. A float number and must be greater than 0,
default = 0.001.
save_param_list: if save param of the train process. A bool value, default = True.
coef_list: list of coef param from the train process,
every coef is a np.ndarray of (n_features, ) shape.
intercept_list: list of intercept param from the train process,
every intercept is a np.ndarray float number.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again. A bool value,
default = True.
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l1", "l2"} if regularize
is not None else None, default = None.
best_loss: best loss of the train process. A np.ndarray float number.
best_coef: best coef of the train process. A tf.Tensor array of
(n_features, 1) shape.
best_intercept_: best intercept of the train process. A tf.Tensor number.
train_loss: list of train loss from the train process.
every loss is a np.ndarray float number.
valid_loss: list of valid loss from the train process.
every loss is a np.ndarray float number.
n_iter: the actual iteration of train process. A int number, initial = 0.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True.
"""
def __init__(
self,
loss="mse",
alpha=0.001,
fit_intercept=True,
save_param_list=True,
learning_rate=0.001,
epochs=10,
batch_size=32,
early_stopping=True,
patient=5,
toc=0.001,
random_state=None,
regularize=None,
save_best_model=True
):
"""TFSGDRegressor initial method.
Args:
loss: A str in {"mse"}, default = "mse"
alpha: the regularize rate. A float number and must be greater
than 0, default = 0.001.
fit_intercept: if fit intercept. A bool value, default = True.
save_param_list: if save param of the train process. A bool value,
default = True.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again.
A bool value, default = True
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l1", "l2"} if regularize
is not None else None, default = None.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True
Raises:
AssertionError: Some parameters do not match.
"""
(
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model
) = self._init_validation(
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model
)
self.random_state = random_state
if isinstance(self.random_state, int):
tf.random.set_seed(self.random_state)
loss_func_dict = {"mse": keras.losses.mean_squared_error}
self._loss_func = loss_func_dict[loss]
metric_dict = {"mse": keras.metrics.MeanSquaredError}
self._metric = metric_dict[loss]()
self.alpha = alpha
self.intercept_ = None
if fit_intercept:
self.intercept_ = tf.Variable(tf.random.normal([]))
self.save_param_list = save_param_list
self.coef_list = []
self.intercept_list = []
self.learning_rate = learning_rate
self.epochs = epochs
self.batch_size = batch_size
self.early_stopping = early_stopping
self.patient = patient
self.toc = toc
self.regularize = regularize
self._regularizer = lambda: 0
if self.regularize:
reg_dict = {"l1": keras.regularizers.l1(l1=self.alpha), "l2": keras.regularizers.l2(l2=self.alpha)}
self._regularizer = reg_dict[self.regularize]
self.save_best_model = save_best_model
self._X_train = None
self._y_train = None
self.coef_ = None
self._optimizer = keras.optimizers.SGD(learning_rate=self.learning_rate)
self.best_loss = tf.constant(float("inf")).numpy()
self.best_coef_ = None
self.best_intercept_ = None
self.train_loss = []
self.valid_loss = []
self.n_iter = 0
def fit(self, X_train, y_train, validation=None):
"""train model methed.
Args:
X_train: A np.ndarray matrix of (n_samples, n_features) shape,
data type must be continuous value type.
y_train: A np.ndarray array of (n_samples, ) shape, data type
must be continuous value type.
validation: the validation data for validate the model. A tuple
like (X_valid, y_valid) , the shape of X_valid and y_valid is
like X_train and y_train. Default = None.
Returns:
return self object.
"""
self._X_train, self._y_train = self._fit_validation(X_train, y_train)
X_train, y_train = self._X_train, self._y_train
if self.coef_ is None:
self.coef_ = tf.Variable(tf.random.normal(shape=[self._X_train.shape[1], 1]))
X_valid, y_valid, X_train, y_train = self._validation_valid(validation, X_train, y_train)
steps_per_epoch = self._X_train.shape[0] // self.batch_size
if self.early_stopping:
current_patient = 0
last_val_loss = 0
for epoch in range(self.epochs):
# 1. train
train_data = self._batch_generator(X_train, y_train)
epoch_time = 0
print(f"Epoch {epoch + 1}/{self.epochs}")
self._metric.reset_states()
for step, (X_train_batch, y_train_batch) in enumerate(train_data):
start = time.time()
self._fit_step(X_train_batch, y_train_batch)
epoch_time, mean_step_time, train_loss = self._step_print(steps_per_epoch, step, epoch_time, start)
# 2. valid
val_loss = self._epoch_valid_and_print(X_valid, y_valid, epoch_time, mean_step_time, steps_per_epoch)
# 3. save train process
self._save_train_process(val_loss, train_loss)
self.n_iter += 1
# 4. early stopping
if self.early_stopping:
if epoch != 0:
if last_val_loss - val_loss < self.toc:
current_patient += 1
else:
current_patient = 0
if current_patient >= self.patient:
break
last_val_loss = val_loss
if self.save_best_model:
self._save_best_params()
return self
def _save_best_params(self):
self.coef_ = copy.deepcopy(self.best_coef_)
if self.intercept_ is not None:
self.intercept_ = copy.deepcopy(self.best_intercept_)
def _save_train_process(self, val_loss, train_loss):
if val_loss < self.best_loss:
self.best_loss = copy.deepcopy(val_loss)
self.best_coef_ = copy.deepcopy(self.coef_)
if self.intercept_ is not None:
self.best_intercept_ = copy.deepcopy(self.intercept_)
if self.save_param_list:
self.coef_list.append(self.coef_.numpy().reshape([-1]))
if self.intercept_ is not None:
self.intercept_list.append(self.intercept_.numpy())
self.train_loss.append(train_loss)
self.valid_loss.append(val_loss)
def _validation_valid(self, validation, X_train, y_train):
if validation is None:
n_samples = int(self._X_train.shape[0] * 0.8)
idx = tf.random.shuffle(tf.range(self._X_train.shape[0]))
X_train = tf.gather(self._X_train, indices=idx[:n_samples])
y_train = tf.gather(self._y_train, indices=idx[:n_samples])
X_valid = tf.gather(self._X_train, indices=idx[n_samples:])
y_valid = tf.gather(self._y_train, indices=idx[n_samples:])
else:
X_valid, y_valid = self._fit_validation(*validation)
return X_valid, y_valid, X_train, y_train
@tf.function
def _call(self, X):
y = tf.matmul(X, self.coef_)
if self.intercept_ is not None:
y = tf.add(y, self.intercept_)
return tf.reshape(y, shape=[-1])
def _batch_generator(self, X, y, shuffle=True):
dataset = tf.data.Dataset.from_tensor_slices((X, y))
if shuffle:
dataset = dataset.shuffle(buffer_size=self._X_train.shape[0])
dataset = dataset.batch(self.batch_size)
return dataset
def _init_validation(
self,
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model,
):
assert loss in {"mse"}
assert isinstance(alpha, (int, float)) and 0 < alpha
assert isinstance(fit_intercept, bool)
assert isinstance(save_param_list, bool)
assert isinstance(learning_rate, (int, float)) and 0 < learning_rate <= 1.0
assert isinstance(epochs, int) and epochs >= 1
assert isinstance(batch_size, int) and batch_size >= 1
assert isinstance(early_stopping, bool)
assert isinstance(patient, int) and patient >= 2
assert isinstance(toc, (int, float)) and 0 < toc
assert isinstance(random_state, (type(None), int))
if isinstance(random_state, int):
assert random_state >= 0
assert regularize in {"l2", "l1", None}
assert isinstance(save_best_model, bool)
return (
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model
)
def _fit_step(self, X_train_batch, y_train_batch):
# 1.open a tape and calculate loss under the tape
with tf.GradientTape() as tape:
y_pred_batch = self._call(X_train_batch)
loss = self._loss_func(y_train_batch, y_pred_batch)
if self.regularize:
loss += self._regularizer(self.coef_)
if self.intercept_ is not None:
# 2.use tape to calculate gradients by loss
coef_grad, intercept_grad = tape.gradient(
loss, [self.coef_, self.intercept_]
)
# 3.use optimizer to update params by gradients
# self.coef_.assign_sub(coef_grad * self.learning_rate)
# self.intercept_.assign_sub(intercept_grad * self.learning_rate)
self._optimizer.apply_gradients(
[(coef_grad, self.coef_), (intercept_grad, self.intercept_)]
)
else:
coef_grad = tape.gradient(loss, self.coef_)
self._optimizer.apply_gradients([(coef_grad, self.coef_)])
# 4.use metric to calculate the mean loss for output
self._metric(y_train_batch, y_pred_batch)
def _step_print(self, steps_per_epoch, step, epoch_time, start):
steps_str_len = len(str(steps_per_epoch))
done_count = int((step + 1) / steps_per_epoch * 30)
done_str = "=" * done_count
to_do_str = "." * (30 - 1 - done_count)
end = time.time()
step_time = end - start
epoch_time += step_time
mean_step_time = epoch_time / (step + 1)
remain_time = (steps_per_epoch - (step + 1)) * mean_step_time
remain_time = sec2time(remain_time)
print(
f"\r{step + 1:{steps_str_len}}/{steps_per_epoch} [{done_str}>{to_do_str}] - ETA: {remain_time} "
f"- loss: {self._metric.result().numpy():.4f}",
end="",
)
return epoch_time, mean_step_time, self._metric.result().numpy()
def _epoch_valid_and_print(self, X_valid, y_valid, epoch_time, mean_step_time, steps_per_epoch):
valid_data = self._batch_generator(X_valid, y_valid, shuffle=False)
train_mean_loss = self._metric.result().numpy()
self._metric.reset_states()
for valid_step, (X_valid_batch, y_valid_batch) in enumerate(valid_data):
y_valid_pred = self._call(X_valid_batch)
self._metric(y_valid_batch, y_valid_pred)
epoch_time = sec2time(epoch_time)
mean_step_time = sec2time(mean_step_time)
print(
f"\r{steps_per_epoch}/{steps_per_epoch} [{'=' * 30}] - {epoch_time} {mean_step_time}/step - "
f"loss: {train_mean_loss:.4f} - val_loss: {self._metric.result().numpy():.4f}"
)
return self._metric.result().numpy()
class TorchSGDRegressor(TorchBaseLinearRegressor):
"""Linear SGD regressor class with tensorflow, explicitly inherits
from TFBaseLinearRegressor already.
Attributes:
_X_train:feature data for training. A torch.Tensor matrix of (n_samples,
n_features) shape, data type must be continuous value type.
_y_train:label data for training. A torch.Tensor array of (n_samples, ) shape,
data type must be continuous value.
coef_: coef of linear regressor. A torch.Tensor matrix of (n_features, 1) shape.
intercept_: intercept of regressor. A torch.Tensor integer if intercept_ is
not None else None.
alpha: the regularize rate. A float number and must be greater than 0,
default = 0.001.
save_param_list: if save param of the train process. A bool value, default = True.
coef_list: list of coef param from the train process,
every coef is a np.ndarray of (n_features, ) shape.
intercept_list: list of intercept param from the train process,
every intercept is a np.ndarray float number.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again. A bool value,
default = True.
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l1", "l2"} if regularize
is not None else None, default = None.
best_loss: best loss of the train process. A np.ndarray float number.
best_coef: best coef of the train process. A torch.Tensor array of
(n_features, 1) shape.
best_intercept_: best intercept of the train process. A torch.Tensor number.
train_loss: list of train loss from the train process.
every loss is a np.ndarray float number.
valid_loss: list of valid loss from the train process.
every loss is a np.ndarray float number.
n_iter: the actual iteration of train process. A int number, initial = 0.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True.
"""
def __init__(
self,
loss="mse",
alpha=0.001,
fit_intercept=True,
save_param_list=True,
learning_rate=0.001,
epochs=10,
batch_size=32,
early_stopping=True,
patient=5,
toc=0.001,
random_state=None,
regularize=None,
save_best_model=True
):
"""TorchSGDRegressor initial method.
Args:
loss: A str in {"mse"}, default = "mse"
alpha: the regularize rate. A float number and must be greater
than 0, default = 0.001.
fit_intercept: if fit intercept. A bool value, default = True.
save_param_list: if save param of the train process. A bool value,
default = True.
learning_rate: learning rate. A positive float number, default = 0.001.
epochs: epochs. A positive int number, default = 10.
batch_size: batch size. A positive int number, default = 32.
early_stopping: if early stopping when loss don't reduce again.
A bool value, default = True
patient: Number of epochs that do not reduce loss continuously,
patient only takes effect when early_stopping is True.
A positive int number, default = 5.
toc: The threshold that symbolizes loss no longer decreases,
toc only takes effect when early_stopping is True.
A float number, default = 0.001
random_state: random seed. A positive int number if random_state
is not None else None, default = None.
regularize: regularize. A str value in {"l1", "l2"} if regularize
is not None else None, default = None.
save_best_model: if save the best model params as the final model.
A bool value, defalut = True
Raises:
AssertionError: Some parameters do not match.
"""
(
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model
) = self._init_validation(
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model
)
self.random_state = random_state
if isinstance(self.random_state, int):
torch.manual_seed(self.random_state)
loss_func_dict = {"mse": F.mse_loss}
self._loss_func = loss_func_dict[loss]
self.alpha = alpha
self.intercept_ = None
if fit_intercept:
self.intercept_ = torch.normal(mean=0.0, std=1.0, size=[]).requires_grad_()
self.save_param_list = save_param_list
self.coef_list = []
self.intercept_list = []
self.learning_rate = learning_rate
self.epochs = epochs
self.batch_size = batch_size
self.early_stopping = early_stopping
self.patient = patient
self.toc = toc
self.regularize = regularize
self._regularizer = lambda: 0
if self.regularize:
reg_dict = {"l1": self._l1_term, "l2": self._l2_term}
self._regularizer = reg_dict[self.regularize]
self.save_best_model = save_best_model
self._X_train = None
self._y_train = None
self.coef_ = None
self._optimizer = None
self.best_loss = torch.tensor(float("inf")).item()
self.best_coef_ = None
self.best_intercept_ = None
self.train_loss = []
self.valid_loss = []
self.n_iter = 0
def _l1_term(self, w):
return self.alpha * torch.sum(torch.abs(w))
def _l2_term(self, w):
return self.alpha * torch.sum(torch.square(w))
def fit(self, X_train, y_train, validation=None):
"""train model methed.
Args:
X_train: A np.ndarray matrix of (n_samples, n_features) shape,
data type must be continuous value type.
y_train: A np.ndarray array of (n_samples, ) shape, data type
must be continuous value type.
validation: the validation data for validate the model. A tuple
like (X_valid, y_valid) , the shape of X_valid and y_valid is
like X_train and y_train. Default = None.
Returns:
return self object.
"""
self._X_train, self._y_train = self._fit_validation(X_train, y_train)
X_train, y_train = self._X_train, self._y_train
if self.coef_ is None:
self.coef_ = torch.normal(mean=0.0, std=1.0, size=(self._X_train.shape[1],)).requires_grad_()
if self._optimizer is None:
params = [self.coef_] if self.intercept_ is None else [self.coef_, self.intercept_]
self._optimizer = torch.optim.SGD(params=params, lr=self.learning_rate)
train_dataset, valid_dataset = self._validation_valid(validation, X_train, y_train)
steps_per_epoch = self._X_train.shape[0] // self.batch_size
if self.early_stopping:
current_patient = 0
last_val_loss = 0
valid_loader = DataLoader(valid_dataset, batch_size=self.batch_size, shuffle=False)
for epoch in range(self.epochs):
# 1. train
train_loader = DataLoader(train_dataset, batch_size=self.batch_size, shuffle=True)
epoch_time = 0
print(f"Epoch {epoch + 1}/{self.epochs}")
train_sum_loss = 0
for step, (X_train_batch, y_train_batch) in enumerate(train_loader):
start = time.time()
train_sum_loss = self._fit_step(X_train_batch, y_train_batch, train_sum_loss)
train_mean_loss = train_sum_loss / (step + 1)
epoch_time, mean_step_time = self._step_print(steps_per_epoch, step, epoch_time, start, train_mean_loss)
# 2. valid
val_loss = self._epoch_valid_and_print(epoch_time, mean_step_time, steps_per_epoch, train_mean_loss,
valid_loader)
# 3. save train process
self._save_train_process(val_loss, train_mean_loss)
self.n_iter += 1
# 4. early stopping
if self.early_stopping:
if epoch != 0:
if last_val_loss - val_loss < self.toc:
current_patient += 1
else:
current_patient = 0
if current_patient >= self.patient:
break
last_val_loss = val_loss
if self.save_best_model:
self._save_best_params()
return self
def _save_best_params(self):
self.coef_ = copy.deepcopy(self.best_coef_)
if self.intercept_ is not None:
self.intercept_ = copy.deepcopy(self.best_intercept_)
def _save_train_process(self, val_loss, train_loss):
if val_loss < self.best_loss:
self.best_loss = val_loss.item()
self.best_coef_ = copy.deepcopy(self.coef_)
if self.intercept_ is not None:
self.best_intercept_ = copy.deepcopy(self.intercept_)
if self.save_param_list:
self.coef_list.append(copy.deepcopy(self.coef_.detach().numpy()))
if self.intercept_ is not None:
self.intercept_list.append(copy.deepcopy(self.intercept_.item()))
self.train_loss.append(train_loss)
self.valid_loss.append(val_loss)
def _validation_valid(self, validation, X_train, y_train):
dataset = TorchBaseDataset(X_train, y_train)
if validation is None:
n_samples = int(self._X_train.shape[0] * 0.8)
train_dataset, valid_dataset = random_split(
dataset=dataset, lengths=[n_samples, self._X_train.shape[0] - n_samples])
else:
X_valid, y_valid = self._fit_validation(*validation)
train_dataset = dataset
valid_dataset = TorchBaseDataset(X_valid, y_valid)
return train_dataset, valid_dataset
def _call(self, X):
y = torch.matmul(X, self.coef_)
if self.intercept_ is not None:
y = torch.add(y, self.intercept_)
return y
def _init_validation(
self,
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model,
):
assert loss in {"mse"}
assert isinstance(alpha, (int, float)) and 0 < alpha
assert isinstance(fit_intercept, bool)
assert isinstance(save_param_list, bool)
assert isinstance(learning_rate, float) and 0 < learning_rate <= 1.0
assert isinstance(epochs, int) and epochs >= 1
assert isinstance(batch_size, int) and batch_size >= 1
assert isinstance(early_stopping, bool)
assert isinstance(patient, int) and patient >= 2
assert isinstance(toc, (int, float)) and 0 < toc
assert isinstance(random_state, (type(None), int))
if isinstance(random_state, int):
assert random_state >= 0
assert regularize in {"l2", "l1", None}
assert isinstance(save_best_model, bool)
return (
loss,
alpha,
fit_intercept,
save_param_list,
learning_rate,
epochs,
batch_size,
early_stopping,
patient,
toc,
random_state,
regularize,
save_best_model
)
def _fit_step(self, X_train_batch, y_train_batch, train_sum_loss):
# 1.calculate loss
y_pred_batch = self._call(X_train_batch)
loss = self._loss_func(y_train_batch, y_pred_batch)
if self.regularize:
loss += self._regularizer(self.coef_)
# optimizer clean gradient
self._optimizer.zero_grad()
# 2.calculate gradients by loss
loss.backward()
# 3.use optimizer to update params by gradients
self._optimizer.step()
# 4.use metric to calculate the mean loss for output
train_sum_loss += loss
return train_sum_loss
def _step_print(self, steps_per_epoch, step, epoch_time, start, train_mean_loss):
steps_str_len = len(str(steps_per_epoch))
done_count = int((step + 1) / steps_per_epoch * 30)
done_str = "=" * done_count
to_do_str = "." * (30 - 1 - done_count)
end = time.time()
step_time = end - start
epoch_time += step_time
mean_step_time = epoch_time / (step + 1)
remain_time = (steps_per_epoch - (step + 1)) * mean_step_time
remain_time = sec2time(remain_time)
print(
f"\r{step + 1:{steps_str_len}}/{steps_per_epoch} [{done_str}>{to_do_str}] - ETA: {remain_time} - loss: {train_mean_loss:.4f}",
end="",
)
return epoch_time, mean_step_time
def _epoch_valid_and_print(self, epoch_time, mean_step_time, steps_per_epoch, train_mean_loss, valid_loader):
valid_mean_loss = 0
for valid_step, (X_valid_batch, y_valid_batch) in enumerate(valid_loader):
y_valid_pred = self._call(X_valid_batch)
loss = self._loss_func(y_valid_batch, y_valid_pred)
valid_mean_loss += loss
valid_mean_loss /= (valid_step + 1)
epoch_time = sec2time(epoch_time)
mean_step_time = sec2time(mean_step_time)
print(
f"\r{steps_per_epoch}/{steps_per_epoch} [{'=' * 30}] - {epoch_time} {mean_step_time}/step - loss: {train_mean_loss:.4f} - val_loss: {valid_mean_loss:.4f}"
)
return valid_mean_loss
| 41.184039 | 166 | 0.60102 | 6,385 | 50,574 | 4.519969 | 0.043226 | 0.03018 | 0.013167 | 0.019958 | 0.842516 | 0.814553 | 0.792689 | 0.775953 | 0.759425 | 0.740229 | 0 | 0.012252 | 0.325404 | 50,574 | 1,227 | 167 | 41.217604 | 0.833661 | 0.349666 | 0 | 0.663671 | 0 | 0.005135 | 0.030131 | 0.013291 | 0 | 0 | 0 | 0 | 0.05905 | 1 | 0.044929 | false | 0 | 0.014121 | 0.003851 | 0.094994 | 0.035944 | 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 |
e9cc139a0dc9da580cde5e301ff0b5f8450366b0 | 225 | py | Python | chainladder/__init__.py | AragondaJyosna/chainladder-python | 45f51365279d6a30eac6d74f5d3ea492d7b7e1d8 | [
"MIT"
] | 1 | 2019-03-03T06:01:26.000Z | 2019-03-03T06:01:26.000Z | chainladder/__init__.py | AragondaJyosna/chainladder-python | 45f51365279d6a30eac6d74f5d3ea492d7b7e1d8 | [
"MIT"
] | null | null | null | chainladder/__init__.py | AragondaJyosna/chainladder-python | 45f51365279d6a30eac6d74f5d3ea492d7b7e1d8 | [
"MIT"
] | null | null | null | from chainladder.utils import *
from chainladder.core import *
from chainladder.development import *
from chainladder.tails import *
from chainladder.methods import *
from chainladder.workflow import *
__version__ = '0.2.6'
| 25 | 37 | 0.8 | 28 | 225 | 6.285714 | 0.464286 | 0.511364 | 0.596591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015228 | 0.124444 | 225 | 8 | 38 | 28.125 | 0.878173 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 |
756b092e792b370d5eb0aea8f078b43c276cba0f | 131 | py | Python | moon/test_main.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | null | null | null | moon/test_main.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | null | null | null | moon/test_main.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | 1 | 2022-01-02T04:06:01.000Z | 2022-01-02T04:06:01.000Z | import unittest
from unittest.mock import MagicMock
class MoonMainTest(unittest.TestCase):
pass
# vim: expandtab sw=4 ts=4
| 13.1 | 38 | 0.763359 | 18 | 131 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.167939 | 131 | 9 | 39 | 14.555556 | 0.899083 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
f9337f303796a54830341038887f8c94e8376c53 | 43 | py | Python | discord_handler/__init__.py | Tim232/DiscordHandler | c72a9131a55ad429f4f90d86340df432cd0494dd | [
"MIT"
] | 16 | 2019-01-14T03:44:37.000Z | 2022-01-29T12:55:00.000Z | discord_handler/__init__.py | Tim232/DiscordHandler | c72a9131a55ad429f4f90d86340df432cd0494dd | [
"MIT"
] | 4 | 2020-08-11T06:16:33.000Z | 2022-02-07T20:17:54.000Z | discord_handler/__init__.py | Tim232/DiscordHandler | c72a9131a55ad429f4f90d86340df432cd0494dd | [
"MIT"
] | 9 | 2017-06-09T07:16:39.000Z | 2022-02-07T20:18:02.000Z | from .DiscordHandler import DiscordHandler
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
f93883f976bb6411969fe408641d2dcd05ce9d41 | 311 | py | Python | yterModule.py | light-technology/line-bot-multifunction | 8d913b278f48069d701fa06a7130abcaeede2ae1 | [
"MIT"
] | 1 | 2021-11-14T13:47:48.000Z | 2021-11-14T13:47:48.000Z | yterModule.py | inctoolsproject/mult | cd1eb2f46f17329ca5dda8a331369da86596832b | [
"MIT"
] | null | null | null | yterModule.py | inctoolsproject/mult | cd1eb2f46f17329ca5dda8a331369da86596832b | [
"MIT"
] | 1 | 2021-11-01T07:39:16.000Z | 2021-11-01T07:39:16.000Z | # -*- coding: utf-8 -*-
from linepy import *
####################################################
from liff.ttypes import *
####################################################
from ang.ttypes import *
####################################################
if __name__ == "__main__":
print('此為模組檔案 僅供導入使用')
| 25.916667 | 52 | 0.321543 | 20 | 311 | 4.6 | 0.75 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.102894 | 311 | 11 | 53 | 28.272727 | 0.326165 | 0.067524 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f987e6a38cb69b6eaad4333396f4d42f18db27ca | 165 | py | Python | raven/projects/Scripts/Pu238Calc.py | arfc/2019-12-bigdata-npps | ebf03664c1d96541956d317f3a305323cf76c23d | [
"CC-BY-4.0"
] | null | null | null | raven/projects/Scripts/Pu238Calc.py | arfc/2019-12-bigdata-npps | ebf03664c1d96541956d317f3a305323cf76c23d | [
"CC-BY-4.0"
] | 2 | 2019-10-26T14:32:13.000Z | 2019-12-17T17:48:05.000Z | raven/projects/Scripts/Pu238Calc.py | arfc/2019-12-bigdata-npps | ebf03664c1d96541956d317f3a305323cf76c23d | [
"CC-BY-4.0"
] | 3 | 2019-10-25T18:50:31.000Z | 2020-06-23T04:17:28.000Z | import MassFractionCalc
def evaluate(self):
return MassFractionCalc.return_value('Pu238',self.salt_type,self.fuel_type,self.U235F4_mole_frac,self.UF4_mole_frac)
| 41.25 | 120 | 0.842424 | 24 | 165 | 5.5 | 0.625 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0.060606 | 165 | 3 | 121 | 55 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 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 |
f9bc0d12b49a382706e3f6db4d52c5da6e2fe189 | 37 | py | Python | augmentation/__init__.py | mlvc-lab/AIChallenge_4th_Round1 | 2a7cd64254540a5779bc3d9accdb21ddaa38aa51 | [
"MIT"
] | 18 | 2020-12-23T06:06:41.000Z | 2020-12-24T04:34:57.000Z | augmentation/__init__.py | mlvc-lab/AIChallenge_4th_Round1 | 2a7cd64254540a5779bc3d9accdb21ddaa38aa51 | [
"MIT"
] | null | null | null | augmentation/__init__.py | mlvc-lab/AIChallenge_4th_Round1 | 2a7cd64254540a5779bc3d9accdb21ddaa38aa51 | [
"MIT"
] | null | null | null | from .randaugment import RandAugment
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
ddb03f02e8b098cc6b0ea0ce10a706d7fc8d89b6 | 313 | py | Python | usbdrive/_file.py | ihrigb/stagebuzzer | dbce1c5fa59a6f22e74d84ccc96d4d1a28a5b680 | [
"Apache-2.0"
] | null | null | null | usbdrive/_file.py | ihrigb/stagebuzzer | dbce1c5fa59a6f22e74d84ccc96d4d1a28a5b680 | [
"Apache-2.0"
] | null | null | null | usbdrive/_file.py | ihrigb/stagebuzzer | dbce1c5fa59a6f22e74d84ccc96d4d1a28a5b680 | [
"Apache-2.0"
] | null | null | null | class File:
def is_directory(self) -> bool:
pass
def get_children(self, extension: str = None) -> list:
pass
def get_absolute_path(self) -> str:
pass
def get_name(self) -> str:
pass
def exists(self) -> bool:
pass
def parent(self):
pass
| 16.473684 | 58 | 0.543131 | 39 | 313 | 4.230769 | 0.487179 | 0.212121 | 0.181818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354633 | 313 | 18 | 59 | 17.388889 | 0.816832 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.461538 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ddb399aa5fdaee31666962e6291bc3fcdc453637 | 1,617 | py | Python | 130 Count Inversions/Count_Inversions_test.py | Iftakharpy/AlgoExpert-Questions | f4aef449bfe0ee651d84a92487c3b3bedb3aa739 | [
"Apache-2.0"
] | 3 | 2021-11-19T07:32:27.000Z | 2022-03-22T13:46:27.000Z | 130 Count Inversions/Count_Inversions_test.py | Iftakharpy/AlgoExpert-Questions | f4aef449bfe0ee651d84a92487c3b3bedb3aa739 | [
"Apache-2.0"
] | null | null | null | 130 Count Inversions/Count_Inversions_test.py | Iftakharpy/AlgoExpert-Questions | f4aef449bfe0ee651d84a92487c3b3bedb3aa739 | [
"Apache-2.0"
] | 5 | 2022-01-02T11:51:12.000Z | 2022-03-22T13:53:32.000Z | from Count_Inversions import countInversions
def test_countInversions_case_1():
assert countInversions(array=[2, 3, 3, 1, 9, 5, 6]) == 5
def test_countInversions_case_2():
assert countInversions(array=[]) == 0
def test_countInversions_case_3():
assert countInversions(array=[1, 2, 3, 4, 5, 6, -1]) == 6
def test_countInversions_case_4():
assert countInversions(array=[0, 2, 4, 5, 76]) == 0
def test_countInversions_case_5():
assert countInversions(array=[54, 1, 2, 3, 4]) == 4
def test_countInversions_case_6():
assert countInversions(array=[1, 10, 2, 8, 3, 7, 4, 6, 5]) == 16
def test_countInversions_case_7():
assert countInversions(array=[2, -18]) == 1
def test_countInversions_case_8():
assert countInversions(array=[15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]) == 105
def test_countInversions_case_9():
assert countInversions(array=[5, -1, 2, -4, 3, 4, 19, 87, 762, -8, 0]) == 23
def test_countInversions_case_10():
assert countInversions(array=[1, 1, 1, 1, 1, 1, 1, 1]) == 0
def test_countInversions_case_11():
assert countInversions(array=[1, 1, 1, 1, 0, 1, 1, 1]) == 4
def test_countInversions_case_12():
assert countInversions(array=[2, 2, 2, 2, 1, 1, 1, 1, 3, 3, 3, 3]) == 16
def test_countInversions_case_13():
assert countInversions(array=[3, 1, 2]) == 2
def test_countInversions_case_14():
assert countInversions(array=[3, 2, 1, 1]) == 5
def test_countInversions_case_15():
assert countInversions(array=[10, 7, 2, 3, 1, -9, -86, -862, 234, 312, 3421, 23, 0, 2, 1, 2]) == 62
| 33.6875 | 104 | 0.646877 | 252 | 1,617 | 3.968254 | 0.162698 | 0.032 | 0.33 | 0.39 | 0.31 | 0.064 | 0.064 | 0 | 0 | 0 | 0 | 0.138249 | 0.194805 | 1,617 | 47 | 105 | 34.404255 | 0.6298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.483871 | 1 | 0.483871 | true | 0 | 0.032258 | 0 | 0.516129 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fb2e0783067758ff1958c4844710030c6ab3350e | 105 | py | Python | basemodels/pydantic/manifest/__init__.py | hhio618/hmt-basemodels | be1f7c8c968d86ac9b7feb16cfcde6b6d9b905e3 | [
"MIT"
] | 3 | 2020-09-08T15:03:31.000Z | 2021-06-30T19:00:45.000Z | basemodels/pydantic/manifest/__init__.py | hhio618/hmt-basemodels | be1f7c8c968d86ac9b7feb16cfcde6b6d9b905e3 | [
"MIT"
] | 43 | 2019-02-28T17:43:42.000Z | 2022-02-13T11:37:08.000Z | basemodels/pydantic/manifest/__init__.py | hhio618/hmt-basemodels | be1f7c8c968d86ac9b7feb16cfcde6b6d9b905e3 | [
"MIT"
] | 5 | 2019-05-09T15:58:07.000Z | 2020-12-09T23:24:24.000Z | from .manifest import Manifest, NestedManifest, RequestConfig, TaskData, Webhook, validate_manifest_uris
| 52.5 | 104 | 0.857143 | 11 | 105 | 8 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 1 | 105 | 105 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb340ab2b81c4f53d01db5328ed5bdc5764487fb | 113 | py | Python | lambda/local_exec.py | jossM/manga_scraping | f6cad0ee3ca33ad2083a9f67be5ca29b2dafc8ba | [
"MIT"
] | 3 | 2018-11-05T08:16:13.000Z | 2019-03-04T13:35:53.000Z | lambda/local_exec.py | jossM/manga_scraping | f6cad0ee3ca33ad2083a9f67be5ca29b2dafc8ba | [
"MIT"
] | 7 | 2019-01-06T14:49:31.000Z | 2021-12-13T20:44:48.000Z | lambda/local_exec.py | jossM/manga_scraping | f6cad0ee3ca33ad2083a9f67be5ca29b2dafc8ba | [
"MIT"
] | null | null | null | from main import handle_scheduled_scraping
if __name__ == '__main__':
handle_scheduled_scraping(None, None)
| 22.6 | 42 | 0.79646 | 14 | 113 | 5.571429 | 0.642857 | 0.384615 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 4 | 43 | 28.25 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
5515dbcb7ffdcfd87455bf8db39bc6b69d0a15eb | 27 | py | Python | src/euler_python_package/euler_python/medium/p330.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p330.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p330.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem330():
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 |
9b8adbcdda0c9cf0a9a12e3289f24a3de8296ac4 | 67 | py | Python | gerardo/__init__.py | kevinywlui/gerardo | 71d8846a248401f635166b420e09c164475ba53b | [
"MIT"
] | 1 | 2019-08-28T23:34:17.000Z | 2019-08-28T23:34:17.000Z | gerardo/__init__.py | kevinywlui/gerardo | 71d8846a248401f635166b420e09c164475ba53b | [
"MIT"
] | null | null | null | gerardo/__init__.py | kevinywlui/gerardo | 71d8846a248401f635166b420e09c164475ba53b | [
"MIT"
] | null | null | null | from .psql_insert import psql_handler, psql_insert, psql_mp_insert
| 33.5 | 66 | 0.865672 | 11 | 67 | 4.818182 | 0.545455 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 67 | 1 | 67 | 67 | 0.868852 | 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 |
9b98bbd2dd5d8244493c2f8b694f935d10550918 | 12,042 | py | Python | tests/test_signals.py | david-a-joy/multilineage-organoid | 9b9848cfa5ee0d051b2a9645f9ffd8b9423beec8 | [
"BSD-3-Clause"
] | 2 | 2020-08-13T18:09:53.000Z | 2021-12-31T22:36:07.000Z | tests/test_signals.py | david-a-joy/multilineage-organoid | 9b9848cfa5ee0d051b2a9645f9ffd8b9423beec8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_signals.py | david-a-joy/multilineage-organoid | 9b9848cfa5ee0d051b2a9645f9ffd8b9423beec8 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Stdlib
import unittest
from helpers import FileSystemTestCase, BASEDIR
# 3rd party
import numpy as np
# Our own imports
from multilineage_organoid import signals
# Tests
class TestFilterDatafile(FileSystemTestCase):
def test_everything_works_multilineage(self):
infile = BASEDIR / 'data' / 'Exp7_d80_MultilineageOrganoid_pacing_1hz.csv'
outfile = self.tempdir / 'out.csv'
plotfile = self.tempdir / 'plot.png'
exp_traces = 4
res = signals.filter_datafile(infile=infile,
outfile=outfile,
plotfile=plotfile,
plot_types='all')
self.assertTrue(outfile.is_file())
for i in range(1, exp_traces+1):
self.assertTrue((plotfile.parent / f'{plotfile.stem}_{i:02d}.png').is_file())
self.assertEqual(len(res), exp_traces)
def test_everything_works_microtissue(self):
infile = BASEDIR / 'data' / 'Exp7_d80_ConventionalMicrotissue_pacing_1hz.csv'
outfile = self.tempdir / 'out.csv'
plotfile = self.tempdir / 'plot.png'
exp_traces = 2
res = signals.filter_datafile(infile=infile,
outfile=outfile,
plotfile=plotfile,
plot_types='all')
self.assertTrue(outfile.is_file())
for i in range(1, exp_traces+1):
self.assertTrue((plotfile.parent / f'{plotfile.stem}_{i:02d}.png').is_file())
self.assertEqual(len(res), exp_traces)
class TestFindKeyTimes(unittest.TestCase):
def test_finds_times_at_boundary(self):
timeline = np.array([0, 1, 2, 3, 4, 5])
values = np.array([1, 3, 5, 7, 9, 11])
key_times = signals.find_key_times(timeline, values, [0, 100], direction='up')
exp_times = [0, 5]
np.testing.assert_allclose(key_times, exp_times)
timeline = np.array([0, 1, 2, 3, 4, 5])
values = np.array([13, 11, 9, 8, 6, 4])
key_times = signals.find_key_times(timeline, values, [0, 100], direction='down')
exp_times = [5, 0]
np.testing.assert_allclose(key_times, exp_times)
def test_finds_times_in_the_middle(self):
timeline = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) + 15
values = np.array([1, 3, 5, 7, 9, 11, 13, 15, 17])
key_times = signals.find_key_times(timeline, values, [25, 50, 75], direction='up')
exp_times = [2, 4, 6]
np.testing.assert_allclose(key_times, exp_times)
timeline = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) + 15
values = np.array([17, 15, 13, 11, 9, 7, 5, 3, 1])
key_times = signals.find_key_times(timeline, values, [25, 50, 75], direction='down')
exp_times = [6, 4, 2]
np.testing.assert_allclose(key_times, exp_times)
def test_finds_times_linear_interpolated(self):
timeline = np.array([0, 2, 8, 9]) + 13
values = np.array([1, 5, 15, 17])
key_times = signals.find_key_times(timeline, values, [25, 50, 75], direction='up')
# 25% from (1 to 17) is 5, so t = 2.0
# 50% from (1 to 17) is 9, so t = (9-5)/(15-5)*(8-2) + 2 = 4.4
# 75% from (1 to 17) is 13, so t = (13-5)/(15-5)*(8-2) + 2 = 6.8
exp_times = [2, 4.4, 6.8]
np.testing.assert_allclose(key_times, exp_times)
timeline = np.array([0, 2, 8, 9]) + 13
values = np.array([17, 15, 5, 1])
key_times = signals.find_key_times(timeline, values, [25, 50, 75], direction='down')
# 25% from (17 to 1) is 5, so t = 8.0
# 50% from (17 to 1) is 9, so t = (15-9)/(15-5)*(8-2) + 2 = 5.6
# 75% from (17 to 1) is 13, so t = (15-13)/(15-5)*(8-2) + 2 = 3.2
exp_times = [8, 5.6, 3.2]
np.testing.assert_allclose(key_times, exp_times)
class TestCalcStatsAroundPeak(unittest.TestCase):
def test_stats_for_single_flat_line(self):
time = np.linspace(0, 2*np.pi, 100)
signal = np.zeros_like(time)
peaks = (0, 25, 100)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': 0.0,
'peak_index': 25,
'peak_start_index': 25,
'peak_end_index': 25,
'total_wave_time': 0.0,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_stats_for_single_line_up(self):
time = np.linspace(0, 2*np.pi, 100)
signal = time * 0.5
peaks = (0, 25, 100)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': 0.79,
'peak_index': 25,
'peak_start_index': 1,
'peak_end_index': 25,
'total_wave_time': 1.52,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_stats_for_single_line_down(self):
time = np.linspace(0, 2*np.pi, 100)
signal = time * -0.5
peaks = (0, 25, 100)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': -0.79,
'peak_index': 25,
'peak_start_index': 25,
'peak_end_index': 96,
'total_wave_time': 4.51,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_stats_for_sawtooth(self):
time = np.array([0, 1, 2, 3, 4, 5, 6, 7])
signal = np.array([0, 0, 2, 4, 3, 2, 1, 0])
peaks = (0, 3, 7)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': 4,
'peak_index': 3,
'peak_start_index': 1,
'peak_end_index': 7,
'total_wave_time': 6,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_stats_for_single_peak(self):
time = np.linspace(0, 2*np.pi, 100)
signal = np.sin(time)
peaks = (0, 25, 100)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': 1.0,
'peak_index': 25,
'peak_start_index': 0,
'peak_end_index': 68,
'total_wave_time': 4.32,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_stats_for_double_peak(self):
time = np.linspace(0, 4*np.pi, 200)
signal = np.sin(time)
peaks = (25, 125, 200)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': 1.0,
'peak_index': 125,
'peak_start_index': 81,
'peak_end_index': 167,
'total_wave_time': 5.43,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_stats_for_double_peak_offset(self):
time = np.linspace(0, 4*np.pi, 200)
signal = np.sin(time) + 4.0
peaks = (25, 125, 200)
res = signals.calc_stats_around_peak(time, signal, peaks)
exp = {
'peak_value': 5.0,
'peak_index': 125,
'peak_start_index': 81,
'peak_end_index': 167,
'total_wave_time': 5.43,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
class TestRefineSignalPeaks(unittest.TestCase):
def test_refines_empty_list(self):
time = np.linspace(0, 2*np.pi, 100)
signal = np.sin(time)
res = signals.refine_signal_peaks(time, signal, [])
assert res == []
def test_refines_single_peak(self):
time = np.linspace(0, 2*np.pi, 100)
signal = np.sin(time)
res = signals.refine_signal_peaks(time, signal, [25])
assert len(res) == 1
res = res[0]
exp = {
'peak_value': 1.0,
'peak_index': 25,
'peak_start_index': 0,
'peak_end_index': 68,
'total_wave_time': 4.32,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_refines_single_peak_bad_annotation(self):
time = np.linspace(0, 2*np.pi, 100)
signal = np.sin(time)
res = signals.refine_signal_peaks(time, signal, [25, 50])
assert len(res) == 1
res = res[0]
exp = {
'peak_value': 1.0,
'peak_index': 25,
'peak_start_index': 0,
'peak_end_index': 68,
'total_wave_time': 4.32,
}
for key, val in exp.items():
assert round(res[key], 2) == round(exp[key], 2), key
def test_refines_multiple_peaks_bad_annotations(self):
time = np.linspace(0, 4*np.pi, 200)
signal = np.sin(time)
res = signals.refine_signal_peaks(time, signal, [25, 50, 75, 125, 150])
exp = [
{
'peak_value': 1.0,
'peak_index': 25,
'peak_start_index': 0,
'peak_end_index': 68,
'total_wave_time': 4.29,
},
{
'peak_value': 1.0,
'peak_index': 125,
'peak_start_index': 81,
'peak_end_index': 167,
'total_wave_time': 5.43,
},
]
assert len(res) == len(exp)
for res_stats, exp_stats in zip(res, exp):
for key, val in exp_stats.items():
assert round(res_stats[key], 2) == round(exp_stats[key], 2), key
def test_refines_multiple_peaks_bad_annotations_numpy_arrays(self):
time = np.linspace(0, 4*np.pi, 200)
signal = np.sin(time)
res = signals.refine_signal_peaks(time, signal, [np.array([[25]]), 50, np.array([75]), 125, 150])
exp = [
{
'peak_value': 1.0,
'peak_index': 25,
'peak_start_index': 0,
'peak_end_index': 68,
'total_wave_time': 4.29,
},
{
'peak_value': 1.0,
'peak_index': 125,
'peak_start_index': 81,
'peak_end_index': 167,
'total_wave_time': 5.43,
},
]
assert len(res) == len(exp)
for res_stats, exp_stats in zip(res, exp):
for key, val in exp_stats.items():
assert round(res_stats[key], 2) == round(exp_stats[key], 2), key
class TestCalcVelocityStats(unittest.TestCase):
def test_not_enough_data(self):
time = np.linspace(0, 10, 2)
signal = 2 * time
mean, std, max = signals.calc_velocity_stats(time, signal)
self.assertTrue(np.isnan(mean))
self.assertTrue(np.isnan(std))
self.assertTrue(np.isnan(max))
def test_works_up(self):
time = np.linspace(0, 10, 10)
signal = 2 * time
mean, std, max = signals.calc_velocity_stats(time, signal, direction='up', time_scale=1.0)
self.assertAlmostEqual(mean, 2.0)
self.assertAlmostEqual(std, 0.0)
self.assertAlmostEqual(max, 2.0)
def test_works_down(self):
time = np.linspace(0, 10, 10)
signal = -2 * time
mean, std, max = signals.calc_velocity_stats(time, signal, direction='down', time_scale=1.0)
self.assertAlmostEqual(mean, -2.0)
self.assertAlmostEqual(std, 0.0)
self.assertAlmostEqual(max, -2.0)
def test_wrong_direction(self):
time = np.linspace(0, 10, 10)
signal = -2 * time
mean, std, max = signals.calc_velocity_stats(time, signal, direction='up', time_scale=1.0)
self.assertTrue(np.isnan(mean))
self.assertTrue(np.isnan(std))
self.assertTrue(np.isnan(max))
| 30.105 | 105 | 0.538034 | 1,636 | 12,042 | 3.773227 | 0.105134 | 0.014256 | 0.025919 | 0.043739 | 0.848858 | 0.826989 | 0.810303 | 0.798801 | 0.798801 | 0.789891 | 0 | 0.075984 | 0.326773 | 12,042 | 399 | 106 | 30.180451 | 0.685457 | 0.031722 | 0 | 0.642599 | 0 | 0 | 0.090995 | 0.012447 | 0 | 0 | 0 | 0 | 0.144404 | 1 | 0.075812 | false | 0 | 0.01444 | 0 | 0.108303 | 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 |
9bacde7d55fd9c361c6844122ef5f212ad0f6870 | 261,060 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/79.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-int16e/79.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-int16e/79.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30651
passenger_arriving = (
(10, 7, 7, 7, 6, 3, 5, 3, 0, 1, 0, 1, 0, 8, 5, 3, 3, 11, 4, 6, 0, 2, 2, 1, 0, 0), # 0
(7, 10, 12, 5, 12, 6, 5, 1, 0, 3, 1, 1, 0, 12, 8, 8, 3, 12, 6, 3, 2, 1, 0, 2, 2, 0), # 1
(10, 6, 14, 2, 8, 3, 4, 2, 6, 3, 0, 0, 0, 13, 8, 10, 4, 11, 6, 2, 2, 4, 3, 4, 0, 0), # 2
(10, 15, 5, 7, 8, 1, 3, 3, 6, 1, 0, 2, 0, 10, 4, 5, 7, 9, 3, 3, 0, 1, 5, 2, 0, 0), # 3
(6, 10, 8, 6, 8, 3, 2, 5, 2, 3, 1, 1, 0, 2, 11, 7, 5, 10, 5, 1, 3, 3, 3, 0, 1, 0), # 4
(14, 15, 13, 14, 11, 8, 5, 5, 2, 1, 0, 1, 0, 9, 9, 7, 7, 9, 8, 9, 3, 5, 2, 0, 1, 0), # 5
(6, 11, 10, 6, 4, 4, 1, 6, 9, 2, 0, 1, 0, 13, 10, 7, 7, 8, 10, 5, 1, 7, 3, 1, 0, 0), # 6
(10, 9, 13, 11, 10, 3, 7, 2, 6, 1, 1, 0, 0, 14, 8, 7, 8, 10, 10, 6, 4, 5, 5, 3, 1, 0), # 7
(12, 15, 9, 14, 9, 6, 2, 6, 3, 1, 0, 2, 0, 14, 9, 9, 5, 8, 9, 4, 3, 1, 6, 0, 4, 0), # 8
(6, 11, 9, 18, 6, 4, 1, 6, 3, 0, 0, 0, 0, 15, 12, 12, 13, 12, 5, 2, 5, 8, 2, 2, 0, 0), # 9
(8, 3, 16, 15, 9, 4, 5, 5, 4, 2, 1, 0, 0, 11, 11, 10, 7, 15, 8, 2, 4, 3, 2, 1, 2, 0), # 10
(12, 12, 11, 7, 9, 3, 8, 4, 6, 4, 3, 2, 0, 19, 9, 6, 8, 14, 9, 6, 2, 8, 5, 6, 0, 0), # 11
(14, 9, 11, 12, 7, 4, 5, 4, 8, 1, 1, 2, 0, 10, 8, 9, 10, 12, 8, 4, 6, 8, 3, 2, 0, 0), # 12
(11, 6, 17, 14, 9, 7, 6, 11, 7, 4, 0, 2, 0, 16, 9, 10, 10, 10, 8, 10, 4, 6, 7, 2, 2, 0), # 13
(12, 19, 12, 13, 14, 3, 10, 6, 5, 2, 3, 1, 0, 18, 10, 7, 7, 14, 8, 7, 3, 6, 2, 0, 2, 0), # 14
(14, 17, 10, 8, 11, 5, 11, 10, 9, 2, 2, 2, 0, 15, 11, 7, 10, 6, 4, 2, 2, 7, 4, 2, 0, 0), # 15
(18, 13, 16, 20, 17, 7, 7, 8, 4, 6, 3, 1, 0, 14, 19, 13, 3, 12, 9, 5, 4, 6, 5, 0, 1, 0), # 16
(16, 22, 11, 16, 12, 3, 8, 5, 7, 2, 0, 1, 0, 10, 7, 7, 10, 7, 9, 5, 5, 12, 5, 0, 0, 0), # 17
(17, 21, 15, 12, 9, 9, 5, 4, 7, 6, 1, 4, 0, 18, 14, 14, 9, 13, 13, 8, 4, 13, 6, 4, 1, 0), # 18
(17, 19, 11, 16, 12, 8, 6, 5, 3, 2, 3, 0, 0, 16, 10, 13, 8, 18, 5, 8, 9, 6, 3, 3, 3, 0), # 19
(11, 14, 8, 9, 7, 7, 10, 5, 5, 2, 2, 1, 0, 20, 14, 10, 11, 13, 3, 2, 3, 5, 3, 5, 2, 0), # 20
(17, 16, 15, 18, 11, 7, 5, 6, 2, 4, 2, 1, 0, 15, 12, 19, 11, 11, 6, 3, 4, 7, 9, 1, 2, 0), # 21
(12, 17, 9, 18, 12, 4, 9, 6, 7, 5, 2, 1, 0, 7, 21, 5, 8, 14, 6, 5, 4, 7, 3, 5, 4, 0), # 22
(9, 20, 14, 15, 10, 2, 5, 6, 6, 3, 3, 1, 0, 19, 15, 10, 7, 12, 9, 4, 6, 5, 6, 4, 1, 0), # 23
(11, 22, 13, 18, 13, 3, 7, 8, 5, 1, 2, 0, 0, 26, 10, 7, 8, 12, 5, 5, 3, 3, 4, 2, 1, 0), # 24
(13, 15, 15, 12, 15, 2, 7, 6, 6, 1, 2, 0, 0, 13, 14, 15, 13, 13, 11, 4, 5, 6, 4, 1, 3, 0), # 25
(14, 16, 11, 12, 14, 5, 11, 2, 8, 6, 2, 1, 0, 21, 11, 14, 13, 14, 10, 6, 2, 4, 6, 6, 3, 0), # 26
(14, 9, 20, 14, 6, 7, 3, 9, 9, 3, 1, 0, 0, 14, 9, 10, 16, 10, 3, 1, 2, 6, 9, 2, 1, 0), # 27
(11, 17, 11, 13, 13, 7, 6, 7, 3, 2, 1, 2, 0, 19, 10, 8, 7, 8, 7, 10, 3, 1, 1, 2, 3, 0), # 28
(14, 16, 12, 16, 4, 5, 2, 5, 7, 3, 6, 4, 0, 16, 8, 12, 12, 17, 7, 6, 6, 8, 5, 5, 3, 0), # 29
(16, 16, 13, 12, 8, 7, 5, 7, 7, 3, 4, 1, 0, 12, 8, 13, 11, 4, 6, 5, 1, 6, 8, 3, 3, 0), # 30
(18, 16, 19, 11, 17, 8, 8, 7, 3, 2, 2, 0, 0, 17, 18, 12, 8, 8, 12, 7, 5, 4, 0, 3, 2, 0), # 31
(22, 12, 12, 17, 19, 3, 5, 7, 6, 3, 0, 0, 0, 14, 18, 12, 9, 11, 4, 7, 6, 10, 5, 1, 0, 0), # 32
(12, 19, 17, 12, 8, 4, 6, 6, 5, 0, 2, 0, 0, 18, 10, 9, 7, 13, 12, 3, 5, 5, 3, 3, 0, 0), # 33
(16, 12, 14, 21, 13, 7, 11, 3, 5, 2, 9, 1, 0, 15, 16, 10, 14, 14, 10, 8, 9, 5, 4, 2, 2, 0), # 34
(17, 13, 17, 20, 11, 6, 8, 7, 4, 2, 4, 0, 0, 12, 15, 13, 11, 13, 6, 6, 2, 4, 6, 1, 2, 0), # 35
(13, 11, 12, 11, 15, 6, 5, 8, 11, 3, 1, 2, 0, 16, 16, 18, 8, 14, 8, 11, 5, 6, 2, 5, 3, 0), # 36
(13, 17, 21, 7, 3, 5, 12, 5, 8, 1, 5, 1, 0, 20, 16, 7, 9, 13, 10, 6, 3, 5, 1, 3, 3, 0), # 37
(16, 18, 15, 20, 16, 7, 11, 5, 3, 2, 0, 1, 0, 22, 18, 11, 9, 9, 6, 6, 2, 8, 5, 1, 1, 0), # 38
(18, 22, 9, 11, 27, 3, 3, 8, 13, 2, 4, 3, 0, 19, 17, 10, 6, 15, 6, 10, 3, 11, 5, 3, 4, 0), # 39
(16, 16, 15, 8, 8, 10, 5, 2, 7, 6, 4, 0, 0, 21, 12, 8, 15, 11, 9, 7, 10, 8, 9, 1, 1, 0), # 40
(17, 14, 11, 15, 11, 6, 5, 5, 5, 3, 2, 2, 0, 12, 18, 11, 9, 13, 7, 10, 6, 11, 4, 2, 3, 0), # 41
(20, 14, 17, 19, 12, 8, 10, 9, 4, 5, 1, 5, 0, 18, 13, 10, 13, 9, 4, 8, 2, 3, 5, 0, 2, 0), # 42
(19, 11, 11, 16, 12, 5, 5, 9, 6, 1, 1, 3, 0, 17, 23, 13, 7, 9, 7, 6, 6, 6, 7, 4, 2, 0), # 43
(11, 23, 20, 14, 19, 4, 8, 5, 2, 3, 2, 0, 0, 13, 11, 8, 10, 11, 4, 6, 3, 8, 7, 1, 1, 0), # 44
(18, 14, 16, 17, 14, 6, 11, 8, 5, 6, 2, 1, 0, 14, 17, 11, 9, 16, 5, 9, 7, 9, 4, 3, 0, 0), # 45
(20, 18, 14, 13, 7, 4, 6, 4, 6, 1, 2, 1, 0, 18, 17, 11, 12, 12, 10, 7, 4, 12, 5, 2, 1, 0), # 46
(16, 21, 10, 11, 13, 1, 8, 6, 7, 1, 5, 0, 0, 16, 21, 11, 12, 16, 11, 10, 3, 7, 1, 3, 2, 0), # 47
(14, 18, 9, 8, 5, 8, 10, 3, 5, 1, 1, 3, 0, 9, 15, 10, 10, 20, 10, 2, 5, 5, 5, 3, 1, 0), # 48
(9, 15, 12, 12, 17, 8, 8, 9, 5, 1, 3, 3, 0, 15, 7, 10, 12, 16, 10, 7, 4, 4, 9, 4, 1, 0), # 49
(18, 18, 12, 14, 19, 5, 2, 9, 8, 2, 2, 1, 0, 18, 12, 15, 14, 13, 6, 7, 3, 7, 5, 2, 4, 0), # 50
(12, 17, 16, 24, 11, 6, 4, 3, 3, 4, 3, 1, 0, 15, 17, 11, 15, 12, 6, 5, 8, 11, 2, 2, 1, 0), # 51
(14, 21, 9, 15, 12, 4, 11, 5, 2, 2, 4, 1, 0, 17, 17, 12, 13, 15, 10, 9, 1, 9, 4, 6, 0, 0), # 52
(18, 14, 9, 17, 16, 8, 5, 3, 4, 4, 2, 0, 0, 11, 14, 5, 10, 11, 3, 4, 2, 9, 5, 2, 1, 0), # 53
(14, 14, 16, 14, 20, 3, 9, 6, 2, 4, 2, 3, 0, 17, 10, 8, 11, 9, 9, 3, 5, 6, 3, 0, 1, 0), # 54
(21, 7, 14, 13, 10, 5, 3, 2, 3, 3, 1, 2, 0, 13, 13, 12, 8, 11, 9, 1, 3, 7, 4, 3, 1, 0), # 55
(19, 19, 15, 20, 17, 7, 6, 4, 7, 2, 1, 1, 0, 11, 10, 5, 5, 14, 9, 3, 0, 8, 2, 5, 2, 0), # 56
(11, 16, 16, 21, 15, 8, 2, 3, 6, 2, 2, 1, 0, 18, 7, 8, 10, 11, 4, 4, 2, 6, 2, 4, 2, 0), # 57
(8, 19, 11, 14, 14, 6, 5, 2, 12, 3, 3, 3, 0, 14, 9, 10, 8, 18, 4, 6, 4, 6, 3, 5, 3, 0), # 58
(18, 16, 20, 18, 9, 10, 7, 7, 7, 0, 2, 1, 0, 18, 15, 11, 7, 11, 8, 5, 1, 8, 4, 4, 2, 0), # 59
(9, 19, 16, 24, 13, 8, 6, 4, 6, 2, 3, 0, 0, 9, 12, 25, 10, 12, 5, 5, 1, 4, 3, 4, 0, 0), # 60
(22, 11, 12, 16, 12, 3, 6, 3, 7, 3, 1, 2, 0, 10, 11, 13, 6, 12, 3, 6, 4, 7, 2, 2, 4, 0), # 61
(23, 10, 17, 12, 14, 8, 7, 5, 8, 5, 1, 0, 0, 15, 12, 13, 4, 9, 4, 4, 2, 9, 4, 2, 1, 0), # 62
(16, 17, 11, 25, 16, 1, 3, 5, 7, 4, 1, 0, 0, 15, 12, 8, 14, 10, 6, 4, 2, 4, 3, 0, 1, 0), # 63
(17, 17, 17, 12, 12, 8, 5, 2, 6, 3, 3, 0, 0, 17, 16, 11, 12, 11, 7, 3, 4, 6, 2, 2, 0, 0), # 64
(13, 19, 16, 10, 14, 8, 5, 2, 6, 1, 4, 1, 0, 19, 22, 9, 9, 9, 7, 4, 5, 4, 2, 1, 1, 0), # 65
(16, 19, 15, 15, 9, 6, 4, 5, 11, 2, 0, 2, 0, 17, 18, 14, 9, 17, 8, 6, 6, 5, 10, 3, 0, 0), # 66
(15, 14, 14, 20, 12, 6, 6, 2, 4, 4, 0, 2, 0, 12, 11, 15, 10, 14, 7, 6, 8, 5, 4, 5, 1, 0), # 67
(16, 13, 10, 13, 15, 10, 8, 2, 10, 6, 2, 2, 0, 21, 21, 7, 7, 10, 5, 5, 8, 7, 5, 3, 0, 0), # 68
(14, 13, 14, 10, 12, 7, 3, 5, 6, 3, 2, 2, 0, 12, 11, 8, 11, 7, 5, 6, 6, 4, 3, 1, 2, 0), # 69
(17, 10, 12, 16, 10, 8, 11, 3, 7, 6, 1, 1, 0, 28, 9, 13, 9, 10, 3, 10, 4, 9, 4, 3, 1, 0), # 70
(13, 16, 19, 14, 12, 5, 5, 6, 9, 1, 2, 0, 0, 20, 14, 7, 7, 10, 8, 5, 4, 7, 5, 1, 1, 0), # 71
(17, 13, 18, 14, 19, 8, 3, 3, 10, 2, 3, 0, 0, 15, 15, 12, 8, 11, 4, 5, 4, 3, 3, 8, 0, 0), # 72
(19, 17, 13, 10, 11, 5, 10, 3, 4, 2, 1, 4, 0, 15, 15, 9, 12, 17, 4, 10, 4, 4, 2, 5, 1, 0), # 73
(15, 12, 15, 20, 12, 6, 5, 4, 7, 2, 5, 1, 0, 13, 10, 10, 8, 13, 8, 12, 4, 7, 4, 4, 0, 0), # 74
(13, 12, 11, 16, 10, 8, 7, 2, 4, 3, 2, 0, 0, 18, 13, 17, 11, 19, 7, 9, 4, 7, 2, 6, 3, 0), # 75
(15, 10, 20, 18, 8, 6, 5, 6, 9, 5, 3, 3, 0, 21, 8, 7, 9, 17, 4, 5, 8, 5, 2, 1, 4, 0), # 76
(17, 16, 10, 20, 9, 5, 5, 8, 15, 1, 1, 2, 0, 10, 11, 19, 6, 11, 9, 4, 1, 5, 4, 5, 1, 0), # 77
(12, 10, 8, 12, 17, 5, 6, 4, 7, 4, 1, 1, 0, 21, 10, 11, 6, 12, 8, 5, 3, 4, 4, 3, 1, 0), # 78
(19, 16, 12, 13, 8, 8, 5, 5, 5, 4, 3, 0, 0, 10, 16, 10, 7, 11, 6, 5, 3, 7, 2, 2, 4, 0), # 79
(27, 16, 7, 7, 7, 3, 5, 3, 2, 2, 1, 1, 0, 14, 13, 17, 3, 15, 6, 4, 6, 3, 5, 3, 4, 0), # 80
(15, 18, 17, 18, 13, 5, 5, 5, 4, 3, 1, 1, 0, 12, 12, 12, 4, 10, 10, 5, 3, 7, 4, 4, 0, 0), # 81
(13, 10, 19, 15, 10, 11, 6, 5, 4, 1, 2, 1, 0, 15, 15, 12, 6, 18, 9, 6, 7, 6, 4, 1, 4, 0), # 82
(12, 14, 21, 16, 14, 7, 2, 3, 4, 3, 3, 0, 0, 17, 12, 6, 5, 15, 6, 5, 1, 5, 5, 4, 0, 0), # 83
(21, 16, 12, 9, 16, 7, 4, 5, 5, 2, 1, 0, 0, 25, 19, 8, 9, 10, 7, 6, 6, 6, 4, 1, 2, 0), # 84
(12, 17, 10, 8, 12, 5, 5, 6, 3, 0, 4, 5, 0, 19, 12, 14, 9, 21, 7, 10, 4, 11, 4, 4, 1, 0), # 85
(20, 14, 12, 13, 10, 6, 5, 4, 9, 2, 4, 4, 0, 12, 14, 17, 6, 12, 4, 5, 4, 6, 7, 1, 0, 0), # 86
(15, 13, 21, 13, 11, 11, 5, 2, 5, 1, 1, 0, 0, 14, 11, 12, 13, 18, 5, 4, 8, 5, 2, 2, 1, 0), # 87
(16, 15, 8, 11, 11, 5, 6, 6, 5, 3, 1, 0, 0, 19, 7, 7, 9, 14, 11, 4, 2, 7, 4, 0, 1, 0), # 88
(15, 14, 17, 21, 11, 7, 6, 2, 5, 4, 2, 1, 0, 22, 11, 10, 8, 16, 5, 8, 2, 7, 1, 6, 2, 0), # 89
(16, 12, 10, 12, 12, 6, 5, 2, 4, 0, 4, 3, 0, 22, 14, 5, 8, 15, 5, 6, 4, 7, 8, 0, 1, 0), # 90
(12, 10, 17, 12, 9, 13, 4, 1, 6, 1, 1, 0, 0, 18, 14, 15, 7, 15, 10, 2, 4, 6, 1, 4, 1, 0), # 91
(17, 10, 11, 20, 8, 4, 5, 4, 2, 1, 2, 2, 0, 23, 22, 11, 7, 11, 4, 4, 6, 4, 3, 2, 1, 0), # 92
(14, 14, 6, 14, 16, 8, 3, 7, 2, 2, 2, 3, 0, 12, 9, 10, 10, 9, 5, 5, 2, 9, 3, 4, 1, 0), # 93
(14, 7, 13, 10, 9, 8, 2, 3, 7, 1, 1, 0, 0, 20, 13, 10, 3, 14, 3, 4, 7, 1, 3, 3, 0, 0), # 94
(20, 7, 12, 14, 13, 2, 5, 8, 4, 3, 1, 1, 0, 17, 9, 11, 11, 11, 5, 3, 4, 5, 2, 2, 2, 0), # 95
(18, 7, 16, 10, 12, 7, 10, 5, 11, 6, 2, 3, 0, 20, 13, 13, 10, 11, 5, 7, 4, 7, 6, 1, 1, 0), # 96
(14, 10, 9, 17, 8, 4, 3, 3, 3, 4, 1, 3, 0, 6, 8, 8, 2, 14, 7, 3, 1, 10, 5, 3, 2, 0), # 97
(10, 15, 14, 21, 13, 6, 6, 5, 11, 0, 5, 1, 0, 19, 16, 9, 5, 17, 9, 12, 6, 6, 6, 4, 1, 0), # 98
(15, 24, 12, 17, 16, 2, 11, 3, 3, 1, 1, 0, 0, 11, 11, 13, 7, 11, 6, 10, 2, 7, 5, 4, 3, 0), # 99
(11, 14, 10, 11, 6, 6, 8, 6, 6, 1, 0, 3, 0, 14, 4, 5, 7, 12, 7, 7, 8, 3, 5, 0, 2, 0), # 100
(12, 17, 14, 11, 7, 5, 2, 3, 8, 4, 3, 2, 0, 18, 15, 8, 8, 10, 7, 4, 4, 8, 2, 2, 1, 0), # 101
(13, 8, 11, 15, 16, 4, 6, 5, 9, 5, 5, 2, 0, 14, 8, 10, 5, 9, 8, 5, 4, 5, 1, 6, 0, 0), # 102
(11, 8, 11, 11, 12, 5, 7, 8, 4, 2, 1, 3, 0, 13, 7, 9, 4, 9, 4, 5, 4, 9, 5, 3, 1, 0), # 103
(21, 11, 11, 16, 8, 4, 4, 3, 4, 1, 2, 1, 0, 14, 17, 9, 6, 20, 10, 4, 6, 6, 6, 5, 0, 0), # 104
(12, 13, 12, 12, 18, 3, 4, 5, 6, 3, 1, 2, 0, 22, 6, 10, 12, 11, 3, 4, 4, 7, 3, 4, 2, 0), # 105
(27, 7, 14, 16, 13, 12, 5, 2, 5, 2, 3, 3, 0, 12, 18, 9, 5, 9, 4, 2, 6, 8, 4, 3, 0, 0), # 106
(15, 9, 11, 15, 9, 4, 5, 4, 2, 4, 1, 0, 0, 17, 14, 10, 3, 15, 4, 5, 1, 5, 4, 1, 1, 0), # 107
(11, 9, 7, 19, 14, 7, 4, 3, 6, 3, 0, 0, 0, 12, 15, 10, 9, 14, 4, 7, 3, 4, 4, 3, 0, 0), # 108
(15, 17, 17, 3, 19, 4, 4, 6, 12, 0, 2, 1, 0, 19, 13, 5, 8, 13, 7, 4, 4, 8, 3, 4, 4, 0), # 109
(22, 11, 12, 11, 8, 6, 7, 2, 4, 3, 3, 2, 0, 18, 13, 9, 7, 9, 4, 7, 5, 4, 4, 4, 0, 0), # 110
(25, 8, 10, 9, 11, 4, 9, 5, 8, 1, 3, 2, 0, 10, 19, 12, 8, 13, 5, 6, 1, 8, 4, 0, 1, 0), # 111
(11, 10, 12, 17, 13, 3, 4, 2, 5, 2, 4, 4, 0, 14, 16, 14, 8, 11, 4, 8, 2, 4, 3, 3, 0, 0), # 112
(9, 7, 11, 16, 13, 5, 6, 2, 7, 2, 2, 2, 0, 13, 11, 7, 5, 17, 12, 4, 3, 4, 4, 4, 4, 0), # 113
(13, 13, 14, 13, 11, 4, 10, 5, 5, 2, 3, 1, 0, 13, 9, 10, 6, 9, 5, 4, 4, 5, 5, 4, 0, 0), # 114
(14, 13, 7, 12, 12, 4, 8, 0, 5, 2, 3, 1, 0, 18, 13, 9, 7, 21, 5, 4, 6, 8, 5, 1, 0, 0), # 115
(16, 10, 17, 18, 10, 6, 5, 2, 7, 1, 3, 1, 0, 13, 7, 9, 5, 13, 10, 1, 3, 4, 4, 2, 0, 0), # 116
(16, 15, 9, 15, 2, 8, 3, 5, 11, 2, 2, 0, 0, 16, 14, 6, 8, 19, 6, 5, 2, 1, 4, 5, 3, 0), # 117
(20, 8, 14, 22, 8, 4, 4, 5, 5, 3, 4, 2, 0, 13, 11, 14, 7, 5, 4, 5, 3, 10, 8, 3, 0, 0), # 118
(18, 14, 9, 11, 10, 6, 2, 2, 3, 2, 1, 1, 0, 13, 12, 11, 13, 13, 6, 3, 5, 4, 6, 4, 0, 0), # 119
(10, 9, 12, 13, 10, 7, 5, 3, 4, 0, 1, 2, 0, 13, 14, 11, 9, 11, 4, 6, 4, 1, 3, 1, 3, 0), # 120
(22, 15, 12, 10, 15, 5, 4, 2, 4, 1, 2, 3, 0, 22, 18, 9, 4, 12, 6, 3, 3, 9, 6, 1, 1, 0), # 121
(15, 13, 11, 11, 14, 3, 8, 3, 7, 2, 0, 1, 0, 12, 18, 9, 4, 14, 7, 10, 5, 3, 6, 3, 0, 0), # 122
(10, 7, 5, 10, 12, 5, 4, 7, 7, 2, 3, 2, 0, 21, 8, 8, 7, 11, 6, 6, 6, 4, 3, 3, 3, 0), # 123
(13, 8, 14, 18, 12, 3, 3, 4, 4, 4, 2, 1, 0, 12, 11, 7, 8, 15, 7, 3, 4, 4, 5, 4, 0, 0), # 124
(10, 9, 10, 8, 10, 8, 3, 7, 7, 5, 1, 0, 0, 24, 9, 9, 5, 8, 6, 4, 1, 7, 4, 0, 0, 0), # 125
(12, 7, 14, 12, 9, 6, 3, 5, 8, 2, 1, 0, 0, 9, 14, 10, 5, 7, 6, 4, 7, 7, 5, 4, 0, 0), # 126
(14, 6, 13, 11, 10, 6, 3, 1, 5, 2, 1, 2, 0, 15, 6, 5, 5, 10, 8, 0, 0, 8, 2, 3, 1, 0), # 127
(11, 9, 7, 11, 8, 3, 6, 1, 9, 3, 0, 0, 0, 15, 10, 10, 5, 14, 10, 7, 5, 6, 2, 1, 0, 0), # 128
(12, 10, 14, 13, 16, 3, 2, 4, 6, 2, 2, 2, 0, 19, 10, 8, 7, 11, 3, 6, 1, 3, 3, 4, 1, 0), # 129
(21, 14, 10, 12, 10, 5, 1, 3, 5, 2, 2, 3, 0, 17, 13, 9, 4, 10, 5, 1, 1, 5, 7, 2, 1, 0), # 130
(16, 13, 13, 11, 7, 2, 9, 6, 6, 2, 2, 2, 0, 10, 8, 12, 6, 8, 6, 3, 6, 3, 5, 6, 3, 0), # 131
(16, 8, 8, 10, 9, 8, 4, 6, 5, 1, 2, 1, 0, 15, 9, 10, 5, 15, 6, 5, 3, 4, 5, 2, 1, 0), # 132
(11, 11, 17, 11, 15, 3, 3, 5, 2, 1, 1, 0, 0, 8, 12, 13, 4, 15, 12, 9, 2, 2, 5, 4, 0, 0), # 133
(14, 5, 14, 11, 13, 4, 6, 7, 5, 0, 3, 3, 0, 17, 16, 5, 1, 10, 5, 6, 4, 4, 5, 2, 1, 0), # 134
(15, 16, 10, 9, 12, 1, 2, 1, 4, 0, 2, 1, 0, 9, 13, 9, 10, 9, 4, 7, 2, 10, 4, 1, 1, 0), # 135
(16, 14, 13, 8, 13, 10, 4, 4, 5, 1, 0, 2, 0, 13, 15, 5, 8, 8, 8, 6, 2, 8, 2, 4, 1, 0), # 136
(25, 10, 13, 6, 10, 8, 5, 3, 10, 0, 4, 2, 0, 10, 11, 9, 6, 15, 6, 10, 4, 6, 5, 3, 3, 0), # 137
(13, 11, 17, 7, 9, 1, 3, 3, 7, 3, 2, 0, 0, 19, 14, 7, 5, 16, 3, 2, 4, 5, 1, 0, 1, 0), # 138
(22, 9, 11, 14, 15, 5, 4, 3, 4, 4, 4, 2, 0, 21, 12, 7, 7, 16, 3, 4, 8, 6, 7, 4, 1, 0), # 139
(17, 8, 13, 9, 13, 10, 5, 2, 5, 1, 0, 0, 0, 15, 10, 8, 5, 6, 7, 5, 4, 3, 2, 0, 0, 0), # 140
(11, 6, 7, 12, 11, 6, 2, 6, 8, 4, 5, 2, 0, 16, 3, 7, 4, 12, 8, 6, 4, 4, 1, 2, 0, 0), # 141
(8, 12, 13, 6, 17, 3, 6, 4, 6, 0, 1, 0, 0, 13, 10, 9, 4, 10, 5, 7, 5, 6, 2, 3, 2, 0), # 142
(10, 6, 11, 16, 10, 5, 3, 4, 4, 0, 1, 0, 0, 15, 12, 8, 5, 10, 1, 0, 6, 8, 5, 3, 2, 0), # 143
(13, 9, 13, 18, 11, 6, 13, 5, 2, 1, 3, 2, 0, 7, 20, 8, 7, 4, 5, 4, 5, 4, 5, 1, 0, 0), # 144
(9, 8, 13, 6, 12, 5, 1, 3, 2, 2, 1, 0, 0, 13, 13, 9, 6, 11, 4, 11, 4, 7, 5, 4, 0, 0), # 145
(7, 7, 9, 9, 13, 3, 5, 3, 3, 1, 2, 1, 0, 14, 10, 6, 6, 11, 7, 6, 4, 6, 6, 5, 0, 0), # 146
(10, 14, 12, 10, 6, 9, 5, 4, 4, 3, 0, 1, 0, 6, 9, 9, 9, 16, 4, 1, 2, 5, 4, 7, 1, 0), # 147
(20, 10, 10, 15, 17, 7, 0, 6, 3, 5, 0, 2, 0, 7, 9, 11, 5, 17, 8, 1, 7, 4, 2, 2, 0, 0), # 148
(9, 6, 22, 7, 9, 6, 1, 6, 7, 3, 1, 1, 0, 14, 17, 8, 4, 14, 5, 5, 6, 8, 4, 2, 0, 0), # 149
(19, 6, 5, 13, 11, 5, 6, 6, 3, 3, 1, 1, 0, 15, 11, 9, 5, 9, 5, 2, 4, 4, 2, 2, 0, 0), # 150
(11, 3, 10, 14, 12, 4, 4, 1, 5, 1, 3, 0, 0, 19, 10, 7, 5, 11, 7, 4, 6, 6, 3, 0, 1, 0), # 151
(11, 16, 16, 7, 10, 5, 2, 2, 3, 0, 2, 2, 0, 21, 8, 8, 10, 10, 5, 8, 5, 6, 5, 0, 0, 0), # 152
(11, 6, 18, 13, 7, 8, 4, 3, 1, 3, 5, 0, 0, 13, 23, 4, 5, 12, 7, 3, 6, 2, 1, 2, 2, 0), # 153
(11, 4, 15, 8, 8, 4, 4, 6, 6, 2, 2, 0, 0, 18, 7, 11, 3, 12, 6, 3, 7, 5, 4, 1, 0, 0), # 154
(8, 9, 8, 15, 11, 5, 2, 6, 10, 1, 3, 2, 0, 12, 11, 10, 4, 13, 5, 5, 3, 5, 2, 5, 1, 0), # 155
(11, 8, 13, 15, 11, 4, 5, 5, 8, 2, 0, 1, 0, 17, 4, 5, 6, 8, 7, 6, 3, 3, 4, 3, 1, 0), # 156
(9, 10, 10, 12, 14, 5, 4, 6, 8, 6, 2, 3, 0, 16, 11, 10, 10, 10, 2, 3, 3, 6, 6, 2, 2, 0), # 157
(14, 14, 10, 9, 11, 4, 6, 7, 2, 1, 2, 1, 0, 9, 10, 7, 5, 14, 1, 7, 7, 5, 7, 3, 0, 0), # 158
(12, 5, 17, 14, 10, 5, 9, 6, 4, 4, 1, 2, 0, 9, 12, 5, 8, 10, 4, 4, 2, 4, 5, 2, 0, 0), # 159
(11, 7, 19, 13, 5, 5, 1, 3, 7, 2, 3, 0, 0, 13, 6, 4, 2, 11, 3, 1, 4, 5, 3, 1, 3, 0), # 160
(15, 8, 9, 17, 12, 4, 4, 4, 4, 2, 1, 1, 0, 8, 11, 11, 3, 9, 3, 3, 3, 4, 5, 3, 0, 0), # 161
(18, 10, 9, 7, 8, 3, 4, 3, 6, 4, 1, 1, 0, 10, 17, 4, 8, 10, 6, 5, 1, 4, 1, 1, 0, 0), # 162
(13, 12, 8, 10, 7, 4, 2, 6, 1, 2, 0, 1, 0, 14, 5, 7, 6, 11, 3, 4, 4, 7, 3, 1, 0, 0), # 163
(7, 9, 16, 8, 7, 7, 3, 6, 4, 2, 0, 2, 0, 10, 2, 7, 6, 6, 3, 3, 5, 4, 1, 6, 0, 0), # 164
(10, 9, 7, 9, 9, 3, 0, 0, 3, 2, 1, 1, 0, 18, 6, 5, 8, 7, 3, 1, 5, 6, 2, 0, 1, 0), # 165
(11, 8, 9, 7, 12, 3, 4, 4, 3, 4, 2, 1, 0, 8, 10, 9, 4, 11, 3, 3, 4, 5, 5, 0, 0, 0), # 166
(7, 11, 7, 13, 16, 4, 2, 2, 7, 1, 1, 1, 0, 11, 8, 4, 3, 5, 3, 2, 3, 1, 5, 2, 0, 0), # 167
(9, 6, 12, 8, 5, 2, 2, 3, 2, 1, 0, 0, 0, 16, 16, 5, 3, 7, 5, 3, 2, 3, 4, 2, 0, 0), # 168
(8, 6, 10, 10, 5, 4, 2, 1, 2, 4, 1, 3, 0, 9, 10, 6, 2, 12, 5, 5, 1, 3, 6, 5, 1, 0), # 169
(9, 8, 10, 11, 8, 3, 2, 2, 10, 0, 3, 0, 0, 7, 7, 11, 5, 5, 6, 3, 3, 4, 4, 5, 1, 0), # 170
(10, 2, 7, 19, 3, 3, 0, 2, 6, 0, 3, 0, 0, 8, 6, 8, 2, 9, 10, 3, 0, 3, 2, 3, 0, 0), # 171
(11, 4, 9, 8, 10, 0, 3, 1, 5, 2, 1, 0, 0, 4, 6, 6, 2, 7, 2, 0, 4, 3, 3, 4, 0, 0), # 172
(6, 3, 10, 16, 11, 2, 2, 2, 9, 1, 2, 0, 0, 6, 3, 6, 1, 11, 4, 2, 2, 5, 2, 2, 0, 0), # 173
(11, 5, 8, 8, 6, 3, 4, 1, 6, 1, 0, 0, 0, 10, 5, 6, 6, 8, 6, 4, 1, 8, 2, 1, 0, 0), # 174
(10, 6, 5, 6, 4, 5, 2, 5, 3, 3, 2, 1, 0, 7, 6, 6, 3, 7, 4, 4, 5, 3, 4, 2, 0, 0), # 175
(7, 8, 3, 5, 5, 5, 3, 0, 3, 1, 0, 1, 0, 7, 5, 1, 1, 6, 3, 1, 0, 3, 0, 0, 0, 0), # 176
(4, 5, 4, 2, 2, 3, 2, 2, 2, 0, 2, 0, 0, 7, 7, 9, 7, 7, 5, 3, 2, 1, 2, 1, 0, 0), # 177
(8, 3, 3, 10, 4, 3, 1, 4, 3, 0, 0, 0, 0, 7, 5, 0, 4, 6, 4, 1, 2, 2, 3, 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 = (
(8.033384925394829, 8.840461695509067, 8.33805316738001, 9.943468438181492, 8.887496972175379, 5.021847891259743, 6.6336569845982645, 7.445081876767077, 9.744158499468812, 6.332824024835792, 6.728424262216965, 7.836664125289878, 8.134208340125381), # 0
(8.566923443231959, 9.424097110631614, 8.888554546128244, 10.600230805242587, 9.475984539958779, 5.353573734468089, 7.07115030602191, 7.9352219566491335, 10.387592522132655, 6.75036910764344, 7.172953817529811, 8.353946657302968, 8.671666635903767), # 1
(9.09875681436757, 10.005416273425567, 9.436867656875862, 11.254380327463672, 10.062340757999591, 5.683976183219912, 7.506909612737127, 8.423400396647072, 11.028458891004078, 7.166262040032874, 7.615717038042101, 8.869172243284888, 9.206983725135505), # 2
(9.6268124690345, 10.582112803098315, 9.980817390911767, 11.903322252051318, 10.644258681603043, 6.011744996136181, 7.939205826636729, 8.907681851991212, 11.664216257473749, 7.578852317481889, 8.054957458923813, 9.380297095888738, 9.738036490006762), # 3
(10.149017837465571, 11.15188031885724, 10.518228639524859, 12.544461826212112, 11.219431366074389, 6.335569931837869, 8.366309869613534, 9.386130977911865, 12.292323272932332, 7.986489435468286, 8.48891861534492, 9.885277427767623, 10.262701812703709), # 4
(10.663300349893618, 11.712412439909741, 11.04692629400403, 13.17520429715263, 11.785551866718848, 6.654140748945943, 8.786492663560358, 9.856812429639348, 12.910238588770495, 8.387522889469862, 8.915844042475412, 10.382069451574637, 10.778856575412524), # 5
(11.167587436551466, 12.261402785463202, 11.564735245638186, 13.792954912079445, 12.34031323884167, 6.9661472060813825, 9.19802513037002, 10.317790862403982, 13.515420856378904, 8.780302174964413, 9.333977275485251, 10.868629379962893, 11.284377660319372), # 6
(11.65980652767195, 12.79654497472501, 12.069480385716217, 14.39511891819914, 12.881408537748086, 7.270279061865153, 9.599178191935335, 10.767130931436084, 14.105328727148231, 9.16317678742974, 9.74156184954443, 11.342913425585486, 11.777141949610431), # 7
(12.137885053487896, 13.31553262690256, 12.558986605527034, 14.979101562718284, 13.406530818743338, 7.565226074918224, 9.988222770149116, 11.20289729196596, 14.67742085246913, 9.53449622234364, 10.136841299822914, 11.802877801095525, 12.255026325471867), # 8
(12.599750444232136, 13.816059361203237, 13.031078796359527, 15.54230809284347, 13.913373137132655, 7.849678003861574, 10.363429786904192, 11.623154599223941, 15.229155883732279, 9.892609975183907, 10.518059161490685, 12.246478719146102, 12.71590767008986), # 9
(13.043330130137491, 14.295818796834425, 13.483581849502599, 16.08214375578126, 14.399628548221282, 8.122324607316171, 10.723070164093368, 12.025967508440338, 15.757992472328343, 10.235867541428343, 10.883458969717719, 12.671672392390324, 13.157662865650577), # 10
(13.466551541436809, 14.752504553003531, 13.914320656245145, 16.596013798738237, 14.862990107314454, 8.38185564390299, 11.065414823609466, 12.409400674845465, 16.26138926964799, 10.56261841655475, 11.231284259673998, 13.076415033481297, 13.57816879434018), # 11
(13.8673421083629, 15.183810248917917, 14.321120107876064, 17.08132346892098, 15.301150869717404, 8.626960872242991, 11.388734687345298, 12.771518753669634, 16.736804927081888, 10.871212096040916, 11.559778566529495, 13.45866285507211, 13.975302338344855), # 12
(14.243629261148602, 15.587429503784993, 14.701805095684259, 17.53547801353607, 15.711803890735363, 8.856330050957158, 11.69130067719369, 13.11038640014317, 17.181698096020693, 11.159998075364648, 11.86718542545419, 13.816372069815873, 14.346940379850777), # 13
(14.593340430026746, 15.961055936812143, 15.054200510958635, 17.95588267979007, 16.092642225673583, 9.068652938666455, 11.971383715047459, 13.424068269496395, 17.593527427855076, 11.427325850003735, 12.151748371618055, 14.147498890365696, 14.690959801044102), # 14
(14.914403045230168, 16.30238316720675, 15.376131244988068, 18.339942714889578, 16.441358929837293, 9.26261929399186, 12.227254722799401, 13.71062901695961, 17.96975157397571, 11.671544915435986, 12.411710940191071, 14.449999529374674, 15.00523748411101), # 15
(15.204744536991681, 16.609104814176213, 15.66542218906148, 18.685063366041145, 16.755647058531732, 9.436918875554335, 12.457184622342362, 13.968133297763139, 18.307829185773258, 11.891004767139194, 12.64531666634322, 14.721830199495905, 15.287650311237673), # 16
(15.46229233554412, 16.878914496927916, 15.919898234467764, 18.98864988045138, 17.033199667062142, 9.590241441974857, 12.659444335569138, 14.19464576713731, 18.605218914638375, 12.084054900591148, 12.850809085244478, 14.960947113382488, 15.536075164610265), # 17
(15.684973871120327, 17.10950583466924, 16.137384272495808, 19.248107505326846, 17.271709810733743, 9.721276751874406, 12.832304784372562, 14.388231080312417, 18.859379411961754, 12.249044811269659, 13.026431732064815, 15.165306483687544, 15.748388926414954), # 18
(15.870716573953118, 17.29857244660759, 16.315705194434525, 19.460841487874106, 17.468870544851786, 9.828714563873934, 12.974036890645431, 14.546953892518793, 19.067769329134048, 12.384323994652526, 13.170428141974206, 15.332864523064154, 15.922468478837914), # 19
(16.01744787427533, 17.44380795195034, 16.452685891572806, 19.624257075299766, 17.62237492472151, 9.91124463659443, 13.08291157628058, 14.668878858986748, 19.22784731754592, 12.488241946217535, 13.28104185014264, 15.461577444165426, 16.05619070406532), # 20
(16.123095202319785, 17.542905969904893, 16.54615125519955, 19.73575951481038, 17.729916005648143, 9.967556728656858, 13.157199763170816, 14.752070634946598, 19.337072028588036, 12.559148161442488, 13.356516391740096, 15.54940145964447, 16.147432484283325), # 21
(16.18558598831933, 17.59356011967863, 16.593926176603656, 19.79275405361254, 17.78918684293692, 9.996340598682188, 13.19517237320896, 14.794593875628664, 19.392902113651065, 12.595392135805188, 13.395095301936545, 15.594292782154383, 16.194070701678125), # 22
(16.208629381348224, 17.599557750342935, 16.599877091906723, 19.799889300411525, 17.804371289652156, 10.0, 13.199686403614942, 14.79919012345679, 19.399881975308645, 12.599667636031093, 13.399932859458785, 15.599836122542294, 16.2), # 23
(16.225619860854646, 17.59605925925926, 16.598903703703705, 19.799011111111113, 17.812972181783763, 10.0, 13.197206100217867, 14.7928, 19.398946666666667, 12.59704098765432, 13.39939932659933, 15.598538271604937, 16.2), # 24
(16.242251568338528, 17.589163237311386, 16.59698216735254, 19.797273662551444, 17.821383912951205, 10.0, 13.192318244170096, 14.78024691358025, 19.3970987654321, 12.591870141746686, 13.39834143908218, 15.595976223136716, 16.2), # 25
(16.258523230476854, 17.578975034293556, 16.594138820301787, 19.79469670781893, 17.82960618947377, 10.0, 13.185098749293955, 14.76176790123457, 19.39436197530864, 12.58424113397348, 13.396768774161368, 15.592185093735715, 16.2), # 26
(16.27443357394662, 17.5656, 16.5904, 19.7913, 17.837638717670742, 10.0, 13.175623529411766, 14.7376, 19.39076, 12.57424, 13.39469090909091, 15.587200000000003, 16.2), # 27
(16.2899813254248, 17.549143484224967, 16.585792043895747, 19.787103292181072, 17.845481203861443, 10.0, 13.163968498345842, 14.707980246913582, 19.386316543209876, 12.561952775491541, 13.39211742112483, 15.581056058527665, 16.2), # 28
(16.3051652115884, 17.52971083676269, 16.580341289437587, 19.78212633744856, 17.853133354365152, 10.0, 13.150209569918506, 14.673145679012345, 19.381055308641976, 12.547465496113398, 13.389057887517147, 15.57378838591678, 16.2), # 29
(16.319983959114396, 17.50740740740741, 16.574074074074073, 19.77638888888889, 17.860594875501178, 10.0, 13.13442265795207, 14.633333333333333, 19.375, 12.530864197530866, 13.385521885521886, 15.56543209876543, 16.2), # 30
(16.334436294679772, 17.482338545953365, 16.567016735253773, 19.76991069958848, 17.867865473588814, 10.0, 13.116683676268863, 14.588780246913581, 19.368174320987656, 12.512234915409238, 13.381518992393067, 15.556022313671699, 16.2), # 31
(16.34852094496153, 17.45460960219479, 16.55919561042524, 19.762711522633747, 17.874944854947355, 10.0, 13.097068538691198, 14.539723456790126, 19.360601975308644, 12.49166368541381, 13.377058785384712, 15.545594147233656, 16.2), # 32
(16.362236636636634, 17.424325925925924, 16.55063703703704, 19.75481111111111, 17.8818327258961, 10.0, 13.075653159041394, 14.486400000000001, 19.352306666666667, 12.469236543209878, 13.372150841750841, 15.534182716049381, 16.2), # 33
(16.375582096382097, 17.391592866941014, 16.541367352537723, 19.746229218106997, 17.888528792754347, 10.0, 13.052513451141776, 14.429046913580246, 19.343312098765438, 12.445039524462736, 13.36680473874548, 15.521823136716964, 16.2), # 34
(16.388556050874893, 17.356515775034293, 16.53141289437586, 19.736985596707818, 17.895032761841392, 10.0, 13.027725328814654, 14.367901234567903, 19.333641975308645, 12.419158664837678, 13.361030053622645, 15.508550525834478, 16.2), # 35
(16.40115722679201, 17.3192, 16.5208, 19.7271, 17.901344339476537, 10.0, 13.001364705882352, 14.303200000000002, 19.32332, 12.391680000000001, 13.354836363636364, 15.494400000000002, 16.2), # 36
(16.41338435081044, 17.27975089163237, 16.50955500685871, 19.71659218106996, 17.907463231979076, 10.0, 12.97350749616719, 14.23518024691358, 19.31236987654321, 12.362689565615, 13.348233246040657, 15.479406675811616, 16.2), # 37
(16.425236149607162, 17.238273799725654, 16.49770425240055, 19.70548189300412, 17.913389145668305, 10.0, 12.944229613491487, 14.164079012345681, 19.300815308641976, 12.332273397347967, 13.341230278089538, 15.4636056698674, 16.2), # 38
(16.436711349859177, 17.194874074074075, 16.485274074074077, 19.69378888888889, 17.919121786863524, 10.0, 12.913606971677561, 14.090133333333334, 19.288680000000003, 12.300517530864198, 13.333837037037037, 15.447032098765431, 16.2), # 39
(16.44780867824346, 17.149657064471878, 16.472290809327845, 19.6815329218107, 17.924660861884032, 10.0, 12.88171548454773, 14.013580246913584, 19.27598765432099, 12.267508001828991, 13.326063100137175, 15.429721079103798, 16.2), # 40
(16.458526861437004, 17.102728120713305, 16.458780795610426, 19.66873374485597, 17.930006077049125, 10.0, 12.848631065924312, 13.934656790123459, 19.262761975308642, 12.233330845907636, 13.317918044643973, 15.411707727480568, 16.2), # 41
(16.4688646261168, 17.054192592592596, 16.444770370370374, 19.655411111111114, 17.935157138678093, 10.0, 12.814429629629629, 13.8536, 19.24902666666667, 12.198072098765433, 13.30941144781145, 15.393027160493828, 16.2), # 42
(16.47882069895983, 17.00415582990398, 16.430285871056242, 19.641584773662554, 17.940113753090245, 10.0, 12.779187089486001, 13.770646913580249, 19.234805432098767, 12.161817796067673, 13.300552886893627, 15.373714494741657, 16.2), # 43
(16.488393806643085, 16.9527231824417, 16.4153536351166, 19.62727448559671, 17.944875626604873, 10.0, 12.742979359315743, 13.686034567901238, 19.220121975308643, 12.124653973479653, 13.291351939144532, 15.353804846822133, 16.2), # 44
(16.497582675843546, 16.900000000000002, 16.400000000000002, 19.6125, 17.949442465541274, 10.0, 12.705882352941178, 13.600000000000001, 19.205, 12.086666666666668, 13.281818181818181, 15.333333333333332, 16.2), # 45
(16.50638603323821, 16.846091632373113, 16.384251303155008, 19.59728106995885, 17.953813976218747, 10.0, 12.667971984184621, 13.512780246913582, 19.189463209876543, 12.04794191129401, 13.271961192168598, 15.312335070873344, 16.2), # 46
(16.514802605504055, 16.79110342935528, 16.36813388203018, 19.581637448559672, 17.957989864956588, 10.0, 12.629324166868395, 13.424612345679012, 19.173535308641977, 12.008565743026978, 13.261790547449806, 15.29084517604024, 16.2), # 47
(16.522831119318074, 16.735140740740743, 16.351674074074076, 19.565588888888893, 17.961969838074097, 10.0, 12.590014814814815, 13.335733333333335, 19.15724, 11.968624197530865, 13.251315824915824, 15.268898765432098, 16.2), # 48
(16.53047030135726, 16.67830891632373, 16.334898216735255, 19.549155144032923, 17.965753601890572, 10.0, 12.550119841846204, 13.246380246913581, 19.14060098765432, 11.928203310470966, 13.240546601820677, 15.246530955647007, 16.2), # 49
(16.537718878298588, 16.620713305898494, 16.31783264746228, 19.53235596707819, 17.969340862725304, 10.0, 12.50971516178488, 13.15679012345679, 19.12364197530864, 11.887389117512575, 13.22949245541838, 15.223776863283039, 16.2), # 50
(16.544575576819057, 16.56245925925926, 16.300503703703704, 19.515211111111114, 17.9727313268976, 10.0, 12.46887668845316, 13.0672, 19.10638666666667, 11.846267654320988, 13.218162962962964, 15.200671604938274, 16.2), # 51
(16.551039123595647, 16.503652126200276, 16.282937722908095, 19.497740329218107, 17.975924700726743, 10.0, 12.427680335673365, 12.977846913580246, 19.0888587654321, 11.8049249565615, 13.206567701708444, 15.177250297210794, 16.2), # 52
(16.55710824530535, 16.444397256515778, 16.26516104252401, 19.479963374485596, 17.978920690532046, 10.0, 12.386202017267813, 12.888967901234569, 19.071081975308644, 11.763447059899406, 13.194716248908842, 15.153548056698675, 16.2), # 53
(16.562781668625146, 16.384800000000002, 16.2472, 19.4619, 17.981719002632804, 10.0, 12.344517647058824, 12.800799999999999, 19.05308, 11.72192, 13.18261818181818, 15.1296, 16.2), # 54
(16.568058120232035, 16.324965706447188, 16.229080932784637, 19.443569958847736, 17.984319343348304, 10.0, 12.302703138868717, 12.71358024691358, 19.034876543209876, 11.68042981252858, 13.170283077690485, 15.10544124371285, 16.2), # 55
(16.572936326802996, 16.264999725651577, 16.210830178326475, 19.424993004115226, 17.986721418997856, 10.0, 12.26083440651981, 12.627545679012346, 19.016495308641975, 11.639062533150437, 13.157720513779774, 15.0811069044353, 16.2), # 56
(16.577415015015013, 16.205007407407408, 16.192474074074077, 19.40618888888889, 17.988924935900748, 10.0, 12.218987363834422, 12.542933333333336, 18.997960000000003, 11.597904197530866, 13.144940067340068, 15.056632098765432, 16.2), # 57
(16.581492911545087, 16.145094101508917, 16.174038957475997, 19.387177366255145, 17.99092960037628, 10.0, 12.177237924634875, 12.459980246913581, 18.979294320987655, 11.557040841335164, 13.131951315625393, 15.032051943301326, 16.2), # 58
(16.585168743070195, 16.085365157750342, 16.155551165980796, 19.367978189300413, 17.992735118743752, 10.0, 12.135662002743485, 12.378923456790124, 18.960521975308644, 11.516558500228626, 13.11876383588976, 15.007401554641062, 16.2), # 59
(16.588441236267325, 16.02592592592593, 16.137037037037036, 19.34861111111111, 17.99434119732246, 10.0, 12.094335511982571, 12.3, 18.94166666666667, 11.476543209876544, 13.105387205387206, 14.982716049382717, 16.2), # 60
(16.591309117813463, 15.966881755829906, 16.11852290809328, 19.329095884773665, 17.995747542431697, 10.0, 12.053334366174454, 12.223446913580247, 18.922752098765432, 11.437081005944217, 13.091831001371743, 14.958030544124373, 16.2), # 61
(16.593771114385607, 15.908337997256517, 16.100035116598082, 19.30945226337449, 17.996953860390775, 10.0, 12.01273447914145, 12.149501234567902, 18.903801975308642, 11.398257924096939, 13.078104801097394, 14.933380155464107, 16.2), # 62
(16.595825952660736, 15.8504, 16.0816, 19.289700000000003, 17.99795985751897, 10.0, 11.972611764705881, 12.078400000000002, 18.88484, 11.36016, 13.064218181818184, 14.9088, 16.2), # 63
(16.597472359315837, 15.793173113854596, 16.0632438957476, 19.26985884773663, 17.998765240135597, 10.0, 11.933042136690068, 12.010380246913583, 18.86588987654321, 11.322873269318702, 13.050180720788127, 14.884325194330135, 16.2), # 64
(16.5987090610279, 15.73676268861454, 16.04499314128944, 19.249948559670784, 17.999369714559947, 10.0, 11.894101508916325, 11.945679012345678, 18.846975308641976, 11.286483767718336, 13.036001995261257, 14.859990855052581, 16.2), # 65
(16.599534784473914, 15.681274074074077, 16.026874074074076, 19.22998888888889, 17.999772987111317, 10.0, 11.855865795206972, 11.884533333333335, 18.828120000000002, 11.251077530864197, 13.021691582491583, 14.835832098765435, 16.2), # 66
(16.59994825633087, 15.626812620027435, 16.00891303155007, 19.209999588477366, 17.99997476410901, 10.0, 11.81841090938433, 11.827180246913583, 18.809347654320987, 11.216740594421584, 13.007259059733137, 14.811884042066758, 16.2), # 67
(16.59966658316932, 15.573197822912517, 15.991049519890261, 19.189826784755773, 17.999804728475752, 9.99981441853376, 11.781624311727434, 11.77335016003658, 18.790540557841794, 11.183392706635466, 12.992457581664603, 14.788048035039589, 16.19980024005487), # 68
(16.597026731078905, 15.51879283154122, 15.97278148148148, 19.168453623188405, 17.99825708061002, 9.998347325102882, 11.744429090154583, 11.720158024691358, 18.770876543209877, 11.150090225127087, 12.975780542264753, 14.76355035737492, 16.198217592592595), # 69
(16.59181726009423, 15.463347935749368, 15.954029492455417, 19.14573939881911, 17.995198902606308, 9.995458009449779, 11.706656215298192, 11.667123914037496, 18.750244627343395, 11.116671239140375, 12.957038218441728, 14.738276418068494, 16.195091735253776), # 70
(16.584111457028687, 15.406896269746449, 15.93480013717421, 19.12171760601181, 17.990668926006617, 9.991193293705228, 11.668322655262381, 11.61426538637403, 18.728675537265662, 11.083136574948224, 12.936299793254179, 14.712244699540344, 16.190463820301783), # 71
(16.573982608695655, 15.349470967741935, 15.915099999999999, 19.096421739130435, 17.98470588235294, 9.985600000000002, 11.62944537815126, 11.5616, 18.706200000000003, 11.04948705882353, 12.913634449760767, 14.685473684210528, 16.184375), # 72
(16.561504001908514, 15.291105163945307, 15.894935665294923, 19.069885292538917, 17.977348503187283, 9.978724950464867, 11.590041352068948, 11.50914531321445, 18.682848742569732, 11.01572351703919, 12.889111371020142, 14.65798185449907, 16.1768664266118), # 73
(16.546748923480646, 15.231831992566043, 15.874313717421124, 19.04214176060118, 17.96863552005164, 9.970614967230606, 11.550127545119556, 11.456918884316416, 18.658652491998172, 10.9818467758681, 12.86279974009097, 14.629787692826028, 16.167979252400553), # 74
(16.52979066022544, 15.171684587813619, 15.85324074074074, 19.01322463768116, 17.95860566448802, 9.961316872427986, 11.509720925407201, 11.404938271604939, 18.63364197530864, 10.947857661583152, 12.834768740031897, 14.600909681611435, 16.157754629629633), # 75
(16.510702498956285, 15.11069608389752, 15.831723319615913, 18.98316741814278, 17.94729766803841, 9.950877488187778, 11.468838461035993, 11.353221033379059, 18.607847919524463, 10.913757000457247, 12.805087553901586, 14.571366303275333, 16.146233710562413), # 76
(16.48955772648655, 15.048899615027217, 15.809768038408777, 18.95200359634997, 17.934750262244815, 9.939343636640757, 11.427497120110047, 11.301784727937816, 18.581301051668955, 10.87954561876328, 12.7738253647587, 14.54117604023777, 16.13345764746228), # 77
(16.46642962962963, 14.98632831541219, 15.787381481481482, 18.919766666666668, 17.92100217864924, 9.926762139917695, 11.38571387073348, 11.250646913580248, 18.55403209876543, 10.845224342774147, 12.741051355661883, 14.510357374918781, 16.119467592592596), # 78
(16.441391495198904, 14.923015319261916, 15.76457023319616, 18.88649012345679, 17.906092148793675, 9.913179820149367, 11.343505681010402, 11.199825148605397, 18.52607178783722, 10.810793998762742, 12.706834709669796, 14.478928789738408, 16.104304698216733), # 79
(16.414516610007755, 14.858993760785877, 15.74134087791495, 18.852207461084273, 17.890058904220126, 9.898643499466544, 11.30088951904493, 11.149336991312301, 18.497450845907636, 10.776255413001962, 12.671244609841102, 14.446908767116696, 16.08801011659808), # 80
(16.385878260869568, 14.79429677419355, 15.7177, 18.816952173913048, 17.872941176470587, 9.8832, 11.257882352941177, 11.099200000000002, 18.4682, 10.741609411764706, 12.63435023923445, 14.414315789473685, 16.070625), # 81
(16.355549734597723, 14.728957493694413, 15.693654183813445, 18.780757756307032, 17.854777697087066, 9.866896143880508, 11.214501150803258, 11.049431732967536, 18.43834997713763, 10.706856821323866, 12.596220780908501, 14.381168339229419, 16.052190500685874), # 82
(16.323604318005607, 14.663009053497943, 15.669210013717422, 18.743657702630166, 17.835607197611555, 9.849778753238837, 11.170762880735285, 11.000049748513947, 18.40793150434385, 10.671998467952339, 12.55692541792191, 14.34748489880394, 16.03274777091907), # 83
(16.290115297906603, 14.59648458781362, 15.644374074074074, 18.70568550724638, 17.815468409586057, 9.831894650205761, 11.126684510841374, 10.95107160493827, 18.376975308641974, 10.637035177923023, 12.516533333333333, 14.313283950617285, 16.012337962962963), # 84
(16.255155961114095, 14.529417230850923, 15.61915294924554, 18.666874664519593, 17.794400064552573, 9.813290656912057, 11.08228300922564, 10.902514860539554, 18.345512117055325, 10.60196777750881, 12.47511371020143, 14.2785839770895, 15.991002229080934), # 85
(16.21879959444146, 14.46184011681933, 15.593553223593966, 18.627258668813745, 17.772440894053094, 9.794013595488494, 11.037575343992193, 10.854397073616827, 18.313572656607228, 10.566797092982599, 12.432735731584856, 14.24340346064063, 15.968781721536352), # 86
(16.18111948470209, 14.393786379928315, 15.567581481481481, 18.586871014492754, 17.749629629629634, 9.774110288065843, 10.99257848324515, 10.806735802469136, 18.28118765432099, 10.531523950617284, 12.389468580542264, 14.207760883690709, 15.945717592592594), # 87
(16.142188918709373, 14.325289154387361, 15.541244307270233, 18.54574519592056, 17.726005002824177, 9.753627556774882, 10.947309395088626, 10.75954860539552, 18.248387837219937, 10.496149176685762, 12.345381440132318, 14.171674728659784, 15.921850994513035), # 88
(16.102081183276677, 14.256381574405948, 15.51454828532236, 18.503914707461085, 17.701605745178732, 9.732612223746381, 10.901785047626733, 10.712853040695016, 18.21520393232739, 10.460673597460932, 12.30054349341367, 14.135163477967897, 15.897223079561043), # 89
(16.06086956521739, 14.187096774193549, 15.4875, 18.461413043478263, 17.676470588235297, 9.711111111111112, 10.856022408963586, 10.666666666666666, 18.18166666666667, 10.425098039215687, 12.255023923444977, 14.098245614035088, 15.871875000000001), # 90
(16.0186273513449, 14.117467887959643, 15.460106035665294, 18.41827369833602, 17.650638263535864, 9.689171040999847, 10.810038447203299, 10.621007041609511, 18.14780676726109, 10.389423328222922, 12.208891913284896, 14.060939619281399, 15.845847908093276), # 91
(15.975427828472597, 14.047528049913716, 15.432372976680384, 18.374530166398284, 17.624147502622446, 9.666838835543363, 10.763850130449988, 10.57589172382259, 18.113654961133975, 10.353650290755535, 12.162216645992086, 14.023263976126877, 15.819182956104251), # 92
(15.931344283413848, 13.977310394265235, 15.404307407407408, 18.33021594202899, 17.597037037037037, 9.644161316872427, 10.717474426807762, 10.53133827160494, 18.079241975308644, 10.31777975308642, 12.1150673046252, 13.985237166991553, 15.791921296296294), # 93
(15.886450002982048, 13.906848055223684, 15.375915912208507, 18.285364519592058, 17.569345598321632, 9.621185307117818, 10.670928304380737, 10.487364243255604, 18.044598536808415, 10.281812541488476, 12.067513072242896, 13.946877674295479, 15.764104080932785), # 94
(15.840818273990577, 13.836174166998541, 15.347205075445817, 18.240009393451423, 17.541111918018238, 9.597957628410304, 10.62422873127303, 10.443987197073618, 18.00975537265661, 10.245749482234594, 12.019623131903835, 13.908203980458689, 15.735772462277092), # 95
(15.79452238325282, 13.765321863799286, 15.318181481481483, 18.194184057971015, 17.512374727668846, 9.574525102880658, 10.577392675588754, 10.401224691358026, 17.974743209876543, 10.209591401597677, 11.971466666666668, 13.869234567901238, 15.706967592592594), # 96
(15.747635617582157, 13.694324279835394, 15.28885171467764, 18.14792200751476, 17.483172758815464, 9.550934552659655, 10.530437105432021, 10.359094284407867, 17.939592775491544, 10.173339125850616, 11.923112859590052, 13.829987919043152, 15.677730624142663), # 97
(15.700231263791975, 13.623214549316343, 15.259222359396432, 18.101256736446594, 17.453544743000084, 9.52723279987807, 10.48337898890695, 10.317613534522177, 17.904334796524918, 10.136993481266307, 11.87463089373265, 13.790482516304477, 15.648102709190674), # 98
(15.652382608695653, 13.552025806451613, 15.229300000000002, 18.054221739130437, 17.423529411764708, 9.503466666666666, 10.43623529411765, 10.276800000000001, 17.869, 10.100555294117648, 11.826089952153112, 13.750736842105264, 15.618125000000001), # 99
(15.60416293910658, 13.480791185450682, 15.19909122085048, 18.00685050993022, 17.393165496651335, 9.479682975156226, 10.389022989168232, 10.236671239140376, 17.833619112940102, 10.064025390677534, 11.777559217910095, 13.710769378865548, 15.58783864883402), # 100
(15.555645541838135, 13.409543820523034, 15.168602606310015, 17.959176543209878, 17.36249172920197, 9.455928547477518, 10.34175904216282, 10.19724481024234, 17.798222862368544, 10.027404597218862, 11.72910787406226, 13.670598609005365, 15.557284807956103), # 101
(15.506903703703706, 13.338316845878138, 15.13784074074074, 17.911233333333335, 17.331546840958605, 9.432250205761319, 10.294460421205521, 10.15853827160494, 17.762841975308643, 9.990693740014526, 11.680805103668263, 13.63024301494477, 15.526504629629631), # 102
(15.458010711516671, 13.267143395725476, 15.1068122085048, 17.86305437466452, 17.300369563463246, 9.408694772138395, 10.247144094400449, 10.120569181527207, 17.72750717878372, 9.953893645337423, 11.632720089786758, 13.589721079103796, 15.495539266117968), # 103
(15.409039852090416, 13.196056604274526, 15.075523593964334, 17.814673161567367, 17.268998628257886, 9.385309068739522, 10.199827029851722, 10.083355098308186, 17.692249199817102, 9.91700513946045, 11.584922015476401, 13.549051283902486, 15.464429869684501), # 104
(15.360064412238325, 13.125089605734766, 15.043981481481481, 17.766123188405796, 17.237472766884533, 9.362139917695474, 10.152526195663453, 10.046913580246915, 17.6570987654321, 9.880029048656501, 11.537480063795854, 13.508252111760886, 15.433217592592593), # 105
(15.311157678773782, 13.054275534315678, 15.012192455418381, 17.717437949543747, 17.205830710885177, 9.339234141137021, 10.105258559939752, 10.011262185642433, 17.622086602652033, 9.842966199198472, 11.490463417803769, 13.46734204509903, 15.401943587105624), # 106
(15.26239293851017, 12.983647524226738, 14.980163100137176, 17.66865093934514, 17.174111191801824, 9.31663856119494, 10.058041090784739, 9.976418472793783, 17.58724343850023, 9.805817417359263, 11.443941260558804, 13.426339566336967, 15.370649005486968), # 107
(15.21384347826087, 12.913238709677422, 14.947900000000002, 17.619795652173917, 17.14235294117647, 9.294400000000001, 10.010890756302521, 9.942400000000001, 17.5526, 9.768583529411766, 11.397982775119617, 13.38526315789474, 15.339375000000002), # 108
(15.16558258483927, 12.843082224877207, 14.915409739369, 17.570905582393987, 17.11059469055112, 9.272565279682976, 9.96382452459722, 9.90922432556013, 17.518187014174668, 9.731265361628877, 11.352657144544864, 13.34413130219238, 15.308162722908094), # 109
(15.117683545058746, 12.77321120403558, 14.882698902606315, 17.522014224369297, 17.078875171467768, 9.251181222374639, 9.916859363772943, 9.876909007773206, 17.484035208047555, 9.693863740283494, 11.308033551893201, 13.302962481649942, 15.277053326474624), # 110
(15.07021964573269, 12.703658781362009, 14.849774074074077, 17.47315507246377, 17.047233115468412, 9.230294650205762, 9.87001224193381, 9.845471604938272, 17.450175308641978, 9.656379491648512, 11.264181180223286, 13.261775178687461, 15.246087962962964), # 111
(15.02326417367448, 12.634458091065975, 14.816641838134434, 17.42436162104133, 17.015707254095055, 9.209952385307119, 9.823300127183934, 9.814929675354367, 17.41663804298125, 9.618813441996826, 11.221169212593775, 13.220587875724977, 15.215307784636488), # 112
(14.976806757924871, 12.565757790057525, 14.78338852520331, 17.375734211987265, 16.98428108827793, 9.190191630743222, 9.776841541850832, 9.78536411004897, 17.383540498013794, 9.581287578580367, 11.179078249844586, 13.179508698407085, 15.184710241349155), # 113
(14.930369436640104, 12.498235493640857, 14.75047308003459, 17.327663074043738, 16.952629367306123, 9.170967373647843, 9.731229133456928, 9.757138015208191, 17.351390457140898, 9.544504268660452, 11.137990939381115, 13.13905947538076, 15.154040662656056), # 114
(14.883815844806392, 12.431915517892875, 14.717915092331708, 17.280135208290847, 16.920652284621763, 9.152229619998023, 9.6864954403065, 9.730244246845935, 17.320199965870064, 9.508520524780923, 11.09784721828335, 13.099260132094162, 15.123210610656603), # 115
(14.837087797180216, 12.366701250066724, 14.685651503974197, 17.233065840426246, 16.888301642214046, 9.133934203659356, 9.64256770804463, 9.70460850063839, 17.28989014276453, 9.473269373519276, 11.05856949003437, 13.060037115979753, 15.092171615609425), # 116
(14.790127108518035, 12.302496077415555, 14.653619256841578, 17.18637019614759, 16.855529242072176, 9.116036958497425, 9.599373182316404, 9.680156472261736, 17.260382106387524, 9.438683841453006, 11.020080158117253, 13.021316874470001, 15.06087520777316), # 117
(14.742875593576338, 12.239203387192518, 14.621755292813388, 17.139963501152533, 16.82228688618535, 9.098493718377823, 9.556839108766905, 9.656813857392155, 17.231596975302296, 9.404696955159615, 10.98230162601508, 12.98302585499736, 15.02927291740644), # 118
(14.695275067111588, 12.176726566650768, 14.589996553769158, 17.09376098113873, 16.788526376542755, 9.081260317166132, 9.51489273304121, 9.634506351705832, 17.20345586807207, 9.371241741216595, 10.945156297210925, 12.945090504994296, 14.997316274767892), # 119
(14.647267343880259, 12.114969003043454, 14.55827998158842, 17.04767786180383, 16.754199515133596, 9.064292588727945, 9.473461300784406, 9.613159650878949, 17.175879903260093, 9.338251226201448, 10.908566575187866, 12.907437271893276, 14.964956810116156), # 120
(14.59879423863883, 12.053834083623727, 14.5265425181507, 17.001629368845496, 16.71925810394707, 9.047546366928849, 9.432472057641569, 9.592699450587691, 17.148790199429598, 9.305658436691674, 10.872454863428986, 12.869992603126756, 14.932146053709857), # 121
(14.549797566143766, 11.993225195644738, 14.494721105335538, 16.95553072796137, 16.683653944972374, 9.03097748563443, 9.391852249257788, 9.573051446508238, 17.122107875143822, 9.273396399264763, 10.836743565417363, 12.832682946127202, 14.898835535807633), # 122
(14.50021914115155, 11.933045726359639, 14.462752685022458, 16.90929716484911, 16.647338840198707, 9.01454177871028, 9.351529121278142, 9.554141334316773, 17.095754048966008, 9.24139814049822, 10.801355084636072, 12.795434748327075, 14.864976786668116), # 123
(14.450000778418648, 11.87319906302158, 14.430574199090993, 16.86284390520638, 16.61026459161526, 8.998195080021983, 9.311429919347711, 9.535894809689482, 17.069649839459384, 9.209596686969538, 10.766211824568192, 12.758174457158841, 14.830521336549939), # 124
(14.399084292701534, 11.813588592883713, 14.398122589420678, 16.816086174730817, 16.572383001211236, 8.98189322343513, 9.271481889111582, 9.518237568302546, 17.04371636518719, 9.177925065256215, 10.731236188696803, 12.720828520054958, 14.795420715711726), # 125
(14.347411498756685, 11.754117703199192, 14.365334797891038, 16.768939199120087, 16.53364587097583, 8.965592042815308, 9.231612276214832, 9.501095305832148, 17.017874744712667, 9.146316301935748, 10.696350580504982, 12.683323384447895, 14.759626454412127), # 126
(14.294924211340579, 11.69468978122116, 14.332147766381608, 16.72131820407184, 16.494005002898238, 8.949247372028104, 9.19174832630255, 9.484393717954474, 16.99204609659905, 9.114703423585638, 10.661477403475807, 12.645585497770107, 14.723090082909758), # 127
(14.241564245209673, 11.635208214202777, 14.29849843677192, 16.67313841528373, 16.453412198967666, 8.93281504493911, 9.151817285019812, 9.4680585003457, 16.966151539409577, 9.083019456783381, 10.626539061092359, 12.607541307454062, 14.68576313146326), # 128
(14.187273415120451, 11.575576389397186, 14.264323750941504, 16.624315058453412, 16.4118192611733, 8.916250895413912, 9.111746398011702, 9.452015348682016, 16.94011219170748, 9.051197428106473, 10.591457956837715, 12.569117260932218, 14.647597130331262), # 129
(14.131993535829388, 11.515697694057547, 14.229560650769887, 16.57476335927854, 16.36917799150434, 8.899510757318094, 9.0714629109233, 9.4361899586396, 16.913849172056, 9.019170364132412, 10.556156494194951, 12.530239805637045, 14.608543609772397), # 130
(14.07566642209295, 11.455475515437003, 14.19414607813661, 16.524398543456762, 16.32544019194999, 8.88255046451725, 9.030894069399695, 9.42050802589464, 16.887283599018378, 8.986871291438696, 10.52055707664715, 12.490835389000999, 14.568554100045299), # 131
(14.018233888667616, 11.39481324078871, 14.158016974921194, 16.47313583668574, 16.280557664499447, 8.865325850876964, 8.98996711908596, 9.404895246123317, 16.860336591157846, 8.954233236602823, 10.484582107677383, 12.450830458456547, 14.527580131408602), # 132
(13.959637750309861, 11.333614257365817, 14.121110283003175, 16.420890464663124, 16.2344822111419, 8.847792750262826, 8.948609305627183, 9.389277315001811, 16.832929267037642, 8.921189226202292, 10.448153990768738, 12.410151461436149, 14.485573234120938), # 133
(13.899819821776152, 11.271781952421478, 14.083362944262086, 16.367577653086567, 16.18716563386655, 8.829906996540425, 8.906747874668445, 9.37357992820631, 16.804982745221007, 8.887672286814597, 10.411195129404286, 12.368724845372267, 14.442484938440934), # 134
(13.838721917822966, 11.209219713208839, 14.044711900577454, 16.313112627653727, 16.138559734662593, 8.811624423575347, 8.86431007185483, 9.357728781412993, 16.77641814427117, 8.853615445017242, 10.373627927067108, 12.326477057697364, 14.398266774627231), # 135
(13.776285853206776, 11.145830926981056, 14.005094093828815, 16.25741061406225, 16.08861631551923, 8.792900865233184, 8.821223142831416, 9.341649570298044, 16.74715658275137, 8.818951727387716, 10.335374787240283, 12.283334545843907, 14.352870272938459), # 136
(13.712453442684055, 11.081518980991277, 13.964446465895698, 16.200386838009802, 16.037287178425654, 8.773692155379518, 8.77741433324329, 9.325267990537647, 16.717119179224852, 8.783614160503523, 10.296358113406889, 12.239223757244352, 14.306246963633242), # 137
(13.647166501011277, 11.016187262492654, 13.922705958657628, 16.141956525194022, 15.98452412537107, 8.753954127879942, 8.732810888735527, 9.308509737807984, 16.68622705225485, 8.747535770942156, 10.256500309050004, 12.194071139331164, 14.258348376970226), # 138
(13.58036684294491, 10.949739158738339, 13.879809513994145, 16.082034901312575, 15.930278958344665, 8.733642616600042, 8.687340054953216, 9.29130050778524, 16.654401320404595, 8.710649585281116, 10.215723777652705, 12.14780313953681, 14.20912604320803), # 139
(13.511996283241437, 10.88207805698148, 13.83569407378478, 16.020537192063113, 15.874503479335647, 8.712713455405407, 8.640929077541434, 9.273565996145594, 16.62156310223733, 8.672888630097898, 10.17395092269807, 12.100346205293746, 14.158531492605304), # 140
(13.44199663665733, 10.813107344475235, 13.790296579909057, 15.957378623143285, 15.817149490333206, 8.691122478161624, 8.593505202145272, 9.255231898565233, 16.587633516316288, 8.634185931970002, 10.131104147669182, 12.05162678403444, 14.106516255420662), # 141
(13.37030971794905, 10.742730408472745, 13.743553974246513, 15.892474420250753, 15.75816879332654, 8.668825518734284, 8.544995674409803, 9.236223910720339, 16.552533681204707, 8.594474517474925, 10.087105856049115, 12.001571323191351, 14.053031861912746), # 142
(13.29687734187308, 10.67085063622717, 13.695403198676681, 15.82573980908316, 15.697513190304846, 8.64577841098897, 8.49532773998011, 9.21646772828709, 16.516184715465837, 8.553687413190165, 10.04187845132095, 11.950106270196944, 13.998029842340188), # 143
(13.221641323185896, 10.597371414991658, 13.645781195079085, 15.757090015338171, 15.635134483257326, 8.621936988791274, 8.444428644501278, 9.195889046941678, 16.478507737662895, 8.511757645693216, 9.995344336967761, 11.897158072483679, 13.941461726961624), # 144
(13.144543476643964, 10.52219613201936, 13.594624905333262, 15.686440264713433, 15.570984474173173, 8.597257086006785, 8.39222563361839, 9.174413562360282, 16.439423866359128, 8.46861824156158, 9.947425916472632, 11.842653177484022, 13.88327904603568), # 145
(13.065525617003761, 10.445228174563427, 13.541871271318747, 15.613705782906601, 15.505014965041589, 8.57169453650109, 8.338645952976528, 9.151966970219084, 16.39885422011777, 8.424202227372753, 9.898045593318638, 11.786518032630433, 13.82343332982099), # 146
(12.98452955902176, 10.366370929877009, 13.487457234915055, 15.538801795615328, 15.437177757851764, 8.545205174139772, 8.28361684822077, 9.128474966194265, 16.356719917502065, 8.378442629704233, 9.847125770988859, 11.728679085355378, 13.761876108576189), # 147
(12.901497117454435, 10.285527785213262, 13.431319738001733, 15.461643528537275, 15.367424654592899, 8.517744832788429, 8.227065564996202, 9.103863245962012, 16.312942077075245, 8.331272475133515, 9.794588852966372, 11.669062783091313, 13.698558912559907), # 148
(12.81637010705826, 10.20260212782533, 13.37339572245831, 15.382146207370084, 15.295707457254194, 8.48926934631264, 8.168919348947906, 9.078057505198506, 16.26744181740054, 8.282624790238101, 9.740357242734255, 11.607595573270707, 13.63343327203078), # 149
(12.729090342589704, 10.117497344966367, 13.313622130164312, 15.30022505781142, 15.221977967824841, 8.459734548577998, 8.109105445720962, 9.05098343957993, 16.220140257041205, 8.232432601595482, 9.684353343775589, 11.544203903326022, 13.566450717247434), # 150
(12.63959963880524, 10.030116823889527, 13.251935902999268, 15.215795305558927, 15.146187988294043, 8.429096273450089, 8.047551100960453, 9.02256674478247, 16.170958514560464, 8.180628935783165, 9.626499559573448, 11.478814220689715, 13.49756277846851), # 151
(12.54783981046135, 9.940363951847957, 13.188273982842723, 15.128772176310271, 15.06828932065099, 8.397310354794502, 7.984183560311464, 8.992733116482306, 16.119817708521552, 8.12714681937864, 9.566718293610915, 11.411352972794255, 13.426720985952636), # 152
(12.453752672314497, 9.848142116094811, 13.12257331157419, 15.039070895763093, 14.988233766884889, 8.364332626476825, 7.918930069419071, 8.96140825035562, 16.06663895748772, 8.071919278959406, 9.504931949371066, 11.341746607072103, 13.353876869958444), # 153
(12.357280039121166, 9.75335470388324, 13.054770831073213, 14.946606689615056, 14.905973128984929, 8.330118922362647, 7.851717873928365, 8.928517842078596, 16.011343380022186, 8.014879341102965, 9.44106293033698, 11.26992157095572, 13.278981960744572), # 154
(12.258363725637818, 9.655905102466392, 12.984803483219322, 14.851294783563805, 14.821459208940315, 8.294625076317555, 7.782474219484418, 8.893987587327418, 15.953852094688205, 7.955960032386807, 9.375033639991733, 11.195804311877572, 13.201987788569642), # 155
(12.15694554662093, 9.555696699097421, 12.912608209892042, 14.753050403307, 14.734643808740238, 8.257806922207138, 7.71112635173232, 8.85774318177827, 15.894086220049003, 7.8950943793884365, 9.306766481818407, 11.119321277270117, 13.122845883692296), # 156
(12.05296731682698, 9.452632881029478, 12.838121952970909, 14.6517887745423, 14.645478730373895, 8.219620293896982, 7.637601516317151, 8.819710321107332, 15.831966874667822, 7.832215408685347, 9.236183859300079, 11.04039891456582, 13.041507776371162), # 157
(11.943489514248384, 9.344724993235614, 12.75774712624377, 14.54363133064199, 14.549889769393596, 8.177639162107376, 7.560170753484572, 8.777275123758995, 15.762659346558557, 7.76538546606583, 9.160953204062308, 10.956159302710944, 12.954377375064553), # 158
(11.811658827165445, 9.220904511359164, 12.65078050944478, 14.406363454061527, 14.424306095650605, 8.117903436811366, 7.469140421417146, 8.715541652423012, 15.658283617955432, 7.683649590557993, 9.06786709699039, 10.850180037892974, 12.840684235072311), # 159
(11.655795351846896, 9.080154765665142, 12.515073532729422, 14.237724016654177, 14.266272210154874, 8.038946073676295, 7.363589997414055, 8.632958703243755, 15.515880363565842, 7.58592904298063, 8.955615213775264, 10.720803118220555, 12.69827297422973), # 160
(11.477155287337537, 8.92339338892875, 12.352075155056495, 14.039316006010765, 14.077428998851381, 7.941723586512502, 7.244290313611002, 8.530560852975649, 15.337327627198428, 7.473053109073501, 8.825186647359532, 10.569227950252113, 12.528598471710556), # 161
(11.27699483268217, 8.751538013925183, 12.163234335384793, 13.812742409722123, 13.859417347685127, 7.827192489130329, 7.112012202143695, 8.409382678373124, 15.12450345266182, 7.3458510745763705, 8.677570490685794, 10.39665394054607, 12.333115606688533), # 162
(11.056570186925597, 8.565506273429639, 11.950000032673124, 13.559606215379095, 13.613878142601102, 7.696309295340116, 6.967526495147841, 8.2704587561906, 14.87928588376465, 7.205152225229, 8.513755836696653, 10.204280495660853, 12.113279258337407), # 163
(10.817137549112616, 8.366215800217313, 11.713821205880283, 13.281510410572508, 13.342452269544303, 7.550030518952207, 6.811604024759146, 8.114823663182511, 14.603552964315558, 7.05178584677115, 8.334731778334714, 9.993307022154886, 11.870544305830926), # 164
(10.559953118288028, 8.154584227063411, 11.45614681396507, 12.980057982893204, 13.046780614459719, 7.389312673776939, 6.6450156231133155, 7.943511976103274, 14.299182738123168, 6.8865812249425815, 8.141487408542579, 9.764932926586592, 11.606365628342832), # 165
(10.286273093496636, 7.931529186743127, 11.178425815886285, 12.656851919932002, 12.728504063292343, 7.215112273624654, 6.468532122346058, 7.757558271707324, 13.968053248996117, 6.71036764548306, 7.935011820262847, 9.520357615514403, 11.322198105046873), # 166
(9.997353673783238, 7.6979683120316595, 10.882107170602728, 12.31349520927975, 12.389263501987168, 7.028385832305694, 6.28292435459308, 7.557997126749083, 13.61204254074304, 6.523974394132343, 7.716294106438124, 9.260780495496734, 11.019496615116793), # 167
(9.694451058192634, 7.454819235704206, 10.568639837073198, 11.951590838527274, 12.030699816489188, 6.830089863630398, 6.088963151990087, 7.345863117982976, 13.233028657172568, 6.328230756630195, 7.48632336001101, 8.987400973092019, 10.69971603772634), # 168
(9.378821445769624, 7.202999590535967, 10.239472774256495, 11.572741795265413, 11.654453892743392, 6.621180881409112, 5.887419346672787, 7.122190822163432, 12.832889642093342, 6.123966018716379, 7.24608867392411, 8.701418454858675, 10.364311252049257), # 169
(9.051721035559014, 6.94342700930214, 9.896054941111416, 11.178551067084992, 11.262166616694774, 6.402615399452171, 5.679063770776885, 6.888014816044876, 12.413503539313982, 5.912009466130653, 6.996579141120026, 8.404032347355134, 10.014737137259289), # 170
(8.7144060266056, 6.677019124777921, 9.539835296596765, 10.770621641576858, 10.85547887428833, 6.175349931569918, 5.464667256438089, 6.644369676381733, 11.976748392643131, 5.693190384612782, 6.738783854541357, 8.096442057139818, 9.652448572530185), # 171
(8.368132617954185, 6.4046935697385114, 9.172262799671339, 10.350556506331834, 10.436031551469046, 5.940340991572694, 5.245000635792105, 6.392289979928433, 11.524502245889417, 5.468338059902528, 6.473691907130711, 7.779846990771154, 9.278900437035686), # 172
(8.014157008649567, 6.127367976959108, 8.79478640929394, 9.919958648940762, 10.005465534181923, 5.69854509327084, 5.02083474097464, 6.132810303439398, 11.058643142861477, 5.238281777739651, 6.202292391830685, 7.45544655480756, 8.89554760994954), # 173
(7.6537353977365505, 5.845959979214909, 8.408855084423363, 9.480431056994465, 9.565421708371947, 5.450918750474696, 4.792940404121401, 5.866965223669057, 10.581049127367942, 5.003850823863915, 5.9255744015838845, 7.124440155807469, 8.503844970445494), # 174
(7.288123984259929, 5.561387209281111, 8.015917784018413, 9.033576718083788, 9.11754095998411, 5.198418476994606, 4.562088457368093, 5.595789317371834, 10.09359824321745, 4.765874484015079, 5.644527029332911, 6.788027200329303, 8.105247397697292), # 175
(6.91857896726451, 5.274567299932917, 7.617423467037885, 8.58099861979956, 8.663464174963408, 4.942000786640907, 4.329049732850424, 5.3203171613021585, 9.598168534218628, 4.525182043932907, 5.360139368020368, 6.447407094931487, 7.701209770878679), # 176
(6.546356545795092, 4.986417883945522, 7.214821092440582, 8.124299749732613, 8.204832239254838, 4.682622193223941, 4.094595062704101, 5.0415833322144525, 9.096638044180112, 4.282602789357159, 5.073400510588858, 6.103779246172446, 7.2931869691634), # 177
(6.172712918896475, 4.697856594094126, 6.809559619185302, 7.665083095473786, 7.743286038803382, 4.421239210554052, 3.859495279064828, 4.760622406863145, 8.590884816910537, 4.0389660060276, 4.78529954998098, 5.758343060610604, 6.882633871725203), # 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 = (
(10, 7, 7, 7, 6, 3, 5, 3, 0, 1, 0, 1, 0, 8, 5, 3, 3, 11, 4, 6, 0, 2, 2, 1, 0, 0), # 0
(17, 17, 19, 12, 18, 9, 10, 4, 0, 4, 1, 2, 0, 20, 13, 11, 6, 23, 10, 9, 2, 3, 2, 3, 2, 0), # 1
(27, 23, 33, 14, 26, 12, 14, 6, 6, 7, 1, 2, 0, 33, 21, 21, 10, 34, 16, 11, 4, 7, 5, 7, 2, 0), # 2
(37, 38, 38, 21, 34, 13, 17, 9, 12, 8, 1, 4, 0, 43, 25, 26, 17, 43, 19, 14, 4, 8, 10, 9, 2, 0), # 3
(43, 48, 46, 27, 42, 16, 19, 14, 14, 11, 2, 5, 0, 45, 36, 33, 22, 53, 24, 15, 7, 11, 13, 9, 3, 0), # 4
(57, 63, 59, 41, 53, 24, 24, 19, 16, 12, 2, 6, 0, 54, 45, 40, 29, 62, 32, 24, 10, 16, 15, 9, 4, 0), # 5
(63, 74, 69, 47, 57, 28, 25, 25, 25, 14, 2, 7, 0, 67, 55, 47, 36, 70, 42, 29, 11, 23, 18, 10, 4, 0), # 6
(73, 83, 82, 58, 67, 31, 32, 27, 31, 15, 3, 7, 0, 81, 63, 54, 44, 80, 52, 35, 15, 28, 23, 13, 5, 0), # 7
(85, 98, 91, 72, 76, 37, 34, 33, 34, 16, 3, 9, 0, 95, 72, 63, 49, 88, 61, 39, 18, 29, 29, 13, 9, 0), # 8
(91, 109, 100, 90, 82, 41, 35, 39, 37, 16, 3, 9, 0, 110, 84, 75, 62, 100, 66, 41, 23, 37, 31, 15, 9, 0), # 9
(99, 112, 116, 105, 91, 45, 40, 44, 41, 18, 4, 9, 0, 121, 95, 85, 69, 115, 74, 43, 27, 40, 33, 16, 11, 0), # 10
(111, 124, 127, 112, 100, 48, 48, 48, 47, 22, 7, 11, 0, 140, 104, 91, 77, 129, 83, 49, 29, 48, 38, 22, 11, 0), # 11
(125, 133, 138, 124, 107, 52, 53, 52, 55, 23, 8, 13, 0, 150, 112, 100, 87, 141, 91, 53, 35, 56, 41, 24, 11, 0), # 12
(136, 139, 155, 138, 116, 59, 59, 63, 62, 27, 8, 15, 0, 166, 121, 110, 97, 151, 99, 63, 39, 62, 48, 26, 13, 0), # 13
(148, 158, 167, 151, 130, 62, 69, 69, 67, 29, 11, 16, 0, 184, 131, 117, 104, 165, 107, 70, 42, 68, 50, 26, 15, 0), # 14
(162, 175, 177, 159, 141, 67, 80, 79, 76, 31, 13, 18, 0, 199, 142, 124, 114, 171, 111, 72, 44, 75, 54, 28, 15, 0), # 15
(180, 188, 193, 179, 158, 74, 87, 87, 80, 37, 16, 19, 0, 213, 161, 137, 117, 183, 120, 77, 48, 81, 59, 28, 16, 0), # 16
(196, 210, 204, 195, 170, 77, 95, 92, 87, 39, 16, 20, 0, 223, 168, 144, 127, 190, 129, 82, 53, 93, 64, 28, 16, 0), # 17
(213, 231, 219, 207, 179, 86, 100, 96, 94, 45, 17, 24, 0, 241, 182, 158, 136, 203, 142, 90, 57, 106, 70, 32, 17, 0), # 18
(230, 250, 230, 223, 191, 94, 106, 101, 97, 47, 20, 24, 0, 257, 192, 171, 144, 221, 147, 98, 66, 112, 73, 35, 20, 0), # 19
(241, 264, 238, 232, 198, 101, 116, 106, 102, 49, 22, 25, 0, 277, 206, 181, 155, 234, 150, 100, 69, 117, 76, 40, 22, 0), # 20
(258, 280, 253, 250, 209, 108, 121, 112, 104, 53, 24, 26, 0, 292, 218, 200, 166, 245, 156, 103, 73, 124, 85, 41, 24, 0), # 21
(270, 297, 262, 268, 221, 112, 130, 118, 111, 58, 26, 27, 0, 299, 239, 205, 174, 259, 162, 108, 77, 131, 88, 46, 28, 0), # 22
(279, 317, 276, 283, 231, 114, 135, 124, 117, 61, 29, 28, 0, 318, 254, 215, 181, 271, 171, 112, 83, 136, 94, 50, 29, 0), # 23
(290, 339, 289, 301, 244, 117, 142, 132, 122, 62, 31, 28, 0, 344, 264, 222, 189, 283, 176, 117, 86, 139, 98, 52, 30, 0), # 24
(303, 354, 304, 313, 259, 119, 149, 138, 128, 63, 33, 28, 0, 357, 278, 237, 202, 296, 187, 121, 91, 145, 102, 53, 33, 0), # 25
(317, 370, 315, 325, 273, 124, 160, 140, 136, 69, 35, 29, 0, 378, 289, 251, 215, 310, 197, 127, 93, 149, 108, 59, 36, 0), # 26
(331, 379, 335, 339, 279, 131, 163, 149, 145, 72, 36, 29, 0, 392, 298, 261, 231, 320, 200, 128, 95, 155, 117, 61, 37, 0), # 27
(342, 396, 346, 352, 292, 138, 169, 156, 148, 74, 37, 31, 0, 411, 308, 269, 238, 328, 207, 138, 98, 156, 118, 63, 40, 0), # 28
(356, 412, 358, 368, 296, 143, 171, 161, 155, 77, 43, 35, 0, 427, 316, 281, 250, 345, 214, 144, 104, 164, 123, 68, 43, 0), # 29
(372, 428, 371, 380, 304, 150, 176, 168, 162, 80, 47, 36, 0, 439, 324, 294, 261, 349, 220, 149, 105, 170, 131, 71, 46, 0), # 30
(390, 444, 390, 391, 321, 158, 184, 175, 165, 82, 49, 36, 0, 456, 342, 306, 269, 357, 232, 156, 110, 174, 131, 74, 48, 0), # 31
(412, 456, 402, 408, 340, 161, 189, 182, 171, 85, 49, 36, 0, 470, 360, 318, 278, 368, 236, 163, 116, 184, 136, 75, 48, 0), # 32
(424, 475, 419, 420, 348, 165, 195, 188, 176, 85, 51, 36, 0, 488, 370, 327, 285, 381, 248, 166, 121, 189, 139, 78, 48, 0), # 33
(440, 487, 433, 441, 361, 172, 206, 191, 181, 87, 60, 37, 0, 503, 386, 337, 299, 395, 258, 174, 130, 194, 143, 80, 50, 0), # 34
(457, 500, 450, 461, 372, 178, 214, 198, 185, 89, 64, 37, 0, 515, 401, 350, 310, 408, 264, 180, 132, 198, 149, 81, 52, 0), # 35
(470, 511, 462, 472, 387, 184, 219, 206, 196, 92, 65, 39, 0, 531, 417, 368, 318, 422, 272, 191, 137, 204, 151, 86, 55, 0), # 36
(483, 528, 483, 479, 390, 189, 231, 211, 204, 93, 70, 40, 0, 551, 433, 375, 327, 435, 282, 197, 140, 209, 152, 89, 58, 0), # 37
(499, 546, 498, 499, 406, 196, 242, 216, 207, 95, 70, 41, 0, 573, 451, 386, 336, 444, 288, 203, 142, 217, 157, 90, 59, 0), # 38
(517, 568, 507, 510, 433, 199, 245, 224, 220, 97, 74, 44, 0, 592, 468, 396, 342, 459, 294, 213, 145, 228, 162, 93, 63, 0), # 39
(533, 584, 522, 518, 441, 209, 250, 226, 227, 103, 78, 44, 0, 613, 480, 404, 357, 470, 303, 220, 155, 236, 171, 94, 64, 0), # 40
(550, 598, 533, 533, 452, 215, 255, 231, 232, 106, 80, 46, 0, 625, 498, 415, 366, 483, 310, 230, 161, 247, 175, 96, 67, 0), # 41
(570, 612, 550, 552, 464, 223, 265, 240, 236, 111, 81, 51, 0, 643, 511, 425, 379, 492, 314, 238, 163, 250, 180, 96, 69, 0), # 42
(589, 623, 561, 568, 476, 228, 270, 249, 242, 112, 82, 54, 0, 660, 534, 438, 386, 501, 321, 244, 169, 256, 187, 100, 71, 0), # 43
(600, 646, 581, 582, 495, 232, 278, 254, 244, 115, 84, 54, 0, 673, 545, 446, 396, 512, 325, 250, 172, 264, 194, 101, 72, 0), # 44
(618, 660, 597, 599, 509, 238, 289, 262, 249, 121, 86, 55, 0, 687, 562, 457, 405, 528, 330, 259, 179, 273, 198, 104, 72, 0), # 45
(638, 678, 611, 612, 516, 242, 295, 266, 255, 122, 88, 56, 0, 705, 579, 468, 417, 540, 340, 266, 183, 285, 203, 106, 73, 0), # 46
(654, 699, 621, 623, 529, 243, 303, 272, 262, 123, 93, 56, 0, 721, 600, 479, 429, 556, 351, 276, 186, 292, 204, 109, 75, 0), # 47
(668, 717, 630, 631, 534, 251, 313, 275, 267, 124, 94, 59, 0, 730, 615, 489, 439, 576, 361, 278, 191, 297, 209, 112, 76, 0), # 48
(677, 732, 642, 643, 551, 259, 321, 284, 272, 125, 97, 62, 0, 745, 622, 499, 451, 592, 371, 285, 195, 301, 218, 116, 77, 0), # 49
(695, 750, 654, 657, 570, 264, 323, 293, 280, 127, 99, 63, 0, 763, 634, 514, 465, 605, 377, 292, 198, 308, 223, 118, 81, 0), # 50
(707, 767, 670, 681, 581, 270, 327, 296, 283, 131, 102, 64, 0, 778, 651, 525, 480, 617, 383, 297, 206, 319, 225, 120, 82, 0), # 51
(721, 788, 679, 696, 593, 274, 338, 301, 285, 133, 106, 65, 0, 795, 668, 537, 493, 632, 393, 306, 207, 328, 229, 126, 82, 0), # 52
(739, 802, 688, 713, 609, 282, 343, 304, 289, 137, 108, 65, 0, 806, 682, 542, 503, 643, 396, 310, 209, 337, 234, 128, 83, 0), # 53
(753, 816, 704, 727, 629, 285, 352, 310, 291, 141, 110, 68, 0, 823, 692, 550, 514, 652, 405, 313, 214, 343, 237, 128, 84, 0), # 54
(774, 823, 718, 740, 639, 290, 355, 312, 294, 144, 111, 70, 0, 836, 705, 562, 522, 663, 414, 314, 217, 350, 241, 131, 85, 0), # 55
(793, 842, 733, 760, 656, 297, 361, 316, 301, 146, 112, 71, 0, 847, 715, 567, 527, 677, 423, 317, 217, 358, 243, 136, 87, 0), # 56
(804, 858, 749, 781, 671, 305, 363, 319, 307, 148, 114, 72, 0, 865, 722, 575, 537, 688, 427, 321, 219, 364, 245, 140, 89, 0), # 57
(812, 877, 760, 795, 685, 311, 368, 321, 319, 151, 117, 75, 0, 879, 731, 585, 545, 706, 431, 327, 223, 370, 248, 145, 92, 0), # 58
(830, 893, 780, 813, 694, 321, 375, 328, 326, 151, 119, 76, 0, 897, 746, 596, 552, 717, 439, 332, 224, 378, 252, 149, 94, 0), # 59
(839, 912, 796, 837, 707, 329, 381, 332, 332, 153, 122, 76, 0, 906, 758, 621, 562, 729, 444, 337, 225, 382, 255, 153, 94, 0), # 60
(861, 923, 808, 853, 719, 332, 387, 335, 339, 156, 123, 78, 0, 916, 769, 634, 568, 741, 447, 343, 229, 389, 257, 155, 98, 0), # 61
(884, 933, 825, 865, 733, 340, 394, 340, 347, 161, 124, 78, 0, 931, 781, 647, 572, 750, 451, 347, 231, 398, 261, 157, 99, 0), # 62
(900, 950, 836, 890, 749, 341, 397, 345, 354, 165, 125, 78, 0, 946, 793, 655, 586, 760, 457, 351, 233, 402, 264, 157, 100, 0), # 63
(917, 967, 853, 902, 761, 349, 402, 347, 360, 168, 128, 78, 0, 963, 809, 666, 598, 771, 464, 354, 237, 408, 266, 159, 100, 0), # 64
(930, 986, 869, 912, 775, 357, 407, 349, 366, 169, 132, 79, 0, 982, 831, 675, 607, 780, 471, 358, 242, 412, 268, 160, 101, 0), # 65
(946, 1005, 884, 927, 784, 363, 411, 354, 377, 171, 132, 81, 0, 999, 849, 689, 616, 797, 479, 364, 248, 417, 278, 163, 101, 0), # 66
(961, 1019, 898, 947, 796, 369, 417, 356, 381, 175, 132, 83, 0, 1011, 860, 704, 626, 811, 486, 370, 256, 422, 282, 168, 102, 0), # 67
(977, 1032, 908, 960, 811, 379, 425, 358, 391, 181, 134, 85, 0, 1032, 881, 711, 633, 821, 491, 375, 264, 429, 287, 171, 102, 0), # 68
(991, 1045, 922, 970, 823, 386, 428, 363, 397, 184, 136, 87, 0, 1044, 892, 719, 644, 828, 496, 381, 270, 433, 290, 172, 104, 0), # 69
(1008, 1055, 934, 986, 833, 394, 439, 366, 404, 190, 137, 88, 0, 1072, 901, 732, 653, 838, 499, 391, 274, 442, 294, 175, 105, 0), # 70
(1021, 1071, 953, 1000, 845, 399, 444, 372, 413, 191, 139, 88, 0, 1092, 915, 739, 660, 848, 507, 396, 278, 449, 299, 176, 106, 0), # 71
(1038, 1084, 971, 1014, 864, 407, 447, 375, 423, 193, 142, 88, 0, 1107, 930, 751, 668, 859, 511, 401, 282, 452, 302, 184, 106, 0), # 72
(1057, 1101, 984, 1024, 875, 412, 457, 378, 427, 195, 143, 92, 0, 1122, 945, 760, 680, 876, 515, 411, 286, 456, 304, 189, 107, 0), # 73
(1072, 1113, 999, 1044, 887, 418, 462, 382, 434, 197, 148, 93, 0, 1135, 955, 770, 688, 889, 523, 423, 290, 463, 308, 193, 107, 0), # 74
(1085, 1125, 1010, 1060, 897, 426, 469, 384, 438, 200, 150, 93, 0, 1153, 968, 787, 699, 908, 530, 432, 294, 470, 310, 199, 110, 0), # 75
(1100, 1135, 1030, 1078, 905, 432, 474, 390, 447, 205, 153, 96, 0, 1174, 976, 794, 708, 925, 534, 437, 302, 475, 312, 200, 114, 0), # 76
(1117, 1151, 1040, 1098, 914, 437, 479, 398, 462, 206, 154, 98, 0, 1184, 987, 813, 714, 936, 543, 441, 303, 480, 316, 205, 115, 0), # 77
(1129, 1161, 1048, 1110, 931, 442, 485, 402, 469, 210, 155, 99, 0, 1205, 997, 824, 720, 948, 551, 446, 306, 484, 320, 208, 116, 0), # 78
(1148, 1177, 1060, 1123, 939, 450, 490, 407, 474, 214, 158, 99, 0, 1215, 1013, 834, 727, 959, 557, 451, 309, 491, 322, 210, 120, 0), # 79
(1175, 1193, 1067, 1130, 946, 453, 495, 410, 476, 216, 159, 100, 0, 1229, 1026, 851, 730, 974, 563, 455, 315, 494, 327, 213, 124, 0), # 80
(1190, 1211, 1084, 1148, 959, 458, 500, 415, 480, 219, 160, 101, 0, 1241, 1038, 863, 734, 984, 573, 460, 318, 501, 331, 217, 124, 0), # 81
(1203, 1221, 1103, 1163, 969, 469, 506, 420, 484, 220, 162, 102, 0, 1256, 1053, 875, 740, 1002, 582, 466, 325, 507, 335, 218, 128, 0), # 82
(1215, 1235, 1124, 1179, 983, 476, 508, 423, 488, 223, 165, 102, 0, 1273, 1065, 881, 745, 1017, 588, 471, 326, 512, 340, 222, 128, 0), # 83
(1236, 1251, 1136, 1188, 999, 483, 512, 428, 493, 225, 166, 102, 0, 1298, 1084, 889, 754, 1027, 595, 477, 332, 518, 344, 223, 130, 0), # 84
(1248, 1268, 1146, 1196, 1011, 488, 517, 434, 496, 225, 170, 107, 0, 1317, 1096, 903, 763, 1048, 602, 487, 336, 529, 348, 227, 131, 0), # 85
(1268, 1282, 1158, 1209, 1021, 494, 522, 438, 505, 227, 174, 111, 0, 1329, 1110, 920, 769, 1060, 606, 492, 340, 535, 355, 228, 131, 0), # 86
(1283, 1295, 1179, 1222, 1032, 505, 527, 440, 510, 228, 175, 111, 0, 1343, 1121, 932, 782, 1078, 611, 496, 348, 540, 357, 230, 132, 0), # 87
(1299, 1310, 1187, 1233, 1043, 510, 533, 446, 515, 231, 176, 111, 0, 1362, 1128, 939, 791, 1092, 622, 500, 350, 547, 361, 230, 133, 0), # 88
(1314, 1324, 1204, 1254, 1054, 517, 539, 448, 520, 235, 178, 112, 0, 1384, 1139, 949, 799, 1108, 627, 508, 352, 554, 362, 236, 135, 0), # 89
(1330, 1336, 1214, 1266, 1066, 523, 544, 450, 524, 235, 182, 115, 0, 1406, 1153, 954, 807, 1123, 632, 514, 356, 561, 370, 236, 136, 0), # 90
(1342, 1346, 1231, 1278, 1075, 536, 548, 451, 530, 236, 183, 115, 0, 1424, 1167, 969, 814, 1138, 642, 516, 360, 567, 371, 240, 137, 0), # 91
(1359, 1356, 1242, 1298, 1083, 540, 553, 455, 532, 237, 185, 117, 0, 1447, 1189, 980, 821, 1149, 646, 520, 366, 571, 374, 242, 138, 0), # 92
(1373, 1370, 1248, 1312, 1099, 548, 556, 462, 534, 239, 187, 120, 0, 1459, 1198, 990, 831, 1158, 651, 525, 368, 580, 377, 246, 139, 0), # 93
(1387, 1377, 1261, 1322, 1108, 556, 558, 465, 541, 240, 188, 120, 0, 1479, 1211, 1000, 834, 1172, 654, 529, 375, 581, 380, 249, 139, 0), # 94
(1407, 1384, 1273, 1336, 1121, 558, 563, 473, 545, 243, 189, 121, 0, 1496, 1220, 1011, 845, 1183, 659, 532, 379, 586, 382, 251, 141, 0), # 95
(1425, 1391, 1289, 1346, 1133, 565, 573, 478, 556, 249, 191, 124, 0, 1516, 1233, 1024, 855, 1194, 664, 539, 383, 593, 388, 252, 142, 0), # 96
(1439, 1401, 1298, 1363, 1141, 569, 576, 481, 559, 253, 192, 127, 0, 1522, 1241, 1032, 857, 1208, 671, 542, 384, 603, 393, 255, 144, 0), # 97
(1449, 1416, 1312, 1384, 1154, 575, 582, 486, 570, 253, 197, 128, 0, 1541, 1257, 1041, 862, 1225, 680, 554, 390, 609, 399, 259, 145, 0), # 98
(1464, 1440, 1324, 1401, 1170, 577, 593, 489, 573, 254, 198, 128, 0, 1552, 1268, 1054, 869, 1236, 686, 564, 392, 616, 404, 263, 148, 0), # 99
(1475, 1454, 1334, 1412, 1176, 583, 601, 495, 579, 255, 198, 131, 0, 1566, 1272, 1059, 876, 1248, 693, 571, 400, 619, 409, 263, 150, 0), # 100
(1487, 1471, 1348, 1423, 1183, 588, 603, 498, 587, 259, 201, 133, 0, 1584, 1287, 1067, 884, 1258, 700, 575, 404, 627, 411, 265, 151, 0), # 101
(1500, 1479, 1359, 1438, 1199, 592, 609, 503, 596, 264, 206, 135, 0, 1598, 1295, 1077, 889, 1267, 708, 580, 408, 632, 412, 271, 151, 0), # 102
(1511, 1487, 1370, 1449, 1211, 597, 616, 511, 600, 266, 207, 138, 0, 1611, 1302, 1086, 893, 1276, 712, 585, 412, 641, 417, 274, 152, 0), # 103
(1532, 1498, 1381, 1465, 1219, 601, 620, 514, 604, 267, 209, 139, 0, 1625, 1319, 1095, 899, 1296, 722, 589, 418, 647, 423, 279, 152, 0), # 104
(1544, 1511, 1393, 1477, 1237, 604, 624, 519, 610, 270, 210, 141, 0, 1647, 1325, 1105, 911, 1307, 725, 593, 422, 654, 426, 283, 154, 0), # 105
(1571, 1518, 1407, 1493, 1250, 616, 629, 521, 615, 272, 213, 144, 0, 1659, 1343, 1114, 916, 1316, 729, 595, 428, 662, 430, 286, 154, 0), # 106
(1586, 1527, 1418, 1508, 1259, 620, 634, 525, 617, 276, 214, 144, 0, 1676, 1357, 1124, 919, 1331, 733, 600, 429, 667, 434, 287, 155, 0), # 107
(1597, 1536, 1425, 1527, 1273, 627, 638, 528, 623, 279, 214, 144, 0, 1688, 1372, 1134, 928, 1345, 737, 607, 432, 671, 438, 290, 155, 0), # 108
(1612, 1553, 1442, 1530, 1292, 631, 642, 534, 635, 279, 216, 145, 0, 1707, 1385, 1139, 936, 1358, 744, 611, 436, 679, 441, 294, 159, 0), # 109
(1634, 1564, 1454, 1541, 1300, 637, 649, 536, 639, 282, 219, 147, 0, 1725, 1398, 1148, 943, 1367, 748, 618, 441, 683, 445, 298, 159, 0), # 110
(1659, 1572, 1464, 1550, 1311, 641, 658, 541, 647, 283, 222, 149, 0, 1735, 1417, 1160, 951, 1380, 753, 624, 442, 691, 449, 298, 160, 0), # 111
(1670, 1582, 1476, 1567, 1324, 644, 662, 543, 652, 285, 226, 153, 0, 1749, 1433, 1174, 959, 1391, 757, 632, 444, 695, 452, 301, 160, 0), # 112
(1679, 1589, 1487, 1583, 1337, 649, 668, 545, 659, 287, 228, 155, 0, 1762, 1444, 1181, 964, 1408, 769, 636, 447, 699, 456, 305, 164, 0), # 113
(1692, 1602, 1501, 1596, 1348, 653, 678, 550, 664, 289, 231, 156, 0, 1775, 1453, 1191, 970, 1417, 774, 640, 451, 704, 461, 309, 164, 0), # 114
(1706, 1615, 1508, 1608, 1360, 657, 686, 550, 669, 291, 234, 157, 0, 1793, 1466, 1200, 977, 1438, 779, 644, 457, 712, 466, 310, 164, 0), # 115
(1722, 1625, 1525, 1626, 1370, 663, 691, 552, 676, 292, 237, 158, 0, 1806, 1473, 1209, 982, 1451, 789, 645, 460, 716, 470, 312, 164, 0), # 116
(1738, 1640, 1534, 1641, 1372, 671, 694, 557, 687, 294, 239, 158, 0, 1822, 1487, 1215, 990, 1470, 795, 650, 462, 717, 474, 317, 167, 0), # 117
(1758, 1648, 1548, 1663, 1380, 675, 698, 562, 692, 297, 243, 160, 0, 1835, 1498, 1229, 997, 1475, 799, 655, 465, 727, 482, 320, 167, 0), # 118
(1776, 1662, 1557, 1674, 1390, 681, 700, 564, 695, 299, 244, 161, 0, 1848, 1510, 1240, 1010, 1488, 805, 658, 470, 731, 488, 324, 167, 0), # 119
(1786, 1671, 1569, 1687, 1400, 688, 705, 567, 699, 299, 245, 163, 0, 1861, 1524, 1251, 1019, 1499, 809, 664, 474, 732, 491, 325, 170, 0), # 120
(1808, 1686, 1581, 1697, 1415, 693, 709, 569, 703, 300, 247, 166, 0, 1883, 1542, 1260, 1023, 1511, 815, 667, 477, 741, 497, 326, 171, 0), # 121
(1823, 1699, 1592, 1708, 1429, 696, 717, 572, 710, 302, 247, 167, 0, 1895, 1560, 1269, 1027, 1525, 822, 677, 482, 744, 503, 329, 171, 0), # 122
(1833, 1706, 1597, 1718, 1441, 701, 721, 579, 717, 304, 250, 169, 0, 1916, 1568, 1277, 1034, 1536, 828, 683, 488, 748, 506, 332, 174, 0), # 123
(1846, 1714, 1611, 1736, 1453, 704, 724, 583, 721, 308, 252, 170, 0, 1928, 1579, 1284, 1042, 1551, 835, 686, 492, 752, 511, 336, 174, 0), # 124
(1856, 1723, 1621, 1744, 1463, 712, 727, 590, 728, 313, 253, 170, 0, 1952, 1588, 1293, 1047, 1559, 841, 690, 493, 759, 515, 336, 174, 0), # 125
(1868, 1730, 1635, 1756, 1472, 718, 730, 595, 736, 315, 254, 170, 0, 1961, 1602, 1303, 1052, 1566, 847, 694, 500, 766, 520, 340, 174, 0), # 126
(1882, 1736, 1648, 1767, 1482, 724, 733, 596, 741, 317, 255, 172, 0, 1976, 1608, 1308, 1057, 1576, 855, 694, 500, 774, 522, 343, 175, 0), # 127
(1893, 1745, 1655, 1778, 1490, 727, 739, 597, 750, 320, 255, 172, 0, 1991, 1618, 1318, 1062, 1590, 865, 701, 505, 780, 524, 344, 175, 0), # 128
(1905, 1755, 1669, 1791, 1506, 730, 741, 601, 756, 322, 257, 174, 0, 2010, 1628, 1326, 1069, 1601, 868, 707, 506, 783, 527, 348, 176, 0), # 129
(1926, 1769, 1679, 1803, 1516, 735, 742, 604, 761, 324, 259, 177, 0, 2027, 1641, 1335, 1073, 1611, 873, 708, 507, 788, 534, 350, 177, 0), # 130
(1942, 1782, 1692, 1814, 1523, 737, 751, 610, 767, 326, 261, 179, 0, 2037, 1649, 1347, 1079, 1619, 879, 711, 513, 791, 539, 356, 180, 0), # 131
(1958, 1790, 1700, 1824, 1532, 745, 755, 616, 772, 327, 263, 180, 0, 2052, 1658, 1357, 1084, 1634, 885, 716, 516, 795, 544, 358, 181, 0), # 132
(1969, 1801, 1717, 1835, 1547, 748, 758, 621, 774, 328, 264, 180, 0, 2060, 1670, 1370, 1088, 1649, 897, 725, 518, 797, 549, 362, 181, 0), # 133
(1983, 1806, 1731, 1846, 1560, 752, 764, 628, 779, 328, 267, 183, 0, 2077, 1686, 1375, 1089, 1659, 902, 731, 522, 801, 554, 364, 182, 0), # 134
(1998, 1822, 1741, 1855, 1572, 753, 766, 629, 783, 328, 269, 184, 0, 2086, 1699, 1384, 1099, 1668, 906, 738, 524, 811, 558, 365, 183, 0), # 135
(2014, 1836, 1754, 1863, 1585, 763, 770, 633, 788, 329, 269, 186, 0, 2099, 1714, 1389, 1107, 1676, 914, 744, 526, 819, 560, 369, 184, 0), # 136
(2039, 1846, 1767, 1869, 1595, 771, 775, 636, 798, 329, 273, 188, 0, 2109, 1725, 1398, 1113, 1691, 920, 754, 530, 825, 565, 372, 187, 0), # 137
(2052, 1857, 1784, 1876, 1604, 772, 778, 639, 805, 332, 275, 188, 0, 2128, 1739, 1405, 1118, 1707, 923, 756, 534, 830, 566, 372, 188, 0), # 138
(2074, 1866, 1795, 1890, 1619, 777, 782, 642, 809, 336, 279, 190, 0, 2149, 1751, 1412, 1125, 1723, 926, 760, 542, 836, 573, 376, 189, 0), # 139
(2091, 1874, 1808, 1899, 1632, 787, 787, 644, 814, 337, 279, 190, 0, 2164, 1761, 1420, 1130, 1729, 933, 765, 546, 839, 575, 376, 189, 0), # 140
(2102, 1880, 1815, 1911, 1643, 793, 789, 650, 822, 341, 284, 192, 0, 2180, 1764, 1427, 1134, 1741, 941, 771, 550, 843, 576, 378, 189, 0), # 141
(2110, 1892, 1828, 1917, 1660, 796, 795, 654, 828, 341, 285, 192, 0, 2193, 1774, 1436, 1138, 1751, 946, 778, 555, 849, 578, 381, 191, 0), # 142
(2120, 1898, 1839, 1933, 1670, 801, 798, 658, 832, 341, 286, 192, 0, 2208, 1786, 1444, 1143, 1761, 947, 778, 561, 857, 583, 384, 193, 0), # 143
(2133, 1907, 1852, 1951, 1681, 807, 811, 663, 834, 342, 289, 194, 0, 2215, 1806, 1452, 1150, 1765, 952, 782, 566, 861, 588, 385, 193, 0), # 144
(2142, 1915, 1865, 1957, 1693, 812, 812, 666, 836, 344, 290, 194, 0, 2228, 1819, 1461, 1156, 1776, 956, 793, 570, 868, 593, 389, 193, 0), # 145
(2149, 1922, 1874, 1966, 1706, 815, 817, 669, 839, 345, 292, 195, 0, 2242, 1829, 1467, 1162, 1787, 963, 799, 574, 874, 599, 394, 193, 0), # 146
(2159, 1936, 1886, 1976, 1712, 824, 822, 673, 843, 348, 292, 196, 0, 2248, 1838, 1476, 1171, 1803, 967, 800, 576, 879, 603, 401, 194, 0), # 147
(2179, 1946, 1896, 1991, 1729, 831, 822, 679, 846, 353, 292, 198, 0, 2255, 1847, 1487, 1176, 1820, 975, 801, 583, 883, 605, 403, 194, 0), # 148
(2188, 1952, 1918, 1998, 1738, 837, 823, 685, 853, 356, 293, 199, 0, 2269, 1864, 1495, 1180, 1834, 980, 806, 589, 891, 609, 405, 194, 0), # 149
(2207, 1958, 1923, 2011, 1749, 842, 829, 691, 856, 359, 294, 200, 0, 2284, 1875, 1504, 1185, 1843, 985, 808, 593, 895, 611, 407, 194, 0), # 150
(2218, 1961, 1933, 2025, 1761, 846, 833, 692, 861, 360, 297, 200, 0, 2303, 1885, 1511, 1190, 1854, 992, 812, 599, 901, 614, 407, 195, 0), # 151
(2229, 1977, 1949, 2032, 1771, 851, 835, 694, 864, 360, 299, 202, 0, 2324, 1893, 1519, 1200, 1864, 997, 820, 604, 907, 619, 407, 195, 0), # 152
(2240, 1983, 1967, 2045, 1778, 859, 839, 697, 865, 363, 304, 202, 0, 2337, 1916, 1523, 1205, 1876, 1004, 823, 610, 909, 620, 409, 197, 0), # 153
(2251, 1987, 1982, 2053, 1786, 863, 843, 703, 871, 365, 306, 202, 0, 2355, 1923, 1534, 1208, 1888, 1010, 826, 617, 914, 624, 410, 197, 0), # 154
(2259, 1996, 1990, 2068, 1797, 868, 845, 709, 881, 366, 309, 204, 0, 2367, 1934, 1544, 1212, 1901, 1015, 831, 620, 919, 626, 415, 198, 0), # 155
(2270, 2004, 2003, 2083, 1808, 872, 850, 714, 889, 368, 309, 205, 0, 2384, 1938, 1549, 1218, 1909, 1022, 837, 623, 922, 630, 418, 199, 0), # 156
(2279, 2014, 2013, 2095, 1822, 877, 854, 720, 897, 374, 311, 208, 0, 2400, 1949, 1559, 1228, 1919, 1024, 840, 626, 928, 636, 420, 201, 0), # 157
(2293, 2028, 2023, 2104, 1833, 881, 860, 727, 899, 375, 313, 209, 0, 2409, 1959, 1566, 1233, 1933, 1025, 847, 633, 933, 643, 423, 201, 0), # 158
(2305, 2033, 2040, 2118, 1843, 886, 869, 733, 903, 379, 314, 211, 0, 2418, 1971, 1571, 1241, 1943, 1029, 851, 635, 937, 648, 425, 201, 0), # 159
(2316, 2040, 2059, 2131, 1848, 891, 870, 736, 910, 381, 317, 211, 0, 2431, 1977, 1575, 1243, 1954, 1032, 852, 639, 942, 651, 426, 204, 0), # 160
(2331, 2048, 2068, 2148, 1860, 895, 874, 740, 914, 383, 318, 212, 0, 2439, 1988, 1586, 1246, 1963, 1035, 855, 642, 946, 656, 429, 204, 0), # 161
(2349, 2058, 2077, 2155, 1868, 898, 878, 743, 920, 387, 319, 213, 0, 2449, 2005, 1590, 1254, 1973, 1041, 860, 643, 950, 657, 430, 204, 0), # 162
(2362, 2070, 2085, 2165, 1875, 902, 880, 749, 921, 389, 319, 214, 0, 2463, 2010, 1597, 1260, 1984, 1044, 864, 647, 957, 660, 431, 204, 0), # 163
(2369, 2079, 2101, 2173, 1882, 909, 883, 755, 925, 391, 319, 216, 0, 2473, 2012, 1604, 1266, 1990, 1047, 867, 652, 961, 661, 437, 204, 0), # 164
(2379, 2088, 2108, 2182, 1891, 912, 883, 755, 928, 393, 320, 217, 0, 2491, 2018, 1609, 1274, 1997, 1050, 868, 657, 967, 663, 437, 205, 0), # 165
(2390, 2096, 2117, 2189, 1903, 915, 887, 759, 931, 397, 322, 218, 0, 2499, 2028, 1618, 1278, 2008, 1053, 871, 661, 972, 668, 437, 205, 0), # 166
(2397, 2107, 2124, 2202, 1919, 919, 889, 761, 938, 398, 323, 219, 0, 2510, 2036, 1622, 1281, 2013, 1056, 873, 664, 973, 673, 439, 205, 0), # 167
(2406, 2113, 2136, 2210, 1924, 921, 891, 764, 940, 399, 323, 219, 0, 2526, 2052, 1627, 1284, 2020, 1061, 876, 666, 976, 677, 441, 205, 0), # 168
(2414, 2119, 2146, 2220, 1929, 925, 893, 765, 942, 403, 324, 222, 0, 2535, 2062, 1633, 1286, 2032, 1066, 881, 667, 979, 683, 446, 206, 0), # 169
(2423, 2127, 2156, 2231, 1937, 928, 895, 767, 952, 403, 327, 222, 0, 2542, 2069, 1644, 1291, 2037, 1072, 884, 670, 983, 687, 451, 207, 0), # 170
(2433, 2129, 2163, 2250, 1940, 931, 895, 769, 958, 403, 330, 222, 0, 2550, 2075, 1652, 1293, 2046, 1082, 887, 670, 986, 689, 454, 207, 0), # 171
(2444, 2133, 2172, 2258, 1950, 931, 898, 770, 963, 405, 331, 222, 0, 2554, 2081, 1658, 1295, 2053, 1084, 887, 674, 989, 692, 458, 207, 0), # 172
(2450, 2136, 2182, 2274, 1961, 933, 900, 772, 972, 406, 333, 222, 0, 2560, 2084, 1664, 1296, 2064, 1088, 889, 676, 994, 694, 460, 207, 0), # 173
(2461, 2141, 2190, 2282, 1967, 936, 904, 773, 978, 407, 333, 222, 0, 2570, 2089, 1670, 1302, 2072, 1094, 893, 677, 1002, 696, 461, 207, 0), # 174
(2471, 2147, 2195, 2288, 1971, 941, 906, 778, 981, 410, 335, 223, 0, 2577, 2095, 1676, 1305, 2079, 1098, 897, 682, 1005, 700, 463, 207, 0), # 175
(2478, 2155, 2198, 2293, 1976, 946, 909, 778, 984, 411, 335, 224, 0, 2584, 2100, 1677, 1306, 2085, 1101, 898, 682, 1008, 700, 463, 207, 0), # 176
(2482, 2160, 2202, 2295, 1978, 949, 911, 780, 986, 411, 337, 224, 0, 2591, 2107, 1686, 1313, 2092, 1106, 901, 684, 1009, 702, 464, 207, 0), # 177
(2490, 2163, 2205, 2305, 1982, 952, 912, 784, 989, 411, 337, 224, 0, 2598, 2112, 1686, 1317, 2098, 1110, 902, 686, 1011, 705, 464, 208, 0), # 178
(2490, 2163, 2205, 2305, 1982, 952, 912, 784, 989, 411, 337, 224, 0, 2598, 2112, 1686, 1317, 2098, 1110, 902, 686, 1011, 705, 464, 208, 0), # 179
)
passenger_arriving_rate = (
(8.033384925394829, 8.103756554216645, 6.9483776394833425, 7.45760132863612, 5.924997981450252, 2.9294112699015167, 3.3168284922991322, 3.102117448652949, 3.2480528331562706, 1.5832060062089484, 1.1214040437028276, 0.6530553437741565, 0.0, 8.134208340125381, 7.183608781515721, 5.607020218514138, 4.749618018626844, 6.496105666312541, 4.342964428114128, 3.3168284922991322, 2.0924366213582264, 2.962498990725126, 2.4858671095453735, 1.3896755278966686, 0.7367051412924223, 0.0), # 0
(8.566923443231959, 8.638755684745645, 7.407128788440204, 7.95017310393194, 6.317323026639185, 3.122918011773052, 3.535575153010955, 3.306342481937139, 3.462530840710885, 1.6875922769108604, 1.1954923029216353, 0.6961622214419141, 0.0, 8.671666635903767, 7.657784435861053, 5.9774615146081755, 5.06277683073258, 6.92506168142177, 4.628879474711995, 3.535575153010955, 2.230655722695037, 3.1586615133195926, 2.650057701310647, 1.4814257576880407, 0.7853414258859679, 0.0), # 1
(9.09875681436757, 9.171631583973436, 7.864056380729885, 8.440785245597754, 6.708227171999727, 3.3156527735449486, 3.7534548063685635, 3.5097501652696135, 3.676152963668026, 1.7915655100082188, 1.269286173007017, 0.7390976869404075, 0.0, 9.206983725135505, 8.13007455634448, 6.346430865035084, 5.374696530024655, 7.352305927336052, 4.913650231377459, 3.7534548063685635, 2.3683234096749635, 3.3541135859998636, 2.8135950818659183, 1.5728112761459772, 0.8337846894521307, 0.0), # 2
(9.6268124690345, 9.70027006950679, 8.317347825759807, 8.927491689038488, 7.096172454402028, 3.5068512477461056, 3.9696029133183646, 3.7115341049963386, 3.8880720858245827, 1.8947130793704727, 1.3424929098206355, 0.7816914246573948, 0.0, 9.738036490006762, 8.598605671231342, 6.712464549103178, 5.684139238111417, 7.7761441716491655, 5.196147746994874, 3.9696029133183646, 2.5048937483900753, 3.548086227201014, 2.97583056301283, 1.6634695651519613, 0.8818427335915264, 0.0), # 3
(10.149017837465571, 10.222556958952469, 8.765190532937382, 9.408346369659084, 7.479620910716259, 3.6957491269054237, 4.183154934806767, 3.910887907463277, 4.097441090977444, 1.996622358867072, 1.4148197692241535, 0.8237731189806353, 0.0, 10.262701812703709, 9.061504308786986, 7.074098846120767, 5.9898670766012145, 8.194882181954888, 5.475243070448588, 4.183154934806767, 2.6398208049324454, 3.7398104553581293, 3.136115456553029, 1.7530381065874767, 0.9293233599047701, 0.0), # 4
(10.663300349893618, 10.736378069917262, 9.205771911670025, 9.881403222864472, 7.8570345778125645, 3.8815821035518008, 4.393246331780179, 4.1070051790163955, 4.303412862923498, 2.096880722367466, 1.4859740070792353, 0.8651724542978865, 0.0, 10.778856575412524, 9.51689699727675, 7.429870035396177, 6.290642167102396, 8.606825725846996, 5.749807250622953, 4.393246331780179, 2.772558645394143, 3.9285172889062823, 3.2938010742881585, 1.841154382334005, 0.9760343699924785, 0.0), # 5
(11.167587436551466, 11.239619220007935, 9.637279371365155, 10.344716184059584, 8.226875492561113, 4.06358587021414, 4.59901256518501, 4.299079526001659, 4.5051402854596345, 2.195075543741104, 1.555662879247542, 0.9057191149969079, 0.0, 11.284377660319372, 9.962910264965986, 7.77831439623771, 6.5852266312233105, 9.010280570919269, 6.018711336402323, 4.59901256518501, 2.902561335867243, 4.113437746280557, 3.448238728019862, 1.9274558742730312, 1.021783565455267, 0.0), # 6
(11.65980652767195, 11.73016622683126, 10.05790032143018, 10.796339188649355, 8.587605691832056, 4.2409961194213395, 4.799589095967668, 4.486304554765035, 4.701776242382744, 2.2907941968574352, 1.6235936415907386, 0.9452427854654573, 0.0, 11.777141949610431, 10.397670640120028, 8.117968207953693, 6.872382590572304, 9.403552484765488, 6.280826376671049, 4.799589095967668, 3.029282942443814, 4.293802845916028, 3.598779729549786, 2.0115800642860364, 1.066378747893751, 0.0), # 7
(12.137885053487896, 12.205904907994013, 10.465822171272528, 11.234326172038713, 8.937687212495558, 4.413048543702297, 4.994111385074558, 4.667873871652484, 4.89247361748971, 2.3836240555859103, 1.6894735499704858, 0.9835731500912939, 0.0, 12.255026325471867, 10.81930465100423, 8.447367749852429, 7.150872166757729, 9.78494723497942, 6.535023420313477, 4.994111385074558, 3.152177531215927, 4.468843606247779, 3.744775390679572, 2.093164434254506, 1.1096277189085468, 0.0), # 8
(12.599750444232136, 12.664721081102966, 10.859232330299607, 11.656731069632603, 9.27558209142177, 4.578978835585919, 5.181714893452096, 4.842981083009976, 5.076385294577426, 2.4731524937959772, 1.7530098602484476, 1.0205398932621754, 0.0, 12.71590767008986, 11.225938825883926, 8.765049301242238, 7.41945748138793, 10.152770589154851, 6.780173516213966, 5.181714893452096, 3.270699168275656, 4.637791045710885, 3.8855770232108684, 2.1718464660599213, 1.1513382801002698, 0.0), # 9
(13.043330130137491, 13.104500563764889, 11.236318207918833, 12.061607816835945, 9.599752365480853, 4.7380226876011005, 5.361535082046684, 5.010819795183474, 5.252664157442781, 2.558966885357086, 1.8139098282862867, 1.0559726993658605, 0.0, 13.157662865650577, 11.615699693024464, 9.069549141431432, 7.676900656071258, 10.505328314885562, 7.015147713256865, 5.361535082046684, 3.3843019197150714, 4.799876182740427, 4.020535938945316, 2.247263641583767, 1.1913182330695355, 0.0), # 10
(13.466551541436809, 13.52312917358657, 11.595267213537621, 12.447010349053677, 9.908660071542968, 4.889415792276744, 5.532707411804733, 5.170583614518944, 5.420463089882663, 2.640654604138688, 1.8718807099456667, 1.0897012527901082, 0.0, 13.57816879434018, 11.986713780691188, 9.359403549728333, 7.921963812416063, 10.840926179765326, 7.238817060326522, 5.532707411804733, 3.4924398516262456, 4.954330035771484, 4.14900344968456, 2.3190534427075247, 1.229375379416961, 0.0), # 11
(13.8673421083629, 13.918492728174757, 11.934266756563387, 12.810992601690735, 10.200767246478268, 5.032393842141746, 5.694367343672649, 5.321466147362347, 5.578934975693962, 2.7178030240102293, 1.9266297610882495, 1.1215552379226759, 0.0, 13.975302338344855, 12.337107617149433, 9.633148805441246, 8.153409072030687, 11.157869951387925, 7.4500526063072865, 5.694367343672649, 3.5945670301012465, 5.100383623239134, 4.270330867230246, 2.3868533513126775, 1.26531752074316, 0.0), # 12
(14.243629261148602, 14.288477045136244, 12.251504246403549, 13.151608510152053, 10.474535927156907, 5.166192529725009, 5.845650338596845, 5.462661000059654, 5.727232698673564, 2.7899995188411624, 1.9778642375756985, 1.1513643391513229, 0.0, 14.346940379850777, 12.66500773066455, 9.889321187878492, 8.369998556523486, 11.454465397347128, 7.647725400083517, 5.845650338596845, 3.6901375212321494, 5.237267963578454, 4.383869503384019, 2.45030084928071, 1.2989524586487495, 0.0), # 13
(14.593340430026746, 14.630967942077797, 12.54516709246553, 13.466912009842552, 10.728428150449055, 5.2900475475554325, 5.9856918575237295, 5.593361778956831, 5.864509142618358, 2.856831462500934, 2.0252913952696763, 1.1789582408638082, 0.0, 14.690959801044102, 12.968540649501888, 10.12645697634838, 8.570494387502801, 11.729018285236716, 7.830706490539565, 5.9856918575237295, 3.778605391111023, 5.3642140752245275, 4.488970669947518, 2.509033418493106, 1.3300879947343454, 0.0), # 14
(14.914403045230168, 14.943851236606186, 12.813442704156724, 13.754957036167184, 10.960905953224861, 5.403194588161918, 6.1136273613997005, 5.7127620903998375, 5.989917191325237, 2.917886228858997, 2.0686184900318456, 1.2041666274478897, 0.0, 15.00523748411101, 13.245832901926784, 10.343092450159226, 8.753658686576989, 11.979834382650473, 7.997866926559773, 6.1136273613997005, 3.8594247058299413, 5.480452976612431, 4.584985678722395, 2.562688540831345, 1.3585319306005625, 0.0), # 15
(15.204744536991681, 15.225012746328195, 13.054518490884568, 14.013797524530858, 11.170431372354487, 5.504869344073363, 6.228592311171181, 5.820055540734641, 6.102609728591085, 2.972751191784799, 2.1075527777238703, 1.2268191832913256, 0.0, 15.287650311237673, 13.495011016204579, 10.53776388861935, 8.918253575354395, 12.20521945718217, 8.148077757028497, 6.228592311171181, 3.932049531480973, 5.585215686177244, 4.671265841510287, 2.6109036981769136, 1.384092067848018, 0.0), # 16
(15.46229233554412, 15.472338288850588, 13.266581862056471, 14.241487410338536, 11.355466444708094, 5.594307507818667, 6.329722167784569, 5.914435736307213, 6.201739638212791, 3.021013725147788, 2.141801514207413, 1.2467455927818742, 0.0, 15.536075164610265, 13.714201520600614, 10.709007571037066, 9.063041175443361, 12.403479276425582, 8.280210030830098, 6.329722167784569, 3.9959339341561906, 5.677733222354047, 4.747162470112846, 2.6533163724112945, 1.4065762080773265, 0.0), # 17
(15.684973871120327, 15.683713681780135, 13.447820227079841, 14.436080628995136, 11.514473207155827, 5.670744771926737, 6.416152392186281, 5.995096283463507, 6.286459803987251, 3.0622612028174157, 2.171071955344136, 1.2637755403072954, 0.0, 15.748388926414954, 13.901530943380248, 10.855359776720679, 9.186783608452245, 12.572919607974502, 8.39313479684891, 6.416152392186281, 4.050531979947669, 5.757236603577914, 4.812026876331712, 2.689564045415968, 1.4257921528891033, 0.0), # 18
(15.870716573953118, 15.857024742723624, 13.596420995362104, 14.59563111590558, 11.645913696567856, 5.733416828926462, 6.4870184453227155, 6.061230788549498, 6.355923109711349, 3.0960809986631324, 2.1950713569957014, 1.2777387102553464, 0.0, 15.922468478837914, 14.055125812808807, 10.975356784978505, 9.288242995989394, 12.711846219422698, 8.485723103969297, 6.4870184453227155, 4.095297734947473, 5.822956848283928, 4.865210371968527, 2.7192841990724212, 1.441547703883966, 0.0), # 19
(16.01744787427533, 15.990157289287811, 13.710571576310672, 14.718192806474825, 11.748249949814339, 5.781559371346751, 6.54145578814029, 6.112032857911145, 6.409282439181973, 3.1220604865543846, 2.213506975023774, 1.2884647870137858, 0.0, 16.05619070406532, 14.17311265715164, 11.067534875118868, 9.366181459663151, 12.818564878363945, 8.556846001075604, 6.54145578814029, 4.129685265247679, 5.874124974907169, 4.9060642688249425, 2.7421143152621346, 1.4536506626625285, 0.0), # 20
(16.123095202319785, 16.080997139079486, 13.78845937933296, 14.801819636107783, 11.819944003765428, 5.8144080917165, 6.578599881585408, 6.1466960978944165, 6.445690676196012, 3.139787040360623, 2.226086065290016, 1.2957834549703726, 0.0, 16.147432484283325, 14.253618004674097, 11.13043032645008, 9.419361121081867, 12.891381352392024, 8.605374537052183, 6.578599881585408, 4.153148636940357, 5.909972001882714, 4.933939878702596, 2.757691875866592, 1.461908830825408, 0.0), # 21
(16.18558598831933, 16.12743010970541, 13.82827181383638, 14.844565540209405, 11.85945789529128, 5.83119868256461, 6.59758618660448, 6.164414114845277, 6.464300704550355, 3.148848033951298, 2.232515883656091, 1.2995243985128655, 0.0, 16.194070701678125, 14.294768383641518, 11.162579418280455, 9.446544101853892, 12.92860140910071, 8.630179760783388, 6.59758618660448, 4.1651419161175784, 5.92972894764564, 4.948188513403136, 2.7656543627672763, 1.4661300099732195, 0.0), # 22
(16.208629381348224, 16.132927937814358, 13.83323090992227, 14.849916975308645, 11.869580859768103, 5.833333333333334, 6.599843201807471, 6.166329218106997, 6.466627325102881, 3.149916909007774, 2.233322143243131, 1.2999863435451913, 0.0, 16.2, 14.299849778997103, 11.166610716215654, 9.44975072702332, 12.933254650205763, 8.632860905349796, 6.599843201807471, 4.166666666666667, 5.9347904298840515, 4.949972325102882, 2.7666461819844543, 1.4666298125285782, 0.0), # 23
(16.225619860854646, 16.12972098765432, 13.832419753086421, 14.849258333333335, 11.875314787855842, 5.833333333333334, 6.598603050108934, 6.163666666666667, 6.466315555555555, 3.149260246913581, 2.2332332210998884, 1.2998781893004117, 0.0, 16.2, 14.298660082304526, 11.166166105499443, 9.44778074074074, 12.93263111111111, 8.629133333333334, 6.598603050108934, 4.166666666666667, 5.937657393927921, 4.949752777777779, 2.7664839506172845, 1.4663382716049385, 0.0), # 24
(16.242251568338528, 16.1233996342021, 13.830818472793784, 14.847955246913582, 11.880922608634137, 5.833333333333334, 6.596159122085048, 6.158436213991771, 6.465699588477367, 3.1479675354366723, 2.233056906513697, 1.2996646852613931, 0.0, 16.2, 14.296311537875322, 11.165284532568485, 9.443902606310015, 12.931399176954734, 8.62181069958848, 6.596159122085048, 4.166666666666667, 5.940461304317068, 4.949318415637862, 2.766163694558757, 1.4657636031092822, 0.0), # 25
(16.258523230476854, 16.114060448102425, 13.828449016918157, 14.846022530864197, 11.886404126315846, 5.833333333333334, 6.592549374646977, 6.150736625514405, 6.46478732510288, 3.146060283493371, 2.2327947956935614, 1.2993487578113097, 0.0, 16.2, 14.292836335924404, 11.163973978467807, 9.43818085048011, 12.92957465020576, 8.611031275720167, 6.592549374646977, 4.166666666666667, 5.943202063157923, 4.948674176954733, 2.7656898033836312, 1.46491458619113, 0.0), # 26
(16.27443357394662, 16.1018, 13.825333333333333, 14.843475, 11.891759145113827, 5.833333333333334, 6.587811764705883, 6.140666666666667, 6.463586666666666, 3.143560000000001, 2.232448484848485, 1.2989333333333337, 0.0, 16.2, 14.288266666666669, 11.162242424242425, 9.430679999999999, 12.927173333333332, 8.596933333333334, 6.587811764705883, 4.166666666666667, 5.945879572556914, 4.947825000000001, 2.765066666666667, 1.4638000000000002, 0.0), # 27
(16.2899813254248, 16.08671486053955, 13.821493369913123, 14.840327469135804, 11.896987469240962, 5.833333333333334, 6.581984249172921, 6.12832510288066, 6.462105514403292, 3.140488193872886, 2.232019570187472, 1.2984213382106389, 0.0, 16.2, 14.282634720317025, 11.160097850937358, 9.421464581618656, 12.924211028806583, 8.579655144032923, 6.581984249172921, 4.166666666666667, 5.948493734620481, 4.946775823045269, 2.764298673982625, 1.462428623685414, 0.0), # 28
(16.3051652115884, 16.0689016003658, 13.816951074531323, 14.83659475308642, 11.902088902910101, 5.833333333333334, 6.575104784959253, 6.113810699588477, 6.460351769547325, 3.1368663740283504, 2.2315096479195247, 1.2978156988263985, 0.0, 16.2, 14.27597268709038, 11.157548239597624, 9.41059912208505, 12.92070353909465, 8.559334979423868, 6.575104784959253, 4.166666666666667, 5.951044451455051, 4.945531584362141, 2.763390214906265, 1.460809236396891, 0.0), # 29
(16.319983959114396, 16.04845679012346, 13.811728395061728, 14.832291666666666, 11.907063250334119, 5.833333333333334, 6.567211328976035, 6.097222222222222, 6.458333333333333, 3.1327160493827173, 2.230920314253648, 1.297119341563786, 0.0, 16.2, 14.268312757201645, 11.15460157126824, 9.398148148148149, 12.916666666666666, 8.536111111111111, 6.567211328976035, 4.166666666666667, 5.953531625167059, 4.944097222222223, 2.7623456790123457, 1.458950617283951, 0.0), # 30
(16.334436294679772, 16.02547700045725, 13.805847279378145, 14.82743302469136, 11.911910315725876, 5.833333333333334, 6.558341838134432, 6.078658436213992, 6.456058106995885, 3.1280587288523103, 2.2302531653988447, 1.296335192805975, 0.0, 16.2, 14.259687120865724, 11.151265826994223, 9.384176186556928, 12.91211621399177, 8.510121810699589, 6.558341838134432, 4.166666666666667, 5.955955157862938, 4.942477674897121, 2.761169455875629, 1.4568615454961138, 0.0), # 31
(16.34852094496153, 16.00005880201189, 13.799329675354366, 14.82203364197531, 11.916629903298237, 5.833333333333334, 6.548534269345599, 6.058218106995886, 6.453533991769548, 3.1229159213534534, 2.229509797564119, 1.2954661789361381, 0.0, 16.2, 14.250127968297518, 11.147548987820594, 9.368747764060357, 12.907067983539095, 8.48150534979424, 6.548534269345599, 4.166666666666667, 5.958314951649118, 4.940677880658438, 2.759865935070873, 1.4545508001828993, 0.0), # 32
(16.362236636636634, 15.972298765432097, 13.792197530864199, 14.816108333333332, 11.921221817264065, 5.833333333333334, 6.537826579520697, 6.0360000000000005, 6.450768888888889, 3.1173091358024703, 2.228691806958474, 1.2945152263374486, 0.0, 16.2, 14.239667489711932, 11.143459034792368, 9.351927407407409, 12.901537777777778, 8.450400000000002, 6.537826579520697, 4.166666666666667, 5.960610908632033, 4.938702777777778, 2.75843950617284, 1.452027160493827, 0.0), # 33
(16.375582096382097, 15.942293461362596, 13.784472793781436, 14.809671913580248, 11.92568586183623, 5.833333333333334, 6.526256725570888, 6.012102880658436, 6.447770699588479, 3.111259881115685, 2.2278007897909133, 1.2934852613930805, 0.0, 16.2, 14.228337875323884, 11.139003948954567, 9.333779643347052, 12.895541399176958, 8.41694403292181, 6.526256725570888, 4.166666666666667, 5.962842930918115, 4.93655730452675, 2.7568945587562874, 1.449299405578418, 0.0), # 34
(16.388556050874893, 15.9101394604481, 13.776177411979882, 14.802739197530864, 11.930021841227594, 5.833333333333334, 6.513862664407327, 5.986625514403293, 6.4445473251028815, 3.1047896662094203, 2.226838342270441, 1.2923792104862066, 0.0, 16.2, 14.216171315348271, 11.134191711352205, 9.314368998628257, 12.889094650205763, 8.381275720164611, 6.513862664407327, 4.166666666666667, 5.965010920613797, 4.934246399176955, 2.755235482395977, 1.4463763145861912, 0.0), # 35
(16.40115722679201, 15.87593333333333, 13.767333333333335, 14.795325, 11.934229559651024, 5.833333333333334, 6.500682352941176, 5.959666666666668, 6.441106666666666, 3.097920000000001, 2.225806060606061, 1.2912000000000003, 0.0, 16.2, 14.203200000000002, 11.129030303030303, 9.29376, 12.882213333333333, 8.343533333333335, 6.500682352941176, 4.166666666666667, 5.967114779825512, 4.931775000000001, 2.753466666666667, 1.4432666666666667, 0.0), # 36
(16.41338435081044, 15.839771650663007, 13.757962505715593, 14.78744413580247, 11.938308821319383, 5.833333333333334, 6.486753748083595, 5.931325102880659, 6.437456625514404, 3.090672391403751, 2.2247055410067764, 1.2899505563176348, 0.0, 16.2, 14.18945611949398, 11.123527705033881, 9.27201717421125, 12.874913251028808, 8.303855144032923, 6.486753748083595, 4.166666666666667, 5.969154410659692, 4.929148045267491, 2.751592501143119, 1.4399792409693644, 0.0), # 37
(16.425236149607162, 15.801750983081849, 13.748086877000459, 14.77911141975309, 11.942259430445535, 5.833333333333334, 6.4721148067457435, 5.901699588477367, 6.433605102880659, 3.0830683493369926, 2.22353837968159, 1.2886338058222835, 0.0, 16.2, 14.174971864045116, 11.11769189840795, 9.249205048010975, 12.867210205761317, 8.262379423868314, 6.4721148067457435, 4.166666666666667, 5.971129715222768, 4.926370473251031, 2.7496173754000917, 1.4365228166438047, 0.0), # 38
(16.436711349859177, 15.761967901234568, 13.737728395061731, 14.770341666666667, 11.94608119124235, 5.833333333333334, 6.456803485838781, 5.8708888888888895, 6.42956, 3.0751293827160504, 2.2223061728395064, 1.2872526748971194, 0.0, 16.2, 14.159779423868311, 11.111530864197531, 9.225388148148149, 12.85912, 8.219244444444445, 6.456803485838781, 4.166666666666667, 5.973040595621175, 4.923447222222223, 2.7475456790123465, 1.4329061728395065, 0.0), # 39
(16.44780867824346, 15.720518975765888, 13.726909007773205, 14.761149691358025, 11.949773907922687, 5.833333333333334, 6.440857742273865, 5.838991769547327, 6.425329218106996, 3.0668770004572488, 2.2210105166895295, 1.2858100899253166, 0.0, 16.2, 14.143910989178481, 11.105052583447646, 9.200631001371743, 12.850658436213992, 8.174588477366258, 6.440857742273865, 4.166666666666667, 5.974886953961343, 4.920383230452676, 2.745381801554641, 1.42913808870599, 0.0), # 40
(16.458526861437004, 15.677500777320528, 13.71565066300869, 14.751550308641978, 11.953337384699417, 5.833333333333334, 6.424315532962156, 5.806106995884774, 6.420920658436214, 3.05833271147691, 2.2196530074406624, 1.2843089772900476, 0.0, 16.2, 14.12739875019052, 11.09826503720331, 9.174998134430727, 12.841841316872427, 8.128549794238685, 6.424315532962156, 4.166666666666667, 5.976668692349708, 4.9171834362139935, 2.743130132601738, 1.4252273433927756, 0.0), # 41
(16.4688646261168, 15.633009876543213, 13.70397530864198, 14.741558333333336, 11.956771425785394, 5.833333333333334, 6.4072148148148145, 5.772333333333334, 6.416342222222223, 3.049518024691359, 2.2182352413019086, 1.282752263374486, 0.0, 16.2, 14.110274897119341, 11.091176206509541, 9.148554074074074, 12.832684444444446, 8.081266666666668, 6.4072148148148145, 4.166666666666667, 5.978385712892697, 4.913852777777779, 2.740795061728396, 1.421182716049383, 0.0), # 42
(16.47882069895983, 15.587142844078647, 13.69190489254687, 14.731188580246915, 11.960075835393496, 5.833333333333334, 6.389593544743001, 5.737769547325104, 6.4116018106995885, 3.040454449016919, 2.2167588144822714, 1.281142874561805, 0.0, 16.2, 14.092571620179852, 11.083794072411356, 9.121363347050755, 12.823203621399177, 8.032877366255146, 6.389593544743001, 4.166666666666667, 5.980037917696748, 4.9103961934156395, 2.738380978509374, 1.4170129858253318, 0.0), # 43
(16.488393806643085, 15.539996250571559, 13.679461362597166, 14.720455864197532, 11.963250417736582, 5.833333333333334, 6.371489679657872, 5.702514403292183, 6.4067073251028805, 3.031163493369914, 2.2152253231907557, 1.279483737235178, 0.0, 16.2, 14.074321109586954, 11.076126615953777, 9.09349048010974, 12.813414650205761, 7.983520164609057, 6.371489679657872, 4.166666666666667, 5.981625208868291, 4.906818621399179, 2.7358922725194335, 1.4127269318701419, 0.0), # 44
(16.497582675843546, 15.491666666666667, 13.66666666666667, 14.709375000000001, 11.966294977027516, 5.833333333333334, 6.352941176470589, 5.666666666666668, 6.4016666666666655, 3.021666666666668, 2.213636363636364, 1.277777777777778, 0.0, 16.2, 14.055555555555554, 11.068181818181818, 9.065000000000001, 12.803333333333331, 7.9333333333333345, 6.352941176470589, 4.166666666666667, 5.983147488513758, 4.903125000000001, 2.733333333333334, 1.4083333333333337, 0.0), # 45
(16.50638603323821, 15.442250663008686, 13.653542752629173, 14.697960802469137, 11.969209317479164, 5.833333333333334, 6.333985992092311, 5.63032510288066, 6.396487736625514, 3.0119854778235036, 2.2119935320281, 1.2760279225727789, 0.0, 16.2, 14.036307148300564, 11.059967660140499, 9.035956433470508, 12.792975473251028, 7.882455144032924, 6.333985992092311, 4.166666666666667, 5.984604658739582, 4.899320267489713, 2.730708550525835, 1.4038409693644263, 0.0), # 46
(16.514802605504055, 15.391844810242342, 13.640111568358483, 14.686228086419753, 11.971993243304391, 5.833333333333334, 6.3146620834341975, 5.593588477366255, 6.391178436213992, 3.0021414357567453, 2.210298424574968, 1.2742370980033535, 0.0, 16.2, 14.016608078036885, 11.051492122874839, 9.006424307270233, 12.782356872427984, 7.831023868312758, 6.3146620834341975, 4.166666666666667, 5.985996621652196, 4.895409362139919, 2.728022313671697, 1.3992586191129404, 0.0), # 47
(16.522831119318074, 15.340545679012347, 13.626395061728397, 14.674191666666669, 11.974646558716064, 5.833333333333334, 6.295007407407407, 5.556555555555557, 6.385746666666667, 2.9921560493827166, 2.208552637485971, 1.272408230452675, 0.0, 16.2, 13.996490534979422, 11.042763187429854, 8.976468148148149, 12.771493333333334, 7.77917777777778, 6.295007407407407, 4.166666666666667, 5.987323279358032, 4.891397222222224, 2.7252790123456796, 1.3945950617283953, 0.0), # 48
(16.53047030135726, 15.288449839963418, 13.612415180612713, 14.661866358024692, 11.977169067927047, 5.833333333333334, 6.275059920923102, 5.519325102880659, 6.380200329218106, 2.982050827617742, 2.2067577669701133, 1.2705442463039174, 0.0, 16.2, 13.97598670934309, 11.033788834850565, 8.946152482853226, 12.760400658436213, 7.727055144032923, 6.275059920923102, 4.166666666666667, 5.9885845339635235, 4.887288786008232, 2.7224830361225427, 1.389859076360311, 0.0), # 49
(16.537718878298588, 15.235653863740286, 13.598193872885233, 14.649266975308642, 11.979560575150202, 5.833333333333334, 6.25485758089244, 5.481995884773663, 6.3745473251028795, 2.971847279378144, 2.204915409236397, 1.2686480719402533, 0.0, 16.2, 13.955128791342785, 11.024577046181985, 8.91554183813443, 12.749094650205759, 7.674794238683129, 6.25485758089244, 4.166666666666667, 5.989780287575101, 4.883088991769548, 2.7196387745770467, 1.385059442158208, 0.0), # 50
(16.544575576819057, 15.182254320987655, 13.583753086419755, 14.636408333333335, 11.981820884598399, 5.833333333333334, 6.23443834422658, 5.4446666666666665, 6.368795555555556, 2.9615669135802474, 2.2030271604938276, 1.2667226337448563, 0.0, 16.2, 13.933948971193416, 11.015135802469137, 8.88470074074074, 12.737591111111112, 7.622533333333334, 6.23443834422658, 4.166666666666667, 5.9909104422991994, 4.878802777777779, 2.716750617283951, 1.380204938271605, 0.0), # 51
(16.551039123595647, 15.128347782350252, 13.56911476909008, 14.623305246913581, 11.983949800484496, 5.833333333333334, 6.213840167836683, 5.407436213991769, 6.3629529218107, 2.9512312391403754, 2.2010946169514076, 1.2647708581008996, 0.0, 16.2, 13.912479439109894, 11.005473084757037, 8.853693717421125, 12.7259058436214, 7.570410699588477, 6.213840167836683, 4.166666666666667, 5.991974900242248, 4.874435082304528, 2.713822953818016, 1.3753043438500232, 0.0), # 52
(16.55710824530535, 15.074030818472796, 13.554300868770008, 14.609972530864198, 11.985947127021364, 5.833333333333334, 6.1931010086339064, 5.370403292181071, 6.357027325102881, 2.940861764974852, 2.1991193748181406, 1.2627956713915565, 0.0, 16.2, 13.890752385307119, 10.995596874090701, 8.822585294924554, 12.714054650205762, 7.518564609053499, 6.1931010086339064, 4.166666666666667, 5.992973563510682, 4.8699908436214, 2.710860173754002, 1.3703664380429816, 0.0), # 53
(16.562781668625146, 15.019400000000001, 13.539333333333333, 14.596425, 11.987812668421869, 5.833333333333334, 6.172258823529412, 5.333666666666667, 6.351026666666667, 2.9304800000000006, 2.19710303030303, 1.2608000000000001, 0.0, 16.2, 13.8688, 10.98551515151515, 8.791440000000001, 12.702053333333334, 7.467133333333333, 6.172258823529412, 4.166666666666667, 5.993906334210934, 4.865475000000001, 2.707866666666667, 1.3654000000000004, 0.0), # 54
(16.568058120232035, 14.964551897576587, 13.524234110653865, 14.582677469135803, 11.989546228898869, 5.833333333333334, 6.151351569434358, 5.2973251028806585, 6.344958847736625, 2.9201074531321454, 2.1950471796150812, 1.2587867703094042, 0.0, 16.2, 13.846654473403445, 10.975235898075404, 8.760322359396435, 12.68991769547325, 7.416255144032922, 6.151351569434358, 4.166666666666667, 5.994773114449434, 4.860892489711935, 2.704846822130773, 1.360413808870599, 0.0), # 55
(16.572936326802996, 14.909583081847279, 13.509025148605396, 14.56874475308642, 11.991147612665237, 5.833333333333334, 6.130417203259905, 5.261477366255145, 6.338831769547324, 2.9097656332876096, 2.1929534189632958, 1.2567589087029418, 0.0, 16.2, 13.824347995732358, 10.964767094816478, 8.729296899862828, 12.677663539094649, 7.366068312757203, 6.130417203259905, 4.166666666666667, 5.995573806332619, 4.856248251028807, 2.7018050297210796, 1.3554166438042983, 0.0), # 56
(16.577415015015013, 14.85459012345679, 13.493728395061732, 14.554641666666669, 11.99261662393383, 5.833333333333334, 6.109493681917211, 5.226222222222224, 6.332653333333334, 2.899476049382717, 2.1908233445566783, 1.254719341563786, 0.0, 16.2, 13.801912757201645, 10.95411672278339, 8.69842814814815, 12.665306666666668, 7.316711111111113, 6.109493681917211, 4.166666666666667, 5.996308311966915, 4.851547222222224, 2.6987456790123465, 1.3504172839506174, 0.0), # 57
(16.581492911545087, 14.79966959304984, 13.478365797896664, 14.540383024691359, 11.99395306691752, 5.833333333333334, 6.088618962317438, 5.191658436213992, 6.326431440329218, 2.8892602103337914, 2.1886585526042324, 1.2526709952751107, 0.0, 16.2, 13.779380948026215, 10.943292763021162, 8.667780631001373, 12.652862880658436, 7.2683218106995895, 6.088618962317438, 4.166666666666667, 5.99697653345876, 4.846794341563787, 2.695673159579333, 1.3454245084590766, 0.0), # 58
(16.585168743070195, 14.744918061271147, 13.462959304983997, 14.525983641975309, 11.995156745829167, 5.833333333333334, 6.067831001371743, 5.157884773662552, 6.320173991769548, 2.879139625057157, 2.1864606393149604, 1.2506167962200887, 0.0, 16.2, 13.756784758420972, 10.9323031965748, 8.63741887517147, 12.640347983539096, 7.221038683127573, 6.067831001371743, 4.166666666666667, 5.9975783729145835, 4.841994547325104, 2.6925918609968, 1.3404470964791952, 0.0), # 59
(16.588441236267325, 14.690432098765434, 13.44753086419753, 14.511458333333334, 11.996227464881638, 5.833333333333334, 6.0471677559912855, 5.125000000000001, 6.31388888888889, 2.8691358024691365, 2.184231200897868, 1.2485596707818931, 0.0, 16.2, 13.734156378600822, 10.921156004489339, 8.607407407407408, 12.62777777777778, 7.175000000000001, 6.0471677559912855, 4.166666666666667, 5.998113732440819, 4.837152777777779, 2.6895061728395064, 1.3354938271604941, 0.0), # 60
(16.591309117813463, 14.636308276177413, 13.432102423411067, 14.496821913580249, 11.997165028287798, 5.833333333333334, 6.026667183087227, 5.093102880658437, 6.3075840329218105, 2.8592702514860546, 2.1819718335619576, 1.246502545343698, 0.0, 16.2, 13.711527998780674, 10.909859167809786, 8.577810754458163, 12.615168065843621, 7.130344032921811, 6.026667183087227, 4.166666666666667, 5.998582514143899, 4.832273971193417, 2.6864204846822135, 1.3305734796524924, 0.0), # 61
(16.593771114385607, 14.582643164151806, 13.416695930498403, 14.482089197530867, 11.997969240260517, 5.833333333333334, 6.006367239570725, 5.062292181069959, 6.301267325102881, 2.849564481024235, 2.1796841335162327, 1.2444483462886757, 0.0, 16.2, 13.68893180917543, 10.898420667581162, 8.548693443072704, 12.602534650205762, 7.0872090534979435, 6.006367239570725, 4.166666666666667, 5.998984620130258, 4.827363065843623, 2.6833391860996807, 1.3256948331047098, 0.0), # 62
(16.595825952660736, 14.529533333333333, 13.401333333333335, 14.467275000000003, 11.998639905012647, 5.833333333333334, 5.986305882352941, 5.0326666666666675, 6.294946666666666, 2.8400400000000006, 2.1773696969696976, 1.2424000000000002, 0.0, 16.2, 13.6664, 10.886848484848487, 8.52012, 12.589893333333332, 7.045733333333335, 5.986305882352941, 4.166666666666667, 5.999319952506323, 4.822425000000002, 2.6802666666666672, 1.3208666666666669, 0.0), # 63
(16.597472359315837, 14.477075354366713, 13.386036579789668, 14.452394135802471, 11.999176826757065, 5.833333333333334, 5.966521068345034, 5.004325102880659, 6.288629958847737, 2.830718317329676, 2.1750301201313547, 1.2403604328608446, 0.0, 16.2, 13.64396476146929, 10.875150600656774, 8.492154951989026, 12.577259917695473, 7.006055144032923, 5.966521068345034, 4.166666666666667, 5.999588413378532, 4.817464711934158, 2.6772073159579337, 1.316097759487883, 0.0), # 64
(16.5987090610279, 14.425365797896662, 13.370827617741199, 14.437461419753088, 11.999579809706631, 5.833333333333334, 5.947050754458163, 4.977366255144033, 6.282325102880659, 2.8216209419295843, 2.1726669992102097, 1.238332571254382, 0.0, 16.2, 13.6216582837982, 10.863334996051048, 8.464862825788751, 12.564650205761318, 6.968312757201646, 5.947050754458163, 4.166666666666667, 5.999789904853316, 4.812487139917697, 2.67416552354824, 1.3113968907178786, 0.0), # 65
(16.599534784473914, 14.374501234567903, 13.35572839506173, 14.422491666666668, 11.99984865807421, 5.833333333333334, 5.927932897603486, 4.95188888888889, 6.27604, 2.81276938271605, 2.170281930415264, 1.2363193415637863, 0.0, 16.2, 13.599512757201648, 10.851409652076319, 8.438308148148149, 12.55208, 6.932644444444446, 5.927932897603486, 4.166666666666667, 5.999924329037105, 4.807497222222223, 2.6711456790123465, 1.3067728395061733, 0.0), # 66
(16.59994825633087, 14.324578235025148, 13.340760859625059, 14.407499691358025, 11.999983176072671, 5.833333333333334, 5.909205454692165, 4.927991769547327, 6.269782551440329, 2.8041851486053964, 2.1678765099555233, 1.23432367017223, 0.0, 16.2, 13.577560371894528, 10.839382549777614, 8.412555445816189, 12.539565102880658, 6.899188477366257, 5.909205454692165, 4.166666666666667, 5.999991588036336, 4.802499897119342, 2.6681521719250116, 1.3022343850022864, 0.0), # 67
(16.59966658316932, 14.275431337669806, 13.325874599908552, 14.39237008856683, 11.999869818983834, 5.833225077478026, 5.890812155863717, 4.905562566681908, 6.263513519280598, 2.795848176658867, 2.1654095969441007, 1.2323373362532992, 0.0, 16.19980024005487, 13.555710698786289, 10.827047984720503, 8.3875445299766, 12.527027038561195, 6.867787593354672, 5.890812155863717, 4.166589341055733, 5.999934909491917, 4.797456696188944, 2.6651749199817103, 1.29776648524271, 0.0), # 68
(16.597026731078905, 14.22556009557945, 13.310651234567901, 14.376340217391304, 11.998838053740013, 5.832369272976682, 5.872214545077291, 4.8833991769547325, 6.256958847736625, 2.7875225562817723, 2.162630090377459, 1.2302958631145768, 0.0, 16.198217592592595, 13.533254494260342, 10.813150451887294, 8.362567668845315, 12.51391769547325, 6.8367588477366255, 5.872214545077291, 4.165978052126201, 5.999419026870006, 4.792113405797102, 2.66213024691358, 1.2932327359617684, 0.0), # 69
(16.59181726009423, 14.174735607770254, 13.295024577046181, 14.359304549114333, 11.996799268404205, 5.8306838388457045, 5.853328107649096, 4.861301630848957, 6.2500815424477985, 2.7791678097850943, 2.159506369740288, 1.228189701505708, 0.0, 16.195091735253776, 13.510086716562785, 10.797531848701441, 8.337503429355282, 12.500163084895597, 6.80582228318854, 5.853328107649096, 4.164774170604074, 5.998399634202102, 4.786434849704778, 2.6590049154092363, 1.2886123279791142, 0.0), # 70
(16.584111457028687, 14.122988247267578, 13.279000114311843, 14.341288204508857, 11.993779284004411, 5.828196087994717, 5.8341613276311906, 4.8392772443225125, 6.242891845755221, 2.7707841437370564, 2.1560499655423633, 1.226020391628362, 0.0, 16.190463820301783, 13.486224307911982, 10.780249827711817, 8.312352431211167, 12.485783691510441, 6.774988142051518, 5.8341613276311906, 4.162997205710512, 5.9968896420022055, 4.780429401502953, 2.6558000228623686, 1.2839080224788708, 0.0), # 71
(16.573982608695655, 14.070348387096773, 13.262583333333334, 14.322316304347826, 11.989803921568626, 5.824933333333335, 5.81472268907563, 4.817333333333334, 6.2354, 2.762371764705883, 2.1522724082934617, 1.2237894736842108, 0.0, 16.184375, 13.461684210526316, 10.761362041467306, 8.287115294117648, 12.4708, 6.744266666666667, 5.81472268907563, 4.160666666666668, 5.994901960784313, 4.7741054347826095, 2.6525166666666666, 1.2791225806451614, 0.0), # 72
(16.561504001908514, 14.016846400283198, 13.245779721079103, 14.302413969404189, 11.984899002124855, 5.820922887771173, 5.795020676034474, 4.795477213839354, 6.227616247523244, 2.753930879259798, 2.1481852285033574, 1.2214984878749227, 0.0, 16.1768664266118, 13.436483366624147, 10.740926142516786, 8.261792637779392, 12.455232495046488, 6.713668099375096, 5.795020676034474, 4.157802062693695, 5.992449501062428, 4.76747132313473, 2.649155944215821, 1.274258763662109, 0.0), # 73
(16.546748923480646, 13.962512659852205, 13.228594764517604, 14.281606320450884, 11.979090346701094, 5.816192064217854, 5.775063772559778, 4.773716201798507, 6.219550830666057, 2.7454616939670253, 2.143799956681829, 1.219148974402169, 0.0, 16.167979252400553, 13.410638718423858, 10.718999783409142, 8.236385081901075, 12.439101661332113, 6.683202682517909, 5.775063772559778, 4.154422903012753, 5.989545173350547, 4.760535440150296, 2.645718952903521, 1.269319332713837, 0.0), # 74
(16.52979066022544, 13.90737753882915, 13.211033950617283, 14.259918478260868, 11.972403776325345, 5.810768175582992, 5.754860462703601, 4.752057613168724, 6.211213991769547, 2.7369644153957884, 2.13912812333865, 1.2167424734676198, 0.0, 16.157754629629633, 13.384167208143815, 10.695640616693249, 8.210893246187364, 12.422427983539094, 6.652880658436215, 5.754860462703601, 4.150548696844995, 5.986201888162673, 4.7533061594202906, 2.6422067901234567, 1.2643070489844683, 0.0), # 75
(16.510702498956285, 13.851471410239393, 13.193102766346595, 14.237375563607085, 11.964865112025606, 5.804678534776205, 5.734419230517997, 4.730508763907942, 6.2026159731748205, 2.728439250114312, 2.134181258983598, 1.2142805252729445, 0.0, 16.146233710562413, 13.357085778002387, 10.67090629491799, 8.185317750342936, 12.405231946349641, 6.622712269471118, 5.734419230517997, 4.146198953411575, 5.982432556012803, 4.745791854535696, 2.638620553269319, 1.259224673658127, 0.0), # 76
(16.48955772648655, 13.794824647108282, 13.174806698673981, 14.21400269726248, 11.956500174829877, 5.797950454707109, 5.7137485600550235, 4.70907696997409, 6.193767017222985, 2.7198864046908207, 2.1289708941264505, 1.2117646700198144, 0.0, 16.13345764746228, 13.329411370217956, 10.64485447063225, 8.15965921407246, 12.38753403444597, 6.592707757963726, 5.7137485600550235, 4.141393181933649, 5.9782500874149385, 4.738000899087494, 2.6349613397347964, 1.254074967918935, 0.0), # 77
(16.46642962962963, 13.737467622461173, 13.156151234567902, 14.189825, 11.94733478576616, 5.790611248285322, 5.69285693536674, 4.687769547325104, 6.184677366255142, 2.711306085693537, 2.123508559276981, 1.2091964479098987, 0.0, 16.119467592592596, 13.301160927008882, 10.617542796384903, 8.13391825708061, 12.369354732510285, 6.562877366255145, 5.69285693536674, 4.136150891632373, 5.97366739288308, 4.729941666666668, 2.6312302469135807, 1.248860692951016, 0.0), # 78
(16.441391495198904, 13.679430709323423, 13.1371418609968, 14.164867592592593, 11.93739476586245, 5.782688228420464, 5.671752840505201, 4.666593811918916, 6.1753572626124065, 2.702698499690686, 2.117805784944966, 1.2065773991448674, 0.0, 16.104304698216733, 13.27235139059354, 10.58902892472483, 8.108095499072057, 12.350714525224813, 6.533231336686482, 5.671752840505201, 4.130491591728903, 5.968697382931225, 4.721622530864199, 2.6274283721993603, 1.243584609938493, 0.0), # 79
(16.414516610007755, 13.620744280720386, 13.117784064929126, 14.139155595813204, 11.92670593614675, 5.774208708022151, 5.650444759522465, 4.645557079713459, 6.165816948635879, 2.694063853250491, 2.111874101640184, 1.2039090639263914, 0.0, 16.08801011659808, 13.242999703190304, 10.559370508200919, 8.082191559751472, 12.331633897271757, 6.503779911598843, 5.650444759522465, 4.1244347914443935, 5.963352968073375, 4.713051865271069, 2.6235568129858255, 1.23824948006549, 0.0), # 80
(16.385878260869568, 13.56143870967742, 13.098083333333335, 14.112714130434785, 11.915294117647058, 5.765200000000001, 5.628941176470589, 4.624666666666667, 6.156066666666666, 2.685402352941177, 2.1057250398724086, 1.2011929824561405, 0.0, 16.070625, 13.213122807017545, 10.528625199362043, 8.05620705882353, 12.312133333333332, 6.474533333333334, 5.628941176470589, 4.118, 5.957647058823529, 4.704238043478263, 2.619616666666667, 1.2328580645161293, 0.0), # 81
(16.355549734597723, 13.501544369219879, 13.078045153177872, 14.085568317230274, 11.903185131391377, 5.75568941726363, 5.607250575401629, 4.603929888736474, 6.146116659045877, 2.676714205330967, 2.099370130151417, 1.198430694935785, 0.0, 16.052190500685874, 13.182737644293633, 10.496850650757084, 8.030142615992899, 12.292233318091753, 6.445501844231063, 5.607250575401629, 4.111206726616879, 5.951592565695688, 4.695189439076759, 2.6156090306355746, 1.2274131244745345, 0.0), # 82
(16.323604318005607, 13.441091632373114, 13.057675011431185, 14.057743276972625, 11.890404798407703, 5.745704272722655, 5.585381440367643, 4.5833540618808115, 6.135977168114616, 2.667999616988085, 2.0928209029869853, 1.195623741566995, 0.0, 16.03274777091907, 13.151861157236944, 10.464104514934926, 8.003998850964255, 12.271954336229232, 6.416695686633136, 5.585381440367643, 4.104074480516182, 5.945202399203851, 4.6859144256575425, 2.6115350022862374, 1.2219174211248287, 0.0), # 83
(16.290115297906603, 13.380110872162485, 13.036978395061729, 14.029264130434784, 11.876978939724037, 5.735271879286694, 5.563342255420687, 4.562946502057613, 6.125658436213991, 2.659258794480756, 2.0860888888888893, 1.1927736625514405, 0.0, 16.012337962962963, 13.120510288065844, 10.430444444444445, 7.977776383442267, 12.251316872427982, 6.388125102880658, 5.563342255420687, 4.096622770919067, 5.938489469862018, 4.676421376811596, 2.607395679012346, 1.2163737156511352, 0.0), # 84
(16.255155961114095, 13.318632461613346, 13.015960791037951, 14.000155998389694, 11.862933376368382, 5.724419549865368, 5.54114150461282, 4.542714525224815, 6.115170705685108, 2.650491944377203, 2.0791856183669055, 1.1898819980907918, 0.0, 15.991002229080934, 13.088701978998708, 10.395928091834525, 7.951475833131607, 12.230341411370215, 6.35980033531474, 5.54114150461282, 4.088871107046691, 5.931466688184191, 4.666718666129899, 2.6031921582075905, 1.210784769237577, 0.0), # 85
(16.21879959444146, 13.256686773751051, 12.994627686328306, 13.970444001610309, 11.84829392936873, 5.713174597368289, 5.518787671996097, 4.522665447340345, 6.104524218869075, 2.64169927324565, 2.0721226219308098, 1.1869502883867193, 0.0, 15.968781721536352, 13.05645317225391, 10.360613109654047, 7.9250978197369495, 12.20904843773815, 6.331731626276483, 5.518787671996097, 4.080838998120206, 5.924146964684365, 4.656814667203437, 2.5989255372656612, 1.2051533430682777, 0.0), # 86
(16.18111948470209, 13.194304181600955, 12.972984567901234, 13.940153260869565, 11.833086419753089, 5.7015643347050755, 5.496289241622575, 4.5028065843621405, 6.093729218106997, 2.6328809876543215, 2.0649114300903775, 1.1839800736408925, 0.0, 15.945717592592594, 13.023780810049816, 10.324557150451888, 7.898642962962963, 12.187458436213994, 6.303929218106997, 5.496289241622575, 4.072545953360768, 5.9165432098765445, 4.646717753623189, 2.594596913580247, 1.1994821983273598, 0.0), # 87
(16.142188918709373, 13.131515058188414, 12.951036922725194, 13.90930889694042, 11.817336668549451, 5.689616074785349, 5.473654697544313, 4.483145252248133, 6.082795945739979, 2.624037294171441, 2.0575635733553868, 1.1809728940549822, 0.0, 15.921850994513035, 12.990701834604803, 10.287817866776932, 7.8721118825143215, 12.165591891479957, 6.276403353147386, 5.473654697544313, 4.064011481989534, 5.908668334274726, 4.636436298980141, 2.5902073845450393, 1.193774096198947, 0.0), # 88
(16.102081183276677, 13.068349776538785, 12.928790237768634, 13.877936030595814, 11.80107049678582, 5.677357130518723, 5.4508925238133665, 4.463688766956257, 6.07173464410913, 2.6151683993652335, 2.050090582235612, 1.1779302898306583, 0.0, 15.897223079561043, 12.957233188137238, 10.250452911178058, 7.845505198095699, 12.14346928821826, 6.24916427373876, 5.4508925238133665, 4.055255093227659, 5.90053524839291, 4.625978676865272, 2.585758047553727, 1.1880317978671624, 0.0), # 89
(16.06086956521739, 13.004838709677419, 12.906250000000002, 13.846059782608698, 11.784313725490197, 5.664814814814815, 5.428011204481793, 4.444444444444445, 6.060555555555556, 2.606274509803922, 2.04250398724083, 1.1748538011695908, 0.0, 15.871875000000001, 12.923391812865496, 10.212519936204147, 7.818823529411765, 12.121111111111112, 6.222222222222222, 5.428011204481793, 4.046296296296297, 5.892156862745098, 4.615353260869567, 2.5812500000000003, 1.1822580645161291, 0.0), # 90
(16.0186273513449, 12.941012230629672, 12.883421696387746, 13.813705273752014, 11.767092175690575, 5.652016440583244, 5.405019223601649, 4.4254196006706294, 6.049268922420364, 2.597355832055731, 2.0348153188808165, 1.17174496827345, 0.0, 15.845847908093276, 12.889194651007948, 10.174076594404081, 7.792067496167191, 12.098537844840727, 6.195587440938882, 5.405019223601649, 4.037154600416603, 5.883546087845287, 4.604568424584006, 2.5766843392775494, 1.1764556573299705, 0.0), # 91
(15.975427828472597, 12.876900712420905, 12.86031081390032, 13.780897624798712, 11.749431668414964, 5.638989320733629, 5.381925065224994, 4.406621551592746, 6.037884987044658, 2.5884125726888843, 2.027036107665348, 1.1686053313439067, 0.0, 15.819182956104251, 12.85465864478297, 10.135180538326738, 7.765237718066651, 12.075769974089315, 6.169270172229845, 5.381925065224994, 4.027849514809735, 5.874715834207482, 4.593632541599572, 2.5720621627800644, 1.1706273374928098, 0.0), # 92
(15.931344283413848, 12.812534528076466, 12.836922839506174, 13.747661956521743, 11.731358024691357, 5.625760768175583, 5.358737213403881, 4.388057613168725, 6.026413991769548, 2.5794449382716054, 2.0191778841042, 1.1654364305826295, 0.0, 15.791921296296294, 12.819800736408922, 10.095889420521, 7.738334814814815, 12.052827983539096, 6.143280658436215, 5.358737213403881, 4.018400548696845, 5.865679012345678, 4.582553985507248, 2.567384567901235, 1.1647758661887697, 0.0), # 93
(15.886450002982048, 12.74794405062171, 12.813263260173755, 13.714023389694043, 11.712897065547754, 5.612358095818728, 5.335464152190369, 4.369735101356501, 6.014866178936138, 2.5704531353721194, 2.01125217870715, 1.16223980619129, 0.0, 15.764104080932785, 12.784637868104188, 10.056260893535747, 7.711359406116356, 12.029732357872277, 6.117629141899102, 5.335464152190369, 4.008827211299091, 5.856448532773877, 4.571341129898015, 2.5626526520347515, 1.1589040046019738, 0.0), # 94
(15.840818273990577, 12.683159653081995, 12.789337562871514, 13.680007045088567, 11.694074612012159, 5.598808616572678, 5.312114365636515, 4.351661332114007, 6.003251790885536, 2.561437370558649, 2.0032705219839726, 1.1590169983715575, 0.0, 15.735772462277092, 12.749186982087132, 10.016352609919863, 7.684312111675945, 12.006503581771073, 6.09232586495961, 5.312114365636515, 3.999149011837627, 5.847037306006079, 4.560002348362857, 2.5578675125743033, 1.1530145139165453, 0.0), # 95
(15.79452238325282, 12.61821170848268, 12.765151234567902, 13.645638043478261, 11.674916485112563, 5.585139643347051, 5.288696337794377, 4.333843621399177, 5.991581069958848, 2.55239785039942, 1.9952444444444448, 1.1557695473251033, 0.0, 15.706967592592594, 12.713465020576134, 9.976222222222225, 7.657193551198258, 11.983162139917695, 6.067381069958849, 5.288696337794377, 3.9893854595336076, 5.8374582425562815, 4.5485460144927545, 2.553030246913581, 1.1471101553166074, 0.0), # 96
(15.747635617582157, 12.553130589849111, 12.740709762231369, 13.61094150563607, 11.655448505876976, 5.571378489051465, 5.265218552716011, 4.316289285169945, 5.979864258497181, 2.5433347814626543, 1.9871854765983423, 1.152498993253596, 0.0, 15.677730624142663, 12.677488925789556, 9.93592738299171, 7.630004344387961, 11.959728516994362, 6.042804999237923, 5.265218552716011, 3.9795560636081895, 5.827724252938488, 4.536980501878691, 2.5481419524462736, 1.141193689986283, 0.0), # 97
(15.700231263791975, 12.487946670206647, 12.71601863283036, 13.575942552334945, 11.635696495333388, 5.557552466595541, 5.241689494453475, 4.299005639384241, 5.968111598841639, 2.5342483703165772, 1.9791051489554419, 1.1492068763587067, 0.0, 15.648102709190674, 12.64127563994577, 9.89552574477721, 7.60274511094973, 11.936223197683278, 6.018607895137937, 5.241689494453475, 3.969680333282529, 5.817848247666694, 4.525314184111649, 2.5432037265660723, 1.1352678791096953, 0.0), # 98
(15.652382608695653, 12.422690322580646, 12.691083333333335, 13.540666304347827, 11.615686274509805, 5.543688888888889, 5.218117647058825, 4.282000000000001, 5.956333333333333, 2.5251388235294123, 1.9710149920255189, 1.1458947368421055, 0.0, 15.618125000000001, 12.604842105263158, 9.855074960127594, 7.575416470588236, 11.912666666666667, 5.9948000000000015, 5.218117647058825, 3.9597777777777776, 5.807843137254903, 4.51355543478261, 2.5382166666666675, 1.129335483870968, 0.0), # 99
(15.60416293910658, 12.357391919996457, 12.665909350708734, 13.505137882447666, 11.595443664434223, 5.529815068841132, 5.194511494584116, 4.265279682975157, 5.944539704313367, 2.516006347669384, 1.9629265363183495, 1.1425641149054624, 0.0, 15.58783864883402, 12.568205263960085, 9.814632681591746, 7.54801904300815, 11.889079408626735, 5.97139155616522, 5.194511494584116, 3.9498679063150943, 5.797721832217111, 4.501712627482556, 2.533181870141747, 1.1233992654542237, 0.0), # 100
(15.555645541838135, 12.292081835479447, 12.640502171925013, 13.469382407407409, 11.574994486134646, 5.515958319361886, 5.17087952108141, 4.248852004267642, 5.932740954122847, 2.506851149304716, 1.9548513123437101, 1.1392165507504473, 0.0, 15.557284807956103, 12.531382058254918, 9.77425656171855, 7.520553447914146, 11.865481908245695, 5.948392805974699, 5.17087952108141, 3.9399702281156324, 5.787497243067323, 4.48979413580247, 2.528100434385003, 1.1174619850435863, 0.0), # 101
(15.506903703703706, 12.22679044205496, 12.614867283950618, 13.433425000000002, 11.554364560639069, 5.5021459533607695, 5.1472302106027605, 4.2327242798353915, 5.920947325102881, 2.497673435003632, 1.9468008506113774, 1.135853584578731, 0.0, 15.526504629629631, 12.49438943036604, 9.734004253056886, 7.493020305010894, 11.841894650205761, 5.925813991769548, 5.1472302106027605, 3.93010425240055, 5.7771822803195345, 4.477808333333335, 2.522973456790124, 1.1115264038231782, 0.0), # 102
(15.458010711516671, 12.161548112748353, 12.589010173754001, 13.397290780998391, 11.533579708975497, 5.488405283747397, 5.123572047200224, 4.2169038256363365, 5.909169059594573, 2.4884734113343563, 1.9387866816311266, 1.132476756591983, 0.0, 15.495539266117968, 12.457244322511812, 9.693933408155633, 7.4654202340030675, 11.818338119189146, 5.903665355890872, 5.123572047200224, 3.920289488390998, 5.766789854487748, 4.465763593666131, 2.5178020347508006, 1.1055952829771232, 0.0), # 103
(15.409039852090416, 12.096385220584981, 12.562936328303612, 13.361004871175524, 11.512665752171923, 5.474763623431389, 5.099913514925861, 4.201397957628411, 5.897416399939034, 2.479251284865113, 1.9308203359127338, 1.129087606991874, 0.0, 15.464429869684501, 12.419963676910612, 9.654101679563668, 7.437753854595337, 11.794832799878067, 5.881957140679775, 5.099913514925861, 3.9105454453081343, 5.756332876085962, 4.4536682903918425, 2.5125872656607227, 1.099671383689544, 0.0), # 104
(15.360064412238325, 12.031332138590201, 12.536651234567902, 13.324592391304346, 11.491648511256354, 5.461248285322361, 5.076263097831727, 4.186213991769549, 5.885699588477366, 2.470007262164126, 1.922913343965976, 1.125687675980074, 0.0, 15.433217592592593, 12.382564435780811, 9.61456671982988, 7.410021786492376, 11.771399176954732, 5.860699588477368, 5.076263097831727, 3.9008916323731144, 5.745824255628177, 4.44153079710145, 2.5073302469135803, 1.093757467144564, 0.0), # 105
(15.311157678773782, 11.96641923978937, 12.510160379515318, 13.28807846215781, 11.470553807256785, 5.44788658232993, 5.052629279969876, 4.1713592440176805, 5.8740288675506775, 2.4607415497996183, 1.9150772363006283, 1.1222785037582528, 0.0, 15.401943587105624, 12.345063541340778, 9.575386181503141, 7.382224649398854, 11.748057735101355, 5.839902941624753, 5.052629279969876, 3.8913475588070923, 5.735276903628392, 4.429359487385938, 2.5020320759030636, 1.0878562945263066, 0.0), # 106
(15.26239293851017, 11.901676897207842, 12.483469250114315, 13.251488204508856, 11.449407461201215, 5.434705827363715, 5.0290205453923695, 4.156841030330743, 5.862414479500076, 2.451454354339816, 1.9073235434264675, 1.1188616305280807, 0.0, 15.370649005486968, 12.307477935808887, 9.536617717132337, 7.354363063019447, 11.724828959000153, 5.819577442463041, 5.0290205453923695, 3.8819327338312255, 5.724703730600607, 4.417162734836286, 2.496693850022863, 1.081970627018895, 0.0), # 107
(15.21384347826087, 11.83713548387097, 12.456583333333336, 13.214846739130437, 11.428235294117645, 5.421733333333335, 5.0054453781512604, 4.142666666666667, 5.850866666666667, 2.442145882352942, 1.8996637958532698, 1.1154385964912283, 0.0, 15.339375000000002, 12.26982456140351, 9.498318979266347, 7.326437647058825, 11.701733333333333, 5.799733333333334, 5.0054453781512604, 3.8726666666666674, 5.714117647058822, 4.40494891304348, 2.4913166666666675, 1.076103225806452, 0.0), # 108
(15.16558258483927, 11.772825372804107, 12.429508116140834, 13.17817918679549, 11.40706312703408, 5.408996413148403, 4.98191226229861, 4.128843468983388, 5.839395671391555, 2.4328163404072196, 1.8921095240908108, 1.112010941849365, 0.0, 15.308162722908094, 12.232120360343014, 9.460547620454054, 7.298449021221657, 11.67879134278311, 5.780380856576743, 4.98191226229861, 3.8635688665345733, 5.70353156351704, 4.392726395598498, 2.485901623228167, 1.0702568520731008, 0.0), # 109
(15.117683545058746, 11.708776937032614, 12.402249085505263, 13.141510668276972, 11.385916780978512, 5.396522379718539, 4.9584296818864715, 4.1153787532388355, 5.828011736015851, 2.423465935070874, 1.8846722586488671, 1.108580206804162, 0.0, 15.277053326474624, 12.194382274845779, 9.423361293244335, 7.27039780521262, 11.656023472031702, 5.76153025453437, 4.9584296818864715, 3.8546588426560997, 5.692958390489256, 4.380503556092325, 2.4804498171010527, 1.0644342670029652, 0.0), # 110
(15.07021964573269, 11.64502054958184, 12.374811728395064, 13.104866304347826, 11.36482207697894, 5.384338545953361, 4.935006120966905, 4.102279835390947, 5.816725102880659, 2.4140948729121283, 1.8773635300372145, 1.1051479315572885, 0.0, 15.246087962962964, 12.156627247130173, 9.386817650186073, 7.242284618736384, 11.633450205761317, 5.743191769547326, 4.935006120966905, 3.845956104252401, 5.68241103848947, 4.368288768115943, 2.474962345679013, 1.0586382317801675, 0.0), # 111
(15.02326417367448, 11.581586583477144, 12.347201531778696, 13.068271215781, 11.34380483606337, 5.372472224762486, 4.911650063591967, 4.089554031397653, 5.805546014327083, 2.404703360499207, 1.8701948687656293, 1.101715656310415, 0.0, 15.215307784636488, 12.118872219414563, 9.350974343828147, 7.214110081497619, 11.611092028654166, 5.725375643956714, 4.911650063591967, 3.837480160544633, 5.671902418031685, 4.356090405260334, 2.469440306355739, 1.0528715075888313, 0.0), # 112
(14.976806757924871, 11.51861130755273, 12.319490437669426, 13.031800658990448, 11.322854058851952, 5.3609451179335466, 4.888420770925416, 4.077235045853738, 5.794513499337931, 2.3953218946450923, 1.8631797083074313, 1.098292391533924, 0.0, 15.184710241349155, 12.081216306873161, 9.315898541537155, 7.185965683935276, 11.589026998675863, 5.708129064195233, 4.888420770925416, 3.829246512809676, 5.661427029425976, 4.343933552996817, 2.4638980875338854, 1.0471464825047938, 0.0), # 113
(14.930369436640104, 11.456715869170786, 12.292060900028826, 12.995747305532802, 11.301752911537415, 5.349730967961242, 4.865614566728464, 4.065474173003413, 5.783796819046966, 2.3861260671651134, 1.8563318232301862, 1.094921622948397, 0.0, 15.154040662656056, 12.044137852432362, 9.28165911615093, 7.1583782014953385, 11.567593638093932, 5.691663842204779, 4.865614566728464, 3.821236405686601, 5.6508764557687075, 4.331915768510935, 2.4584121800057654, 1.0415196244700715, 0.0), # 114
(14.883815844806392, 11.395922558068468, 12.264929243609757, 12.960101406218136, 11.280434856414509, 5.338800611665514, 4.84324772015325, 4.054268436185806, 5.773399988623354, 2.3771301311952313, 1.8496412030472253, 1.091605011007847, 0.0, 15.123210610656603, 12.007655121086316, 9.248206015236125, 7.131390393585693, 11.546799977246708, 5.675975810660129, 4.84324772015325, 3.8134290083325095, 5.640217428207254, 4.320033802072713, 2.452985848721952, 1.0359929598244064, 0.0), # 115
(14.837087797180216, 11.336142812561162, 12.238042919978499, 12.924799380319683, 11.25886776147603, 5.328128285467958, 4.821283854022315, 4.043586875265996, 5.763296714254843, 2.3683173433798195, 1.8430949150057288, 1.0883364263316462, 0.0, 15.092171615609425, 11.971700689648106, 9.215474575028642, 7.104952030139457, 11.526593428509686, 5.661021625372395, 4.821283854022315, 3.8058059181913984, 5.629433880738015, 4.308266460106562, 2.4476085839957, 1.0305584375055605, 0.0), # 116
(14.790127108518035, 11.277288070964257, 12.211349380701316, 12.88977764711069, 11.237019494714783, 5.317688225790165, 4.799686591158202, 4.033398530109057, 5.753460702129175, 2.359670960363252, 1.8366800263528757, 1.085109739539167, 0.0, 15.06087520777316, 11.936207134930834, 9.183400131764378, 7.079012881089755, 11.50692140425835, 5.6467579421526795, 4.799686591158202, 3.7983487327072605, 5.6185097473573915, 4.296592549036898, 2.4422698761402635, 1.0252080064512963, 0.0), # 117
(14.742875593576338, 11.21926977159314, 12.18479607734449, 12.854972625864399, 11.214857924123566, 5.3074546690537305, 4.7784195543834524, 4.023672440580065, 5.743865658434098, 2.351174238789904, 1.8303836043358468, 1.0819188212497801, 0.0, 15.02927291740644, 11.901107033747579, 9.151918021679233, 7.053522716369711, 11.487731316868196, 5.633141416812091, 4.7784195543834524, 3.791039049324093, 5.607428962061783, 4.284990875288134, 2.436959215468898, 1.0199336155993766, 0.0), # 118
(14.695275067111588, 11.161999352763203, 12.158330461474298, 12.820320735854047, 11.192350917695169, 5.297401851680244, 4.757446366520605, 4.014377646544097, 5.734485289357356, 2.3428104353041492, 1.824192716201821, 1.0787575420828581, 0.0, 14.997316274767892, 11.866332962911438, 9.120963581009105, 7.028431305912447, 11.468970578714712, 5.620128705161736, 4.757446366520605, 3.7838584654858884, 5.5961754588475845, 4.273440245284683, 2.43166609229486, 1.014727213887564, 0.0), # 119
(14.647267343880259, 11.105388252789831, 12.131899984657018, 12.785758396352872, 11.169466343422396, 5.287504010091301, 4.736730650392203, 4.005483187866229, 5.7252933010866975, 2.3345628065503625, 1.818094429197978, 1.0756197726577732, 0.0, 14.964956810116156, 11.831817499235502, 9.090472145989889, 7.003688419651086, 11.450586602173395, 5.60767646301272, 4.736730650392203, 3.7767885786366437, 5.584733171711198, 4.2619194654509585, 2.4263799969314035, 1.0095807502536214, 0.0), # 120
(14.59879423863883, 11.049347909988416, 12.105452098458917, 12.751222026634121, 11.146172069298046, 5.277735380708496, 4.716236028820784, 3.9969581044115383, 5.716263399809866, 2.326414609172919, 1.812075810571498, 1.0724993835938965, 0.0, 14.932146053709857, 11.797493219532859, 9.060379052857488, 6.979243827518756, 11.432526799619732, 5.595741346176154, 4.716236028820784, 3.769810986220354, 5.573086034649023, 4.250407342211375, 2.4210904196917835, 1.0044861736353108, 0.0), # 121
(14.549797566143766, 10.993789762674343, 12.078934254446281, 12.716648045971027, 11.122435963314915, 5.268070199953418, 4.695926124628894, 3.9887714360450994, 5.707369291714607, 2.3183490998161913, 1.8061239275695606, 1.0693902455106004, 0.0, 14.898835535807633, 11.763292700616601, 9.030619637847803, 6.955047299448573, 11.414738583429214, 5.584280010463139, 4.695926124628894, 3.762907285681013, 5.561217981657458, 4.238882681990344, 2.4157868508892566, 0.9994354329703949, 0.0), # 122
(14.50021914115155, 10.938625249163001, 12.052293904185383, 12.681972873636834, 11.098225893465804, 5.258482704247664, 4.675764560639071, 3.9808922226319887, 5.698584682988669, 2.3103495351245553, 1.8002258474393456, 1.0662862290272563, 0.0, 14.864976786668116, 11.729148519299818, 9.001129237196727, 6.931048605373665, 11.397169365977337, 5.573249111684785, 4.675764560639071, 3.7560590744626166, 5.549112946732902, 4.227324291212279, 2.4104587808370765, 0.9944204771966367, 0.0), # 123
(14.450000778418648, 10.883765807769782, 12.025478499242494, 12.647132928904785, 11.073509727743506, 5.248947130012824, 4.655714959673856, 3.9732895040372846, 5.689883279819794, 2.302399171742385, 1.794368637428032, 1.063181204763237, 0.0, 14.830521336549939, 11.694993252395603, 8.971843187140161, 6.907197515227153, 11.379766559639588, 5.562605305652198, 4.655714959673856, 3.74924795000916, 5.536754863871753, 4.215710976301596, 2.405095699848499, 0.9894332552517985, 0.0), # 124
(14.399084292701534, 10.82912287681007, 11.9984354911839, 12.612064631048113, 11.048255334140823, 5.239437713670492, 4.635740944555791, 3.965932320126061, 5.68123878839573, 2.294481266314054, 1.7885393647828007, 1.0600690433379134, 0.0, 14.795420715711726, 11.660759476717045, 8.942696823914003, 6.883443798942161, 11.36247757679146, 5.552305248176485, 4.635740944555791, 3.7424555097646373, 5.524127667070411, 4.204021543682705, 2.39968709823678, 0.9844657160736429, 0.0), # 125
(14.347411498756685, 10.774607894599258, 11.971112331575865, 12.576704399340066, 11.022430580650552, 5.229928691642264, 4.615806138107416, 3.958789710763395, 5.6726249149042225, 2.2865790754839375, 1.7827250967508306, 1.0569436153706582, 0.0, 14.759626454412127, 11.626379769077237, 8.913625483754151, 6.859737226451811, 11.345249829808445, 5.542305595068753, 4.615806138107416, 3.735663351173045, 5.511215290325276, 4.192234799780023, 2.394222466315173, 0.9795098085999328, 0.0), # 126
(14.294924211340579, 10.720132299452729, 11.943456471984673, 12.54098865305388, 10.996003335265492, 5.220394300349728, 4.595874163151275, 3.951830715814364, 5.664015365533016, 2.27867585589641, 1.7769129005793014, 1.0537987914808424, 0.0, 14.723090082909758, 11.591786706289264, 8.884564502896506, 6.836027567689229, 11.328030731066033, 5.53256300214011, 4.595874163151275, 3.728853071678377, 5.498001667632746, 4.1803295510179606, 2.388691294396935, 0.97455748176843, 0.0), # 127
(14.241564245209673, 10.665607529685879, 11.915415363976601, 12.504853811462798, 10.968941465978443, 5.210808776214481, 4.575908642509906, 3.9450243751440417, 5.655383846469858, 2.2707548641958457, 1.7710898435153934, 1.0506284422878387, 0.0, 14.68576313146326, 11.556912865166222, 8.855449217576966, 6.812264592587535, 11.310767692939717, 5.523034125201659, 4.575908642509906, 3.722006268724629, 5.484470732989221, 4.168284603820934, 2.3830830727953205, 0.9696006845168982, 0.0), # 128
(14.187273415120451, 10.610945023614088, 11.886936459117921, 12.468236293840059, 10.9412128407822, 5.201146355658116, 4.555873199005851, 3.938339728617507, 5.646704063902494, 2.2627993570266187, 1.765242992806286, 1.0474264384110183, 0.0, 14.647597130331262, 11.5216908225212, 8.82621496403143, 6.788398071079855, 11.293408127804987, 5.51367562006451, 4.555873199005851, 3.7151045397557967, 5.4706064203911, 4.156078764613354, 2.377387291823584, 0.9646313657830989, 0.0), # 129
(14.131993535829388, 10.556056219552751, 11.857967208974907, 12.431072519458905, 10.91278532766956, 5.191381275102222, 4.53573145546165, 3.9317458160998338, 5.637949724018666, 2.2547925910331035, 1.7593594156991588, 1.044186650469754, 0.0, 14.608543609772397, 11.48605315516729, 8.796797078495793, 6.764377773099309, 11.275899448037332, 5.504444142539767, 4.53573145546165, 3.7081294822158726, 5.45639266383478, 4.1436908398196355, 2.3715934417949813, 0.9596414745047956, 0.0), # 130
(14.07566642209295, 10.500852555817252, 11.828455065113841, 12.393298907592571, 10.883626794633326, 5.181487770968396, 4.515447034699847, 3.9252116774560997, 5.629094533006126, 2.2467178228596745, 1.7534261794411918, 1.0409029490834167, 0.0, 14.568554100045299, 11.449932439917582, 8.767130897205957, 6.740153468579022, 11.258189066012251, 5.49529634843854, 4.515447034699847, 3.701062693548854, 5.441813397316663, 4.131099635864191, 2.3656910130227686, 0.9546229596197504, 0.0), # 131
(14.018233888667616, 10.445245470722984, 11.798347479100995, 12.354851877514303, 10.853705109666297, 5.171440079678229, 4.49498355954298, 3.918706352551382, 5.620112197052615, 2.238558309150706, 1.7474303512795641, 1.0375692048713792, 0.0, 14.527580131408602, 11.413261253585167, 8.73715175639782, 6.715674927452117, 11.24022439410523, 5.486188893571935, 4.49498355954298, 3.693885771198735, 5.4268525548331485, 4.1182839591714355, 2.3596694958201994, 0.949567770065726, 0.0), # 132
(13.959637750309861, 10.38914640258533, 11.767591902502646, 12.315667848497343, 10.822988140761264, 5.161212437653315, 4.474304652813592, 3.9121988812507547, 5.61097642234588, 2.2302973065505736, 1.7413589984614566, 1.0341792884530125, 0.0, 14.485573234120938, 11.375972172983136, 8.706794992307282, 6.690891919651719, 11.22195284469176, 5.477078433751057, 4.474304652813592, 3.686580312609511, 5.411494070380632, 4.105222616165782, 2.3535183805005295, 0.9444678547804848, 0.0), # 133
(13.899819821776152, 10.332466789719687, 11.736135786885072, 12.275683239814924, 10.791443755911033, 5.150779081315248, 4.453373937334223, 3.9056583034192958, 5.601660915073669, 2.2219180717036497, 1.7351991882340478, 1.030727070447689, 0.0, 14.442484938440934, 11.337997774924577, 8.675995941170239, 6.6657542151109475, 11.203321830147338, 5.467921624787015, 4.453373937334223, 3.6791279152251772, 5.395721877955516, 4.091894413271643, 2.3472271573770147, 0.9393151627017899, 0.0), # 134
(13.838721917822966, 10.275118070441435, 11.703926583814546, 12.234834470740296, 10.759039823108395, 5.14011424708562, 4.432155035927415, 3.8990536589220803, 5.592139381423722, 2.213403861254311, 1.7289379878445184, 1.0272064214747805, 0.0, 14.398266774627231, 11.299270636222584, 8.64468993922259, 6.640211583762932, 11.184278762847445, 5.458675122490913, 4.432155035927415, 3.671510176489728, 5.379519911554198, 4.0782781569134325, 2.340785316762909, 0.9341016427674034, 0.0), # 135
(13.776285853206776, 10.217011683065968, 11.670911744857346, 12.193057960546685, 10.725744210346152, 5.129192171386024, 4.410611571415708, 3.892353987624185, 5.5823855275837895, 2.2047379318469296, 1.7225624645400475, 1.0236112121536591, 0.0, 14.352870272938459, 11.259723333690248, 8.612812322700236, 6.614213795540787, 11.164771055167579, 5.44929558267386, 4.410611571415708, 3.6637086938471604, 5.362872105173076, 4.064352653515563, 2.3341823489714693, 0.9288192439150881, 0.0), # 136
(13.712453442684055, 10.15805906590867, 11.63703872157975, 12.15029012850735, 10.691524785617101, 5.117987090638052, 4.388707166621645, 3.885528329390686, 5.572373059741617, 2.1959035401258813, 1.716059685567815, 1.0199353131036961, 0.0, 14.306246963633242, 11.219288444140656, 8.580298427839075, 6.587710620377642, 11.144746119483234, 5.439739661146961, 4.388707166621645, 3.6557050647414657, 5.345762392808551, 4.050096709502451, 2.3274077443159498, 0.9234599150826065, 0.0), # 137
(13.647166501011277, 10.098171657284933, 11.602254965548024, 12.106467393895517, 10.656349416914047, 5.106473241263299, 4.366405444367763, 3.8785457240866603, 5.56207568408495, 2.1868839427355393, 1.7094167181750008, 1.016172594944264, 0.0, 14.258348376970226, 11.1778985443869, 8.547083590875005, 6.560651828206616, 11.1241513681699, 5.4299640137213245, 4.366405444367763, 3.6474808866166426, 5.3281747084570235, 4.035489131298506, 2.320450993109605, 0.9180156052077213, 0.0), # 138
(13.58036684294491, 10.037260895510144, 11.566507928328454, 12.061526175984431, 10.620185972229777, 5.094624859683358, 4.343670027476608, 3.8713752115771833, 5.551467106801532, 2.1776623963202795, 1.7026206296087845, 1.0123169282947344, 0.0, 14.20912604320803, 11.135486211242075, 8.513103148043921, 6.532987188960837, 11.102934213603064, 5.419925296208056, 4.343670027476608, 3.6390177569166844, 5.3100929861148884, 4.020508725328145, 2.313301585665691, 0.912478263228195, 0.0), # 139
(13.511996283241437, 9.97523821889969, 11.529745061487317, 12.015402894047334, 10.583002319557098, 5.082416182319821, 4.320464538770717, 3.863985831727331, 5.54052103407911, 2.168222157524475, 1.6956584871163454, 1.008362183774479, 0.0, 14.158531492605304, 11.091984021519266, 8.478292435581725, 6.504666472573423, 11.08104206815822, 5.409580164418264, 4.320464538770717, 3.6302972730855863, 5.291501159778549, 4.005134298015779, 2.3059490122974635, 0.9068398380817901, 0.0), # 140
(13.44199663665733, 9.912015065768964, 11.491913816590882, 11.968033967357464, 10.544766326888803, 5.069821445594281, 4.296752601072636, 3.8563466244021805, 5.529211172105429, 2.158546482992501, 1.688517357944864, 1.00430223200287, 0.0, 14.106516255420662, 11.047324552031569, 8.442586789724318, 6.4756394489775015, 11.058422344210857, 5.398885274163053, 4.296752601072636, 3.6213010325673434, 5.272383163444402, 3.989344655785822, 2.2983827633181764, 0.9010922787062696, 0.0), # 141
(13.37030971794905, 9.84750287443335, 11.452961645205429, 11.919355815188066, 10.505445862217693, 5.056814885928333, 4.272497837204901, 3.848426629466808, 5.517511227068235, 2.1486186293687317, 1.6811843093415195, 1.0001309435992793, 0.0, 14.053031861912746, 11.001440379592072, 8.405921546707596, 6.445855888106194, 11.03502245413647, 5.3877972812535315, 4.272497837204901, 3.612010632805952, 5.252722931108846, 3.973118605062689, 2.2905923290410857, 0.8952275340393956, 0.0), # 142
(13.29687734187308, 9.781613083208239, 11.412835998897235, 11.86930485681237, 10.465008793536564, 5.043370739743566, 4.247663869990055, 3.840194886786288, 5.505394905155279, 2.1384218532975416, 1.6736464085534917, 0.9958421891830788, 0.0, 13.998029842340188, 10.954264081013864, 8.368232042767458, 6.415265559892624, 11.010789810310557, 5.376272841500803, 4.247663869990055, 3.6024076712454045, 5.232504396768282, 3.956434952270791, 2.282567199779447, 0.8892375530189309, 0.0), # 143
(13.221641323185896, 9.714257130409019, 11.37148432923257, 11.817817511503629, 10.423422988838217, 5.029463243461577, 4.222214322250639, 3.8316204362256996, 5.492835912554298, 2.1279394114233043, 1.6658907228279605, 0.99142983937364, 0.0, 13.941461726961624, 10.905728233110038, 8.329453614139801, 6.383818234269912, 10.985671825108597, 5.364268610715979, 4.222214322250639, 3.592473745329698, 5.2117114944191085, 3.9392725038345437, 2.2742968658465146, 0.8831142845826383, 0.0), # 144
(13.144543476643964, 9.64534645435108, 11.328854087777719, 11.764830198535075, 10.380656316115449, 5.015066633503958, 4.196112816809195, 3.8226723176501176, 5.479807955453042, 2.1171545603903956, 1.6579043194121055, 0.9868877647903354, 0.0, 13.88327904603568, 10.855765412693687, 8.289521597060528, 6.351463681171186, 10.959615910906084, 5.351741244710165, 4.196112816809195, 3.582190452502827, 5.190328158057724, 3.921610066178359, 2.265770817555544, 0.8768496776682801, 0.0), # 145
(13.065525617003761, 9.574792493349808, 11.284892726098956, 11.710279337179951, 10.33667664336106, 5.000155146292303, 4.169322976488264, 3.813319570924618, 5.4662847400392565, 2.1060505568431886, 1.6496742655531065, 0.9822098360525362, 0.0, 13.82343332982099, 10.804308196577896, 8.248371327765533, 6.318151670529565, 10.932569480078513, 5.338647399294466, 4.169322976488264, 3.5715393902087875, 5.16833832168053, 3.903426445726651, 2.2569785452197917, 0.870435681213619, 0.0), # 146
(12.98452955902176, 9.502506685720592, 11.239547695762546, 11.654101346711496, 10.291451838567841, 4.984703018248201, 4.141808424110385, 3.803531235914277, 5.4522399725006885, 2.094610657426059, 1.6411876284981433, 0.9773899237796149, 0.0, 13.761876108576189, 10.751289161575762, 8.205938142490716, 6.2838319722781755, 10.904479945001377, 5.324943730279988, 4.141808424110385, 3.5605021558915717, 5.145725919283921, 3.884700448903833, 2.2479095391525097, 0.8638642441564175, 0.0), # 147
(12.901497117454435, 9.428400469778822, 11.192766448334778, 11.596232646402957, 10.2449497697286, 4.968684485793251, 4.113532782498101, 3.7932763524841717, 5.437647359025082, 2.082818118783379, 1.6324314754943956, 0.9724218985909429, 0.0, 13.698558912559907, 10.69664088450037, 8.162157377471978, 6.248454356350136, 10.875294718050164, 5.310586893477841, 4.113532782498101, 3.5490603469951787, 5.1224748848643, 3.8654108821343196, 2.2385532896669558, 0.8571273154344385, 0.0), # 148
(12.81637010705826, 9.352385283839885, 11.144496435381926, 11.536609655527563, 10.197138304836129, 4.9520737853490395, 4.084459674473953, 3.7825239604993777, 5.42248060580018, 2.0706561975595257, 1.6233928737890426, 0.9672996311058923, 0.0, 13.63343327203078, 10.640295942164814, 8.116964368945213, 6.211968592678575, 10.84496121160036, 5.295533544699129, 4.084459674473953, 3.5371955609635997, 5.098569152418064, 3.845536551842522, 2.2288992870763855, 0.8502168439854443, 0.0), # 149
(12.729090342589704, 9.274372566219169, 11.09468510847026, 11.475168793358566, 10.147985311883227, 4.934845153337166, 4.054552722860481, 3.771243099824971, 5.406713419013735, 2.058108150398871, 1.614058890629265, 0.9620169919438353, 0.0, 13.566450717247434, 10.582186911382186, 8.070294453146325, 6.174324451196611, 10.81342683802747, 5.27974033975496, 4.054552722860481, 3.524889395240833, 5.0739926559416135, 3.825056264452856, 2.2189370216940523, 0.8431247787471974, 0.0), # 150
(12.63959963880524, 9.194273755232066, 11.043279919166057, 11.411846479169196, 10.097458658862696, 4.916972826179219, 4.023775550480226, 3.759402810326029, 5.390319504853488, 2.0451572339457917, 1.6044165932622414, 0.956567851724143, 0.0, 13.49756277846851, 10.522246368965572, 8.022082966311206, 6.135471701837374, 10.780639009706976, 5.263163934456441, 4.023775550480226, 3.5121234472708704, 5.048729329431348, 3.8039488263897328, 2.2086559838332116, 0.8358430686574607, 0.0), # 151
(12.54783981046135, 9.11200028919396, 10.990228319035603, 11.346579132232703, 10.045526213767326, 4.898431040296793, 3.992091780155732, 3.7469721318676275, 5.373272569507184, 2.0317867048446603, 1.5944530489351527, 0.950946081066188, 0.0, 13.426720985952636, 10.460406891728066, 7.9722652446757625, 6.09536011453398, 10.746545139014367, 5.245760984614678, 3.992091780155732, 3.4988793144977093, 5.022763106883663, 3.7821930440775686, 2.198045663807121, 0.8283636626539964, 0.0), # 152
(12.453752672314497, 9.027463606420243, 10.935477759645158, 11.27930317182232, 9.992155844589925, 4.8791940321114815, 3.9594650347095355, 3.7339201043148416, 5.355546319162572, 2.017979819739852, 1.5841553248951779, 0.945145550589342, 0.0, 13.353876869958444, 10.39660105648276, 7.920776624475889, 6.053939459219555, 10.711092638325145, 5.227488146040779, 3.9594650347095355, 3.485138594365344, 4.996077922294963, 3.759767723940774, 2.187095551929032, 0.8206785096745677, 0.0), # 153
(12.357280039121166, 8.940575145226303, 10.878975692561012, 11.209955017211293, 9.937315419323285, 4.859236038044878, 3.9258589369641825, 3.7202157675327485, 5.337114460007395, 2.0037198352757417, 1.5735104883894968, 0.9391601309129768, 0.0, 13.278981960744572, 10.330761440042743, 7.867552441947483, 6.011159505827224, 10.67422892001479, 5.208302074545848, 3.9258589369641825, 3.4708828843177697, 4.968657709661643, 3.736651672403765, 2.1757951385122025, 0.8127795586569367, 0.0), # 154
(12.258363725637818, 8.851246343927524, 10.820669569349436, 11.138471087672855, 9.880972805960209, 4.838531294518574, 3.891237109742209, 3.705828161386424, 5.317950698229401, 1.9889900080967022, 1.562505606665289, 0.9329836926564644, 0.0, 13.201987788569642, 10.262820619221108, 7.812528033326444, 5.966970024290106, 10.635901396458802, 5.188159425940994, 3.891237109742209, 3.456093781798981, 4.940486402980104, 3.712823695890952, 2.1641339138698874, 0.804658758538866, 0.0), # 155
(12.15694554662093, 8.759388640839303, 10.760506841576703, 11.06478780248025, 9.823095872493491, 4.817054037954164, 3.85556317586616, 3.690726325740946, 5.298028740016334, 1.9737735948471096, 1.5511277469697347, 0.9266101064391765, 0.0, 13.122845883692296, 10.19271117083094, 7.755638734848673, 5.921320784541328, 10.596057480032668, 5.167016856037325, 3.85556317586616, 3.440752884252974, 4.911547936246746, 3.688262600826751, 2.1521013683153405, 0.7963080582581185, 0.0), # 156
(12.05296731682698, 8.664913474277022, 10.698434960809092, 10.988841580906726, 9.76365248691593, 4.79477850477324, 3.8188007581585754, 3.6748793004613884, 5.27732229155594, 1.958053852171337, 1.5393639765500133, 0.9200332428804852, 0.0, 13.041507776371162, 10.120365671685335, 7.696819882750066, 5.87416155651401, 10.55464458311188, 5.1448310206459436, 3.8188007581585754, 3.4248417891237426, 4.881826243457965, 3.662947193635576, 2.1396869921618182, 0.7877194067524566, 0.0), # 157
(11.943489514248384, 8.56599791046598, 10.631455938536474, 10.907723497981493, 9.699926512929064, 4.7702895112293024, 3.780085376742286, 3.6571979682329148, 5.254219782186185, 1.9413463665164579, 1.5268255340103847, 0.9130132752259121, 0.0, 12.954377375064553, 10.043146027485031, 7.634127670051924, 5.824039099549372, 10.50843956437237, 5.120077155526081, 3.780085376742286, 3.407349650878073, 4.849963256464532, 3.6359078326604983, 2.126291187707295, 0.7787270827696345, 0.0), # 158
(11.811658827165445, 8.452495802079234, 10.542317091203984, 10.804772590546145, 9.61620406376707, 4.7354436714732975, 3.734570210708573, 3.6314756885095885, 5.21942787265181, 1.9209123976394986, 1.5113111828317318, 0.9041816698244146, 0.0, 12.840684235072311, 9.94599836806856, 7.556555914158659, 5.762737192918495, 10.43885574530362, 5.084065963913424, 3.734570210708573, 3.3824597653380692, 4.808102031883535, 3.6015908635153826, 2.108463418240797, 0.7684087092799304, 0.0), # 159
(11.655795351846896, 8.323475201859713, 10.429227943941186, 10.678293012490633, 9.51084814010325, 4.689385209644506, 3.6817949987070273, 3.5970661263515646, 5.171960121188613, 1.896482260745158, 1.4926025356292107, 0.893400259851713, 0.0, 12.69827297422973, 9.827402858368842, 7.463012678146054, 5.689446782235472, 10.343920242377227, 5.0358925768921905, 3.6817949987070273, 3.3495608640317895, 4.755424070051625, 3.559431004163545, 2.0858455887882372, 0.7566795638054286, 0.0), # 160
(11.477155287337537, 8.179777273184687, 10.293395962547079, 10.529487004508074, 9.38495266590092, 4.632672092132293, 3.622145156805501, 3.5544003554065204, 5.112442542399476, 1.8682632772683756, 1.4708644412265888, 0.8807689958543429, 0.0, 12.528598471710556, 9.68845895439777, 7.354322206132943, 5.6047898318051255, 10.224885084798952, 4.976160497569129, 3.622145156805501, 3.3090514943802094, 4.69247633295046, 3.509829001502692, 2.058679192509416, 0.7436161157440625, 0.0), # 161
(11.27699483268217, 8.022243179431417, 10.136028612820661, 10.359556807291593, 9.239611565123418, 4.565862285326026, 3.5560061010718473, 3.503909449322135, 5.041501150887273, 1.836462768644093, 1.4462617484476323, 0.8663878283788393, 0.0, 12.333115606688533, 9.530266112167231, 7.231308742238162, 5.509388305932278, 10.083002301774545, 4.9054732290509895, 3.5560061010718473, 3.261330203804304, 4.619805782561709, 3.4531856024305316, 2.0272057225641325, 0.7292948344937653, 0.0), # 162
(11.056570186925597, 7.851714083977169, 9.958333360560937, 10.169704661534322, 9.075918761734068, 4.489513755615068, 3.4837632475739206, 3.4460244817460834, 4.959761961254883, 1.8012880563072504, 1.418959306116109, 0.8503567079717379, 0.0, 12.113279258337407, 9.353923787689116, 7.0947965305805445, 5.40386416892175, 9.919523922509766, 4.824434274444517, 3.4837632475739206, 3.2067955397250487, 4.537959380867034, 3.3899015538447745, 1.9916666721121876, 0.71379218945247, 0.0), # 163
(10.817137549112616, 7.669031150199204, 9.761517671566903, 9.961132807929381, 8.894968179696201, 4.404184469388787, 3.405802012379573, 3.3811765263260463, 4.867850988105186, 1.762946461692788, 1.3891219630557858, 0.8327755851795738, 0.0, 11.870544305830926, 9.160531436975312, 6.945609815278928, 5.288839385078362, 9.735701976210372, 4.733647136856465, 3.405802012379573, 3.1458460495634197, 4.447484089848101, 3.320377602643128, 1.9523035343133808, 0.6971846500181095, 0.0), # 164
(10.559953118288028, 7.475035541474793, 9.546789011637559, 9.735043487169904, 8.697853742973145, 4.310432393036548, 3.3225078115566578, 3.3097966567096977, 4.766394246041056, 1.7216453062356458, 1.35691456809043, 0.8137444105488828, 0.0, 11.606365628342832, 8.951188516037709, 6.7845728404521495, 5.164935918706936, 9.532788492082112, 4.633715319393577, 3.3225078115566578, 3.078880280740391, 4.348926871486572, 3.245014495723302, 1.909357802327512, 0.6795486855886177, 0.0), # 165
(10.286273093496636, 7.270568421181199, 9.315354846571905, 9.492638939949002, 8.485669375528229, 4.208815492947715, 3.234266061173029, 3.2323159465447184, 4.656017749665372, 1.6775919113707654, 1.322501970043808, 0.7933631346262003, 0.0, 11.322198105046873, 8.726994480888202, 6.612509850219039, 5.0327757341122945, 9.312035499330744, 4.525242325162606, 3.234266061173029, 3.0062967806769394, 4.242834687764114, 3.1642129799830014, 1.8630709693143812, 0.6609607655619273, 0.0), # 166
(9.997353673783238, 7.056470952695688, 9.06842264216894, 9.235121406959813, 8.259509001324778, 4.099891735511655, 3.14146217729654, 3.1491654694787847, 4.537347513581013, 1.6309935985330861, 1.2860490177396875, 0.7717317079580612, 0.0, 11.019496615116793, 8.489048787538673, 6.430245088698436, 4.892980795599257, 9.074695027162026, 4.408831657270299, 3.14146217729654, 2.928494096794039, 4.129754500662389, 3.0783738023199385, 1.8136845284337881, 0.6414973593359717, 0.0), # 167
(9.694451058192634, 6.833584299395522, 8.807199864227664, 8.963693128895455, 8.020466544326124, 3.9842190871177325, 3.0444815759950434, 3.0607762991595733, 4.411009552390856, 1.5820576891575493, 1.247720560001835, 0.7489500810910016, 0.0, 10.69971603772634, 8.238450892001017, 6.2386028000091756, 4.746173067472647, 8.822019104781711, 4.285086818823403, 3.0444815759950434, 2.8458707765126663, 4.010233272163062, 2.987897709631819, 1.7614399728455332, 0.6212349363086839, 0.0), # 168
(9.378821445769624, 6.602749624657969, 8.53289397854708, 8.67955634644906, 7.769635928495594, 3.8623555141553156, 2.9437096733363934, 2.9675795092347634, 4.277629880697781, 1.5309915046790952, 1.2076814456540184, 0.7251182045715564, 0.0, 10.364311252049257, 7.976300250287119, 6.038407228270092, 4.592974514037284, 8.555259761395561, 4.154611312928669, 2.9437096733363934, 2.7588253672537966, 3.884817964247797, 2.8931854488163538, 1.706578795709416, 0.6002499658779973, 0.0), # 169
(9.051721035559014, 6.3648080918602945, 8.24671245092618, 8.383913300313743, 7.508111077796515, 3.7348589830137664, 2.8395318853884426, 2.870006173352032, 4.137834513104661, 1.4780023665326634, 1.1660965235200045, 0.7003360289462612, 0.0, 10.014737137259289, 7.7036963184088725, 5.830482617600023, 4.43400709959799, 8.275669026209322, 4.018008642692845, 2.8395318853884426, 2.6677564164384044, 3.7540555388982577, 2.7946377667712485, 1.649342490185236, 0.5786189174418451, 0.0), # 170
(8.7144060266056, 6.12060086437976, 7.949862747163971, 8.077966231182643, 7.23698591619222, 3.602287460082452, 2.7323336282190445, 2.7684873651590554, 3.992249464214377, 1.4232975961531957, 1.1231306424235596, 0.6747035047616515, 0.0, 9.652448572530185, 7.421738552378166, 5.615653212117798, 4.269892788459586, 7.984498928428754, 3.8758823112226777, 2.7323336282190445, 2.5730624714874657, 3.61849295809611, 2.692655410394215, 1.5899725494327943, 0.5564182603981601, 0.0), # 171
(8.368132617954185, 5.870969105593635, 7.643552333059449, 7.762917379748876, 6.9573543676460305, 3.4651989117507385, 2.6225003178960526, 2.663454158303514, 3.8415007486298056, 1.3670845149756323, 1.0789486511884518, 0.648320582564263, 0.0, 9.278900437035686, 7.1315264082068905, 5.3947432559422595, 4.101253544926896, 7.683001497259611, 3.7288358216249198, 2.6225003178960526, 2.475142079821956, 3.4786771838230153, 2.587639126582959, 1.52871046661189, 0.5337244641448761, 0.0), # 172
(8.014157008649567, 5.616753978879182, 7.328988674411616, 7.439968986705571, 6.6703103561212815, 3.3241513044079904, 2.51041737048732, 2.5553376264330825, 3.6862143809538255, 1.309570444434913, 1.0337153986384477, 0.62128721290063, 0.0, 8.89554760994954, 6.83415934190693, 5.168576993192238, 3.9287113333047383, 7.372428761907651, 3.5774726770063157, 2.51041737048732, 2.37439378886285, 3.3351551780606408, 2.479989662235191, 1.4657977348823235, 0.5106139980799257, 0.0), # 173
(7.6537353977365505, 5.358796647613667, 7.00737923701947, 7.110323292745849, 6.376947805581297, 3.179702604443573, 2.3964702020607005, 2.4445688431954404, 3.527016375789314, 1.250962705965979, 0.9875957335973142, 0.5937033463172892, 0.0, 8.503844970445494, 6.53073680949018, 4.93797866798657, 3.7528881178979363, 7.054032751578628, 3.4223963804736166, 2.3964702020607005, 2.2712161460311235, 3.1884739027906486, 2.370107764248617, 1.401475847403894, 0.4871633316012425, 0.0), # 174
(7.288123984259929, 5.097938275174352, 6.679931486682011, 6.7751825385628415, 6.078360639989406, 3.0324107782468537, 2.2810442286840464, 2.331578882238264, 3.36453274773915, 1.19146862100377, 0.9407545048888186, 0.5656689333607753, 0.0, 8.105247397697292, 6.222358266968527, 4.703772524444093, 3.574405863011309, 6.7290654954783, 3.26421043513357, 2.2810442286840464, 2.1660076987477526, 3.039180319994703, 2.2583941795209475, 1.3359862973364023, 0.46344893410675936, 0.0), # 175
(6.91857896726451, 4.835020024938507, 6.347852889198238, 6.435748964849671, 5.775642783308939, 2.882833792207196, 2.164524866425212, 2.216798817209233, 3.199389511406209, 1.131295510983227, 0.8933565613367281, 0.537283924577624, 0.0, 7.701209770878679, 5.910123170353863, 4.46678280668364, 3.39388653294968, 6.398779022812418, 3.103518344092926, 2.164524866425212, 2.0591669944337117, 2.8878213916544695, 2.1452496549498905, 1.2695705778396478, 0.4395472749944098, 0.0), # 176
(6.546356545795092, 4.570883060283395, 6.012350910367152, 6.093224812299459, 5.469888159503225, 2.731529612713966, 2.0472975313520503, 2.100659721756022, 3.0322126813933705, 1.07065069733929, 0.8455667517648098, 0.5086482705143706, 0.0, 7.2931869691634, 5.595130975658075, 4.227833758824048, 3.211952092017869, 6.064425362786741, 2.9409236104584306, 2.0472975313520503, 1.9510925805099755, 2.7349440797516125, 2.0310749374331536, 1.2024701820734305, 0.4155348236621269, 0.0), # 177
(6.172712918896475, 4.306368544586282, 5.6746330159877525, 5.74881232160534, 5.162190692535588, 2.5790562061565305, 1.929747639532414, 1.9835926695263104, 2.863628272303512, 1.0097415015069002, 0.7975499249968301, 0.4798619217175504, 0.0, 6.882633871725203, 5.278481138893053, 3.98774962498415, 3.0292245045207, 5.727256544607024, 2.7770297373368344, 1.929747639532414, 1.8421830043975218, 2.581095346267794, 1.916270773868447, 1.1349266031975505, 0.3914880495078438, 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
78, # 1
)
| 279.208556 | 491 | 0.771991 | 32,987 | 261,060 | 6.109225 | 0.231182 | 0.353703 | 0.339412 | 0.643096 | 0.365443 | 0.359797 | 0.359132 | 0.359132 | 0.359132 | 0.359132 | 0 | 0.851561 | 0.094745 | 261,060 | 934 | 492 | 279.507495 | 0.001181 | 0.015364 | 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 |
32d955f2fa3d65d510cd46e0c2eb99557b17a24f | 93 | py | Python | rlgym/gamelaunch/__init__.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | null | null | null | rlgym/gamelaunch/__init__.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | null | null | null | rlgym/gamelaunch/__init__.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | null | null | null | from .launch import launch_rocket_league, run_injector
from .paging import page_rocket_league | 46.5 | 54 | 0.88172 | 14 | 93 | 5.5 | 0.642857 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 55 | 46.5 | 0.905882 | 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 |
32dbd174f320e97230a93b723f0a2d11afbab324 | 133 | py | Python | src/key.py | imartinezl/dBizi | 73a4d9076aa098be5a7e34ca23ada71400ff4cd9 | [
"MIT"
] | null | null | null | src/key.py | imartinezl/dBizi | 73a4d9076aa098be5a7e34ca23ada71400ff4cd9 | [
"MIT"
] | null | null | null | src/key.py | imartinezl/dBizi | 73a4d9076aa098be5a7e34ca23ada71400ff4cd9 | [
"MIT"
] | null | null | null | conn_string = "host='192.168.1.205' dbname='dBici' user='postgres' password='root'"
key_gh = 'a61d7bca-ca1f-4c32-bf38-e5855d64a884'
| 33.25 | 83 | 0.736842 | 20 | 133 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227642 | 0.075188 | 133 | 3 | 84 | 44.333333 | 0.552846 | 0 | 0 | 0 | 0 | 0.5 | 0.774436 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bd1b5e58bf49e61bd3579f060210387f22e632b7 | 29 | py | Python | python.py | sozinscomments/github-slideshow | 7eda780ccfd0e64febe754398a4e1487f82e3d9c | [
"MIT"
] | null | null | null | python.py | sozinscomments/github-slideshow | 7eda780ccfd0e64febe754398a4e1487f82e3d9c | [
"MIT"
] | 3 | 2021-06-24T22:31:02.000Z | 2021-07-05T21:23:12.000Z | python.py | sozinscomments/github-slideshow | 7eda780ccfd0e64febe754398a4e1487f82e3d9c | [
"MIT"
] | null | null | null | print("how does this work?")
| 14.5 | 28 | 0.689655 | 5 | 29 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
95050500889b9b100498dd5097c26b6d24f73a12 | 137 | py | Python | src/zabbix_enums/specific/z50/__init__.py | szuro/zabbix-enums | f2ef3b9ea630f678c336d4fc58b5401771a0e4d1 | [
"MIT"
] | 1 | 2022-02-07T01:21:34.000Z | 2022-02-07T01:21:34.000Z | src/zabbix_enums/specific/z54/__init__.py | szuro/zabbix-enums | f2ef3b9ea630f678c336d4fc58b5401771a0e4d1 | [
"MIT"
] | null | null | null | src/zabbix_enums/specific/z54/__init__.py | szuro/zabbix-enums | f2ef3b9ea630f678c336d4fc58b5401771a0e4d1 | [
"MIT"
] | null | null | null | from .audit_log import *
from .dashboard import *
from .item import *
from .lld import *
from .script import *
from .user_macro import *
| 19.571429 | 25 | 0.737226 | 20 | 137 | 4.95 | 0.5 | 0.505051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 137 | 6 | 26 | 22.833333 | 0.876106 | 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 |
95216c2454a125c002882a46224592ca854549ba | 6,729 | py | Python | localutils/changedetect.py | maxmouchet/rtt | a1694f0ecaf418149d7eb6076da2623d3c253a73 | [
"MIT"
] | 5 | 2018-01-12T19:31:08.000Z | 2021-04-10T03:01:56.000Z | localutils/changedetect.py | maxmouchet/rtt | a1694f0ecaf418149d7eb6076da2623d3c253a73 | [
"MIT"
] | 1 | 2019-03-31T06:57:11.000Z | 2019-03-31T06:57:11.000Z | localutils/changedetect.py | maxmouchet/rtt | a1694f0ecaf418149d7eb6076da2623d3c253a73 | [
"MIT"
] | 4 | 2018-01-12T19:31:51.000Z | 2021-04-10T03:02:06.000Z | """
changedetect.py provides tools for detecting changes in RTT time series
"""
import numpy as np
import logging
from rpy2.rinterface import RRuntimeError
from rpy2.robjects.packages import importr
from rpy2.robjects.vectors import IntVector, FloatVector
changepoint = importr('changepoint')
changepoint_np = importr('changepoint.np')
def cpt_normal(x, penalty="MBIC", minseglen=2):
"""changepoint detection with Normal distribution as test statistic
Args:
x (list of numeric type): timeseries to be handled
penalty (string): possible choices "None", "SIC", "BIC", "MBIC", "AIC", "Hannan-Quinn"
Returns:
list of int: beginning of new segment in python index, that is starting from 0;
the actually return from R changepoint detection is the last index of a segment.
since the R indexing starts from 1, the return naturally become the beginning of segment.
"""
x = [i if i > 0 else 1e3 for i in x]
return [int(i) for i in changepoint.cpts(changepoint.cpt_meanvar(FloatVector(x),
test_stat='Normal', method='PELT',
penalty=penalty, minseglen=minseglen))]
def cpt_np(x, penalty="MBIC", minseglen=2):
"""changepoint detection with non-parametric method, empirical distribution is the only choice now
Args:
x (list of numeric type): timeseries to be handled
penalty (string): possible choices "None", "SIC", "BIC", "MBIC", "AIC", "Hannan-Quinn"
Returns:
list of int: beginning of new segment in python index, that is starting from 0;
the actually return from R changepoint detection is the last index of a segment.
since the R indexing starts from 1, the return naturally become the beginning of segment.
"""
x = [i if i > 0 else 1e3 for i in x]
return [int(i) for i in changepoint.cpts(changepoint_np.cpt_np(FloatVector(x), penalty=penalty, minseglen=minseglen))]
def cpt_poisson(x, penalty="MBIC", minseglen=2):
"""changepoint detection with Poisson distribution as test statistic
Baseline equaling the smallest non-negative value is remove;
negative value is set to a very large RTT, 1e3.
Args:
x (list of numeric type): timeseries to be handled
penalty (string): possible choices "None", "SIC", "BIC", "MBIC", "AIC", "Hannan-Quinn"
Returns:
list of int: beginning of new segment in python index, that is starting from 0;
the actually return from R changepoint detection is the last index of a segment.
since the R indexing starts from 1, the return naturally become the beginning of segment.
"""
x = np.rint(x)
try:
base = np.min([i for i in x if i > 0])
except ValueError: # if no positive number if x, set base to 0
base = 0
x = [i-base if i > 0 else 1e3 for i in x]
return [int(i) for i in changepoint.cpts(changepoint.cpt_meanvar(IntVector(x), test_stat='Poisson',
method='PELT', penalty=penalty,
minseglen=minseglen))]
def cpt_poisson_naive(x, penalty="MBIC", minseglen=2):
"""changepoint detection with Poisson distribution as test statistic
negative value is set to a very large RTT, 1e3.
Args:
x (list of numeric type): timeseries to be handled
penalty (string): possible choices "None", "SIC", "BIC", "MBIC", "AIC", "Hannan-Quinn"
Returns:
list of int: beginning of new segment in python index, that is starting from 0;
the actually return from R changepoint detection is the last index of a segment.
since the R indexing starts from 1, the return naturally become the beginning of segment.
"""
x = np.rint(x)
x = [i if i > 0 else 1e3 for i in x]
return [int(i) for i in changepoint.cpts(changepoint.cpt_meanvar(IntVector(x), test_stat='Poisson',
method='PELT', penalty=penalty,
minseglen=minseglen))]
def cpt_exp(x, penalty='MBIC', minseglen=2):
"""changepoint detection with Exponential distribution as test statistic
non-negative value is required
negative value is set to a very large RTT, 1e3.
Args:
x (list of numeric type): timeseries to be handled
penalty (string): possible choices "None", "SIC", "BIC", "MBIC", "AIC", "Hannan-Quinn"
Returns:
list of int: beginning of new segment in python index, that is starting from 0;
the actually return from R changepoint detection is the last index of a segment.
since the R indexing starts from 1, the return naturally become the beginning of segment.
"""
try:
base = np.min([i for i in x if i > 0])
except ValueError: # if no positive number if x, set base to 0
base = 0
x = [i-base if i > 0 else 1e3 for i in x]
return [int(i) for i in changepoint.cpts(changepoint.cpt_meanvar(FloatVector(x), test_stat='Exponential',
method='PELT', penalty=penalty,
minseglen=minseglen))]
def cpt_gamma(x, penalty='MBIC', minseglen=2, shape=100):
"""changepoint detection with Gamma distribution as test statistic
positive value is required
negative value is set to a very large RTT, 1e3.
Args:
x (list of numeric type): timeseries to be handled
penalty (string): possible choices "None", "SIC", "BIC", "MBIC", "AIC", "Hannan-Quinn"
Returns:
list of int: beginning of new segment in python index, that is starting from 0;
the actually return from R changepoint detection is the last index of a segment.
since the R indexing starts from 1, the return naturally become the beginning of segment.
"""
try:
base = np.min([i for i in x if i > 0])
except ValueError: # if no positive number if x, set base to 0
base = 0
x = [(i-base + 0.1) if i > 0 else 1e3 for i in x]
return [int(i) for i in changepoint.cpts(changepoint.cpt_meanvar(FloatVector(x), test_stat='Gamma',
method='PELT', penalty=penalty,
minseglen=minseglen, shape=shape))]
| 47.387324 | 122 | 0.601427 | 888 | 6,729 | 4.53491 | 0.137387 | 0.014899 | 0.022349 | 0.015644 | 0.846784 | 0.841321 | 0.830891 | 0.817979 | 0.759871 | 0.759871 | 0 | 0.013316 | 0.319215 | 6,729 | 141 | 123 | 47.723404 | 0.86575 | 0.524446 | 0 | 0.571429 | 0 | 0 | 0.037142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.142857 | 0 | 0.387755 | 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 |
20fdac08644e47cbbe220d85d04c38025c18074e | 174 | py | Python | website/views.py | farzan-mortez/mySite_Resume | e41f35e0edabd19afde2cd9ce350d7e96be8cbc9 | [
"MIT"
] | null | null | null | website/views.py | farzan-mortez/mySite_Resume | e41f35e0edabd19afde2cd9ce350d7e96be8cbc9 | [
"MIT"
] | null | null | null | website/views.py | farzan-mortez/mySite_Resume | e41f35e0edabd19afde2cd9ce350d7e96be8cbc9 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.http import HttpRequest
def index_view(request):
return render(request, 'website/index.html') | 21.75 | 48 | 0.781609 | 24 | 174 | 5.625 | 0.75 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 174 | 8 | 48 | 21.75 | 0.9 | 0.132184 | 0 | 0 | 0 | 0 | 0.12 | 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 |
1f01bb70fc4e4a37911032788e7dc012c39c718b | 1,937 | py | Python | test/test_process_vcf.py | linyc74/covid_variant | b6cc17487dec83b8afe3514af60c22a832a967c5 | [
"MIT"
] | 1 | 2021-06-09T08:02:01.000Z | 2021-06-09T08:02:01.000Z | test/test_process_vcf.py | linyc74/covid_variant | b6cc17487dec83b8afe3514af60c22a832a967c5 | [
"MIT"
] | null | null | null | test/test_process_vcf.py | linyc74/covid_variant | b6cc17487dec83b8afe3514af60c22a832a967c5 | [
"MIT"
] | null | null | null | import pandas as pd
from covid_variant.process_vcf import ProcessVcf, RemoveConflictVariants, VcfDfToCdsEditDf, ReadVcf
from .setup import TestCase
class TestProcessVcf(TestCase):
def setUp(self):
self.set_up(py_path=__file__)
def tearDown(self):
self.tear_down()
def test_main(self):
actual = ProcessVcf(self.settings).main(vcf=f'{self.indir}/{self.__class__.__name__}_in.vcf')
expected = pd.read_csv(f'{self.indir}/{self.__class__.__name__}_out.csv')
self.assertDataFrameEqual(expected, actual)
class TestReadVcf(TestCase):
def setUp(self):
self.set_up(py_path=__file__)
def tearDown(self):
self.tear_down()
def test_main(self):
actual = ReadVcf(self.settings).main(vcf=f'{self.indir}/{self.__class__.__name__}_in.vcf')
expected = pd.read_csv(f'{self.indir}/{self.__class__.__name__}_out.csv')
self.assertDataFrameEqual(expected, actual)
class TestRemoveConflictVariants(TestCase):
def setUp(self):
self.set_up(py_path=__file__)
def tearDown(self):
self.tear_down()
def test_main(self):
indf = pd.read_csv(f'{self.indir}/{self.__class__.__name__}_in.csv')
actual = RemoveConflictVariants(self.settings).main(indf=indf)
expected = pd.read_csv(f'{self.indir}/{self.__class__.__name__}_out.csv')
self.assertDataFrameEqual(expected, actual)
class TestVcfDfToCdsEditEf(TestCase):
def setUp(self):
self.set_up(py_path=__file__)
def tearDown(self):
self.tear_down()
def test_main(self):
vcf_df = pd.read_csv(f'{self.indir}/{self.__class__.__name__}_in.csv')
actual = VcfDfToCdsEditDf(self.settings).main(vcf_df=vcf_df)
expected = pd.read_csv(f'{self.indir}/{self.__class__.__name__}_out.csv')
self.assertDataFrameEqual(expected, actual)
| 31.241935 | 102 | 0.670108 | 239 | 1,937 | 4.949791 | 0.188285 | 0.0541 | 0.067625 | 0.094675 | 0.732883 | 0.732883 | 0.732883 | 0.732883 | 0.732883 | 0.732883 | 0 | 0 | 0.205472 | 1,937 | 61 | 103 | 31.754098 | 0.768681 | 0 | 0 | 0.682927 | 0 | 0 | 0.19403 | 0.19403 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.292683 | false | 0 | 0.073171 | 0 | 0.463415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f3bba5233c6c69577bcf099ee8e22206b83a981 | 155 | py | Python | thirdparty/cpython/test_cpython.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | null | null | null | thirdparty/cpython/test_cpython.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | 1 | 2016-02-18T18:55:29.000Z | 2016-02-18T18:55:29.000Z | thirdparty/cpython/test_cpython.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | null | null | null | # A very simple test that cpython works at all
import platform
print platform.python_implementation()
assert platform.python_implementation() == 'CPython'
| 31 | 52 | 0.812903 | 20 | 155 | 6.2 | 0.75 | 0.225806 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 4 | 53 | 38.75 | 0.905109 | 0.283871 | 0 | 0 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1f6f5fba9a48c5a85093606bb8bdbfa85b62d642 | 100 | py | Python | Server/app/blueprints.py | callsign-viper/LOM-PlanA | 2a5e585843ad57245c26a1dc18ce15be716b931e | [
"MIT"
] | 4 | 2018-08-07T08:06:23.000Z | 2018-11-15T00:08:20.000Z | Server/app/blueprints.py | callsign-viper/LOM-PlanA | 2a5e585843ad57245c26a1dc18ce15be716b931e | [
"MIT"
] | 16 | 2018-10-02T12:55:15.000Z | 2018-10-20T12:36:35.000Z | Server/app/blueprints.py | Mean-t/Mean.t-Backend | 31c27cee618d53894c147ac98ec957528fd691be | [
"MIT"
] | null | null | null | from flask import Blueprint
api_v1_blueprint = Blueprint('api_v1', __name__, url_prefix='/api/v1')
| 25 | 70 | 0.78 | 15 | 100 | 4.666667 | 0.6 | 0.214286 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.1 | 100 | 3 | 71 | 33.333333 | 0.744444 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 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 | 0 | 1 | 0 | 6 |
2f1951d20928452a0bfaacf59c129a3ead02d646 | 45 | py | Python | src/pyfme/models/__init__.py | gaofeng2020/PyFME | 26b76f0622a8dca0e24eb477a6fb4a8b2aa604d7 | [
"MIT"
] | 199 | 2015-12-29T19:49:42.000Z | 2022-03-19T14:31:24.000Z | src/pyfme/models/__init__.py | gaofeng2020/PyFME | 26b76f0622a8dca0e24eb477a6fb4a8b2aa604d7 | [
"MIT"
] | 126 | 2015-09-23T11:15:42.000Z | 2020-07-29T12:27:22.000Z | src/pyfme/models/__init__.py | gaofeng2020/PyFME | 26b76f0622a8dca0e24eb477a6fb4a8b2aa604d7 | [
"MIT"
] | 93 | 2015-12-26T13:02:29.000Z | 2022-03-19T14:31:13.000Z | from .euler_flat_earth import EulerFlatEarth
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 |
c84a0e329b2b2492b10ec8bf74d6362a3dc8d187 | 80 | py | Python | flask_unchained/forms/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | flask_unchained/forms/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | flask_unchained/forms/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | from .flask_form import FlaskForm
from . import fields
from . import validators
| 20 | 33 | 0.8125 | 11 | 80 | 5.818182 | 0.636364 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 34 | 26.666667 | 0.941176 | 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 |
c0bc39bdd4e752ec3281c536d84cf0316c786973 | 15,652 | py | Python | test/test_coverage_scenarios.py | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | [
"MIT"
] | 1 | 2021-01-14T17:39:18.000Z | 2021-01-14T17:39:18.000Z | test/test_coverage_scenarios.py | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | [
"MIT"
] | 17 | 2020-08-15T23:27:28.000Z | 2022-02-20T18:23:49.000Z | test/test_coverage_scenarios.py | jackdewinter/pyscan | 05ea9bff0aaf4d53aa401c51526bb847accec56a | [
"MIT"
] | null | null | null | """
Tests to cover scenarios around the coverage measuring and reporting.
"""
import os
from shutil import copyfile
from test.patch_builtin_open import PatchBuiltinOpen
from test.test_scenarios import (
COBERTURA_COMMAND_LINE_FLAG,
COVERAGE_SUMMARY_FILE_NAME,
ONLY_CHANGES_COMMAND_LINE_FLAG,
PUBLISH_COMMAND_LINE_FLAG,
PUBLISH_DIRECTORY,
REPORT_DIRECTORY,
MainlineExecutor,
get_coverage_file_name,
setup_directories,
)
def compose_coverage_summary_file():
"""
Create a test coverage file for a sample report.
"""
return """{
"projectName": "project_summarizer",
"reportSource": "pytest",
"branchLevel": {
"totalMeasured": 4,
"totalCovered": 2
},
"lineLevel": {
"totalMeasured": 15,
"totalCovered": 10
}
}
"""
def test_summarize_simple_cobertura_report(
create_publish_directory=False, temporary_work_directory=None
):
"""
Test the summarizing of a simple cobertura report with no previous summary.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, report_directory, publish_directory = setup_directories(
create_publish_directory=create_publish_directory,
temporary_work_directory=temporary_work_directory,
)
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
copyfile(
os.path.join(executor.resource_directory, get_coverage_file_name()),
cobertura_coverage_file,
)
summary_coverage_file = os.path.join(report_directory, COVERAGE_SUMMARY_FILE_NAME)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = """
Test Coverage Summary
---------------------
TYPE COVERED MEASURED PERCENTAGE
Instructions -- -- -----
Lines 10 (+10) 15 (+15) 66.67 (+66.67)
Branches 2 ( +2) 4 ( +4) 50.00 (+50.00)
Complexity -- -- -----
Methods -- -- -----
Classes -- -- -----
"""
expected_error = ""
expected_return_code = 0
expected_test_coverage_file = compose_coverage_summary_file()
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
execute_results.assert_resultant_file(
summary_coverage_file, expected_test_coverage_file
)
return (
executor,
temporary_work_directory,
publish_directory,
cobertura_coverage_file,
)
def test_summarize_cobertura_report_with_bad_source():
"""
Test to make sure that summarizing a test coverage file that does not exist.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, _, _ = setup_directories()
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
assert not os.path.exists(cobertura_coverage_file)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = (
f"Project test coverage file '{cobertura_coverage_file}' does not exist.\n"
)
expected_error = ""
expected_return_code = 1
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_cobertura_report_with_source_as_directory():
"""
Test to make sure that summarizing a test coverage file that is not a file.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, _, _ = setup_directories()
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
os.makedirs(cobertura_coverage_file)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = (
f"Project test coverage file '{cobertura_coverage_file}' is not a file.\n"
)
expected_error = ""
expected_return_code = 1
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_simple_cobertura_report_and_publish(
temporary_work_directory=None, check_file_contents=True
):
"""
Test the summarizing of a simple cobertura report, then publishing that report.
NOTE: This function is in this module because of the other tests in this module
that rely on it. Moving it to the test_publish_scenarios module would create
a circular reference.
"""
# Arrange
(
executor,
temporary_work_directory,
publish_directory,
cobertura_coverage_file,
) = test_summarize_simple_cobertura_report(
temporary_work_directory=temporary_work_directory
)
summary_coverage_file = os.path.join(publish_directory, COVERAGE_SUMMARY_FILE_NAME)
suppplied_arguments = [PUBLISH_COMMAND_LINE_FLAG]
expected_output = (
f"Publish directory '{PUBLISH_DIRECTORY}' does not exist. Creating."
)
expected_error = ""
expected_return_code = 0
expected_test_coverage_file = compose_coverage_summary_file()
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
if check_file_contents:
execute_results.assert_resultant_file(
summary_coverage_file, expected_test_coverage_file
)
return (
executor,
temporary_work_directory,
publish_directory,
cobertura_coverage_file,
)
def test_summarize_simple_cobertura_report_and_publish_and_summarize_again(
temporary_work_directory=None, check_file_contents=True
):
"""
Test the summarizing of a cobertura report, publishing, and then comparing again.
"""
# Arrange
(
executor,
temporary_work_directory,
_,
cobertura_coverage_file,
) = test_summarize_simple_cobertura_report_and_publish(
temporary_work_directory=temporary_work_directory,
check_file_contents=check_file_contents,
)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = """
Test Coverage Summary
---------------------
TYPE COVERED MEASURED PERCENTAGE
Instructions -- -- -----
Lines 10 15 66.67
Branches 2 4 50.00
Complexity -- -- -----
Methods -- -- -----
Classes -- -- -----
"""
expected_error = ""
expected_return_code = 0
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_simple_cobertura_report_and_publish_and_summarize_again_only_changes(
temporary_work_directory=None, check_file_contents=True
):
"""
Test the summarizing of a cobertura report, publishing, and then comparing again with the only changes flat set.
"""
# Arrange
(
executor,
temporary_work_directory,
_,
cobertura_coverage_file,
) = test_summarize_simple_cobertura_report_and_publish(
temporary_work_directory=temporary_work_directory,
check_file_contents=check_file_contents,
)
suppplied_arguments = [
ONLY_CHANGES_COMMAND_LINE_FLAG,
COBERTURA_COMMAND_LINE_FLAG,
cobertura_coverage_file,
]
expected_output = """
Test Coverage Summary
---------------------
Test coverage has not changed since last published test coverage.
"""
expected_error = ""
expected_return_code = 0
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_bad_xml_test_coverage():
"""
Test the summarizing of cobertura results with a bad coverage file.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, _, _ = setup_directories()
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
copyfile(
os.path.join(executor.resource_directory, "coverage-bad.xml"),
cobertura_coverage_file,
)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = (
f"Project test coverage file '{cobertura_coverage_file}' is not a "
+ "proper Cobertura-format test coverage file.\n"
)
expected_error = ""
expected_return_code = 1
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_bad_test_coverage():
"""
Test the summarizing of cobertura results with a bad coverage file.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, _, _ = setup_directories()
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
copyfile(
os.path.join(executor.resource_directory, "coverage-bad.txt"),
cobertura_coverage_file,
)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = f"Project test coverage file '{cobertura_coverage_file}' is not a valid test coverage file.\n"
expected_error = ""
expected_return_code = 1
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_bad_report_directory():
"""
Test the summarizing of cobertura results with a bad report directory.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, _, _ = setup_directories(create_report_directory=False)
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
copyfile(
os.path.join(executor.resource_directory, get_coverage_file_name()),
cobertura_coverage_file,
)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = f"Summary output path '{REPORT_DIRECTORY}' does not exist."
expected_error = ""
expected_return_code = 1
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_invalid_published_summary_file():
"""
Test the summarizing of cobertura results with a bad report directory.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, _, publish_directory = setup_directories(
create_publish_directory=True
)
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
copyfile(
os.path.join(executor.resource_directory, get_coverage_file_name()),
cobertura_coverage_file,
)
summary_coverage_file = os.path.join(publish_directory, COVERAGE_SUMMARY_FILE_NAME)
with open(summary_coverage_file, "w", encoding="utf-8") as outfile:
outfile.write("this is not a json file")
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
file_name = os.path.join(PUBLISH_DIRECTORY, COVERAGE_SUMMARY_FILE_NAME)
expected_output = (
f"Previous coverage summary file '{file_name}' is not "
+ "a valid JSON file (Expecting value: line 1 column 1 (char 0))."
)
expected_error = ""
expected_return_code = 1
# Act
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_simple_cobertura_report_and_publish_and_summarize_with_error_on_publish_read():
"""
Test a summarize when trying to load a summary file from a previous run and getting
an error when trying to write the summary report.
"""
# Arrange
(
executor,
temporary_work_directory,
publish_directory,
cobertura_coverage_file,
) = test_summarize_simple_cobertura_report_and_publish()
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
file_name = os.path.join(PUBLISH_DIRECTORY, COVERAGE_SUMMARY_FILE_NAME)
expected_output = (
f"Previous coverage summary file '{file_name}' was not loaded (None).\n"
)
expected_error = ""
expected_return_code = 1
summary_coverage_file = os.path.join(publish_directory, COVERAGE_SUMMARY_FILE_NAME)
# Act
try:
pbo = PatchBuiltinOpen()
pbo.register_exception(summary_coverage_file, "r")
pbo.start()
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
finally:
pbo.stop()
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
def test_summarize_simple_cobertura_report_with_error_on_report_write():
"""
Test a summarize with an error when trying to write the summary report.
"""
# Arrange
executor = MainlineExecutor()
temporary_work_directory, report_directory, _ = setup_directories()
cobertura_coverage_file = os.path.join(
temporary_work_directory.name, get_coverage_file_name()
)
copyfile(
os.path.join(executor.resource_directory, get_coverage_file_name()),
cobertura_coverage_file,
)
summary_coverage_file = os.path.join(report_directory, COVERAGE_SUMMARY_FILE_NAME)
suppplied_arguments = [COBERTURA_COMMAND_LINE_FLAG, cobertura_coverage_file]
expected_output = (
f"Project test coverage summary file '{os.path.abspath(summary_coverage_file)}' "
+ "was not written (None).\n"
)
expected_error = ""
expected_return_code = 1
# Act
try:
pbo = PatchBuiltinOpen()
pbo.register_exception(os.path.abspath(summary_coverage_file), "w")
pbo.start()
execute_results = executor.invoke_main(
arguments=suppplied_arguments, cwd=temporary_work_directory.name
)
finally:
pbo.stop()
# Assert
execute_results.assert_results(
expected_output, expected_error, expected_return_code
)
| 28.510018 | 116 | 0.696013 | 1,719 | 15,652 | 5.937755 | 0.105876 | 0.08935 | 0.099148 | 0.063486 | 0.846184 | 0.841089 | 0.81885 | 0.808563 | 0.771725 | 0.771725 | 0 | 0.005295 | 0.227703 | 15,652 | 548 | 117 | 28.562044 | 0.839097 | 0.096857 | 0 | 0.625698 | 0 | 0 | 0.137516 | 0.018369 | 0 | 0 | 0 | 0 | 0.041899 | 1 | 0.036313 | false | 0 | 0.011173 | 0 | 0.055866 | 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 |
23a938cf79b1e657cd614e0acf9da53d27a9541b | 39 | py | Python | plotData.py | doterkuile/soccerapi | b2968297fdd151e154ed6aee0c2f84e9f3ec82fc | [
"MIT"
] | null | null | null | plotData.py | doterkuile/soccerapi | b2968297fdd151e154ed6aee0c2f84e9f3ec82fc | [
"MIT"
] | null | null | null | plotData.py | doterkuile/soccerapi | b2968297fdd151e154ed6aee0c2f84e9f3ec82fc | [
"MIT"
] | null | null | null | from pathlib import Path
import json
| 7.8 | 24 | 0.794872 | 6 | 39 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 4 | 25 | 9.75 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.