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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8e2534c09c8f027138f75a56177e43b40ab1556 | 128 | py | Python | CNN Visualization/Visualizing and Understanding Convolutional Networks/__init__.py | KushajveerSingh/pytorch_projects | ba70b662897a7483230c7e3ea04428df2a5fa3b8 | [
"MIT"
] | 19 | 2019-06-04T20:19:24.000Z | 2022-03-14T03:15:54.000Z | CNN Visualization/Visualizing and Understanding Convolutional Networks/__init__.py | KushajveerSingh/pytorch_projects | ba70b662897a7483230c7e3ea04428df2a5fa3b8 | [
"MIT"
] | null | null | null | CNN Visualization/Visualizing and Understanding Convolutional Networks/__init__.py | KushajveerSingh/pytorch_projects | ba70b662897a7483230c7e3ea04428df2a5fa3b8 | [
"MIT"
] | 12 | 2019-06-06T12:56:39.000Z | 2021-12-30T11:54:08.000Z | from .vgg16 import get_vgg
from .vgg16_deconv import get_vgg_deconv
from .utils import get_image, store_feature, visualize_layer | 42.666667 | 60 | 0.859375 | 21 | 128 | 4.904762 | 0.571429 | 0.262136 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.101563 | 128 | 3 | 60 | 42.666667 | 0.86087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d13722519fe1759291dab1ab51e300a1372cd49c | 3,086 | py | Python | tests/test_estimation.py | embedded-machine-learning/annette | ed91280f09201316842022f2a86bac763b632b29 | [
"Apache-2.0"
] | 2 | 2021-03-01T16:53:56.000Z | 2021-10-03T11:40:21.000Z | tests/test_estimation.py | embedded-machine-learning/annette | ed91280f09201316842022f2a86bac763b632b29 | [
"Apache-2.0"
] | 2 | 2021-03-11T11:11:21.000Z | 2021-03-11T11:12:01.000Z | tests/test_estimation.py | embedded-machine-learning/annette | ed91280f09201316842022f2a86bac763b632b29 | [
"Apache-2.0"
] | 3 | 2021-04-29T13:35:23.000Z | 2021-07-28T07:27:33.000Z | import pytest
import sys
sys.path.append("./")
from annette.graph import MMGraph
from annette.graph import AnnetteGraph
from annette.estimation.layer_model import Layer_model
from annette.estimation.mapping_model import Mapping_model
from pathlib import Path
import os
import logging
def test_optimization(network="cf_resnet50"):
json_file = Path('database','graphs','annette',network+'.json')
model = AnnetteGraph(network,json_file)
json_file = Path('database','models','mapping','ov.json')
ncs2_opt = Mapping_model.from_json(json_file)
ncs2_opt.run_optimization(model)
assert True
return model
def test_estimation(network="cf_resnet50"):
json_file = Path('database','graphs','annette',network+'.json')
model = AnnetteGraph(network,json_file)
json_file = Path('database','models','mapping','ov.json')
ncs2_opt = Mapping_model.from_json(json_file)
ncs2_opt.run_optimization(model)
# LOAD MODELS
ncs2_mod = {}
json_file = Path('database','models','layer','ov.json')
ncs2_mod['roofline'] = Layer_model.from_json("database/models/layer/ncs2-roofline.json")
ncs2_mod['ref_roofline'] = Layer_model.from_json("database/models/layer/ncs2-ref_roofline.json")
ncs2_mod['statistical'] = Layer_model.from_json("database/models/layer/ncs2-statistical.json")
ncs2_mod['mixed'] = Layer_model.from_json("database/models/layer/ncs2-mixed.json")
# APPLY ESTIMATION
ncs2_res = {}
ncs2_res['mixed'] = ncs2_mod['mixed'].estimate_model(model)
ncs2_res['roofline'] = ncs2_mod['roofline'].estimate_model(model)
ncs2_res['ref_roofline'] = ncs2_mod['ref_roofline'].estimate_model(model)
ncs2_res['statistical'] = ncs2_mod['statistical'].estimate_model(model)
assert True
return model
def test_regression_estimation():
network_list = ['cf_cityscapes', 'cf_resnet50', 'cf_openpose','tf_mobilenetv1','tf_mobilenetv2']
json_file = Path('database','models','mapping','ov.json')
ncs2_opt = Mapping_model.from_json(json_file)
# LOAD MODELS
ncs2_mod = {}
json_file = Path('database','models','layer','ov.json')
ncs2_mod['roofline'] = Layer_model.from_json("database/models/layer/ncs2-roofline.json")
ncs2_mod['ref_roofline'] = Layer_model.from_json("database/models/layer/ncs2-ref_roofline.json")
ncs2_mod['statistical'] = Layer_model.from_json("database/models/layer/ncs2-statistical.json")
ncs2_mod['mixed'] = Layer_model.from_json("database/models/layer/ncs2-mixed.json")
for network in network_list:
json_file = Path('database','graphs','annette',network+'.json')
model = AnnetteGraph(network,json_file)
ncs2_opt.run_optimization(model)
# APPLY ESTIMATION
ncs2_res = {}
ncs2_res['mixed'] = ncs2_mod['mixed'].estimate_model(model)
ncs2_res['roofline'] = ncs2_mod['roofline'].estimate_model(model)
ncs2_res['ref_roofline'] = ncs2_mod['ref_roofline'].estimate_model(model)
ncs2_res['statistical'] = ncs2_mod['statistical'].estimate_model(model)
assert True
| 40.077922 | 100 | 0.719054 | 402 | 3,086 | 5.256219 | 0.131841 | 0.059631 | 0.067676 | 0.075722 | 0.821107 | 0.821107 | 0.821107 | 0.786559 | 0.786559 | 0.786559 | 0 | 0.018839 | 0.139987 | 3,086 | 76 | 101 | 40.605263 | 0.777317 | 0.018471 | 0 | 0.736842 | 0 | 0 | 0.279431 | 0.108466 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.157895 | 0 | 0.245614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d14c8b55a187f61966d0a3808f3159485838954c | 28 | py | Python | temp.py | javakung/masahiro | bf107b8a75103258c44fd5adde78043399d3216c | [
"MIT"
] | null | null | null | temp.py | javakung/masahiro | bf107b8a75103258c44fd5adde78043399d3216c | [
"MIT"
] | null | null | null | temp.py | javakung/masahiro | bf107b8a75103258c44fd5adde78043399d3216c | [
"MIT"
] | null | null | null | def cal(a,b):
return a+b | 14 | 14 | 0.571429 | 7 | 28 | 2.285714 | 0.714286 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 14 | 14 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
0f687eaa9d77f1888faaaf2360daa66162b566a5 | 17,569 | py | Python | location_register/migrations/0007_auto_20200724_1128.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | location_register/migrations/0007_auto_20200724_1128.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | location_register/migrations/0007_auto_20200724_1128.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-07-24 11:28
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('location_register', '0006_auto_20200722_1314'),
]
operations = [
migrations.AlterModelOptions(
name='drvato',
options={'verbose_name': 'адміністративно-територіальна одиниця'},
),
migrations.AlterModelOptions(
name='drvbuilding',
options={'verbose_name': 'будинок'},
),
migrations.AlterModelOptions(
name='drvcouncil',
options={'verbose_name': 'рада'},
),
migrations.AlterModelOptions(
name='drvdistrict',
options={'verbose_name': 'район'},
),
migrations.AlterModelOptions(
name='drvregion',
options={'verbose_name': 'регіон'},
),
migrations.AlterModelOptions(
name='drvstreet',
options={'verbose_name': 'вулиця'},
),
migrations.AlterModelOptions(
name='koatuucitydistrict',
options={'verbose_name': 'район у місті'},
),
migrations.AlterModelOptions(
name='koatuudistrict',
options={'verbose_name': 'район'},
),
migrations.AlterModelOptions(
name='koatuuregion',
options={'verbose_name': 'регіон'},
),
migrations.AlterModelOptions(
name='ratucitydistrict',
options={'verbose_name': 'район у місті'},
),
migrations.AlterModelOptions(
name='ratudistrict',
options={'verbose_name': 'район'},
),
migrations.AlterModelOptions(
name='raturegion',
options={'verbose_name': 'регіон'},
),
migrations.AlterModelOptions(
name='zipcode',
options={'verbose_name': 'поштовий індекс'},
),
migrations.AlterField(
model_name='drvato',
name='code',
field=models.CharField(max_length=7, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='drvato',
name='council',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvCouncil', verbose_name='рада'),
),
migrations.AlterField(
model_name='drvato',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='drvato',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='drvato',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='drvbuilding',
name='ato',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvAto', verbose_name='адміністративно-територіальна одиниця'),
),
migrations.AlterField(
model_name='drvbuilding',
name='code',
field=models.CharField(max_length=20, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='drvbuilding',
name='council',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvCouncil', verbose_name='рада'),
),
migrations.AlterField(
model_name='drvbuilding',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='drvbuilding',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='drvbuilding',
name='street',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvStreet', verbose_name='вулиця'),
),
migrations.AlterField(
model_name='drvbuilding',
name='zip_code',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.ZipCode', verbose_name='поштовий індекс'),
),
migrations.AlterField(
model_name='drvcouncil',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='drvcouncil',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='drvdistrict',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='drvdistrict',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='drvregion',
name='capital',
field=models.CharField(max_length=20, null=True, unique=True, verbose_name='центр'),
),
migrations.AlterField(
model_name='drvregion',
name='code',
field=models.CharField(max_length=3, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='drvregion',
name='name',
field=models.CharField(max_length=30, unique=True, verbose_name='назва'),
),
migrations.AlterField(
model_name='drvregion',
name='number',
field=models.CharField(max_length=3, unique=True, verbose_name='номер'),
),
migrations.AlterField(
model_name='drvregion',
name='short_name',
field=models.CharField(max_length=5, unique=True, verbose_name='коротка назва'),
),
migrations.AlterField(
model_name='drvstreet',
name='code',
field=models.CharField(max_length=15, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='drvstreet',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='drvstreet',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='drvstreet',
name='number_of_buildings',
field=models.PositiveIntegerField(null=True, verbose_name='кількість будинків'),
),
migrations.AlterField(
model_name='drvstreet',
name='previous_name',
field=models.CharField(max_length=100, null=True, verbose_name='попередня назва'),
),
migrations.AlterField(
model_name='drvstreet',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='koatuucity',
name='category',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuCategory', verbose_name='категорія населеного пункта'),
),
migrations.AlterField(
model_name='koatuucity',
name='code',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='koatuucity',
name='district',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='koatuucity',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='koatuucity',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='koatuucitydistrict',
name='category',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuCategory', verbose_name='категорія населеного пункта'),
),
migrations.AlterField(
model_name='koatuucitydistrict',
name='city',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuCity', verbose_name='населений пункт'),
),
migrations.AlterField(
model_name='koatuucitydistrict',
name='code',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='koatuucitydistrict',
name='district',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='koatuucitydistrict',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='koatuucitydistrict',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='koatuudistrict',
name='code',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='koatuudistrict',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='koatuudistrict',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='koatuuregion',
name='code',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код'),
),
migrations.AlterField(
model_name='koatuuregion',
name='name',
field=models.CharField(max_length=30, unique=True, verbose_name='назва'),
),
migrations.AlterField(
model_name='ratucity',
name='category',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuCategory', verbose_name='категорія населеного пункта'),
),
migrations.AlterField(
model_name='ratucity',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='ratucity',
name='koatuu',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код КОАТУУ'),
),
migrations.AlterField(
model_name='ratucity',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='ratucity',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='ratucitydistrict',
name='category',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='location_register.KoatuuCategory', verbose_name='категорія населеного пункта'),
),
migrations.AlterField(
model_name='ratucitydistrict',
name='city',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuCity', verbose_name='населений пункт'),
),
migrations.AlterField(
model_name='ratucitydistrict',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='ratucitydistrict',
name='koatuu',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код КОАТУУ'),
),
migrations.AlterField(
model_name='ratucitydistrict',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='ratucitydistrict',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='ratudistrict',
name='koatuu',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код КОАТУУ'),
),
migrations.AlterField(
model_name='ratudistrict',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='ratudistrict',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='raturegion',
name='koatuu',
field=models.CharField(max_length=10, null=True, unique=True, verbose_name='код КОАТУУ'),
),
migrations.AlterField(
model_name='raturegion',
name='name',
field=models.CharField(max_length=30, unique=True, verbose_name='назва'),
),
migrations.AlterField(
model_name='ratustreet',
name='city',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuCity', verbose_name='населений пункт'),
),
migrations.AlterField(
model_name='ratustreet',
name='citydistrict',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuCityDistrict', verbose_name='район у місті'),
),
migrations.AlterField(
model_name='ratustreet',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='ratustreet',
name='name',
field=models.CharField(max_length=100, verbose_name='назва'),
),
migrations.AlterField(
model_name='ratustreet',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.RatuRegion', verbose_name='регіон'),
),
migrations.AlterField(
model_name='zipcode',
name='ato',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvAto', verbose_name='адміністративно-територіальна одиниця'),
),
migrations.AlterField(
model_name='zipcode',
name='code',
field=models.CharField(max_length=6, unique=True, verbose_name='індекс'),
),
migrations.AlterField(
model_name='zipcode',
name='council',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvCouncil', verbose_name='рада'),
),
migrations.AlterField(
model_name='zipcode',
name='district',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvDistrict', verbose_name='район'),
),
migrations.AlterField(
model_name='zipcode',
name='region',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_register.DrvRegion', verbose_name='регіон'),
),
]
| 42.643204 | 175 | 0.606238 | 1,645 | 17,569 | 6.313678 | 0.068693 | 0.086848 | 0.166089 | 0.192663 | 0.918352 | 0.917774 | 0.818121 | 0.758617 | 0.743019 | 0.709609 | 0 | 0.007797 | 0.270021 | 17,569 | 411 | 176 | 42.746959 | 0.802027 | 0.002561 | 0 | 0.881481 | 1 | 0 | 0.18765 | 0.066773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004938 | 0 | 0.012346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7e14561a172a80e41b7b7dda394ca6d3f2c1e7ea | 3,598 | py | Python | code/tests/data_processing/test_learn_model.py | noemiko/myo-sign-language | d76ae02d6740c530b634fa89db2edb4fd7d024f6 | [
"MIT"
] | 1 | 2020-02-13T16:00:05.000Z | 2020-02-13T16:00:05.000Z | code/tests/data_processing/test_learn_model.py | noemiko/myo-sign-language | d76ae02d6740c530b634fa89db2edb4fd7d024f6 | [
"MIT"
] | 1 | 2020-02-13T15:59:57.000Z | 2020-02-23T19:39:31.000Z | code/tests/data_processing/test_learn_model.py | noemiko/myo-sign-language | d76ae02d6740c530b634fa89db2edb4fd7d024f6 | [
"MIT"
] | null | null | null | from sklearn.cluster import KMeans
from myo_sign_language.data_processing.learn_model import get_overlapped_chunks_separated_for_files
from myo_sign_language.data_processing.learn_model import get_all_overlapped_chunks
from myo_sign_language.data_processing.learn_model import get_histogram_basic_on_kmean
def test_get_overlapped_chunks_separated_for_files():
sensor1 = [212, 1212, 4545]
sensor2 = [612, 6212, 6545]
file = [sensor1, sensor2]
files_as_nested_list = [file, file]
windows_size = 2
overlaped = 1
windows = get_overlapped_chunks_separated_for_files(files_as_nested_list, windows_size, overlaped)
windowed_sensor1 = [[212, 1212], [1212, 4545]]
windowed_sensor2 = [[612, 6212], [6212, 6545]]
chunked_file = [windowed_sensor1, windowed_sensor2]
assert windows == [chunked_file, chunked_file]
def test_get_overlapped_chunks_separated_for_files_when_windows_size_too_big():
sensor1 = [212, 1212, 4545]
sensor2 = [612, 6212, 6545]
file = [sensor1, sensor2]
files_as_nested_list = [file, file]
windows_size = 5
overlaped = 1
windows = get_overlapped_chunks_separated_for_files(files_as_nested_list, windows_size, overlaped)
windowed_sensor1 = [[212, 1212], [1212, 4545]]
windowed_sensor2 = [[612, 6212], [6212, 6545]]
chunked_file = [windowed_sensor1, windowed_sensor2]
assert windows == [chunked_file, chunked_file]
def test_get_all_overlapped_chunks():
sensor1 = [212, 1212, 4545]
sensor2 = [812, 1912, 1545]
file = [sensor1, sensor2]
files_as_nested_list = [file, file]
windows_size = 2
overlaped = 1
windows = get_all_overlapped_chunks(files_as_nested_list, windows_size, overlaped)
windowed_sensor1_file_1 = [[212, 1212], [1212, 4545]]
windowed_sensor2_file_1 = [[812, 1912], [1912, 1545]]
windowed_sensor1_file_2 = [[212, 1212], [1212, 4545]]
windowed_sensor2_file_2 = [[812, 1912], [1912, 1545]]
assert len(windows) == 2
assert windows == [
windowed_sensor1_file_1+windowed_sensor1_file_2,
windowed_sensor2_file_1+windowed_sensor2_file_2]
def test_get_all_overlapped_chunks_when_windows_size_too_big():
sensor1 = [212, 1212, 4545]
sensor2 = [812, 1912, 1545]
file = [sensor1, sensor2]
files_as_nested_list = [file, file]
windows_size = 4
overlaped = 1
windows = get_all_overlapped_chunks(files_as_nested_list, windows_size, overlaped)
windowed_sensor1_file_1 = [[212, 1212], [1212, 4545]]
windowed_sensor2_file_1 = [[812, 1912], [1912, 1545]]
windowed_sensor1_file_2 = [[212, 1212], [1212, 4545]]
windowed_sensor2_file_2 = [[812, 1912], [1912, 1545]]
assert len(windows) == 2
assert windows == [
windowed_sensor1_file_1+windowed_sensor1_file_2,
windowed_sensor2_file_1+windowed_sensor2_file_2]
# def test_get_histogram_basic_on_kmean():
# clusters_number = 5
# file = [
# [(1, 2, 3), (3, 4, 5), (5, 6, 7)], [(9, 10, 11), (11, 12, 13), (13, 14, 15)]
# ]
#
# files_as_nested_list = [file, file]
# learnign_clusters = [(1, 1, 1,), (2, 2, 2,), (3, 3, 3,), (4, 4, 4,), (5, 5, 5,), (6, 6, 6,)]
#
# kmeans_models = [
# KMeans(n_clusters=clusters_number).fit(learnign_clusters),
# KMeans(n_clusters=clusters_number).fit(learnign_clusters)
# ]
# histogram = get_histogram_basic_on_kmean(clusters_number, kmeans_models, files_as_nested_list)
# # every_sensor * number_of clusters
# assert len(histogram[0]) == len(file) * clusters_number
# assert len(histogram[1]) == len(file) * clusters_number
| 41.837209 | 102 | 0.704002 | 489 | 3,598 | 4.783231 | 0.151329 | 0.076956 | 0.055579 | 0.072681 | 0.883283 | 0.874305 | 0.833262 | 0.802052 | 0.728516 | 0.728516 | 0 | 0.129065 | 0.179544 | 3,598 | 85 | 103 | 42.329412 | 0.663279 | 0.201223 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7e60f54ce4315dbbf6d65688b5e6453db771a588 | 14,381 | py | Python | selectable/tests/widgets.py | makinacorpus/django-selectable | 4fdd82ae1b4fd7324bff939242a5176b01b70b7f | [
"BSD-2-Clause"
] | null | null | null | selectable/tests/widgets.py | makinacorpus/django-selectable | 4fdd82ae1b4fd7324bff939242a5176b01b70b7f | [
"BSD-2-Clause"
] | null | null | null | selectable/tests/widgets.py | makinacorpus/django-selectable | 4fdd82ae1b4fd7324bff939242a5176b01b70b7f | [
"BSD-2-Clause"
] | null | null | null | from urlparse import urlparse
from django import forms
from django.utils.http import urlencode
from selectable.forms import widgets
from selectable.tests import Thing, ThingLookup
from selectable.tests.base import BaseSelectableTestCase
__all__ = (
'AutoCompleteWidgetTestCase',
'AutoCompleteSelectWidgetTestCase',
'AutoComboboxWidgetTestCase',
'AutoComboboxSelectWidgetTestCase',
'AutoCompleteSelectMultipleWidgetTestCase',
'AutoComboboxSelectMultipleWidgetTestCase',
)
class BaseWidgetTestCase(BaseSelectableTestCase):
widget_cls = None
lookup_cls = None
def get_widget_instance(self, **kwargs):
return self.__class__.widget_cls(self.__class__.lookup_cls, **kwargs)
def test_init(self):
widget = self.get_widget_instance()
self.assertEqual(widget.lookup_class, self.__class__.lookup_cls)
class AutoCompleteWidgetTestCase(BaseWidgetTestCase):
widget_cls = widgets.AutoCompleteWidget
lookup_cls = ThingLookup
def test_build_attrs(self):
widget = self.get_widget_instance()
attrs = widget.build_attrs()
self.assertTrue('data-selectable-url' in attrs)
self.assertTrue('data-selectable-type' in attrs)
self.assertTrue('data-selectable-allow-new' in attrs)
def test_update_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance()
widget.update_query_parameters(params)
attrs = widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
def test_limit_paramter(self):
widget = self.get_widget_instance(limit=10)
attrs = widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertTrue('limit=10' in query)
def test_initial_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance(query_params=params)
attrs = widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
class AutoCompleteSelectWidgetTestCase(BaseWidgetTestCase):
widget_cls = widgets.AutoCompleteSelectWidget
lookup_cls = ThingLookup
def test_has_complete_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[0].__class__, widgets.AutoCompleteWidget)
def test_has_hidden_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[1].__class__, forms.HiddenInput)
def test_hidden_type(self):
widget = self.get_widget_instance()
sub_widget = widget.widgets[1]
attrs = sub_widget.build_attrs()
self.assertTrue('data-selectable-type' in attrs)
self.assertEqual(attrs['data-selectable-type'], 'hidden')
def test_update_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance()
widget.update_query_parameters(params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
def test_limit_paramter(self):
widget = self.get_widget_instance(limit=10)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertTrue('limit=10' in query)
def test_initial_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance(query_params=params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
class AutoComboboxWidgetTestCase(BaseWidgetTestCase):
widget_cls = widgets.AutoComboboxWidget
lookup_cls = ThingLookup
def test_build_attrs(self):
widget = self.get_widget_instance()
attrs = widget.build_attrs()
self.assertTrue('data-selectable-url' in attrs)
self.assertTrue('data-selectable-type' in attrs)
self.assertTrue('data-selectable-allow-new' in attrs)
def test_update_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance()
widget.update_query_parameters(params)
attrs = widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
def test_limit_paramter(self):
widget = self.get_widget_instance(limit=10)
attrs = widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertTrue('limit=10' in query)
def test_initial_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance(query_params=params)
attrs = widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
class AutoComboboxSelectWidgetTestCase(BaseWidgetTestCase):
widget_cls = widgets.AutoComboboxSelectWidget
lookup_cls = ThingLookup
def test_has_complete_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[0].__class__, widgets.AutoComboboxWidget)
def test_has_hidden_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[1].__class__, forms.HiddenInput)
def test_hidden_type(self):
widget = self.get_widget_instance()
sub_widget = widget.widgets[1]
attrs = sub_widget.build_attrs()
self.assertTrue('data-selectable-type' in attrs)
self.assertEqual(attrs['data-selectable-type'], 'hidden')
def test_update_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance()
widget.update_query_parameters(params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
def test_limit_paramter(self):
widget = self.get_widget_instance(limit=10)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertTrue('limit=10' in query)
def test_initial_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance(query_params=params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
class AutoCompleteSelectMultipleWidgetTestCase(BaseWidgetTestCase):
widget_cls = widgets.AutoCompleteSelectMultipleWidget
lookup_cls = ThingLookup
def test_has_complete_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[0].__class__, widgets.AutoCompleteWidget)
def test_multiple_attr(self):
widget = self.get_widget_instance()
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
self.assertTrue('data-selectable-multiple' in attrs)
self.assertEqual(attrs['data-selectable-multiple'], 'true')
def test_has_hidden_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[1].__class__, widgets.LookupMultipleHiddenInput)
def test_hidden_type(self):
widget = self.get_widget_instance()
sub_widget = widget.widgets[1]
attrs = sub_widget.build_attrs()
self.assertTrue('data-selectable-type' in attrs)
self.assertEqual(attrs['data-selectable-type'], 'hidden-multiple')
def test_render_single(self):
widget = self.get_widget_instance()
val = 4
rendered_value = widget.render('field_name', val)
ev = 'data-selectable-type="hidden-multiple" type="hidden" name="field_name_1" value="%d"' % val
self.assertTrue(ev in rendered_value,
"Did not find:\n\t%s\nin rendered value:\n\t%s" % (ev, rendered_value))
def test_render_list(self):
widget = self.get_widget_instance()
list_val = [8, 5]
rendered_value = widget.render('field_name', list_val)
for v in list_val:
ev = 'data-selectable-type="hidden-multiple" type="hidden" name="field_name_1" value="%d"' % v
self.assertTrue(ev in rendered_value,
"Did not find:\n\t%s\nin rendered value:\n\t%s" % (ev, rendered_value))
def test_render_qs(self):
widget = self.get_widget_instance()
t1 = self.create_thing()
t2 = self.create_thing()
qs_val = Thing.objects.filter(pk__in=[t1.pk, t2.pk]).values_list('pk', flat=True)
rendered_value = widget.render('field_name', qs_val)
for t in qs_val:
ev = 'data-selectable-type="hidden-multiple" type="hidden" name="field_name_1" value="%d"' % t
self.assertTrue(ev in rendered_value,
"Did not find:\n\t%s\nin rendered value:\n\t%s" % (ev, rendered_value))
def test_update_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance()
widget.update_query_parameters(params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
def test_limit_paramter(self):
widget = self.get_widget_instance(limit=10)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertTrue('limit=10' in query)
def test_initial_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance(query_params=params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
class AutoComboboxSelectMultipleWidgetTestCase(BaseWidgetTestCase):
widget_cls = widgets.AutoComboboxSelectMultipleWidget
lookup_cls = ThingLookup
def test_has_complete_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[0].__class__, widgets.AutoComboboxWidget)
def test_multiple_attr(self):
widget = self.get_widget_instance()
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
self.assertTrue('data-selectable-multiple' in attrs)
self.assertEqual(attrs['data-selectable-multiple'], 'true')
def test_has_hidden_widget(self):
widget = self.get_widget_instance()
self.assertEqual(widget.widgets[1].__class__, widgets.LookupMultipleHiddenInput)
def test_hidden_type(self):
widget = self.get_widget_instance()
sub_widget = widget.widgets[1]
attrs = sub_widget.build_attrs()
self.assertTrue('data-selectable-type' in attrs)
self.assertEqual(attrs['data-selectable-type'], 'hidden-multiple')
def test_render_single(self):
widget = self.get_widget_instance()
val = 4
rendered_value = widget.render('field_name', val)
ev = 'data-selectable-type="hidden-multiple" type="hidden" name="field_name_1" value="%d"' % val
self.assertTrue(ev in rendered_value,
"Did not find:\n\t%s\nin rendered value:\n\t%s" % (ev, rendered_value))
def test_render_list(self):
widget = self.get_widget_instance()
list_val = [8, 5]
rendered_value = widget.render('field_name', list_val)
for v in list_val:
ev = 'data-selectable-type="hidden-multiple" type="hidden" name="field_name_1" value="%d"' % v
self.assertTrue(ev in rendered_value,
"Did not find:\n\t%s\nin rendered value:\n\t%s" % (ev, rendered_value))
def test_render_qs(self):
widget = self.get_widget_instance()
t1 = self.create_thing()
t2 = self.create_thing()
qs_val = Thing.objects.filter(pk__in=[t1.pk, t2.pk]).values_list('pk', flat=True)
rendered_value = widget.render('field_name', qs_val)
for t in qs_val:
ev = 'data-selectable-type="hidden-multiple" type="hidden" name="field_name_1" value="%d"' % t
self.assertTrue(ev in rendered_value,
"Did not find:\n\t%s\nin rendered value:\n\t%s" % (ev, rendered_value))
def test_update_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance()
widget.update_query_parameters(params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
def test_limit_paramter(self):
widget = self.get_widget_instance(limit=10)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertTrue('limit=10' in query)
def test_initial_query_parameters(self):
params = {'active': 1}
widget = self.get_widget_instance(query_params=params)
sub_widget = widget.widgets[0]
attrs = sub_widget.build_attrs()
url = attrs['data-selectable-url']
parse = urlparse(url)
query = parse.query
self.assertEqual(query, urlencode(params))
| 37.844737 | 106 | 0.664071 | 1,699 | 14,381 | 5.391995 | 0.061212 | 0.053488 | 0.077939 | 0.085034 | 0.874904 | 0.874904 | 0.874904 | 0.874904 | 0.874904 | 0.869228 | 0 | 0.007385 | 0.22787 | 14,381 | 379 | 107 | 37.944591 | 0.817633 | 0 | 0 | 0.896226 | 0 | 0.018868 | 0.133797 | 0.039638 | 0 | 0 | 0 | 0 | 0.160377 | 1 | 0.132075 | false | 0 | 0.018868 | 0.003145 | 0.220126 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7e8d4c006832b094575431b721018aea316dcb3a | 40,210 | py | Python | tip_tracking.py | liberjul/Hyphal_feature_tracking | f20e348baa388c1bfbf4878691274e9ad3b285b1 | [
"MIT"
] | 5 | 2019-12-16T19:14:22.000Z | 2021-08-08T07:51:11.000Z | tip_tracking.py | liberjul/Hyphal_feature_tracking | f20e348baa388c1bfbf4878691274e9ad3b285b1 | [
"MIT"
] | null | null | null | tip_tracking.py | liberjul/Hyphal_feature_tracking | f20e348baa388c1bfbf4878691274e9ad3b285b1 | [
"MIT"
] | null | null | null | import numpy as np
import os, glob, imageio, sys, time
import pandas as pd
import tensorflow as tf
import matplotlib.pyplot as plt
from scipy.spatial import distance_matrix
from object_detection.utils import label_map_util
from object_detection.utils import visualization_utils as vis_util
def load_image_into_numpy_array(image):
(im_width, im_height) = image.size
return np.array(image.getdata()).reshape(
(im_height, im_width, 3)).astype(np.uint8)
def save_image(data, filename):
sizes = np.shape(data)
fig = plt.figure(figsize=(1,1))
ax = plt.Axes(fig, [0., 0., 1., 1.])
ax.set_axis_off()
fig.add_axes(ax)
ax.imshow(data, cmap = plt.get_cmap("bone"))
plt.savefig(filename,dpi = 1200)
plt.close()
def calc_velocity(box_dat1, box_dat2, edge_file=None, frame_num1=None, frame_num2=None):
dist = distance_matrix(box_dat1, box_dat2) # calculate euclidean distances between all high-confidence tips
min_dists = np.amin(dist, axis=0) # Find the minimum distance between boxes
arg_min_dist = np.argmin(dist, axis=0) # Find the index of the minimum distance
mid_y = (box_dat2[np.arange(len(min_dists)), 0] + box_dat1[arg_min_dist, 0])/2 # y coord of segment midpoint
mid_x = (box_dat2[np.arange(len(min_dists)), 1] + box_dat1[arg_min_dist, 1])/2 # x coord of segment midpoint
delta_y = box_dat2[np.arange(len(min_dists)), 0] - box_dat1[arg_min_dist, 0] # Change in y
delta_x = box_dat2[np.arange(len(min_dists)), 1] - box_dat1[arg_min_dist, 1] # Change in x
norm_dy, norm_dx = delta_y/min_dists, delta_x/min_dists # normalize by distance
if edge_file != None:
rev_dist = distance_matrix(box_dat2, box_dat1)
rev_min_dists = np.amin(dist, axis=0) # Find the minimum distance between boxes
rev_arg_min_dist = np.argmin(dist, axis=0) # Find the index of the minimum distance
buffer = ""
for i in range(len(rev_min_dists)):
buffer += F"{frame_num2}_{i:02d},{frame_num1}_{rev_arg_min_dist[i]:02d},{box_dat2[i,0]},{box_dat2[i,1]},{box_dat1[rev_arg_min_dist[i],0]},{box_dat1[rev_arg_min_dist[i],1]},{rev_min_dists[i]}\n"
with open(edge_file, "a+") as ofile:
ofile.write(buffer)
return min_dists, norm_dy, norm_dx, mid_y, mid_x
def time_scatter_plot(times, intervals, pref):
plt.scatter(times, intervals)
plt.xlabel("Frame")
plt.ylabel("Speed of tip movement (um/min)")
plt.title("Hyphal tip speed progression")
plt.savefig(F"{pref}speed_vs_time.jpg", dpi=1000)
def interval_hist(intervals, pref):
plt.hist(intervals, bins = 30)
plt.xlabel("Speed of tip movement (um/min)")
plt.ylabel("Count")
plt.title("Distribution of hyphal tip speeds")
plt.savefig(F"{pref}speed_distribution.jpg", dpi=1000)
def segment_image(split, im):
h, w = im.shape[1:3]
h_pix, w_pix = int(h/split), int(w/split)
im_list = []
for x, y in zip(np.repeat(np.arange(split), split), np.tile(np.arange(split), split)):
im_list.append(im[:,h_pix*x:h_pix*(x+1),w_pix*y:w_pix*(y+1),:])
return im_list
def use_model(PREF, PATH_TO_CKPT='./training/frozen_inference_graph_v4.pb',
PATH_TO_LABELS='./annotations/label_map.pbtxt', PATH_TO_IMS = './test_ims/',
PATH_TO_ANNOT_IMS='./model_annots/', CSV_ONLY=False, FRAME_HEIGHT=989.9,
FRAME_WIDTH=1319.9, FRAME_TIME=1.0, CONF_THR=0.3, OUTLIER_PROP=0.80,
NUM_CLASSES=1, PATH_TO_CSV=None, SPEED_DAT_CSV=None, LOG_FILE=None,
EDGELIST_FILE=None, REANNOTATE=True, SPLIT=None,
FILE_EXT="jpg"):
'''
Args:
PREF: Image file prefix.
PATH_TO_CKPT: Path to frozen detection graph. This is the actual model that is used for the object detection.
PATH_TO_LABELS: List of the strings that is used to add correct label for each box.
PATH_TO_IMS: Path to image files.
PATH_TO_ANNOT_IMS: Path to directory to store annotated images.
CSV_ONLY: True if only comma-seperated value file outputs is desired.
FRAME_HEIGHT: Frame HEIGHT in um, depends on microscope and magnification.
FRAME_WIDTH: Frame width in um, depends on microscope and magnification.
FRAME_TIME: Minutes between frames.
CONF_THR: Confidence threshold to use for annotations, as a float.
OUTLIER_PROP: Proportion of distances above which are considered outliers.
NUM_CLASSES: Number of classes to detect
PATH_TO_CSV: Path to exported CSV of box annotations.
SPEED_DAT_CSV: Name for speed data file.
LOG_FILE: Name for log file for timing data.
EDGELIST_FILE: Name for a file to export nearest
REANNOTATE: If rerunning annotation should be performed.
SPLIT: Int (None) - If not none, segments image into SPLIT^2 images before prediction.
FILE_EXT: str ('jpg') File extension of images used for annotation. Must be readable by matplotlib.plyplot.imread().
'''
if LOG_FILE != None:
d_graph, l_and_c, box_time, int_create_time, int_exp_time, vid_exp_time = 0., 0., 0., 0., 0., 0.
start = time.clock()
CONF_PER = int(100 * CONF_THR)
if PATH_TO_CSV == None:
PATH_TO_CSV = F"box_data_{PREF}.csv"
if SPEED_DAT_CSV == None:
SPEED_DAT_CSV = F"{PREF}speed_data.csv"
if EDGELIST_FILE != None:
with open(EDGELIST_FILE, "w") as ofile:
ofile.write("node_1,node_2,y1,x1,y2,x2,dist\n")
# Load a (frozen) Tensorflow model into memory.
if REANNOTATE:
detection_graph = tf.Graph()
with detection_graph.as_default():
od_graph_def = tf.compat.v1.GraphDef()
with tf.io.gfile.GFile(PATH_TO_CKPT, 'rb') as fid:
serialized_graph = fid.read()
od_graph_def.ParseFromString(serialized_graph)
tf.import_graph_def(od_graph_def, name='')
if LOG_FILE != None:
d_graph = time.clock()
# Loading label map
# Label maps map indices to category names
label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
categories = label_map_util.convert_label_map_to_categories(
label_map, max_num_classes=NUM_CLASSES, use_display_name=True)
category_index = label_map_util.create_category_index(categories)
if LOG_FILE != None:
l_and_c = time.clock()
if not os.path.exists(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/") and not CSV_ONLY:
os.mkdir(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/")
elif not CSV_ONLY:
print("Overwritting annotated images")
if not os.path.exists(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/") and not CSV_ONLY:
os.mkdir(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/")
nn_clock_start = time.clock()
with detection_graph.as_default():
with tf.compat.v1.Session(graph=detection_graph) as sess:
with open(PATH_TO_CSV, "w") as file:
file.write("Frame,box1,box2,box3,box4,score,class\n")
test_ims = glob.glob(F"{PATH_TO_IMS}{PREF}*.{FILE_EXT}")
test_ims.sort()
all_ims = []
for i in test_ims:
# Read frame from camera
image_np = plt.imread(i).copy()
if len(image_np.shape) == 2 or image_np.shape[2] == 1:
image_np = np.stack((image_np,)*3, axis=-1)
# Expand dimensions since the model expects images to have shape: [1, None, None, 3]
image_np_expanded = np.expand_dims(image_np, axis=0)
if SPLIT == None:
# Extract image tensor
image_tensor = detection_graph.get_tensor_by_name('image_tensor:0')
# Extract detection boxes
boxes = detection_graph.get_tensor_by_name('detection_boxes:0')
# Extract detection scores
scores = detection_graph.get_tensor_by_name('detection_scores:0')
# Extract detection classes
classes = detection_graph.get_tensor_by_name('detection_classes:0')
# Extract number of detectionsd
num_detections = detection_graph.get_tensor_by_name(
'num_detections:0')
(boxes, scores, classes, num_detections) = sess.run(
[boxes, scores, classes, num_detections],
feed_dict={image_tensor: image_np_expanded}) # Actual detection.
# Visualization of the results of a detection.
buffer = ""
for x in range(np.squeeze(boxes).shape[0]):
buffer += F"{os.path.basename(i).split('.')[0]},{np.squeeze(boxes)[x,0]},{np.squeeze(boxes)[x,1]},{np.squeeze(boxes)[x,2]},{np.squeeze(boxes)[x,3]},{np.squeeze(scores)[x]},{np.squeeze(classes)[x]}\n"
file.write(buffer)
if not CSV_ONLY:
vis_util.visualize_boxes_and_labels_on_image_array(
image_np,
np.squeeze(boxes),
np.squeeze(classes).astype(np.int32),
np.squeeze(scores),
category_index,
use_normalized_coordinates=True,
line_thickness=4,
max_boxes_to_draw=100,
min_score_thresh=CONF_THR)
save_image(image_np, F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/{os.path.basename(i).split('.')[0]}_annot.jpg")
all_ims.append(image_np)
print(i, "\t", time.clock() - nn_clock_start)
else:
# Extract image tensor
image_tensor = detection_graph.get_tensor_by_name('image_tensor:0')
spl_fac = 1/SPLIT
im_segmented_list = segment_image(SPLIT, image_np_expanded)
boxes_all, scores_all, classes_all = [np.empty((1,0,4)), np.empty((1,0)), np.empty((1,0))]
for r, c, im_seg in zip(np.repeat(np.arange(SPLIT), SPLIT), np.tile(np.arange(SPLIT), SPLIT), im_segmented_list):
# Actual detection.
boxes_seg = detection_graph.get_tensor_by_name('detection_boxes:0')
# Extract detection scores
scores_seg = detection_graph.get_tensor_by_name('detection_scores:0')
# Extract detection classes
classes_seg = detection_graph.get_tensor_by_name('detection_classes:0')
# Extract number of detectionsd
num_detections_seg = detection_graph.get_tensor_by_name(
'num_detections:0')
buffer = ""
(boxes_seg, scores_seg, classes_seg, num_detections_seg) = sess.run(
[boxes_seg, scores_seg, classes_seg, num_detections_seg],
feed_dict={image_tensor: im_seg})
# Visualization of the results of a detection.
buffer = ""
for x in range(np.squeeze(boxes_seg).shape[0]):
buffer += F"{os.path.basename(i).split('.')[0]},{np.squeeze(boxes_seg)[x,0]*spl_fac + r*spl_fac},{np.squeeze(boxes_seg)[x,1]*spl_fac + c*spl_fac},"
buffer += F"{np.squeeze(boxes_seg)[x,2]*spl_fac + r*spl_fac},{np.squeeze(boxes_seg)[x,3]*spl_fac + c*spl_fac},{np.squeeze(scores_seg)[x]},{np.squeeze(classes_seg)[x]}\n"
file.write(buffer)
boxes_seg = np.stack((boxes_seg[:,:,0]*spl_fac + r*spl_fac,
boxes_seg[:,:,1]*spl_fac + c*spl_fac,
boxes_seg[:,:,2]*spl_fac + r*spl_fac,
boxes_seg[:,:,3]*spl_fac + c*spl_fac), axis=-1)
boxes_all = np.hstack((boxes_all, boxes_seg))
scores_all = np.hstack((scores_all, scores_seg))
classes_all = np.hstack((classes_all, classes_seg))
if not CSV_ONLY:
print("Boxes shape, ", boxes_all.shape, classes_all.shape, scores_all.shape)
vis_util.visualize_boxes_and_labels_on_image_array(
image_np,
np.squeeze(boxes_all),
np.squeeze(classes_all).astype(np.int32),
np.squeeze(scores_all),
category_index,
use_normalized_coordinates=True,
line_thickness=4,
max_boxes_to_draw=100*SPLIT**2,
min_score_thresh=CONF_THR)
save_image(image_np, F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/{os.path.basename(i).split('.')[0]}_annot.jpg")
all_ims.append(image_np)
print(i, "\t", time.clock() - nn_clock_start)
if LOG_FILE != None:
box_time = time.clock()
# Saves annotated frames to a .mp4 file
if not CSV_ONLY:
imageio.mimsave(F"./model_annots/{PREF}annot_{CONF_PER}pc_thresh.mp4", all_ims, fps=15) # Display output
ims = glob.glob(F"{PATH_TO_IMS}{PREF}*.{FILE_EXT}") # Gets list of all saved images
ims.sort() # Sorts alphabetically
ims_base = [] # List to store basenames without extension
for i in ims:
ims_base.append(os.path.basename(i).split(".")[0])
intervals = np.array([]) # array to store distance intervals between tips
times = np.array([]) # array to store times for each interval
mid_y_arr, mid_x_arr = np.array([]), np.array([]) # x and y coords midpoint of tip-connecting segment
dy_comps, dx_comps = np.array([]), np.array([]) # normalized x and y components of tip movement
medians = [] # List to store median distance for each frame
box_dat = pd.read_csv(PATH_TO_CSV) # Box position data, also tip position data
# Extract center coordinates of boxes
box_dat["ycoord"] = (box_dat.box1 + box_dat.box3)/2*(FRAME_HEIGHT)
box_dat["xcoord"] = (box_dat.box2 + box_dat.box4)/2*(FRAME_WIDTH)
# Select frame which meet these criterea: 1) the first frame and 2) are above confidence threshold
box_dat_sub1 = np.array(box_dat[(box_dat.Frame == ims_base[0]) & (box_dat.score > CONF_THR)].iloc[:,7:])
if CSV_ONLY:
for i in range(len(ims_base)-1): # For each frame
box_dat_sub2 = np.array(box_dat[(box_dat.Frame == ims_base[i+1]) & (box_dat.score > CONF_THR)].iloc[:,7:]) # Extract the next frame's box data
if (box_dat_sub1.shape[0] > 0) & (box_dat_sub2.shape[0] > 0):
if EDGELIST_FILE != None:
min_dists, norm_dy, norm_dx, mid_y, mid_x = calc_velocity(box_dat_sub1, box_dat_sub2, edge_file=EDGELIST_FILE, frame_num1=ims_base[i], frame_num2=ims_base[i+1])
else:
min_dists, norm_dy, norm_dx, mid_y, mid_x = calc_velocity(box_dat_sub1, box_dat_sub2)
intervals = np.concatenate((intervals, min_dists)) # Add minimum distances to intervals array
mid_y_arr = np.concatenate((mid_y_arr, mid_y))
mid_x_arr = np.concatenate((mid_x_arr, mid_x))
dy_comps = np.concatenate((dy_comps, norm_dy))
dx_comps = np.concatenate((dx_comps, norm_dx))
times = np.concatenate((times, np.repeat(i*FRAME_TIME, len(min_dists)))) # Add frame number to times
box_dat_sub1 = box_dat_sub2
if LOG_FILE != None:
int_create_time = time.clock()
# Create dataframe to store output
speed_dat = pd.DataFrame({"Time" : times, "Speed" : intervals, "Y_component" : dy_comps, "X_component" : dx_comps, "Y_mid" : mid_y_arr, "X_mid" : mid_x_arr})
# Export dataframe as CSV file
speed_dat.to_csv(SPEED_DAT_CSV)
if LOG_FILE != None:
int_exp_time = time.clock()
else:
for i in range(len(ims_base)-1): # For each frame
im2 = plt.imread(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/{ims_base[i+1]}_annot.jpg") # Read in the next frame as an array
box_dat_sub2 = np.array(box_dat[(box_dat.Frame == ims_base[i+1]) & (box_dat.score > CONF_THR)].iloc[:,7:]) # Extract the next frame's box data
if (box_dat_sub1.shape[0] > 0) & (box_dat_sub2.shape[0] > 0):
if EDGELIST_FILE != None:
min_dists, norm_dy, norm_dx, mid_y, mid_x = calc_velocity(box_dat_sub1, box_dat_sub2, edge_file=EDGELIST_FILE, frame_num1=ims_base[i], frame_num2=ims_base[i+1])
else:
min_dists, norm_dy, norm_dx, mid_y, mid_x = calc_velocity(box_dat_sub1, box_dat_sub2)
intervals = np.concatenate((intervals, min_dists)) # Add minimum distances to intervals array
mid_y_arr = np.concatenate((mid_y_arr, mid_y))
mid_x_arr = np.concatenate((mid_x_arr, mid_x))
dy_comps = np.concatenate((dy_comps, norm_dy))
dx_comps = np.concatenate((dx_comps, norm_dx))
times = np.concatenate((times, np.repeat(i*FRAME_TIME, len(min_dists)))) # Add frame number to times
if LOG_FILE != None:
int_create_time = time.clock()
ints_wo_outliers = intervals[intervals < np.quantile(intervals, OUTLIER_PROP)] # Remove top proportion as outliers
medians.append(np.median(ints_wo_outliers)) # Store median of distances
plt.clf() # Clear figure
# Set up figure with subplots
fig = plt.figure()
gs = fig.add_gridspec(3,2)
ax1 = fig.add_subplot(gs[0,0])
ax2 = fig.add_subplot(gs[0,1])
ax3 = fig.add_subplot(gs[1:3,:])
# Plot median line chart
ax1.plot(medians)
ax1.set_ylabel("Median tip speed (um/min)")
ax1.set_xlabel("Frame number")
ax1.set_title("Median hyphal tip speed")
# Plot histogram of tip speeds/intervals
ax2.hist(ints_wo_outliers, bins = 30)
ax2.set_xlabel("Tip speed (um/min)")
ax2.set_ylabel("Count")
ax2.set_title("Distribution of hyphal tip speeds")
ax2.axis("tight")
# Show annotated images
ax3.imshow(im2)
ax3.axis("off")
plt.tight_layout()
# Save the annotated figure
plt.savefig(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/{ims_base[i+1]}_annot_w_hist.jpg", dpi=400)
# Next frame
box_dat_sub1 = box_dat_sub2
# Create dataframe to store output
speed_dat = pd.DataFrame({"Time" : times, "Speed" : intervals, "Y_component" : dy_comps, "X_component" : dx_comps, "Y_mid" : mid_y_arr, "X_mid" : mid_x_arr})
# Export dataframe as CSV file
speed_dat.to_csv(SPEED_DAT_CSV)
# Slice the intervals and time array to remove "outliers"
ints_wo_outliers = intervals[intervals < np.quantile(intervals, .80)]
times_wo_outliers = times[intervals < np.quantile(intervals, .80)]
# Plot final histogram of intervals
plt.clf()
interval_hist(ints_wo_outliers, PREF)
# Plot scatter of intervals vs time
plt.clf()
time_scatter_plot(times_wo_outliers, ints_wo_outliers, PREF)
# Get paths of images with charts
hist_and_box = glob.glob(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/*_annot_w_hist.jpg")
hist_and_box.sort() # Sort to correct order
all_ims = [] # List to store image arrays
for i in hist_and_box:
all_ims.append(plt.imread(i).copy()) # Add arrays to list
# Save video with charts and annotated images
if LOG_FILE != None:
int_exp_time = time.clock()
imageio.mimsave(F"./model_annots/{PREF}annot_{CONF_PER}pc_thresh_w_hist.mp4", all_ims, fps=15)
if LOG_FILE != None:
vid_exp_time = time.clock()
if LOG_FILE != None:
with open(LOG_FILE, "a+") as lfile:
lfile.write(F"Load detection graph : {d_graph-start}\nLabel and category : {l_and_c-d_graph}\nBox calculation : {box_time-l_and_c}\n")
lfile.write(F"Create interval data : {int_create_time-box_time}\nExport interval data : {int_exp_time-int_create_time}\n")
if not CSV_ONLY:
lfile.write(F"Video export time: {vid_exp_time-int_exp_time}")
def use_model_multiple(PREFS, PATH_TO_CKPT='./training/frozen_inference_graph_v4.pb',
PATH_TO_LABELS='./annotations/label_map.pbtxt', PATH_TO_IMS = './test_ims/',
PATH_TO_ANNOT_IMS='./model_annots/', CSV_ONLY=False, FRAME_HEIGHT=989.9,
FRAME_WIDTH=1319.9, FRAME_TIME=1.0, CONF_THR=0.3, OUTLIER_PROP=0.80,
NUM_CLASSES=1, PATHS_TO_CSVS=None, SPEED_DAT_CSVS=None, LOG_FILE=None, SPLIT=None,
FILE_EXT="jpg"):
'''
Args:
PREFS: Image file prefix list.
PATH_TO_CKPT: Path to frozen detection graph. This is the actual model that is used for the object detection.
PATH_TO_LABELS: List of the strings that is used to add correct label for each box.
PATH_TO_IMS: Path to image files.
PATH_TO_ANNOT_IMS: Path to directory to store annotated images.
CSV_ONLY: True if only comma-seperated value file outputs is desired.
FRAME_HEIGHT: Frame HEIGHT in um, depends on microscope and magnification.
FRAME_WIDTH: Frame width in um, depends on microscope and magnification.
FRAME_TIME: Minutes between frames.
CONF_THR: Confidence threshold to use for annotations, as a float.
OUTLIER_PROP: Proportion of distances above which are considered outliers.
NUM_CLASSES: Number of classes to detect
PATHS_TO_CSVS: Path to exported CSVs of box annotations, as a list. Must correspond to order of PREFS.
SPEED_DAT_CSVS: Name for speed data files, as a list. Must correspond to order of PREFS.
LOG_FILE: Name for log file for timing data.
SPLIT: Int (None) - If not none, segments image into SPLIT^2 images before prediction.
FILE_EXT: str ('jpg') File extension of images used for annotation. Must be readable by matplotlib.plyplot.imread().
'''
if LOG_FILE != None:
d_graph, l_and_c, box_time, int_create_time, int_exp_time, vid_exp_time = 0., 0., 0., 0., 0., 0.
start = time.clock()
CONF_PER = int(100 * CONF_THR)
# Load a (frozen) Tensorflow model into memory.
detection_graph = tf.Graph()
with detection_graph.as_default():
od_graph_def = tf.compat.v1.GraphDef()
with tf.io.gfile.GFile(PATH_TO_CKPT, 'rb') as fid:
serialized_graph = fid.read()
od_graph_def.ParseFromString(serialized_graph)
tf.import_graph_def(od_graph_def, name='')
if LOG_FILE != None:
d_graph = time.clock()
# Loading label map
# Label maps map indices to category names
label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
categories = label_map_util.convert_label_map_to_categories(
label_map, max_num_classes=NUM_CLASSES, use_display_name=True)
category_index = label_map_util.create_category_index(categories)
if LOG_FILE != None:
l_and_c = time.clock()
with detection_graph.as_default():
with tf.compat.v1.Session(graph=detection_graph) as sess:
if PATHS_TO_CSVS == None:
PATHS_TO_CSVS = []
for PREF in PREFS:
PATH_TO_CSVS.append(F"box_data_{PREF}.csv")
for PATH_TO_CSV, PREF in zip(PATHS_TO_CSVS, PREFS):
if not os.path.exists(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/") and not CSV_ONLY:
os.mkdir(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/")
elif not CSV_ONLY:
print("Overwritting annotated images")
if not os.path.exists(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/") and not CSV_ONLY:
os.mkdir(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/")
with open(PATH_TO_CSV, "w") as file:
file.write("Frame,box1,box2,box3,box4,score,class\n")
test_ims = glob.glob(F"{PATH_TO_IMS}{PREF}*.{FILE_EXT}")
test_ims.sort()
all_ims = []
for i in test_ims:
print(i)
# Read frame from camera
image_np = plt.imread(i).copy()
if len(image_np.shape) == 2 or image_np.shape[2] == 1:
image_np = np.stack((image_np,)*3, axis=-1)
# Expand dimensions since the model expects images to have shape: [1, None, None, 3]
image_np_expanded = np.expand_dims(image_np, axis=0)
if SPLIT == None:
# Extract image tensor
image_tensor = detection_graph.get_tensor_by_name('image_tensor:0')
# Extract detection boxes
boxes = detection_graph.get_tensor_by_name('detection_boxes:0')
# Extract detection scores
scores = detection_graph.get_tensor_by_name('detection_scores:0')
# Extract detection classes
classes = detection_graph.get_tensor_by_name('detection_classes:0')
# Extract number of detectionsd
num_detections = detection_graph.get_tensor_by_name(
'num_detections:0')
# Actual detection.
(boxes, scores, classes, num_detections) = sess.run(
[boxes, scores, classes, num_detections],
feed_dict={image_tensor: image_np_expanded})
# Visualization of the results of a detection.
buffer = ""
for x in range(np.squeeze(boxes).shape[0]):
buffer += F"{os.path.basename(i).split('.')[0]},{np.squeeze(boxes)[x,0]},{np.squeeze(boxes)[x,1]},{np.squeeze(boxes)[x,2]},{np.squeeze(boxes)[x,3]},{np.squeeze(scores)[x]},{np.squeeze(classes)[x]}\n"
file.write(buffer)
if not CSV_ONLY:
vis_util.visualize_boxes_and_labels_on_image_array(
image_np,
np.squeeze(boxes),
np.squeeze(classes).astype(np.int32),
np.squeeze(scores),
category_index,
use_normalized_coordinates=True,
line_thickness=4,
max_boxes_to_draw=100,
min_score_thresh=CONF_THR)
save_image(image_np, F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/{os.path.basename(i).split('.')[0]}_annot.jpg")
all_ims.append(image_np)
else:
image_tensor = detection_graph.get_tensor_by_name('image_tensor:0')
spl_fac = 1/SPLIT
im_segmented_list = segment_image(SPLIT, image_np_expanded)
boxes_all, scores_all, classes_all = [np.empty((1,0,4)), np.empty((1,0)), np.empty((1,0))]
for r, c, im_seg in zip(np.repeat(np.arange(SPLIT), SPLIT), np.tile(np.arange(SPLIT), SPLIT), im_segmented_list):
# Actual detection.
boxes_seg = detection_graph.get_tensor_by_name('detection_boxes:0')
# Extract detection scores
scores_seg = detection_graph.get_tensor_by_name('detection_scores:0')
# Extract detection classes
classes_seg = detection_graph.get_tensor_by_name('detection_classes:0')
# Extract number of detectionsd
num_detections_seg = detection_graph.get_tensor_by_name(
'num_detections:0')
buffer = ""
(boxes_seg, scores_seg, classes_seg, num_detections_seg) = sess.run(
[boxes_seg, scores_seg, classes_seg, num_detections_seg],
feed_dict={image_tensor: im_seg})
# Visualization of the results of a detection.
buffer = ""
for x in range(np.squeeze(boxes_seg).shape[0]):
buffer += F"{os.path.basename(i).split('.')[0]},{np.squeeze(boxes_seg)[x,0]*spl_fac + r*spl_fac},{np.squeeze(boxes_seg)[x,1]*spl_fac + c*spl_fac},"
buffer += F"{np.squeeze(boxes_seg)[x,2]*spl_fac + r*spl_fac},{np.squeeze(boxes_seg)[x,3]*spl_fac + c*spl_fac},{np.squeeze(scores_seg)[x]},{np.squeeze(classes_seg)[x]}\n"
file.write(buffer)
boxes_seg = np.stack((boxes_seg[:,:,0]*spl_fac + r*spl_fac,
boxes_seg[:,:,1]*spl_fac + c*spl_fac,
boxes_seg[:,:,2]*spl_fac + r*spl_fac,
boxes_seg[:,:,3]*spl_fac + c*spl_fac), axis=-1)
boxes_all = np.hstack((boxes_all, boxes_seg))
scores_all = np.hstack((scores_all, scores_seg))
classes_all = np.hstack((classes_all, classes_seg))
if not CSV_ONLY:
print("Boxes shape, ", boxes_all.shape, classes_all.shape, scores_all.shape)
vis_util.visualize_boxes_and_labels_on_image_array(
image_np,
np.squeeze(boxes_all),
np.squeeze(classes_all).astype(np.int32),
np.squeeze(scores_all),
category_index,
use_normalized_coordinates=True,
line_thickness=4,
max_boxes_to_draw=100*SPLIT**2,
min_score_thresh=CONF_THR)
save_image(image_np, F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/{os.path.basename(i).split('.')[0]}_annot.jpg")
all_ims.append(image_np)
if SPEED_DAT_CSVS == None:
SPEED_DAT_CSVS = []
for PREF in PREFS:
SPEED_DAT_CSVS.append(F"{PREF}speed_data.csv")
for PATH_TO_CSV, SPEED_DAT_CSV, PREF in zip(PATHS_TO_CSVS, SPEED_DAT_CSVS, PREFS):
if LOG_FILE != None:
box_time = time.clock()
# Saves annotated frames to a .mp4 file
if not CSV_ONLY:
imageio.mimsave(F"./model_annots/{PREF}annot_{CONF_PER}pc_thresh.mp4", all_ims, fps=15) # Display output
ims = glob.glob(F"{PATH_TO_IMS}{PREF}*.{FILE_EXT}") # Gets list of all saved images
ims.sort() # Sorts alphabetically
ims_base = [] # List to store basenames without extension
for i in ims:
ims_base.append(os.path.basename(i).split(".")[0])
intervals = np.array([]) # array to store distance intervals between tips
times = np.array([]) # array to store times for each interval
mid_y_arr, mid_x_arr = np.array([]), np.array([]) # x and y coords midpoint of tip-connecting segment
dy_comps, dx_comps = np.array([]), np.array([]) # normalized x and y components of tip movement
medians = [] # List to store median distance for each frame
box_dat = pd.read_csv(PATH_TO_CSV) # Box position data, also tip position data
# Extract center coordinates of boxes
box_dat["ycoord"] = (box_dat.box1 + box_dat.box3)/2*(FRAME_HEIGHT)
box_dat["xcoord"] = (box_dat.box2 + box_dat.box4)/2*(FRAME_WIDTH)
# Select frame which meet these criterea: 1) the first frame and 2) are above confidence threshold
box_dat_sub1 = np.array(box_dat[(box_dat.Frame == ims_base[0]) & (box_dat.score > CONF_THR)].iloc[:,7:])
if CSV_ONLY:
for i in range(len(ims_base)-1): # For each frame
box_dat_sub2 = np.array(box_dat[(box_dat.Frame == ims_base[i+1]) & (box_dat.score > CONF_THR)].iloc[:,7:]) # Extract the next frame's box data
if (box_dat_sub1.shape[0] > 0) & (box_dat_sub2.shape[0] > 0):
min_dists, norm_dy, norm_dx, mid_y, mid_x = calc_velocity(box_dat_sub1, box_dat_sub2)
intervals = np.concatenate((intervals, min_dists)) # Add minimum distances to intervals array
mid_y_arr = np.concatenate((mid_y_arr, mid_y))
mid_x_arr = np.concatenate((mid_x_arr, mid_x))
dy_comps = np.concatenate((dy_comps, norm_dy))
dx_comps = np.concatenate((dx_comps, norm_dx))
times = np.concatenate((times, np.repeat(i*FRAME_TIME, len(min_dists)))) # Add frame number to times
box_dat_sub1 = box_dat_sub2
if LOG_FILE != None:
int_create_time = time.clock()
# Create dataframe to store output
speed_dat = pd.DataFrame({"Time" : times, "Speed" : intervals, "Y_component" : dy_comps, "X_component" : dx_comps, "Y_mid" : mid_y_arr, "X_mid" : mid_x_arr})
# Export dataframe as CSV file
speed_dat.to_csv(SPEED_DAT_CSV)
if LOG_FILE != None:
int_exp_time = time.clock()
else:
for i in range(len(ims_base)-1): # For each frame
im2 = plt.imread(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh/{ims_base[i+1]}_annot.jpg") # Read in the next frame as an array
box_dat_sub2 = np.array(box_dat[(box_dat.Frame == ims_base[i+1]) & (box_dat.score > CONF_THR)].iloc[:,7:]) # Extract the next frame's box data
if (box_dat1.shape[0] > 0) & (box_dat2.shape[0] > 0):
min_dists, norm_dy, norm_dx, mid_y, mid_x = calc_velocity(box_dat_sub1, box_dat_sub2)
intervals = np.concatenate((intervals, min_dists)) # Add minimum distances to intervals array
mid_y_arr = np.concatenate((mid_y_arr, mid_y))
mid_x_arr = np.concatenate((mid_x_arr, mid_x))
dy_comps = np.concatenate((dy_comps, norm_dy))
dx_comps = np.concatenate((dx_comps, norm_dx))
times = np.concatenate((times, np.repeat(i*FRAME_TIME, len(min_dists)))) # Add frame number to times
if LOG_FILE != None:
int_create_time = time.clock()
ints_wo_outliers = intervals[intervals < np.quantile(intervals, OUTLIER_PROP)] # Remove top proportion as outliers
medians.append(np.median(ints_wo_outliers)) # Store median of distances
plt.clf() # Clear figure
# Set up figure with subplots
fig = plt.figure()
gs = fig.add_gridspec(3,2)
ax1 = fig.add_subplot(gs[0,0])
ax2 = fig.add_subplot(gs[0,1])
ax3 = fig.add_subplot(gs[1:3,:])
# Plot median line chart
ax1.plot(medians)
ax1.set_ylabel("Median tip speed (um/min)")
ax1.set_xlabel("Frame number")
ax1.set_title("Median hyphal tip speed")
# Plot histogram of tip speeds/intervals
ax2.hist(ints_wo_outliers, bins = 30)
ax2.set_xlabel("Tip speed (um/min)")
ax2.set_ylabel("Count")
ax2.set_title("Distribution of hyphal tip speeds")
ax2.axis("tight")
# Show annotated images
ax3.imshow(im2)
ax3.axis("off")
plt.tight_layout()
# Save the annotated figure
plt.savefig(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/{ims_base[i+1]}_annot_w_hist.jpg", dpi=400)
# Next frame
box_dat_sub1 = box_dat_sub2
# Create dataframe to store output
speed_dat = pd.DataFrame({"Time" : times, "Speed" : intervals, "Y_component" : dy_comps, "X_component" : dx_comps, "Y_mid" : mid_y_arr, "X_mid" : mid_x_arr})
# Export dataframe as CSV file
speed_dat.to_csv(SPEED_DAT_CSV)
# Slice the intervals and time array to remove "outliers"
ints_wo_outliers = intervals[intervals < np.quantile(intervals, .80)]
times_wo_outliers = times[intervals < np.quantile(intervals, .80)]
# Plot final histogram of intervals
plt.clf()
interval_hist(ints_wo_outliers, PREF)
# Plot scatter of intervals vs time
plt.clf()
time_scatter_plot(times_wo_outliers, ints_wo_outliers, PREF)
# Get paths of images with charts
hist_and_box = glob.glob(F"{PATH_TO_ANNOT_IMS}{PREF}annot_{CONF_PER}pc_thresh_w_hist/*_annot_w_hist.jpg")
hist_and_box.sort() # Sort to correct order
all_ims = [] # List to store image arrays
for i in hist_and_box:
all_ims.append(plt.imread(i).copy()) # Add arrays to list
# Save video with charts and annotated images
if LOG_FILE != None:
int_exp_time = time.clock()
imageio.mimsave(F"./model_annots/{PREF}annot_{CONF_PER}pc_thresh_w_hist.mp4", all_ims, fps=15)
if LOG_FILE != None:
vid_exp_time = time.clock()
if LOG_FILE != None:
with open(LOG_FILE, "a+") as lfile:
lfile.write(F"Load detection graph : {d_graph-start}\nLabel and category : {l_and_c-d_graph}\nBox calculation : {box_time-l_and_c}\n")
lfile.write(F"Create interval data : {int_create_time-box_time}\nExport interval data : {int_exp_time-int_create_time}\n")
if not CSV_ONLY:
lfile.write(F"Video export time: {vid_exp_time-int_exp_time}")
| 61.577335 | 231 | 0.572942 | 5,317 | 40,210 | 4.061313 | 0.080873 | 0.017783 | 0.01556 | 0.014263 | 0.90928 | 0.894045 | 0.89034 | 0.880522 | 0.880522 | 0.874132 | 0 | 0.016006 | 0.32569 | 40,210 | 652 | 232 | 61.671779 | 0.780409 | 0.170381 | 0 | 0.838645 | 0 | 0.025896 | 0.14434 | 0.099806 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015936 | false | 0 | 0.01992 | 0 | 0.041833 | 0.013944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7e97b24efc90ee6f81d2540cce2b07912db23935 | 213 | py | Python | marltoolbox/algos/lola/__init__.py | longtermrisk/marltoolbox | cae1ba94ccb44700b66a32e0734a0f11c9c6c7fe | [
"MIT"
] | 17 | 2021-01-17T21:21:08.000Z | 2022-01-27T00:57:30.000Z | marltoolbox/algos/lola/__init__.py | longtermrisk/marltoolbox | cae1ba94ccb44700b66a32e0734a0f11c9c6c7fe | [
"MIT"
] | 5 | 2021-02-21T21:43:00.000Z | 2021-05-04T12:27:23.000Z | marltoolbox/algos/lola/__init__.py | longtermrisk/marltoolbox | cae1ba94ccb44700b66a32e0734a0f11c9c6c7fe | [
"MIT"
] | 3 | 2021-02-21T11:38:22.000Z | 2022-03-04T12:06:19.000Z | from marltoolbox.algos.lola.train_cg_tune_class_API import LOLAPGCG
from marltoolbox.algos.lola.train_exact_tune_class_API import LOLAExact
from marltoolbox.algos.lola.train_pg_tune_class_API import LOLAPGMatrice
| 53.25 | 72 | 0.901408 | 33 | 213 | 5.454545 | 0.454545 | 0.25 | 0.333333 | 0.4 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 213 | 3 | 73 | 71 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7ebe95d51b197b2aa81059ddc33626ebab7f7883 | 10,655 | py | Python | app/tests/test_value_templates.py | onap/sdc-dcae-d-tosca-lab | b0120c1671e8987387ccae4f21793ceb303f471c | [
"Apache-2.0"
] | 1 | 2021-10-15T19:47:42.000Z | 2021-10-15T19:47:42.000Z | app/tests/test_value_templates.py | onap/archive-sdc-dcae-d-tosca-lab | b0120c1671e8987387ccae4f21793ceb303f471c | [
"Apache-2.0"
] | null | null | null | app/tests/test_value_templates.py | onap/archive-sdc-dcae-d-tosca-lab | b0120c1671e8987387ccae4f21793ceb303f471c | [
"Apache-2.0"
] | 1 | 2021-10-15T19:47:34.000Z | 2021-10-15T19:47:34.000Z | import unittest
from toscalib.templates.value import _is_function
from tests.utils.test_utils import init_template
class TestValueMethods(unittest.TestCase):
def test_value_is_get_input_function(self):
value = {'get_input': 'some_input_param'}
res = _is_function(value)
self.assertEqual(res.target_property, 'some_input_param')
self.assertEqual(res.type, 'get_input')
def test_value_is_simple_string(self):
value = 'not_a_function'
res = _is_function(value)
self.assertIsNone(res)
def test_value_is_not_valid_function(self):
value = {'function': 'unknown'}
res = _is_function(value)
self.assertIsNone(res)
def test_value_too_many_functions(self):
value = {'get_input': 'some_input_param', 'get_property': 'some_value'}
res = _is_function(value)
self.assertIsNone(res)
def test_value_is_concat_function(self):
value = {'concat': ['first', 'second']}
res = _is_function(value)
self.assertEqual(res.type, 'concat')
self.assertEqual(res.extra_data[0].raw_value, 'first')
self.assertEqual(res.extra_data[0].type, 'string')
self.assertEqual(res.extra_data[0].value, 'first')
self.assertEqual(res.extra_data[1].raw_value, 'second')
self.assertEqual(res.extra_data[1].type, 'string')
self.assertEqual(res.extra_data[1].value, 'second')
def test_invalid_function_values_not_list(self):
value = {'concat': {'first': 'one', 'second': 'two'}}
res = _is_function(value)
self.assertIsNone(res)
def test_value_is_valid_function(self):
value = {'get_property': ['first', 'second']}
res = _is_function(value)
self.assertEqual(res.type, 'get_property')
self.assertListEqual(res.extra_data, value['get_property'])
def test_update_get_input_value_prefix(self):
value = {'get_input': 'some_input_param'}
res = _is_function(value)
self.assertEqual(res.target_property, 'some_input_param')
res._update_prefix('PREFIX_')
self.assertEqual(res.target_property, 'PREFIX_some_input_param')
def test_update_get_property_value_no_prefix(self):
value = {'get_property': ['NO_PREFIX', 'some_property']}
res = _is_function(value)
self.assertEqual(res.extra_data[0], 'NO_PREFIX')
res._update_prefix('PREFIX_')
self.assertEqual(res.extra_data[0], 'PREFIX')
def test_update_concat_get_input_value_prefix(self):
value = {'concat': [{'get_input': 'some_input_param'}, 'second']}
res = _is_function(value)
self.assertEqual(res.extra_data[0].function.target_property, 'some_input_param')
self.assertEqual(res.extra_data[1].value, 'second')
res._update_prefix('PREFIX_')
self.assertEqual(res.extra_data[0].function.target_property, 'PREFIX_some_input_param')
self.assertEqual(res.extra_data[1].value, 'second')
def test_update_get_input_function_reference(self):
template = init_template()
value = {'get_input': 'inputName'}
res = _is_function(value)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertEqual(res.value_from_item, template.inputs.get('inputName'))
def test_update_get_input_function_reference_auto_generate_input(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_input': 'propertyName'}
res = _is_function(value)
self.assertIsNone(res.value_from_item)
self.assertIsNone(template.inputs.get('nodeName_propertyName'))
self.assertEqual(res.target_property, 'propertyName')
res._update_function_reference(template, node, node.properties.get('propertyName'))
self.assertIsNotNone(res.value_from_item)
self.assertEqual(res.value_from_item, template.inputs.get('nodeName_propertyName'))
def test_update_get_property_function_reference_node_not_found(self):
value = {'get_property': ['node_name', 'property_name']}
res = _is_function(value)
self.assertIsNone(res.value_from_item)
res._update_function_reference(init_template())
self.assertIsNone(res.value_from_item)
def test_update_get_property_function_reference_self_property(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_property': ['SELF', 'propertyName']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template, node)
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node.properties.get('propertyName'))
def test_update_get_property_function_reference_other_node_property(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_property': ['nodeName', 'propertyName']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertIsNotNone(res.value_from_node)
self.assertIsNotNone(res.value_from_item)
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node._get_property_item('propertyName'))
def test_update_get_property_function_reference_capability_property(self):
template = init_template()
value = {'get_property': ['nodeName', 'capabilityName', 'capabilityProperty']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertIsNotNone(res.value_from_node)
self.assertIsNotNone(res.value_from_item)
node = template.node_dict.get('nodeName')
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node._get_capability_property('capabilityName', 'capabilityProperty'))
def test_update_get_property_function_reference_requirement_capability_property(self):
template = init_template()
value = {'get_property': ['node2', 'dummyRequirement', 'capabilityProperty']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertIsNotNone(res.value_from_node)
self.assertIsNotNone(res.value_from_item)
node = template.node_dict.get('nodeName')
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node._get_capability_property('capabilityName', 'capabilityProperty'))
def test_update_get_property_function_reference_requirement_target_property(self):
template = init_template()
value = {'get_property': ['node2', 'dummyRequirement', 'propertyName']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertIsNotNone(res.value_from_node)
self.assertIsNotNone(res.value_from_item)
node = template.node_dict.get('nodeName')
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node._get_property_item('propertyName'))
def test_update_get_attribute_function_reference_invalid_params(self):
value = {'get_attribute': ['no_such_node', 'some_attribute']}
res = _is_function(value)
res._update_function_reference(init_template())
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
def test_update_get_attribute_function_self_attribute(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_attribute': ['SELF', 'attributeName']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template, node)
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node.attributes.get('attributeName'))
def test_update_get_attribute_function_node_id_attribute(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_attribute': ['SELF', 'id']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template, node)
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node.id)
def test_update_get_attribute_function_other_node_id_attribute(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_attribute': ['nodeName', 'id']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node.id)
def test_update_get_attribute_function_requirement_target_attribute(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'get_attribute': ['node2', 'dummyRequirement', 'attributeName']}
res = _is_function(value)
self.assertIsNone(res.value_from_node)
self.assertIsNone(res.value_from_item)
res._update_function_reference(template)
self.assertEqual(res.value_from_node, node)
self.assertEqual(res.value_from_item, node.attributes.get('attributeName'))
def test_update_concat_function_reference(self):
template = init_template()
node = template.node_dict.get('nodeName')
value = {'concat': [{'get_attribute': ['nodeName', 'id']}, 'second']}
res = _is_function(value)
self.assertIsNone(res.extra_data[0].function.value_from_node)
res._update_function_reference(template)
self.assertIsNotNone(res.extra_data[0].function.value_from_node)
self.assertIsNotNone(res.extra_data[0].function.value_from_item)
self.assertEqual(res.extra_data[0].function.value_from_node, node)
self.assertEqual(res.extra_data[0].function.value_from_item, node.id)
| 46.938326 | 116 | 0.704927 | 1,275 | 10,655 | 5.510588 | 0.063529 | 0.074295 | 0.090521 | 0.068318 | 0.861514 | 0.839311 | 0.797609 | 0.751637 | 0.71762 | 0.668944 | 0 | 0.002301 | 0.184327 | 10,655 | 226 | 117 | 47.146018 | 0.806121 | 0 | 0 | 0.623116 | 0 | 0 | 0.1162 | 0.00826 | 0 | 0 | 0 | 0 | 0.417085 | 1 | 0.120603 | false | 0 | 0.015075 | 0 | 0.140704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7eeb34f0dd755c1a35e47350c6ff1cb434d12307 | 159 | py | Python | screenshot-server/app/utilities.py | martindines/ScreenshotServer | 21d1529157f4625cd26196000c4a30342ab4d713 | [
"MIT"
] | 1 | 2019-12-31T18:43:08.000Z | 2019-12-31T18:43:08.000Z | screenshot-server/app/utilities.py | martindines/ScreenshotServer | 21d1529157f4625cd26196000c4a30342ab4d713 | [
"MIT"
] | 1 | 2019-12-31T19:35:24.000Z | 2019-12-31T19:35:24.000Z | screenshot-server/app/utilities.py | martindines/ScreenshotServer | 21d1529157f4625cd26196000c4a30342ab4d713 | [
"MIT"
] | null | null | null | from random import sample
from string import digits, ascii_letters
def get_random_hash(length=8):
return "".join(sample(digits + ascii_letters, length))
| 22.714286 | 58 | 0.773585 | 23 | 159 | 5.173913 | 0.652174 | 0.184874 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.138365 | 159 | 6 | 59 | 26.5 | 0.861314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ade224c4152d692493fac7463e49f546a2b56363 | 24,551 | py | Python | experiments/experiments_mice_proteins.py | claudiu1989/DeepInterpretablePolynomialNeuralNetwork | 6280aa3fd8412d5973b7153659d2df0071ca1c83 | [
"MIT"
] | null | null | null | experiments/experiments_mice_proteins.py | claudiu1989/DeepInterpretablePolynomialNeuralNetwork | 6280aa3fd8412d5973b7153659d2df0071ca1c83 | [
"MIT"
] | null | null | null | experiments/experiments_mice_proteins.py | claudiu1989/DeepInterpretablePolynomialNeuralNetwork | 6280aa3fd8412d5973b7153659d2df0071ca1c83 | [
"MIT"
] | null | null | null | import xlrd
import csv
import sys
import numpy as np
sys.path.append('../')
from DeepInterpretablePolynomialNeuralNetwork.src.generate_synthetic_data import boolean_concept_uniform_distribution
from DeepInterpretablePolynomialNeuralNetwork.src.deep_interpretable_polynomial_neural_network import DeepInterpretablePolynomialNeuralNetwork, GrowthPolicy
from DeepInterpretablePolynomialNeuralNetwork.src.evaluation_tools import EvaluationTools
classes_encoding = {}
classes_encoding['c-CS-m'] = 0
classes_encoding['c-SC-m'] = 1
classes_encoding['c-CS-s'] = 2
classes_encoding['c-SC-s'] = 3
classes_encoding['t-CS-m'] = 4
classes_encoding['t-SC-m'] = 5
classes_encoding['t-CS-s'] = 6
classes_encoding['t-SC-s'] = 7
def csv_from_xls():
xlsx_file = xlrd.open_workbook('./data/MiceProteins/Data_Cortex_Nuclear.xls')
data = xlsx_file.sheet_by_name('Hoja1')
with open('./data/MiceProteins/Data_Cortex_Nuclear.csv', 'w', newline='') as csv_file:
wr = csv.writer(csv_file, quoting=csv.QUOTE_ALL)
for rownum in range(data.nrows):
wr.writerow(data.row_values(rownum))
def read_data(path):
with open(path) as csvfile:
data = list(csv.reader(csvfile))
X = []
Y = []
for row in data[1:]:
try:
X.append([float(value) for value in row[1:-4]])
Y.append(classes_encoding[row[-1].strip()])
except:
pass
return np.array(X), np.array(Y), data[0][1:-4]
def read_data_imputation(path_original, path_imputation):
with open(path_original) as csvfile:
data = list(csv.reader(csvfile))
Y = []
for row in data[1:]:
try:
Y.append(classes_encoding[row[-1].strip()])
except:
pass
with open(path_imputation) as csvfile:
data = list(csv.reader(csvfile))
X = []
for row in data[1:]:
X.append([float(value) for value in row])
return np.array(X), np.array(Y)
def create_dataset_with_data_imputation(input_path, output_path):
X,_,_ = read_data(input_path)
averages = np.average(X, axis=0)
X_imputed = []
with open(input_path) as csvfile:
data = list(csv.reader(csvfile))
for row in data[1:]:
new_row = []
for i,value in enumerate(row[1:-4]):
try:
new_value = float(value)
except:
new_value = averages[i]
new_row.append(new_value)
X_imputed.append(new_row)
with open(output_path, 'w', newline='') as csv_file:
wr = csv.writer(csv_file, quoting=csv.QUOTE_ALL)
for row in X_imputed:
wr.writerow(row)
def convert_to_logical_values(X):
max = X[0].copy()
min = X[0].copy()
for row in X:
for i, value in enumerate(row):
if value > max[i]:
max[i] = value
if value < min[i]:
min[i] = value
new_X = []
for row in X:
new_row = []
for i, value in enumerate(row):
new_row.append(float(value - min[i])/(max[i]-min[i]))
new_X.append(new_row)
return np.array(new_X)
def experiment_no_growth_degree1_no_fixed_margin_c_CS_sm_vs_c_SC_sm():
'''
c-CS-s,m (classes 0 and 2) vs c-SC-s,m (classes 1 and 3)
c-CS-s: control mice, stimulated to learn, injected with saline (9 mice)
c-CS-m: control mice, stimulated to learn, injected with memantine (10 mice)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y<=3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==0 or y==2 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_growth_degree2_no_fixed_margin_c_CS_sm_vs_c_SC_sm():
'''
c-CS-s,m (classes 0 and 2) vs c-SC-s,m (classes 1 and 3)
c-CS-s: control mice, stimulated to learn, injected with saline (9 mice)
c-CS-m: control mice, stimulated to learn, injected with memantine (10 mice)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y<=3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==0 or y==2 else 0.0 for x,y in Z])
# Model
d_max = 2
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.GROW
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 1
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_growth_degree3_no_fixed_margin_c_CS_sm_vs_c_SC_sm():
'''
c-CS-s,m (classes 0 and 2) vs c-SC-s,m (classes 1 and 3)
c-CS-s: control mice, stimulated to learn, injected with saline (9 mice)
c-CS-m: control mice, stimulated to learn, injected with memantine (10 mice)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y<=3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==0 or y==2 else 0.0 for x,y in Z])
# Model
d_max = 3
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.GROW
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 1
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_c_SC_m_vs_c_SC_s():
'''
c-SC-m (class 1) vs c-SC-s (classes 3)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==1 or y==3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==1 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_growth_degree2_no_fixed_margin_c_SC_m_vs_c_SC_s():
'''
c-SC-m (class 1) vs c-SC-s (classes 3)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==1 or y==3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==1 else 0.0 for x,y in Z])
# Model
d_max = 2
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.GROW
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_growth_degree3_no_fixed_margin_c_SC_m_vs_c_SC_s():
'''
c-SC-m (class 1) vs c-SC-s (classes 3)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==1 or y==3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==1 else 0.0 for x,y in Z])
# Model
d_max = 3
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.GROW
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_c_SC_m_vs_c_SC_s():
'''
c-CS-m (class 0) vs c-CS-s (class 2)
c-CS-s: control mice, stimulated to learn, injected with saline (9 mice)
c-CS-m: control mice, stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==0 or y==2]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==0 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 3
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree2_no_fixed_margin_c_SC_m_vs_c_SC_s():
'''
c-CS-m (class 0) vs c-CS-s (class 2)
c-CS-s: control mice, stimulated to learn, injected with saline (9 mice)
c-CS-m: control mice, stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==0 or y==2]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==0 else 0.0 for x,y in Z])
# Model
d_max = 2
balance = 1.0
lambda_param = 0.5
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.GROW
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 1
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_t_CS_m_vs_t_SC_s_m():
'''
t-CS-m (class 4) vs t-SC-s,m (class 5 and class 7)
t-CS-m: trisomy mice, stimulated to learn, injected with memantine (9 mice)
t-SC-s: trisomy mice, not stimulated to learn, injected with saline (9 mice)
t-SC-m: trisomy mice, not stimulated to learn, injected with memantine (9 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==4 or y==5 or y == 7]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==4 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_t_SC_m_vs_t_SC_s():
'''
t-SC-m (class 5) vs t-SC-s (class 7)
t-SC-s: trisomy mice, not stimulated to learn, injected with saline (9 mice)
t-SC-m: trisomy mice, not stimulated to learn, injected with memantine (9 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==5 or y == 7]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==5 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_t_CS_m_vs_t_CS_s():
'''
t-CS-m (class 4) vs t-CS-s (class 6)
t-CS-m: trisomy mice, stimulated to learn, injected with memantine (9 mice)
t-CS-s: trisomy mice, stimulated to learn, injected with saline (7 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==4 or y == 6]
X = [x for x,y in Z ]
Y = np.array([1.0 if y==4 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 1.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_t_CS_s_vs_c_CS_s_m():
'''
t-CS-s (class 6) vs c-CS-s,m (classes 0, 2)
t-CS-s: trisomy mice, stimulated to learn, injected with saline (7 mice)
c-CS-m: control mice, stimulated to learn, injected with memantine (10 mice)
c-CS-s: control mice, stimulated to learn, injected with saline (9 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==0 or y==2 or y == 6]
X = [x for x,y in Z ]
Y = np.array([1.0 if y == 6 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 2.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
def experiment_no_growth_degree1_no_fixed_margin_t_SC_s_vs_t_SC_m_and_c_SC_s_m():
'''
t-SC-s (class 7) vs t-SC-m, c-SC-s,m(classes 5, 1, 3)
t-SC-s: trisomy mice, not stimulated to learn, injected with saline (9 mice)
t-SC-m: trisomy mice, not stimulated to learn, injected with memantine (9 mice)
c-SC-s: control mice, not stimulated to learn, injected with saline (9 mice)
c-SC-m: control mice, not stimulated to learn, injected with memantine (10 mice)
'''
# Data
_, _, proteins_names = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
print(list(zip(proteins_names, range(len(proteins_names)))))
X, Y = read_data_imputation('./data/MiceProteins/Data_Cortex_Nuclear.csv', './data/MiceProteins/Data_Cortex_Nuclear_imputed_X.csv')
X = convert_to_logical_values(X)
Z = zip(X,Y)
Z = [(x,y) for x,y in Z if y==7 or y==5 or y == 1 or y == 3]
X = [x for x,y in Z ]
Y = np.array([1.0 if y == 7 else 0.0 for x,y in Z])
# Model
d_max = 1
balance = 2.0
lambda_param = 1.0
ro = 1.0
fixed_margin = False
growth_policy = GrowthPolicy.ALL_TERMS
dipnn = DeepInterpretablePolynomialNeuralNetwork(d_max=d_max, lambda_param=lambda_param, balance=balance, fixed_margin=fixed_margin, ro=ro, derivative_magnitude_th=0.0, coeff_magnitude_th=0.0,
max_no_terms_per_iteration=20, max_no_terms=200, growth_policy=growth_policy)
# Evaluation
no_runs = 100
test_size = 0.2
coefficient_threshold = 0.01
precision = 2
EvaluationTools.evaluate_multiple_times(dipnn, X, Y, no_runs, test_size, coefficient_threshold, precision)
print(f'The margin: {dipnn.ro}')
if __name__ == '__main__':
'''
X, Y = read_data('./data/MiceProteins/Data_Cortex_Nuclear.csv')
X = convert_to_logical_values(X)
Y = convert_dataset_for_binary_classification(Y, 0.0)
basic_experiment_no_growth(X,Y)
'''
#experiment_no_growth_degree1_no_fixed_margin_c_CS_sm_vs_c_SC_sm()
#experiment_growth_degree2_no_fixed_margin_c_CS_sm_vs_c_SC_sm()
#experiment_growth_degree3_no_fixed_margin_c_CS_sm_vs_c_SC_sm()
#experiment_no_growth_degree1_no_fixed_margin_c_SC_m_vs_c_SC_s()
#experiment_growth_degree2_no_fixed_margin_c_SC_m_vs_c_SC_s()
#experiment_growth_degree3_no_fixed_margin_c_SC_m_vs_c_SC_s()
#experiment_no_growth_degree1_no_fixed_margin_t_CS_m_vs_t_SC_s_m()
#experiment_no_growth_degree1_no_fixed_margin_t_SC_m_vs_t_SC_s()
#experiment_no_growth_degree1_no_fixed_margin_t_CS_m_vs_t_CS_s()
#experiment_no_growth_degree1_no_fixed_margin_t_CS_s_vs_c_CS_s_m()
experiment_no_growth_degree1_no_fixed_margin_t_SC_s_vs_t_SC_m_and_c_SC_s_m() | 41.967521 | 197 | 0.679891 | 3,884 | 24,551 | 4.024717 | 0.044799 | 0.012155 | 0.053736 | 0.069857 | 0.914854 | 0.905578 | 0.900972 | 0.890673 | 0.873337 | 0.867899 | 0 | 0.028242 | 0.209645 | 24,551 | 585 | 198 | 41.967521 | 0.777365 | 0.17653 | 0 | 0.795866 | 1 | 0 | 0.114517 | 0.096562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0.005168 | 0.018088 | 0 | 0.072351 | 0.067183 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bc23f781e2eb5314c5b0c56c6151c4b855bb888f | 92 | py | Python | src/processing/aif.py | PerfusionFPA/PerfusionFPA-python-dev | 735d0df9e80dc5a8c56c8bff7878ddaee6eea52f | [
"Apache-2.0"
] | null | null | null | src/processing/aif.py | PerfusionFPA/PerfusionFPA-python-dev | 735d0df9e80dc5a8c56c8bff7878ddaee6eea52f | [
"Apache-2.0"
] | null | null | null | src/processing/aif.py | PerfusionFPA/PerfusionFPA-python-dev | 735d0df9e80dc5a8c56c8bff7878ddaee6eea52f | [
"Apache-2.0"
] | null | null | null | from tools.system.image_setup import create_test_vol_dcm
def create_aif( ):
pass
| 15.333333 | 57 | 0.73913 | 14 | 92 | 4.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 92 | 5 | 58 | 18.4 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
cb443545a03a251200eacc3f4a1cad99b3e8c4c9 | 21,149 | py | Python | tests/test_djangomodel.py | beproud/bpmappers | 754a102ceed5b9bfd93755df2fe48a11b2324f03 | [
"MIT"
] | 4 | 2018-01-13T10:46:09.000Z | 2020-06-13T17:21:39.000Z | tests/test_djangomodel.py | beproud/bpmappers | 754a102ceed5b9bfd93755df2fe48a11b2324f03 | [
"MIT"
] | 6 | 2017-04-17T01:44:15.000Z | 2022-03-30T02:03:09.000Z | tests/test_djangomodel.py | beproud/bpmappers | 754a102ceed5b9bfd93755df2fe48a11b2324f03 | [
"MIT"
] | 4 | 2017-05-23T02:28:49.000Z | 2020-09-23T07:32:13.000Z | from datetime import datetime, date, time
import pytest
from . import testing_django
from .testing import DummyObject
from bpmappers import fields
class TestDjangoFileField:
@pytest.fixture
def data(self):
return DummyObject(url="egg")
@pytest.fixture
def target(self):
from bpmappers.djangomodel import DjangoFileField
return DjangoFileField()
def test_url(self, target, data):
value = target.get_value(None, data)
assert value == "egg"
def test_none(self, target):
value = target.get_value(None, None)
assert value is None
class TestModelMapper:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
char_field = models.CharField(max_length=30)
text_field = models.TextField()
integer_field = models.IntegerField()
datetime_field = models.DateTimeField()
date_field = models.DateField()
time_field = models.TimeField()
boolean_field = models.BooleanField()
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(
id=1,
char_field="egg",
text_field="ham",
integer_field=10,
datetime_field=datetime(2012, 4, 1, 10, 0, 0),
date_field=date(2012, 4, 1),
time_field=time(10, 0, 0),
boolean_field=True)
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'char_field': "egg",
'text_field': "ham",
'integer_field': 10,
'datetime_field': datetime(2012, 4, 1, 10, 0, 0),
'date_field': date(2012, 4, 1),
'time_field': time(10, 0, 0),
'boolean_field': True,
}
assert result == expected
class TestMetaFields:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
bacon = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg", bacon="ham")
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
fields = ['spam', 'bacon']
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'spam': "egg",
'bacon': "ham",
}
assert result == expected
class TestMetaExclude:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
bacon = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg", bacon="ham")
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
exclude = ['id', 'bacon']
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'spam': "egg",
}
assert result == expected
class TestAddField:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
bacon = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg", bacon="ham")
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
knight = fields.StubField("ni")
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "egg",
'bacon': "ham",
'knight': "ni",
}
assert result == expected
class TestInheritedModelMapperOverrideField:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
bacon = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg", bacon="ham")
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
spam = fields.StubField("knight")
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "knight",
'bacon': "ham",
}
assert result == expected
class TestInheritedModelMapper:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
bacon = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg", bacon="ham")
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
class InheritedMapper(TestMapper):
class Meta(TestMapper.Meta):
pass
return InheritedMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "egg",
'bacon': "ham",
}
assert result == expected
class TestCustomMapperFields:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg")
def target(self, model_class):
from django.db import models
from bpmappers.djangomodel import ModelMapper
class CustomMapperField(fields.RawField):
def as_value(self, mapper, value):
return "<%s>" % value
class TestMapper(ModelMapper):
class Meta:
model = model_class
mapper_fields = {
models.CharField: CustomMapperField,
}
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "<egg>",
}
assert result == expected
class TestCreateModelMapper:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
bacon = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
@pytest.fixture
def target(self):
from bpmappers.djangomodel import create_model_mapper
return create_model_mapper
def test_create_mapper(self, target, model):
mapper_class = target(model)
assert len(mapper_class._meta.fields) == 3
assert 'id' in mapper_class._meta.fields
assert 'spam' in mapper_class._meta.fields
assert 'bacon' in mapper_class._meta.fields
class TestForeignKeyFieldModelMapper:
@pytest.fixture
def child_model(self):
from django.db import models
class ChildModel(models.Model):
spam = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return ChildModel
def parent_model(self, child_model):
from django.db import models
class ParentModel(models.Model):
bacon = models.ForeignKey(child_model, on_delete=models.CASCADE)
class Meta:
app_label = testing_django.lower_class_name(self)
return ParentModel
def data(self, parent_model, child_model):
return parent_model(
id=1,
bacon=child_model(id=1, spam="egg"))
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, child_model):
parent_model = self.parent_model(child_model)
target = self.target(parent_model)
data = self.data(parent_model, child_model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'bacon': {
'id': 1,
'spam': "egg",
},
}
assert result == expected
class TestForeignKeyFieldNullValue:
@pytest.fixture
def child_model(self):
from django.db import models
class ChildModel(models.Model):
spam = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return ChildModel
def parent_model(self, child_model):
from django.db import models
class ParentModel(models.Model):
bacon = models.ForeignKey(
child_model, null=True, blank=True, on_delete=models.CASCADE)
class Meta:
app_label = testing_django.lower_class_name(self)
return ParentModel
def data(self, parent_model):
return parent_model(id=1, bacon=None)
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, child_model):
parent_model = self.parent_model(child_model)
target = self.target(parent_model)
data = self.data(parent_model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'bacon': None,
}
assert result == expected
class TestForeignKeySelfReference:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.ForeignKey(
"DummyModel", null=True, blank=True, on_delete=models.CASCADE)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam=model(id=2))
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
}
assert result == expected
class TestOneToOneFieldModelMapping:
@pytest.fixture
def child_model(self):
from django.db import models
class ChildModel(models.Model):
spam = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return ChildModel
def parent_model(self, child_model):
from django.db import models
class ParentModel(models.Model):
bacon = models.OneToOneField(child_model, on_delete=models.CASCADE)
class Meta:
app_label = testing_django.lower_class_name(self)
return ParentModel
def data(self, parent_model, child_model):
return parent_model(id=1, bacon=child_model(id=1, spam="egg"))
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, child_model):
parent_model = self.parent_model(child_model)
target = self.target(parent_model)
data = self.data(parent_model, child_model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'bacon': {
'id': 1,
'spam': "egg",
},
}
assert result == expected
@pytest.mark.django_db
class TestManyToManyFieldModelMapper:
@pytest.fixture
def child_model(self):
from django_app.models import M2M_ChildModel
return M2M_ChildModel
@pytest.fixture
def parent_model(self):
from django_app.models import M2M_ParentModel
return M2M_ParentModel
@pytest.fixture
def data(self, parent_model, child_model):
child = child_model(id=1, spam="egg")
child.save()
parent = parent_model(id=1)
parent.save()
parent.bacon.add(child)
return parent
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, parent_model, data):
target = self.target(parent_model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'bacon': [
{
'id': 1,
'spam': "egg",
}
],
}
assert result == expected
@pytest.mark.django_db
class TestManyToManyFieldThroughModel:
@pytest.fixture
def child_model(self):
from django_app.models import M2M_Through_ChildModel
return M2M_Through_ChildModel
@pytest.fixture
def parent_model(self):
from django_app.models import M2M_Through_ParentModel
return M2M_Through_ParentModel
@pytest.fixture
def through_model(self):
from django_app.models import M2M_ThroughModel
return M2M_ThroughModel
@pytest.fixture
def data(self, parent_model, child_model, through_model):
child = child_model(id=1, spam="egg")
child.save()
parent = parent_model(id=1)
parent.save()
through = through_model(
id=1, child=child, parent=parent, knight="ni")
through.save()
return through
@pytest.fixture
def target(self, through_model):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = through_model
return TestMapper
def test_mapping(self, target, data):
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'knight': "ni",
'child': {
'id': 1,
'spam': "egg",
},
'parent': {
'id': 1,
'bacon': [{
'id': 1,
'spam': "egg",
}],
},
}
assert result == expected
class TestCustomField:
@pytest.fixture
def model(self):
from django.db import models
class CustomField(models.Field):
pass
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
return model(id=1, spam="egg")
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "egg",
}
assert result == expected
class TestFileFieldModelMapper:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.FileField(upload_to='./')
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
obj = model(id=1)
obj.spam.name = 'egg.txt'
return obj
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "/egg.txt",
}
assert result == expected
class TestImageFieldModelMapper:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.ImageField(upload_to='./')
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def data(self, model):
obj = model(id=1)
obj.spam.name = 'egg.jpg'
return obj
def target(self, model_class):
from bpmappers.djangomodel import ModelMapper
class TestMapper(ModelMapper):
class Meta:
model = model_class
return TestMapper
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "/egg.jpg",
}
assert result == expected
class TestMixinModelMapper:
@pytest.fixture
def model(self):
from django.db import models
class DummyModel(models.Model):
spam = models.CharField(max_length=30)
class Meta:
app_label = testing_django.lower_class_name(self)
return DummyModel
def target(self, model_class):
from bpmappers.mappers import Mapper
from bpmappers.djangomodel import ModelMapper
class TestMapper(Mapper):
knight = fields.StubField("ni")
class MixinMapper(TestMapper, ModelMapper):
class Meta:
model = model_class
return MixinMapper
def data(self, model):
return model(id=1, spam="egg")
def test_mapping(self, model):
data = self.data(model)
target = self.target(model)
mapper = target(data)
result = mapper.as_dict()
expected = {
'id': 1,
'spam': "egg",
'knight': "ni",
}
assert result == expected
| 25.791463 | 79 | 0.574779 | 2,212 | 21,149 | 5.363472 | 0.05877 | 0.010873 | 0.036413 | 0.020229 | 0.838166 | 0.813891 | 0.79737 | 0.787761 | 0.771241 | 0.753456 | 0 | 0.009775 | 0.337321 | 21,149 | 819 | 80 | 25.822955 | 0.836746 | 0 | 0 | 0.750405 | 0 | 0 | 0.022412 | 0 | 0 | 0 | 0 | 0 | 0.037277 | 1 | 0.132901 | false | 0.003241 | 0.081037 | 0.024311 | 0.470016 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb89b003d8325a95bad4bb20eb568f66ffa61745 | 181 | py | Python | tests/parser/aggregates.count.assignment.18.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.count.assignment.18.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.count.assignment.18.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a(Z) :- #count{X: p(X,Z)} = Z.
p(1,1).
p(1,2).
p(2,1).
p(2,2).
p(3,5).
"""
output = """
a(Z) :- #count{X: p(X,Z)} = Z.
p(1,1).
p(1,2).
p(2,1).
p(2,2).
p(3,5).
"""
| 7.869565 | 30 | 0.359116 | 48 | 181 | 1.354167 | 0.229167 | 0.123077 | 0.215385 | 0.246154 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0 | 0.137931 | 0.198895 | 181 | 22 | 31 | 8.227273 | 0.310345 | 0 | 0 | 0.875 | 0 | 0 | 0.828729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
cb8b6c2856c6e088be6e60c87f95b3b3065c3cc7 | 8,835 | py | Python | Continual/model/modelfactory.py | huang50213/AIM-Fewshot-Continual | 89a7479b21d32b49e0789c6db922a37328ea95f5 | [
"MIT"
] | 17 | 2021-07-23T06:16:54.000Z | 2022-03-22T06:35:07.000Z | Continual/model/modelfactory.py | huang50213/AIM-Fewshot-Continual | 89a7479b21d32b49e0789c6db922a37328ea95f5 | [
"MIT"
] | 1 | 2022-03-12T16:26:27.000Z | 2022-03-12T16:26:27.000Z | Continual/model/modelfactory.py | huang50213/AIM-Fewshot-Continual | 89a7479b21d32b49e0789c6db922a37328ea95f5 | [
"MIT"
] | 7 | 2021-08-21T11:28:32.000Z | 2022-03-04T07:01:48.000Z | class ModelFactory():
def __init__(self):
pass
@staticmethod
def get_model(model_type, dataset, in_channels=6, num_actions=6, width=300):
if dataset == "omniglot":
nm_channels = 112
channels = 256
size_of_representation = 2304
size_of_interpreter = 1008
if model_type == "ANML+AIM":
nm_channels = 112
channels = 256
size_of_representation = 2304
size_of_interpreter = 1008
return [
# =============== Separate network neuromodulation =======================
('conv1_nm', [nm_channels, 3, 3, 3, 1, 0]),
('bn1_nm', [nm_channels]),
('conv2_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn2_nm', [nm_channels]),
('conv3_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn3_nm', [nm_channels]),
('nm_to_fc', [size_of_representation, size_of_interpreter]),
# =============== Prediction network ===============================
('conv1', [channels, 3, 3, 3, 1, 0]),
('bn1', [channels]),
('conv2', [channels, channels, 3, 3, 1, 0]),
('bn2', [channels]),
('conv3', [channels, channels, 3, 3, 1, 0]),
('bn3', [channels]),
('fc', [1000, size_of_representation // 2]),
('linear', [size_of_representation // 2, size_of_representation]),
('aim', [size_of_representation // 2, 128, 64, 128, size_of_representation // 2, 128])
]
elif model_type == "OML+AIM":
return [
# =============== slow weight =======================
('conv1_nm', [nm_channels, 3, 3, 3, 1, 0]),
('bn1_nm', [nm_channels]),
('conv2_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn2_nm', [nm_channels]),
('conv3_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn3_nm', [nm_channels]),
('conv4_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn4_nm', [nm_channels]),
('conv5_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn5_nm', [nm_channels]),
('conv6_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn6_nm', [nm_channels]),
('nm_to_fc', [size_of_interpreter // 2, size_of_interpreter]),
# =============== fast weight =======================
('fc', [1000, size_of_interpreter // 2]),
('aim', [size_of_interpreter // 2, 128, 64, 128, size_of_interpreter // 2, 128]),
# [input_size, hidden_size, num_units, input_key_size, input_value_size, input_query_size]
]
elif dataset == "cifar100":
nm_channels = 112
channels = 256
size_of_representation = 1024
size_of_interpreter = 1792
if model_type == "ANML+AIM":
size_of_representation = 4096
size_of_interpreter = 1792
return [
# =============== slow weight =======================
('conv1_nm', [nm_channels, 3, 3, 3, 1, 0]),
('bn1_nm', [nm_channels]),
('conv2_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn2_nm', [nm_channels]),
('conv3_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn3_nm', [nm_channels]),
('nm_to_fc', [size_of_representation, size_of_interpreter]),
# =============== fast weight =======================
('conv1', [channels, 3, 3, 3, 1, 0]),
('bn1', [channels]),
('conv2', [channels, channels, 3, 3, 1, 0]),
('bn2', [channels]),
('conv3', [channels, channels, 3, 3, 1, 0]),
('bn3', [channels]),
('fc', [100, size_of_representation // 4]),
('linear', [size_of_representation // 4, size_of_representation]),
('aim', [size_of_representation // 4, 128, 64, 128, size_of_representation // 4, 128]),
]
elif model_type == "OML+AIM":
return [
# =============== slow weight =======================
('conv1_nm', [nm_channels, 3, 3, 3, 1, 0]),
('bn1_nm', [nm_channels]),
('conv2_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn2_nm', [nm_channels]),
('conv3_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn3_nm', [nm_channels]),
('conv4_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn4_nm', [nm_channels]),
('conv5_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn5_nm', [nm_channels]),
('conv6_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn6_nm', [nm_channels]),
('nm_to_fc', [size_of_interpreter // 2, size_of_interpreter]),
# =============== fast weight =======================
('fc', [100, size_of_interpreter // 2]),
('aim', [size_of_interpreter // 2, 128, 64, 128, size_of_interpreter // 2, 128]),
# [input_size, hidden_size, num_units, input_key_size, input_value_size, input_query_size]
]
elif dataset == "imagenet":
nm_channels = 112
channels = 256
size_of_representation = 2304
size_of_interpreter = 2800
if model_type == "ANML+AIM":
size_of_representation = 16384
size_of_interpreter = 7168
return [
# =============== slow weight =======================
('conv1_nm', [nm_channels, 3, 3, 3, 1, 0]),
('bn1_nm', [nm_channels]),
('conv2_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn2_nm', [nm_channels]),
('conv3_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn3_nm', [nm_channels]),
('nm_to_fc', [size_of_representation, size_of_interpreter]),
# =============== fast weight =======================
('conv1', [channels, 3, 3, 3, 1, 0]),
('bn1', [channels]),
('conv2', [channels, channels, 3, 3, 1, 0]),
('bn2', [channels]),
('conv3', [channels, channels, 3, 3, 1, 0]),
('bn3', [channels]),
('fc', [84, size_of_representation // 16]),
('linear', [size_of_representation // 16, size_of_representation]),
('aim', [size_of_representation // 16, 128, 64, 128, size_of_representation // 16, 128]),
]
elif model_type == "OML+AIM":
return [
# =============== slow weight =======================
('conv1_nm', [nm_channels, 3, 3, 3, 1, 0]),
('bn1_nm', [nm_channels]),
('conv2_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn2_nm', [nm_channels]),
('conv3_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn3_nm', [nm_channels]),
('conv4_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn4_nm', [nm_channels]),
('conv5_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn5_nm', [nm_channels]),
('conv6_nm', [nm_channels, nm_channels, 3, 3, 1, 0]),
('bn6_nm', [nm_channels]),
('nm_to_fc', [size_of_interpreter // 2, size_of_interpreter]),
# =============== fast weight =======================
('fc', [84, size_of_interpreter // 2]),
('aim', [size_of_interpreter // 2, 128, 32, 128, size_of_interpreter // 2, 128]),
# [input_size, hidden_size, num_units, input_key_size, input_value_size, input_query_size]
]
else:
print("Unsupported model; either implement the model in model/ModelFactory or choose a different model")
assert (False)
| 55.566038 | 116 | 0.424901 | 870 | 8,835 | 3.990805 | 0.108046 | 0.227535 | 0.186636 | 0.041475 | 0.846198 | 0.838998 | 0.814516 | 0.777362 | 0.7428 | 0.7428 | 0 | 0.07771 | 0.391171 | 8,835 | 158 | 117 | 55.917722 | 0.567764 | 0.10481 | 0 | 0.753521 | 0 | 0 | 0.089953 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 1 | 0.014085 | false | 0.007042 | 0 | 0 | 0.06338 | 0.007042 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cb8e1f648093e4ca9f06a1355a58afb8ae303d47 | 162 | py | Python | CodeWarsKataStuff/FizzBuzz one line.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | CodeWarsKataStuff/FizzBuzz one line.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | CodeWarsKataStuff/FizzBuzz one line.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | for i in range(1, 101): print("Fizz"[(i%3)*4:] + "Buzz"[(i%5)*4:] or i)
"""
for i in range(1, 101): print(i,"\t", "Fizz"[(i%3)*4:] + "Buzz"[(i%5)*4:] or i)
"""
| 23.142857 | 79 | 0.469136 | 36 | 162 | 2.111111 | 0.388889 | 0.105263 | 0.157895 | 0.289474 | 0.973684 | 0.973684 | 0.973684 | 0.447368 | 0.447368 | 0.447368 | 0 | 0.116788 | 0.154321 | 162 | 6 | 80 | 27 | 0.437956 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1de0ae4464a00c0bee545341effc4fddc91c3d2f | 82 | py | Python | src/ctc/evm/abi_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/evm/abi_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/evm/abi_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .abi_decompilation import *
from .abi_io import *
from .abi_summary import *
| 20.5 | 32 | 0.780488 | 12 | 82 | 5.083333 | 0.5 | 0.344262 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 33 | 27.333333 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1df1eacb98022ec5ca2ef5b79e7da072844c5c53 | 2,220 | py | Python | src/arch/x86/isa/insts/simd512/floating_point/data_transfer/vpbroadcast.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 2 | 2021-01-15T17:32:18.000Z | 2021-12-21T02:53:58.000Z | src/arch/x86/isa/insts/simd512/floating_point/data_transfer/vpbroadcast.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-26T20:33:59.000Z | 2022-01-24T22:54:03.000Z | src/arch/x86/isa/insts/simd512/floating_point/data_transfer/vpbroadcast.py | jyhuang91/gem5-avx | f988da46080f8db49beb39e20af437219f3aa4cb | [
"BSD-3-Clause"
] | 3 | 2021-03-27T16:36:19.000Z | 2022-03-28T18:32:57.000Z | microcode = '''
def macroop VPBROADCASTQ_ZMM_R {
mov2fp ufp1, regm, destSize=8, srcSize=8
vbroadcast64 dest=xmm0, src=ufp1, destVL=64
};
def macroop VPBROADCASTQ_ZMM_XMM {
vbroadcast64 dest=xmm0, src=xmm0m, destVL=64
};
def macroop VPBROADCASTQ_ZMM_M {
ldfp ufp1, seg, sib, disp, dataSize=8
vbroadcast64 dest=xmm0, src=ufp1, destVL=64
};
def macroop VPBROADCASTQ_ZMM_P {
rdip t7
ldfp ufp1, seg, riprel, disp, dataSize=8
vbroadcast64 dest=xmm0, src=ufp1, destVL=64
};
def macroop VPBROADCASTD_XMM_XMM {
vbroadcast32 dest=xmm0, src=xmm0m, destVL=16
vclear dest=xmm2, destVL=16
};
def macroop VPBROADCASTD_XMM_M {
ldfp ufp1, seg, sib, disp, dataSize=4
vbroadcast32 dest=xmm0, src=ufp1, destVL=16
vclear dest=xmm2, destVL=16
};
def macroop VPBROADCASTD_XMM_P {
rdip t7
ldfp ufp1, seg, riprel, disp, dataSize=4
vbroadcast32 dest=xmm0, src=ufp1, destVL=16
vclear dest=xmm2, destVL=16
};
def macroop VPBROADCASTD_YMM_XMM {
vbroadcast32 dest=xmm0, src=xmm0m, destVL=32
vclear dest=xmm4, destVL=32
};
def macroop VPBROADCASTB_YMM_XMM {
vbroadcast8 dest=xmm0, src=xmm0m, destVL=32
vclear dest=xmm4, destVL=32
};
def macroop VPBROADCASTB_YMM_M {
ldfp ufp1, seg, sib, disp, dataSize=1
vbroadcast8 dest=xmm0, src=ufp1, destVL=32
vclear dest=xmm4, destVL=32
};
def macroop VPBROADCASTB_YMM_P {
rdip t7
ldfp ufp1, seg, riprel, disp, dataSize=1
vbroadcast8 dest=xmm0, src=ufp1, destVL=32
vclear dest=xmm4, destVL=32
};
def macroop VPBROADCASTD_YMM_M {
ldfp ufp1, seg, sib, disp, dataSize=4
vbroadcast32 dest=xmm0, src=ufp1, destVL=32
vclear dest=xmm4, destVL=32
};
def macroop VPBROADCASTD_YMM_P {
rdip t7
ldfp ufp1, seg, riprel, disp, dataSize=4
vbroadcast32 dest=xmm0, src=ufp1, destVL=32
vclear dest=xmm4, destVL=32
};
def macroop VPBROADCASTD_ZMM_XMM {
vbroadcast32 dest=xmm0, src=xmm0m, destVL=64
};
def macroop VPBROADCASTD_ZMM_M {
ldfp ufp1, seg, sib, disp, dataSize=4
vbroadcast32 dest=xmm0, src=ufp1, destVL=64
};
def macroop VPBROADCASTD_ZMM_P {
rdip t7
ldfp ufp1, seg, riprel, disp, dataSize=4
vbroadcast32 dest=xmm0, src=ufp1, destVL=64
};
''' | 24.130435 | 48 | 0.708559 | 325 | 2,220 | 4.741538 | 0.129231 | 0.103829 | 0.114212 | 0.107073 | 0.93316 | 0.93316 | 0.917586 | 0.878001 | 0.810513 | 0.788449 | 0 | 0.08324 | 0.193694 | 2,220 | 92 | 49 | 24.130435 | 0.777654 | 0 | 0 | 0.626667 | 0 | 0 | 0.991445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1dff4cc16a5544327689662486d007235c093bf8 | 829 | py | Python | test/run/t519.py | envirocoder/skulpt | b763d3e24860a8e3d303878e0035d8bad9f55578 | [
"MIT"
] | 4 | 2020-01-19T01:42:06.000Z | 2021-05-13T09:51:38.000Z | test/run/t519.py | envirocoder/skulpt | b763d3e24860a8e3d303878e0035d8bad9f55578 | [
"MIT"
] | null | null | null | test/run/t519.py | envirocoder/skulpt | b763d3e24860a8e3d303878e0035d8bad9f55578 | [
"MIT"
] | 4 | 2019-10-16T21:50:53.000Z | 2021-01-11T06:25:57.000Z | l = ['h','e','l','l','o']
print l.index('l')
print l.index('l', 2)
print l.index('l', 3)
print l.index('l', 2, 3)
print l.index('l', 3, 4)
print l.index('l', 2, -1)
print l.index('l', 2, -2)
print l.index('l', 3, -1)
try:
print l.index('l', 4)
except ValueError as e:
print repr(e)
try:
print l.index('l', -1)
except ValueError as e:
print repr(e)
try:
print l.index('l', 2, 2)
except ValueError as e:
print repr(e)
try:
print l.index('l', 3, 2)
except ValueError as e:
print repr(e)
try:
print l.index('l', 3, -2)
except ValueError as e:
print repr(e)
try:
print l.index('l', 3, 0)
except ValueError as e:
print repr(e)
try:
print l.index('l', 4.3)
except TypeError as e:
print repr(e)
try:
print l.index('l', 3, 0.6)
except TypeError as e:
print repr(e)
| 16.254902 | 30 | 0.577805 | 161 | 829 | 2.975155 | 0.111801 | 0.200418 | 0.367432 | 0.400835 | 0.949896 | 0.841336 | 0.718163 | 0.628392 | 0.628392 | 0.628392 | 0 | 0.042188 | 0.227986 | 829 | 50 | 31 | 16.58 | 0.70625 | 0 | 0 | 0.585366 | 0 | 0 | 0.025332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.585366 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
6988fe7f17b17fc468464047d026b7563a7f0513 | 27,657 | py | Python | scripts/acr_generate_html_report.py | vogelbac/LAB-QA2GO- | be434da7399d396413309f947f4b634d8fae9a17 | [
"BSD-3-Clause"
] | 14 | 2019-02-07T10:50:58.000Z | 2021-09-03T16:11:00.000Z | scripts/acr_generate_html_report.py | vogelbac/LAB-QA2GO- | be434da7399d396413309f947f4b634d8fae9a17 | [
"BSD-3-Clause"
] | 6 | 2019-01-28T09:19:27.000Z | 2021-09-09T06:56:42.000Z | scripts/acr_generate_html_report.py | vogelbac/LAB-QA2GO | be434da7399d396413309f947f4b634d8fae9a17 | [
"BSD-3-Clause"
] | 4 | 2019-01-28T09:00:58.000Z | 2021-05-25T13:54:40.000Z | #script to create a single html file for one measurement
import os,glob
def read_logfile(in_result_folder_terminal):
menu_html_file_path = '/home/brain/qa/html/menu_html.html'
menu_html_file = open(menu_html_file_path, 'r')
menu_html = menu_html_file.readlines()
menu_html_file.close()
in_result_folder_list = os.listdir(in_result_folder_terminal)
for i in in_result_folder_list:
if os.path.isdir(in_result_folder_terminal + i):
all_files = os.listdir(in_result_folder_terminal + i+'/')
resultpath = in_result_folder_terminal + i+'/'
os.chdir(resultpath)
date = i.split('_')
result_date = date[0]+'-' + date[1] + '-' +date [2]
#wenn result.html noch nicht existiert
if not 'results.html' in all_files:
logfile = open(resultpath+'logfile.txt','r')
#get list from logfile
logfile_list = []
for line in logfile:
for word in line.split():
logfile_list.append(word)
#Write HTML
in_result_folder = os.listdir(resultpath)
result_file = open(resultpath+'results.html','w')
result_file.writelines(menu_html)
result_file.write('\t\t<h1 style="margin-top:80px;">ACR Results '+result_date+'</h1>\n')
result_file.write('\t\t<h2>DICOM header comparison</h2>\n')
try:
header_file = open(resultpath+'header.txt','r')
result_file.write('\t\t<table>\n\t\t\t<th><td colspan="3"><b>DICOM header comparison</b></td></th>')
result_file.write('\t\t\t<tr><td><b>Field name</b></td><td><b>Reference value</b></td><td><b>Value in data</b></td></tr>\n')
for k in header_file:
header_line = k.split(';')
if len(header_line) == 3:
result_file.write('\t\t\t<tr><td><i>'+header_line[0]+'</i></td><td>'+header_line[1]+'</td><td>'+header_line[2]+'</td></tr>\n')
else:
header_line2 = k.split(',')
if len(header_line2) == 3:
result_file.write('\t\t\t<tr><td><i>'+header_line2[0]+'</i></td><td>'+header_line2[1]+'</td><td>'+header_line2[2]+'</td></tr>\n')
result_file.write('\t\t</table>\n')
result_file.write('\t\t<p></p>\n')
header_file.close()
except:
result_file.write('\t\t<p>No differences between headers or no DICOM file to compare available.</p>\n')
#Test 1: Geometic
#find #1
x = logfile_list.index('#1')
result_file.write('\t\t<h2>Test 1: <i>Geometric accuracy </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/1_geometry.html" target="_blank">Geometric accuracy</a>\n\t\t</p>\n\t\t <p>\n\t\t\t Allowed is ± 2mm difference. \n\t\t</p>\n\t\t<table> \n\t\t\t\t<tr> \n\t\t\t\t\t<th>Test</th> <th>Sequence</th> <th>Length</th> <th>Norm</th> <th>Error</th> \n\t\t\t\t</tr>\n')
#localizer
#test
if logfile_list[x+15] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+15] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+10]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+11]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+12]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+13]+'</td>\n\t\t\t\t</tr>\n')
#T1_sl1_hor
#test
if logfile_list[x+21] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+21] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+16]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+17]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+18]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+19]+'</td>\n\t\t\t\t</tr>\n')
#T1_sl1_ver
#test
if logfile_list[x+27] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+27] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+22]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+23]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+24]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+25]+'</td>\n\t\t\t\t</tr>\n')
#T1_sl5_hor
#test
if logfile_list[x+33] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+33] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+28]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+29]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+30]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+31]+'</td>\n\t\t\t\t</tr>\n')
#T1_sl5_ver
#test
if logfile_list[x+39] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+39] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+34]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+35]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+36]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+37]+'</td>\n\t\t\t\t</tr>\n')
#T1_sl5_+45d
#test
if logfile_list[x+45] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+45] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+40]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+41]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+42]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+43]+'</td>\n\t\t\t\t</tr>\n')
#T1_sl5_-45d
#test
if logfile_list[x+51] == 'Pass':
result_file.write('\t\t\t\t<tr><td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+51] == 'Fail':
result_file.write('\t\t\t\t<tr><td><img src="/fail.png" alt="Fail"></td>')
#name
result_file.write('<td>'+logfile_list[x+46]+'</td>')
#Lenth
result_file.write('<td>'+logfile_list[x+47]+'</td>')
#norm
result_file.write('<td>'+logfile_list[x+48]+'</td>')
#error
result_file.write('<td>'+logfile_list[x+49]+'</td>\n\t\t\t\t</tr>\n')
image = glob.glob('geometry_*')
result_file.write('\t\t\t</table>\n\t\t<p>\n\t\t\t <img src="'+image[0]+'">\n\t\t</p>\n')
#Test 2: Resolution T1
#find #2
x = logfile_list.index('#2')
result_file.write('\t\t<h2>Test 2: <i>High-contrast spatial resolution </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/2_high-contrast.html" target="_blank">High-contrast spatial resolution</a>\n\t\t</p>\n\t\t <p>\n\t\t\t To pass the resolution test, 4 holes in any single row must be distinguishable from one another. For both directions in both axial ACR series the measured resolution should be 1.0 mm or better.\n\t\t</p>\n\t\t<h3>T1</h3>\n\t\t<table> \n\t\t\t\t<tr>\n\t\t\t\t\t<th>Test</th><th>Resolution</th><th>Location</th><th>Holes</th>\n\t\t\t\t </tr>\n')
#get counted values
#+11 is the first value then in 2 steps because of 2 values left/right in one line
#if one value == 4
#right 1.1 mm
if int(logfile_list[x+11])==4 or int(logfile_list[x+13])==4 or int(logfile_list[x+15])==4 or int(logfile_list[x+17])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.1 mm</td><td>right</td>')
result_file.write('<td>'+logfile_list[x+11]+', '+logfile_list[x+13] +', '+ logfile_list[x+15] +', '+ logfile_list[x+17]+'</td>\n\t\t\t\t</tr>\n')
#left 1.1 mm
if int(logfile_list[x+12])==4 or int(logfile_list[x+14])==4 or int(logfile_list[x+16])==4 or int(logfile_list[x+18])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.1 mm</td><td>left</td>')
result_file.write('<td>'+logfile_list[x+12]+', '+logfile_list[x+14] +', '+ logfile_list[x+16] +', '+ logfile_list[x+18]+'</td>\n\t\t\t\t</tr>\n')
#right 1.0 mm
if int(logfile_list[x+25])==4 or int(logfile_list[x+27])==4 or int(logfile_list[x+29])==4 or int(logfile_list[x+31])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.0 mm</td><td>right</td>')
result_file.write('<td>'+logfile_list[x+25]+', '+logfile_list[x+27] +', '+ logfile_list[x+29] +', '+ logfile_list[x+31]+'</td>\n\t\t\t\t</tr>\n')
#left 1.0 mm
if int(logfile_list[x+26])==4 or int(logfile_list[x+28])==4 or int(logfile_list[x+30])==4 or int(logfile_list[x+32])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.0 mm</td><td>left</td>')
result_file.write('<td>'+logfile_list[x+26]+', '+logfile_list[x+28] +', '+ logfile_list[x+30] +', '+ logfile_list[x+32]+'</td>\n\t\t\t\t</tr>\n')
#right 0.9 mm
if int(logfile_list[x+39])==4 or int(logfile_list[x+41])==4 or int(logfile_list[x+43])==4 or int(logfile_list[x+45])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>0.9 mm</td><td>right</td>')
result_file.write('<td>'+logfile_list[x+39]+', '+logfile_list[x+41] +', '+ logfile_list[x+43] +', '+ logfile_list[x+45]+'</td>\n\t\t\t\t</tr>\n')
#left 0.9 mm
if int(logfile_list[x+40])==4 or int(logfile_list[x+42])==4 or int(logfile_list[x+44])==4 or int(logfile_list[x+46])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\n\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>0.9 mm</td><td>left</td>')
result_file.write('<td>'+logfile_list[x+40]+', '+logfile_list[x+42] +', '+ logfile_list[x+44] +', '+ logfile_list[x+46]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('resolution_*t1fl2d*')
result_file.write('\t\t\t</table>\n\t\t<p>\n\t\t\t <img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t</table>\n\t\t<p>\n\t\t</p>\n')
#Test 2: Resolution T2
#find #3
x = logfile_list.index('#3')
result_file.write('\n\t\t<h3>T2</h3>\n\t\t <table>\n\t\t\t\t <tr>\n\t\t\t\t\t<th>Test</th><th>Resolution</th><th>Location</th><th>Holes</th> \n\t\t\t\t</tr>\n')
#get counted values
#+11 is the first value then in 2 steps because of 2 values left/right in one line
#if one value == 4
#right 1.1 mm
if int(logfile_list[x+11])==4 or int(logfile_list[x+13])==4 or int(logfile_list[x+15])==4 or int(logfile_list[x+17])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.1 mm</td><td>right</td>')
result_file.write('<td>'+logfile_list[x+11]+', '+logfile_list[x+13] +', '+ logfile_list[x+15] +', '+ logfile_list[x+17]+'</td>\n\t\t\t\t</tr>\n')
#left 1.1 mm
if int(logfile_list[x+12])==4 or int(logfile_list[x+14])==4 or int(logfile_list[x+16])==4 or int(logfile_list[x+18])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.1 mm</td><td>left</td>')
result_file.write('<td>'+logfile_list[x+12]+', '+logfile_list[x+14] +', '+ logfile_list[x+16] +', '+ logfile_list[x+18]+'</td>\n\t\t\t\t</tr>\n')
#right 1.0 mm
if int(logfile_list[x+25])==4 or int(logfile_list[x+27])==4 or int(logfile_list[x+29])==4 or int(logfile_list[x+31])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.0 mm</td><td>right</td>')
result_file.write('<td>'+logfile_list[x+25]+', '+logfile_list[x+27] +', '+ logfile_list[x+29] +', '+ logfile_list[x+31]+'</td>\n\t\t\t\t</tr>\n')
#left 1.0 mm
if int(logfile_list[x+26])==4 or int(logfile_list[x+28])==4 or int(logfile_list[x+30])==4 or int(logfile_list[x+32])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>1.0 mm</td><td>left</td>')
result_file.write('<td>'+logfile_list[x+26]+', '+logfile_list[x+28] +', '+ logfile_list[x+30] +', '+ logfile_list[x+32]+'</td>\n\t\t\t\t</tr>\n')
#right 0.9 mm
if int(logfile_list[x+39])==4 or int(logfile_list[x+41])==4 or int(logfile_list[x+43])==4 or int(logfile_list[x+45])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>0.9 mm</td><td>right</td>')
result_file.write('<td>'+logfile_list[x+39]+', '+logfile_list[x+41] +', '+ logfile_list[x+43] +', '+ logfile_list[x+45]+'</td>\n\t\t\t\t</tr>\n')
#left 0.9 mm
if int(logfile_list[x+40])==4 or int(logfile_list[x+42])==4 or int(logfile_list[x+44])==4 or int(logfile_list[x+46])==4:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write('<td>0.9 mm</td><td>left</td>')
result_file.write('<td>'+logfile_list[x+40]+', '+logfile_list[x+42] +', '+ logfile_list[x+44] +', '+ logfile_list[x+46]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('resolution_*pdt2*')
result_file.write('\n\t\t\t</table> \n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>')
except:
result_file.write('\n\t\t\t</table> \n\t\t<p>\n\t\t</p>')
#Test 3: Slice Thickness
#find #4 and #5
#T1
x = logfile_list.index('#4')
y = logfile_list.index('#5')
result_file.write('\n\t\t<h2>Test 3: <i>Slice thickness accuracy </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/3_slice-thickness.html" target="_blank">Slice thickness accuracy</a>\n\t\t</p>\n\t\t<p> \n\t\t\tFor both ACR series the measured slice thickness should be 5.0 mm ± 0.7 mm \n\t\t</p>\n\t\t\t<table>\n\t\t\t\t <tr>\n\t\t\t\t\t<th>Test</th><th>Sequence</th><th>Slice thickness</th><th>Norm</th> <th>Error</th> \n\t\t\t\t</tr>\n')
if logfile_list[x+14] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+14] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T1</td>')
result_file.write ('<td>'+logfile_list[x+10]+'</td>')
result_file.write ('<td>'+logfile_list[x+11]+'</td>')
result_file.write ('<td>'+logfile_list[x+12]+'</td>\n\t\t\t\t</tr>\n')
#T2
if logfile_list[y+14] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[y+14] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T2</td>')
result_file.write ('<td>'+logfile_list[y+10]+'</td>')
result_file.write ('<td>'+logfile_list[y+11]+'</td>')
result_file.write ('<td>'+logfile_list[y+12]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('Schichtdicke_*t1fl2d*')
result_file.write('\t\t\t</table> \n\t\t\t<h4>T1</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t</table> \n\t\t\t<h4>T1</h4>\n\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('Schichtdicke_*pdt2*')
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t</p>\n')
# Test 4 Slice position accuracy
#find #6 and #7
x = logfile_list.index('#6')
y = logfile_list.index('#7')
result_file.write('\t\t<h2>Test 4: <i>Slice position accuracy </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/4_slice-position.html" target="_blank">Slice position accuracy</a>\n\t\t</p>\n\t\t<p>\n\t\t\tThe absolute bar length difference should be 5 mm or less.\n\t\t</p>\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Test</th><th>Sequence</th><th>Slice number</th><th>Length difference</th>\n\t\t\t\t</tr>\n')
#T1
#slice 2
if logfile_list[x+13] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+13] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T1</td>')
result_file.write ('<td>2</td>')
result_file.write ('<td>'+logfile_list[x+12]+'</td>\n\t\t\t\t</tr>\n')
#slice 12
if logfile_list[x+15] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+15] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T1</td>')
result_file.write ('<td>12</td>')
result_file.write ('<td>'+logfile_list[x+14]+'</td>\n\t\t\t\t</tr>\n')
#T2
#slice 2
if logfile_list[y+13] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[y+13] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T2</td>')
result_file.write ('<td>2</td>')
result_file.write ('<td>'+logfile_list[y+12]+'</td>\n\t\t\t\t</tr>\n')
#slice 12
if logfile_list[y+15] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[y+15] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T2</td>')
result_file.write ('<td>12</td>')
result_file.write ('<td>'+logfile_list[y+14]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('Schichtposition_*t1fl2d*')
result_file.write('\t\t\t</table>\n\t\t\t <h4>T1</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t</table>\n\t\t\t <h4>T1</h4>\n\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('Schichtposition_*pdt2*')
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>')
except:
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t</p>')
# Test 5 Image intensity uniformity
#find #8 and #9
x = logfile_list.index('#8')
y = logfile_list.index('#9')
result_file.write('\n\t\t<h2>Test 5: <i>Image intensity uniformity </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/5_image-intensity.html" target="_blank">Image intensity uniformity</a>\n\t\t</p>\n\t\t<p>\n\t\t\tPIU should be greater than or equal to 87.5% for MRI systems with field strengths less than 3 Tesla. PIU should be greater than or equal to 82.0% for MRI systems with field strength of 3 Tesla.\n\t\t</p>\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Test</th><th>Sequence</th><th>PIU</th><th>Norm</th><th>Discrepancy</th>\n\t\t\t\t</tr>\n')
#T1
if logfile_list[x+12] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+12] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T1</td>')
result_file.write ('<td>'+logfile_list[x+9]+'</td>')
result_file.write ('<td>'+logfile_list[x+10]+'</td>')
result_file.write ('<td>'+logfile_list[x+11]+'</td>\n\t\t\t\t</tr>\n')
#T2
if logfile_list[y+12] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[y+12] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T2</td>')
result_file.write ('<td>'+logfile_list[y+9]+'</td>')
result_file.write ('<td>'+logfile_list[y+10]+'</td>')
result_file.write ('<td>'+logfile_list[y+11]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('piu_*t1fl2d*')
result_file.write('\t\t\t</table>\n\t\t\t <h4>T1</h4>\n\t\t<p><img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t</table>\n\t\t\t <h4>T1</h4>\n\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('piu_*pdt2*')
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t</p>\n')
# Test 6 Percent-signal ghosting
#find #10 and #11
x = logfile_list.index('#10')
y = logfile_list.index('#11')
result_file.write('\t\t<h2>Test 6: <i>Percent-signal ghosting </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/6_psg.html" target="_blank">Percent-signal ghosting</a>\n\t\t</p>\n\t\t<p>\n\t\t\tThe ghosting ratio should be less than or equal to 0.025.\n\t\t</p>\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Test</th><th>Sequence</th><th>PSG</th><th>Norm</th><th>Discrepancy</th>\n\t\t\t\t</tr>\n')
#T1
if logfile_list[x+13] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[x+13] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T1</td>')
result_file.write ('<td>'+logfile_list[x+9]+'</td>')
result_file.write ('<td>'+logfile_list[x+11]+'</td>')
result_file.write ('<td>'+logfile_list[x+12]+'</td>\n\t\t\t\t</tr>\n')
#T2
if logfile_list[y+13] == 'Pass':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
elif logfile_list[y+13] == 'Fail':
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T2</td>')
result_file.write ('<td>'+logfile_list[y+9]+'</td>')
result_file.write ('<td>'+logfile_list[y+11]+'</td>')
result_file.write ('<td>'+logfile_list[y+12]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('Ghosting_*t1fl2d*')
result_file.write('\n\t\t\t</table>\n\t\t\t <h4>T1</h4>\n\t\t<p><img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\n\t\t\t</table>\n\t\t\t <h4>T1</h4>\n\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('Ghosting_*pdt2*')
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t</p>\n')
# Test 7 LCOD
#find #12 and #13
x = logfile_list.index('#12')
y = logfile_list.index('#13')
result_file.write('\t\t<h2>Test 7: <i>Low-contrast object detectability </i></h2>\n\t\t<p>\n\t\t\t<img src="/info.png" name="Information"> <a href="/acr_helptext/7_lcod.html" target="_blank">Low-contrast object detectability</a>\n\t\t</p>\n\t\t<p>\n\t\t\tEach of the ACR series should have a total score of at least 9 spokes for MRI systems with field strengths less than 3 Tesla, and 37 spokes for MRI systems with field strengths of 3 Tesla.\n\t\t</p>\\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Test</th><th>Sequence</th><th>Spokes per slice (8,9,10,11)</th><th>Norm</th><th>Sum</th>\n\t\t\t\t</tr>')
#T1
if int(logfile_list[x+19]) > 36:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else :
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T1</td>')
result_file.write ('<td>'+logfile_list[x+9]+', '+logfile_list[x+11]+', '+logfile_list[x+13]+', '+logfile_list[x+15]+'</td>')
result_file.write ('<td>< 36 </td>')
result_file.write ('<td>'+logfile_list[x+19]+'</td>\n\t\t\t\t</tr>\n')
#T2
if int(logfile_list[y+19]) > 36:
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/pass.png" alt="Pass"></td>')
else :
result_file.write('\t\t\t\t<tr>\n\t\t\t\t\t<td><img src="/fail.png" alt="Fail"></td>')
result_file.write ('<td>T2</td>')
result_file.write ('<td>'+logfile_list[y+9]+', '+logfile_list[y+11]+', '+logfile_list[y+13]+', '+logfile_list[y+15]+'</td>')
result_file.write ('<td>< 36 </td>')
result_file.write ('<td>'+logfile_list[y+19]+'</td>\n\t\t\t\t</tr>\n')
try:
image = glob.glob('LCOD_sl9_t1*')
result_file.write('\t\t\t</table>\n\t\t\t<h4>T1</h4>\n\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n')
except:
result_file.write('\t\t\t</table>\n\t\t\t<h4>T1</h4>\n\t\t<p>\n')
try:
image = glob.glob('LCOD_sl10_t1*')
result_file.write('\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('LCOD_sl11_t1*')
result_file.write('\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('LCOD_sl12_t1*')
result_file.write('\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('LCOD_sl9_t2*')
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p><img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t\t<h4>T2</h4>\n\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('LCOD_sl10_t2*')
result_file.write('\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('LCOD_sl11_t2*')
result_file.write('\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n')
except:
result_file.write('\t\t<p>\n\t\t</p>\n')
try:
image = glob.glob('LCOD_sl12_t2*')
result_file.write('\t\t<p>\n\t\t\t<img src="'+image[0]+'">\n\t\t</p>\n\t</body>\n</html>')
except:
result_file.write('\t\t<p>\n\t\t</p>\n\t</body>\n</html>')
result_file.close()
| 51.407063 | 616 | 0.587591 | 5,580 | 27,657 | 2.815771 | 0.048387 | 0.109343 | 0.093559 | 0.062118 | 0.83694 | 0.824529 | 0.806517 | 0.786278 | 0.779086 | 0.729442 | 0 | 0.033055 | 0.134758 | 27,657 | 537 | 617 | 51.502793 | 0.623527 | 0.037712 | 0 | 0.595745 | 0 | 0.263298 | 0.456048 | 0.22493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00266 | false | 0.130319 | 0.00266 | 0 | 0.005319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
38a37122918c671e30f0cae92ab7236e95ed660c | 161 | py | Python | src/sqlIntuitive/exceptions/parameterExceptions/__init__.py | einfachIrgendwer0815/SqlIntuitive | 11a0548ac2d6cfce295952bbf0f09a4faa4c42af | [
"MIT"
] | 6 | 2021-09-10T10:34:47.000Z | 2022-03-09T13:50:39.000Z | src/sqlIntuitive/exceptions/parameterExceptions/__init__.py | einfachIrgendwer0815/SqlIntuitive | 11a0548ac2d6cfce295952bbf0f09a4faa4c42af | [
"MIT"
] | 1 | 2021-11-25T07:10:16.000Z | 2021-11-26T12:18:14.000Z | src/sqlIntuitive/exceptions/parameterExceptions/__init__.py | einfachIrgendwer0815/SqlIntuitive | 11a0548ac2d6cfce295952bbf0f09a4faa4c42af | [
"MIT"
] | null | null | null | from sqlIntuitive.exceptions.parameterExceptions.baseException import ParameterException
from sqlIntuitive.exceptions.parameterExceptions.subexceptions import *
| 53.666667 | 88 | 0.906832 | 13 | 161 | 11.230769 | 0.615385 | 0.219178 | 0.356164 | 0.616438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 161 | 2 | 89 | 80.5 | 0.954248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
2a16158fb657fc62b6d52e71e0abe37dee616911 | 278,466 | py | Python | original_wikipedia_extractor.py | icehelmetminer/my_butler_jeeves | b84617cb3a4df80c852299438eac82cf574b09c2 | [
"MIT"
] | null | null | null | original_wikipedia_extractor.py | icehelmetminer/my_butler_jeeves | b84617cb3a4df80c852299438eac82cf574b09c2 | [
"MIT"
] | null | null | null | original_wikipedia_extractor.py | icehelmetminer/my_butler_jeeves | b84617cb3a4df80c852299438eac82cf574b09c2 | [
"MIT"
] | null | null | null |
import wikipedia
import re
import tqdm
from tqdm import tqdm
from tqdm import trange
from wikipedia import exceptions
from wikipedia.exceptions import *
import icecream
from icecream import ic
# importing the required module
import timeit2
import pickle
from timeit2 import ti2
from names import possible_names_male
from names import possible_names_female
from NER import extract_entities_labelstoo
from NER import extract_entities
from NER import cleanup_string # includes cleanup_string
from names import *
import numpy as np
import matplotlib.pyplot as plt
import tqdm
from tqdm import *
import time
import pandas as pd
import geopandas as gpd
from urllib import request
from geotext import GeoText
from geopy.geocoders import Nominatim
from geopy.exc import GeocoderTimedOut
from shapely.geometry import Point, Polygon
import descartes
#find the connections for these primary characters then run the program
# finds the cities within the raw string you pass to it --> returns them as an array returns results = [titlephrase,authorphrase,cities(array)]
def my_personal_magellan(raw):
#ic()
#!print(f'{type(raw)}, \n{len(raw)}, \n{raw[:501]}')
intro = raw[0:15000]
intro = intro.split()
attention = False # init
attention2 = False # init
titlephrase = "" # start with nothing and build the title phrase
authorphrase = ""
for word in intro:
if word == "Title:":
attention = True
if attention == True and (word == "Release" or word == "Author:"):
#passed the title
if word == "Author:":
#ic()
attention2 = True # watch for author
attention = False # stop paying attention
if attention == True and word != "Title:":
titlephrase += " " + word # todo cannot seem to get rid of the space before the title here... 6/4/21
if word != "Author:" and attention2 == True:
#print(word,"--> ",attention2)
authorphrase += " " + word
#if word == "Release" or word == "Date:" or len(authorphrase)>16 or word == "Release Date:":
# print(word,"--> ",authorphrase)
authorphrase = raw[raw.find(", by")+5:raw.find("\n\n")]
if raw.find("\n\n")<100:
authorphrase = raw[raw.find(", by")+5:raw.find("\n\n")]
else:
authorphrase = authorphrase
if authorphrase.find("\n") > 0: #* fixing the malformed
authorphrase = authorphrase[0:authorphrase.find("\n")]
if authorphrase == '':
authorphrase = "No Author"
places = GeoText(raw)
cities = list(places.cities)
results = [titlephrase,authorphrase,cities]
return results
def resetfiles(primary_characters):
for name in primary_characters:
contextfile_name = "/Volumes/My Passport for Mac/gutenbrain_files/" + person + "_contextfile.txt"
contextfile = open(contextfile_name,'w')
contextfile.close()
#call this to extract the content of the gutenberg library use primary characters to determine interesting score of text
def osextract(primary_characters,mode,authors_list):
#ic()
citydict = {'city':'mentions'}
import os
# bookworm
import time
headerline = "Page/page/book,connection,city,lat,long"
statsfile = open("/Volumes/My Passport for Mac/gutenbrain_files/cities_statsfile.txt",'w')
statsfile.write('\n')
statsfile.close()
statsfile = open("/Volumes/My Passport for Mac/gutenbrain_files/gutenberg_stats_file.txt",'w')
statsfile.write('\n')
statsfile.close()
gut_directory = "/Volumes/NO NAME/PDF_GUTENBERG_LIBRARY/"
length = 0
length_index = 0
outercitydict = {'outercity':'connections'}
for entry in os.scandir(gut_directory):
length+=1
looper = 0
for entry in os.scandir(gut_directory):
if (entry.path.endswith(".txt")) and entry.is_file():
# we are now able to access this text file that has been located here in this directory
#time.sleep(1)
# at this point entry.name retrieves the filename like 12377.txt
results = bookworm(entry.path,'txt') # this pulls the text of the book at entry.path
statsfile = open("/Volumes/My Passport for Mac/gutenbrain_files/cities_statsfile.txt",'a+')
#todo --> here the variable results has the text of the book
'''
identify locations
identify timeframes
identify characters
commonalities
'''
resultsarray = my_personal_magellan(results) #? looks like this --> results = [titlephrase,authorphrase,cities]
title = resultsarray[0]
author = resultsarray[1] # todo not working
temp = ''
for i in str(title):
if i != ',':
temp+= str(i) # save all noncomma alpha chars
title = temp # no commas
cities = resultsarray[2]
if len(author)<100:
author = author
else:
author = author[0:int(author.find(""))]
ic(author)
statsline = title + "," + author + ","
#find all occurances of the term
totaloccurances = 0 # this shows the degree of concentration that this volume has of our characters.
partymembers = [] # who was mentioned
proceed = False # todo this down to 170 not needed
if len(auth)>0:
if author in auth:
proceed == True
printstring = "OCCURRANCES: "+ title + " mentions -->"
#print(title," mentions ",totaloccurances,' different characters ')
sofar = [] #? which characters are mentioned
pbar2 = tqdm(primary_characters)
for person in pbar2:
pbar2.set_description("[%s]" % person)
looper+=1
# define the headerstring for the context file
headerstring = '\n'+'\n'+ " #### Gutenberg Book: [ " + title + ", by (" +author+") mentions " + person + "] #### " + '\n' + '\n'
contextfile_name = "/Volumes/My Passport for Mac/gutenbrain_files/" + person + "_contextfile.txt"
headerhasbeenplaced = False
occurances = [m.start() for m in re.finditer(person.lower(), results.lower())]
statsline += str(len(occurances)) + "," + str(occurances)
if len(occurances) > 1:
print(title," mentions ",person,' a total of ',len(occurances)," times -> ",occurances[0],"...",occurances[len(occurances)-1])
printstring += str(person) + ","
if person not in sofar:
sofar.append(person)
sofarphrase = '' #init
#ic(occurances)
for index in occurances:
#ic(index)
upperend = 2000
for spacer in range(0,upperend): # we want 100 of these extras
if spacer <= index:
try:
#ic(context)
context = results[(index-spacer):(index+spacer)]
#ic(index)
#ic(spacer)
#ic(context)
#ic(results[index])
#ic(results[spacer])
except Exception: # found max of spacer
# todo -- problem -- its never getting here...
context = results[(index-(spacer-1)):(index+(spacer-1))]
#print(context[0:20])
#!ic(len(context))
ic(context)
break # exit loop
#print(context[0:20])
else:
context = results[(index-(spacer-1)):(index+(spacer-1))]
#print(context[0:20])
break # exit loop
temptext=""
for x in context:
stoparray = ['\n']
if x not in stoparray:
temptext+=str(x)
else:
temptext+=str(' ')
context = temptext
'''for word in temptext.split():
if word in primary_characters and word not in sofar:
sofar.append(word)'''
'''sofarphrase = title + "," + person + "," + sofarphrase
statsfile2 = "/Volumes/My Passport for Mac/gutenbrain_files/" + person + "_statsfile.txt"
statsfile2.append(sofarphrase)
statsfile2.append('\n')
statsfile2.close()'''
if len(context)>0:
contextfile_name = "/Volumes/My Passport for Mac/gutenbrain_files/" + person + "_contextfile.txt"
contextfile = open(contextfile_name,'a+')
if headerhasbeenplaced == False:
contextfile.write(headerstring)
headerhasbeenplaced = True
contextfile.write('\n')
#contextfile.write(headerstring)
contextfile.write(context)
contextfile.write('\n')
contextfile.close()
if length % looper == 0:
print("Still Working...",looper/10*100,"%"," complete...")
totaloccurances += len(occurances)
if totaloccurances > 0:
partymembers.append(person)
#!print("saving ",len(cities)," cities from ", title)
for city in cities:
statsline = "'" + str(title)+ "'" + ',' + str(author) + "," + city + "," + "-" + "," + "-"
statsfile.write(statsline)
statsfile.write('\n')
outercitydict[entry] = citysaver(citydict,cities)
statsfile.close()
write_file = open("/Volumes/My Passport for Mac/gutenbrain_files/gutenberg_stats_file.txt",'a+')
#netwritefile = open("/Volumes/My Passport for Mac/gutenbrain_files/network_statsfile.txt",'a+')
writeline = title +","+ author +","+ str(totaloccurances) + "," + str(sofar)
#?print(printstring,end='')
#?print(totaloccurances)
write_file.write(writeline)
write_file.write('\n')
write_file.close()
if (entry.path.endswith(".pdf")) and entry.is_file():
# we are now able to access this text file that has been located here in this directory
# calling our function
#bookworm()
#time.sleep(1)
#!print(entry.name)
# at this point entry.name retrieves the filename like 12377.txt
results = bookworm(entry.path,'pdf')
results = [results,citydict]
length_index+=1
return results
# Returns number of times x
# occurs in arr[0..n-1]
def countOccurrences(arr, n, x):
res = 0
for i in range(n):
if x == arr[i]:
res += 1
return res
def citysaver(dict_city,cityarray):
# save the cities to the dictionary and update values
for city in cityarray:
if city in dict_city:
# city is in dict...
current_city_count = dict_city[city]
#ic(city)
else:
current_city_count = 0 # init
try:
current_city_count = current_city_count + countOccurrences(cityarray,len(cityarray),city) # new count is current + how many times it occurs in the new array
except UnboundLocalError:
current_city_count = 0 # set the initial city count
ic()
try:
current_city_count = dict_city[city] # what is the current count for Houston?
except Exception:
newcitydict = {city: current_city_count}
dict_city.update(newcitydict)
#print("debug (a) -> city:",city,":",current_city_count)
newcitydict = {city: current_city_count}
dict_city.update(newcitydict)
return dict_city
def main_gutenberg(choice):
'''
README
choice options
m - manual entry
s - saved lists
y - saved lists + years
t - myths/ww2 terminology lists
? - other
'''
write_file = open("/Volumes/My Passport for Mac/gutenbrain_files/gutenberg_results.txt",'w+')
write_file.close()
#print("Enter Manually (m)\nUse Saved List (s)\nUse years (y)\nUse myths/legends and WW2 Terminology (t)")
#choice = input("choice:")
auth=[]
'''
print("Enter Preferred Author(s) or Return to continue...")
auth=[]
person = " "
while person != "":
person = input("author: ")
if person not in auth:
auth.append(person)
else:
print("Already entered ",person)
'''
if len(auth) == 1:
if auth[0] == '':
auth = []
if choice == 'm':
people=[]
person = " "
while person != "":
person = input("character: ")
contextfile_name = "/Volumes/My Passport for Mac/gutenbrain_files/" + person + "_contextfile.txt"
contextfile = open(contextfile_name,'w+')
contextfile.close()
people.append(person)
people = people[:-1]
elif choice == 's':
primary_characters = ['Alien', ' UFO ', 'sky sound', 'Arthur Conan Doyle', 'Nikola Tesla', 'Marconi', ' CIA ','Queen Victoria','H.G. Wells','secret plan','underwater base','atlantis','teleport',' vanish','invisible','A Study in Scarlet','Sherlock','Holmes','Doyle','secret plan',"The Adventures of Sherlock Holmes","The Memoirs of Sherlock Holmes (1893–94)","The Return of Sherlock Holmes","His Last Bow","The Case-Book of Sherlock Holmes","The Field Bazaar","The Story of the Man with the Watches","The Story of the Lost Special","Plot for Sherlock Holmes Story","How Watson Learned the Trick","Angels of Darkness","Sherlock Holmes: A Drama in Four Acts (or Sherlock Holmes)","The Speckled Band (or The Stonor Case)","The Crown Diamond: An Evening With Mr Sherlock Holmes","Essays and retrospectives","To An Undiscerning Critic","Some Personalia about Mr. Sherlock Holmes","The Truth About Sherlock Holmes","Mr. Sherlock Holmes to His Readers","How I Made My List","Works of interest by other authors","The Exploits of Sherlock Holmes","The Case of the Man Who Was Wanted","The Adventure of the Two Collaborators",'Time Echo','Vitons','Benjamin Bathurst','Napoleonic Wars','Khachatur Abovian','George Bass','Ludwig Leichhardt','Louis Le Prince','Albert Jennings Fountain','Theodosia Burr Alston','The Smuttynose Murders','The Solway Spaceman','salem witch trials','Titanic','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia','Queen Victoria','List of people who disappeared mysteriously: pre-1970', 'Hindenburg disaster','Oak Island mystery','Mystery airship','Mary Shelley','Timeline of London (1800s)','Beast', 'Here be Dragons','myths','Hyde', 'Unsolved Murders', 'Spanish Flu', 'Kenneth Swezey', 'Mysticism', 'Antarctica', 'Builderbergs', 'Deep State', 'Dragon', 'Sea Serpant', 'Monster', 'Loch Ness', 'English Royalty', 'Jack the Ripper', '1800s', '1889', '1888', '1887', 'Paris France', 'Spiritualism', 'Conspiracy Theories', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Manfred Von Richthofen', 'H.G. Wells', 'Napoleon Bonaparte', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'C. M. Eddy Jr.', 'Joaquin Argamasilla', 'Nino Pecoraro', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', ' ike ','Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt', 'Benito Mussolini', 'Mikail Gorbachev', 'Melville Davisson Post', 'Thomas Hardy', 'Paul de Kock', 'Wilbur Daniel Steel', 'Charles Reade', 'Leonid Andreiev', 'Katherine Mansfield', 'Wilkie Collins', 'E Phillips Oppenheim', 'Victor Hugo', 'Edison', 'Mina Edison', 'Time Travel', 'Time Machine', 'Dimensional', 'Dimensions', 'Ghost', 'Invisible man', 'invisibility', 'big foot', 'hiroshima', 'nagasaki', 'los alamos', 'october 1941', 'elisabeth hertz', 'hitler', 'soviet union', 'USSR', 'Joseph Stalin','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia']
significantdates = ['June 1846','D Day','']
otherpages = ['Urbain Le Verrier','Sir Patrick Moore','Astronomer Royal','Michelangelo','Royal Greenwich Observatory','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','June 1846','D Day','Medici','Da Vinci','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia']
#Sir Patrick Moore asserted in his autobiography that the ghost of Airy has been seen haunting the Royal Greenwich Observatory after nightfall. (page 178)
testinggroup = ['Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt']
people = ['Nazi Germany','teleportation','Queen Victoria','Marconi','Hindenburg disaster', 'Lady of the Lake','Reichenbach Falls','Tír na nÓg', 'Mystery airship', 'Mary Shelley', 'Here be Dragons', 'Hyde', 'Spanish Flu', 'Kenneth Swezey', 'Dragon', 'Sea Serpant', 'Monster', 'Loch Ness', 'Jack the Ripper', '1889', '1888', '1887', 'Spiritualism', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Manfred Von Richthofen', 'H.G. Wells', 'Napoleon', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt', 'Benito Mussolini', 'Thomas Hardy', 'Paul de Kock', 'Wilbur Daniel Steel', 'Charles Reade', 'Leonid Andreiev', 'Katherine Mansfield', 'Wilkie Collins', 'E Phillips Oppenheim', 'Victor Hugo', 'Edison', 'Mina Edison', 'Time Travel', 'Time Machine', 'Dimensional', 'Dimensions', 'Ghost', 'Invisible man', 'invisibility', 'big foot', 'Hiroshima', 'Nagasaki', 'los alamos', 'elisabeth hertz', 'hitler', 'soviet union', 'USSR', 'Joseph Stalin', 'ross ice shelf', ' alien ', ' ufo ', ' mars ', 'Ancient Egypt', 'Big Ben ', 'Ra the Sun God', 'Columbia University', 'Westinghouse', 'King Arthur', ' Merlin', 'Avalon', 'Stonehenge', ' Orion', 'Superman', 'die glocke', 'al capone', 'francis bacon','oak island','captain kidd']
people_full = []
for person in primary_characters:
if person not in people_full:
people_full.append(person)
for person in otherpages:
if person not in people_full:
people_full.append(person)
for person in testinggroup:
if person not in people_full:
people_full.append(person)
for person in people:
if person not in people_full:
people_full.append(person)
print(len(people_full))
print("resetting files...")
resetfiles(people_full)
print(len(people_full)," files have been reset")
elif choice == 'y':
primary_characters = ['Alien', ' UFO ', 'sky sound', 'Arthur Conan Doyle', 'Nikola Tesla', 'Marconi', ' CIA ','Queen Victoria','H.G. Wells','secret plan','underwater base','atlantis','teleport',' vanish','invisible','A Study in Scarlet','Sherlock','Holmes','Doyle','secret plan',"The Adventures of Sherlock Holmes","The Memoirs of Sherlock Holmes (1893–94)","The Return of Sherlock Holmes","His Last Bow","The Case-Book of Sherlock Holmes","The Field Bazaar","The Story of the Man with the Watches","The Story of the Lost Special","Plot for Sherlock Holmes Story","How Watson Learned the Trick","Angels of Darkness","Sherlock Holmes: A Drama in Four Acts (or Sherlock Holmes)","The Speckled Band (or The Stonor Case)","The Crown Diamond: An Evening With Mr Sherlock Holmes","Essays and retrospectives","To An Undiscerning Critic","Some Personalia about Mr. Sherlock Holmes","The Truth About Sherlock Holmes","Mr. Sherlock Holmes to His Readers","How I Made My List","Works of interest by other authors","The Exploits of Sherlock Holmes","The Case of the Man Who Was Wanted","The Adventure of the Two Collaborators",'Time Echo','Vitons','Benjamin Bathurst','Napoleonic Wars','Khachatur Abovian','George Bass','Ludwig Leichhardt','Louis Le Prince','Albert Jennings Fountain','Theodosia Burr Alston','The Smuttynose Murders','The Solway Spaceman','salem witch trials','Titanic','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia','Queen Victoria','List of people who disappeared mysteriously: pre-1970', 'Hindenburg disaster','Oak Island mystery','Mystery airship','Mary Shelley','Timeline of London (1800s)','Beast', 'Here be Dragons','myths','Hyde', 'Unsolved Murders', 'Spanish Flu', 'Kenneth Swezey', 'Mysticism', 'Antarctica', 'Builderbergs', 'Deep State', 'Dragon', 'Sea Serpant', 'Monster', 'Loch Ness', 'English Royalty', 'Jack the Ripper', '1800s', '1889', '1888', '1887', 'Paris France', 'Spiritualism', 'Conspiracy Theories', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Manfred Von Richthofen', 'H.G. Wells', 'Napoleon Bonaparte', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'C. M. Eddy Jr.', 'Joaquin Argamasilla', 'Nino Pecoraro', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt', 'Benito Mussolini', 'Mikail Gorbachev', 'Melville Davisson Post', 'Thomas Hardy', 'Paul de Kock', 'Wilbur Daniel Steel', 'Charles Reade', 'Leonid Andreiev', 'Katherine Mansfield', 'Wilkie Collins', 'E Phillips Oppenheim', 'Victor Hugo', 'Edison', 'Mina Edison', 'Time Travel', 'Time Machine', 'Dimensional', 'Dimensions', 'Ghost', 'Invisible man', 'invisibility', 'big foot', 'hiroshima', 'nagasaki', 'los alamos', 'october 1941', 'elisabeth hertz', 'hitler', 'soviet union', 'USSR', 'Joseph Stalin','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia']
otherpages = ['The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia']
testinggroup = ['Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt','Derinkuyu','Naours','Elsbeth Schragmüller','Wieliczka','Lalibela','Underground City','Petra ','Orvieto','Alfred Ewing','Burlington ','Hell Fire Club','Montpellier Hill','Massy Woods','Raynham Hall','Ancient Ram Inn','Edinburgh Castle','Borgvattnet','Basil Thomson','Akershus Festning','Fräulein Doktor','Beau-Sejour Palace','Helmuth von Moltke','Ufficio Informazioni del Comando Supremo','saboteurs','Qudlivun','Signalbuch der Kaiserlichen Marine ','Chateau Miranda','Chateau de Brissac','H-21','Poveglia','Ca’Dario','Wolfsegg Castle','Russo-Japanese War','Alfheim','Kriegsnachrichtenstelle','saboteur','set europe ablaze','Enigma','Nachrichten-Abteilung','Moosham Castle','October 1914','Freihung','Hoia Baciu','Predjama Castle','Dargavs','Pripyat','Margaretha Geertruida Zelle','Abteilung','Okhrana','Second Boer War','Sidney Reilly','Spy-Fever','H. J. Round','Dogger Bank','Vernon Kell','Mata Hari','British Secret Service Bureau','codebreak','august 1914','crypto','Room 40','Sir Paul Dukes']
mythology = ['Abenaki', "Adam's Bridge", 'Adliparmiut', 'Adlivun', ' Aeon ', 'Afterlife', 'Agartha', 'Akilineq', 'Alfheim', 'Amaravati', 'Amazons', 'Annwn', 'Antillia', 'Arcadia (utopia)', 'Aristophanes', 'Arthurian legend', ' Asgard', 'Asphodel Meadows', 'Atlantis', 'Austrasia', 'Avalon', 'Axis mundi', 'Ayotha Amirtha Gangai', 'Ayyavazhi mythology', 'Aztec mythology', 'Aztlán', 'Babylonia', 'Babylonian mythology', 'Baffin Island', 'Baltia', 'Biarmaland', 'Biringan city', 'Brahma', 'Brahmapura', 'Island of Brasil', 'Land of Brittany', 'Brittia','Camelot', 'Celtic Otherworld', 'Chinese mythology', 'City of the Caesars', 'Cloud cuckoo land', 'Cockaigne', 'Conquistador', 'Cornwall', 'Dharmic religions', 'Dinas Affaraon', 'Diyu ', 'Druid', 'Dökkálfar', 'El Dorado (myth)', 'El Dorado', 'Elysium', 'Etheric plane', 'Feather Mountain', 'Finland', 'Finnish mythology', 'Four Treasures of the Tuatha Dé Danann', 'Fusang', 'Gandara, Samar', 'Garden of the Hesperides', 'Gerald Massey', 'Gnosticism', 'Great Flood', 'Greek mythology','Hadith', 'Hawaiki', 'Hel (location)', 'Hy-Brasil', 'Hyperborea', 'Inuit mythology', 'Irish Mythology', 'Irish mythology', 'Irkalla', 'Iroquois', 'Islands of the Blessed', 'Jabulqa','Jabulsa', 'Jambudvīpa', 'Jotunheim', ' Kami ', 'Ketumati', 'King Arthur', 'King Horn', 'Kingdom of Saguenay', 'Kitezh', 'Kiwai Island', 'Kojiki', 'Kolob ', 'Kubla Khan', 'Kublai Khan', 'Kunlun Mountain (mythology)', 'Kunlun Mountains', 'Kvenland', 'Kyöpelinvuori', 'La Ciudad Blanca', 'Labrador Peninsula', 'Laestrygon', 'Lake Parime', 'Lake Svetloyar', 'Land of Manu', 'Lemuria (continent)', 'Lyonesse', 'Mag Mell', 'Maitreya', 'Mayan mythology', 'Meropis', 'Mexica', 'Mictlan', 'Middle English literature', 'Mount Katahdin', 'Mount Olympus', 'Mount Penglai', ' Mu ', 'Muspelheim', 'Māori people', 'Naraka ', 'New World Library', 'Nibiru (Babylonian astronomy)', 'Niflheim', 'Niflhel', 'Fallen Angel','Nirvana', 'Norse mythology', 'Norse saga', 'Norumbega', 'Nymphs', 'Nysa (mythology)', ' Odin ', 'Paganism', 'Pagsanghan, Samar', 'Paititi', 'Pamola', 'Panchaia','Panchaia (island)', 'Pandæmonium','Pandæmonium (Paradise Lost)', 'Paradise Lost', 'Patagonia', 'Paul Bunyan', 'Plato ', 'Pleroma', 'Pohjola', 'Pure land', 'Qudlivun', 'Quivira and Cíbola', 'Reincarnation', 'Roshen Dalal', 'Ryūgū-jō', ' Samar', 'Samavasarana', 'Samuel Taylor Coleridge', 'Sanat Kumara', 'Scholomance', 'Shambhala', 'Shangdu', 'Shangri-La', "Shi'i", 'Shinto', 'Siddha ', 'Sierra de la Plata', 'Snowdonia', 'Suddene', 'Svarga', 'Svartálfaheimr', 'Takama-ga-hara', 'Tarangnan Samar', 'Tartarus', 'The Birds (play)', 'The Summerland', 'Themiscyra', 'Theosophy (Blavatskian)', 'Thule', 'Thuvaraiyam Pathi', 'Tibetan Buddhist', 'Tirthankara', 'Trojan War', 'Tuatha Dé Danann', 'Twelve Olympians', 'Tír na nÓg', 'Underworld', 'Vaikuntha', 'Valhalla', 'Vanaheimr', 'Vanir', 'Viking', 'Vishnu', 'Welsh mythology', 'Westernesse', 'White Sea', 'Wicca', 'Xibalba', 'Yomi', ' Ys ', 'Zarahemla', 'Zerzura','Sea Serpent','Giant Beast','Terrible Lizard']
people = ['Nazi Germany','teleportation','Queen Victoria','Marconi','Hindenburg disaster', 'Lady of the Lake','Reichenbach Falls','Tír na nÓg', 'Mystery airship', 'Mary Shelley', 'Here be Dragons', 'Hyde', 'Spanish Flu', 'Kenneth Swezey', 'Dragon', 'Sea Serpant', 'Monster', 'Loch Ness', 'Jack the Ripper', '1889', '1888', '1887', 'Spiritualism', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Manfred Von Richthofen', 'H.G. Wells', 'Napoleon', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt', 'Benito Mussolini', 'Thomas Hardy', 'Paul de Kock', 'Wilbur Daniel Steel', 'Charles Reade', 'Leonid Andreiev', 'Katherine Mansfield', 'Wilkie Collins', 'E Phillips Oppenheim', 'Victor Hugo', 'Edison', 'Mina Edison', 'Time Travel', 'Time Machine', 'Dimensional', 'Dimensions', 'Ghost', 'Invisible man', 'invisibility', 'big foot', 'Hiroshima', 'Nagasaki', 'los alamos', 'elisabeth hertz', 'hitler', 'soviet union', 'USSR', 'Joseph Stalin', 'ross ice shelf', ' alien ', ' ufo ', ' mars ', 'Ancient Egypt', 'Big Ben ', 'Columbia University', 'Westinghouse', 'King Arthur', ' Merlin', 'Avalon', 'Stonehenge', ' Orion', 'Superman', 'die glocke', 'al capone', 'francis bacon','oak island','captain kidd']
people_full = []
for person in primary_characters:
if person not in people_full:
people_full.append(person)
for person in otherpages:
if person not in people_full:
people_full.append(person)
for person in testinggroup:
if person not in people_full:
people_full.append(person)
for person in people:
if person not in people_full:
people_full.append(person)
print(len(people_full))
print("resetting files...")
resetfiles(people_full)
print(len(people_full)," files have been reset")
#! this should be used if years are desired in the arrays
min_date = 999 # earliest year
max_date = 1980 # latest date
this_var = "-"
morepeople = []
year = 1800
while year < 1970:
year +=1
#this_var = input("enter name, location, or topic (etc): ")
morepeople.append(str(year))
#print(morepeople)
people = morepeople
elif choice == 't':
people = ['Derinkuyu','Naours','Elsbeth Schragmüller','Wieliczka','Lalibela','Underground City','Petra ','Orvieto','Alfred Ewing','Burlington ','Hell Fire Club','Montpellier Hill','Massy Woods','Raynham Hall','Ancient Ram Inn','Edinburgh Castle','Borgvattnet','Basil Thomson','Akershus Festning','Fräulein Doktor','Beau-Sejour Palace','Helmuth von Moltke','Ufficio Informazioni del Comando Supremo','saboteurs','Qudlivun','Signalbuch der Kaiserlichen Marine ','Chateau Miranda','Chateau de Brissac','H-21','Poveglia','Ca’Dario','Wolfsegg Castle','Russo-Japanese War','Alfheim','Kriegsnachrichtenstelle','saboteur','set europe ablaze','Enigma','Nachrichten-Abteilung','Moosham Castle','October 1914','Freihung','Hoia Baciu','Predjama Castle','Dargavs','Pripyat','Margaretha Geertruida Zelle','Abteilung','Okhrana','Second Boer War','Sidney Reilly','Spy-Fever','H. J. Round','Dogger Bank','Vernon Kell','Mata Hari','British Secret Service Bureau','codebreak','august 1914','crypto','Room 40','Sir Paul Dukes']
mythology = ['Abenaki', "Adam's Bridge", 'Adliparmiut', 'Adlivun', ' Aeon ', 'Afterlife', 'Agartha', 'Akilineq', 'Alfheim', 'Amaravati', 'Amazons', 'Annwn', 'Antillia', 'Arcadia (utopia)', 'Aristophanes', 'Arthurian legend', ' Asgard', 'Asphodel Meadows', 'Atlantis', 'Austrasia', 'Avalon', 'Axis mundi', 'Ayotha Amirtha Gangai', 'Ayyavazhi mythology', 'Aztec mythology', 'Aztlán', 'Babylonia', 'Babylonian mythology', 'Baffin Island', 'Baltia', 'Biarmaland', 'Biringan city', 'Brahma', 'Brahmapura', 'Island of Brasil', 'Land of Brittany', 'Brittia','Camelot', 'Celtic Otherworld', 'Chinese mythology', 'City of the Caesars', 'Cloud cuckoo land', 'Cockaigne', 'Conquistador', 'Cornwall', 'Dharmic religions', 'Dinas Affaraon', 'Diyu ', 'Druid', 'Dökkálfar', 'El Dorado (myth)', 'El Dorado', 'Elysium', 'Etheric plane', 'Feather Mountain', 'Finland', 'Finnish mythology', 'Four Treasures of the Tuatha Dé Danann', 'Fusang', 'Gandara, Samar', 'Garden of the Hesperides', 'Gerald Massey', 'Gnosticism', 'Great Flood', 'Greek mythology','Hadith', 'Hawaiki', 'Hel (location)', 'Hy-Brasil', 'Hyperborea', 'Inuit mythology', 'Irish Mythology', 'Irish mythology', 'Irkalla', 'Iroquois', 'Islands of the Blessed', 'Jabulqa','Jabulsa', 'Jambudvīpa', 'Jotunheim', ' Kami ', 'Ketumati', 'King Arthur', 'King Horn', 'Kingdom of Saguenay', 'Kitezh', 'Kiwai Island', 'Kojiki', 'Kolob ', 'Kubla Khan', 'Kublai Khan', 'Kunlun Mountain (mythology)', 'Kunlun Mountains', 'Kvenland', 'Kyöpelinvuori', 'La Ciudad Blanca', 'Labrador Peninsula', 'Laestrygon', 'Lake Parime', 'Lake Svetloyar', 'Land of Manu', 'Lemuria (continent)', 'Lyonesse', 'Mag Mell', 'Maitreya', 'Mayan mythology', 'Meropis', 'Mexica', 'Mictlan', 'Middle English literature', 'Mount Katahdin', 'Mount Olympus', 'Mount Penglai', ' Mu ', 'Muspelheim', 'Māori people', 'Naraka ', 'New World Library', 'Nibiru (Babylonian astronomy)', 'Niflheim', 'Niflhel', 'Fallen Angel','Nirvana', 'Norse mythology', 'Norse saga', 'Norumbega', 'Nymphs', 'Nysa (mythology)', ' Odin ', 'Paganism', 'Pagsanghan, Samar', 'Paititi', 'Pamola', 'Panchaia','Panchaia (island)', 'Pandæmonium','Pandæmonium (Paradise Lost)', 'Paradise Lost', 'Patagonia', 'Paul Bunyan', 'Plato ', 'Pleroma', 'Pohjola', 'Pure land', 'Qudlivun', 'Quivira and Cíbola', 'Reincarnation', 'Roshen Dalal', 'Ryūgū-jō', ' Samar', 'Samavasarana', 'Samuel Taylor Coleridge', 'Sanat Kumara', 'Scholomance', 'Shambhala', 'Shangdu', 'Shangri-La', "Shi'i", 'Shinto', 'Siddha ', 'Sierra de la Plata', 'Snowdonia', 'Suddene', 'Svarga', 'Svartálfaheimr', 'Takama-ga-hara', 'Tarangnan Samar', 'Tartarus', 'The Birds (play)', 'The Summerland', 'Themiscyra', 'Theosophy (Blavatskian)', 'Thule', 'Thuvaraiyam Pathi', 'Tibetan Buddhist', 'Tirthankara', 'Trojan War', 'Tuatha Dé Danann', 'Twelve Olympians', 'Tír na nÓg', 'Underworld', 'Vaikuntha', 'Valhalla', 'Vanaheimr', 'Vanir', 'Viking', 'Vishnu', 'Welsh mythology', 'Westernesse', 'White Sea', 'Wicca', 'Xibalba', 'Yomi', ' Ys ', 'Zarahemla', 'Zerzura','Sea Serpent','Giant Beast','Terrible Lizard']
for x in mythology:
if x not in people:
people.append(x)
print(people)
else:
ic()
#Russia's Okhrana was formed in 1880 to combat political terrorism and left-wing revolutionary activity throughout the Russian Empire, but was also tasked with countering enemy espionage.[49] Its main concern was the activities of revolutionaries, who often worked and plotted subversive actions from abroad. It created an antenna in Paris run by Pyotr Rachkovsky to monitor their activities. The agency used many methods to achieve its goals, including covert operations, undercover agents, and "perlustration" — the interception and reading of private correspondence. The Okhrana became notorious for its use of agents provocateurs who often succeeded in penetrating the activities of revolutionary groups including the Bolsheviks.[50]
#In Britain the Second Boer War (1899–1902) saw a difficult and highly controversial victory over hard-fighting whites in South Africa. One response was to build up counterinsurgency policies. After that came the "Edwardian Spy-Fever," with rumors of German spies under every bed.[53]
#In 1900, the Imperial German Navy established the Nachrichten-Abteilung, which was devoted to gathering intelligence on Britain. The navies of Italy, Russia and Austria-Hungary set up similar services as well.
'''
In Britain, the Secret Service Bureau was split into a foreign and counter intelligence domestic service in 1910. The latter was headed by Sir Vernon Kell and was originally aimed at calming public fears of large scale German espionage.[54] As the Service was not authorized with police powers, Kell liaised extensively with the Special Branch of Scotland Yard (headed by Basil Thomson), and succeeded in disrupting the work of Indian revolutionaries collaborating with the Germans during the war.
A key figure was Sidney Reilly, a Russian-born adventurer and secret agent employed by Scotland Yard and the Secret Intelligence Service. He set the standard for modern espionage, turning it from a gentleman's amateurish game to a ruthless and professional methodology for the achievement of military and political ends. Reilly's career culminated in a failed attempt to depose the Bolshevik Government and assassinate Vladimir Ilyich Lenin.[72]
Integrated intelligence agencies run directly by governments were also established. The British Secret Service Bureau was founded in 1909 as the first independent and interdepartmental agency fully in control over all government espionage activities.
In January 1917, the German military attaché in Madrid transmitted radio messages to Berlin describing the helpful activities of a German spy code-named H-21. French intelligence agents intercepted the messages and, from the information it contained, identified H-21 as Mata Hari. She was executed by firing squad on 15 October 1917.
Another pivotal figure was Sir Paul Dukes, arguably the first professional spy of the modern age.[73] Recruited personally by Mansfield Smith-Cumming to act as a secret agent in Imperial Russia, he set up elaborate plans to help prominent White Russians escape from Soviet prisons after the Revolution and smuggled hundreds of them into Finland. Known as the "Man of a Hundred Faces," Dukes continued his use of disguises, which aided him in assuming a number of identities and gained him access to numerous Bolshevik organizations. He successfully infiltrated the Communist Party of the Soviet Union, the Comintern, and the political police, or CHEKA. Dukes also learned of the inner workings of the Politburo, and passed the information to British intelligence.
In the course of a few months, Dukes, Hall, and Reilly succeeded in infiltrating Lenin's inner circle, and gaining access to the activities of the Cheka and the Communist International at the highest level. This helped to convince the government of the importance of a well-funded secret intelligence service in peacetime as a key component in formulating foreign policy. Churchill argued that intercepted communications were more useful "as a means of forming a true judgment of public policy than any other source of knowledge at the disposal of the State."[74]
Churchill's order to "set Europe ablaze,"
'''
if len(people)>0:
print("saved (",len(people),") characters...")
print("mode: \nall authors (a)\nthese authors (t)")
mode = input("mode: ")
if mode == 't':
print("Enter Preferred Author(s) or Return to continue...")
auth=[]
person = " "
while person != "":
person = input("author: ")
if person not in auth:
auth.append(person)
else:
print("Already entered ",person)
result = osextract(people,mode,auth)
#result[0] is the normal extraction
#result[1] is the cities dictionary
print(result[1])
# I want to identify commonalities between the works of several authors...
# First I want to find all of the books that are written by a specific author
print("finished")
# finds the cities within the raw string you pass to it --> returns them as an array returns results = [titlephrase,authorphrase,cities(array)]
def my_personal_magellan(raw):
#ic()
#!print(f'{type(raw)}, \n{len(raw)}, \n{raw[:501]}')
intro = raw[0:15000]
intro = intro.split()
attention = False # init
attention2 = False # init
titlephrase = "" # start with nothing and build the title phrase
authorphrase = ""
for word in intro:
if word == "Title:":
attention = True
if attention == True and (word == "Release" or word == "Author:"):
#passed the title
if word == "Author:":
#ic()
attention2 = True # watch for author
attention = False # stop paying attention
if attention == True and word != "Title:":
titlephrase += " " + word # todo cannot seem to get rid of the space before the title here... 6/4/21
if word != "Author:" and attention2 == True:
#print(word,"--> ",attention2)
authorphrase += " " + word
#if word == "Release" or word == "Date:" or len(authorphrase)>16 or word == "Release Date:":
# print(word,"--> ",authorphrase)
authorphrase = raw[raw.find(", by")+5:raw.find("\n\n")]
if raw.find("\n\n")<100:
authorphrase = raw[raw.find(", by")+5:raw.find("\n\n")]
else:
authorphrase = authorphrase
if authorphrase.find("\n") > 0: #* fixing the malformed
authorphrase = authorphrase[0:authorphrase.find("\n")]
if authorphrase == '':
authorphrase = "No Author"
places = GeoText(raw)
cities = list(places.cities)
results = [titlephrase,authorphrase,cities]
return results
# gets the coordinates of cities passed as array --> returns coordinates as pandas dataframe
def my_personal_geographer(cities_array):
ic()
# this section is for later on gets coordinates for cities.
geolocator = Nominatim(user_agent="icehelmet",timeout=3)
lat_lon = []
cities = tqdm(cities)
for city in cities:
try:
location = geolocator.geocode(city)
if location:
print(location.latitude, location.longitude)
lat_lon.append(location)
except GeocoderTimedOut as e:
print("Error: geocode failed on input %s with message %s"%(city, e))
lat_lon
df = pd.DataFrame(lat_lon, columns=['City Name', 'Coordinates'])
#df.head(7)
geometry = [Point(x[1], x[0]) for x in df['Coordinates']]
geometry[:7]
## coordinate system I'm using
crs = {'init': 'epsg:4326'}
## convert df to geo df
geo_df = gpd.GeoDataFrame(df, crs=crs, geometry=geometry)
#geo_df.head()
return geo_df
'''
## world map .shp file I downloaded
countries_map =gpd.read_file('/Volumes/My Passport for Mac/Wikipedia/Countries_WGS84.shp')
f, ax = plt.subplots(figsize=(16, 16))
countries_map.plot(ax=ax, alpha=0.4, color='grey')
geo_df['geometry'].plot(ax=ax, markersize = 30,
color = 'b', marker = '^', alpha=.2)
'''
#call this to extract the content of the gutenberg library use primary characters to determine interesting score of text
def osextract(primary_characters):
#ic()
import os
# bookworm
import time
headerline = "Page/page/book,connection,city,lat,long"
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/cities_statsfile.txt",'w+')
statsfile.write('\n')
statsfile.close()
gut_directory = "/Volumes/NO NAME/PDF_GUTENBERG_LIBRARY/"
for entry in tqdm(os.scandir(gut_directory)):
if (entry.path.endswith(".txt")) and entry.is_file():
# we are now able to access this text file that has been located here in this directory
#!print(entry.path)
#time.sleep(1)
# at this point entry.name retrieves the filename like 12377.txt
results = bookworm(entry.path,'txt')
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/cities_statsfile.txt",'a+')
#todo --> here the variable results has the text of the book
'''
identify locations
identify timeframes
identify characters
commonalities
'''
resultsarray = my_personal_magellan(results)
#results = [titlephrase,authorphrase,cities]
author = resultsarray[1] # todo not working
title = resultsarray[0]
cities = resultsarray[2]
statsline = title + "," + author + ","
#find all occurances of the term
totaloccurances = 0 # this shows the degree of concentration that this volume has of our characters.
partymembers = [] # who was mentioned
for person in primary_characters:
# define the headerstring for the context file
headerstring = '\n'+'\n'+ " #### Gutenberg Book: [ " + title + ", by (" +author+") mentions " + person + "] #### " + '\n' + '\n'
contextfile_name = "/Volumes/My Passport for Mac/Wikipedia/Contexts/" + person + "_contextfile.txt"
contextfile = open(contextfile_name,'a+')
contextfile.write(headerstring)
occurances = [m.start() for m in re.finditer(person.lower(), results.lower())]
statsline += str(len(occurances)) + "," + str(occurances)
if len(occurances) > 1:
print(title," mentions ",person,' a total of ',len(occurances)," times")
for index in occurances:
upperend = 500
for spacer in range(0,upperend): # we want 100 of these extras
if spacer <= index:
try:
context = results[(index-spacer):(index+spacer)]
except Exception: # found max of spacer
context = results[(index-(spacer-1)):(index+(spacer-1))]
#print(context[0:20])
break # exit loop
#print(context[0:20])
else:
context = results[(index-(spacer-1)):(index+(spacer-1))]
#print(context[0:20])
break # exit loop
if len(context)>0:
contextfile.write(headerstring)
contextfile.write(context)
contextfile.write('\n')
totaloccurances += len(occurances)
partymembers.append(person)
#!print("saving ",len(cities)," cities from ", title)
for city in cities:
statsline = "'" + str(title)+ "'" + ',' + str(author) + "," + city + "," + "-" + "," + "-"
statsfile.write(statsline)
statsfile.write('\n')
statsfile.close()
write_file = open("/Volumes/My Passport for Mac/Wikipedia/gutenberg_stats_file.txt",'a+')
netwritefile = open("/Volumes/My Passport for Mac/Wikipedia/network_statsfile.txt",'a+')
writeline = title + author + str(totaloccurances) + str(partymembers)
write_file.write(writeline)
write_file.write('\n')
write_file.close()
if (entry.path.endswith(".pdf")) and entry.is_file():
# we are now able to access this text file that has been located here in this directory
# calling our function
#bookworm()
#time.sleep(1)
#!print(entry.name)
# at this point entry.name retrieves the filename like 12377.txt
results = bookworm(entry.path,'pdf')
return results
def bookworm(book_path,type):
#ic()
import PyPDF2# pdf file object
# you can find find the pdf file with complete code in below
booktext = "" # holds text of book
#ic()
#bookpath = "/Volumes/My Passport for Mac/Wikipedia/Literature/"
# section 1 - pdf
if 'pdf' in book_path[:-10]: type = "pdf"
#ic()
if type == "pdf":
pdfFileObj = open(book_path, 'r')# pdf reader object
pdfReader = PyPDF2.PdfFileReader(pdfFileObj)# number of pages in pdf
print(pdfReader.numPages)# a page object
pageObj = pdfReader.getPage(0)
ic()
# extracting text from page.
# this will print the text you can also save that into String
booktext = pageObj.extractText()
# section 2 - text file
if 'txt' in book_path[:-10]: type = "txt"
#ic()
if type == "txt":
# this is a text file and easy to parse
#ic(book_path)
#try:
#book = open(book_path,'rb')
#print(book[0:100])
fname = book_path
book_path_new = book_path[:-4] + "_decoded_" + book_path[len(book_path)-4:]
bookid = book_path[len(book_path)-11:len(book_path)-4]
# this book has not been scanned already for formatting.
passedwork = open("/Volumes/My Passport for Mac/Wikipedia/book_records.txt",'a+')
shelf = passedwork.read()
if bookid not in shelf:
passedwork.write(bookid)
passedwork.write(",")
passedwork.close()
#newfile = open(book_path_new,'a+')
#newfile.close()
try:
newfile = open(book_path,'r')
booktext = newfile.read()
except Exception:
with open(fname, 'rb') as f:
#lines = [x.decode('utf8').strip() for x in f.readlines()]
for x in tqdm(f.readlines()):
try:
lines = x.decode('utf8').strip()
newfile = open(book_path_new,'a+')
newfile.write(lines)
newfile.write(" ")
newfile.close()
except Exception:
time.sleep(1)
from bs4 import UnicodeDammit
with open(fname, 'rb') as file:
content = file.read()
suggestion = UnicodeDammit(content)
encoding = suggestion.original_encoding
try:
lines = x.decode(encoding).strip()
newfile = open(book_path_new,'a+')
except Exception:
continue
if len(lines) < 10000: # this is likely not a fit
lines = ""
newfile.write(lines)
newfile.write(" ")
newfile.close()
else:
newfile.write(lines)
newfile.write(" ")
newfile.close()
#ic()
#book = decode(book,encoding = book_encoding_type,errors="ignore")
else:
print("this book has been scanned already...")
if booktext != '':
#print("\nBook successfully parsed --> \n",print(booktext[100:180]))
random_var = 0 # nothing
else:
readfile = open(newfile.name,'r')
booktext = readfile.read()
print("Converted --> ",booktext[100:180])
return booktext
def get_commonality_score():
# arr1[a,b,c,...]
# arr2[b,r,c,...]
# etc
ic()
x = "the man wanted to eat a spinach salad"
y = "the man was ready to eat a sandwich"
commonalities = []
commonality = []
for word in x.split():
for inner_word in y.split():
if word == inner_word:
commonality.append(word)
else:
if len(commonality)>1:
commonalities.append(commonality)
else:
commonality = [] # reset
print(commonalities)
def findtheseinsamedoc(array_entities,secondary_entities,text):
thisarticle = [] # holds entities within the article
# find all of these or some of them in (>2) same text
#pbar = tqdm(array_entities)
for entity in array_entities: # todo needs to be all found secondaries?
#pbar.set_description(desc="[%s]" % entity)
occ2 = [] # holding cell
occ = [m.start() for m in re.finditer(entity, text)]
for i in occ:
occ2.append(i)
occ2 = occ
#occ = text.find_all(str(entity))
if len(occ) > 0:
if entity not in thisarticle:
thisarticle.append(entity) # save
#ic(thisarticle)
#ic(len(thisarticle))
for entity in secondary_entities: # todo needs to be all found secondaries?
#pbar.set_description(desc="[%s]" % entity)
occ2 = [] # holding cell
occ = [m.start() for m in re.finditer(entity, text)]
for i in occ:
occ2.append(i)
occ2 = occ
#occ = text.find_all(str(entity))
if len(occ) > 0:
if entity not in thisarticle:
thisarticle.append(entity) # save
return thisarticle
# Function to convert
def listToString(s):
# initialize an empty string
str1 = ""
# traverse in the string
for ele in s:
str1 += " "+ ele
# return string
return str1
def get_commonality_score(x,y):
commonalities = []
length = 0
x = x.lower()
y = y.lower()
i = 0
j = 0
x = x.split()
y = y.split()
#get tuples
testphrase = []
word = 0 # init
start = 0
carryon = True # init as true keeps while loop running
while carryon == True:
xshort = ""
if len(testphrase)<5:
testphrase.append(x[word])
word+=1
elif len(testphrase) == 5:
xshort = listToString(testphrase)
testphrase = []
word += 1
start+=1
word = start
# phrase is the right length test it then reset it
ic(x[i])
outerrim = range(0,len(x))
outerrim = tqdm(outerrim)
xshort = ""
for i in outerrim:
outerrim.set_description("[%s]" % [x[i],xshort])
innerrim = range(2,len(y))
innerrim = tqdm(innerrim)
for j in innerrim:
innerrim.set_description("[%s]" % y[j])
xshort = x[i:j]
xshort = listToString(xshort)
occurances = [m.start() for m in re.finditer(xshort, y)]
#y = listToString(y)
#?print("phrase:",xshort,"i:",i," j:",j)
xloc = listToString(y).find(xshort)
if xloc>=0 and i != xloc: # found common letter
i = xloc
j = i + 1 # check next one
elif xloc>=0 and i == xloc:
j +=1 # check next one
else:
i+=1
j=i+1
if listToString(x).find(xshort)>0 and listToString(y).find(xshort)>0:
if xshort not in commonalities:
commonalities.append(xshort)
return commonalities
while (length<=mini):
if i < len(x)-1:
i = i + randint(-1,1)
if j < len(x) and i < j:
j = j + randint(-1,1)
if k < len(y)-1:
k = k + randint(-1,1)
if l < len(y)-1 and k < l:
l = l + randint(-1,1)
else:
i = 0
j = 1
k = 1
l = 2
length = j-i
xshort = x[i:j]
yshort = x[k:l]
xshort = listToString(xshort)
yshort = listToString(yshort)
if len(xshort)>0 and len(yshort)>0:
similarity = get_jaccard_sim(xshort,yshort)
else:
similarity = 0
print(xshort," (=) ",yshort,"i:",i," j:",j,"k:",k,"l:",l," similarity:",similarity)
print(commonalities)
def osextract_forcommonalities():
#ic()
import os
# bookworm
import time
headerline = "Page/page/book,connection,city,lat,long"
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/cities_statsfile.txt",'w+')
statsfile.write('\n')
statsfile.close()
gut_directory = "/Volumes/NO NAME/PDF_GUTENBERG_LIBRARY/"
com_scores = []
for apple in tqdm(os.scandir(gut_directory)): # compare apples to oranges
for orange in tqdm(os.scandir(gut_directory)):
if apple.path != orange.path:
if (apple.path.endswith(".txt")) and apple.is_file():
# we are now able to access this text file that has been located here in this directory
#!print(entry.path)
#time.sleep(1)
# at this point entry.name retrieves the filename like 12377.txt
results_apple = bookworm(apple.path,'txt')
results = results_apple
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/cities_statsfile.txt",'a+')
#todo --> here the variable results has the text of the book
'''
identify locations
identify timeframes
identify characters
commonalities
'''
resultsarray = my_personal_magellan(results)
#results = [titlephrase,authorphrase,cities]
author = resultsarray[1] # todo not working
title = resultsarray[0]
cities = resultsarray[2]
statsline = title + "," + author + ","
#find all occurances of the term
totaloccurances = 0 # this shows the degree of concentration that this volume has of our characters.
partymembers = [] # who was mentioned
write_file = open("/Volumes/My Passport for Mac/Wikipedia/gutenberg_stats_file.txt",'a+')
netwritefile = open("/Volumes/My Passport for Mac/Wikipedia/network_statsfile.txt",'a+')
writeline = title + author + str(totaloccurances) + str(partymembers)
write_file.write(writeline)
write_file.write('\n')
write_file.close()
if (apple.path.endswith(".pdf")) and apple.is_file():
# we are now able to access this text file that has been located here in this directory
# calling our function
#bookworm()
#time.sleep(1)
#!print(entry.name)
# at this point entry.name retrieves the filename like 12377.txt
results = bookworm(apple.path,'pdf')
if (orange.path.endswith(".txt")) and orange.is_file():
# we are now able to access this text file that has been located here in this directory
#!print(entry.path)
#time.sleep(1)
# at this point entry.name retrieves the filename like 12377.txt
results_orange = bookworm(orange.path,'txt')
results = results_orange
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/cities_statsfile.txt",'a+')
#todo --> here the variable results has the text of the book
'''
identify locations
identify timeframes
identify characters
commonalities
'''
resultsarray = my_personal_magellan(results)
#results = [titlephrase,authorphrase,cities]
author = resultsarray[1] # todo not working
title = resultsarray[0]
cities = resultsarray[2]
statsline = title + "," + author + ","
#find all occurances of the term
totaloccurances = 0 # this shows the degree of concentration that this volume has of our characters.
partymembers = [] # who was mentioned
write_file = open("/Volumes/My Passport for Mac/Wikipedia/gutenberg_stats_file.txt",'a+')
netwritefile = open("/Volumes/My Passport for Mac/Wikipedia/network_statsfile.txt",'a+')
writeline = title + author + str(totaloccurances) + str(partymembers)
write_file.write(writeline)
write_file.write('\n')
write_file.close()
if (orange.path.endswith(".pdf")) and orange.is_file():
# we are now able to access this text file that has been located here in this directory
# calling our function
#bookworm()
#time.sleep(1)
#!print(entry.name)
# at this point entry.name retrieves the filename like 12377.txt
results = bookworm(orange.path,'pdf')
com_score = get_commonality_score(results_apple,results_orange)
com_scores.append(com_score)
# todo compare with the getcommonalityscore(x,y) for all apples vs oranges and save scores to file to determine sim for authors
return results
def main(include_vanilla_lists):
verbose = False # a lot of extra printing
if include_vanilla_lists == True:
primary_characters = ['Alien', ' UFO ', 'sky sound', 'Arthur Conan Doyle', 'Nikola Tesla', 'Marconi', ' CIA ','Queen Victoria','H.G. Wells','secret plan','underwater base','atlantis','teleport',' vanish','invisible','A Study in Scarlet','Sherlock','Holmes','Doyle','secret plan',"The Adventures of Sherlock Holmes","The Memoirs of Sherlock Holmes (1893–94)","The Return of Sherlock Holmes","His Last Bow","The Case-Book of Sherlock Holmes","The Field Bazaar","The Story of the Man with the Watches","The Story of the Lost Special","Plot for Sherlock Holmes Story","How Watson Learned the Trick","Angels of Darkness","Sherlock Holmes: A Drama in Four Acts (or Sherlock Holmes)","The Speckled Band (or The Stonor Case)","The Crown Diamond: An Evening With Mr Sherlock Holmes","Essays and retrospectives","To An Undiscerning Critic","Some Personalia about Mr. Sherlock Holmes","The Truth About Sherlock Holmes","Mr. Sherlock Holmes to His Readers","How I Made My List","Works of interest by other authors","The Exploits of Sherlock Holmes","The Case of the Man Who Was Wanted","The Adventure of the Two Collaborators",'Time Echo','Vitons','Benjamin Bathurst','Napoleonic Wars','Khachatur Abovian','George Bass','Ludwig Leichhardt','Louis Le Prince','Albert Jennings Fountain','Theodosia Burr Alston','The Smuttynose Murders','The Solway Spaceman','salem witch trials','Titanic','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia','Queen Victoria','List of people who disappeared mysteriously: pre-1970', 'Hindenburg disaster','Oak Island mystery','Mystery airship','Mary Shelley','Timeline of London (1800s)','Beast', 'Here be Dragons','myths','Hyde', 'Unsolved Murders', 'Spanish Flu', 'Kenneth Swezey', 'Mysticism', 'Antarctica', 'Builderbergs', 'Deep State', 'Dragon', 'Sea Serpant', 'Monster', 'Loch Ness', 'English Royalty', 'Jack the Ripper', '1800s', '1889', '1888', '1887', 'Paris France', 'Spiritualism', 'Conspiracy Theories', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Manfred Von Richthofen', 'H.G. Wells', 'Napoleon Bonaparte', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'C. M. Eddy Jr.', 'History_of_espionage','Joaquin Argamasilla', 'Nino Pecoraro', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt', 'Benito Mussolini', 'Mikail Gorbachev', 'Melville Davisson Post', 'Thomas Hardy', 'Paul de Kock', 'Wilbur Daniel Steel', 'Charles Reade', 'Leonid Andreiev', 'Katherine Mansfield', 'Wilkie Collins', 'E Phillips Oppenheim', 'Victor Hugo', 'Edison', 'Mina Edison', 'Time Travel', 'Time Machine', 'Dimensional', 'Dimensions', 'Ghost', 'Invisible man', 'invisibility', 'big foot', 'hiroshima', 'nagasaki', 'los alamos', 'october 1941', 'elisabeth hertz', 'hitler', 'soviet union', 'USSR', 'Joseph Stalin','The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia']
otherpages = ['The Baltic Sea Anomaly','The Bloop','The Mary Celeste','Bermuda Triangle','Aimée du Buc de Rivéry','Mothman','Dr Crippen','Pimlico Mystery','Adelaide Blanche Bartlett','Maria Romanov','William Morgan','Kenneth Arnold','Devil’s Footprints','Richard III and the Princes in the Tower','Grand Duchess Anastasia Nikolaevna of Russia']
testinggroup = ['Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt']
morepeople = otherpages
people = ['Germany','Scotland','Nazi Germany','Austria','teleportation','Ireland','England','Norway','Russia','France','Queen Victoria','Marconi','Hindenburg disaster', 'Lady of the Lake','Tír na nÓg', 'Mystery airship', 'Mary Shelley', 'Here be Dragons', 'Hyde', 'Spanish Flu', 'Kenneth Swezey', 'Dragon', 'Sea Serpant', 'Monster', 'Loch Ness', 'Jack the Ripper', '1889', '1888', '1887', 'Spiritualism', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Manfred Von Richthofen', 'H.G. Wells', 'Napoleon', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt', 'Benito Mussolini', 'Thomas Hardy', 'Paul de Kock', 'Wilbur Daniel Steel', 'Charles Reade', 'Leonid Andreiev', 'Katherine Mansfield', 'Wilkie Collins', 'E Phillips Oppenheim', 'Victor Hugo', 'Edison', 'Mina Edison', 'Time Travel', 'Time Machine', 'Dimensional', 'Dimensions', 'Ghost', 'Invisible man', 'invisibility', 'big foot', 'hiroshima', 'nagasaki', 'los alamos', 'elisabeth hertz', 'hitler', 'soviet union', 'USSR', 'Joseph Stalin', 'ross ice shelf', ' alien ', ' ufo ', ' mars ', 'Ancient Egypt', 'Big Ben', 'Ra the Sun God', 'Columbia University', 'Westinghouse', 'King Arthur', ' Merlin', 'Avalon', 'Stonehenge', ' Orion', 'Superman', 'die glocke', 'al capone', 'francis bacon']
primary_characters2 = ['Jack the Ripper', '1889', '1888', '1887', 'Isle of Wight', "Loch Ness","Queen Victoria", 'Paris France', 'Spiritualism', 'Conspiracy Theories', 'Isle of Wight', 'Nikola Tesla', 'Hayha Sniper', 'Jules Verne', 'William Bateson', 'Charles Darwin', 'Osborne House','Manfred Von Richthofen', 'H.G. Wells', 'Napoleon Bonaparte', 'Robert Openheimer', 'Richard Byrd', 'Edouard Branly', 'Heinrich Hertz', 'Benjamin Franklin', 'Harry Houdini', 'Richard Pearse', 'C. M. Eddy Jr.', 'Joaquin Argamasilla', 'Nino Pecoraro', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr.', 'J.P. Morgan Sr.', 'Alexander Graham Bell', 'Franklin D. Roosevelt','Sherlock Holmes',"Doctor Watson",'Titanic','Hitler','Himmler','nazi','freemason','Joseph Hooker','Andrew Carnegie','Long Island','Louis Le Prince','Monet','Manet','Picaso','Frederic Chopin','Marconi']
primary_characters3 = ['Oak Island Mystery','Captain Kidd','James DeMille','Henry Avery','Edward Teach','William S. Crooker','Marie Antoinette','Rosicrucians']
people_full = []
for person in primary_characters:
if person not in people_full:
people_full.append(person)
for person in otherpages:
if person not in people_full:
people_full.append(person)
for person in primary_characters2:
if person not in people_full:
people_full.append(person)
for person in primary_characters3:
if person not in people_full:
people_full.append(person)
for person in testinggroup:
if person not in people_full:
people_full.append(person)
for person in people:
if person not in people_full:
people_full.append(person)
for person in primary_characters:
if person not in people_full:
people_full.append(person)
print(len(people_full))
# all people are accounted for...
primary_characters = people_full
#! this is a huge accomplishment (below)
#!from pdf_extraction import *
#bookworm will parse books either pdf or txt form from the gutenberg library to find correlations
#this comes from the pdf_extraction file referenced above
thislist = [] # save this list (initialized)
write_file = open("/Volumes/My Passport for Mac/Wikipedia/character_dates.txt",'w+')
write_file.close()
people0=[]
#! this should be used if years are desired in the arrays
min_date = 999 # earliest year
max_date = 1980 # latest date
'''
#years section
this_var = "-"
year = 1800
while year < 1970:
year +=1
#this_var = input("enter name, location, or topic (etc): ")
morepeople.append(str(year))
#print(morepeople)
'''
print("welcome author... get ready for the power of analytics")
linefile = open('/Volumes/My Passport for Mac/SchoolApp/density_tracker.txt','w') # wipe the file
linefile.close()
choice = input("skip to exciting part? y/n ")
if choice == 'n':
if include_vanilla_lists == False:
people = [] # init
people2 = []
people02 = []
people0 = []
primary_characters = []
# select which people to include
#people = people.join(otherpages)
#people2 = []
'''print("Choose your primary characters from this list")
for p in people:
print(p,end="?")
yn = input(" (y/n): ")
if yn == 'y':
people2.append(p)
people = people2'''
'''for x in otherpages:
if x not in people0:
people0.append(x)'''
for x in people:
if x not in people0:
people0.append(x)
people0_2 = []
for x in people2:
if x not in people0:
people0.append(x)
people = people0
person_markers = ['Education','life']
person_markers_likely = ['she was','she is','he was','he is']
place_markers = ["Demographics",'Places of Interest','Geography','Climate']
place_markers_likely = ['Capital City','Topography of','Regions','City']
# this is where I can add in custom list
choice = input('custom list (or go with list shown above) testing is t (p is primary)? (y/n/p/t): ')
if choice == 'y':
morepeople = []
this_var = "-"
year = 1800
while this_var != '':
this_var = input("enter name, location, or topic (etc): ")
morepeople.append(str(this_var))
print("creating ",len(morepeople)," in people array...")
people = morepeople[:-1]
primary_characters = people
elif choice == 'p':
people = primary_characters
else:
testinggroup = ['Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt']
for person in tqdm(testinggroup):
people.append(person)
if choice == 't':
#testing
people = testinggroup
enter = '_' #init
#print(people)
people_dates = []
people_adjacent_entities = [] # holds adjacent entities extracted with NER nltk function
people_adjacent_entities_wlabels = [] # holds same as above but with labels.
# create the connections file
connections_file = open("/Volumes/My Passport for Mac/Wikipedia/character_connections.txt",'w+')
connections_file.close()
#simple method of checking the entire page string for a substring
contextfile = open("/Volumes/My Passport for Mac/Wikipedia/Contexts/contextfile.txt",'w+')
second_order_pages = [] # links on page
first_order_pages = [] # text on page
#statsfile
#statsline looks like this
# subject1,subject2,occurances -- this will be expanded later
print(people)
print("Initiating stats file")
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/network_statsfile.txt",'a+')
statsfile.close()
print("stats file ready...")
print("first I am going to check the links on each page to find interesting characters...")
pagecontents = []
pagecount = 0 # init
linestring = "found (" + str(0) + ") | page: "
pbar = tqdm(people)
for perp in pbar:
pbar.set_description("page: %s" % perp)
#print(perp," >>>> finding connections")
statsline = "" # holds line for stats file
statsline = perp + ","
# see if the person_page text contains the perp
try:
person_page = wikipedia.page(perp).content
person_pagelinks = wikipedia.page(perp).links
except Exception:
try:
person_page = wikipedia.page(str(wikipedia.search(perp)[0])).content
person_pagelinks = wikipedia.page(str(wikipedia.search(perp)[0])).links
except Exception:
person_page = "n/a"
person_pagelinks = ['n/a']
pagecount += len(person_pagelinks)
#linestring = "found (" + str(pagecount) + ") | page: " + perp
pbar.set_description("page:"," <%s> " % perp)
second_order_pages.append(person_pagelinks)
pagecontents.append(person_page)
#print()
# deep scan of people and articles
#print(len(pagecontents))
# todo -- second order pages is the variable containing the lists of all names or links on the pages
print("length of second_order_page: ",len(second_order_pages))
headerline = "Page,connection,p_interesting,p_isperson,p_ispplace"
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/network_statsfile.txt",'a+')
statsfile.write(headerline)
statsfile.write('\n')
statsfile.close()
headerline2 = "Page/page/book,connection,city,lat,long"
statsfile2 = open("/Volumes/My Passport for Mac/Wikipedia/cities_statsfile.txt",'a+')
statsfile2.write('\n')
statsfile2.close()
#pbar = tqdm(people) # todo compile all found lists together
for perp in people:
#pbar.set_description("page: %s" % perp)
#print(perp," >>>> finding connections")
statsline = "" # holds line for stats file
statsline = perp + ","
dog = ''
for cat in perp:
if cat != "/":
dog+=cat
perp = dog
contextfile_name = "/Volumes/My Passport for Mac/Wikipedia/Contexts/" + perp + "_contextfile.txt"
try:
contextfile = open(contextfile_name,'a+')
except Exception:
contextfile = open(contextfile_name,'w+')
# see if the person_page text contains the perp
try:
person_page = wikipedia.page(perp).content
person_pagelinks = wikipedia.page(perp).links
except Exception:
try:
person_page = wikipedia.page(str(wikipedia.search(perp)[0])).content
person_pagelinks = wikipedia.page(str(wikipedia.search(perp)[0])).links
except Exception:
person_page = "n/a"
person_pagelinks = ['n/a']
first_order_pages.append(person_page)
second_order_pages.append(person_pagelinks) #todo I changed this to person_pagelinks from person 6/4/21 if this messes anything up then change back.
# deep scan of people and articles
pbar2 = tqdm(person_pagelinks) # todo --> from the for loop above that parses for links
for person in pbar2:
pbar2.set_description("found: %s" % len(person_pagelinks))
#prestat = statsline # holds previous state
statsline += person + ","
# add the secondary connection to the statsline
if person in person_page and person != perp:
try:
test = int(person)
#ic()
except Exception:
# this is not a number'
statsfile = open("/Volumes/My Passport for Mac/Wikipedia/network_statsfile.txt",'a+')
if "/" in person:
person = "unidentified"
contextfile_name = "/Volumes/My Passport for Mac/Wikipedia/Contexts/"+ person + "_contextfile.txt"
contextfile = open(contextfile_name,'a+')
# if the person is in person_page
headerstring = '\n'+'\n'+ " #### Wikipedia Article: [ " + perp + " mentions " + person + "] #### " + '\n' + '\n'
contextfile.write(headerstring)
index = person_page.find(person)
#find all occurances of the term
occurances = [m.start() for m in re.finditer(person, person_page)]
statsline += str(len(occurances)) + "," + str(occurances)
if len(occurances) > 3: # todo make this higher than "average"
print('\n',perp," mentions ",person,' a total of ',len(occurances)," times")
for index in occurances:
upperend = 500
for spacer in range(0,upperend): # we want 100 of these extras
if spacer <= index:
try:
context = person_page[(index-spacer):(index+spacer)]
except Exception: # found max of spacer
context = person_page[(index-(spacer-1)):(index+(spacer-1))]
#print(context[0:20])
break # exit loop
#print(context[0:20])
else:
context = person_page[(index-(spacer-1)):(index+(spacer-1))]
#print(context[0:20])
break # exit loop
if len(context)>0:
contextfile.write(headerstring)
contextfile.write(context)
contextfile.write('\n')
#!print("...",person_page[index-smalli:index+smallj],"...")
statsfile.writelines(statsline)
statsfile.write('\n')
statsfile.close()
statsline = perp + ','
contextfile.close()
'''
if person in person_entry and person != perp and person_entry!= 'none':
# found in encylopedia
#contextfile = open("/Volumes/My Passport for Mac/Wikipedia/contextfile.txt",'a+')
# if the person is in person_page
headerstring = '\n'+'\n'+ " #### Encyclopedia Article: [ " + perp + " mentions " + person + "] #### " + '\n' + '\n'
contextfile.write(headerstring)
print("encyclopedia: ",perp," mentions ",person)
index = person_entry.find(person)
for smalli in range(0,1000): # go through to find maximum text it can find on the subject
for smallj in range(0,1000):
try:
context = person_entry[(index-(1000-smalli)):(index+(1000-smallj))]
except Exception:
break
#!print("...",person_page[index-smalli:index+smallj],"...")
contextfile.write(context)
contextfile.write('\n')
'''
else:
statsline = perp + ',' # reverts to previous state
statsline = "" # reset
contextfile.close()
# todo ?? second_order_pages = []
if len(second_order_pages) < 10:
ic()
second_order_pages = ['125 London Wall', '20th Century Press Archives']
#second_order_pages = ['125 London Wall', '20th Century Press Archives', '245 Park Avenue', '25 Bank Street', '270 Park Avenue', '277 Park Avenue', '28 Liberty Street', '30 Rockefeller Plaza', '383 Madison Avenue', 'Adrian Wooldridge', 'Aetna', 'Aix-les-Bains', 'Albany and Susquehanna Railroad', 'Alco-GE', 'American Bridge Company', 'American Civil War', 'American Fletcher Corporation', 'American Museum of Natural History', 'American Savings and Loan', 'American Telephone & Telegraph', 'American civil war', 'Andrea Jung', 'Andrew Carnegie', 'Ann Fudge', 'Anne Morgan (philanthropist)', 'Anthony J. Drexel', 'Anthony Joseph Drexel I', 'Antitrust', 'Art Young', 'Atchison, Topeka and Santa Fe Railway', 'Atlantic Coast Line Railroad', 'Australian Guarantee Corporation', 'Azores', 'BNE (identifier)', 'BNF (identifier)', 'Baker Hughes', 'Banca Commerciale Italiana Trust Co.', 'Bank', 'Bank One Corporation', 'Bank United of Texas', 'Bath Iron Works', 'Beacon Rail', 'Bear Stearns', 'Belle da Costa Greene', 'Bethlehem Steel', 'Blackballing', 'Blythe Masters', 'Board of directors', 'Bob Roberts (singer)', 'Bob Wright', 'British Museum', 'BusinessWeek', 'CANTIC (identifier)', 'CFM International', 'Canadian General Electric', 'Carnegie Corporation of New York', 'Carnegie Steel Company', 'Cedar Hill Cemetery (Hartford, Connecticut)', 'CenTrust Bank', 'Central of Georgia Railway', 'Charles A. Coffin', 'Charles Brent', 'Charles M. Schwab', 'Charles Tyson Yerkes', 'Chase (bank)', 'Chase Bank', 'Chase Center', 'Chase Field', 'Chase Paymentech', 'Chase Tower (Amarillo)', 'Chase Tower (Chicago)', 'Chase Tower (Dallas)', 'Chase Tower (El Paso)', 'Chase Tower (Englewood, Colorado)', 'Chase Tower (Indianapolis)', 'Chase Tower (Milwaukee)', 'Chase Tower (Oklahoma City)', 'Chase Tower (Phoenix)', 'Chase Tower (Rochester)', 'Chater House', 'Chemical Bank', 'Chesapeake and Ohio Railway', 'Cheshire, Connecticut', 'Cheshire Academy', 'Chester Pipe and Tube Company', 'Chicago, Burlington and Quincy', 'Chicago, Burlington and Quincy Railroad', 'Chicago, Indianapolis & Louisville Railroad', 'Chicago Great Western Railway', 'Chicago and Western Indiana Railroad', 'Church Club of New York', 'Citibank', 'Citizen Kane', 'Compagnia Generale di Elettricità', 'Conscription in the United States', 'Consumer price index', 'Continental Bank and Trust Company', 'Coon song', 'Corn Exchange Bank', 'Corporate finance', 'Cragston Dependencies', 'David Rockefeller', 'Dennis Weatherstone', 'Diamond v. Chakrabarty', 'Dime Savings Bank of New York', 'Doi (identifier)', 'Douglas A. Warner III', 'Drexel & Company', 'Duncan, Sherman & Company', 'E. H. Harriman', 'Economies of scale', 'Edison Illuminating Company', 'Edison cylinder', 'Edward S. Curtis', 'Edwin J. Houston', 'Elbert Gary', 'Election of 1896', 'Electric Bond and Share Company', 'Elgin, Joliet and Eastern Railway', 'Elihu Thomson', 'Encyclopædia Britannica Eleventh Edition', 'Engine Alliance', 'Episcopal Church in the United States of America', 'Erie Railroad', 'Faith in Christianity', 'Federal Reserve System', 'Federal Steel Company', 'Federal government of the United States', 'Financier', 'First Chicago Bank', 'First USA Bank', 'Florida East Coast Railway', 'Frederic W. Rhinelander', 'GECIS', 'GE Aerospace', 'GE Appliances', 'GE Automation & Controls', 'GE Aviation', 'GE Aviation Systems', 'GE Betz', 'GE Capital', 'GE Capital IT Solutions', 'GE Capital Rail Services', 'GE Commercial Finance', 'GE Current', 'GE Digital', 'GE Energy', 'GE Equipment Services', 'GE Global Research', 'GE Healthcare', 'GE Hitachi Nuclear Energy', 'GE Home & Business Solutions', 'GE Honda Aero Engines', 'GE Industrial', 'GE Infrastructure', 'GE Jenbacher', 'GE Lighting', 'GE Measurement & Control Solutions', 'GE Oil and Gas', 'GE Power', 'GE Renewable Energy', 'GE Security', 'GE Transportation', 'GE True', 'GE Wind Energy', 'GEnie', 'GND (identifier)', 'GXS Inc.', 'Gemstone', 'General Comprehensive Operating System', 'General Convention of the Episcopal Church in the United States of America', 'General Electric', 'General Electric Building', 'General Electric EdgeLab', 'General Electric Realty Plot', 'General Electric Research Laboratory', 'General Electric Specialty Control Plant', 'General Electric Switchgear Plant', 'General Electric Theater', 'General Electric timeline', 'General Imaging', 'Genesis Lease', 'Genpact', 'Genworth Financial', 'Georg August University of Göttingen', 'George B. Cortelyou', 'George Coulouris', 'George Frederick Kunz', 'George Peabody', 'George Peabody and Company', 'George Walbridge Perkins', 'German National Library of Economics', 'Germany', 'Gilded Age', 'Glass–Steagall Act', 'Glen Cove, New York', 'Globalization', 'Great Northern Railway (U.S.)', 'Great Western Bank (1919–97)', 'Groton School', 'Grover Cleveland', 'Guglielmo Marconi', 'H. W. Brands', 'HF Ahmanson & Co.', 'Half-staff', 'Hall Carbine Affair', 'Halsey K. Mohr', 'Hambrecht & Quist', 'Hartford, Connecticut', 'Harvard Medical School', 'Harvard University', 'Henry F. Gilbert', 'Henry Sturgis Morgan', 'Herbert L. Satterlee', 'Highbridge Capital Management', 'Highlands, New York', 'History of rail transport in the United States', 'History of the United States Democratic Party', 'Hocking Valley Railway', 'Holy orders', 'Horizons (Epcot)', 'Howard Zinn', 'INB Financial Corporation', 'ISBN (identifier)', 'ISNI (identifier)', 'In the Land of the Head Hunters', 'International Harvester', 'International Mercantile Marine', 'International Mercantile Marine Co.', 'Interstate Commerce Act', 'J.P. Morgan & Co.', 'J.P. Morgan and Co.', 'J.S. Morgan & Co.', 'J.S. Morgan & Company', 'J. I. Case Threshing Machine', 'J. P. Morgan (disambiguation)', 'J. P. Morgan Jr.', 'JPMorgan Chase', 'JPMorgan Chase Building (San Francisco)', 'JPMorgan Chase Tower (Houston)', 'JP Morgan & Co', 'Jack Welch', 'James A. Bell', 'James B. Lee Jr.', 'James Cash Jr.', 'James Crown', 'James Fisk (financier)', 'James J. Hill', 'James Stillman', 'Jamie Dimon', 'Jardine Fleming', 'Jay Cooke', 'Jay Gould', 'Jean Strouse', 'Jeffrey R. Immelt', 'Jes Staley', 'Jing Ulrich', 'John B. McCoy', 'John D. Rockefeller', 'John Dos Passos', 'John F. Welch Technology Centre', 'John J. McCloy', 'John Jay Phelps', 'John L. Flannery', 'John Maxtone-Graham', 'John Morgan (disambiguation)', 'John S. Johnston', 'John Steele Gordon', 'Junius Spencer Morgan', 'KGEI', 'Kingdom of Italy', 'LCCN (identifier)', 'LM Wind Power', 'La Tour-de-Peilz', 'Laban Jackson', 'Lake freighter', 'Lee Raymond', 'Lehigh Valley Railroad', 'Lincoln Savings', 'List of GE locomotives', 'List of GE reciprocating engines', 'List of Presidents of the Metropolitan Museum of Art', 'List of assets owned by General Electric', 'London Underground', 'Louis Auchincloss', 'Louis Brandeis', 'Louisville and Nashville Railroad', 'Lying-in Hospital', 'Madison Avenue', 'Magic lantern', 'Manufacturers Hanover Corporation', 'Marianne Lake', 'Market capitalization', 'Mazda (light bulb)', "McClure's", 'McCoy Center', 'Merchant banking', 'Merger', 'Metropolitan Club', 'Metropolitan Museum of Art', 'Microsoft Encarta', 'Mississippi River', 'Modern Marvels', 'Monetary system', 'Money Trust', 'Monopoly (game)', 'Montgomery Ward', 'Morgan, Grenfell & Co.', 'Morgan, Grenfell & Company', 'Morgan, Harjes & Company', 'Morgan Grenfell', 'Morgan Guaranty Trust', 'Morgan Library & Museum', 'Morgan Stanley', 'Morgan family', 'Morganite', 'Multinational corporations', 'NBC', 'NBCUniversal', 'NDL (identifier)', 'NKC (identifier)', 'NLA (identifier)', 'NLI (identifier)', 'NTA (identifier)', 'National Bank of Detroit', 'National Mining Association', 'National Park Bank', 'National Park Service', 'National Register of Historic Places', 'Native Americans in the United States', 'Nela Park', 'Nelson Aldrich', 'New International Encyclopedia', 'New York, New Haven and Hartford Railroad', 'New York, Ontario and Western Railway', 'New York Central', 'New York Central Railroad', 'New York Central System', 'New York Trust Company', 'Nikola Tesla', 'Northern Pacific Railroad', 'Northern Pacific Railway', 'Northern Securities Company', 'One Equity Partners', 'Orson Welles', "Other People's Money and How the Bankers Use It", 'PLWABN (identifier)', 'Panic of 1893', 'Panic of 1907', 'Pennsylvania Railroad', 'Penske Truck Leasing', 'Pere Marquette Railroad', 'Phoebus cartel', 'Piccadilly, City and North East London Railway', 'Praeger Publishers', 'Progressive Era', 'Prolec GE', 'Providian', 'Pujo Committee', 'Pullman Car Company', 'Pullman Company', 'RKDartists (identifier)', 'RMS Titanic', 'Ragtime (novel)', 'Ray Stannard Baker', 'Reading Railroad', 'Rheumatic fever', 'Rhinophyma', 'Rich Uncle Pennybags', 'River Works', 'Robert Fleming & Co', 'Robert W. DeForest', 'Rochelle Lazarus', 'Roger Fry: A Biography', 'Roger Penske', 'Rome', 'Ron Chernow', 'Rosacea', 'Rothschilds', 'SELIBR (identifier)', 'SES Americom', 'SNAC-ID (identifier)', 'SS France (1910)', 'SS J. Pierpont Morgan', 'SUDOC (identifier)', 'Sam Nunn', 'Sherman Antitrust Act of 1890', 'Southern Railway (U.S.)', 'Spanish–American War', 'St. Louis–San Francisco Railway', 'Stanford White', 'State Bank of Chicago', 'Steve Burke (businessman)', 'Steven Black (businessman)', 'Summit Square', 'Susan Hockfield', 'Synchrony Financial', 'TBS GB', 'Temple Bowdoin', 'Tennessee Coal, Iron and Railroad Company', 'Terminal Railroad Association of St. Louis', 'Texas Commerce Bank', 'The Alienist', 'The Economist', 'The English High School', 'The General Electric Concert', "The Ghosts of Watt O'Hugh", 'The Indian Picture Opera', 'The Manhattan Company', 'The Men Who Built America', 'The Morgan Library & Museum', 'The Qube (Detroit)', "The World's Work", 'Theodore Roosevelt', 'Thomas Alva Edison', 'Thomas Edison', 'Thomas W. Lamont', 'Thomson-Houston Electric Company', 'Tiffany & Co.', 'Todd Combs', 'Trinity College (Connecticut)', 'Trivection oven', 'Trove (identifier)', 'Tungsram', 'U.S.A. trilogy', 'U.S. Steel', 'U.S. Supreme Court Justice', 'ULAN (identifier)', 'USS Gloucester (1891)', 'Underwriting', 'Union Club of the City of New York', 'United Dry Goods', 'United Kingdom of Great Britain and Ireland', 'United Nuclear Corporation', 'United States House Committee on Banking and Currency', 'United States Lines', 'United States Steel Corporation', 'United States v. General Electric Co.', 'University of Göttingen', 'Upton Sinclair', 'Utah Construction Company', 'VIAF (identifier)', 'Valley National Bank of Arizona', 'VcBA (identifier)', 'Ventfort Hall Mansion and Gilded Age Museum', 'Vera Silva', 'Wabtec', 'Wall Street', "Walt Disney's Carousel of Progress", 'Walter V. Shipley', 'Wardenclyffe Tower', 'Washington Mutual', 'Waukesha Engine', 'Wayback Machine', 'Western Union', 'Whatman plc', 'White Star Line', 'Wiesbaden', 'William B. Harrison Jr.', 'William C. Weldon', 'William Cramp & Sons', 'William H. Vanderbilt', 'William Jennings Bryan', 'William McKinley', 'William Pierson Hamilton', 'Winthrop Aldrich', 'Wireless energy transfer', 'WorldCat Identities (identifier)', 'World War I'], ['1,000 Days, 1,000 Songs', '2000 Reform Party presidential primaries', '2012 United States presidential election', '2014 annexation of Crimea', '2015 San Bernardino attack', '2016 Donald Trump Las Vegas rally incident', '2016 Republican National Convention', '2016 Republican Party presidential debates and forums', '2016 Republican Party presidential primaries', '2016 United States presidential debates', '2016 United States presidential election', '2017 Donald Trump speech to a joint session of Congress', '2017 National Scout Jamboree', '2017 Riyadh summit', '2017 Shayrat missile strike', "2017 Women's March", '2017 dismissal of U.S. attorneys', '2017 opinion polling on the Donald Trump administration', '2017–2018 North Korea crisis', '2018 North Korea–United States Singapore Summit', '2018 Russia–United States summit', '2018 State of the Union Address', '2018 bombing of Damascus and Homs', '2018 opinion polling on the Donald Trump administration', '2018–19 Korean peace process', '2018–2019 United States federal government shutdown', '2019 Abqaiq–Khurais attack', '2019 El Paso shooting', '2019 G20 Osaka summit', '2019 Koreas–United States DMZ Summit', '2019 North Korea–United States Hanoi Summit', '2019 State of the Union Address', '2019 Turkish offensive into north-eastern Syria', '2019 opinion polling on the Donald Trump administration', '2019–2021 Persian Gulf crisis', '2020 Baghdad International Airport airstrike', '2020 Republican National Convention', '2020 Republican Party presidential primaries', '2020 State of the Union Address', '2020 United States Postal Service crisis', '2020 United States presidential debates', '2020 United States presidential election', '2020 dismissal of inspectors general', '2020 stock market crash', '2020–21 United States election protests', '2021 United States Capitol attack', '2021 United States Electoral College vote count', '2021 storming of the United States Capitol', '25th Amendment', '40 Wall Street', '45th G7 summit', '85-15 Wareham Place', 'ABC News', 'AP News', 'A Dangerous Game (2014 film)', 'A Very Stable Genius', 'A Warning (book)', 'Abdel Fattah el-Sisi', 'Abraham Accords', 'Abu Mahdi al-Muhandis', 'Abuse of power', 'Academi', 'Adam Goldman', 'Adam Liptak', 'Affordable Care Act', 'Afghan peace process', 'Afghanistan', 'Agence France-Presse', 'Al Gore', 'Al Jazeera', 'Alan Rappeport', 'Alec Baldwin', 'Alessandra Stanley', 'Alex Azar', 'Alex Burns (journalist)', 'Alex van der Zwaan', 'Alice Marie Johnson', 'Alison Kodjak', 'Alma mater', 'Alt-right', "America's Great Divide", 'America First (policy)', 'American-led intervention in the Syrian Civil War', 'American Health Care Act of 2017', 'American Media, Inc.', 'Amit Mehta', 'Amy Chozick', 'Amy Coney Barrett', 'Amy Coney Barrett Supreme Court nomination', 'Analytic confidence', 'Anchor babies', 'Andrzej Duda', 'Angie Drobnic Holan', 'Annie Karni', 'Annual enrollment', 'Anthony Kennedy', 'Anthony S. Fauci', 'Antonin Scalia', 'Arab League', 'Arash Markazi', 'Arctic Refuge drilling controversy', 'Arizona', 'Arthur Allen (author)', 'Articles of impeachment', 'Ashley Parker', 'Assassination of Qasem Soleimani', 'Assistant to the President', 'Associated Press', 'Atlantic City', 'Atlantic City, New Jersey', 'Attempts to overturn the 2020 United States presidential election', 'Attorney General of New York', 'Australian Broadcasting Corporation', 'BBC', 'BBC News', 'BIBSYS (identifier)', 'BNC (identifier)', 'BNE (identifier)', 'BNF (identifier)', "Bachelor's degree", 'Bachelor of Science', 'Bahrain–Israel normalization agreement', 'Ballot Access News', 'Barack Obama', 'Barack Obama citizenship conspiracy theories', 'Barr letter', 'Barron Trump', 'Bart to the Future', 'Ben Carson', 'Ben Jacobs (journalist)', 'Benjamin Netanyahu', 'Bernard Kerik', 'Bibliography of Donald Trump', 'Biff Tannen', 'Bill Clinton', 'Bill Geist', 'Billy Walters (gambler)', 'Birthright citizenship in the United States', 'Blacks for Trump', 'Bloomberg Businessweek', 'Bloomberg L.P.', 'Bloomberg News', 'Blue wall (politics)', 'Boardwalk Hall', 'Bob Woodward', 'Body double', 'Bollard', 'Borat Subsequent Moviefilm', 'Brad Raffensperger', 'Breitbart News', 'Brennan Center for Justice', 'Bret Baier', 'Brett Kavanaugh', 'Brett Kavanaugh Supreme Court nomination', 'Brett McGurk', 'Brian Kemp', 'Brian Schaffner', 'Brian Stelter', 'Brookings Institution', 'Business Insider', 'Business career of Donald Trump', 'Business projects of Donald Trump in Russia', 'BuzzFeed News', 'C-SPAN', 'CANTIC (identifier)', 'CARES Act', 'CBS', 'CBS News', 'CIA', 'CNBC', 'CNN', 'CNN Money', 'COVID-19', 'COVID-19 pandemic', 'COVID-19 pandemic in the United States', 'COVID-19 recession', 'COVID-19 vaccine', 'Cabinet of Donald Trump', 'Cadillac insurance plan', 'California v. Texas', 'Cameo appearances', 'Campaign Speech', 'Canadian Broadcasting Corporation', 'Cannabis policy of the Donald Trump administration', 'Capital One', 'Capital punishment by the United States federal government', 'Capital punishment in the United States', 'Carl Hulse', 'Carnegie Endowment for International Peace', 'Carol D. Leonnig', 'Catchphrase', 'Center for Public Integrity', 'Centers for Disease Control and Prevention', 'Central Park jogger case', 'Chapter 11 bankruptcy', 'Charles Kushner', 'Charlie Savage', 'Chicago Sun-Times', 'Chicago Tribune', 'China–United States relations', 'China–United States trade war', 'Chinese Communist Party', 'Choe Sang-hun', 'Chris Cillizza', 'Chris Krebs', 'Christiane Amanpour', 'Christine Blasey Ford', 'Christopher Zara', 'CiNii (identifier)', 'Class action', 'Clean Power Plan', 'Climate change', 'Climate change in the United States', 'Clinton Body Count', 'Cole Memorandum', 'Collusion', 'Columbia University Press', 'Comey memo', 'Common Core', 'Communication Quarterly', 'Commutation (law)', 'Confirmation', 'Congressional Research Service', 'Congressional Review Act', 'Conor Friedersdorf', 'Conscription in the United States', 'Conservative Political Action Conference', 'Conspiracy theories related to the Trump–Ukraine scandal', 'Contempt of Congress', 'Contempt of court', 'Corey Lewandowski', 'Coronavirus Preparedness and Response Supplemental Appropriations Act', 'Coronavirus Preparedness and Response Supplemental Appropriations Act, 2020', 'Coronavirus disease 2019', 'Corporate raider', "Countering America's Adversaries Through Sanctions Act", 'Covfefe', 'Craig Whitlock', 'Criminal charges brought in the Special Counsel investigation (2017–2019)', 'Criminal conspiracy', 'Crippled America', 'Cristina Alesci', 'Crossfire Hurricane (FBI investigation)', 'CrowdStrike', 'Cultural depictions of Ivanka Trump', 'Cultural depictions of Melania Trump', 'Currency manipulator', 'Cybersecurity and Infrastructure Security Agency', 'Dakota Access Pipeline', 'Dan Quayle', 'Daniel Dale', 'Darrell Hammond', 'David Barstow', 'David Duke', 'David E. Sanger', 'David Enrich', 'David Fahrenthold', 'David Folkenflik', 'David Nakamura', 'David Philipps', 'David Stout', 'David Weigel', 'Death of Abu Bakr al-Baghdadi', 'Death of a Nation (2018 film)', 'Deborah Birx', 'Debt-to-GDP ratio', 'Deep state', 'Del Quentin Wilber', 'Democratic National Committee', 'Democratic Party (United States)', 'Denuclearization', 'Deregulation', 'Deutsche Bank', 'Deutsche Welle', "Devil's Bargain", 'Dexamethasone', 'Dick Cheney', "Dinesh D'Souza", 'Director of National Intelligence', 'Director of the FBI', 'Dirty Money (2018 TV series)', 'Disloyal: A Memoir', 'Dismissal of James Comey', 'District of Columbia', 'Divided government in the United States', 'DocumentCloud', 'Doi (identifier)', 'Domestic Emoluments Clause', 'Donald J. Trump Foundation', 'Donald J. Trump State Park', 'Donald McNeil Jr.', 'Donald Trump', "Donald Trump's Real Estate Tycoon", "Donald Trump's The Art of the Deal: The Movie", "Donald Trump's disclosures of classified information", "Donald Trump's farewell address", "Donald Trump's speech in Warsaw, Poland", "Donald Trump's tax returns", 'Donald Trump (Last Week Tonight)', 'Donald Trump (disambiguation)', 'Donald Trump (song)', 'Donald Trump 2000 presidential campaign', 'Donald Trump 2016 presidential campaign', 'Donald Trump 2020 presidential campaign', 'Donald Trump Access Hollywood tape', 'Donald Trump Jr.', 'Donald Trump Supreme Court candidates', 'Donald Trump and golf', 'Donald Trump filmography', 'Donald Trump in music', 'Donald Trump in popular culture', 'Donald Trump judicial appointment controversies', 'Donald Trump on social media', "Donald Trump photo op at St. John's Church", 'Donald Trump sexual misconduct allegations', 'Douma chemical attack', 'Duke Cunningham', 'ESPN', 'Earned media', 'Eastern Air Lines', 'Economic expansion', 'Economic impact of the COVID-19 pandemic in the United States', 'Economic policy of Donald Trump', 'Economic policy of the Donald Trump administration', 'Economics', 'Edgardo Ramos', 'Edward J. DeBartolo Jr.', 'Edward Wong', 'Efforts to impeach Donald Trump', 'Efforts to repeal the Patient Protection and Affordable Care Act', 'Eileen Sullivan', 'Electoral College (United States)', 'Electoral history of Donald Trump', 'Eli Stokols', 'Elijah Cummings', 'Elizabeth Christ Trump', 'Ellen Nakashima', 'Elliott Broidy', 'Encyclopædia Britannica', 'Endeavor (company)', 'Enemy of the people', 'Energy independence', 'England and Wales', 'Enslow Publishers', 'Environmental policy of the Donald Trump administration', 'Epidemiological', 'Eric Lichtblau', 'Eric Lipton', 'Eric P. Schmitt', 'Eric Trump', 'Erik Wemple', 'Estate tax in the United States', 'Euronews', 'European Union', 'Executive Order 13765', 'Executive Order 13769', 'Executive Order 13771', 'Executive Order 13780', 'Executive Order 13813', 'Executive appointments by Donald Trump', 'Exostosis', 'ExxonMobil', 'FBI', 'FDT (song)', 'Face masks during the COVID-19 pandemic', 'Fact-checker', 'Fact-checkers', 'FactCheck.org', 'Fahd of Saudi Arabia', 'Fahrenheit 11/9', 'Faithless electors in the United States presidential election, 2016', 'Fake News Awards', 'Family of Donald Trump', 'Fast Company (magazine)', 'Fear: Trump in the White House', 'Federal Election Commission', 'Federalist Society', 'Filibuster', 'Financial Times', 'Fire and Fury', "First 100 days of Donald Trump's presidency", 'First Presbyterian Church in Jamaica', 'First impeachment of Donald Trump', 'First impeachment trial of Donald Trump', 'FiveThirtyEight', 'Fixer (person)', 'Floyd Norris', 'Forbes', 'Forbes 400', 'Forced displacement', 'Fordham University', 'Foreign Affairs', 'Foreign Emoluments Clause', 'Foreign policy of Donald Trump (2015–2016)', 'Foreign policy of the Donald Trump administration', "Formation of Donald Trump's Cabinet", 'Former Presidents Act', 'Fort Trump', 'Fortune (magazine)', 'Fossil fuel', 'Fountain Hills, Arizona', 'Fox & Friends', 'Fox News Channel', 'Frameup', 'Frank Rich', 'Fred Trump', 'Fred Trump Jr.', 'Frederick Trump', 'Fulton County, Georgia', 'Furlough', 'G7', 'GND (identifier)', "Gallup's most admired man and woman poll", 'Gallup (company)', 'Gary, Indiana', 'Gays for Trump', 'General Services Administration', 'George Papadopoulos', 'George W. Bush', 'Ghostwriter', 'Gina Kolata', "Giro d'Italia", 'Glenn Kessler (journalist)', 'Global News', 'Gloria Borger', 'Go back where you came from', 'Golan Heights', 'Golden Nugget Atlantic City', 'Graeme Wood (journalist)', 'Grand Central Terminal', 'Grand Hyatt New York', 'Grand jury', 'Great Depression', 'Green card', 'Greenhouse gas emissions', 'Greenmail', 'Group of Seven', 'Gun control', 'Gun politics in the United States', 'Haaretz', 'Hard Rock Hotel & Casino Atlantic City', 'Harold Bornstein', "Harrah's at Trump Plaza", 'Harvey Birdman: Attorney General', 'Health and Human Services Secretary', 'Health insurance coverage in the United States', 'Helene Cooper', 'Hiding in Plain Sight (Kendzior book)', 'Hillary Clinton', 'Hillary Clinton 2008 presidential campaign', 'Hillary Clinton email controversy', 'Hilton Worldwide', 'Hip-hop', 'Hoax (book)', 'Holiday Corporation', 'Hollywood Walk of Fame', 'Hope Hicks', 'Hot mic', 'House Oversight Committee', 'Houthis', 'Howard Stern Show', 'Huawei', 'Hudson River', 'HuffPost', 'Human rights in China', 'Hunter Biden', 'ISBN (identifier)', 'ISNI (identifier)', 'ISSN (identifier)', 'Illegal entry', 'Illegal immigrant population of the United States', 'Immigration policy of Donald Trump', 'Immigration to the United States', 'Impeachment inquiry against Donald Trump', 'In Trump We Trust', 'Inauguration of Donald Trump', 'Incitement of insurrection', 'Income tax audit', 'Independence Party of New York', 'Independent politician', 'Indiana Republican primary, 2016', 'Individual shared responsibility provision', 'IndustryWeek', 'Infrastructure-based development', 'Infrastructure policy of Donald Trump', 'Insane Clown President', 'Inspector General of the Intelligence Community', "Int'l Refugee Assistance Project v. Trump", 'Intermediate-Range Nuclear Forces Treaty', 'Internal Revenue Code', 'International reactions to the 2016 United States presidential election', 'Internet Archive', 'Internet troll', 'Ipsos', 'Iranian missile tests', 'Iran–United States relations', 'Islam in China', 'Islamic State of Iraq and the Levant', 'Islamophobic', 'Isolationist', 'Israel–Morocco normalization agreement', 'Israel–Sudan normalization agreement', 'Israel–United Arab Emirates normalization agreement', 'Ivana Trump', 'Ivanka Trump', 'Jamaica Estates, Queens', 'Jamaica Hospital Medical Center', 'James Barron (journalist)', 'James Comey', 'James Mattis', 'Jamie Gangel', 'Jane Mayer', 'January 2018 United States federal government shutdown', 'January 2019 Oval Office address', 'Jared Kushner', 'Jason Burke', 'Jason Samenow', 'Jeff Sessions', 'Jennifer Steinhauer', 'Jeremy Diamond', 'Jeremy Diamond (journalist)', 'Jeremy W. Peters', 'Jim Acosta', 'Jim Rutenberg', 'Joe Arpaio', 'Joe Biden', 'John Barron (pseudonym)', 'John Cornyn', 'John F. Kelly', 'John G. Trump', 'John Kasich', 'John M. Dowd', 'John McEntee (political aide)', 'John Roberts', 'John Wiley & Sons', 'Joint Chiefs of Staff', 'Joint Comprehensive Plan of Action', 'Jonathan Martin (journalist)', 'Josh Dawsey', 'Joshua Keating', 'Judicial appointment history for United States federal courts', 'Judicial independence', 'Julian Borger', 'Julie Hirschfeld Davis', 'Junk bonds', 'KTVK', 'Kaiser Health News', 'Kaitlan Collins', 'Karen McDougal', 'Karoun Demirjian', 'Keith Schiller', 'Kenneth T. Walsh', 'Kew-Forest School', 'Keystone XL', 'Khan Shaykhun chemical attack', 'Kim Jong-un', 'Kim Kardashian', 'Kosovo and Serbia economic normalization agreements (2020)', 'Kristian Saucier', 'Ku Klux Klan', 'Kurds in Syria', 'Kwame Kilpatrick', 'LCCN (identifier)', 'LNB (identifier)', 'Lafayette Square, Washington, D.C.', 'Land of the Free (Joey Badass song)', 'Lara Trump', 'Las Vegas (In the Hills of Donegal)', 'Last Week Tonight segments about Donald Trump', 'Lawfare (blog)', 'Leader of the Chinese Communist Party', 'Legal affairs of Donald Trump', 'Legal challenges to Executive Orders 13769 and 13780', 'Legal challenges to the Trump travel ban', 'Legal teams involved in the Special Counsel investigation (2017–2019)', 'Lenore Taylor', 'Lesley Stahl', 'Let Trump Be Trump', 'Liars, Leakers, and Liberals', 'Liberal democracy', 'Lincoln Square, Manhattan', 'Links between Trump associates and Russian officials', 'Lisa de Moraes', 'List of Donald Trump 2016 presidential campaign endorsements', 'List of Donald Trump 2016 presidential campaign primary endorsements', 'List of Donald Trump 2020 presidential campaign non-political endorsements', 'List of Donald Trump 2020 presidential campaign political endorsements', 'List of Donald Trump nominees who have withdrawn', 'List of Mad episodes', 'List of Republicans who opposed the Donald Trump 2016 presidential campaign', 'List of Republicans who opposed the Donald Trump 2020 presidential campaign', 'List of Trump administration dismissals and resignations', 'List of United States Republican Party presidential tickets', 'List of United States federal funding gaps', 'List of United States presidential elections in which the winner lost the popular vote', 'List of ambassadors of the United States to Ukraine', 'List of conspiracy theories promoted by Donald Trump', 'List of economic advisors to Donald Trump', 'List of executive actions by Donald Trump', 'List of federal judges appointed by Donald Trump', 'List of honors and awards received by Donald Trump', 'List of international presidential trips made by Donald Trump', 'List of lawsuits involving Donald Trump', 'List of lawsuits relating to the 2020 United States presidential election', 'List of nicknames used by Donald Trump', 'List of people granted executive clemency by Donald Trump', 'List of post-2016 election Donald Trump rallies', 'List of presidential trips made by Donald Trump', 'List of presidential trips made by Donald Trump (2017)', 'List of presidential trips made by Donald Trump (2018)', 'List of presidential trips made by Donald Trump (2019)', 'List of presidential trips made by Donald Trump (2020–2021)', 'List of presidents of the United States', 'List of presidents of the United States by age', 'List of presidents of the United States by previous experience', 'List of proclamations by Donald Trump', 'List of rallies for the 2016 Donald Trump presidential campaign', 'List of richest American politicians', 'List of short-tenure Donald Trump political appointments', 'List of things named after Donald Trump', 'Long Island Business News', 'Los Angeles Times', 'Lynn Sweet', 'MBA (identifier)', 'MS-13', 'MSNBC', 'Maggie Haberman', 'Majestic Star II', 'Make America Great Again', 'Make America Psycho Again', 'Make Everything Great Again', 'Making false statements', 'Manhattan District Attorney', 'Manu Raju', 'Mar-a-Lago', 'Marble Collegiate Church', 'Marc Fisher', 'Marc Hetherington', 'March 2020 Oval Office Address', 'Maria Konnikova', 'Mark A. Milley', 'Mark Landler', 'Mark Leibovich', 'Mark Mazzetti', 'Mark Meadows (North Carolina politician)', 'Marla Maples', 'Mary Anne MacLeod Trump', 'Mary L. Trump', 'Maryanne Trump Barry', 'Mass shootings in the United States', 'Matthew Rosenberg', 'Mazars USA', 'McAllen, Texas', 'Media Madness', 'Media bias', 'Media career of Donald Trump', 'Mediaite', 'Megan Twohey', 'Megayacht', 'Melania Trump', 'Melania and Me', 'Merrick Garland', 'Merrick Garland Supreme Court nomination', 'Mexico City Policy', 'Mexico–United States barrier', 'Mexico–United States border', 'Miami Herald', 'Michael Barbaro', 'Michael Barkun', 'Michael Cohen (lawyer)', 'Michael Crowley (journalist)', 'Michael D. Shear', 'Michael Flynn', 'Michael Kranish', 'Michael Milken', 'Michael Moore in TrumpLand', 'Michael Oreskes', 'Michael R. Gordon', 'Michael S. Schmidt', 'Michael T. Flynn', 'Michael Tackett', 'Michael Tomasky', 'Michigan', 'Mick Mulvaney', 'Midas Touch (book)', 'Midtown Manhattan', 'Mike Pence', 'Mike Pompeo', 'Million Dollar Loan', 'Misinformation related to the COVID-19 pandemic by the United States', 'Miss Teen USA', 'Miss USA', 'Miss Universe', 'Missy Ryan', 'Mitch McConnell', 'Mitt Romney', "Mitt Romney's 2016 anti-Trump speech", 'Mixed-use development', 'Moral equivalence', 'Mother Jones (magazine)', 'Mr. Garrison', 'Mueller report', 'NAFTA', 'NATO', 'NBC', 'NBC Montana', 'NBC News', 'NDL (identifier)', 'NFL', 'NKC (identifier)', 'NLA (identifier)', 'NLG (identifier)', 'NLI (identifier)', 'NLK (identifier)', 'NLR (identifier)', 'NPR', 'NSA', 'NSK (identifier)', 'NTA (identifier)', 'Name-calling', 'Nancy Pelosi', 'Nancy Reagan', 'National Archives and Records Administration', 'National Emergency Concerning the Southern Border of the United States', 'National Enquirer', 'National Garden of American Heroes', 'National Geographic Society', 'National Institute of Allergy and Infectious Diseases', 'National injunctions', 'Nationalist', 'Nationwide opinion polling for the 2016 United States presidential election', 'Nationwide opinion polling for the United States presidential election, 2016', 'Nazi salute', 'Neil Gorsuch', 'Neil Gorsuch Supreme Court nomination', 'Neo-nationalism', 'Never Enough: Donald Trump and the Pursuit of Success', 'Never Trump movement', 'New Jersey Generals', 'New York (magazine)', 'New York County District Attorney', 'New York Mets', 'New York Military Academy', 'Newsweek', 'Nicholas Fandos', 'Nikki Haley', 'Nisour Square massacre', 'Non-denominational Christian', 'Non-interventionism', 'Norman Vincent Peale', 'North American Free Trade Agreement', "North Korea's nuclear weapons", 'North Korea–United States relations', 'Nuclear option', 'Obstruction of justice', 'Office of Legal Counsel', 'Office of Public Liaison', 'Office of the Pardon Attorney', 'Operation Faithful Patriot', 'Operation Warp Speed', 'Opinion polling on the Donald Trump administration', 'Opioid epidemic in the United States', 'Opposition to immigration', 'Opposition to multiculturalism', 'Osama bin Laden', 'Otay Mesa, California', 'Our Cartoon President', 'Oval Office', 'Oval Office address', 'PBS', 'PBS NewsHour', 'PLWABN (identifier)', 'PMC (identifier)', 'PMID (identifier)', 'PREDICT (USAID)', 'Pageant Place', 'Palm Beach, Florida', 'Pandemic', 'Panic-buying', 'Paramount leader', 'Pardon of Joe Arpaio', 'Paris Agreement', 'Party-line vote', 'Patrick Wintour', 'Paul Manafort', 'Paul Pringle', 'Paul Ryan', 'Paula White', 'Peaceful transition of power', 'Pennsylvania', 'People (magazine)', 'Pepper spray', 'Perjury', 'Person, woman, man, camera, TV', 'Personal bankruptcy', 'Peter Baker (journalist)', 'Pew Research', 'Pew Research Center', 'Phil Hartman', 'Philadelphia (magazine)', 'Philip Rucker', 'Pierre Thomas (journalist)', 'Pizza Man', 'Playboy', 'Plaza Hotel', 'Poland', 'PolitiFact', 'Political Science Quarterly', 'Political appointments by Donald Trump', 'Political career of Donald Trump', 'Political correctness', 'Political positions of Donald Trump', 'Politico', 'Politifact', 'Popular Mobilization Forces', 'Populism', 'Populist', 'Pornographic film actor', 'Post-election lawsuits related to the 2020 United States presidential election', 'Post-election lawsuits related to the 2020 United States presidential election from Arizona', 'Post-election lawsuits related to the 2020 United States presidential election from Georgia', 'Post-election lawsuits related to the 2020 United States presidential election from Michigan', 'Post-election lawsuits related to the 2020 United States presidential election from Nevada', 'Post-election lawsuits related to the 2020 United States presidential election from Pennsylvania', 'Post-election lawsuits related to the 2020 United States presidential election from Wisconsin', 'Pre-election lawsuits related to the 2020 United States presidential election', 'Presidency of Donald Trump', 'Presidency of George W. Bush', 'President of the United States', 'Presidential Proclamation 9645', 'Presidential transition of Donald Trump', 'Presidential transition of Joe Biden', 'Pro-life', 'ProPublica', 'Professional wrestling', 'Propaganda', 'Protectionist', 'Protests against Donald Trump', 'Protests in the United States over responses to the COVID-19 pandemic', 'Pseudonyms of Donald Trump', 'Public charge rule', 'Pussy', 'QAnon', 'Qasem Soleimani', 'Qatar', 'Quds Force', 'Queens', 'Quinnipiac University Polling Institute', 'R/The Donald', 'REGN-COV2', 'RERO (identifier)', 'RSL (identifier)', 'Racial profiling', 'Racial views of Donald Trump', 'Rage (Woodward book)', 'Raising Trump', 'Real News Update', 'Recep Tayyip Erdoğan', 'Reform Party of the United States of America', 'Reformed Church in America', 'Reince Priebus', 'Religion News Service', 'Remdesevir', 'Republican National Committee', 'Republican National Convention', 'Republican Party (United States)', 'Republican Party presidential primaries, 2016', 'Republican Voters Against Trump', "Republican reactions to Donald Trump's claims of 2020 election fraud", 'Reshoring', 'Residences of Donald Trump', 'Reuters', 'Reuters Institute for the Study of Journalism', 'Revocable trust', 'Rex Tillerson', 'Richard Winger', 'Rick Gates (political consultant)', 'Rick Renzi', 'Right-wing populism', 'Riverside South, Manhattan', 'Riyadh Summit 2017', 'Robert Costa (journalist)', 'Robert Kagan', 'Robert Mueller', 'Robert Pear', 'Robert Trump', 'Robin Hayes', 'Rod Blagojevich', 'Rod Rosenstein', 'Roe v. Wade', 'Roger Stone', 'Rojava', 'Ron Nixon', 'Ronald Reagan', 'Rosalind Helderman', 'Roy Cohn', 'Rudy Giuliani', 'Russian bounty program', 'Russian interference in the 2016 United States elections', 'Russian interference in the 2016 presidential election', 'Russia–United States relations', 'Ruth Bader Ginsburg', 'Ryan Zinke', 'S2CID (identifier)', 'SAG-AFTRA', 'SBS News', 'SEAL Team Six', 'SELIBR (identifier)', 'SNAC-ID (identifier)', 'SSRN (identifier)', 'SUDOC (identifier)', 'Salman of Saudi Arabia', 'Same-sex marriage', 'Same-sex marriage in the United States', 'Sanctions against North Korea', 'Sanitization (classified information)', 'Sanjay Gupta', 'Santa Clara Law Review', 'Sara Murray (journalist)', 'Sara Sidner', 'Sassy Justice', 'Saturday Night Live parodies of Donald Trump', 'Saudi Arabia', 'Saudi Arabian-led intervention in Yemen', 'Scientific consensus on climate change', 'Scientific polling', 'Scooter Libby', 'Scott Pelley', 'Sean Spicer', 'Second impeachment of Donald Trump', 'Second impeachment trial of Donald Trump', 'Secretary of Housing and Urban Development', 'Secretary of the Treasury', 'Senate Intelligence Committee report on Russian interference in the 2016 United States presidential election', 'Senate majority leader', 'Senior Advisor to the President of the United States', 'Sergei Lavrov', 'Sergey Kislyak', 'Seung Min Kim', 'Severe acute respiratory syndrome coronavirus 2', 'Shane Harris', 'Sharon LaFraniere', 'Siege: Trump Under Fire', 'Simon & Schuster', 'Sky News', 'Slate (magazine)', 'Snopes.com', 'Social Science Research Network', 'Social media use by Donald Trump', 'Social policy of Donald Trump', 'Sock puppet account', 'South Park', 'Space policy of the Donald Trump administration', 'Speaking for Myself', 'Special Counsel investigation (2017–2019)', 'Special counsel', 'Spitting Image (2020 TV series)', 'Spygate (conspiracy theory)', "St. John's Episcopal Church, Lafayette Square", 'State court (United States)', 'State of emergency', 'State of the Union', 'Statewide opinion polling for the 2016 United States presidential election', 'Steele dossier', 'Stephanie Saul', 'Stephen M. Silverman', 'Steve Bannon', 'Steve Mnuchin', 'Stop the Steal', 'Stormy Daniels', 'Stormy Daniels–Donald Trump scandal', 'Stun grenade', 'Subpoena', 'Supreme Court of the United States', 'Susan Glasser', 'Susanne Craig', 'Tanning tax', 'Tariff', 'Tax Cuts and Jobs Act of 2017', 'Tax credit', 'Tax returns', 'Tax returns of Donald Trump', 'Team of Vipers', 'Ted Cruz', 'Ted Koppel', 'Terrorism and Political Violence', 'Texas v. Pennsylvania', 'The America We Deserve', 'The Apprentice (American TV series)', 'The Apprentice (franchise)', 'The Art of the Deal', 'The Atlantic', 'The Beautiful Poetry of Donald Trump', 'The Boston Globe', 'The Bronx', 'The Case for Impeachment', 'The Celebrity Apprentice', 'The Choice 2020', 'The Comey Rule', 'The Conservative Case for Trump', 'The Conversation (website)', 'The Daily Beast', 'The Dangerous Case of Donald Trump', 'The Day of the Donald', 'The Economist', 'The Ellipse', 'The Emperor Has No Balls', 'The Faith of Donald J. Trump', 'The Fifth Risk', 'The Guardian', 'The Hill (newspaper)', 'The Independent', 'The Intercept', 'The Interviews: An Oral History of Television', 'The Lewiston Journal', 'The Local', 'The Making of Donald Trump', 'The Nation', 'The National Law Review', 'The New England Journal of Medicine', 'The New Republic', 'The New York Times', 'The New York Times Best Seller list', 'The New Yorker', 'The Philadelphia Inquirer', 'The Plot to Hack America', 'The President Show', 'The Room Where It Happened', 'The Simpsons', 'The Sydney Morning Herald', 'The Thanksgiving Special', 'The Trump Organization', 'The Trump Prophecy', 'The Ultimate Merger', 'The Visionary', 'The Wall Street Journal', 'The Washington Post', 'The Way to the Top', 'The Week', 'Think Big and Kick Ass', 'Tiffany Trump', 'Time (magazine)', 'Time to Get Tough', 'Timeline of Russian interference in the 2016 United States elections', 'Timeline of Russian interference in the 2016 United States elections (July 2016–election day)', 'Timeline of investigations into Trump and Russia (2019)', 'Timeline of investigations into Trump and Russia (2020–2021)', 'Timeline of investigations into Trump and Russia (January–June 2017)', 'Timeline of investigations into Trump and Russia (January–June 2018)', 'Timeline of investigations into Trump and Russia (July–December 2017)', 'Timeline of investigations into Trump and Russia (July–December 2018)', 'Timeline of post-election transition following Russian interference in the 2016 United States elections', 'Timeline of protests against Donald Trump', 'Timeline of the Donald Trump presidency', 'Timeline of the Donald Trump presidency (2017 Q1)', 'Timeline of the Donald Trump presidency (2017 Q2)', 'Timeline of the Donald Trump presidency (2017 Q3)', 'Timeline of the Donald Trump presidency (2017 Q4)', 'Timeline of the Donald Trump presidency (2018 Q1)', 'Timeline of the Donald Trump presidency (2018 Q2)', 'Timeline of the Donald Trump presidency (2018 Q3)', 'Timeline of the Donald Trump presidency (2018 Q4)', 'Timeline of the Donald Trump presidency (2019 Q1)', 'Timeline of the Donald Trump presidency (2019 Q2)', 'Timeline of the Donald Trump presidency (2019 Q3)', 'Timeline of the Donald Trump presidency (2019 Q4)', 'Timeline of the Donald Trump presidency (2020 Q1)', 'Timeline of the Donald Trump presidency (2020 Q2)', 'Timeline of the Donald Trump presidency (2020 Q3)', 'Timeline of the Donald Trump presidency (2020 Q4–January 2021)', "Timothy L. O'Brien", 'Timothy Noah', 'Tina Brown', 'Tiny Hands', 'Today (American TV program)', 'Toluse Olorunnipa', 'Tom Price (American politician)', 'Tony Schwartz (author)', 'Too Much and Never Enough', 'Topical timeline of Russian interference in the 2016 United States elections', 'Toronto Star', 'Tour de France', 'Tour de Trump', 'Town & Country (magazine)', 'Trade deficits', 'Trans-Pacific Partnership', 'Trials of Paul Manafort', 'Trip Gabriel', 'Trove (identifier)', 'Trump-Ukraine scandal', 'Trump: An American Dream', 'Trump: Surviving at the Top', 'Trump: The Art of the Comeback', 'Trump: The Art of the Deal', 'Trump: The Game', 'Trump: The Kremlin Candidate?', 'Trump: The Rusical', "Trump: What's the Deal?", 'TrumpNation', 'Trump 101', 'Trump Card (2020 film)', 'Trump Castle (series)', 'Trump Force One', 'Trump Guy', 'Trump Hotels & Casino Resorts', 'Trump International Hotel and Tower (Chicago)', 'Trump National Golf Club Bedminster', 'Trump Princess', 'Trump Productions', 'Trump Revealed', 'Trump Shuttle', 'Trump Taj Mahal', 'Trump Tower', 'Trump Tower (novel)', 'Trump Tower Moscow', 'Trump Tower meeting', 'Trump Tower wiretapping allegations', 'Trump Unauthorized', 'Trump University', 'Trump administration communication during the COVID-19 pandemic', 'Trump administration family separation policy', 'Trump administration migrant detentions', 'Trump administration political interference with science agencies', 'Trump derangement syndrome', 'Trump family', 'Trump peace plan', 'Trump tariffs', 'Trump travel ban', 'Trump vs. Bernie', 'Trump wall', 'Trumped!', 'Trumped! (book)', 'Trumped (2017 film)', 'Trumpism', 'Trump–Raffensperger phone call', 'Trump–Ukraine scandal', 'Turkey', 'Twitter', 'U.S. Constitution', 'U.S. News & World Report', 'U.S. Office of Government Ethics', 'U.S. Treasury', 'U.S. federal government response to the COVID-19 pandemic', 'U.S. national debt', 'U.S.–Mexico–Canada Agreement', 'ULAN (identifier)', 'USA Today', 'USAir', 'Ukraine International Airlines Flight 752', 'Umbrella brand', 'Understanding Trump', 'Unhinged (book)', 'Unite the Right rally', 'United Arab Emirates', 'United Nations General Assembly', 'United Press International', 'United States-Mexico-Canada Agreement', 'United States Agency for International Development', 'United States Ambassador to the United Nations', 'United States Ambassadors appointed by Donald Trump', 'United States Attorney General', 'United States Attorneys appointed by Donald Trump', 'United States Capitol', 'United States Congress', 'United States Department of Justice', 'United States Department of Veterans Affairs', 'United States Deputy Attorney General', 'United States District Court for the District of Columbia', 'United States District Court for the Southern District of New York', 'United States Electoral College', 'United States Football League', 'United States House of Representatives', 'United States Refugee Admissions Program', 'United States Secretary of Defense', 'United States Secretary of Health and Human Services', 'United States Secretary of State', 'United States Senate', 'United States Supreme Court', 'United States antitrust law', 'United States federal courts', 'United States federal judge', 'United States non-interventionism', 'United States order of precedence', 'United States presidential elections in which the winner lost the popular vote', 'United States recognition of Jerusalem as capital of Israel', 'United States recognition of the Golan Heights as part of Israel', 'United States sanctions', 'United States sanctions against Iran', 'United States withdrawal from the Joint Comprehensive Plan of Action', 'United States withdrawal from the Paris Agreement', 'United States–Mexico–Canada Agreement', 'University of Pennsylvania', 'University of Pennsylvania Press', 'Univision', 'Upset victory', 'Ursula (detention center)', 'Uyghurs', 'VIAF (identifier)', 'Vanessa Trump', 'Vanity Fair (magazine)', 'Veracity of statements by Donald Trump', 'Veto override', 'Vice President of the United States', 'Viktor Yanukovych', 'Virginia Women for Trump', 'Vladimir Putin', 'Volodymyr Zelensky', 'Vox (website)', 'Vulture.com', 'WWE', 'WWE Hall of Fame (2013)', 'Wake Forest Law Review', 'Walter Reed National Military Medical Center', 'War crimes', 'Waterboarding', 'We the People.... (song)', 'Wealth of Donald Trump', 'Wharton School of the University of Pennsylvania', 'Whistleblower protection in the United States', 'White House', 'White House COVID-19 outbreak', 'White House Coronavirus Task Force', 'White House chiefs of staff', 'White nationalist', 'Why We Want You to Be Rich', 'William B. Taylor Jr.', 'William Barr', 'William D. Cohan', 'Wisconsin', 'Withdrawal of U.S. troops from Afghanistan', 'Women for Trump', 'WorldCat Identities (identifier)', 'World Health Organization', 'WrestleMania 23', 'Wuhan', 'Xi Jinping', 'Xinjiang', 'Xinjiang re-education camps', 'Yahoo! News', 'Ye vs. the People', "You've Been Trumped", 'You Got Trumped: The First 100 Days', 'Zolan Kanno-Youngs'], ['.rs', '.срб', '2020 Sundance Film Festival', '2244 Tesla', '270 Park Avenue', '40th Street (Manhattan)', 'ABC-CLIO', 'AC motor', 'AIEE Edison Medal', 'ARPANET', 'Adze', 'Ajvar', 'Albert Einstein', 'Alessandro Volta', 'Alexander Graham Bell', 'Alexander Stepanovich Popov', 'Alfred Vail', 'Alien Property Custodian', 'Allen Kent', 'Allis-Chalmers', 'Almon Brown Strowger', 'Alternating current', 'Alternator', 'American Antiquarian Society', 'American Experience', 'American Institute of Electrical Engineers', 'Amos Dolbear', 'Ampere', 'Amplifier', 'Anders Celsius', 'Anders Jonas Ångström', 'André-Marie Ampère', 'Angstrom', 'Anil K. Rajvanshi', 'Antonio Meucci', 'Arc lamp', 'Arthur Brisbane', 'Atmospheric electricity', 'Audio coding format', 'Austrian Empire', 'Austro-Hungarian Army', 'Autobiography', 'BIBSYS (identifier)', 'BITNET', 'BNE (identifier)', 'BNF (identifier)', 'Baku', 'Bandwidth (computing)', 'Barings Bank', 'Barnes & Noble Books', 'Bač Fortress', 'Beacon', 'Becquerel', 'Bel (unit)', 'Belgrade', 'Belgrade Fortress', 'Belgrade Nikola Tesla Airport', 'Benjamin G. Lamme', 'Billiards', 'Biographical film', 'Biplane', 'Blaise Pascal', 'Bob Kahn', 'Bože pravde', 'Bremsstrahlung', 'Bryant Park', 'Budapest', 'Börek', 'C-SPAN', 'CANTIC (identifier)', 'CYCLADES', 'Cable protection system', 'Cable television', 'Camille Tissot', 'Canada', 'Capstone Publishers', 'Carbon button lamp', 'Card game', 'Carl Friedrich Gauss', 'Carpenter', 'Cataract Construction Company', 'Cathedral of St. John the Divine', 'Cellular network', 'Celsius', 'Certified Software Development Professional', 'Cgs', 'Charles-Augustin de Coulomb', 'Charles Batchelor', 'Charles Bourseul', 'Charles F. Brush', 'Charles F. Scott (engineer)', 'Charles Grafton Page', 'Charles K. Kao', 'Charles Proteus Steinmetz', 'Charles Sumner Tainter', 'Charles University', 'Charles Wheatstone', 'Chess', 'Chicago', 'Cholera', 'Church of Saint Sava', 'CiNii (identifier)', 'Circuit switching', 'Class 8 truck', 'Claude Chappe', 'Claude Shannon', 'Coat of arms of Serbia', 'Coaxial cable', 'Code-division multiple access', 'Coherer', 'Cold cathode', "Collier's Weekly", 'Colorado Springs, Colorado', 'Colorado Springs Notes, 1899–1900', 'Columbia College (New York)', 'Columbidae', 'Communication protocol', 'Communications satellite', 'Commutator (electric)', 'Computer-Aided Design Technical Committee', 'Computer network', 'Conscription', 'Constitution of Serbia', 'Coronary thrombosis', 'Cosmic ray', 'Coulomb', 'Croatia', 'Croatian language', 'Crookes tube', 'Cummings C. Chesney', 'Curie (unit)', 'Czech (language)', 'Czech language', 'Czechoslovakia', 'Dalton (unit)', 'Daniel Gabriel Fahrenheit', 'Data compression', 'Data transmission', 'Data transmission circuit', 'David Grubin', 'David Hatcher Childress', 'Dawon Kahng', 'Death ray', 'Debye', 'Decade Box', "Delmonico's", 'Digital media', 'Digital television', 'Direct current', 'Discrete cosine transform', 'Doi (identifier)', 'Donald Davies', 'Donji grad (Zagreb)', 'Drums in communication', 'Dynamo', 'Eagle', 'Eastern Orthodox Church', "Edholm's law", 'Edison Machine Works', 'Edison Medal', 'Edward Dean Adams', 'Edwin Howard Armstrong', 'Eidetic memory', 'El Paso Power Company', 'Electric current', 'Electric generator', 'Electric power industry', 'Electrical Experimenter', 'Electrical engineer', 'Electrical engineering', 'Electrical telegraph', 'Electricity generation', 'Electricity supply', 'Electromagnetic induction', 'Electromagnetic radiation', 'Electron', 'Electrostatic', 'Elihu Thomson', 'Elisha Gray', 'Elliott Cresson Medal', 'Emile Berliner', 'Empire State Building', 'Engineering and Technology History Wiki', 'Engineering for Change', 'Englewood, New Jersey', 'Eotvos (unit)', 'Ericsson', 'Ericsson Nikola Tesla', 'Erna Schneider Hoover', 'Eta Kappa Nu', 'Ether (classical element)', 'Ethernet', 'Eugenics', 'Evangelista Torricelli', 'Exposition Universelle (1889)', 'F. David Peat', 'Fahrenheit', 'Farad', 'Faraday (unit)', 'Fauna of Serbia', 'Fax', 'Federal Bureau of Investigation', 'Ferncliff Cemetery', 'Fiber-optic communication', 'FidoNet', 'Fifth Avenue', 'Fiorello La Guardia', 'Flag of Serbia', 'Flora of Serbia', 'Foot-lambert', 'Force-free magnetic field', 'Fragments of Olympian Gossip', 'Francis Blake (telephone)', 'Francis Marion Crawford', 'Frank J. Sprague', 'Franklin Institute', 'Frano Kršinić', 'Free-space optical communication', 'Frequency', 'Frequency-division multiplexing', 'Frula', 'Futurist', 'GND (identifier)', 'Gaida', 'Gal (unit)', 'Galileo Ferraris', 'Galileo Galilei', 'Gamzigrad', 'Gardiner Greene Hubbard', 'Gas-discharge lamp', 'Gauss (unit)', 'Geissler tube', 'Gender equality', 'General Conference on Weights and Measures', 'General Electric', 'Georg Ohm', 'George Sylvester Viereck', 'George Westinghouse', 'Germany', 'Gibanica', 'Gilbert (unit)', 'Glide bomb', 'GlobalSpec', 'Golubac Fortress', 'Gornje Podunavlje', 'Gospić', 'Gray (unit)', 'Gray wolf', 'Graz', 'Graz University of Technology', 'Gračac', 'Gračanica monastery', 'Grčko groblje', 'Guglielmo Marconi', 'Gusle', 'Gymnasium Karlovac', 'Hamilton, Ontario', 'Hans Christian Ørsted', 'Harold Hopkins (physicist)', 'HarperCollins', 'Harris J. Ryan', 'Hedy Lamarr', 'Heinrich Hertz', 'Heinrich Kayser', 'Heinrich Mache', 'Heliograph', 'Henri Becquerel', 'Henry (unit)', 'Henry Sutton (inventor)', 'Hertz', 'High-voltage', 'History of broadcasting', 'History of mobile phones', 'History of prepaid mobile phones', 'History of radio', 'History of telecommunication', 'History of television', 'History of the Internet', 'History of the Tesla coil', 'History of the telephone', 'History of the transistor', 'History of videotelephony', 'Hotel Pennsylvania', 'Houston Street', 'Humanism', 'Hydraulic telegraph', 'IEEE', 'IEEEXtreme', 'IEEE Access', 'IEEE Aerospace and Electronic Systems Society', 'IEEE Antennas & Propagation Society', 'IEEE Biometrics Council', 'IEEE Broadcast Technology Society', 'IEEE Circuits and Systems Society', 'IEEE Cloud Computing', 'IEEE Communications Society', 'IEEE Components, Packaging & Manufacturing Technology Society', 'IEEE Computational Intelligence Society', 'IEEE Computer Society', 'IEEE Consumer Electronics Society', 'IEEE Control Systems Society', 'IEEE Council on Electronic Design Automation', 'IEEE Council on Superconductivity', 'IEEE Dielectrics & Electrical Insulation Society', 'IEEE Edison Medal', 'IEEE Education Society', 'IEEE Electromagnetic Compatibility Society', 'IEEE Electron Devices Society', 'IEEE Engineering in Medicine and Biology Society', 'IEEE Geoscience and Remote Sensing Society', 'IEEE Industrial Electronics Society', 'IEEE Industry Applications Society', 'IEEE Information Theory Society', 'IEEE Instrumentation & Measurement Society', 'IEEE Intelligent Transportation Systems Society', 'IEEE Life Sciences', 'IEEE Magnetics Society', 'IEEE Nanotechnology Council', 'IEEE Nikola Tesla Award', 'IEEE Nuclear and Plasma Sciences Society', 'IEEE Oceanic Engineering Society', 'IEEE Photonics Society', 'IEEE Power & Energy Society', 'IEEE Power Electronics Society', 'IEEE Product Safety Engineering Society', 'IEEE Professional Communication Society', 'IEEE Rebooting Computing', 'IEEE Registration Authority', 'IEEE Reliability Society', 'IEEE Robotics and Automation Society', 'IEEE Sensors Council', 'IEEE Signal Processing Society', 'IEEE Smart Grid', 'IEEE Society on Social Implications of Technology', 'IEEE Solid-State Circuits Society', 'IEEE Standards Association', 'IEEE Systems, Man, and Cybernetics Society', 'IEEE Systems Council', 'IEEE Technical Activities Board', 'IEEE Technology and Engineering Management Society', 'IEEE Ultrasonics, Ferroelectrics, and Frequency Control Society', 'IEEE Vehicular Technology Society', 'IEEE Xplore', 'IEEE conferences', 'IEEE style', 'IEEEmadC', 'ISBN (identifier)', 'ISNI (identifier)', 'ISSN (identifier)', 'Ilham Aliyev', 'Image compression', 'Imperial units', 'In Search of Nikola Tesla', 'Induction coil', 'Induction motor', 'Inductive charging', 'Information Age', 'Information revolution', 'Innocenzo Manzetti', 'Institute of Electrical and Electronics Engineers', 'Institute of Radio Engineers', 'Integral', 'Integrated Services Digital Network', 'International Electrical Congress', 'Internet', 'Internet2', 'Internet Archive', 'Internet Technical Committee', 'Internet video', 'Inventor', 'Isaac Newton', 'Ivan Meštrović', 'Ivry-sur-Seine', 'J.P. Morgan', 'J. J. Thomson', 'J. P. Morgan', 'JANET', 'JSTOR (identifier)', 'Jagadish Chandra Bose', 'Jakob Pöschl', 'James Clerk Maxwell', 'James Prescott Joule', 'James Watt', 'Jean Léonard Marie Poiseuille', 'Johann Heinrich Lambert', 'Johann Philipp Reis', 'John Bardeen', 'John Dalton', 'John G. Trump', 'John J. Carty', 'John Jacob Astor IV', "John Joseph O'Neill (journalist)", 'John Logie Baird', 'John Napier', 'John Scott Medal', 'John Stone Stone', 'John W. Lieb', 'John White Howell', 'John William Strutt, 3rd Baron Rayleigh', 'Jonathan Zenneck', 'Joseph Henry', 'Joule', 'Jovan Cvijić', 'Julian Hawthorne', 'Jun-ichi Nishizawa', 'Justiniana Prima', 'Karl Ferdinand Braun', 'Karlovac', 'Kayser (unit)', 'Kelvin', 'Kenneth M. Swezey', 'Kingdom of Serbia', 'Kingdom of Serbs, Croats and Slovenes', 'Kingdom of Yugoslavia', 'Kolo (dance)', 'Krsto Papić', 'LCCN (identifier)', 'LNB (identifier)', 'Lambert (unit)', 'Lands of the Crown of Saint Stephen', 'Langley (unit)', 'Latin', 'League of Nations', 'Learned society', 'Lee de Forest', 'Liberty Ship', 'LibriVox', 'Lika', 'List of IEEE awards', 'List of IEEE milestones', 'List of IEEE publications', 'List of Internet pioneers', 'List of Nikola Tesla patents', 'List of Serbian mottos', 'List of Serbs', 'List of World Heritage Sites in Serbia', 'List of people whose names are used in chemical element names', 'List of scientists whose names are used as units', 'List of scientists whose names are used in physical constants', 'List of things named after Nikola Tesla', 'Local area network', 'Long Island', 'Loránd Eötvös', 'Louis Adamic', 'Louis Harold Gray', 'Lower East Side', 'Lower Manhattan', 'Lump sum', 'MBA (identifier)', 'MIT', 'MOSFET', 'Mache (unit)', 'Macquorn Rankine', 'Madison Square Garden (1890)', 'Magnetic field', 'Magnetic flux density', 'Magnifying transmitter', 'Man and the Biosphere Programme', 'Manasija monastery', 'Manhattan', 'Marc J. Seifer', 'Marconi Company', 'Maribor', 'Marie Curie', 'Mark Twain', 'Mars', 'Martin Sekulić', 'Mass media', 'Maxwell (unit)', 'Mechanical engineering', 'Medieval Monuments in Kosovo', 'Memory of the World Programme', 'Metropolitan Life Insurance Company Tower', 'Michael Almereyda', 'Michael Faraday', 'Mihajlo Pupin', 'Military Frontier', 'Milutin Milanković', 'Milwaukee', 'Miroslav Gospel', 'Mobile telephony', 'Mohamed M. Atalla', 'Molecular communication', 'Mramorje (Perućac)', 'Mramorje (Rastište)', 'Multiple exposure', 'Multiplexing', 'Mur River', 'Musical instrument', 'My Inventions', 'My Inventions: The Autobiography of Nikola Tesla', 'NDL (identifier)', 'NKC (identifier)', 'NLA (identifier)', 'NLG (identifier)', 'NLI (identifier)', 'NLK (identifier)', 'NPL network', 'NSK (identifier)', 'NTA (identifier)', 'Nadežda Petrović', 'Names of the Serbs and Serbia', 'Napoleon Sarony', 'Narinder Singh Kapany', 'Nasir Ahmed (engineer)', 'National Defense Research Committee', 'National Electric Light Association', 'National symbols of Serbia', 'Naturalization', 'Nature park Golija-Studenica', 'Nazi', 'Near and far field', 'Nenad Bach', 'Neon light', 'Neper', 'Nervous breakdown', 'Network switch', 'Network topology', 'New York City', 'New York Herald Tribune', 'Newfoundland and Labrador', 'Newton (unit)', 'Next-generation network', 'Niagara Falls', 'Niagara Falls, New York', 'Niagara Falls, Ontario', 'Nikola Motor Company', "Nikola Tesla's Night of Terror", 'Nikola Tesla (disambiguation)', 'Nikola Tesla Memorial Center', 'Nikola Tesla Museum', 'Nikola Tesla Satellite Award', 'Nikola Tesla in popular culture', 'Nitrous acid', 'Nobel Prize in Physics', 'Node (networking)', 'Novi Sad', 'Nvidia', 'OCLC (identifier)', 'Oak', 'Oersted', 'Ohm', 'Old City Hall (Zagreb)', 'Old Style and New Style dates', 'Oliver Heaviside', 'Oliver Lodge', 'Omni (magazine)', 'Online video platform', 'Only Unity Saves the Serbs', 'Opanak', 'Oplenac', 'Optical communication', 'Optical fiber', 'Optical telegraph', 'Orbital angular momentum multiplexing', 'Order of Prince Danilo I', 'Order of St. Sava', 'Order of the White Eagle (Serbia)', 'Order of the White Lion', 'Order of the Yugoslav Crown', 'Orders, decorations, and medals of Serbia', 'Orson Welles', 'Our Lady of Ljeviš', 'Outline of telecommunication', 'Ozone', 'PLWABN (identifier)', 'Packet switching', 'Pager', 'Panic of 1890', 'Paris', 'Paris, France', 'Pascal (unit)', 'Pasulj', 'Patriarchate of Peć (monastery)', 'Paul Baran', 'Pbs.org', 'Petar Božović', 'Petar II Petrović-Njegoš', 'Peter Debye', 'Petrovaradin Fortress', 'Philadelphia', 'Philadelphia City Council', 'Philo Farnsworth', 'Photographic memory', 'Photophone', 'Picture thinking', 'Pierre Curie', 'Pikes Peak', 'Pittsburgh', 'Plandište', 'Plasma globe', 'Plasma lamp', 'Pljeskavica', 'Plum', 'Poise (unit)', 'Polarization-division multiplexing', 'Polyglot (person)', 'Polyphase system', 'Popular Electronics', 'Power station', 'Prague', 'Princeton University Press', 'Principality of Montenegro', 'Priority right', 'Prodigal Genius: The Life of Nikola Tesla', 'Project Gutenberg', 'Public switched telephone network', 'Queen Victoria Park', 'Queen bee (sociology)', 'Questia', 'RERO (identifier)', 'Radar', 'Rade Serbedzija', 'Radia Perlman', 'Radio control', 'Radio network', 'Radio wave', 'Radiography', 'Radiotelephone', 'Rahway, New Jersey', 'Ramonda nathaliae', 'Random House', "Random House Webster's Unabridged Dictionary", 'Rankine scale', 'Rayl', 'Red Cross Society', 'Redmond, Washington', 'Regalia of Serbia', 'Reginald Fessenden', 'Religious fanaticism', 'René Antoine Ferchault de Réaumur', 'Repeater', 'Resonant inductive coupling', 'Resonant transformer', 'Reuters', 'Robert Andrews Millikan', 'Robert Hooke', 'Robert Lomas', 'Robert Metcalfe', 'Robert Underwood Johnson', 'Roentgen (unit)', 'Rolf Maximilian Sievert', 'Rotary converter', 'Rotating magnetic field', 'Ruđer Bošković Institute', 'Réaumur scale', 'SI unit', 'SNAC-ID (identifier)', 'SS Oregon (1883)', 'SUDOC (identifier)', 'Saint Sava', 'Samuel Langley', 'Samuel Morse', 'Sarah Bernhardt', 'Sarma (food)', 'Science, technology, engineering, and mathematics', 'Scientific American', 'Scientist', 'Selective breeding', 'Semaphore', 'Semiconductor', 'Semiconductor device', 'Serbia', 'Serbian-American', 'Serbian Cyrillic alphabet', 'Serbian Spruce', 'Serbian cross', 'Serbian cuisine', 'Serbian dinar', 'Serbian eagle', 'Serbian epic poetry', 'Serbian heraldry', 'Serbian national costume', 'Serbo-Croatian', 'Serbs', 'Shoreham, New York', 'Siemens (unit)', 'Sievert', 'Simon & Schuster', 'Sir George Stokes, 1st Baronet', 'Sir William Henry Bragg', 'Sixth Avenue', 'Slatko', 'Slava', 'Slaven Letica', 'Slivovitz', 'Slobodan Jovanović', 'Smartphone', 'Smederevo Fortress', 'Smiljan', 'Smoke signal', 'Social Science History', 'Social media', 'Sofia, Bulgaria', 'Sopoćani', 'Space-division multiple access', 'Speedometer', 'Sphere', 'St. Louis', 'St. Regis New York', 'Stacy Keach', 'Stanford White', 'Stari Ras', 'Stevan Mokranjac', 'Stećci', 'Stokes (unit)', 'Store and forward', 'Streaming media', 'Streaming television', 'Studenica Monastery', 'Subatomic particle', 'Submarine communications cable', 'Supreme Court of the United States', 'Swami Vivekananda', 'Sweden', 'TPP Nikola Tesla', 'Tamburica', 'Tamo daleko', 'Technical Committee on VLSI', 'Telautograph', 'Telecommunication', 'Telecommunication circuit', 'Telecommunications equipment', 'Telecommunications link', 'Telecommunications network', 'Teleforce', 'Telefunken', 'Telegeodynamics', 'Telegraphy', 'Teleoperation', 'Telephone exchange', 'Telephony', 'Teleprinter', 'Television network', 'Telex', 'Tenement', 'Terminal (telecommunication)', "Tesla's Egg of Columbus", "Tesla's oscillator", 'Tesla, Inc.', 'Tesla: Man Out of Time', 'Tesla (2016 film)', 'Tesla (2020 film)', 'Tesla (Czechoslovak company)', 'Tesla (band)', 'Tesla (crater)', 'Tesla (microarchitecture)', 'Tesla (unit)', 'Tesla - Lightning in His Hand', 'Tesla Electric Light & Manufacturing', 'Tesla Electric Light and Manufacturing', 'Tesla Experimental Station', 'Tesla STEM High School', 'Tesla Science Center at Wardenclyffe', 'Tesla coil', 'Tesla turbine', 'Tesla valve', 'The AWA Review', 'The Century Magazine', 'The Current War', 'The Fantastic Inventions of Nikola Tesla', 'The Inventions, Researches, and Writings of Nikola Tesla', 'The Man Who Invented the Twentieth Century', 'The New American', 'The New York Times', 'The Oatmeal', 'The Players (New York City)', 'The Prestige (film)', 'The Secret of Nikola Tesla', 'The Telephone Cases', 'The Tesla World Light', 'Theory of relativity', 'Thermo-magnetic motor', 'Thomas A. Watson', 'Thomas Commerford Martin', 'Thomas Edison', 'Thomson-Houston Electric Company', 'Thomson (unit)', 'Three-finger salute (Serbian)', 'Three-phase electric power', 'Tim Berners-Lee', 'Time-division multiplexing', 'Time (magazine)', 'Time magazine', 'Tivadar Puskás', 'Tomingaj', 'Tomislav Nikolić', 'Torpedo', 'Torr', 'Tower to the People', 'Traction motor', 'Transmission line', 'Transmission medium', 'Trinity Chapel Complex', 'Trove (identifier)', 'Twenty-First Century Books', 'ULAN (identifier)', 'UNESCO Intangible Cultural Heritage Lists', 'UUCP', 'United Kingdom of Great Britain and Ireland', 'United States', 'United States Department of Defense', 'United States customary units', 'United States of America', 'University of Belgrade Faculty of Electrical Engineering', 'University of Paris', 'Usenet', 'Utility', 'V-22 Osprey', 'VIAF (identifier)', 'VTOL', 'Vacuum tube', 'Vacuum variable capacitor', 'Vedantic', 'Venus', 'Vertical take-off and landing', 'Video card', 'Video coding format', 'Vint Cerf', 'Violet ray', 'Visoki Dečani', 'Vladimir K. Zworykin', 'Vojvodina', 'Volt', 'Voltage', 'Vuk Karadžić', 'WNYC', 'Waldorf-Astoria', 'Waldorf-Astoria Hotel', 'Waldorf Astoria New York', 'Wall Street', 'Walter Houser Brattain', 'War of currents', 'War of the currents', 'Wardenclyffe Tower', 'Watt', 'Waves in plasmas', 'Wayback Machine', 'Weber (unit)', 'Werner von Siemens', 'Western Union', 'Westinghouse Electric Corporation', 'Whistled language', 'Wide area network', 'Wilhelm Eduard Weber', 'Wilhelm Röntgen', 'William Arnold Anthony', 'William Gilbert (physician)', 'William Lawrence Bragg', 'William Le Roy Emmet', 'William Stanley, Jr.', 'William Thomson, 1st Baron Kelvin', 'Wireless', 'Wireless communication', 'Wireless network', 'Wireless power', 'Wireless power transfer', 'Wireless revolution', 'Wireless telegraphy', 'Wizard: The Life and Times of Nikola Tesla', 'Woolworth Building', "World's Columbian Exposition", 'WorldCat Identities (identifier)', 'World War I', 'World Wireless System', 'Wyndham New Yorker Hotel', 'X-Rays', 'Yogen Dalal', 'Yugoslav Wars', 'Zagreb', 'Émile Girardeau', 'Ćevapi', 'Đavolja Varoš', 'Đorđe Vajfert', 'Šajkača', 'Šargan Eight'], ['n/a'], ['1838 Coronation Honours', '1887 Golden Jubilee Honours', '1897 Diamond Jubilee Honours', "4 route du Champ d'Entraînement", 'A. A. Milne', 'Abdul Karim (the Munshi)', 'Abergeldie Castle', 'Agra', 'Albany (London)', 'Albert, Prince Consort', 'Alexander Graham Bell', 'Alfred, Duke of Saxe-Coburg and Gotha', 'Allerton Castle', 'Anmer Hall', 'Audley End House', 'Bagshot Park', 'Balmoral Castle', 'Balmoral cairns', 'Banqueting House, Whitehall', 'Barnwell Manor', 'Bathing machine', 'Bathing machines', 'Beaumont Palace', 'Bedchamber Crisis', 'Belvedere (structure)', 'Bentley Priory', 'Berkhamsted Castle', 'Bhai Ram Singh', 'Birkhall', 'Brantridge Park', 'Bridewell Palace', 'Brill Palace', 'Britannia Royal Naval College', 'British embossed postage stamps', 'Buckingham Palace', 'Bushy House', 'Cadzow Castle', 'Caernarfon Castle', 'Cambridge House', 'Canada 12d black', 'Canada 2c Large Queen on laid paper', 'Carisbrooke Castle', 'Carl, 3rd Prince of Leiningen', 'Carlton House', 'Castell y Bere', 'Castle of Mey', 'Castlebar Hill', 'Chalon head', 'Charlotte Percy, Duchess of Northumberland', 'Chelsea Manor', 'Chevening', 'Chideock', 'Choral Songs in honour of Her Majesty Queen Victoria', 'Christ Church, Oxford', 'Château de la Croë', 'Claremont (country house)', 'Clarence House', 'Clarendon Palace', 'Cliveden', 'Clock Tower, Brighton', 'Commissioners of Woods and Forests', 'Commonwealth Day', 'Coombe Abbey', 'Coppins', 'Coronation of Queen Victoria', 'Criccieth Castle', 'Crocker End House', 'Crosby Hall, London', 'Cultural depictions of Queen Victoria', 'Cumberland House', 'Cumberland Lodge', 'Dash (spaniel)', 'Delnadamph Lodge', 'Dolbadarn Castle', 'Dolittle (film)', 'Dolphin Square', 'Dolwyddelan Castle', 'Doune Castle', 'Dover House', 'Dublin Castle', 'Dull Rose', 'Dunfermline Palace', 'Durbar (court)', 'East Cowes', 'Eastwell Park', 'Edinburgh Castle', 'Edward Oxford', 'Edward VII', 'Edward VIII of the United Kingdom', 'Edward VII of the United Kingdom', 'Eltham Palace', 'Empress of India', 'English Heritage', 'Falkland Palace', 'Fort Belvedere, Surrey', 'Frogmore', 'Frogmore Cottage', 'Frogmore House', 'GND (identifier)', 'Gatcombe Park', 'Geographic coordinate system', 'George Archer-Shee', 'George Davys', 'George VI of the United Kingdom', 'Gloucester House', 'Golden Jubilee of Queen Victoria', 'Government House, Melbourne', 'Grade II* listed', 'Grandchildren of Queen Victoria and Prince Albert of Saxe-Coburg and Gotha', 'Grosvenor House', 'Gulf of Naples', 'Gunnersbury Park', 'Hackpen White Horse', 'Halfpenny Rose Red', 'Halfpenny Yellow', 'Hampton Court Palace', 'Happy and Glorious (TV series)', 'Hatfield House', 'Havering Palace', 'Highgrove House', 'Hillsborough Castle', 'Holyrood Palace', 'ISBN (identifier)', 'I and Albert', 'Inverted Head 4 Annas', 'Isle of Wight', 'Isle of Wight County Press', 'Italian Renaissance', 'Italianate architecture', 'Ivy Cottage', 'J. M. Barrie', 'Jack Llewelyn Davies', 'Jane Struthers', 'John Adair (author)', 'John Brown (servant)', 'John Conroy', 'John William Bean', 'Jubilee Clock Tower, Weymouth', 'Jubilee Issue', 'Jubilee bust of Queen Victoria', 'Kensington Palace', 'Kensington System', 'Kew Palace', "King's House, Winchester", 'Kings Langley Palace', 'LCCN (identifier)', 'Lady Flora Hastings', 'Lancaster House', 'Leeds Castle', 'Legitimacy of Queen Victoria', 'Leicester House, Westminster', 'Les Jolies Eaux', 'Linlithgow Palace', 'List of British royal residences', 'List of foreign visits made by Queen Victoria', 'List of places named after Queen Victoria', 'List of prime ministers of Queen Victoria', 'List of statues of Queen Victoria', 'Llewelyn Davies boys', 'Llwynywermod', 'London Air Park', 'Looking for Victoria', 'Louise Lehzen', 'Marlborough House', 'Mauritius "Post Office" stamps', 'Memorial to Queen Victoria, Leeds', 'Montagu House, Blackheath', 'Mrs Brown', 'Nether Lypiatt Manor', 'Nonsuch Palace', 'Norfolk House', 'Norris Castle', 'Nottingham Cottage', 'Oatlands Palace', 'Oatlands Park', 'Osborne Bay', 'Osborne House (disambiguation)', 'Osborne Stable Block', 'Oxford and Cambridge Club', 'Palace of Beaulieu', 'Palace of Placentia', 'Palace of Westminster', 'Palace of Whitehall', 'Penny Black', 'Penny Black VR official', 'Penny Blue', 'Penny Lilac', 'Penny Red', 'Penny Venetian Red', 'Peter Pan', 'Postal order', 'Prince Arthur, Duke of Connaught and Strathearn', 'Prince Edward, Duke of Kent and Strathearn', 'Prince George, Duke of Kent', 'Prince Leopold, Duke of Albany', 'Princess Alice of the United Kingdom', 'Princess Beatrice of the United Kingdom', 'Princess Feodora of Leiningen', 'Princess Helena of the United Kingdom', 'Princess Louise, Duchess of Argyll', 'Princess Victoria of Saxe-Coburg-Saalfeld', "Queen's House", "Queen's Park (Toronto)", "Queen's Square, Sydney", 'Queen Victoria', "Queen Victoria's journals", "Queen Victoria's pets", 'Queen Victoria Building', 'Queen Victoria Diamond Jubilee Medal', 'Queen Victoria Gardens', 'Queen Victoria Golden Jubilee Medal', 'Queen Victoria Lilac and Green Issue', 'Queen Victoria Memorial, Lancaster', 'Queen Victoria Memorial, Penang', 'Queen Victoria Monument, Birkenhead', 'Queen Victoria Pavilion', 'Queen Victoria Police Jubilee Medal', 'Queen Victoria Statue, Bristol', 'Queen Victoria Statue, Weymouth', 'Queen Victoria Statue, Winnipeg', 'Queens Gardens, Brisbane', "Ranger's House", 'Recessional (poem)', 'Ribsden Holt', 'Richmond Palace', 'Riven Rock, Montecito', 'Robert Graves', 'Royal Arch (structure)', 'Royal Lodge', 'Royal Naval College, Osborne', 'Royal Navy', 'Royal Order of Victoria and Albert', 'Royal Pavilion', 'Royal Pavilion, Aldershot', 'Royal Upstairs Downstairs', 'Royal descendants of Queen Victoria and King Christian IX', 'Royal visits to Manchester and Salford during the reign of Queen Victoria', 'Rudolf Swoboda', 'SUDOC (identifier)', 'Sagana Lodge', 'Sandringham House', 'Savoy Palace', 'Shilling', 'Sixty Glorious Years', 'Sixty Years a Queen', 'Small Diamond Crown of Queen Victoria', 'Solent', 'Somerset House', "St James's Palace", 'State funeral of Queen Victoria', 'Statue of Queen Victoria, Bangalore', 'Statue of Queen Victoria, Chester', 'Statue of Queen Victoria, Kensington Palace', 'Statue of Queen Victoria, Reading', 'Statue of Queen Victoria, St Helens', 'Statue of Queen Victoria, Sydney', 'Statue of Queen Victoria, Valletta', 'Statue of Queen Victoria (Hong Kong)', 'Statue of Queen Victoria (Victoria, British Columbia)', 'Stirling Castle', 'Sunninghill Park', 'Sussex House', 'Switzerland', 'Tamarisk, Isles of Scilly', 'Thatched House Lodge', 'The Black Prince (film)', 'The More', 'The Widow at Windsor', 'The Winslow Boy', 'The Young Victoria', 'The Young Victoria (1963 film)', 'Theobalds House', 'Thomas Cubitt', 'Three Halfpence Red', 'Tower of London', 'Two penny blue', 'VIAF (identifier)', 'Victoire Conroy', 'Victoria, Princess Royal', 'Victoria & Abdul', 'Victoria & Albert (TV serial)', 'Victoria (British TV series)', 'Victoria (The Kinks song)', 'Victoria (plant)', 'Victoria Clock Tower, Isle of Man', 'Victoria Cross', 'Victoria Day', 'Victoria Day (Scotland)', 'Victoria Gate (Valletta)', 'Victoria Memorial, Kolkata', 'Victoria Memorial, London', 'Victoria Memorial (Montreal)', 'Victoria Monument, Liverpool', 'Victoria Park, Regina', 'Victoria Regina (Hallmark Hall of Fame)', 'Victoria Regina (play)', 'Victoria Square, Adelaide', 'Victoria Square, Birmingham', 'Victoria Square, Christchurch', 'Victoria Square, London', 'Victoria Square, Montreal', 'Victoria Tower, Guernsey', 'Victoria and Merrie England', 'Victoria in Dover (1936 film)', 'Victoria in Dover (1954 film)', 'Victoria the Great', 'Victorian era', 'Victorian morality', 'Villa Guardamangia', 'Walmer Castle', 'Wedding dress of Queen Victoria', 'Wedding of Queen Victoria and Prince Albert of Saxe-Coburg and Gotha', 'White Lodge, Richmond Park', 'Windlesham Moor', 'Windsor Castle', 'Witley Court', 'Wood Farm', 'Woodstock Palace', 'WorldCat Identities (identifier)', 'Wren House', 'York Cottage', "York House, St James's Palace"], ['1804', '1811', '1812', '1813', '1816', '1817', '1818', '1821', '1822', '1823', '1825', '1826', '1827', '1829', '1831', '1832', '1833', '1834', '1835', '1836', '1837', '1838', '1839', '1841', '1842', '1843', '1844', '1846', '1846–1860 cholera pandemic', '1847', '1848', '1849', '1850', '1851', '1853', '1854', '1855', '1858', '1859', '1861', '1866', '1870', '1870s', '1871', '1874', '1875', '1876', '1880s', '1890s', '1899 (TV series)', '1899 (disambiguation)', '1899 (number)', '1899 New Richmond tornado', '1899 San Ciriaco hurricane', '1899 in Afghanistan', '1899 in Australia', '1899 in Belgium', '1899 in Brazil', '1899 in Bulgaria', '1899 in Canada', '1899 in Denmark', '1899 in France', '1899 in Germany', '1899 in New Zealand', '1899 in Norway', '1899 in Portugal', '1899 in Russia', '1899 in South Africa', '1899 in Spain', '1899 in Sweden', '1899 in Venezuela', '1899 in archaeology', '1899 in architecture', '1899 in art', '1899 in film', '1899 in jazz', '1899 in literature', '1899 in music', '1899 in rail transport', '1899 in science', '1899 in sports', '1899 in the United Kingdom', '1899 in the United States', '1899–1923 cholera pandemic', '18th century', '1900s (decade)', '1910s', '1918', '1927', '1931', '1932', '1936', '1937', '1938', '1939', '1943', '1945', '1947', '1949', '1950', '1951', '1953', '1954', '1956', '1957', '1959', '1960', '1961', '1962', '1963', '1964', '1965', '1966', '1967', '1968', '1969', '1970', '1971', '1972', '1973', '1974', '1975', '1976', '1977', '1978', '1979', '1980', '1981', '1982', '1983', '1984', '1985', '1986', '1987', '1988', '1989', '1990', '1991', '1992', '1993', '1994', '1995', '1996', '1997', '1998', '1999', '19th century', '2000', '2002', '2006', '2010', '2013', '2015', '2016', '2017', '20th century', '2 Pallas', '2nd millennium', 'A.C. Milan', 'A. E. J. Collins', 'AD 1896', 'AD 1897', 'AD 1898', 'AD 1899', 'AD 1900', 'AD 1901', 'AD 1902', 'Ab urbe condita', 'Abdallahi ibn Muhammad', 'Abu al-Qasim al-Khoei', 'Action Française', 'Admiral of the Navy (United States)', 'Africa', 'African American', 'Air pollution', 'Airship', 'Akim Tamiroff', 'Al Capone', 'Alan Arnett McLeod', 'Albert Claude', 'Alcoholic drink', 'Alec Campbell', 'Aleksander Zawadzki', 'Alfred, Hereditary Prince of Saxe-Coburg and Gotha', 'Alfred Denning, Baron Denning', 'Alfred Dreyfus', 'Alfred Hitchcock', 'Alfred R. Tucker', 'Alfred Sisley', 'Alice Terry', 'Aline MacMahon', 'Alma Reville', 'Alpha Sigma Tau', 'Alphonse Castex', 'American Line', 'Andrei Platonovich Klimentov', 'Anglo-Egyptian Sudan', 'Anglo-Japanese Treaty of Commerce and Navigation', 'Anna Cabot Lowell Quincy Waterston', 'Anno Domini', 'Antal Páger (actor)', 'Antarctic Circle', 'Antarctica', 'Anton Berindei', 'Antonio Luna', 'April 1', 'April 11', 'April 15', 'April 16', 'April 19', 'April 20', 'April 21', 'April 22', 'April 23', 'April 24', 'April 26', 'April 27', 'April 29', 'April 3', 'April 4', 'April 5', 'April 6', 'April 7', 'April 9', 'Armenian calendar', 'Arthur Barker', 'Arthur Blomfield', 'Arthur Bryant', 'Arthur Q. Bryan', 'Arthur Tracy', 'Asia', 'Aspirin', 'Associate Justice of the Supreme Court of the United States', 'Association football', 'Assyrian calendar', 'August', 'August 1', 'August 10', 'August 13', 'August 14', 'August 16', 'August 17', 'August 19', 'August 2', 'August 24', 'August 26', 'August 27', 'August 28', 'August 29', 'August 3', 'August 30', 'August 31', 'August 4', 'August 9', 'August Anheuser Busch, Jr.', 'Augusta, Kentucky', 'Augusta Methodist College', 'Augustin Daly', 'Austin Warren', 'Avdy Andresson', "Bahá'í calendar", 'Balancing rock', 'Balinese saka calendar', 'Bangladesh', 'Bathurst Bay', 'Battle of Magersfontein', 'Battle of Marilao River', 'Battle of Talana Hill', 'Battle of Tirad Pass', 'Battle of Togbao', 'Battle of Umm Diwaykarat', 'Bayer', 'Bengali calendar', 'Bengali language', 'Berber calendar', 'Bertil Ohlin', 'Besshi copper mine', 'Billy Cotton', 'Binoculars', 'Bishop of Uganda', 'Bloomington, Illinois', 'Bob Fitzsimmons', 'Boer', 'Boots Adams', 'Bouillon cube', 'Božidar Jakac', 'Brassaï', 'British Army', 'Bronx Zoo', 'Bruce Catton', 'Bruce Marshall', 'Budapest', 'Buddhist calendar', 'Burmese calendar', 'Burr Shafer', 'Byron Foulger', 'Byzantine calendar', 'Béla Guttmann', 'C. S. Forester', 'Café Filho', 'Calendar era', 'Canberra', 'Capture of Malolos', 'Carl Millocker', 'Carlos Chávez', 'Carlos Romulo', 'Carmen de Icaza', 'Carsten Borchgrevink', 'Ceres (dwarf planet)', 'Cevdet Sunay', 'Chad', 'Chamkanni', 'Charles A. Tonsor Jr.', 'Charles Alfred Pillsbury', 'Charles Boyer', 'Charles C. Carpenter (admiral)', 'Charles Herbert Best', 'Charles Laughton', 'Charles Lindbergh, Jr.', 'Charles Rennie Mackintosh', 'Chief Dan George', 'Chile', 'Chinese calendar', 'Chinese sexagenary cycle', 'Citrus', 'City College of New York', 'Civil rights movement', 'Classical planet', 'Club Nacional de Football', 'Colleen Moore', 'Commission on Isotopic Abundances and Atomic Weights', 'Common Era', 'Common year starting on Friday', 'Common year starting on Sunday', 'Coney Island, New York', 'Conjunction (astronomy)', 'Construction', 'Coptic calendar', 'Corneliu Zelea Codreanu', 'Cornelius Vanderbilt II', 'Cornwall', 'Cricket', 'Cuba', 'Cumberland Gap', 'Cyclone Mahina', 'Dare County, North Carolina', 'David Hilbert', 'DeFord Bailey', 'December 1', 'December 10', 'December 11', 'December 14', 'December 15', 'December 16', 'December 18', 'December 19', 'December 2', 'December 20', 'December 22', 'December 25', 'December 26', 'December 27', 'December 28', 'December 29', 'December 3', 'December 31', 'December 4', 'December 8', 'December 9', 'Dechko Uzunov', 'Delta Sigma Phi', 'Denver', 'Diamond City, North Carolina', 'Diet of Finland', 'Dimitri Tiomkin', 'Discordian calendar', 'Dog (zodiac)', 'Doi (identifier)', 'Doris Speed', 'Dorothy C. Stratton', 'Douglas Shearer', 'Duke Ellington', 'Duke of York Island (Antarctica)', 'Dundee, KwaZulu-Natal', 'Dwight L. Moody', 'E. B. White', 'E. D. Nixon', 'Earl Whitehill', 'Edward Charles Titchmarsh', 'Edward Elgar', 'Edward Frankland', 'Edward Twining', 'Egypt', 'Ehrenfried Pfeiffer', 'Eintracht Frankfurt', 'Election', 'Electric chair', 'Ella Hoag Brockway Avann', 'Elmer Keith', 'Elsie Steele', 'Elsie Thompson', 'Emilio Aguinaldo', 'Emilio Castelar y Ripoll', 'Emilio Jacinto', 'Emma Hardinge Britten', 'Emma Morano', 'English Channel', 'Enigma Variations', 'Eric Linklater', 'Erich Kästner', 'Ernest Chausson', 'Ernest Haycox', 'Ernest Hemingway', 'Ernest Renshaw', 'Esporte Clube Vitória', 'Ethiopian calendar', 'Eugene Ormandy', 'Eugenio Beltrami', 'Eugeniusz Bodo', 'Eugène Bertrand', 'Europe', 'Eva Le Gallienne', 'Evelyn Brent', 'Extraterritoriality', 'Ezra Taft Benson', 'FC Barcelona', 'February 10', 'February 11', 'February 12', 'February 14', 'February 15', 'February 16', 'February 17', 'February 18', 'February 19', 'February 2', 'February 22', 'February 23', 'February 24', 'February 25', 'February 26', 'February 27', 'February 3', 'February 4', 'February 6', 'February 7', 'Felix Hoffmann', 'Feng Zhanhai', 'Ferdinand Zeppelin', 'Ferencvárosi TC', 'Fiat Automobiles', 'Finn Ronne', 'First Hague Convention', 'First Hague Peace Conference', 'First Ladies and Gentlemen of the Philippines', 'First Philippine Republic', 'Florida', 'Floyd Stahl', 'Forrest Lewis', 'France', 'Frances Laughton Mace', 'Francis Poulenc', 'Frank Ferguson', 'Frank R. Walker', 'Franz Jonas', 'Fred Astaire', 'Frederick Coutts', 'Frederick IX of Denmark', 'Friedrich Hayek', 'Friedrich Panse', 'Fritz Albert Lipmann', 'Fritz Bayerlein', 'Félix Faure', 'Gaetano Lucchese', 'Gale Sondergaard', 'Garret Barry (piper)', 'Garret Hobart', 'Gaëtan de Rochebouët', 'Geometry', 'Georg von Békésy', 'George, Duke of Mecklenburg', 'George Cukor', 'George Curzon, 1st Marquess Curzon of Kedleston', 'George Dewey', "George O'Brien (actor)", "George O'Hara (actor)", 'George Roos-Keppel', 'Georges Auric', 'Gertrude Berg', 'Giovanni Agnelli', 'Giovanni Segantini', 'Glasgow School of Art', 'Glenn Strange', 'Globe, Arizona', 'Gloria Swanson', 'Goodman Ace', 'Governor of American Samoa', 'Governor of California', 'Grand Duchess Maria Nikolaevna of Russia', 'Grand Duke George Alexandrovich of Russia', 'Grand Principality of Finland', 'Grant Allen', 'Great Blizzard of 1899', 'Great Wall of China', 'Gregorian calendar', 'Gregorio del Pilar', 'Gross register tons', 'Gualtiero De Angelis', 'Guangxu Emperor', 'Guglielmo Marconi', 'Gustav Heinemann', 'Gustavs Celmiņš', 'Gyula Mándi', 'Göttingen', 'Halford Mackinder', 'Hanover', 'Hanover Congress (1899)', 'Hans Jeschonnek', 'Harold Abrahams', 'Harold B. Lee', 'Harold Bennett', 'Harriman Alaska Expedition', 'Harrow, London', 'Harry Bates (sculptor)', 'Harry R. Wellman', 'Harry Shields', 'Hart Crane', 'Hayato Ikeda', 'Hebrew calendar', 'Heinrich Nordhoff', 'Helen Traubel', 'Helsinki', 'Henri Bretonnet', 'Henry H. Bliss', 'Henry Ware Lawton', 'Herbie Faye', 'Hillel Oppenheimer', 'Hindu calendar', 'Hoagy Carmichael', 'Holocene calendar', 'Horatio Alger, Jr.', 'Hugh Grosvenor, 1st Duke of Westminster', 'Humphrey Bogart', 'ISBN (identifier)', 'ISSN (identifier)', 'Ian Clunies Ross', 'Iceland', 'Ida Kamińska', 'Igbo calendar', 'Illinois Wesleyan University', 'Independence', 'Indian national calendar', 'Indra Devi', 'Infrastructure', 'International Council of Nurses', 'Iranian calendars', 'Iron Guard', 'Irving Thalberg', 'Iskander Mirza', 'Islamic calendar', 'Jack Beresford', 'James Cagney', 'James J. Jeffries', 'James V. Allred', 'Jane Mitchel', 'Janet Lewis', 'January 1', 'January 10', 'January 11', 'January 12', 'January 14', 'January 15', 'January 17', 'January 19', 'January 20', 'January 21', 'January 22', 'January 23', 'January 25', 'January 27', 'January 29', 'January 3', 'January 30', 'January 31', 'January 6', 'January 7', 'January 8', 'Japanese calendar', 'Javanese calendar', 'Jean-Étienne Valluy', 'Jean Goldkette', 'Jean Sibelius', 'Jean de Brunhoff', 'Jeralean Talley', 'Jesse Wallace', 'Jibanananda Das', 'Jimmie Davis', 'Joan Stevenson Abbott', 'Jobyna Ralston', 'Johan Vaaler', 'Johann Köler', 'Johann Strauss II', 'John Barbirolli', 'John Bodkin Adams', 'John Fearns Nicoll', 'John Gilbert (actor)', 'John Hasbrouck Van Vleck', 'John Marshall Harlan II', 'John Marshall Law School (Chicago)', 'John Qualen', 'John Sparkman', 'John Warburton (actor)', 'Jorge Luis Borges', 'Joseph Le Brix', 'Juan Trippe', 'Julian calendar', 'Julius Hermann Moritz Busch', 'Julius Vogel', 'July 1', 'July 10', 'July 11', 'July 12', 'July 14', 'July 15', 'July 16', 'July 17', 'July 18', 'July 20', 'July 21', 'July 22', 'July 23', 'July 24', 'July 27', 'July 29', 'July 30', 'July 31', 'July 4', 'July 5', 'July 6', 'July 7', 'June 1', 'June 10', 'June 11', 'June 12', 'June 13', 'June 16', 'June 17', 'June 18', 'June 19', 'June 2', 'June 20', 'June 22', 'June 24', 'June 25', 'June 26', 'June 27', 'June 29', 'June 3', 'June 30', 'June 4', 'June 5', 'June 7', 'June 9', 'Jupiter', 'Juvenile court', 'Kali Yuga', 'Kamala Nehru', 'Karl, Freiherr von Prel', 'Karl Diebitsch', 'Katarina Marinič', 'Kazi Nazrul Islam', 'Kaʻiulani', 'Kenjiro Takayanagi', 'Kimberley, Northern Cape', 'King of Swaziland', 'Kings of Easter Island', 'Knattspyrnufélag Reykjavíkur', 'Konstantinos Tsatsos', 'Korean calendar', 'LCCN (identifier)', 'Labotsibeni Mdluli', 'Lao She', 'Lascăr Catargiu', 'Lavrentiy Beria', 'Leo Najo', 'Leo von Caprivi', 'Lie group', "Liebig's Extract of Meat Company", 'Lillian Disney', 'List of 19th-century religious leaders', 'List of Vice Presidents of the United States', 'List of decades, centuries, and millennia', 'List of governors of dependent territories in the 19th century', 'List of political entities in the 19th century', 'List of state leaders in 1899', 'List of years', 'Long Island', 'Lotte Reiniger', 'Lucchese crime family', 'Lyman Lemnitzer', 'László Bíró', 'Ma Barker', 'Macfarlane Burnet', 'Madge Bellamy', 'Mahdist War', 'Malolos', 'Manteo, North Carolina', 'Manuel Carrillo Tablas', 'Manuel dos Reis Machado', 'Maple Leaf Rag', 'Marcel Achard', 'March 1', 'March 11', 'March 12', 'March 13', 'March 18', 'March 2', 'March 20', 'March 21', 'March 24', 'March 27', 'March 28', 'March 29', 'March 3', 'March 30', 'March 31', 'March 4', 'March 6', 'March 8', 'Margaretta Riley', 'Margarito Flores García', 'Maria Redaelli-Granoli', 'Marie Goegg-Pouchoulin', 'Mars', 'Marshall Taylor', 'Martha M. Place', 'Martin Luther King Sr.', 'Mary Petty', 'Master of the Rolls', 'Maurice Rose', 'Max Petitpierre', 'Max Theiler', 'May 10', 'May 12', 'May 13', 'May 14', 'May 15', 'May 17', 'May 18', 'May 20', 'May 23', 'May 24', 'May 25', 'May 26', 'May 3', 'May 30', 'May 31', 'May 6', 'May 8', 'Meiji period', 'Melbourne', 'Mercury (planet)', 'Meyer Boskey', 'Miele', 'Miguel Ángel Asturias', 'Mikhail Gromov (military)', 'Mildred Trotter', 'Mile-a-Minute Murphy', 'Minguo calendar', 'Minister of Foreign Affairs of the Netherlands', 'Missouri', 'Mona Bruns', 'Montevideo', 'Montreal', 'Mount Kenya', 'Mount Rainier National Park', 'NEC Corporation', 'Nanakshahi calendar', 'Natural disaster', 'Nevil Shute', 'New Richmond, Wisconsin', 'New York City', 'New moon', "Newsboys' strike of 1899", 'Ngwane V', 'Nicholas II of Russia', 'Nicolae Cambrea', 'Nicolai Hanson', 'Nie Rongzhen', 'Niihama', 'Nikolay Bogolyubov (actor)', 'Nobel Memorial Prize in Economic Sciences', 'Nobel Prize in Economics', 'Nobel Prize in Literature', 'Nobel Prize in Physics', 'Nobel Prize in Physiology or Medicine', 'Nome, Alaska', 'Nome Gold Rush', 'North Carolina', 'North Carolina General Assembly', 'November 11', 'November 13', 'November 15', 'November 16', 'November 17', 'November 18', 'November 19', 'November 21', 'November 22', 'November 23', 'November 24', 'November 26', 'November 28', 'November 29', 'November 4', 'November 5', 'November 6', 'November 7', 'November 8', 'Noël Coward', 'Nureddine Rifai', 'Occult', 'Ocean liner', 'October 1', 'October 11', 'October 13', 'October 14', 'October 19', 'October 2', 'October 20', 'October 22', 'October 23', 'October 24', 'October 25', 'October 29', 'October 3', 'October 30', 'October 31', 'October 4', 'October 5', 'October 9', 'Odus Mitchell', 'Olympique de Marseille', 'Opel', 'Oracle bone', 'Orange Free State', 'Osaka', 'Oscar Zariski', 'Osman Achmatowicz', 'Ossining (town), New York', 'Othniel Charles Marsh', 'Otto Klemperer (physicist)', 'Outer Banks', 'Oxo (food)', 'P. L. Travers', 'Panagiotis Pipinelis', 'Paperclip', 'Pascual Ortega Portales', "Pat O'Brien (actor)", 'Paul-Henri Spaak', 'Paul Christoph Mangelsdorf', 'Paul Hermann Müller', 'Paul Kelly (actor)', 'Paul Reuter', 'Pearl Hart', 'Penn Symons', 'Percy Lavon Julian', 'Percy Pilcher', 'Peter Wessel Zapffe', 'Philippine–American War', 'Phillips Petroleum Company', 'Pierre Berton', 'Pieter Rijke', 'Pig (zodiac)', 'Pranav Dhanawade', 'President of Austria', 'President of Brazil', 'President of Germany', 'President of Poland', 'President of Turkey', 'President of the Philippines', 'Prime Minister of Belgium', 'Prime Minister of India', 'Prime Minister of Lebanon', 'Prime Minister of Sri Lanka', 'Princess Marie Louise of Bourbon-Parma', 'Queen Victoria', 'Queens', 'RMS Oceanic (1899)', 'Rabih az-Zubayr', 'Ragtime', 'Ramon Novarro', 'Ray Arcel', 'Ray Morehart', 'Regnal years of English monarchs', 'Republic of Acre', 'Republic of China (1912–1949)', 'Reykjavík', 'Richard Hauptmann', 'Riro Kāinga', 'Robert Bunsen', 'Robert Casadesus', 'Robert G. Ingersoll', 'Roman Catholic', 'Roman numerals', 'Romualdo Pacheco', 'Ronald Armstrong-Jones', 'Royal Red Cross', 'Rufino Tamayo', 'Russia', 'Russification of Finland', 'Ruth Bird', 'S. W. R. D. Bandaranaike', 'SK Rapid Wien', 'SS Great Eastern', 'SS St. Paul', 'Salvador, Bahia', 'Sam Newfield', 'Sarah Warren Keeler', 'Saturn', 'Scott Joplin', 'Second Boer War', 'September 1', 'September 11', 'September 12', 'September 13', 'September 17', 'September 18', 'September 19', 'September 2', 'September 21', 'September 23', 'September 28', 'September 3', 'September 6', 'September 9', 'Seán Lemass', 'Shikoku', 'Siege of Kimberley', 'Siege of Ladysmith', 'Siege of Mafeking', 'Signe Amundsen', 'Sing Sing', 'Slovenia', 'Snow', 'Sobhuza II', 'Sobhuza II of Swaziland', 'Social Democratic Party of Germany', 'Soft drink', 'Solar System', 'Solomon Braun', 'Sophus Lie', 'Soraya Tarzi', 'South African Republic', 'Southern Cross Expedition', 'Spanish Empire', 'Spanish–American War', 'Stanford Axe', 'Stanford University', 'Stanisław Swianiewicz', 'Staten Island', 'Sudan', 'Sumitomo', 'Suntory', 'Susannah Mushatt Jones', 'Suzanne Lenglen', 'Symphony No. 1 (Sibelius)', 'T. E. Ellis', 'Takuma Nishimura', 'Tassilo von Heydebrand und der Lasa', 'Tau Kappa Epsilon', 'Teuku Umar', 'Thai solar calendar', 'The Church of Jesus Christ of Latter-day Saints', 'The Hague', 'The Needles', 'Thomas A. Dorsey', 'Thomas Henry Ismay', 'Tibetan calendar', 'Timken Company', 'Timken Roller Bearing Company', 'Tom C. Clark', 'Transatlantic crossing', 'Treaty of Paris (1898)', 'Trinidad Roxas', 'Tsleil-Waututh First Nation', 'United States Army', 'United States Congress', 'United States Senate', 'University of California', 'University of California, Berkeley', 'Uranus', 'Uruguay', 'Valparaíso', 'Venus', 'Vera Caspary', 'Vernon Huber', 'Vice President of the United States', 'Viceroy of India', 'Vienna', 'Vikram Samvat', 'Vincas Kudirka', 'Vinci SA', 'Virginia M. Alexander', 'Virginia Oldoini, Countess of Castiglione', 'Vladimir Nabokov', 'Voting machine', 'Waite Hoyt', 'Wake Island', 'Walter Beall', 'Walter Lantz', 'Washington (state)', 'White Star Line', 'Wildlife Conservation Society', 'William Brett, 1st Viscount Esher', 'William Henry Flower', 'William Henry Webb', 'William P. Sprague', 'Wireless telegraphy', 'Woody Woodpecker', 'World Digital Library', 'Yasunari Kawabata', 'Yitzhak Lamdan', 'Ypsilanti, Michigan', 'Zeppelin LZ 1'], ['125 London Wall', '20th Century Press Archives', '245 Park Avenue', '25 Bank Street', '270 Park Avenue', '277 Park Avenue', '28 Liberty Street', '30 Rockefeller Plaza', '383 Madison Avenue', 'Adrian Wooldridge', 'Aetna', 'Aix-les-Bains', 'Albany and Susquehanna Railroad', 'Alco-GE', 'American Bridge Company', 'American Civil War', 'American Fletcher Corporation', 'American Museum of Natural History', 'American Savings and Loan', 'American Telephone & Telegraph', 'American civil war', 'Andrea Jung', 'Andrew Carnegie', 'Ann Fudge', 'Anne Morgan (philanthropist)', 'Anthony J. Drexel', 'Anthony Joseph Drexel I', 'Antitrust', 'Art Young', 'Atchison, Topeka and Santa Fe Railway', 'Atlantic Coast Line Railroad', 'Australian Guarantee Corporation', 'Azores', 'BNE (identifier)', 'BNF (identifier)', 'Baker Hughes', 'Banca Commerciale Italiana Trust Co.', 'Bank', 'Bank One Corporation', 'Bank United of Texas', 'Bath Iron Works', 'Beacon Rail', 'Bear Stearns', 'Belle da Costa Greene', 'Bethlehem Steel', 'Blackballing', 'Blythe Masters', 'Board of directors', 'Bob Roberts (singer)', 'Bob Wright', 'British Museum', 'BusinessWeek', 'CANTIC (identifier)', 'CFM International', 'Canadian General Electric', 'Carnegie Corporation of New York', 'Carnegie Steel Company', 'Cedar Hill Cemetery (Hartford, Connecticut)', 'CenTrust Bank', 'Central of Georgia Railway', 'Charles A. Coffin', 'Charles Brent', 'Charles M. Schwab', 'Charles Tyson Yerkes', 'Chase (bank)', 'Chase Bank', 'Chase Center', 'Chase Field', 'Chase Paymentech', 'Chase Tower (Amarillo)', 'Chase Tower (Chicago)', 'Chase Tower (Dallas)', 'Chase Tower (El Paso)', 'Chase Tower (Englewood, Colorado)', 'Chase Tower (Indianapolis)', 'Chase Tower (Milwaukee)', 'Chase Tower (Oklahoma City)', 'Chase Tower (Phoenix)', 'Chase Tower (Rochester)', 'Chater House', 'Chemical Bank', 'Chesapeake and Ohio Railway', 'Cheshire, Connecticut', 'Cheshire Academy', 'Chester Pipe and Tube Company', 'Chicago, Burlington and Quincy', 'Chicago, Burlington and Quincy Railroad', 'Chicago, Indianapolis & Louisville Railroad', 'Chicago Great Western Railway', 'Chicago and Western Indiana Railroad', 'Church Club of New York', 'Citibank', 'Citizen Kane', 'Compagnia Generale di Elettricità', 'Conscription in the United States', 'Consumer price index', 'Continental Bank and Trust Company', 'Coon song', 'Corn Exchange Bank', 'Corporate finance', 'Cragston Dependencies', 'David Rockefeller', 'Dennis Weatherstone', 'Diamond v. Chakrabarty', 'Dime Savings Bank of New York', 'Doi (identifier)', 'Douglas A. Warner III', 'Drexel & Company', 'Duncan, Sherman & Company', 'E. H. Harriman', 'Economies of scale', 'Edison Illuminating Company', 'Edison cylinder', 'Edward S. Curtis', 'Edwin J. Houston', 'Elbert Gary', 'Election of 1896', 'Electric Bond and Share Company', 'Elgin, Joliet and Eastern Railway', 'Elihu Thomson', 'Encyclopædia Britannica Eleventh Edition', 'Engine Alliance', 'Episcopal Church in the United States of America', 'Erie Railroad', 'Faith in Christianity', 'Federal Reserve System', 'Federal Steel Company', 'Federal government of the United States', 'Financier', 'First Chicago Bank', 'First USA Bank', 'Florida East Coast Railway', 'Frederic W. Rhinelander', 'GECIS', 'GE Aerospace', 'GE Appliances', 'GE Automation & Controls', 'GE Aviation', 'GE Aviation Systems', 'GE Betz', 'GE Capital', 'GE Capital IT Solutions', 'GE Capital Rail Services', 'GE Commercial Finance', 'GE Current', 'GE Digital', 'GE Energy', 'GE Equipment Services', 'GE Global Research', 'GE Healthcare', 'GE Hitachi Nuclear Energy', 'GE Home & Business Solutions', 'GE Honda Aero Engines', 'GE Industrial', 'GE Infrastructure', 'GE Jenbacher', 'GE Lighting', 'GE Measurement & Control Solutions', 'GE Oil and Gas', 'GE Power', 'GE Renewable Energy', 'GE Security', 'GE Transportation', 'GE True', 'GE Wind Energy', 'GEnie', 'GND (identifier)', 'GXS Inc.', 'Gemstone', 'General Comprehensive Operating System', 'General Convention of the Episcopal Church in the United States of America', 'General Electric', 'General Electric Building', 'General Electric EdgeLab', 'General Electric Realty Plot', 'General Electric Research Laboratory', 'General Electric Specialty Control Plant', 'General Electric Switchgear Plant', 'General Electric Theater', 'General Electric timeline', 'General Imaging', 'Genesis Lease', 'Genpact', 'Genworth Financial', 'Georg August University of Göttingen', 'George B. Cortelyou', 'George Coulouris', 'George Frederick Kunz', 'George Peabody', 'George Peabody and Company', 'George Walbridge Perkins', 'German National Library of Economics', 'Germany', 'Gilded Age', 'Glass–Steagall Act', 'Glen Cove, New York', 'Globalization', 'Great Northern Railway (U.S.)', 'Great Western Bank (1919–97)', 'Groton School', 'Grover Cleveland', 'Guglielmo Marconi', 'H. W. Brands', 'HF Ahmanson & Co.', 'Half-staff', 'Hall Carbine Affair', 'Halsey K. Mohr', 'Hambrecht & Quist', 'Hartford, Connecticut', 'Harvard Medical School', 'Harvard University', 'Henry F. Gilbert', 'Henry Sturgis Morgan', 'Herbert L. Satterlee', 'Highbridge Capital Management', 'Highlands, New York', 'History of rail transport in the United States', 'History of the United States Democratic Party', 'Hocking Valley Railway', 'Holy orders', 'Horizons (Epcot)', 'Howard Zinn', 'INB Financial Corporation', 'ISBN (identifier)', 'ISNI (identifier)', 'In the Land of the Head Hunters', 'International Harvester', 'International Mercantile Marine', 'International Mercantile Marine Co.', 'Interstate Commerce Act', 'J.P. Morgan & Co.', 'J.P. Morgan and Co.', 'J.S. Morgan & Co.', 'J.S. Morgan & Company', 'J. I. Case Threshing Machine', 'J. P. Morgan (disambiguation)', 'J. P. Morgan Jr.', 'JPMorgan Chase', 'JPMorgan Chase Building (San Francisco)', 'JPMorgan Chase Tower (Houston)', 'JP Morgan & Co', 'Jack Welch', 'James A. Bell', 'James B. Lee Jr.', 'James Cash Jr.', 'James Crown', 'James Fisk (financier)', 'James J. Hill', 'James Stillman', 'Jamie Dimon', 'Jardine Fleming', 'Jay Cooke', 'Jay Gould', 'Jean Strouse', 'Jeffrey R. Immelt', 'Jes Staley', 'Jing Ulrich', 'John B. McCoy', 'John D. Rockefeller', 'John Dos Passos', 'John F. Welch Technology Centre', 'John J. McCloy', 'John Jay Phelps', 'John L. Flannery', 'John Maxtone-Graham', 'John Morgan (disambiguation)', 'John S. Johnston', 'John Steele Gordon', 'Junius Spencer Morgan', 'KGEI', 'Kingdom of Italy', 'LCCN (identifier)', 'LM Wind Power', 'La Tour-de-Peilz', 'Laban Jackson', 'Lake freighter', 'Lee Raymond', 'Lehigh Valley Railroad', 'Lincoln Savings', 'List of GE locomotives', 'List of GE reciprocating engines', 'List of Presidents of the Metropolitan Museum of Art', 'List of assets owned by General Electric', 'London Underground', 'Louis Auchincloss', 'Louis Brandeis', 'Louisville and Nashville Railroad', 'Lying-in Hospital', 'Madison Avenue', 'Magic lantern', 'Manufacturers Hanover Corporation', 'Marianne Lake', 'Market capitalization', 'Mazda (light bulb)', "McClure's", 'McCoy Center', 'Merchant banking', 'Merger', 'Metropolitan Club', 'Metropolitan Museum of Art', 'Microsoft Encarta', 'Mississippi River', 'Modern Marvels', 'Monetary system', 'Money Trust', 'Monopoly (game)', 'Montgomery Ward', 'Morgan, Grenfell & Co.', 'Morgan, Grenfell & Company', 'Morgan, Harjes & Company', 'Morgan Grenfell', 'Morgan Guaranty Trust', 'Morgan Library & Museum', 'Morgan Stanley', 'Morgan family', 'Morganite', 'Multinational corporations', 'NBC', 'NBCUniversal', 'NDL (identifier)', 'NKC (identifier)', 'NLA (identifier)', 'NLI (identifier)', 'NTA (identifier)', 'National Bank of Detroit', 'National Mining Association', 'National Park Bank', 'National Park Service', 'National Register of Historic Places', 'Native Americans in the United States', 'Nela Park', 'Nelson Aldrich', 'New International Encyclopedia', 'New York, New Haven and Hartford Railroad', 'New York, Ontario and Western Railway', 'New York Central', 'New York Central Railroad', 'New York Central System', 'New York Trust Company', 'Nikola Tesla', 'Northern Pacific Railroad', 'Northern Pacific Railway', 'Northern Securities Company', 'One Equity Partners', 'Orson Welles', "Other People's Money and How the Bankers Use It", 'PLWABN (identifier)', 'Panic of 1893', 'Panic of 1907', 'Pennsylvania Railroad', 'Penske Truck Leasing', 'Pere Marquette Railroad', 'Phoebus cartel', 'Piccadilly, City and North East London Railway', 'Praeger Publishers', 'Progressive Era', 'Prolec GE', 'Providian', 'Pujo Committee', 'Pullman Car Company', 'Pullman Company', 'RKDartists (identifier)', 'RMS Titanic', 'Ragtime (novel)', 'Ray Stannard Baker', 'Reading Railroad', 'Rheumatic fever', 'Rhinophyma', 'Rich Uncle Pennybags', 'River Works', 'Robert Fleming & Co', 'Robert W. DeForest', 'Rochelle Lazarus', 'Roger Fry: A Biography', 'Roger Penske', 'Rome', 'Ron Chernow', 'Rosacea', 'Rothschilds', 'SELIBR (identifier)', 'SES Americom', 'SNAC-ID (identifier)', 'SS France (1910)', 'SS J. Pierpont Morgan', 'SUDOC (identifier)', 'Sam Nunn', 'Sherman Antitrust Act of 1890', 'Southern Railway (U.S.)', 'Spanish–American War', 'St. Louis–San Francisco Railway', 'Stanford White', 'State Bank of Chicago', 'Steve Burke (businessman)', 'Steven Black (businessman)', 'Summit Square', 'Susan Hockfield', 'Synchrony Financial', 'TBS GB', 'Temple Bowdoin', 'Tennessee Coal, Iron and Railroad Company', 'Terminal Railroad Association of St. Louis', 'Texas Commerce Bank', 'The Alienist', 'The Economist', 'The English High School', 'The General Electric Concert', "The Ghosts of Watt O'Hugh", 'The Indian Picture Opera', 'The Manhattan Company', 'The Men Who Built America', 'The Morgan Library & Museum', 'The Qube (Detroit)', "The World's Work", 'Theodore Roosevelt', 'Thomas Alva Edison', 'Thomas Edison', 'Thomas W. Lamont', 'Thomson-Houston Electric Company', 'Tiffany & Co.', 'Todd Combs', 'Trinity College (Connecticut)', 'Trivection oven', 'Trove (identifier)', 'Tungsram', 'U.S.A. trilogy', 'U.S. Steel', 'U.S. Supreme Court Justice', 'ULAN (identifier)', 'USS Gloucester (1891)', 'Underwriting', 'Union Club of the City of New York', 'United Dry Goods', 'United Kingdom of Great Britain and Ireland', 'United Nuclear Corporation', 'United States House Committee on Banking and Currency', 'United States Lines', 'United States Steel Corporation', 'United States v. General Electric Co.', 'University of Göttingen', 'Upton Sinclair', 'Utah Construction Company', 'VIAF (identifier)', 'Valley National Bank of Arizona', 'VcBA (identifier)', 'Ventfort Hall Mansion and Gilded Age Museum', 'Vera Silva', 'Wabtec', 'Wall Street', "Walt Disney's Carousel of Progress", 'Walter V. Shipley', 'Wardenclyffe Tower', 'Washington Mutual', 'Waukesha Engine', 'Wayback Machine', 'Western Union', 'Whatman plc', 'White Star Line', 'Wiesbaden', 'William B. Harrison Jr.', 'William C. Weldon', 'William Cramp & Sons', 'William H. Vanderbilt', 'William Jennings Bryan', 'William McKinley', 'William Pierson Hamilton', 'Winthrop Aldrich', 'Wireless energy transfer', 'WorldCat Identities (identifier)', 'World War I'], ['1,000 Days, 1,000 Songs', '2000 Reform Party presidential primaries', '2012 United States presidential election', '2014 annexation of Crimea', '2015 San Bernardino attack', '2016 Donald Trump Las Vegas rally incident', '2016 Republican National Convention', '2016 Republican Party presidential debates and forums', '2016 Republican Party presidential primaries', '2016 United States presidential debates', '2016 United States presidential election', '2017 Donald Trump speech to a joint session of Congress', '2017 National Scout Jamboree', '2017 Riyadh summit', '2017 Shayrat missile strike', "2017 Women's March", '2017 dismissal of U.S. attorneys', '2017 opinion polling on the Donald Trump administration', '2017–2018 North Korea crisis', '2018 North Korea–United States Singapore Summit', '2018 Russia–United States summit', '2018 State of the Union Address', '2018 bombing of Damascus and Homs', '2018 opinion polling on the Donald Trump administration', '2018–19 Korean peace process', '2018–2019 United States federal government shutdown', '2019 Abqaiq–Khurais attack', '2019 El Paso shooting', '2019 G20 Osaka summit', '2019 Koreas–United States DMZ Summit', '2019 North Korea–United States Hanoi Summit', '2019 State of the Union Address', '2019 Turkish offensive into north-eastern Syria', '2019 opinion polling on the Donald Trump administration', '2019–2021 Persian Gulf crisis', '2020 Baghdad International Airport airstrike', '2020 Republican National Convention', '2020 Republican Party presidential primaries', '2020 State of the Union Address', '2020 United States Postal Service crisis', '2020 United States presidential debates', '2020 United States presidential election', '2020 dismissal of inspectors general', '2020 stock market crash', '2020–21 United States election protests', '2021 United States Capitol attack', '2021 United States Electoral College vote count', '2021 storming of the United States Capitol', '25th Amendment', '40 Wall Street', '45th G7 summit', '85-15 Wareham Place', 'ABC News', 'AP News', 'A Dangerous Game (2014 film)', 'A Very Stable Genius', 'A Warning (book)', 'Abdel Fattah el-Sisi', 'Abraham Accords', 'Abu Mahdi al-Muhandis', 'Abuse of power', 'Academi', 'Adam Goldman', 'Adam Liptak', 'Affordable Care Act', 'Afghan peace process', 'Afghanistan', 'Agence France-Presse', 'Al Gore', 'Al Jazeera', 'Alan Rappeport', 'Alec Baldwin', 'Alessandra Stanley', 'Alex Azar', 'Alex Burns (journalist)', 'Alex van der Zwaan', 'Alice Marie Johnson', 'Alison Kodjak', 'Alma mater', 'Alt-right', "America's Great Divide", 'America First (policy)', 'American-led intervention in the Syrian Civil War', 'American Health Care Act of 2017', 'American Media, Inc.', 'Amit Mehta', 'Amy Chozick', 'Amy Coney Barrett', 'Amy Coney Barrett Supreme Court nomination', 'Analytic confidence', 'Anchor babies', 'Andrzej Duda', 'Angie Drobnic Holan', 'Annie Karni', 'Annual enrollment', 'Anthony Kennedy', 'Anthony S. Fauci', 'Antonin Scalia', 'Arab League', 'Arash Markazi', 'Arctic Refuge drilling controversy', 'Arizona', 'Arthur Allen (author)', 'Articles of impeachment', 'Ashley Parker', 'Assassination of Qasem Soleimani', 'Assistant to the President', 'Associated Press', 'Atlantic City', 'Atlantic City, New Jersey', 'Attempts to overturn the 2020 United States presidential election', 'Attorney General of New York', 'Australian Broadcasting Corporation', 'BBC', 'BBC News', 'BIBSYS (identifier)', 'BNC (identifier)', 'BNE (identifier)', 'BNF (identifier)', "Bachelor's degree", 'Bachelor of Science', 'Bahrain–Israel normalization agreement', 'Ballot Access News', 'Barack Obama', 'Barack Obama citizenship conspiracy theories', 'Barr letter', 'Barron Trump', 'Bart to the Future', 'Ben Carson', 'Ben Jacobs (journalist)', 'Benjamin Netanyahu', 'Bernard Kerik', 'Bibliography of Donald Trump', 'Biff Tannen', 'Bill Clinton', 'Bill Geist', 'Billy Walters (gambler)', 'Birthright citizenship in the United States', 'Blacks for Trump', 'Bloomberg Businessweek', 'Bloomberg L.P.', 'Bloomberg News', 'Blue wall (politics)', 'Boardwalk Hall', 'Bob Woodward', 'Body double', 'Bollard', 'Borat Subsequent Moviefilm', 'Brad Raffensperger', 'Breitbart News', 'Brennan Center for Justice', 'Bret Baier', 'Brett Kavanaugh', 'Brett Kavanaugh Supreme Court nomination', 'Brett McGurk', 'Brian Kemp', 'Brian Schaffner', 'Brian Stelter', 'Brookings Institution', 'Business Insider', 'Business career of Donald Trump', 'Business projects of Donald Trump in Russia', 'BuzzFeed News', 'C-SPAN', 'CANTIC (identifier)', 'CARES Act', 'CBS', 'CBS News', 'CIA', 'CNBC', 'CNN', 'CNN Money', 'COVID-19', 'COVID-19 pandemic', 'COVID-19 pandemic in the United States', 'COVID-19 recession', 'COVID-19 vaccine', 'Cabinet of Donald Trump', 'Cadillac insurance plan', 'California v. Texas', 'Cameo appearances', 'Campaign Speech', 'Canadian Broadcasting Corporation', 'Cannabis policy of the Donald Trump administration', 'Capital One', 'Capital punishment by the United States federal government', 'Capital punishment in the United States', 'Carl Hulse', 'Carnegie Endowment for International Peace', 'Carol D. Leonnig', 'Catchphrase', 'Center for Public Integrity', 'Centers for Disease Control and Prevention', 'Central Park jogger case', 'Chapter 11 bankruptcy', 'Charles Kushner', 'Charlie Savage', 'Chicago Sun-Times', 'Chicago Tribune', 'China–United States relations', 'China–United States trade war', 'Chinese Communist Party', 'Choe Sang-hun', 'Chris Cillizza', 'Chris Krebs', 'Christiane Amanpour', 'Christine Blasey Ford', 'Christopher Zara', 'CiNii (identifier)', 'Class action', 'Clean Power Plan', 'Climate change', 'Climate change in the United States', 'Clinton Body Count', 'Cole Memorandum', 'Collusion', 'Columbia University Press', 'Comey memo', 'Common Core', 'Communication Quarterly', 'Commutation (law)', 'Confirmation', 'Congressional Research Service', 'Congressional Review Act', 'Conor Friedersdorf', 'Conscription in the United States', 'Conservative Political Action Conference', 'Conspiracy theories related to the Trump–Ukraine scandal', 'Contempt of Congress', 'Contempt of court', 'Corey Lewandowski', 'Coronavirus Preparedness and Response Supplemental Appropriations Act', 'Coronavirus Preparedness and Response Supplemental Appropriations Act, 2020', 'Coronavirus disease 2019', 'Corporate raider', "Countering America's Adversaries Through Sanctions Act", 'Covfefe', 'Craig Whitlock', 'Criminal charges brought in the Special Counsel investigation (2017–2019)', 'Criminal conspiracy', 'Crippled America', 'Cristina Alesci', 'Crossfire Hurricane (FBI investigation)', 'CrowdStrike', 'Cultural depictions of Ivanka Trump', 'Cultural depictions of Melania Trump', 'Currency manipulator', 'Cybersecurity and Infrastructure Security Agency', 'Dakota Access Pipeline', 'Dan Quayle', 'Daniel Dale', 'Darrell Hammond', 'David Barstow', 'David Duke', 'David E. Sanger', 'David Enrich', 'David Fahrenthold', 'David Folkenflik', 'David Nakamura', 'David Philipps', 'David Stout', 'David Weigel', 'Death of Abu Bakr al-Baghdadi', 'Death of a Nation (2018 film)', 'Deborah Birx', 'Debt-to-GDP ratio', 'Deep state', 'Del Quentin Wilber', 'Democratic National Committee', 'Democratic Party (United States)', 'Denuclearization', 'Deregulation', 'Deutsche Bank', 'Deutsche Welle', "Devil's Bargain", 'Dexamethasone', 'Dick Cheney', "Dinesh D'Souza", 'Director of National Intelligence', 'Director of the FBI', 'Dirty Money (2018 TV series)', 'Disloyal: A Memoir', 'Dismissal of James Comey', 'District of Columbia', 'Divided government in the United States', 'DocumentCloud', 'Doi (identifier)', 'Domestic Emoluments Clause', 'Donald J. Trump Foundation', 'Donald J. Trump State Park', 'Donald McNeil Jr.', 'Donald Trump', "Donald Trump's Real Estate Tycoon", "Donald Trump's The Art of the Deal: The Movie", "Donald Trump's disclosures of classified information", "Donald Trump's farewell address", "Donald Trump's speech in Warsaw, Poland", "Donald Trump's tax returns", 'Donald Trump (Last Week Tonight)', 'Donald Trump (disambiguation)', 'Donald Trump (song)', 'Donald Trump 2000 presidential campaign', 'Donald Trump 2016 presidential campaign', 'Donald Trump 2020 presidential campaign', 'Donald Trump Access Hollywood tape', 'Donald Trump Jr.', 'Donald Trump Supreme Court candidates', 'Donald Trump and golf', 'Donald Trump filmography', 'Donald Trump in music', 'Donald Trump in popular culture', 'Donald Trump judicial appointment controversies', 'Donald Trump on social media', "Donald Trump photo op at St. John's Church", 'Donald Trump sexual misconduct allegations', 'Douma chemical attack', 'Duke Cunningham', 'ESPN', 'Earned media', 'Eastern Air Lines', 'Economic expansion', 'Economic impact of the COVID-19 pandemic in the United States', 'Economic policy of Donald Trump', 'Economic policy of the Donald Trump administration', 'Economics', 'Edgardo Ramos', 'Edward J. DeBartolo Jr.', 'Edward Wong', 'Efforts to impeach Donald Trump', 'Efforts to repeal the Patient Protection and Affordable Care Act', 'Eileen Sullivan', 'Electoral College (United States)', 'Electoral history of Donald Trump', 'Eli Stokols', 'Elijah Cummings', 'Elizabeth Christ Trump', 'Ellen Nakashima', 'Elliott Broidy', 'Encyclopædia Britannica', 'Endeavor (company)', 'Enemy of the people', 'Energy independence', 'England and Wales', 'Enslow Publishers', 'Environmental policy of the Donald Trump administration', 'Epidemiological', 'Eric Lichtblau', 'Eric Lipton', 'Eric P. Schmitt', 'Eric Trump', 'Erik Wemple', 'Estate tax in the United States', 'Euronews', 'European Union', 'Executive Order 13765', 'Executive Order 13769', 'Executive Order 13771', 'Executive Order 13780', 'Executive Order 13813', 'Executive appointments by Donald Trump', 'Exostosis', 'ExxonMobil', 'FBI', 'FDT (song)', 'Face masks during the COVID-19 pandemic', 'Fact-checker', 'Fact-checkers', 'FactCheck.org', 'Fahd of Saudi Arabia', 'Fahrenheit 11/9', 'Faithless electors in the United States presidential election, 2016', 'Fake News Awards', 'Family of Donald Trump', 'Fast Company (magazine)', 'Fear: Trump in the White House', 'Federal Election Commission', 'Federalist Society', 'Filibuster', 'Financial Times', 'Fire and Fury', "First 100 days of Donald Trump's presidency", 'First Presbyterian Church in Jamaica', 'First impeachment of Donald Trump', 'First impeachment trial of Donald Trump', 'FiveThirtyEight', 'Fixer (person)', 'Floyd Norris', 'Forbes', 'Forbes 400', 'Forced displacement', 'Fordham University', 'Foreign Affairs', 'Foreign Emoluments Clause', 'Foreign policy of Donald Trump (2015–2016)', 'Foreign policy of the Donald Trump administration', "Formation of Donald Trump's Cabinet", 'Former Presidents Act', 'Fort Trump', 'Fortune (magazine)', 'Fossil fuel', 'Fountain Hills, Arizona', 'Fox & Friends', 'Fox News Channel', 'Frameup', 'Frank Rich', 'Fred Trump', 'Fred Trump Jr.', 'Frederick Trump', 'Fulton County, Georgia', 'Furlough', 'G7', 'GND (identifier)', "Gallup's most admired man and woman poll", 'Gallup (company)', 'Gary, Indiana', 'Gays for Trump', 'General Services Administration', 'George Papadopoulos', 'George W. Bush', 'Ghostwriter', 'Gina Kolata', "Giro d'Italia", 'Glenn Kessler (journalist)', 'Global News', 'Gloria Borger', 'Go back where you came from', 'Golan Heights', 'Golden Nugget Atlantic City', 'Graeme Wood (journalist)', 'Grand Central Terminal', 'Grand Hyatt New York', 'Grand jury', 'Great Depression', 'Green card', 'Greenhouse gas emissions', 'Greenmail', 'Group of Seven', 'Gun control', 'Gun politics in the United States', 'Haaretz', 'Hard Rock Hotel & Casino Atlantic City', 'Harold Bornstein', "Harrah's at Trump Plaza", 'Harvey Birdman: Attorney General', 'Health and Human Services Secretary', 'Health insurance coverage in the United States', 'Helene Cooper', 'Hiding in Plain Sight (Kendzior book)', 'Hillary Clinton', 'Hillary Clinton 2008 presidential campaign', 'Hillary Clinton email controversy', 'Hilton Worldwide', 'Hip-hop', 'Hoax (book)', 'Holiday Corporation', 'Hollywood Walk of Fame', 'Hope Hicks', 'Hot mic', 'House Oversight Committee', 'Houthis', 'Howard Stern Show', 'Huawei', 'Hudson River', 'HuffPost', 'Human rights in China', 'Hunter Biden', 'ISBN (identifier)', 'ISNI (identifier)', 'ISSN (identifier)', 'Illegal entry', 'Illegal immigrant population of the United States', 'Immigration policy of Donald Trump', 'Immigration to the United States', 'Impeachment inquiry against Donald Trump', 'In Trump We Trust', 'Inauguration of Donald Trump', 'Incitement of insurrection', 'Income tax audit', 'Independence Party of New York', 'Independent politician', 'Indiana Republican primary, 2016', 'Individual shared responsibility provision', 'IndustryWeek', 'Infrastructure-based development', 'Infrastructure policy of Donald Trump', 'Insane Clown President', 'Inspector General of the Intelligence Community', "Int'l Refugee Assistance Project v. Trump", 'Intermediate-Range Nuclear Forces Treaty', 'Internal Revenue Code', 'International reactions to the 2016 United States presidential election', 'Internet Archive', 'Internet troll', 'Ipsos', 'Iranian missile tests', 'Iran–United States relations', 'Islam in China', 'Islamic State of Iraq and the Levant', 'Islamophobic', 'Isolationist', 'Israel–Morocco normalization agreement', 'Israel–Sudan normalization agreement', 'Israel–United Arab Emirates normalization agreement', 'Ivana Trump', 'Ivanka Trump', 'Jamaica Estates, Queens', 'Jamaica Hospital Medical Center', 'James Barron (journalist)', 'James Comey', 'James Mattis', 'Jamie Gangel', 'Jane Mayer', 'January 2018 United States federal government shutdown', 'January 2019 Oval Office address', 'Jared Kushner', 'Jason Burke', 'Jason Samenow', 'Jeff Sessions', 'Jennifer Steinhauer', 'Jeremy Diamond', 'Jeremy Diamond (journalist)', 'Jeremy W. Peters', 'Jim Acosta', 'Jim Rutenberg', 'Joe Arpaio', 'Joe Biden', 'John Barron (pseudonym)', 'John Cornyn', 'John F. Kelly', 'John G. Trump', 'John Kasich', 'John M. Dowd', 'John McEntee (political aide)', 'John Roberts', 'John Wiley & Sons', 'Joint Chiefs of Staff', 'Joint Comprehensive Plan of Action', 'Jonathan Martin (journalist)', 'Josh Dawsey', 'Joshua Keating', 'Judicial appointment history for United States federal courts', 'Judicial independence', 'Julian Borger', 'Julie Hirschfeld Davis', 'Junk bonds', 'KTVK', 'Kaiser Health News', 'Kaitlan Collins', 'Karen McDougal', 'Karoun Demirjian', 'Keith Schiller', 'Kenneth T. Walsh', 'Kew-Forest School', 'Keystone XL', 'Khan Shaykhun chemical attack', 'Kim Jong-un', 'Kim Kardashian', 'Kosovo and Serbia economic normalization agreements (2020)', 'Kristian Saucier', 'Ku Klux Klan', 'Kurds in Syria', 'Kwame Kilpatrick', 'LCCN (identifier)', 'LNB (identifier)', 'Lafayette Square, Washington, D.C.', 'Land of the Free (Joey Badass song)', 'Lara Trump', 'Las Vegas (In the Hills of Donegal)', 'Last Week Tonight segments about Donald Trump', 'Lawfare (blog)', 'Leader of the Chinese Communist Party', 'Legal affairs of Donald Trump', 'Legal challenges to Executive Orders 13769 and 13780', 'Legal challenges to the Trump travel ban', 'Legal teams involved in the Special Counsel investigation (2017–2019)', 'Lenore Taylor', 'Lesley Stahl', 'Let Trump Be Trump', 'Liars, Leakers, and Liberals', 'Liberal democracy', 'Lincoln Square, Manhattan', 'Links between Trump associates and Russian officials', 'Lisa de Moraes', 'List of Donald Trump 2016 presidential campaign endorsements', 'List of Donald Trump 2016 presidential campaign primary endorsements', 'List of Donald Trump 2020 presidential campaign non-political endorsements', 'List of Donald Trump 2020 presidential campaign political endorsements', 'List of Donald Trump nominees who have withdrawn', 'List of Mad episodes', 'List of Republicans who opposed the Donald Trump 2016 presidential campaign', 'List of Republicans who opposed the Donald Trump 2020 presidential campaign', 'List of Trump administration dismissals and resignations', 'List of United States Republican Party presidential tickets', 'List of United States federal funding gaps', 'List of United States presidential elections in which the winner lost the popular vote', 'List of ambassadors of the United States to Ukraine', 'List of conspiracy theories promoted by Donald Trump', 'List of economic advisors to Donald Trump', 'List of executive actions by Donald Trump', 'List of federal judges appointed by Donald Trump', 'List of honors and awards received by Donald Trump', 'List of international presidential trips made by Donald Trump', 'List of lawsuits involving Donald Trump', 'List of lawsuits relating to the 2020 United States presidential election', 'List of nicknames used by Donald Trump', 'List of people granted executive clemency by Donald Trump', 'List of post-2016 election Donald Trump rallies', 'List of presidential trips made by Donald Trump', 'List of presidential trips made by Donald Trump (2017)', 'List of presidential trips made by Donald Trump (2018)', 'List of presidential trips made by Donald Trump (2019)', 'List of presidential trips made by Donald Trump (2020–2021)', 'List of presidents of the United States', 'List of presidents of the United States by age', 'List of presidents of the United States by previous experience', 'List of proclamations by Donald Trump', 'List of rallies for the 2016 Donald Trump presidential campaign', 'List of richest American politicians', 'List of short-tenure Donald Trump political appointments', 'List of things named after Donald Trump', 'Long Island Business News', 'Los Angeles Times', 'Lynn Sweet', 'MBA (identifier)', 'MS-13', 'MSNBC', 'Maggie Haberman', 'Majestic Star II', 'Make America Great Again', 'Make America Psycho Again', 'Make Everything Great Again', 'Making false statements', 'Manhattan District Attorney', 'Manu Raju', 'Mar-a-Lago', 'Marble Collegiate Church', 'Marc Fisher', 'Marc Hetherington', 'March 2020 Oval Office Address', 'Maria Konnikova', 'Mark A. Milley', 'Mark Landler', 'Mark Leibovich', 'Mark Mazzetti', 'Mark Meadows (North Carolina politician)', 'Marla Maples', 'Mary Anne MacLeod Trump', 'Mary L. Trump', 'Maryanne Trump Barry', 'Mass shootings in the United States', 'Matthew Rosenberg', 'Mazars USA', 'McAllen, Texas', 'Media Madness', 'Media bias', 'Media career of Donald Trump', 'Mediaite', 'Megan Twohey', 'Megayacht', 'Melania Trump', 'Melania and Me', 'Merrick Garland', 'Merrick Garland Supreme Court nomination', 'Mexico City Policy', 'Mexico–United States barrier', 'Mexico–United States border', 'Miami Herald', 'Michael Barbaro', 'Michael Barkun', 'Michael Cohen (lawyer)', 'Michael Crowley (journalist)', 'Michael D. Shear', 'Michael Flynn', 'Michael Kranish', 'Michael Milken', 'Michael Moore in TrumpLand', 'Michael Oreskes', 'Michael R. Gordon', 'Michael S. Schmidt', 'Michael T. Flynn', 'Michael Tackett', 'Michael Tomasky', 'Michigan', 'Mick Mulvaney', 'Midas Touch (book)', 'Midtown Manhattan', 'Mike Pence', 'Mike Pompeo', 'Million Dollar Loan', 'Misinformation related to the COVID-19 pandemic by the United States', 'Miss Teen USA', 'Miss USA', 'Miss Universe', 'Missy Ryan', 'Mitch McConnell', 'Mitt Romney', "Mitt Romney's 2016 anti-Trump speech", 'Mixed-use development', 'Moral equivalence', 'Mother Jones (magazine)', 'Mr. Garrison', 'Mueller report', 'NAFTA', 'NATO', 'NBC', 'NBC Montana', 'NBC News', 'NDL (identifier)', 'NFL', 'NKC (identifier)', 'NLA (identifier)', 'NLG (identifier)', 'NLI (identifier)', 'NLK (identifier)', 'NLR (identifier)', 'NPR', 'NSA', 'NSK (identifier)', 'NTA (identifier)', 'Name-calling', 'Nancy Pelosi', 'Nancy Reagan', 'National Archives and Records Administration', 'National Emergency Concerning the Southern Border of the United States', 'National Enquirer', 'National Garden of American Heroes', 'National Geographic Society', 'National Institute of Allergy and Infectious Diseases', 'National injunctions', 'Nationalist', 'Nationwide opinion polling for the 2016 United States presidential election', 'Nationwide opinion polling for the United States presidential election, 2016', 'Nazi salute', 'Neil Gorsuch', 'Neil Gorsuch Supreme Court nomination', 'Neo-nationalism', 'Never Enough: Donald Trump and the Pursuit of Success', 'Never Trump movement', 'New Jersey Generals', 'New York (magazine)', 'New York County District Attorney', 'New York Mets', 'New York Military Academy', 'Newsweek', 'Nicholas Fandos', 'Nikki Haley', 'Nisour Square massacre', 'Non-denominational Christian', 'Non-interventionism', 'Norman Vincent Peale', 'North American Free Trade Agreement', "North Korea's nuclear weapons", 'North Korea–United States relations', 'Nuclear option', 'Obstruction of justice', 'Office of Legal Counsel', 'Office of Public Liaison', 'Office of the Pardon Attorney', 'Operation Faithful Patriot', 'Operation Warp Speed', 'Opinion polling on the Donald Trump administration', 'Opioid epidemic in the United States', 'Opposition to immigration', 'Opposition to multiculturalism', 'Osama bin Laden', 'Otay Mesa, California', 'Our Cartoon President', 'Oval Office', 'Oval Office address', 'PBS', 'PBS NewsHour', 'PLWABN (identifier)', 'PMC (identifier)', 'PMID (identifier)', 'PREDICT (USAID)', 'Pageant Place', 'Palm Beach, Florida', 'Pandemic', 'Panic-buying', 'Paramount leader', 'Pardon of Joe Arpaio', 'Paris Agreement', 'Party-line vote', 'Patrick Wintour', 'Paul Manafort', 'Paul Pringle', 'Paul Ryan', 'Paula White', 'Peaceful transition of power', 'Pennsylvania', 'People (magazine)', 'Pepper spray', 'Perjury', 'Person, woman, man, camera, TV', 'Personal bankruptcy', 'Peter Baker (journalist)', 'Pew Research', 'Pew Research Center', 'Phil Hartman', 'Philadelphia (magazine)', 'Philip Rucker', 'Pierre Thomas (journalist)', 'Pizza Man', 'Playboy', 'Plaza Hotel', 'Poland', 'PolitiFact', 'Political Science Quarterly', 'Political appointments by Donald Trump', 'Political career of Donald Trump', 'Political correctness', 'Political positions of Donald Trump', 'Politico', 'Politifact', 'Popular Mobilization Forces', 'Populism', 'Populist', 'Pornographic film actor', 'Post-election lawsuits related to the 2020 United States presidential election', 'Post-election lawsuits related to the 2020 United States presidential election from Arizona', 'Post-election lawsuits related to the 2020 United States presidential election from Georgia', 'Post-election lawsuits related to the 2020 United States presidential election from Michigan', 'Post-election lawsuits related to the 2020 United States presidential election from Nevada', 'Post-election lawsuits related to the 2020 United States presidential election from Pennsylvania', 'Post-election lawsuits related to the 2020 United States presidential election from Wisconsin', 'Pre-election lawsuits related to the 2020 United States presidential election', 'Presidency of Donald Trump', 'Presidency of George W. Bush', 'President of the United States', 'Presidential Proclamation 9645', 'Presidential transition of Donald Trump', 'Presidential transition of Joe Biden', 'Pro-life', 'ProPublica', 'Professional wrestling', 'Propaganda', 'Protectionist', 'Protests against Donald Trump', 'Protests in the United States over responses to the COVID-19 pandemic', 'Pseudonyms of Donald Trump', 'Public charge rule', 'Pussy', 'QAnon', 'Qasem Soleimani', 'Qatar', 'Quds Force', 'Queens', 'Quinnipiac University Polling Institute', 'R/The Donald', 'REGN-COV2', 'RERO (identifier)', 'RSL (identifier)', 'Racial profiling', 'Racial views of Donald Trump', 'Rage (Woodward book)', 'Raising Trump', 'Real News Update', 'Recep Tayyip Erdoğan', 'Reform Party of the United States of America', 'Reformed Church in America', 'Reince Priebus', 'Religion News Service', 'Remdesevir', 'Republican National Committee', 'Republican National Convention', 'Republican Party (United States)', 'Republican Party presidential primaries, 2016', 'Republican Voters Against Trump', "Republican reactions to Donald Trump's claims of 2020 election fraud", 'Reshoring', 'Residences of Donald Trump', 'Reuters', 'Reuters Institute for the Study of Journalism', 'Revocable trust', 'Rex Tillerson', 'Richard Winger', 'Rick Gates (political consultant)', 'Rick Renzi', 'Right-wing populism', 'Riverside South, Manhattan', 'Riyadh Summit 2017', 'Robert Costa (journalist)', 'Robert Kagan', 'Robert Mueller', 'Robert Pear', 'Robert Trump', 'Robin Hayes', 'Rod Blagojevich', 'Rod Rosenstein', 'Roe v. Wade', 'Roger Stone', 'Rojava', 'Ron Nixon', 'Ronald Reagan', 'Rosalind Helderman', 'Roy Cohn', 'Rudy Giuliani', 'Russian bounty program', 'Russian interference in the 2016 United States elections', 'Russian interference in the 2016 presidential election', 'Russia–United States relations', 'Ruth Bader Ginsburg', 'Ryan Zinke', 'S2CID (identifier)', 'SAG-AFTRA', 'SBS News', 'SEAL Team Six', 'SELIBR (identifier)', 'SNAC-ID (identifier)', 'SSRN (identifier)', 'SUDOC (identifier)', 'Salman of Saudi Arabia', 'Same-sex marriage', 'Same-sex marriage in the United States', 'Sanctions against North Korea', 'Sanitization (classified information)', 'Sanjay Gupta', 'Santa Clara Law Review', 'Sara Murray (journalist)', 'Sara Sidner', 'Sassy Justice', 'Saturday Night Live parodies of Donald Trump', 'Saudi Arabia', 'Saudi Arabian-led intervention in Yemen', 'Scientific consensus on climate change', 'Scientific polling', 'Scooter Libby', 'Scott Pelley', 'Sean Spicer', 'Second impeachment of Donald Trump', 'Second impeachment trial of Donald Trump', 'Secretary of Housing and Urban Development', 'Secretary of the Treasury', 'Senate Intelligence Committee report on Russian interference in the 2016 United States presidential election', 'Senate majority leader', 'Senior Advisor to the President of the United States', 'Sergei Lavrov', 'Sergey Kislyak', 'Seung Min Kim', 'Severe acute respiratory syndrome coronavirus 2', 'Shane Harris', 'Sharon LaFraniere', 'Siege: Trump Under Fire', 'Simon & Schuster', 'Sky News', 'Slate (magazine)', 'Snopes.com', 'Social Science Research Network', 'Social media use by Donald Trump', 'Social policy of Donald Trump', 'Sock puppet account', 'South Park', 'Space policy of the Donald Trump administration', 'Speaking for Myself', 'Special Counsel investigation (2017–2019)', 'Special counsel', 'Spitting Image (2020 TV series)', 'Spygate (conspiracy theory)', "St. John's Episcopal Church, Lafayette Square", 'State court (United States)', 'State of emergency', 'State of the Union', 'Statewide opinion polling for the 2016 United States presidential election', 'Steele dossier', 'Stephanie Saul', 'Stephen M. Silverman', 'Steve Bannon', 'Steve Mnuchin', 'Stop the Steal', 'Stormy Daniels', 'Stormy Daniels–Donald Trump scandal', 'Stun grenade', 'Subpoena', 'Supreme Court of the United States', 'Susan Glasser', 'Susanne Craig', 'Tanning tax', 'Tariff', 'Tax Cuts and Jobs Act of 2017', 'Tax credit', 'Tax returns', 'Tax returns of Donald Trump', 'Team of Vipers', 'Ted Cruz', 'Ted Koppel', 'Terrorism and Political Violence', 'Texas v. Pennsylvania', 'The America We Deserve', 'The Apprentice (American TV series)', 'The Apprentice (franchise)', 'The Art of the Deal', 'The Atlantic', 'The Beautiful Poetry of Donald Trump', 'The Boston Globe', 'The Bronx', 'The Case for Impeachment', 'The Celebrity Apprentice', 'The Choice 2020', 'The Comey Rule', 'The Conservative Case for Trump', 'The Conversation (website)', 'The Daily Beast', 'The Dangerous Case of Donald Trump', 'The Day of the Donald', 'The Economist', 'The Ellipse', 'The Emperor Has No Balls', 'The Faith of Donald J. Trump', 'The Fifth Risk', 'The Guardian', 'The Hill (newspaper)', 'The Independent', 'The Intercept', 'The Interviews: An Oral History of Television', 'The Lewiston Journal', 'The Local', 'The Making of Donald Trump', 'The Nation', 'The National Law Review', 'The New England Journal of Medicine', 'The New Republic', 'The New York Times', 'The New York Times Best Seller list', 'The New Yorker', 'The Philadelphia Inquirer', 'The Plot to Hack America', 'The President Show', 'The Room Where It Happened', 'The Simpsons', 'The Sydney Morning Herald', 'The Thanksgiving Special', 'The Trump Organization', 'The Trump Prophecy', 'The Ultimate Merger', 'The Visionary', 'The Wall Street Journal', 'The Washington Post', 'The Way to the Top', 'The Week', 'Think Big and Kick Ass', 'Tiffany Trump', 'Time (magazine)', 'Time to Get Tough', 'Timeline of Russian interference in the 2016 United States elections', 'Timeline of Russian interference in the 2016 United States elections (July 2016–election day)', 'Timeline of investigations into Trump and Russia (2019)', 'Timeline of investigations into Trump and Russia (2020–2021)', 'Timeline of investigations into Trump and Russia (January–June 2017)', 'Timeline of investigations into Trump and Russia (January–June 2018)', 'Timeline of investigations into Trump and Russia (July–December 2017)', 'Timeline of investigations into Trump and Russia (July–December 2018)', 'Timeline of post-election transition following Russian interference in the 2016 United States elections', 'Timeline of protests against Donald Trump', 'Timeline of the Donald Trump presidency', 'Timeline of the Donald Trump presidency (2017 Q1)', 'Timeline of the Donald Trump presidency (2017 Q2)', 'Timeline of the Donald Trump presidency (2017 Q3)', 'Timeline of the Donald Trump presidency (2017 Q4)', 'Timeline of the Donald Trump presidency (2018 Q1)', 'Timeline of the Donald Trump presidency (2018 Q2)', 'Timeline of the Donald Trump presidency (2018 Q3)', 'Timeline of the Donald Trump presidency (2018 Q4)', 'Timeline of the Donald Trump presidency (2019 Q1)', 'Timeline of the Donald Trump presidency (2019 Q2)', 'Timeline of the Donald Trump presidency (2019 Q3)', 'Timeline of the Donald Trump presidency (2019 Q4)', 'Timeline of the Donald Trump presidency (2020 Q1)', 'Timeline of the Donald Trump presidency (2020 Q2)', 'Timeline of the Donald Trump presidency (2020 Q3)', 'Timeline of the Donald Trump presidency (2020 Q4–January 2021)', "Timothy L. O'Brien", 'Timothy Noah', 'Tina Brown', 'Tiny Hands', 'Today (American TV program)', 'Toluse Olorunnipa', 'Tom Price (American politician)', 'Tony Schwartz (author)', 'Too Much and Never Enough', 'Topical timeline of Russian interference in the 2016 United States elections', 'Toronto Star', 'Tour de France', 'Tour de Trump', 'Town & Country (magazine)', 'Trade deficits', 'Trans-Pacific Partnership', 'Trials of Paul Manafort', 'Trip Gabriel', 'Trove (identifier)', 'Trump-Ukraine scandal', 'Trump: An American Dream', 'Trump: Surviving at the Top', 'Trump: The Art of the Comeback', 'Trump: The Art of the Deal', 'Trump: The Game', 'Trump: The Kremlin Candidate?', 'Trump: The Rusical', "Trump: What's the Deal?", 'TrumpNation', 'Trump 101', 'Trump Card (2020 film)', 'Trump Castle (series)', 'Trump Force One', 'Trump Guy', 'Trump Hotels & Casino Resorts', 'Trump International Hotel and Tower (Chicago)', 'Trump National Golf Club Bedminster', 'Trump Princess', 'Trump Productions', 'Trump Revealed', 'Trump Shuttle', 'Trump Taj Mahal', 'Trump Tower', 'Trump Tower (novel)', 'Trump Tower Moscow', 'Trump Tower meeting', 'Trump Tower wiretapping allegations', 'Trump Unauthorized', 'Trump University', 'Trump administration communication during the COVID-19 pandemic', 'Trump administration family separation policy', 'Trump administration migrant detentions', 'Trump administration political interference with science agencies', 'Trump derangement syndrome', 'Trump family', 'Trump peace plan', 'Trump tariffs', 'Trump travel ban', 'Trump vs. Bernie', 'Trump wall', 'Trumped!', 'Trumped! (book)', 'Trumped (2017 film)', 'Trumpism', 'Trump–Raffensperger phone call', 'Trump–Ukraine scandal', 'Turkey', 'Twitter', 'U.S. Constitution', 'U.S. News & World Report', 'U.S. Office of Government Ethics', 'U.S. Treasury', 'U.S. federal government response to the COVID-19 pandemic', 'U.S. national debt', 'U.S.–Mexico–Canada Agreement', 'ULAN (identifier)', 'USA Today', 'USAir', 'Ukraine International Airlines Flight 752', 'Umbrella brand', 'Understanding Trump', 'Unhinged (book)', 'Unite the Right rally', 'United Arab Emirates', 'United Nations General Assembly', 'United Press International', 'United States-Mexico-Canada Agreement', 'United States Agency for International Development', 'United States Ambassador to the United Nations', 'United States Ambassadors appointed by Donald Trump', 'United States Attorney General', 'United States Attorneys appointed by Donald Trump', 'United States Capitol', 'United States Congress', 'United States Department of Justice', 'United States Department of Veterans Affairs', 'United States Deputy Attorney General', 'United States District Court for the District of Columbia', 'United States District Court for the Southern District of New York', 'United States Electoral College', 'United States Football League', 'United States House of Representatives', 'United States Refugee Admissions Program', 'United States Secretary of Defense', 'United States Secretary of Health and Human Services', 'United States Secretary of State', 'United States Senate', 'United States Supreme Court', 'United States antitrust law', 'United States federal courts', 'United States federal judge', 'United States non-interventionism', 'United States order of precedence', 'United States presidential elections in which the winner lost the popular vote', 'United States recognition of Jerusalem as capital of Israel', 'United States recognition of the Golan Heights as part of Israel', 'United States sanctions', 'United States sanctions against Iran', 'United States withdrawal from the Joint Comprehensive Plan of Action', 'United States withdrawal from the Paris Agreement', 'United States–Mexico–Canada Agreement', 'University of Pennsylvania', 'University of Pennsylvania Press', 'Univision', 'Upset victory', 'Ursula (detention center)', 'Uyghurs', 'VIAF (identifier)', 'Vanessa Trump', 'Vanity Fair (magazine)', 'Veracity of statements by Donald Trump', 'Veto override', 'Vice President of the United States', 'Viktor Yanukovych', 'Virginia Women for Trump', 'Vladimir Putin', 'Volodymyr Zelensky', 'Vox (website)', 'Vulture.com', 'WWE', 'WWE Hall of Fame (2013)', 'Wake Forest Law Review', 'Walter Reed National Military Medical Center', 'War crimes', 'Waterboarding', 'We the People.... (song)', 'Wealth of Donald Trump', 'Wharton School of the University of Pennsylvania', 'Whistleblower protection in the United States', 'White House', 'White House COVID-19 outbreak', 'White House Coronavirus Task Force', 'White House chiefs of staff', 'White nationalist', 'Why We Want You to Be Rich', 'William B. Taylor Jr.', 'William Barr', 'William D. Cohan', 'Wisconsin', 'Withdrawal of U.S. troops from Afghanistan', 'Women for Trump', 'WorldCat Identities (identifier)', 'World Health Organization', 'WrestleMania 23', 'Wuhan', 'Xi Jinping', 'Xinjiang', 'Xinjiang re-education camps', 'Yahoo! News', 'Ye vs. the People', "You've Been Trumped", 'You Got Trumped: The First 100 Days', 'Zolan Kanno-Youngs'], ['.rs', '.срб', '2020 Sundance Film Festival', '2244 Tesla', '270 Park Avenue', '40th Street (Manhattan)', 'ABC-CLIO', 'AC motor', 'AIEE Edison Medal', 'ARPANET', 'Adze', 'Ajvar', 'Albert Einstein', 'Alessandro Volta', 'Alexander Graham Bell', 'Alexander Stepanovich Popov', 'Alfred Vail', 'Alien Property Custodian', 'Allen Kent', 'Allis-Chalmers', 'Almon Brown Strowger', 'Alternating current', 'Alternator', 'American Antiquarian Society', 'American Experience', 'American Institute of Electrical Engineers', 'Amos Dolbear', 'Ampere', 'Amplifier', 'Anders Celsius', 'Anders Jonas Ångström', 'André-Marie Ampère', 'Angstrom', 'Anil K. Rajvanshi', 'Antonio Meucci', 'Arc lamp', 'Arthur Brisbane', 'Atmospheric electricity', 'Audio coding format', 'Austrian Empire', 'Austro-Hungarian Army', 'Autobiography', 'BIBSYS (identifier)', 'BITNET', 'BNE (identifier)', 'BNF (identifier)', 'Baku', 'Bandwidth (computing)', 'Barings Bank', 'Barnes & Noble Books', 'Bač Fortress', 'Beacon', 'Becquerel', 'Bel (unit)', 'Belgrade', 'Belgrade Fortress', 'Belgrade Nikola Tesla Airport', 'Benjamin G. Lamme', 'Billiards', 'Biographical film', 'Biplane', 'Blaise Pascal', 'Bob Kahn', 'Bože pravde', 'Bremsstrahlung', 'Bryant Park', 'Budapest', 'Börek', 'C-SPAN', 'CANTIC (identifier)', 'CYCLADES', 'Cable protection system', 'Cable television', 'Camille Tissot', 'Canada', 'Capstone Publishers', 'Carbon button lamp', 'Card game', 'Carl Friedrich Gauss', 'Carpenter', 'Cataract Construction Company', 'Cathedral of St. John the Divine', 'Cellular network', 'Celsius', 'Certified Software Development Professional', 'Cgs', 'Charles-Augustin de Coulomb', 'Charles Batchelor', 'Charles Bourseul', 'Charles F. Brush', 'Charles F. Scott (engineer)', 'Charles Grafton Page', 'Charles K. Kao', 'Charles Proteus Steinmetz', 'Charles Sumner Tainter', 'Charles University', 'Charles Wheatstone', 'Chess', 'Chicago', 'Cholera', 'Church of Saint Sava', 'CiNii (identifier)', 'Circuit switching', 'Class 8 truck', 'Claude Chappe', 'Claude Shannon', 'Coat of arms of Serbia', 'Coaxial cable', 'Code-division multiple access', 'Coherer', 'Cold cathode', "Collier's Weekly", 'Colorado Springs, Colorado', 'Colorado Springs Notes, 1899–1900', 'Columbia College (New York)', 'Columbidae', 'Communication protocol', 'Communications satellite', 'Commutator (electric)', 'Computer-Aided Design Technical Committee', 'Computer network', 'Conscription', 'Constitution of Serbia', 'Coronary thrombosis', 'Cosmic ray', 'Coulomb', 'Croatia', 'Croatian language', 'Crookes tube', 'Cummings C. Chesney', 'Curie (unit)', 'Czech (language)', 'Czech language', 'Czechoslovakia', 'Dalton (unit)', 'Daniel Gabriel Fahrenheit', 'Data compression', 'Data transmission', 'Data transmission circuit', 'David Grubin', 'David Hatcher Childress', 'Dawon Kahng', 'Death ray', 'Debye', 'Decade Box', "Delmonico's", 'Digital media', 'Digital television', 'Direct current', 'Discrete cosine transform', 'Doi (identifier)', 'Donald Davies', 'Donji grad (Zagreb)', 'Drums in communication', 'Dynamo', 'Eagle', 'Eastern Orthodox Church', "Edholm's law", 'Edison Machine Works', 'Edison Medal', 'Edward Dean Adams', 'Edwin Howard Armstrong', 'Eidetic memory', 'El Paso Power Company', 'Electric current', 'Electric generator', 'Electric power industry', 'Electrical Experimenter', 'Electrical engineer', 'Electrical engineering', 'Electrical telegraph', 'Electricity generation', 'Electricity supply', 'Electromagnetic induction', 'Electromagnetic radiation', 'Electron', 'Electrostatic', 'Elihu Thomson', 'Elisha Gray', 'Elliott Cresson Medal', 'Emile Berliner', 'Empire State Building', 'Engineering and Technology History Wiki', 'Engineering for Change', 'Englewood, New Jersey', 'Eotvos (unit)', 'Ericsson', 'Ericsson Nikola Tesla', 'Erna Schneider Hoover', 'Eta Kappa Nu', 'Ether (classical element)', 'Ethernet', 'Eugenics', 'Evangelista Torricelli', 'Exposition Universelle (1889)', 'F. David Peat', 'Fahrenheit', 'Farad', 'Faraday (unit)', 'Fauna of Serbia', 'Fax', 'Federal Bureau of Investigation', 'Ferncliff Cemetery', 'Fiber-optic communication', 'FidoNet', 'Fifth Avenue', 'Fiorello La Guardia', 'Flag of Serbia', 'Flora of Serbia', 'Foot-lambert', 'Force-free magnetic field', 'Fragments of Olympian Gossip', 'Francis Blake (telephone)', 'Francis Marion Crawford', 'Frank J. Sprague', 'Franklin Institute', 'Frano Kršinić', 'Free-space optical communication', 'Frequency', 'Frequency-division multiplexing', 'Frula', 'Futurist', 'GND (identifier)', 'Gaida', 'Gal (unit)', 'Galileo Ferraris', 'Galileo Galilei', 'Gamzigrad', 'Gardiner Greene Hubbard', 'Gas-discharge lamp', 'Gauss (unit)', 'Geissler tube', 'Gender equality', 'General Conference on Weights and Measures', 'General Electric', 'Georg Ohm', 'George Sylvester Viereck', 'George Westinghouse', 'Germany', 'Gibanica', 'Gilbert (unit)', 'Glide bomb', 'GlobalSpec', 'Golubac Fortress', 'Gornje Podunavlje', 'Gospić', 'Gray (unit)', 'Gray wolf', 'Graz', 'Graz University of Technology', 'Gračac', 'Gračanica monastery', 'Grčko groblje', 'Guglielmo Marconi', 'Gusle', 'Gymnasium Karlovac', 'Hamilton, Ontario', 'Hans Christian Ørsted', 'Harold Hopkins (physicist)', 'HarperCollins', 'Harris J. Ryan', 'Hedy Lamarr', 'Heinrich Hertz', 'Heinrich Kayser', 'Heinrich Mache', 'Heliograph', 'Henri Becquerel', 'Henry (unit)', 'Henry Sutton (inventor)', 'Hertz', 'High-voltage', 'History of broadcasting', 'History of mobile phones', 'History of prepaid mobile phones', 'History of radio', 'History of telecommunication', 'History of television', 'History of the Internet', 'History of the Tesla coil', 'History of the telephone', 'History of the transistor', 'History of videotelephony', 'Hotel Pennsylvania', 'Houston Street', 'Humanism', 'Hydraulic telegraph', 'IEEE', 'IEEEXtreme', 'IEEE Access', 'IEEE Aerospace and Electronic Systems Society', 'IEEE Antennas & Propagation Society', 'IEEE Biometrics Council', 'IEEE Broadcast Technology Society', 'IEEE Circuits and Systems Society', 'IEEE Cloud Computing', 'IEEE Communications Society', 'IEEE Components, Packaging & Manufacturing Technology Society', 'IEEE Computational Intelligence Society', 'IEEE Computer Society', 'IEEE Consumer Electronics Society', 'IEEE Control Systems Society', 'IEEE Council on Electronic Design Automation', 'IEEE Council on Superconductivity', 'IEEE Dielectrics & Electrical Insulation Society', 'IEEE Edison Medal', 'IEEE Education Society', 'IEEE Electromagnetic Compatibility Society', 'IEEE Electron Devices Society', 'IEEE Engineering in Medicine and Biology Society', 'IEEE Geoscience and Remote Sensing Society', 'IEEE Industrial Electronics Society', 'IEEE Industry Applications Society', 'IEEE Information Theory Society', 'IEEE Instrumentation & Measurement Society', 'IEEE Intelligent Transportation Systems Society', 'IEEE Life Sciences', 'IEEE Magnetics Society', 'IEEE Nanotechnology Council', 'IEEE Nikola Tesla Award', 'IEEE Nuclear and Plasma Sciences Society', 'IEEE Oceanic Engineering Society', 'IEEE Photonics Society', 'IEEE Power & Energy Society', 'IEEE Power Electronics Society', 'IEEE Product Safety Engineering Society', 'IEEE Professional Communication Society', 'IEEE Rebooting Computing', 'IEEE Registration Authority', 'IEEE Reliability Society', 'IEEE Robotics and Automation Society', 'IEEE Sensors Council', 'IEEE Signal Processing Society', 'IEEE Smart Grid', 'IEEE Society on Social Implications of Technology', 'IEEE Solid-State Circuits Society', 'IEEE Standards Association', 'IEEE Systems, Man, and Cybernetics Society', 'IEEE Systems Council', 'IEEE Technical Activities Board', 'IEEE Technology and Engineering Management Society', 'IEEE Ultrasonics, Ferroelectrics, and Frequency Control Society', 'IEEE Vehicular Technology Society', 'IEEE Xplore', 'IEEE conferences', 'IEEE style', 'IEEEmadC', 'ISBN (identifier)', 'ISNI (identifier)', 'ISSN (identifier)', 'Ilham Aliyev', 'Image compression', 'Imperial units', 'In Search of Nikola Tesla', 'Induction coil', 'Induction motor', 'Inductive charging', 'Information Age', 'Information revolution', 'Innocenzo Manzetti', 'Institute of Electrical and Electronics Engineers', 'Institute of Radio Engineers', 'Integral', 'Integrated Services Digital Network', 'International Electrical Congress', 'Internet', 'Internet2', 'Internet Archive', 'Internet Technical Committee', 'Internet video', 'Inventor', 'Isaac Newton', 'Ivan Meštrović', 'Ivry-sur-Seine', 'J.P. Morgan', 'J. J. Thomson', 'J. P. Morgan', 'JANET', 'JSTOR (identifier)', 'Jagadish Chandra Bose', 'Jakob Pöschl', 'James Clerk Maxwell', 'James Prescott Joule', 'James Watt', 'Jean Léonard Marie Poiseuille', 'Johann Heinrich Lambert', 'Johann Philipp Reis', 'John Bardeen', 'John Dalton', 'John G. Trump', 'John J. Carty', 'John Jacob Astor IV', "John Joseph O'Neill (journalist)", 'John Logie Baird', 'John Napier', 'John Scott Medal', 'John Stone Stone', 'John W. Lieb', 'John White Howell', 'John William Strutt, 3rd Baron Rayleigh', 'Jonathan Zenneck', 'Joseph Henry', 'Joule', 'Jovan Cvijić', 'Julian Hawthorne', 'Jun-ichi Nishizawa', 'Justiniana Prima', 'Karl Ferdinand Braun', 'Karlovac', 'Kayser (unit)', 'Kelvin', 'Kenneth M. Swezey', 'Kingdom of Serbia', 'Kingdom of Serbs, Croats and Slovenes', 'Kingdom of Yugoslavia', 'Kolo (dance)', 'Krsto Papić', 'LCCN (identifier)', 'LNB (identifier)', 'Lambert (unit)', 'Lands of the Crown of Saint Stephen', 'Langley (unit)', 'Latin', 'League of Nations', 'Learned society', 'Lee de Forest', 'Liberty Ship', 'LibriVox', 'Lika', 'List of IEEE awards', 'List of IEEE milestones', 'List of IEEE publications', 'List of Internet pioneers', 'List of Nikola Tesla patents', 'List of Serbian mottos', 'List of Serbs', 'List of World Heritage Sites in Serbia', 'List of people whose names are used in chemical element names', 'List of scientists whose names are used as units', 'List of scientists whose names are used in physical constants', 'List of things named after Nikola Tesla', 'Local area network', 'Long Island', 'Loránd Eötvös', 'Louis Adamic', 'Louis Harold Gray', 'Lower East Side', 'Lower Manhattan', 'Lump sum', 'MBA (identifier)', 'MIT', 'MOSFET', 'Mache (unit)', 'Macquorn Rankine', 'Madison Square Garden (1890)', 'Magnetic field', 'Magnetic flux density', 'Magnifying transmitter', 'Man and the Biosphere Programme', 'Manasija monastery', 'Manhattan', 'Marc J. Seifer', 'Marconi Company', 'Maribor', 'Marie Curie', 'Mark Twain', 'Mars', 'Martin Sekulić', 'Mass media', 'Maxwell (unit)', 'Mechanical engineering', 'Medieval Monuments in Kosovo', 'Memory of the World Programme', 'Metropolitan Life Insurance Company Tower', 'Michael Almereyda', 'Michael Faraday', 'Mihajlo Pupin', 'Military Frontier', 'Milutin Milanković', 'Milwaukee', 'Miroslav Gospel', 'Mobile telephony', 'Mohamed M. Atalla', 'Molecular communication', 'Mramorje (Perućac)', 'Mramorje (Rastište)', 'Multiple exposure', 'Multiplexing', 'Mur River', 'Musical instrument', 'My Inventions', 'My Inventions: The Autobiography of Nikola Tesla', 'NDL (identifier)', 'NKC (identifier)', 'NLA (identifier)', 'NLG (identifier)', 'NLI (identifier)', 'NLK (identifier)', 'NPL network', 'NSK (identifier)', 'NTA (identifier)', 'Nadežda Petrović', 'Names of the Serbs and Serbia', 'Napoleon Sarony', 'Narinder Singh Kapany', 'Nasir Ahmed (engineer)', 'National Defense Research Committee', 'National Electric Light Association', 'National symbols of Serbia', 'Naturalization', 'Nature park Golija-Studenica', 'Nazi', 'Near and far field', 'Nenad Bach', 'Neon light', 'Neper', 'Nervous breakdown', 'Network switch', 'Network topology', 'New York City', 'New York Herald Tribune', 'Newfoundland and Labrador', 'Newton (unit)', 'Next-generation network', 'Niagara Falls', 'Niagara Falls, New York', 'Niagara Falls, Ontario', 'Nikola Motor Company', "Nikola Tesla's Night of Terror", 'Nikola Tesla (disambiguation)', 'Nikola Tesla Memorial Center', 'Nikola Tesla Museum', 'Nikola Tesla Satellite Award', 'Nikola Tesla in popular culture', 'Nitrous acid', 'Nobel Prize in Physics', 'Node (networking)', 'Novi Sad', 'Nvidia', 'OCLC (identifier)', 'Oak', 'Oersted', 'Ohm', 'Old City Hall (Zagreb)', 'Old Style and New Style dates', 'Oliver Heaviside', 'Oliver Lodge', 'Omni (magazine)', 'Online video platform', 'Only Unity Saves the Serbs', 'Opanak', 'Oplenac', 'Optical communication', 'Optical fiber', 'Optical telegraph', 'Orbital angular momentum multiplexing', 'Order of Prince Danilo I', 'Order of St. Sava', 'Order of the White Eagle (Serbia)', 'Order of the White Lion', 'Order of the Yugoslav Crown', 'Orders, decorations, and medals of Serbia', 'Orson Welles', 'Our Lady of Ljeviš', 'Outline of telecommunication', 'Ozone', 'PLWABN (identifier)', 'Packet switching', 'Pager', 'Panic of 1890', 'Paris', 'Paris, France', 'Pascal (unit)', 'Pasulj', 'Patriarchate of Peć (monastery)', 'Paul Baran', 'Pbs.org', 'Petar Božović', 'Petar II Petrović-Njegoš', 'Peter Debye', 'Petrovaradin Fortress', 'Philadelphia', 'Philadelphia City Council', 'Philo Farnsworth', 'Photographic memory', 'Photophone', 'Picture thinking', 'Pierre Curie', 'Pikes Peak', 'Pittsburgh', 'Plandište', 'Plasma globe', 'Plasma lamp', 'Pljeskavica', 'Plum', 'Poise (unit)', 'Polarization-division multiplexing', 'Polyglot (person)', 'Polyphase system', 'Popular Electronics', 'Power station', 'Prague', 'Princeton University Press', 'Principality of Montenegro', 'Priority right', 'Prodigal Genius: The Life of Nikola Tesla', 'Project Gutenberg', 'Public switched telephone network', 'Queen Victoria Park', 'Queen bee (sociology)', 'Questia', 'RERO (identifier)', 'Radar', 'Rade Serbedzija', 'Radia Perlman', 'Radio control', 'Radio network', 'Radio wave', 'Radiography', 'Radiotelephone', 'Rahway, New Jersey', 'Ramonda nathaliae', 'Random House', "Random House Webster's Unabridged Dictionary", 'Rankine scale', 'Rayl', 'Red Cross Society', 'Redmond, Washington', 'Regalia of Serbia', 'Reginald Fessenden', 'Religious fanaticism', 'René Antoine Ferchault de Réaumur', 'Repeater', 'Resonant inductive coupling', 'Resonant transformer', 'Reuters', 'Robert Andrews Millikan', 'Robert Hooke', 'Robert Lomas', 'Robert Metcalfe', 'Robert Underwood Johnson', 'Roentgen (unit)', 'Rolf Maximilian Sievert', 'Rotary converter', 'Rotating magnetic field', 'Ruđer Bošković Institute', 'Réaumur scale', 'SI unit', 'SNAC-ID (identifier)', 'SS Oregon (1883)', 'SUDOC (identifier)', 'Saint Sava', 'Samuel Langley', 'Samuel Morse', 'Sarah Bernhardt', 'Sarma (food)', 'Science, technology, engineering, and mathematics', 'Scientific American', 'Scientist', 'Selective breeding', 'Semaphore', 'Semiconductor', 'Semiconductor device', 'Serbia', 'Serbian-American', 'Serbian Cyrillic alphabet', 'Serbian Spruce', 'Serbian cross', 'Serbian cuisine', 'Serbian dinar', 'Serbian eagle', 'Serbian epic poetry', 'Serbian heraldry', 'Serbian national costume', 'Serbo-Croatian', 'Serbs', 'Shoreham, New York', 'Siemens (unit)', 'Sievert', 'Simon & Schuster', 'Sir George Stokes, 1st Baronet', 'Sir William Henry Bragg', 'Sixth Avenue', 'Slatko', 'Slava', 'Slaven Letica', 'Slivovitz', 'Slobodan Jovanović', 'Smartphone', 'Smederevo Fortress', 'Smiljan', 'Smoke signal', 'Social Science History', 'Social media', 'Sofia, Bulgaria', 'Sopoćani', 'Space-division multiple access', 'Speedometer', 'Sphere', 'St. Louis', 'St. Regis New York', 'Stacy Keach', 'Stanford White', 'Stari Ras', 'Stevan Mokranjac', 'Stećci', 'Stokes (unit)', 'Store and forward', 'Streaming media', 'Streaming television', 'Studenica Monastery', 'Subatomic particle', 'Submarine communications cable', 'Supreme Court of the United States', 'Swami Vivekananda', 'Sweden', 'TPP Nikola Tesla', 'Tamburica', 'Tamo daleko', 'Technical Committee on VLSI', 'Telautograph', 'Telecommunication', 'Telecommunication circuit', 'Telecommunications equipment', 'Telecommunications link', 'Telecommunications network', 'Teleforce', 'Telefunken', 'Telegeodynamics', 'Telegraphy', 'Teleoperation', 'Telephone exchange', 'Telephony', 'Teleprinter', 'Television network', 'Telex', 'Tenement', 'Terminal (telecommunication)', "Tesla's Egg of Columbus", "Tesla's oscillator", 'Tesla, Inc.', 'Tesla: Man Out of Time', 'Tesla (2016 film)', 'Tesla (2020 film)', 'Tesla (Czechoslovak company)', 'Tesla (band)', 'Tesla (crater)', 'Tesla (microarchitecture)', 'Tesla (unit)', 'Tesla - Lightning in His Hand', 'Tesla Electric Light & Manufacturing', 'Tesla Electric Light and Manufacturing', 'Tesla Experimental Station', 'Tesla STEM High School', 'Tesla Science Center at Wardenclyffe', 'Tesla coil', 'Tesla turbine', 'Tesla valve', 'The AWA Review', 'The Century Magazine', 'The Current War', 'The Fantastic Inventions of Nikola Tesla', 'The Inventions, Researches, and Writings of Nikola Tesla', 'The Man Who Invented the Twentieth Century', 'The New American', 'The New York Times', 'The Oatmeal', 'The Players (New York City)', 'The Prestige (film)', 'The Secret of Nikola Tesla', 'The Telephone Cases', 'The Tesla World Light', 'Theory of relativity', 'Thermo-magnetic motor', 'Thomas A. Watson', 'Thomas Commerford Martin', 'Thomas Edison', 'Thomson-Houston Electric Company', 'Thomson (unit)', 'Three-finger salute (Serbian)', 'Three-phase electric power', 'Tim Berners-Lee', 'Time-division multiplexing', 'Time (magazine)', 'Time magazine', 'Tivadar Puskás', 'Tomingaj', 'Tomislav Nikolić', 'Torpedo', 'Torr', 'Tower to the People', 'Traction motor', 'Transmission line', 'Transmission medium', 'Trinity Chapel Complex', 'Trove (identifier)', 'Twenty-First Century Books', 'ULAN (identifier)', 'UNESCO Intangible Cultural Heritage Lists', 'UUCP', 'United Kingdom of Great Britain and Ireland', 'United States', 'United States Department of Defense', 'United States customary units', 'United States of America', 'University of Belgrade Faculty of Electrical Engineering', 'University of Paris', 'Usenet', 'Utility', 'V-22 Osprey', 'VIAF (identifier)', 'VTOL', 'Vacuum tube', 'Vacuum variable capacitor', 'Vedantic', 'Venus', 'Vertical take-off and landing', 'Video card', 'Video coding format', 'Vint Cerf', 'Violet ray', 'Visoki Dečani', 'Vladimir K. Zworykin', 'Vojvodina', 'Volt', 'Voltage', 'Vuk Karadžić', 'WNYC', 'Waldorf-Astoria', 'Waldorf-Astoria Hotel', 'Waldorf Astoria New York', 'Wall Street', 'Walter Houser Brattain', 'War of currents', 'War of the currents', 'Wardenclyffe Tower', 'Watt', 'Waves in plasmas', 'Wayback Machine', 'Weber (unit)', 'Werner von Siemens', 'Western Union', 'Westinghouse Electric Corporation', 'Whistled language', 'Wide area network', 'Wilhelm Eduard Weber', 'Wilhelm Röntgen', 'William Arnold Anthony', 'William Gilbert (physician)', 'William Lawrence Bragg', 'William Le Roy Emmet', 'William Stanley, Jr.', 'William Thomson, 1st Baron Kelvin', 'Wireless', 'Wireless communication', 'Wireless network', 'Wireless power', 'Wireless power transfer', 'Wireless revolution', 'Wireless telegraphy', 'Wizard: The Life and Times of Nikola Tesla', 'Woolworth Building', "World's Columbian Exposition", 'WorldCat Identities (identifier)', 'World War I', 'World Wireless System', 'Wyndham New Yorker Hotel', 'X-Rays', 'Yogen Dalal', 'Yugoslav Wars', 'Zagreb', 'Émile Girardeau', 'Ćevapi', 'Đavolja Varoš', 'Đorđe Vajfert', 'Šajkača', 'Šargan Eight'], ['n/a'], ['1838 Coronation Honours', '1887 Golden Jubilee Honours', '1897 Diamond Jubilee Honours', "4 route du Champ d'Entraînement", 'A. A. Milne', 'Abdul Karim (the Munshi)', 'Abergeldie Castle', 'Agra', 'Albany (London)', 'Albert, Prince Consort', 'Alexander Graham Bell', 'Alfred, Duke of Saxe-Coburg and Gotha', 'Allerton Castle', 'Anmer Hall', 'Audley End House', 'Bagshot Park', 'Balmoral Castle', 'Balmoral cairns', 'Banqueting House, Whitehall', 'Barnwell Manor', 'Bathing machine', 'Bathing machines', 'Beaumont Palace', 'Bedchamber Crisis', 'Belvedere (structure)', 'Bentley Priory', 'Berkhamsted Castle', 'Bhai Ram Singh', 'Birkhall', 'Brantridge Park', 'Bridewell Palace', 'Brill Palace', 'Britannia Royal Naval College', 'British embossed postage stamps', 'Buckingham Palace', 'Bushy House', 'Cadzow Castle', 'Caernarfon Castle', 'Cambridge House', 'Canada 12d black', 'Canada 2c Large Queen on laid paper', 'Carisbrooke Castle', 'Carl, 3rd Prince of Leiningen', 'Carlton House', 'Castell y Bere', 'Castle of Mey', 'Castlebar Hill', 'Chalon head', 'Charlotte Percy, Duchess of Northumberland', 'Chelsea Manor', 'Chevening', 'Chideock', 'Choral Songs in honour of Her Majesty Queen Victoria', 'Christ Church, Oxford', 'Château de la Croë', 'Claremont (country house)', 'Clarence House', 'Clarendon Palace', 'Cliveden', 'Clock Tower, Brighton', 'Commissioners of Woods and Forests', 'Commonwealth Day', 'Coombe Abbey', 'Coppins', 'Coronation of Queen Victoria', 'Criccieth Castle', 'Crocker End House', 'Crosby Hall, London', 'Cultural depictions of Queen Victoria', 'Cumberland House', 'Cumberland Lodge', 'Dash (spaniel)', 'Delnadamph Lodge', 'Dolbadarn Castle', 'Dolittle (film)', 'Dolphin Square', 'Dolwyddelan Castle', 'Doune Castle', 'Dover House', 'Dublin Castle', 'Dull Rose', 'Dunfermline Palace', 'Durbar (court)', 'East Cowes', 'Eastwell Park', 'Edinburgh Castle', 'Edward Oxford', 'Edward VII', 'Edward VIII of the United Kingdom', 'Edward VII of the United Kingdom', 'Eltham Palace', 'Empress of India', 'English Heritage', 'Falkland Palace', 'Fort Belvedere, Surrey', 'Frogmore', 'Frogmore Cottage', 'Frogmore House', 'GND (identifier)', 'Gatcombe Park', 'Geographic coordinate system', 'George Archer-Shee', 'George Davys', 'George VI of the United Kingdom', 'Gloucester House', 'Golden Jubilee of Queen Victoria', 'Government House, Melbourne', 'Grade II* listed', 'Grandchildren of Queen Victoria and Prince Albert of Saxe-Coburg and Gotha', 'Grosvenor House', 'Gulf of Naples', 'Gunnersbury Park', 'Hackpen White Horse', 'Halfpenny Rose Red', 'Halfpenny Yellow', 'Hampton Court Palace', 'Happy and Glorious (TV series)', 'Hatfield House', 'Havering Palace', 'Highgrove House', 'Hillsborough Castle', 'Holyrood Palace', 'ISBN (identifier)', 'I and Albert', 'Inverted Head 4 Annas', 'Isle of Wight', 'Isle of Wight County Press', 'Italian Renaissance', 'Italianate architecture', 'Ivy Cottage', 'J. M. Barrie', 'Jack Llewelyn Davies', 'Jane Struthers', 'John Adair (author)', 'John Brown (servant)', 'John Conroy', 'John William Bean', 'Jubilee Clock Tower, Weymouth', 'Jubilee Issue', 'Jubilee bust of Queen Victoria', 'Kensington Palace', 'Kensington System', 'Kew Palace', "King's House, Winchester", 'Kings Langley Palace', 'LCCN (identifier)', 'Lady Flora Hastings', 'Lancaster House', 'Leeds Castle', 'Legitimacy of Queen Victoria', 'Leicester House, Westminster', 'Les Jolies Eaux', 'Linlithgow Palace', 'List of British royal residences', 'List of foreign visits made by Queen Victoria', 'List of places named after Queen Victoria', 'List of prime ministers of Queen Victoria', 'List of statues of Queen Victoria', 'Llewelyn Davies boys', 'Llwynywermod', 'London Air Park', 'Looking for Victoria', 'Louise Lehzen', 'Marlborough House', 'Mauritius "Post Office" stamps', 'Memorial to Queen Victoria, Leeds', 'Montagu House, Blackheath', 'Mrs Brown', 'Nether Lypiatt Manor', 'Nonsuch Palace', 'Norfolk House', 'Norris Castle', 'Nottingham Cottage', 'Oatlands Palace', 'Oatlands Park', 'Osborne Bay', 'Osborne House (disambiguation)', 'Osborne Stable Block', 'Oxford and Cambridge Club', 'Palace of Beaulieu', 'Palace of Placentia', 'Palace of Westminster', 'Palace of Whitehall', 'Penny Black', 'Penny Black VR official', 'Penny Blue', 'Penny Lilac', 'Penny Red', 'Penny Venetian Red', 'Peter Pan', 'Postal order', 'Prince Arthur, Duke of Connaught and Strathearn', 'Prince Edward, Duke of Kent and Strathearn', 'Prince George, Duke of Kent', 'Prince Leopold, Duke of Albany', 'Princess Alice of the United Kingdom', 'Princess Beatrice of the United Kingdom', 'Princess Feodora of Leiningen', 'Princess Helena of the United Kingdom', 'Princess Louise, Duchess of Argyll', 'Princess Victoria of Saxe-Coburg-Saalfeld', "Queen's House", "Queen's Park (Toronto)", "Queen's Square, Sydney", 'Queen Victoria', "Queen Victoria's journals", "Queen Victoria's pets", 'Queen Victoria Building', 'Queen Victoria Diamond Jubilee Medal', 'Queen Victoria Gardens', 'Queen Victoria Golden Jubilee Medal', 'Queen Victoria Lilac and Green Issue', 'Queen Victoria Memorial, Lancaster', 'Queen Victoria Memorial, Penang', 'Queen Victoria Monument, Birkenhead', 'Queen Victoria Pavilion', 'Queen Victoria Police Jubilee Medal', 'Queen Victoria Statue, Bristol', 'Queen Victoria Statue, Weymouth', 'Queen Victoria Statue, Winnipeg', 'Queens Gardens, Brisbane', "Ranger's House", 'Recessional (poem)', 'Ribsden Holt', 'Richmond Palace', 'Riven Rock, Montecito', 'Robert Graves', 'Royal Arch (structure)', 'Royal Lodge', 'Royal Naval College, Osborne', 'Royal Navy', 'Royal Order of Victoria and Albert', 'Royal Pavilion', 'Royal Pavilion, Aldershot', 'Royal Upstairs Downstairs', 'Royal descendants of Queen Victoria and King Christian IX', 'Royal visits to Manchester and Salford during the reign of Queen Victoria', 'Rudolf Swoboda', 'SUDOC (identifier)', 'Sagana Lodge', 'Sandringham House', 'Savoy Palace', 'Shilling', 'Sixty Glorious Years', 'Sixty Years a Queen', 'Small Diamond Crown of Queen Victoria', 'Solent', 'Somerset House', "St James's Palace", 'State funeral of Queen Victoria', 'Statue of Queen Victoria, Bangalore', 'Statue of Queen Victoria, Chester', 'Statue of Queen Victoria, Kensington Palace', 'Statue of Queen Victoria, Reading', 'Statue of Queen Victoria, St Helens', 'Statue of Queen Victoria, Sydney', 'Statue of Queen Victoria, Valletta', 'Statue of Queen Victoria (Hong Kong)', 'Statue of Queen Victoria (Victoria, British Columbia)', 'Stirling Castle', 'Sunninghill Park', 'Sussex House', 'Switzerland', 'Tamarisk, Isles of Scilly', 'Thatched House Lodge', 'The Black Prince (film)', 'The More', 'The Widow at Windsor', 'The Winslow Boy', 'The Young Victoria', 'The Young Victoria (1963 film)', 'Theobalds House', 'Thomas Cubitt', 'Three Halfpence Red', 'Tower of London', 'Two penny blue', 'VIAF (identifier)', 'Victoire Conroy', 'Victoria, Princess Royal', 'Victoria & Abdul', 'Victoria & Albert (TV serial)', 'Victoria (British TV series)', 'Victoria (The Kinks song)', 'Victoria (plant)', 'Victoria Clock Tower, Isle of Man', 'Victoria Cross', 'Victoria Day', 'Victoria Day (Scotland)', 'Victoria Gate (Valletta)', 'Victoria Memorial, Kolkata', 'Victoria Memorial, London', 'Victoria Memorial (Montreal)', 'Victoria Monument, Liverpool', 'Victoria Park, Regina', 'Victoria Regina (Hallmark Hall of Fame)', 'Victoria Regina (play)', 'Victoria Square, Adelaide', 'Victoria Square, Birmingham', 'Victoria Square, Christchurch', 'Victoria Square, London', 'Victoria Square, Montreal', 'Victoria Tower, Guernsey', 'Victoria and Merrie England', 'Victoria in Dover (1936 film)', 'Victoria in Dover (1954 film)', 'Victoria the Great', 'Victorian era', 'Victorian morality', 'Villa Guardamangia', 'Walmer Castle', 'Wedding dress of Queen Victoria', 'Wedding of Queen Victoria and Prince Albert of Saxe-Coburg and Gotha', 'White Lodge, Richmond Park', 'Windlesham Moor', 'Windsor Castle', 'Witley Court', 'Wood Farm', 'Woodstock Palace', 'WorldCat Identities (identifier)', 'Wren House', 'York Cottage', "York House, St James's Palace"], ['1804', '1811', '1812', '1813', '1816', '1817', '1818', '1821', '1822', '1823', '1825', '1826', '1827', '1829', '1831', '1832', '1833', '1834', '1835', '1836', '1837', '1838', '1839', '1841', '1842', '1843', '1844', '1846', '1846–1860 cholera pandemic', '1847', '1848', '1849', '1850', '1851', '1853', '1854', '1855', '1858', '1859', '1861', '1866', '1870', '1870s', '1871', '1874', '1875', '1876', '1880s', '1890s', '1899 (TV series)', '1899 (disambiguation)', '1899 (number)', '1899 New Richmond tornado', '1899 San Ciriaco hurricane', '1899 in Afghanistan', '1899 in Australia', '1899 in Belgium', '1899 in Brazil', '1899 in Bulgaria', '1899 in Canada', '1899 in Denmark', '1899 in France', '1899 in Germany', '1899 in New Zealand', '1899 in Norway', '1899 in Portugal', '1899 in Russia', '1899 in South Africa', '1899 in Spain', '1899 in Sweden', '1899 in Venezuela', '1899 in archaeology', '1899 in architecture', '1899 in art', '1899 in film', '1899 in jazz', '1899 in literature', '1899 in music', '1899 in rail transport', '1899 in science', '1899 in sports', '1899 in the United Kingdom', '1899 in the United States', '1899–1923 cholera pandemic', '18th century', '1900s (decade)', '1910s', '1918', '1927', '1931', '1932', '1936', '1937', '1938', '1939', '1943', '1945', '1947', '1949', '1950', '1951', '1953', '1954', '1956', '1957', '1959', '1960', '1961', '1962', '1963', '1964', '1965', '1966', '1967', '1968', '1969', '1970', '1971', '1972', '1973', '1974', '1975', '1976', '1977', '1978', '1979', '1980', '1981', '1982', '1983', '1984', '1985', '1986', '1987', '1988', '1989', '1990', '1991', '1992', '1993', '1994', '1995', '1996', '1997', '1998', '1999', '19th century', '2000', '2002', '2006', '2010', '2013', '2015', '2016', '2017', '20th century', '2 Pallas', '2nd millennium', 'A.C. Milan', 'A. E. J. Collins', 'AD 1896', 'AD 1897', 'AD 1898', 'AD 1899', 'AD 1900', 'AD 1901', 'AD 1902', 'Ab urbe condita', 'Abdallahi ibn Muhammad', 'Abu al-Qasim al-Khoei', 'Action Française', 'Admiral of the Navy (United States)', 'Africa', 'African American', 'Air pollution', 'Airship', 'Akim Tamiroff', 'Al Capone', 'Alan Arnett McLeod', 'Albert Claude', 'Alcoholic drink', 'Alec Campbell', 'Aleksander Zawadzki', 'Alfred, Hereditary Prince of Saxe-Coburg and Gotha', 'Alfred Denning, Baron Denning', 'Alfred Dreyfus', 'Alfred Hitchcock', 'Alfred R. Tucker', 'Alfred Sisley', 'Alice Terry', 'Aline MacMahon', 'Alma Reville', 'Alpha Sigma Tau', 'Alphonse Castex', 'American Line', 'Andrei Platonovich Klimentov', 'Anglo-Egyptian Sudan', 'Anglo-Japanese Treaty of Commerce and Navigation', 'Anna Cabot Lowell Quincy Waterston', 'Anno Domini', 'Antal Páger (actor)', 'Antarctic Circle', 'Antarctica', 'Anton Berindei', 'Antonio Luna', 'April 1', 'April 11', 'April 15', 'April 16', 'April 19', 'April 20', 'April 21', 'April 22', 'April 23', 'April 24', 'April 26', 'April 27', 'April 29', 'April 3', 'April 4', 'April 5', 'April 6', 'April 7', 'April 9', 'Armenian calendar', 'Arthur Barker', 'Arthur Blomfield', 'Arthur Bryant', 'Arthur Q. Bryan', 'Arthur Tracy', 'Asia', 'Aspirin', 'Associate Justice of the Supreme Court of the United States', 'Association football', 'Assyrian calendar', 'August', 'August 1', 'August 10', 'August 13', 'August 14', 'August 16', 'August 17', 'August 19', 'August 2', 'August 24', 'August 26', 'August 27', 'August 28', 'August 29', 'August 3', 'August 30', 'August 31', 'August 4', 'August 9', 'August Anheuser Busch, Jr.', 'Augusta, Kentucky', 'Augusta Methodist College', 'Augustin Daly', 'Austin Warren', 'Avdy Andresson', "Bahá'í calendar", 'Balancing rock', 'Balinese saka calendar', 'Bangladesh', 'Bathurst Bay', 'Battle of Magersfontein', 'Battle of Marilao River', 'Battle of Talana Hill', 'Battle of Tirad Pass', 'Battle of Togbao', 'Battle of Umm Diwaykarat', 'Bayer', 'Bengali calendar', 'Bengali language', 'Berber calendar', 'Bertil Ohlin', 'Besshi copper mine', 'Billy Cotton', 'Binoculars', 'Bishop of Uganda', 'Bloomington, Illinois', 'Bob Fitzsimmons', 'Boer', 'Boots Adams', 'Bouillon cube', 'Božidar Jakac', 'Brassaï', 'British Army', 'Bronx Zoo', 'Bruce Catton', 'Bruce Marshall', 'Budapest', 'Buddhist calendar', 'Burmese calendar', 'Burr Shafer', 'Byron Foulger', 'Byzantine calendar', 'Béla Guttmann', 'C. S. Forester', 'Café Filho', 'Calendar era', 'Canberra', 'Capture of Malolos', 'Carl Millocker', 'Carlos Chávez', 'Carlos Romulo', 'Carmen de Icaza', 'Carsten Borchgrevink', 'Ceres (dwarf planet)', 'Cevdet Sunay', 'Chad', 'Chamkanni', 'Charles A. Tonsor Jr.', 'Charles Alfred Pillsbury', 'Charles Boyer', 'Charles C. Carpenter (admiral)', 'Charles Herbert Best', 'Charles Laughton', 'Charles Lindbergh, Jr.', 'Charles Rennie Mackintosh', 'Chief Dan George', 'Chile', 'Chinese calendar', 'Chinese sexagenary cycle', 'Citrus', 'City College of New York', 'Civil rights movement', 'Classical planet', 'Club Nacional de Football', 'Colleen Moore', 'Commission on Isotopic Abundances and Atomic Weights', 'Common Era', 'Common year starting on Friday', 'Common year starting on Sunday', 'Coney Island, New York', 'Conjunction (astronomy)', 'Construction', 'Coptic calendar', 'Corneliu Zelea Codreanu', 'Cornelius Vanderbilt II', 'Cornwall', 'Cricket', 'Cuba', 'Cumberland Gap', 'Cyclone Mahina', 'Dare County, North Carolina', 'David Hilbert', 'DeFord Bailey', 'December 1', 'December 10', 'December 11', 'December 14', 'December 15', 'December 16', 'December 18', 'December 19', 'December 2', 'December 20', 'December 22', 'December 25', 'December 26', 'December 27', 'December 28', 'December 29', 'December 3', 'December 31', 'December 4', 'December 8', 'December 9', 'Dechko Uzunov', 'Delta Sigma Phi', 'Denver', 'Diamond City, North Carolina', 'Diet of Finland', 'Dimitri Tiomkin', 'Discordian calendar', 'Dog (zodiac)', 'Doi (identifier)', 'Doris Speed', 'Dorothy C. Stratton', 'Douglas Shearer', 'Duke Ellington', 'Duke of York Island (Antarctica)', 'Dundee, KwaZulu-Natal', 'Dwight L. Moody', 'E. B. White', 'E. D. Nixon', 'Earl Whitehill', 'Edward Charles Titchmarsh', 'Edward Elgar', 'Edward Frankland', 'Edward Twining', 'Egypt', 'Ehrenfried Pfeiffer', 'Eintracht Frankfurt', 'Election', 'Electric chair', 'Ella Hoag Brockway Avann', 'Elmer Keith', 'Elsie Steele', 'Elsie Thompson', 'Emilio Aguinaldo', 'Emilio Castelar y Ripoll', 'Emilio Jacinto', 'Emma Hardinge Britten', 'Emma Morano', 'English Channel', 'Enigma Variations', 'Eric Linklater', 'Erich Kästner', 'Ernest Chausson', 'Ernest Haycox', 'Ernest Hemingway', 'Ernest Renshaw', 'Esporte Clube Vitória', 'Ethiopian calendar', 'Eugene Ormandy', 'Eugenio Beltrami', 'Eugeniusz Bodo', 'Eugène Bertrand', 'Europe', 'Eva Le Gallienne', 'Evelyn Brent', 'Extraterritoriality', 'Ezra Taft Benson', 'FC Barcelona', 'February 10', 'February 11', 'February 12', 'February 14', 'February 15', 'February 16', 'February 17', 'February 18', 'February 19', 'February 2', 'February 22', 'February 23', 'February 24', 'February 25', 'February 26', 'February 27', 'February 3', 'February 4', 'February 6', 'February 7', 'Felix Hoffmann', 'Feng Zhanhai', 'Ferdinand Zeppelin', 'Ferencvárosi TC', 'Fiat Automobiles', 'Finn Ronne', 'First Hague Convention', 'First Hague Peace Conference', 'First Ladies and Gentlemen of the Philippines', 'First Philippine Republic', 'Florida', 'Floyd Stahl', 'Forrest Lewis', 'France', 'Frances Laughton Mace', 'Francis Poulenc', 'Frank Ferguson', 'Frank R. Walker', 'Franz Jonas', 'Fred Astaire', 'Frederick Coutts', 'Frederick IX of Denmark', 'Friedrich Hayek', 'Friedrich Panse', 'Fritz Albert Lipmann', 'Fritz Bayerlein', 'Félix Faure', 'Gaetano Lucchese', 'Gale Sondergaard', 'Garret Barry (piper)', 'Garret Hobart', 'Gaëtan de Rochebouët', 'Geometry', 'Georg von Békésy', 'George, Duke of Mecklenburg', 'George Cukor', 'George Curzon, 1st Marquess Curzon of Kedleston', 'George Dewey', "George O'Brien (actor)", "George O'Hara (actor)", 'George Roos-Keppel', 'Georges Auric', 'Gertrude Berg', 'Giovanni Agnelli', 'Giovanni Segantini', 'Glasgow School of Art', 'Glenn Strange', 'Globe, Arizona', 'Gloria Swanson', 'Goodman Ace', 'Governor of American Samoa', 'Governor of California', 'Grand Duchess Maria Nikolaevna of Russia', 'Grand Duke George Alexandrovich of Russia', 'Grand Principality of Finland', 'Grant Allen', 'Great Blizzard of 1899', 'Great Wall of China', 'Gregorian calendar', 'Gregorio del Pilar', 'Gross register tons', 'Gualtiero De Angelis', 'Guangxu Emperor', 'Guglielmo Marconi', 'Gustav Heinemann', 'Gustavs Celmiņš', 'Gyula Mándi', 'Göttingen', 'Halford Mackinder', 'Hanover', 'Hanover Congress (1899)', 'Hans Jeschonnek', 'Harold Abrahams', 'Harold B. Lee', 'Harold Bennett', 'Harriman Alaska Expedition', 'Harrow, London', 'Harry Bates (sculptor)', 'Harry R. Wellman', 'Harry Shields', 'Hart Crane', 'Hayato Ikeda', 'Hebrew calendar', 'Heinrich Nordhoff', 'Helen Traubel', 'Helsinki', 'Henri Bretonnet', 'Henry H. Bliss', 'Henry Ware Lawton', 'Herbie Faye', 'Hillel Oppenheimer', 'Hindu calendar', 'Hoagy Carmichael', 'Holocene calendar', 'Horatio Alger, Jr.', 'Hugh Grosvenor, 1st Duke of Westminster', 'Humphrey Bogart', 'ISBN (identifier)', 'ISSN (identifier)', 'Ian Clunies Ross', 'Iceland', 'Ida Kamińska', 'Igbo calendar', 'Illinois Wesleyan University', 'Independence', 'Indian national calendar', 'Indra Devi', 'Infrastructure', 'International Council of Nurses', 'Iranian calendars', 'Iron Guard', 'Irving Thalberg', 'Iskander Mirza', 'Islamic calendar', 'Jack Beresford', 'James Cagney', 'James J. Jeffries', 'James V. Allred', 'Jane Mitchel', 'Janet Lewis', 'January 1', 'January 10', 'January 11', 'January 12', 'January 14', 'January 15', 'January 17', 'January 19', 'January 20', 'January 21', 'January 22', 'January 23', 'January 25', 'January 27', 'January 29', 'January 3', 'January 30', 'January 31', 'January 6', 'January 7', 'January 8', 'Japanese calendar', 'Javanese calendar', 'Jean-Étienne Valluy', 'Jean Goldkette', 'Jean Sibelius', 'Jean de Brunhoff', 'Jeralean Talley', 'Jesse Wallace', 'Jibanananda Das', 'Jimmie Davis', 'Joan Stevenson Abbott', 'Jobyna Ralston', 'Johan Vaaler', 'Johann Köler', 'Johann Strauss II', 'John Barbirolli', 'John Bodkin Adams', 'John Fearns Nicoll', 'John Gilbert (actor)', 'John Hasbrouck Van Vleck', 'John Marshall Harlan II', 'John Marshall Law School (Chicago)', 'John Qualen', 'John Sparkman', 'John Warburton (actor)', 'Jorge Luis Borges', 'Joseph Le Brix', 'Juan Trippe', 'Julian calendar', 'Julius Hermann Moritz Busch', 'Julius Vogel', 'July 1', 'July 10', 'July 11', 'July 12', 'July 14', 'July 15', 'July 16', 'July 17', 'July 18', 'July 20', 'July 21', 'July 22', 'July 23', 'July 24', 'July 27', 'July 29', 'July 30', 'July 31', 'July 4', 'July 5', 'July 6', 'July 7', 'June 1', 'June 10', 'June 11', 'June 12', 'June 13', 'June 16', 'June 17', 'June 18', 'June 19', 'June 2', 'June 20', 'June 22', 'June 24', 'June 25', 'June 26', 'June 27', 'June 29', 'June 3', 'June 30', 'June 4', 'June 5', 'June 7', 'June 9', 'Jupiter', 'Juvenile court', 'Kali Yuga', 'Kamala Nehru', 'Karl, Freiherr von Prel', 'Karl Diebitsch', 'Katarina Marinič', 'Kazi Nazrul Islam', 'Kaʻiulani', 'Kenjiro Takayanagi', 'Kimberley, Northern Cape', 'King of Swaziland', 'Kings of Easter Island', 'Knattspyrnufélag Reykjavíkur', 'Konstantinos Tsatsos', 'Korean calendar', 'LCCN (identifier)', 'Labotsibeni Mdluli', 'Lao She', 'Lascăr Catargiu', 'Lavrentiy Beria', 'Leo Najo', 'Leo von Caprivi', 'Lie group', "Liebig's Extract of Meat Company", 'Lillian Disney', 'List of 19th-century religious leaders', 'List of Vice Presidents of the United States', 'List of decades, centuries, and millennia', 'List of governors of dependent territories in the 19th century', 'List of political entities in the 19th century', 'List of state leaders in 1899', 'List of years', 'Long Island', 'Lotte Reiniger', 'Lucchese crime family', 'Lyman Lemnitzer', 'László Bíró', 'Ma Barker', 'Macfarlane Burnet', 'Madge Bellamy', 'Mahdist War', 'Malolos', 'Manteo, North Carolina', 'Manuel Carrillo Tablas', 'Manuel dos Reis Machado', 'Maple Leaf Rag', 'Marcel Achard', 'March 1', 'March 11', 'March 12', 'March 13', 'March 18', 'March 2', 'March 20', 'March 21', 'March 24', 'March 27', 'March 28', 'March 29', 'March 3', 'March 30', 'March 31', 'March 4', 'March 6', 'March 8', 'Margaretta Riley', 'Margarito Flores García', 'Maria Redaelli-Granoli', 'Marie Goegg-Pouchoulin', 'Mars', 'Marshall Taylor', 'Martha M. Place', 'Martin Luther King Sr.', 'Mary Petty', 'Master of the Rolls', 'Maurice Rose', 'Max Petitpierre', 'Max Theiler', 'May 10', 'May 12', 'May 13', 'May 14', 'May 15', 'May 17', 'May 18', 'May 20', 'May 23', 'May 24', 'May 25', 'May 26', 'May 3', 'May 30', 'May 31', 'May 6', 'May 8', 'Meiji period', 'Melbourne', 'Mercury (planet)', 'Meyer Boskey', 'Miele', 'Miguel Ángel Asturias', 'Mikhail Gromov (military)', 'Mildred Trotter', 'Mile-a-Minute Murphy', 'Minguo calendar', 'Minister of Foreign Affairs of the Netherlands', 'Missouri', 'Mona Bruns', 'Montevideo', 'Montreal', 'Mount Kenya', 'Mount Rainier National Park', 'NEC Corporation', 'Nanakshahi calendar', 'Natural disaster', 'Nevil Shute', 'New Richmond, Wisconsin', 'New York City', 'New moon', "Newsboys' strike of 1899", 'Ngwane V', 'Nicholas II of Russia', 'Nicolae Cambrea', 'Nicolai Hanson', 'Nie Rongzhen', 'Niihama', 'Nikolay Bogolyubov (actor)', 'Nobel Memorial Prize in Economic Sciences', 'Nobel Prize in Economics', 'Nobel Prize in Literature', 'Nobel Prize in Physics', 'Nobel Prize in Physiology or Medicine', 'Nome, Alaska', 'Nome Gold Rush', 'North Carolina', 'North Carolina General Assembly', 'November 11', 'November 13', 'November 15', 'November 16', 'November 17', 'November 18', 'November 19', 'November 21', 'November 22', 'November 23', 'November 24', 'November 26', 'November 28', 'November 29', 'November 4', 'November 5', 'November 6', 'November 7', 'November 8', 'Noël Coward', 'Nureddine Rifai', 'Occult', 'Ocean liner', 'October 1', 'October 11', 'October 13', 'October 14', 'October 19', 'October 2', 'October 20', 'October 22', 'October 23', 'October 24', 'October 25', 'October 29', 'October 3', 'October 30', 'October 31', 'October 4', 'October 5', 'October 9', 'Odus Mitchell', 'Olympique de Marseille', 'Opel', 'Oracle bone', 'Orange Free State', 'Osaka', 'Oscar Zariski', 'Osman Achmatowicz', 'Ossining (town), New York', 'Othniel Charles Marsh', 'Otto Klemperer (physicist)', 'Outer Banks', 'Oxo (food)', 'P. L. Travers', 'Panagiotis Pipinelis', 'Paperclip', 'Pascual Ortega Portales', "Pat O'Brien (actor)", 'Paul-Henri Spaak', 'Paul Christoph Mangelsdorf', 'Paul Hermann Müller', 'Paul Kelly (actor)', 'Paul Reuter', 'Pearl Hart', 'Penn Symons', 'Percy Lavon Julian', 'Percy Pilcher', 'Peter Wessel Zapffe', 'Philippine–American War', 'Phillips Petroleum Company', 'Pierre Berton', 'Pieter Rijke', 'Pig (zodiac)', 'Pranav Dhanawade', 'President of Austria', 'President of Brazil', 'President of Germany', 'President of Poland', 'President of Turkey', 'President of the Philippines', 'Prime Minister of Belgium', 'Prime Minister of India', 'Prime Minister of Lebanon', 'Prime Minister of Sri Lanka', 'Princess Marie Louise of Bourbon-Parma', 'Queen Victoria', 'Queens', 'RMS Oceanic (1899)', 'Rabih az-Zubayr', 'Ragtime', 'Ramon Novarro', 'Ray Arcel', 'Ray Morehart', 'Regnal years of English monarchs', 'Republic of Acre', 'Republic of China (1912–1949)', 'Reykjavík', 'Richard Hauptmann', 'Riro Kāinga', 'Robert Bunsen', 'Robert Casadesus', 'Robert G. Ingersoll', 'Roman Catholic', 'Roman numerals', 'Romualdo Pacheco', 'Ronald Armstrong-Jones', 'Royal Red Cross', 'Rufino Tamayo', 'Russia', 'Russification of Finland', 'Ruth Bird', 'S. W. R. D. Bandaranaike', 'SK Rapid Wien', 'SS Great Eastern', 'SS St. Paul', 'Salvador, Bahia', 'Sam Newfield', 'Sarah Warren Keeler', 'Saturn', 'Scott Joplin', 'Second Boer War', 'September 1', 'September 11', 'September 12', 'September 13', 'September 17', 'September 18', 'September 19', 'September 2', 'September 21', 'September 23', 'September 28', 'September 3', 'September 6', 'September 9', 'Seán Lemass', 'Shikoku', 'Siege of Kimberley', 'Siege of Ladysmith', 'Siege of Mafeking', 'Signe Amundsen', 'Sing Sing', 'Slovenia', 'Snow', 'Sobhuza II', 'Sobhuza II of Swaziland', 'Social Democratic Party of Germany', 'Soft drink', 'Solar System', 'Solomon Braun', 'Sophus Lie', 'Soraya Tarzi', 'South African Republic', 'Southern Cross Expedition', 'Spanish Empire', 'Spanish–American War', 'Stanford Axe', 'Stanford University', 'Stanisław Swianiewicz', 'Staten Island', 'Sudan', 'Sumitomo', 'Suntory', 'Susannah Mushatt Jones', 'Suzanne Lenglen', 'Symphony No. 1 (Sibelius)', 'T. E. Ellis', 'Takuma Nishimura', 'Tassilo von Heydebrand und der Lasa', 'Tau Kappa Epsilon', 'Teuku Umar', 'Thai solar calendar', 'The Church of Jesus Christ of Latter-day Saints', 'The Hague', 'The Needles', 'Thomas A. Dorsey', 'Thomas Henry Ismay', 'Tibetan calendar', 'Timken Company', 'Timken Roller Bearing Company', 'Tom C. Clark', 'Transatlantic crossing', 'Treaty of Paris (1898)', 'Trinidad Roxas', 'Tsleil-Waututh First Nation', 'United States Army', 'United States Congress', 'United States Senate', 'University of California', 'University of California, Berkeley', 'Uranus', 'Uruguay', 'Valparaíso', 'Venus', 'Vera Caspary', 'Vernon Huber', 'Vice President of the United States', 'Viceroy of India', 'Vienna', 'Vikram Samvat', 'Vincas Kudirka', 'Vinci SA', 'Virginia M. Alexander', 'Virginia Oldoini, Countess of Castiglione', 'Vladimir Nabokov', 'Voting machine', 'Waite Hoyt', 'Wake Island', 'Walter Beall', 'Walter Lantz', 'Washington (state)', 'White Star Line', 'Wildlife Conservation Society', 'William Brett, 1st Viscount Esher', 'William Henry Flower', 'William Henry Webb', 'William P. Sprague', 'Wireless telegraphy', 'Woody Woodpecker', 'World Digital Library', 'Yasunari Kawabata', 'Yitzhak Lamdan', 'Ypsilanti, Michigan', 'Zeppelin LZ 1']
contextfile = open("/Volumes/My Passport for Mac/python_author_assistant_allsavefile.txt",'w')
contextfile.write(str(second_order_pages))
print("now second order...")
#print(second_order_pages)
#ic(first_order_pages)
person_page = "" # clear
#this = osextract(['James Moriarty','Sherlock Holmes','Arthur Conan Doyle','Harry Houdini','Queen Victoria','Osborne House','Jack the Ripper'])
#todo -->> this = osextract(primary_characters)
these_characters = []
pbar = second_order_pages
#pbar = tqdm(primary_characters)
densityscore = 0 # init
person_page = person_page.lower()
these_characters2 = [] #init
# see if the person_page text contains the perp
pbar2 = tqdm(pbar)
for link in pbar2:
# for x in second_order_pages:
try:
x = wikipedia.page(x).content
except Exception:
x = "n/a"
densityscore = 0
#densityscore = findtheseinsamedoc(people,links,link)
#densityscore_primary = findtheseinsamedoc(primary_characters,links,x)
'''
if len(densityscore) == 6:
print("level 6 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 7:
print("level 7 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 8:
print("level 8 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 9:
print("level 9 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 9:
print("HIGH LEVEL (9) connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 10:
print("<*> high connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 11:
print("<**> level 11 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 12:
print("<***> level 12 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 13:
print("<***> level 13 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) == 14:
print("<****> level 14 connection between ",link," and ",x[0:20]," ds:",len(densityscore))
'''
pbar2.set_description("term: %s" % link)
'''if len(densityscore) > 15 and len(densityscore)<20:
print("<*****> HIGH LEVEL (15+) connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) >= 20 and len(densityscore)<30:
print("<*****> HIGHEST LEVEL (20-30) connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) > 30 and len(densityscore)<40:
print("<*****> HIGH LEVEL (30-40) connection between ",link," and ",x[0:20]," ds:",len(densityscore))
if len(densityscore) >= 40:
print("<*****> HIGHEST LEVEL (40+) connection between ",link," and ",x[0:20]," ds:",len(densityscore))'''
#?pbar.set_description("term: %s" % len(densityscore))
linefile = open('/Volumes/My Passport for Mac/SchoolApp/density_tracker.txt','a+')
writeline_density = link + "," + link[0:20] + "," + str(densityscore)
linefile.write(writeline_density)
linefile.write('\n')
linefile.close()
link = link.lower()
statsline = link + ","
try:
person_page = wikipedia.page(link).content
except Exception:
try:
person_page = wikipedia.page(str(wikipedia.search(link)[0])).content
#person_pagelinks = wikipedia.page(str(wikipedia.search(link)[0])).links
except Exception:
person_page = "n/a"
#person = link # the current subject
# quick check of the original group on current page
probability_is_person = 0 # init
probability_is_place = 0
probability_is_interesting = 0 #init
count = 0 # init
scenedensity = 0 # init
# scan for unusual volumes of character density
for var in people:
strange = [m.start() for m in re.finditer("psych", person_page)]
occurances = [m.start() for m in re.finditer(var, person_page)]
count+=len(occurances)+ len(strange) # count how many times the characters are mentioned
scenedensity+=len(occurances)
probability_is_interesting = count #? this will be important later
character_density = scenedensity
#// to determine if this is a person search page for the words "born" and "died"
#?or ("Demographics" in person_page and "Places of interest" in person_page and "Geography" in person_page):
for var in person_markers:
if var in person_page:
probability_is_person += 1
if var in person_markers_likely:
probability_is_person += 2
if ("born" in person_page and "died" in person_page ):
probability_is_person += 2
k = link.split() # split link into its words to find names hidden inside
for word in k:
if word in possible_names_male or link in possible_names_female:
probability_is_person += 1
for var in place_markers:
if var in person_page:
probability_is_place += 1
if var in person_markers_likely:
probability_is_place += 2
cases = [', prince of','bishop','baron','Jr.','Sr.','Mr.','earl','shire',' v ',' vi ','vii',' ix ','the church of','ii','iii','iv','iiv','prince','king','princess','queen']
events = ['war','battle','tower','clock','church','castle','square','street','avenue','plaza','square','fountain','township','bridge','museum','library','commons','town','city']
case = [' of ']
introlines = person_page[0:1000]
firstlines = person_page[0:100]
for var in case:
if var in firstlines:
probability_is_person += 1
for var in introlines:
if var in cases:
probability_is_person += 1
for var in introlines:
if var in events:
probability_is_place += 1
if probability_is_place >= 3 or probability_is_person >= 3:
include = True
if verbose == True:
print(link," <-- found something (INT: ",probability_is_interesting,"cd:",character_density,")")
else:
print(link," is likely not person or place... it has a (INT) score of: ", probability_is_interesting," (cd: ",character_density,")")
if probability_is_interesting >= 6:
include = True
else:
include = False
# either a place or a person
#print("likely person --> ",link)
if include == True:
#todo --> found a useful entity
#extrafile_name = "/Volumes/My Passport for Mac/Wikipedia/SupportingCharacters/"+ link + "_contextfile.txt"
#extrafile = open(extrafile_name,'a+')
#extrafile.close()
# todo -->> modifying this
if link not in these_characters:
these_characters.append(link)
if link not in these_characters2:
these_characters2.append(link)
densityscore_inner = findtheseinsamedoc(people,these_characters2,person_page)
contextfile.close()
this = osextract(these_characters)
thislist.append(this)
return thislist
# now have it run gutenberg on the second order pages
testinggroup = ['Harry Houdini', 'Richard Pearse', 'Bess Houdini', 'H.P. Lovecraft', 'C.S. Lewis', 'Winston Churchill', 'Abraham Lincoln', 'John Wilkes Booth', 'Professor Joseph Bell', 'Edgar Allan Poe', 'Auguste Dupin', 'President Kennedy', 'Lee Harvey Oswald', 'Jack Ruby', 'Ernest Shackleton', 'Amelia Earhart', 'Harry S. Truman', 'Albert Einstein', 'Charles Lindbergh', 'J.P. Morgan Jr. ', 'J.P. Morgan Sr. ', 'Alexander Graham Bell', 'Franklin D. Roosevelt']
testgroup = ['Marconi']
#osextract_forcommonalities()
#this = osextract(testinggroup)
main(False) # run program without defaults by using "False" as argument
#get_commonality_score(string1,string2)
''''
a_file = open("data.pkl", "wb")
pickle.dump(dictionary_data, a_file)
a_file.close()
# to pull the saved dict
a_file = open("data.pkl", "rb")
output = pickle.load(a_file)
print(output)
''' | 173.499065 | 182,764 | 0.685071 | 34,141 | 278,466 | 5.575877 | 0.166281 | 0.01765 | 0.006934 | 0.003929 | 0.903523 | 0.899572 | 0.896273 | 0.892728 | 0.890742 | 0.886319 | 0 | 0.020454 | 0.176923 | 278,466 | 1,605 | 182,765 | 173.499065 | 0.80965 | 0.702937 | 0 | 0.526984 | 0 | 0.001058 | 0.381014 | 0.020792 | 0.005291 | 0 | 0 | 0.006231 | 0 | 1 | 0.016931 | false | 0.040212 | 0.04127 | 0 | 0.071958 | 0.046561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2a280f0468af1c11a70bde0f7d1b43f825a41633 | 984 | py | Python | ztag/annotations/dlink_voip.py | justinbastress/ztag | 137b754dfe22b7d6e0945ae33def372ec67d092b | [
"Apache-2.0"
] | 107 | 2015-10-13T16:03:21.000Z | 2021-11-08T10:53:07.000Z | ztag/annotations/dlink_voip.py | justinbastress/ztag | 137b754dfe22b7d6e0945ae33def372ec67d092b | [
"Apache-2.0"
] | 73 | 2015-10-14T17:27:10.000Z | 2018-10-01T14:32:44.000Z | ztag/annotations/dlink_voip.py | justinbastress/ztag | 137b754dfe22b7d6e0945ae33def372ec67d092b | [
"Apache-2.0"
] | 36 | 2015-10-14T17:13:20.000Z | 2021-10-05T19:41:10.000Z | from ztag.annotation import *
class DLinkVoIPRouter(Annotation):
protocol = protocols.HTTP
subprotocol = protocols.HTTP.GET
port = None
def process(self, obj, meta):
if obj["title"].strip() == "D-Link VoIP Router":
meta.global_metadata.manufacturer = Manufacturer.DLINK
meta.global_metadata.product = "VoIP Router"
meta.global_metadata.device_type = Type.SOHO_ROUTER
meta.tags.add("embedded")
return meta
class DLinkWirelessRouter(Annotation):
protocol = protocols.HTTP
subprotocol = protocols.HTTP.GET
port = None
def process(self, obj, meta):
if obj["title"].strip() == "D-LINK SYSTEMS, INC. | WIRELESS ROUTER":
meta.global_metadata.manufacturer = Manufacturer.DLINK
meta.global_metadata.product = "Wireless Router"
meta.global_metadata.device_type = Type.SOHO_ROUTER
meta.tags.add("embedded")
return meta
| 30.75 | 76 | 0.646341 | 108 | 984 | 5.796296 | 0.37963 | 0.095847 | 0.172524 | 0.153355 | 0.875399 | 0.837061 | 0.837061 | 0.837061 | 0.837061 | 0.837061 | 0 | 0 | 0.255081 | 984 | 31 | 77 | 31.741935 | 0.854025 | 0 | 0 | 0.695652 | 0 | 0 | 0.109868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.565217 | 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 | 1 | 0 | 0 | 7 |
2a34db0292dcc15f410fbf914116d7c98f477722 | 2,367 | py | Python | mainService/mainService/apps/core_sample/migrations/0017_auto_20191025_1413.py | Godis715/Core-Sample-Analysis | 892b3d322e9ce86dab0da9754b902b504b2e0d8b | [
"Apache-2.0"
] | 2 | 2019-09-18T10:59:21.000Z | 2019-10-02T16:50:05.000Z | mainService/mainService/apps/core_sample/migrations/0017_auto_20191025_1413.py | Godis715/Core-Sample-Analysis | 892b3d322e9ce86dab0da9754b902b504b2e0d8b | [
"Apache-2.0"
] | 78 | 2019-09-20T16:56:18.000Z | 2022-03-12T00:04:37.000Z | mainService/mainService/apps/core_sample/migrations/0017_auto_20191025_1413.py | Godis715/Core-Sample-Analysis | 892b3d322e9ce86dab0da9754b902b504b2e0d8b | [
"Apache-2.0"
] | 1 | 2019-10-03T20:49:34.000Z | 2019-10-03T20:49:34.000Z | # Generated by Django 2.2.6 on 2019-10-25 11:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core_sample', '0016_auto_20191025_1350'),
]
operations = [
migrations.AlterField(
model_name='carbon_layer',
name='bottom',
field=models.PositiveIntegerField(verbose_name='Низ (см)'),
),
migrations.AlterField(
model_name='carbon_layer',
name='top',
field=models.PositiveIntegerField(verbose_name='Вверх (см)'),
),
migrations.AlterField(
model_name='core_sample',
name='bottom',
field=models.PositiveIntegerField(verbose_name='Низ (см)'),
),
migrations.AlterField(
model_name='core_sample',
name='top',
field=models.PositiveIntegerField(verbose_name='Вверх (см)'),
),
migrations.AlterField(
model_name='fragment',
name='bottom',
field=models.PositiveIntegerField(verbose_name='Низ (см)'),
),
migrations.AlterField(
model_name='fragment',
name='top',
field=models.PositiveIntegerField(verbose_name='Вверх (см)'),
),
migrations.AlterField(
model_name='oil_layer',
name='bottom',
field=models.PositiveIntegerField(verbose_name='Низ (см)'),
),
migrations.AlterField(
model_name='oil_layer',
name='top',
field=models.PositiveIntegerField(verbose_name='Вверх (см)'),
),
migrations.AlterField(
model_name='rock_layer',
name='bottom',
field=models.PositiveIntegerField(verbose_name='Низ (см)'),
),
migrations.AlterField(
model_name='rock_layer',
name='top',
field=models.PositiveIntegerField(verbose_name='Вверх (см)'),
),
migrations.AlterField(
model_name='ruin_layer',
name='bottom',
field=models.PositiveIntegerField(verbose_name='Низ (см)'),
),
migrations.AlterField(
model_name='ruin_layer',
name='top',
field=models.PositiveIntegerField(verbose_name='Вверх (см)'),
),
]
| 31.986486 | 73 | 0.560625 | 208 | 2,367 | 6.197115 | 0.206731 | 0.186191 | 0.232739 | 0.269977 | 0.881303 | 0.881303 | 0.881303 | 0.837083 | 0.8045 | 0.8045 | 0 | 0.019171 | 0.316857 | 2,367 | 73 | 74 | 32.424658 | 0.777984 | 0.019011 | 0 | 0.895522 | 1 | 0 | 0.136207 | 0.009914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
2a7e2d45e4cd38a1fd01b25dd9da600bff7c5051 | 7,125 | py | Python | test_util.py | lucasb-eyer/DeepFried | b1a8c8c9c39748a2c5505025b54bb279c9208b2c | [
"MIT"
] | 3 | 2016-01-08T23:45:44.000Z | 2020-02-13T18:45:13.000Z | test_util.py | lucasb-eyer/DeepFried | b1a8c8c9c39748a2c5505025b54bb279c9208b2c | [
"MIT"
] | 18 | 2015-03-05T22:48:51.000Z | 2015-10-29T16:27:42.000Z | test_util.py | lucasb-eyer/DeepFried | b1a8c8c9c39748a2c5505025b54bb279c9208b2c | [
"MIT"
] | 1 | 2018-06-11T14:39:51.000Z | 2018-06-11T14:39:51.000Z | #!/usr/bin/env python3
import unittest
import DeepFried.util as u
import numpy as np
import numpy.testing as npt
class TestUtilFunctions(unittest.TestCase):
def test_tuplize(self):
self.assertEqual(u.tuplize(1), (1,))
self.assertEqual(u.tuplize((1,)), (1,))
self.assertEqual(u.tuplize((1,2)), (1,2))
self.assertEqual(u.tuplize([1]), (1,))
self.assertEqual(u.tuplize([1], lists=False), ([1],))
self.assertEqual(u.tuplize("a"), ("a",))
self.assertEqual(u.tuplize("ab"), ("ab",))
self.assertEqual(u.tuplize(None), None)
self.assertEqual(u.tuplize(None, tuplize_none=True), tuple())
def test_maybetuple(self):
self.assertEqual(u.maybetuple((0,1)), (0,1))
self.assertEqual(u.maybetuple((0,)), 0)
self.assertEqual(u.maybetuple(range(2)), (0,1))
self.assertEqual(u.maybetuple(range(1)), 0)
with self.assertRaises(TypeError):
u.maybetuple(3)
def test_collect(self):
self.assertEqual(u.collect([0, 1, 2]), (0,1,2))
self.assertEqual(u.collect(range(3)), (0,1,2))
self.assertEqual(u.collect([None, (0,1), 2, None]), (0,1,2))
def test_batched_1d(self):
# 1D array with fitting size
l = list(u.batched(3, np.arange(6)))
self.assertEqual(len(l), 2)
npt.assert_array_equal(l[0], [0,1,2])
npt.assert_array_equal(l[1], [3,4,5])
# 1D arrays with fitting size
l = list(u.batched(3, np.arange(6), np.arange(6)))
self.assertEqual(len(l), 2)
npt.assert_array_equal(l[0][0], [0,1,2])
npt.assert_array_equal(l[0][1], [0,1,2])
npt.assert_array_equal(l[1][0], [3,4,5])
npt.assert_array_equal(l[1][1], [3,4,5])
# 1D array with leftover
l = list(u.batched(3, np.arange(7)))
self.assertEqual(len(l), 3)
npt.assert_array_equal(l[0], [0,1,2])
npt.assert_array_equal(l[1], [3,4,5])
npt.assert_array_equal(l[2], [6])
# 1D arrays with leftover
l = list(u.batched(3, np.arange(7), np.arange(7)))
self.assertEqual(len(l), 3)
npt.assert_array_equal(l[0][0], [0,1,2])
npt.assert_array_equal(l[0][1], [0,1,2])
npt.assert_array_equal(l[1][0], [3,4,5])
npt.assert_array_equal(l[1][1], [3,4,5])
npt.assert_array_equal(l[2][0], [6])
npt.assert_array_equal(l[2][1], [6])
def test_batched_2d(self):
# 2D array with fitting size
l = list(u.batched(3, np.array([[2*i, 2*i+1] for i in range(6)])))
self.assertEqual(len(l), 2)
npt.assert_array_equal(l[0], [[0,1],[2,3],[4,5]])
npt.assert_array_equal(l[1], [[6,7],[8,9],[10,11]])
# 2D arrays with fitting size
l = list(u.batched(3, np.array([[2*i, 2*i+1] for i in range(6)]), np.arange(6)))
self.assertEqual(len(l), 2)
npt.assert_array_equal(l[0][0], [[0,1],[2,3],[4,5]])
npt.assert_array_equal(l[0][1], [0, 1, 2])
npt.assert_array_equal(l[1][0], [[6,7],[8,9],[10,11]])
npt.assert_array_equal(l[1][1], [3, 4, 5])
# 2D array with leftover
l = list(u.batched(3, np.array([[2*i, 2*i+1] for i in range(7)])))
self.assertEqual(len(l), 3)
npt.assert_array_equal(l[0], [[0,1],[2,3],[4,5]])
npt.assert_array_equal(l[1], [[6,7],[8,9],[10,11]])
npt.assert_array_equal(l[2], [[12,13]])
# 2D arrays with leftover
l = list(u.batched(3, np.array([[2*i, 2*i+1] for i in range(7)]), np.arange(7)))
self.assertEqual(len(l), 3)
npt.assert_array_equal(l[0][0], [[0,1],[2,3],[4,5]])
npt.assert_array_equal(l[0][1], [0, 1, 2])
npt.assert_array_equal(l[1][0], [[6,7],[8,9],[10,11]])
npt.assert_array_equal(l[1][1], [3, 4, 5])
npt.assert_array_equal(l[2][0], [[12,13]])
npt.assert_array_equal(l[2][1], [6])
def test_batched_shuf_1d(self):
# 1D array with fitting size
l = list(u.batched(3, np.arange(6), shuf=True))
self.assertEqual(len(l), 2)
npt.assert_array_equal(sorted(np.concatenate(l)), np.arange(6))
# 1D arrays with fitting size
l = list(u.batched(3, np.arange(6), np.arange(6), shuf=True))
self.assertEqual(len(l), 2)
npt.assert_array_equal(l[0][0], l[0][1])
npt.assert_array_equal(l[1][0], l[1][1])
npt.assert_array_equal(sorted(np.concatenate(list(zip(*l))[0])), np.arange(6))
npt.assert_array_equal(sorted(np.concatenate(list(zip(*l))[1])), np.arange(6))
# 1D array with leftover
l = list(u.batched(3, np.arange(7), shuf=True))
self.assertEqual(len(l), 3)
self.assertEqual(len(l[-1]), 1)
npt.assert_array_equal(sorted(np.concatenate(l)), np.arange(7))
# 1D arrays with leftover
l = list(u.batched(3, np.arange(7), np.arange(7)))
self.assertEqual(len(l), 3)
self.assertEqual(len(l[-1][0]), 1)
self.assertEqual(len(l[-1][1]), 1)
npt.assert_array_equal(l[0][0], l[0][1])
npt.assert_array_equal(l[1][0], l[1][1])
npt.assert_array_equal(l[2][0], l[2][1])
npt.assert_array_equal(sorted(np.concatenate(list(zip(*l))[0])), np.arange(7))
npt.assert_array_equal(sorted(np.concatenate(list(zip(*l))[1])), np.arange(7))
def test_batched_shuf_2d(self):
# Here we mostly test for the length of the batches and whether they
# still got the same content, NOT their shapes.
# Testing their shapes has been done in `test_Batched_2d` and this
# should only test the shuffling.
a6 = np.array([[2*i, 2*i+1] for i in range(6)])
a7 = np.array([[2*i, 2*i+1] for i in range(7)])
# 2D array with fitting size
l = list(u.batched(3, a6, shuf=True))
self.assertEqual(len(l), 2)
npt.assert_array_equal(sorted(np.concatenate([i.flatten() for i in l])), a6.flatten())
# 2D arrays with fitting size
l = list(u.batched(3, a6, a6, shuf=True))
self.assertEqual(len(l), 2)
npt.assert_array_equal(l[0][0], l[0][1])
npt.assert_array_equal(l[1][0], l[1][1])
l1, l2 = zip(*l)
npt.assert_array_equal(sorted(np.concatenate([i.flatten() for i in l1])), a6.flatten())
npt.assert_array_equal(sorted(np.concatenate([i.flatten() for i in l2])), a6.flatten())
# 2D array with leftover
l = list(u.batched(3, a7, shuf=True))
self.assertEqual(len(l), 3)
self.assertEqual(l[-1].shape, (1,2))
npt.assert_array_equal(sorted(np.concatenate([i.flatten() for i in l])), a7.flatten())
# 2D arrays with leftover
l = list(u.batched(3, a7, a7))
self.assertEqual(len(l), 3)
npt.assert_array_equal(l[0][0], l[0][1])
npt.assert_array_equal(l[1][0], l[1][1])
npt.assert_array_equal(l[2][0], l[2][1])
l1, l2 = zip(*l)
npt.assert_array_equal(sorted(np.concatenate([i.flatten() for i in l1])), a7.flatten())
npt.assert_array_equal(sorted(np.concatenate([i.flatten() for i in l2])), a7.flatten())
| 39.583333 | 95 | 0.578526 | 1,197 | 7,125 | 3.343358 | 0.083542 | 0.116942 | 0.181909 | 0.246877 | 0.844578 | 0.807346 | 0.787856 | 0.774363 | 0.773363 | 0.73963 | 0 | 0.069059 | 0.225684 | 7,125 | 179 | 96 | 39.804469 | 0.656335 | 0.089684 | 0 | 0.459016 | 0 | 0 | 0.000928 | 0 | 0 | 0 | 0 | 0 | 0.729508 | 1 | 0.057377 | false | 0 | 0.032787 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
aa7704a2399ec51719731275adfd1a5507aef3d5 | 49,474 | py | Python | swagger_client/api/users_api.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | 3 | 2021-06-16T20:34:41.000Z | 2021-06-16T23:54:36.000Z | swagger_client/api/users_api.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | null | null | null | swagger_client/api/users_api.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Deep Lynx
The construction of megaprojects has consistently demonstrated challenges for project managers in regard to meeting cost, schedule, and performance requirements. Megaproject construction challenges are common place within megaprojects with many active projects in the United States failing to meet cost and schedule efforts by significant margins. Currently, engineering teams operate in siloed tools and disparate teams where connections across design, procurement, and construction systems are translated manually or over brittle point-to-point integrations. The manual nature of data exchange increases the risk of silent errors in the reactor design, with each silent error cascading across the design. These cascading errors lead to uncontrollable risk during construction, resulting in significant delays and cost overruns. Deep Lynx allows for an integrated platform during design and operations of mega projects. The Deep Lynx Core API delivers a few main features. 1. Provides a set of methods and endpoints for manipulating data in an object oriented database. This allows us to store complex datatypes as records and then to compile them into actual, modifiable objects at run-time. Users can store taxonomies or ontologies in a readable format. 2. Provides methods for storing and retrieving data in a graph database. This data is structured and validated against the aformentioned object oriented database before storage. # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from swagger_client.api_client import ApiClient
class UsersApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def accept_container_invite(self, token, **kwargs): # noqa: E501
"""AcceptContainerInvite # noqa: E501
Accepts a container invite for the current user. The token received in the container invite previously must be attached to this request as a query parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.accept_container_invite(token, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str token: the token supplied in the container invite (required)
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.accept_container_invite_with_http_info(token, **kwargs) # noqa: E501
else:
(data) = self.accept_container_invite_with_http_info(token, **kwargs) # noqa: E501
return data
def accept_container_invite_with_http_info(self, token, **kwargs): # noqa: E501
"""AcceptContainerInvite # noqa: E501
Accepts a container invite for the current user. The token received in the container invite previously must be attached to this request as a query parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.accept_container_invite_with_http_info(token, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str token: the token supplied in the container invite (required)
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['token'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method accept_container_invite" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'token' is set
if ('token' not in params or
params['token'] is None):
raise ValueError("Missing the required parameter `token` when calling `accept_container_invite`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
if 'token' in params:
query_params.append(('token', params['token'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/users/invite', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Generic200Response', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def assign_user_role(self, body, container_id, **kwargs): # noqa: E501
"""AssignUserRole # noqa: E501
Assign a role to a user, roles must consist of role name and domain # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.assign_user_role(body, container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param AssignRoleRequest body: (required)
:param str container_id: (required)
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.assign_user_role_with_http_info(body, container_id, **kwargs) # noqa: E501
else:
(data) = self.assign_user_role_with_http_info(body, container_id, **kwargs) # noqa: E501
return data
def assign_user_role_with_http_info(self, body, container_id, **kwargs): # noqa: E501
"""AssignUserRole # noqa: E501
Assign a role to a user, roles must consist of role name and domain # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.assign_user_role_with_http_info(body, container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param AssignRoleRequest body: (required)
:param str container_id: (required)
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body', 'container_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method assign_user_role" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `assign_user_role`") # noqa: E501
# verify the required parameter 'container_id' is set
if ('container_id' not in params or
params['container_id'] is None):
raise ValueError("Missing the required parameter `container_id` when calling `assign_user_role`") # noqa: E501
collection_formats = {}
path_params = {}
if 'container_id' in params:
path_params['container_id'] = params['container_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/containers/{container_id}/users/roles', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Generic200Response', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_user(self, user_id, **kwargs): # noqa: E501
"""DeleteUser # noqa: E501
Deletes the specified user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_user(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str user_id: (required)
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_user_with_http_info(user_id, **kwargs) # noqa: E501
else:
(data) = self.delete_user_with_http_info(user_id, **kwargs) # noqa: E501
return data
def delete_user_with_http_info(self, user_id, **kwargs): # noqa: E501
"""DeleteUser # noqa: E501
Deletes the specified user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_user_with_http_info(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str user_id: (required)
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_user" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `delete_user`") # noqa: E501
collection_formats = {}
path_params = {}
if 'user_id' in params:
path_params['user_id'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/users/{user_id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Generic200Response', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def invite_user_to_container(self, container_id, **kwargs): # noqa: E501
"""InviteUserToContainer # noqa: E501
Create a new user using the username_password identity type. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.invite_user_to_container(container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param ContainerInvite body:
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.invite_user_to_container_with_http_info(container_id, **kwargs) # noqa: E501
else:
(data) = self.invite_user_to_container_with_http_info(container_id, **kwargs) # noqa: E501
return data
def invite_user_to_container_with_http_info(self, container_id, **kwargs): # noqa: E501
"""InviteUserToContainer # noqa: E501
Create a new user using the username_password identity type. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.invite_user_to_container_with_http_info(container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param ContainerInvite body:
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['container_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method invite_user_to_container" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'container_id' is set
if ('container_id' not in params or
params['container_id'] is None):
raise ValueError("Missing the required parameter `container_id` when calling `invite_user_to_container`") # noqa: E501
collection_formats = {}
path_params = {}
if 'container_id' in params:
path_params['container_id'] = params['container_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/containers/{container_id}/users/invite', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Generic200Response', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_invited_users_for_container(self, container_id, **kwargs): # noqa: E501
"""ListInvitedUsersForContainer # noqa: E501
List all invitations to container. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_invited_users_for_container(container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:return: ListContainerInvitesResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_invited_users_for_container_with_http_info(container_id, **kwargs) # noqa: E501
else:
(data) = self.list_invited_users_for_container_with_http_info(container_id, **kwargs) # noqa: E501
return data
def list_invited_users_for_container_with_http_info(self, container_id, **kwargs): # noqa: E501
"""ListInvitedUsersForContainer # noqa: E501
List all invitations to container. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_invited_users_for_container_with_http_info(container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:return: ListContainerInvitesResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['container_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_invited_users_for_container" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'container_id' is set
if ('container_id' not in params or
params['container_id'] is None):
raise ValueError("Missing the required parameter `container_id` when calling `list_invited_users_for_container`") # noqa: E501
collection_formats = {}
path_params = {}
if 'container_id' in params:
path_params['container_id'] = params['container_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/containers/{container_id}/users/invite', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ListContainerInvitesResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_outstanding_invites(self, **kwargs): # noqa: E501
"""ListOutstandingInvites # noqa: E501
Lists the outstanding container invites for the current user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_outstanding_invites(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: ListUserInvitesResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_outstanding_invites_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.list_outstanding_invites_with_http_info(**kwargs) # noqa: E501
return data
def list_outstanding_invites_with_http_info(self, **kwargs): # noqa: E501
"""ListOutstandingInvites # noqa: E501
Lists the outstanding container invites for the current user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_outstanding_invites_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: ListUserInvitesResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_outstanding_invites" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/users/invites', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ListUserInvitesResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_user_permissions(self, **kwargs): # noqa: E501
"""ListUserPermissions # noqa: E501
List permissions for the user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_user_permissions(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: ListUserPermissionsResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_user_permissions_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.list_user_permissions_with_http_info(**kwargs) # noqa: E501
return data
def list_user_permissions_with_http_info(self, **kwargs): # noqa: E501
"""ListUserPermissions # noqa: E501
List permissions for the user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_user_permissions_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: ListUserPermissionsResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_user_permissions" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/users/permissions', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ListUserPermissionsResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_users(self, **kwargs): # noqa: E501
"""ListUsers # noqa: E501
List users. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_users(async_req=True)
>>> result = thread.get()
:param async_req bool
:param bool count: boolean indicating if the return value should be a count only
:param bool load_keys: if supplied, the API keys for the user will also be returned
:param int limit:
:param int offset:
:param str sort_by: column to sort results by
:param bool sort_desc: boolean indicating if results should be in descending order
:return: ListUsersResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_users_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.list_users_with_http_info(**kwargs) # noqa: E501
return data
def list_users_with_http_info(self, **kwargs): # noqa: E501
"""ListUsers # noqa: E501
List users. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_users_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param bool count: boolean indicating if the return value should be a count only
:param bool load_keys: if supplied, the API keys for the user will also be returned
:param int limit:
:param int offset:
:param str sort_by: column to sort results by
:param bool sort_desc: boolean indicating if results should be in descending order
:return: ListUsersResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['count', 'load_keys', 'limit', 'offset', 'sort_by', 'sort_desc'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_users" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'count' in params:
query_params.append(('count', params['count'])) # noqa: E501
if 'load_keys' in params:
query_params.append(('loadKeys', params['load_keys'])) # noqa: E501
if 'limit' in params:
query_params.append(('limit', params['limit'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
if 'sort_by' in params:
query_params.append(('sortBy', params['sort_by'])) # noqa: E501
if 'sort_desc' in params:
query_params.append(('sortDesc', params['sort_desc'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/users', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ListUsersResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_users_for_container(self, container_id, **kwargs): # noqa: E501
"""ListUsersForContainer # noqa: E501
List Users for container. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_users_for_container(container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param int limit:
:param int offset:
:return: ListUsersForContainerResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_users_for_container_with_http_info(container_id, **kwargs) # noqa: E501
else:
(data) = self.list_users_for_container_with_http_info(container_id, **kwargs) # noqa: E501
return data
def list_users_for_container_with_http_info(self, container_id, **kwargs): # noqa: E501
"""ListUsersForContainer # noqa: E501
List Users for container. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_users_for_container_with_http_info(container_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param int limit:
:param int offset:
:return: ListUsersForContainerResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['container_id', 'limit', 'offset'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_users_for_container" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'container_id' is set
if ('container_id' not in params or
params['container_id'] is None):
raise ValueError("Missing the required parameter `container_id` when calling `list_users_for_container`") # noqa: E501
collection_formats = {}
path_params = {}
if 'container_id' in params:
path_params['container_id'] = params['container_id'] # noqa: E501
query_params = []
if 'limit' in params:
query_params.append(('limit', params['limit'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/containers/{container_id}/users', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ListUsersForContainerResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_users_roles(self, container_id, user_id, **kwargs): # noqa: E501
"""ListUsersRoles # noqa: E501
List Users' roles # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_users_roles(container_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param str user_id: (required)
:return: ListUserRoles
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_users_roles_with_http_info(container_id, user_id, **kwargs) # noqa: E501
else:
(data) = self.list_users_roles_with_http_info(container_id, user_id, **kwargs) # noqa: E501
return data
def list_users_roles_with_http_info(self, container_id, user_id, **kwargs): # noqa: E501
"""ListUsersRoles # noqa: E501
List Users' roles # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_users_roles_with_http_info(container_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param str user_id: (required)
:return: ListUserRoles
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['container_id', 'user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_users_roles" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'container_id' is set
if ('container_id' not in params or
params['container_id'] is None):
raise ValueError("Missing the required parameter `container_id` when calling `list_users_roles`") # noqa: E501
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `list_users_roles`") # noqa: E501
collection_formats = {}
path_params = {}
if 'container_id' in params:
path_params['container_id'] = params['container_id'] # noqa: E501
if 'user_id' in params:
path_params['user_id'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/containers/{container_id}/users/{user_id}/roles', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ListUserRoles', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def retrieve_user(self, container_id, user_id, **kwargs): # noqa: E501
"""RetrieveUser # noqa: E501
Retrieve a user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.retrieve_user(container_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param str user_id: (required)
:return: GetUserResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.retrieve_user_with_http_info(container_id, user_id, **kwargs) # noqa: E501
else:
(data) = self.retrieve_user_with_http_info(container_id, user_id, **kwargs) # noqa: E501
return data
def retrieve_user_with_http_info(self, container_id, user_id, **kwargs): # noqa: E501
"""RetrieveUser # noqa: E501
Retrieve a user by ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.retrieve_user_with_http_info(container_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str container_id: (required)
:param str user_id: (required)
:return: GetUserResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['container_id', 'user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method retrieve_user" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'container_id' is set
if ('container_id' not in params or
params['container_id'] is None):
raise ValueError("Missing the required parameter `container_id` when calling `retrieve_user`") # noqa: E501
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `retrieve_user`") # noqa: E501
collection_formats = {}
path_params = {}
if 'container_id' in params:
path_params['container_id'] = params['container_id'] # noqa: E501
if 'user_id' in params:
path_params['user_id'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/containers/{container_id}/users/{user_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GetUserResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_user(self, user_id, **kwargs): # noqa: E501
"""UpdateUser # noqa: E501
Updates the specified user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_user(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str user_id: (required)
:param User body:
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_user_with_http_info(user_id, **kwargs) # noqa: E501
else:
(data) = self.update_user_with_http_info(user_id, **kwargs) # noqa: E501
return data
def update_user_with_http_info(self, user_id, **kwargs): # noqa: E501
"""UpdateUser # noqa: E501
Updates the specified user. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_user_with_http_info(user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str user_id: (required)
:param User body:
:return: Generic200Response
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_user" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `update_user`") # noqa: E501
collection_formats = {}
path_params = {}
if 'user_id' in params:
path_params['user_id'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['httpBearer'] # noqa: E501
return self.api_client.call_api(
'/users/{user_id}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Generic200Response', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 40.353997 | 1,455 | 0.616849 | 5,671 | 49,474 | 5.127491 | 0.059601 | 0.050072 | 0.02311 | 0.029713 | 0.921006 | 0.91368 | 0.909107 | 0.900096 | 0.894869 | 0.892978 | 0 | 0.017258 | 0.296095 | 49,474 | 1,225 | 1,456 | 40.386939 | 0.817717 | 0.343756 | 0 | 0.796662 | 0 | 0 | 0.191613 | 0.046797 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037936 | false | 0 | 0.00607 | 0 | 0.100152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aa8aa5f094175f0861edd441cf5777f4f80cbed8 | 29,301 | py | Python | sdk/python/pulumi_alicloud/ecs/ecs_snapshot.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/ecs/ecs_snapshot.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/ecs/ecs_snapshot.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['EcsSnapshotArgs', 'EcsSnapshot']
@pulumi.input_type
class EcsSnapshotArgs:
def __init__(__self__, *,
disk_id: pulumi.Input[str],
category: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
force: Optional[pulumi.Input[bool]] = None,
instant_access: Optional[pulumi.Input[bool]] = None,
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
retention_days: Optional[pulumi.Input[int]] = None,
snapshot_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
"""
The set of arguments for constructing a EcsSnapshot resource.
:param pulumi.Input[str] disk_id: The ID of the disk.
:param pulumi.Input[str] category: The category of the snapshot. Valid Values: `standard` and `flash`.
:param pulumi.Input[str] description: The description of the snapshot.
:param pulumi.Input[bool] force: Specifies whether to forcibly delete the snapshot that has been used to create disks.
:param pulumi.Input[bool] instant_access: Specifies whether to enable the instant access feature.
:param pulumi.Input[int] instant_access_retention_days: Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
:param pulumi.Input[str] resource_group_id: The resource group id.
:param pulumi.Input[int] retention_days: The retention period of the snapshot.
:param pulumi.Input[str] snapshot_name: The name of the snapshot.
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the snapshot.
"""
pulumi.set(__self__, "disk_id", disk_id)
if category is not None:
pulumi.set(__self__, "category", category)
if description is not None:
pulumi.set(__self__, "description", description)
if force is not None:
pulumi.set(__self__, "force", force)
if instant_access is not None:
pulumi.set(__self__, "instant_access", instant_access)
if instant_access_retention_days is not None:
pulumi.set(__self__, "instant_access_retention_days", instant_access_retention_days)
if name is not None:
warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""", DeprecationWarning)
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
if name is not None:
pulumi.set(__self__, "name", name)
if resource_group_id is not None:
pulumi.set(__self__, "resource_group_id", resource_group_id)
if retention_days is not None:
pulumi.set(__self__, "retention_days", retention_days)
if snapshot_name is not None:
pulumi.set(__self__, "snapshot_name", snapshot_name)
if tags is not None:
pulumi.set(__self__, "tags", tags)
@property
@pulumi.getter(name="diskId")
def disk_id(self) -> pulumi.Input[str]:
"""
The ID of the disk.
"""
return pulumi.get(self, "disk_id")
@disk_id.setter
def disk_id(self, value: pulumi.Input[str]):
pulumi.set(self, "disk_id", value)
@property
@pulumi.getter
def category(self) -> Optional[pulumi.Input[str]]:
"""
The category of the snapshot. Valid Values: `standard` and `flash`.
"""
return pulumi.get(self, "category")
@category.setter
def category(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "category", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
The description of the snapshot.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def force(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether to forcibly delete the snapshot that has been used to create disks.
"""
return pulumi.get(self, "force")
@force.setter
def force(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "force", value)
@property
@pulumi.getter(name="instantAccess")
def instant_access(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether to enable the instant access feature.
"""
return pulumi.get(self, "instant_access")
@instant_access.setter
def instant_access(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "instant_access", value)
@property
@pulumi.getter(name="instantAccessRetentionDays")
def instant_access_retention_days(self) -> Optional[pulumi.Input[int]]:
"""
Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
"""
return pulumi.get(self, "instant_access_retention_days")
@instant_access_retention_days.setter
def instant_access_retention_days(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "instant_access_retention_days", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="resourceGroupId")
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
"""
The resource group id.
"""
return pulumi.get(self, "resource_group_id")
@resource_group_id.setter
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_group_id", value)
@property
@pulumi.getter(name="retentionDays")
def retention_days(self) -> Optional[pulumi.Input[int]]:
"""
The retention period of the snapshot.
"""
return pulumi.get(self, "retention_days")
@retention_days.setter
def retention_days(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "retention_days", value)
@property
@pulumi.getter(name="snapshotName")
def snapshot_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the snapshot.
"""
return pulumi.get(self, "snapshot_name")
@snapshot_name.setter
def snapshot_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "snapshot_name", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
A mapping of tags to assign to the snapshot.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "tags", value)
@pulumi.input_type
class _EcsSnapshotState:
def __init__(__self__, *,
category: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
disk_id: Optional[pulumi.Input[str]] = None,
force: Optional[pulumi.Input[bool]] = None,
instant_access: Optional[pulumi.Input[bool]] = None,
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
retention_days: Optional[pulumi.Input[int]] = None,
snapshot_name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
"""
Input properties used for looking up and filtering EcsSnapshot resources.
:param pulumi.Input[str] category: The category of the snapshot. Valid Values: `standard` and `flash`.
:param pulumi.Input[str] description: The description of the snapshot.
:param pulumi.Input[str] disk_id: The ID of the disk.
:param pulumi.Input[bool] force: Specifies whether to forcibly delete the snapshot that has been used to create disks.
:param pulumi.Input[bool] instant_access: Specifies whether to enable the instant access feature.
:param pulumi.Input[int] instant_access_retention_days: Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
:param pulumi.Input[str] resource_group_id: The resource group id.
:param pulumi.Input[int] retention_days: The retention period of the snapshot.
:param pulumi.Input[str] snapshot_name: The name of the snapshot.
:param pulumi.Input[str] status: The status of snapshot.
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the snapshot.
"""
if category is not None:
pulumi.set(__self__, "category", category)
if description is not None:
pulumi.set(__self__, "description", description)
if disk_id is not None:
pulumi.set(__self__, "disk_id", disk_id)
if force is not None:
pulumi.set(__self__, "force", force)
if instant_access is not None:
pulumi.set(__self__, "instant_access", instant_access)
if instant_access_retention_days is not None:
pulumi.set(__self__, "instant_access_retention_days", instant_access_retention_days)
if name is not None:
warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""", DeprecationWarning)
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
if name is not None:
pulumi.set(__self__, "name", name)
if resource_group_id is not None:
pulumi.set(__self__, "resource_group_id", resource_group_id)
if retention_days is not None:
pulumi.set(__self__, "retention_days", retention_days)
if snapshot_name is not None:
pulumi.set(__self__, "snapshot_name", snapshot_name)
if status is not None:
pulumi.set(__self__, "status", status)
if tags is not None:
pulumi.set(__self__, "tags", tags)
@property
@pulumi.getter
def category(self) -> Optional[pulumi.Input[str]]:
"""
The category of the snapshot. Valid Values: `standard` and `flash`.
"""
return pulumi.get(self, "category")
@category.setter
def category(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "category", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
The description of the snapshot.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter(name="diskId")
def disk_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the disk.
"""
return pulumi.get(self, "disk_id")
@disk_id.setter
def disk_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "disk_id", value)
@property
@pulumi.getter
def force(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether to forcibly delete the snapshot that has been used to create disks.
"""
return pulumi.get(self, "force")
@force.setter
def force(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "force", value)
@property
@pulumi.getter(name="instantAccess")
def instant_access(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether to enable the instant access feature.
"""
return pulumi.get(self, "instant_access")
@instant_access.setter
def instant_access(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "instant_access", value)
@property
@pulumi.getter(name="instantAccessRetentionDays")
def instant_access_retention_days(self) -> Optional[pulumi.Input[int]]:
"""
Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
"""
return pulumi.get(self, "instant_access_retention_days")
@instant_access_retention_days.setter
def instant_access_retention_days(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "instant_access_retention_days", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="resourceGroupId")
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
"""
The resource group id.
"""
return pulumi.get(self, "resource_group_id")
@resource_group_id.setter
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_group_id", value)
@property
@pulumi.getter(name="retentionDays")
def retention_days(self) -> Optional[pulumi.Input[int]]:
"""
The retention period of the snapshot.
"""
return pulumi.get(self, "retention_days")
@retention_days.setter
def retention_days(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "retention_days", value)
@property
@pulumi.getter(name="snapshotName")
def snapshot_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the snapshot.
"""
return pulumi.get(self, "snapshot_name")
@snapshot_name.setter
def snapshot_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "snapshot_name", value)
@property
@pulumi.getter
def status(self) -> Optional[pulumi.Input[str]]:
"""
The status of snapshot.
"""
return pulumi.get(self, "status")
@status.setter
def status(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "status", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
A mapping of tags to assign to the snapshot.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "tags", value)
class EcsSnapshot(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
category: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
disk_id: Optional[pulumi.Input[str]] = None,
force: Optional[pulumi.Input[bool]] = None,
instant_access: Optional[pulumi.Input[bool]] = None,
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
retention_days: Optional[pulumi.Input[int]] = None,
snapshot_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
__props__=None):
"""
Provides a ECS Snapshot resource.
For information about ECS Snapshot and how to use it, see [What is Snapshot](https://www.alibabacloud.com/help/en/doc-detail/25524.htm).
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage
```python
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.ecs.EcsSnapshot("default",
category="standard",
description="Test For Terraform",
disk_id="d-gw8csgxxxxxxxxx",
retention_days=20,
snapshot_name="tf-test",
tags={
"Created": "TF",
"For": "Acceptance-test",
})
```
## Import
ECS Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsSnapshot:EcsSnapshot example <id>
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] category: The category of the snapshot. Valid Values: `standard` and `flash`.
:param pulumi.Input[str] description: The description of the snapshot.
:param pulumi.Input[str] disk_id: The ID of the disk.
:param pulumi.Input[bool] force: Specifies whether to forcibly delete the snapshot that has been used to create disks.
:param pulumi.Input[bool] instant_access: Specifies whether to enable the instant access feature.
:param pulumi.Input[int] instant_access_retention_days: Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
:param pulumi.Input[str] resource_group_id: The resource group id.
:param pulumi.Input[int] retention_days: The retention period of the snapshot.
:param pulumi.Input[str] snapshot_name: The name of the snapshot.
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the snapshot.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: EcsSnapshotArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Provides a ECS Snapshot resource.
For information about ECS Snapshot and how to use it, see [What is Snapshot](https://www.alibabacloud.com/help/en/doc-detail/25524.htm).
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage
```python
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.ecs.EcsSnapshot("default",
category="standard",
description="Test For Terraform",
disk_id="d-gw8csgxxxxxxxxx",
retention_days=20,
snapshot_name="tf-test",
tags={
"Created": "TF",
"For": "Acceptance-test",
})
```
## Import
ECS Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsSnapshot:EcsSnapshot example <id>
```
:param str resource_name: The name of the resource.
:param EcsSnapshotArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(EcsSnapshotArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
category: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
disk_id: Optional[pulumi.Input[str]] = None,
force: Optional[pulumi.Input[bool]] = None,
instant_access: Optional[pulumi.Input[bool]] = None,
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
retention_days: Optional[pulumi.Input[int]] = None,
snapshot_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = EcsSnapshotArgs.__new__(EcsSnapshotArgs)
__props__.__dict__["category"] = category
__props__.__dict__["description"] = description
if disk_id is None and not opts.urn:
raise TypeError("Missing required property 'disk_id'")
__props__.__dict__["disk_id"] = disk_id
__props__.__dict__["force"] = force
__props__.__dict__["instant_access"] = instant_access
__props__.__dict__["instant_access_retention_days"] = instant_access_retention_days
if name is not None and not opts.urn:
warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""", DeprecationWarning)
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
__props__.__dict__["name"] = name
__props__.__dict__["resource_group_id"] = resource_group_id
__props__.__dict__["retention_days"] = retention_days
__props__.__dict__["snapshot_name"] = snapshot_name
__props__.__dict__["tags"] = tags
__props__.__dict__["status"] = None
super(EcsSnapshot, __self__).__init__(
'alicloud:ecs/ecsSnapshot:EcsSnapshot',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
category: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
disk_id: Optional[pulumi.Input[str]] = None,
force: Optional[pulumi.Input[bool]] = None,
instant_access: Optional[pulumi.Input[bool]] = None,
instant_access_retention_days: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
retention_days: Optional[pulumi.Input[int]] = None,
snapshot_name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'EcsSnapshot':
"""
Get an existing EcsSnapshot resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] category: The category of the snapshot. Valid Values: `standard` and `flash`.
:param pulumi.Input[str] description: The description of the snapshot.
:param pulumi.Input[str] disk_id: The ID of the disk.
:param pulumi.Input[bool] force: Specifies whether to forcibly delete the snapshot that has been used to create disks.
:param pulumi.Input[bool] instant_access: Specifies whether to enable the instant access feature.
:param pulumi.Input[int] instant_access_retention_days: Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
:param pulumi.Input[str] resource_group_id: The resource group id.
:param pulumi.Input[int] retention_days: The retention period of the snapshot.
:param pulumi.Input[str] snapshot_name: The name of the snapshot.
:param pulumi.Input[str] status: The status of snapshot.
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the snapshot.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _EcsSnapshotState.__new__(_EcsSnapshotState)
__props__.__dict__["category"] = category
__props__.__dict__["description"] = description
__props__.__dict__["disk_id"] = disk_id
__props__.__dict__["force"] = force
__props__.__dict__["instant_access"] = instant_access
__props__.__dict__["instant_access_retention_days"] = instant_access_retention_days
__props__.__dict__["name"] = name
__props__.__dict__["resource_group_id"] = resource_group_id
__props__.__dict__["retention_days"] = retention_days
__props__.__dict__["snapshot_name"] = snapshot_name
__props__.__dict__["status"] = status
__props__.__dict__["tags"] = tags
return EcsSnapshot(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter
def category(self) -> pulumi.Output[Optional[str]]:
"""
The category of the snapshot. Valid Values: `standard` and `flash`.
"""
return pulumi.get(self, "category")
@property
@pulumi.getter
def description(self) -> pulumi.Output[Optional[str]]:
"""
The description of the snapshot.
"""
return pulumi.get(self, "description")
@property
@pulumi.getter(name="diskId")
def disk_id(self) -> pulumi.Output[str]:
"""
The ID of the disk.
"""
return pulumi.get(self, "disk_id")
@property
@pulumi.getter
def force(self) -> pulumi.Output[Optional[bool]]:
"""
Specifies whether to forcibly delete the snapshot that has been used to create disks.
"""
return pulumi.get(self, "force")
@property
@pulumi.getter(name="instantAccess")
def instant_access(self) -> pulumi.Output[Optional[bool]]:
"""
Specifies whether to enable the instant access feature.
"""
return pulumi.get(self, "instant_access")
@property
@pulumi.getter(name="instantAccessRetentionDays")
def instant_access_retention_days(self) -> pulumi.Output[Optional[int]]:
"""
Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
"""
return pulumi.get(self, "instant_access_retention_days")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
return pulumi.get(self, "name")
@property
@pulumi.getter(name="resourceGroupId")
def resource_group_id(self) -> pulumi.Output[Optional[str]]:
"""
The resource group id.
"""
return pulumi.get(self, "resource_group_id")
@property
@pulumi.getter(name="retentionDays")
def retention_days(self) -> pulumi.Output[Optional[int]]:
"""
The retention period of the snapshot.
"""
return pulumi.get(self, "retention_days")
@property
@pulumi.getter(name="snapshotName")
def snapshot_name(self) -> pulumi.Output[str]:
"""
The name of the snapshot.
"""
return pulumi.get(self, "snapshot_name")
@property
@pulumi.getter
def status(self) -> pulumi.Output[str]:
"""
The status of snapshot.
"""
return pulumi.get(self, "status")
@property
@pulumi.getter
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
"""
A mapping of tags to assign to the snapshot.
"""
return pulumi.get(self, "tags")
| 41.44413 | 198 | 0.636326 | 3,430 | 29,301 | 5.225073 | 0.061516 | 0.091452 | 0.106015 | 0.067515 | 0.902634 | 0.890414 | 0.871052 | 0.863352 | 0.849012 | 0.835844 | 0 | 0.002615 | 0.256135 | 29,301 | 706 | 199 | 41.502833 | 0.819646 | 0.269786 | 0 | 0.828784 | 1 | 0.014888 | 0.11829 | 0.018973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16129 | false | 0.002481 | 0.012407 | 0.007444 | 0.270471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aaa1ee764b01bef9d4e6db981e30610897ca96e4 | 191 | py | Python | board/controller/index.py | dongbum/flask-board | 7da191bea47184135ecf235b593e13ecf5793715 | [
"MIT"
] | null | null | null | board/controller/index.py | dongbum/flask-board | 7da191bea47184135ecf235b593e13ecf5793715 | [
"MIT"
] | null | null | null | board/controller/index.py | dongbum/flask-board | 7da191bea47184135ecf235b593e13ecf5793715 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import render_template
from board.board_blueprint import board
@board.route('/')
def index():
return render_template('index.html', title='Index Page') | 23.875 | 60 | 0.717277 | 26 | 191 | 5.153846 | 0.653846 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.13089 | 191 | 8 | 60 | 23.875 | 0.801205 | 0.109948 | 0 | 0 | 0 | 0 | 0.12426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0.2 | 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 | 1 | 1 | 0 | 0 | 7 |
2aea5f108629faf2a9fe6705cc6a66dad78c7cc2 | 23,303 | py | Python | python/crowdemotion_api_client_python/apis/user_api.py | CrowdEmotion/crowdemotion-api-clients-examples | 9e4bd38279399e5694cf3cec6cc7fb0b3149bc39 | [
"MIT"
] | 1 | 2018-06-05T12:46:22.000Z | 2018-06-05T12:46:22.000Z | python/crowdemotion_api_client_python/apis/user_api.py | CrowdEmotion/crowdemotion-api-clients-examples | 9e4bd38279399e5694cf3cec6cc7fb0b3149bc39 | [
"MIT"
] | null | null | null | python/crowdemotion_api_client_python/apis/user_api.py | CrowdEmotion/crowdemotion-api-clients-examples | 9e4bd38279399e5694cf3cec6cc7fb0b3149bc39 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
CloudEmotion API v1
CrowdEmotion API
OpenAPI spec version: 1.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from six import iteritems
from ..configuration import Configuration
from ..api_client import ApiClient
class UserApi(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
config = Configuration()
if api_client:
self.api_client = api_client
else:
if not config.api_client:
config.api_client = ApiClient()
self.api_client = config.api_client
def user_id_get(self, id, **kwargs):
"""
Get User information
<p><strong>Permissions:</strong> ✓ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_id_get(id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int id: User unique ID (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.user_id_get_with_http_info(id, **kwargs)
else:
(data) = self.user_id_get_with_http_info(id, **kwargs)
return data
def user_id_get_with_http_info(self, id, **kwargs):
"""
Get User information
<p><strong>Permissions:</strong> ✓ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_id_get_with_http_info(id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int id: User unique ID (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['id']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_id_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'id' is set
if ('id' not in params) or (params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `user_id_get`")
resource_path = '/user/{id}'.replace('{format}', 'json')
path_params = {}
if 'id' in params:
path_params['id'] = params['id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = ['api_key']
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def user_id_put(self, id, body, **kwargs):
"""
Edit User information
<p><strong>Permissions:</strong> ✗ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_id_put(id, body, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: ID of User to update. (required)
:param UserUpdateBody body: Request body (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.user_id_put_with_http_info(id, body, **kwargs)
else:
(data) = self.user_id_put_with_http_info(id, body, **kwargs)
return data
def user_id_put_with_http_info(self, id, body, **kwargs):
"""
Edit User information
<p><strong>Permissions:</strong> ✗ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_id_put_with_http_info(id, body, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: ID of User to update. (required)
:param UserUpdateBody body: Request body (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['id', 'body']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_id_put" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'id' is set
if ('id' not in params) or (params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `user_id_put`")
# verify the required parameter 'body' is set
if ('body' not in params) or (params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_id_put`")
resource_path = '/user/{id}'.replace('{format}', 'json')
path_params = {}
if 'id' in params:
path_params['id'] = params['id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = ['api_key']
return self.api_client.call_api(resource_path, 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def user_login_post(self, body, **kwargs):
"""
User Login
<p><strong>Permissions:</strong> No authorization is required</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_login_post(body, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param Login body: Request body (required)
:return: LoginResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.user_login_post_with_http_info(body, **kwargs)
else:
(data) = self.user_login_post_with_http_info(body, **kwargs)
return data
def user_login_post_with_http_info(self, body, **kwargs):
"""
User Login
<p><strong>Permissions:</strong> No authorization is required</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_login_post_with_http_info(body, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param Login body: Request body (required)
:return: LoginResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_login_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params) or (params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_login_post`")
resource_path = '/user/login'.replace('{format}', 'json')
path_params = {}
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = ['api_key']
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='LoginResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def user_user_id_metadata_get(self, user_id, **kwargs):
"""
Find User metadata
<p><strong>Permissions:</strong> ✓ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_user_id_metadata_get(user_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int user_id: ID of User. (required)
:return: UserMetadataResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.user_user_id_metadata_get_with_http_info(user_id, **kwargs)
else:
(data) = self.user_user_id_metadata_get_with_http_info(user_id, **kwargs)
return data
def user_user_id_metadata_get_with_http_info(self, user_id, **kwargs):
"""
Find User metadata
<p><strong>Permissions:</strong> ✓ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_user_id_metadata_get_with_http_info(user_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int user_id: ID of User. (required)
:return: UserMetadataResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_user_id_metadata_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if ('user_id' not in params) or (params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `user_user_id_metadata_get`")
resource_path = '/user/{user_id}/metadata'.replace('{format}', 'json')
path_params = {}
if 'user_id' in params:
path_params['user_id'] = params['user_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = ['api_key']
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserMetadataResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def user_user_id_metadata_post(self, user_id, body, **kwargs):
"""
Add user metadata
<p><strong>Permissions:</strong> ✓ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_user_id_metadata_post(user_id, body, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int user_id: ID of User. (required)
:param UserMetadata body: Request body (required)
:return: UserMetadataResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.user_user_id_metadata_post_with_http_info(user_id, body, **kwargs)
else:
(data) = self.user_user_id_metadata_post_with_http_info(user_id, body, **kwargs)
return data
def user_user_id_metadata_post_with_http_info(self, user_id, body, **kwargs):
"""
Add user metadata
<p><strong>Permissions:</strong> ✓ Respondent ✗ Customer ✓ Manager</p>
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.user_user_id_metadata_post_with_http_info(user_id, body, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int user_id: ID of User. (required)
:param UserMetadata body: Request body (required)
:return: UserMetadataResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['user_id', 'body']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_user_id_metadata_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'user_id' is set
if ('user_id' not in params) or (params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `user_user_id_metadata_post`")
# verify the required parameter 'body' is set
if ('body' not in params) or (params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_user_id_metadata_post`")
resource_path = '/user/{user_id}/metadata'.replace('{format}', 'json')
path_params = {}
if 'user_id' in params:
path_params['user_id'] = params['user_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = ['api_key']
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserMetadataResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
| 39.698467 | 114 | 0.565507 | 2,499 | 23,303 | 5.070028 | 0.083633 | 0.033149 | 0.022099 | 0.028414 | 0.923915 | 0.917916 | 0.908287 | 0.896685 | 0.887135 | 0.87719 | 0 | 0.000725 | 0.348753 | 23,303 | 586 | 115 | 39.766212 | 0.832565 | 0.354118 | 0 | 0.776952 | 1 | 0 | 0.153109 | 0.037761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040892 | false | 0 | 0.026022 | 0 | 0.126394 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2de66ac6b8308dbd29cb4ad5ef32862b1958c4da | 17,567 | py | Python | tests/dhcpv4/kea_only/control_channel/test_command_control_keashell.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv4/kea_only/control_channel/test_command_control_keashell.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv4/kea_only/control_channel/test_command_control_keashell.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | """Kea Control Channel Script"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_msg
import srv_control
import misc
from forge_cfg import world
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_dhcp_disable_timer():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 dhcp-disable <<<\'"max-period": 5\'')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
srv_msg.forge_sleep('7', 'seconds')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_dhcp_disable():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 dhcp-disable <<<\'\'')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_dhcp_disable_and_enable():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 dhcp-disable <<<\'\'')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 dhcp-enable <<<\'\'')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_set_config_basic():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
# this command is with new configuration
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-set <<<\'"Dhcp4":{"renew-timer":1000,"rebind-timer":2000,"valid-lifetime":4000,"interfaces-config":{"interfaces":["$(SERVER_IFACE)"]},"subnet4":[{"subnet":"192.168.51.0/24","interface":"$(SERVER_IFACE)","pools":[{"pool":"192.168.51.1-192.168.51.1"}]}],"lease-database":{"type":"memfile"},"control-socket":{"socket-type":"unix","socket-name":"%s"}}\'' % world.f_cfg.run_join('control_socket'))
srv_msg.forge_sleep('$(SLEEP_TIME_2)', 'seconds')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.51.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_after_restart_load_config_file():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-set <<<\'"Dhcp4":{"renew-timer":1000,"rebind-timer":2000,"valid-lifetime":4000,"interfaces-config":{"interfaces":["$(SERVER_IFACE)"]},"subnet4":[{"subnet":"192.168.51.0/24","interface":"$(SERVER_IFACE)","pools":[{"pool":"192.168.51.1-192.168.51.1"}]}],"lease-database":{"type":"memfile"},"control-socket":{"socket-type":"unix","socket-name":"%s"}}\'' % world.f_cfg.run_join('control_socket'))
srv_msg.forge_sleep('$(SLEEP_TIME_2)', 'seconds')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.51.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_control.start_srv('DHCP', 'restarted')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_get_config():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-get <<<\'\'')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
@pytest.mark.disabled
def test_control_channel_keashell_test_config():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
misc.test_setup()
srv_control.config_srv_subnet('192.168.51.0/24', '192.168.51.1-192.168.51.1')
srv_control.add_ddns_server('127.0.0.1', '53001')
srv_control.add_ddns_server_options('enable-updates', 'true')
srv_control.add_ddns_server_options('qualifying-suffix', 'my.domain.com')
srv_control.host_reservation_in_subnet('hostname',
'reserved-name',
'0',
'hw-address',
'ff:01:02:03:ff:04')
srv_control.host_reservation_in_subnet_add_value('0', '0', 'address', '192.168.50.5')
srv_control.generate_config_files()
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-test <<<\'$(SERVER_CONFIG)\'')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
misc.test_setup()
srv_control.config_srv_subnet('192.168.51.0/24', '192.168.51.1-192.168.51.1')
srv_control.add_ddns_server('127.0.0.1', '53001')
srv_control.add_ddns_server_options('enable-updates', 'true')
srv_control.add_ddns_server_options('qualifying-suffix', 'my.domain.com')
srv_control.host_reservation_in_subnet('hostname',
'reserved-name',
'0',
'hw-address',
'ff:01:02:03:ff:04')
srv_control.host_reservation_in_subnet_add_value('0', '0', 'address', '3000::1')
srv_control.generate_config_files()
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-set <<<\'$(SERVER_CONFIG)\'')
srv_msg.forge_sleep('$(SLEEP_TIME_2)', 'seconds')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_keashell_write_config():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
misc.test_setup()
srv_control.config_srv_subnet('192.168.51.0/24', '192.168.51.1-192.168.51.1')
srv_control.agent_control_channel('localhost')
srv_control.generate_config_files()
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-set <<<\'"Dhcp4":{"renew-timer":1000,"rebind-timer":2000,"valid-lifetime":4000,"interfaces-config":{"interfaces":["$(SERVER_IFACE)"]},"subnet4":[{"subnet":"192.168.51.0/24","interface":"$(SERVER_IFACE)","pools":[{"pool":"192.168.51.1-192.168.51.1"}]}],"lease-database":{"type":"memfile"},"control-socket":{"socket-type":"unix","socket-name":"%s"}}\'' % world.f_cfg.run_join('control_socket'))
srv_msg.forge_sleep('$(SLEEP_TIME_2)', 'seconds')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.51.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-write <<<\'\'')
# TODO tests needed for not valid/not permitted paths
srv_control.start_srv('DHCP', 'restarted')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.51.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.controlchannel
@pytest.mark.kea_only
def test_control_channel_socket_reload_config():
# initial configuration is taken from file
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.50.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
# now configuration is set over kea-shell
misc.test_setup()
srv_control.config_srv_subnet('192.168.51.0/24', '192.168.51.1-192.168.51.1')
srv_control.open_control_channel()
srv_control.agent_control_channel('127.0.0.1')
srv_control.build_and_send_config_files('SSH', 'config-file')
srv_msg.execute_kea_shell('--host 127.0.0.1 --port 8000 --service dhcp4 config-reload <<<\'\'')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.51.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
# and now goes restart so configuration again is taken from files
srv_control.start_srv('DHCP', 'restarted')
misc.test_procedure()
srv_msg.client_requests_option('1')
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', None, 'OFFER')
srv_msg.response_check_include_option('Response', None, '1')
srv_msg.response_check_content('Response', None, 'yiaddr', '192.168.51.1')
srv_msg.response_check_option_content('Response', '1', None, 'value', '255.255.255.0')
| 41.82619 | 475 | 0.706894 | 2,610 | 17,567 | 4.431801 | 0.063218 | 0.073139 | 0.03631 | 0.093628 | 0.955563 | 0.951414 | 0.951414 | 0.951414 | 0.951414 | 0.951414 | 0 | 0.077858 | 0.12848 | 17,567 | 419 | 476 | 41.926014 | 0.677662 | 0.017419 | 0 | 0.917722 | 0 | 0 | 0.248986 | 0.023188 | 0 | 0 | 0 | 0.002387 | 0 | 1 | 0.028481 | true | 0.06962 | 0.015823 | 0 | 0.044304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
fab7e059578691baa5fc89a71b8d3c9035bfa465 | 4,636 | py | Python | directory/tests/test_models.py | hcrudolph/ciphersuite.info | 7d3e927842b59bf2c416ad855d9ebbc17acce1f2 | [
"MIT"
] | 10 | 2017-05-10T04:44:14.000Z | 2022-01-31T20:09:08.000Z | directory/tests/test_models.py | hcrudolph/ciphersuite.info | 7d3e927842b59bf2c416ad855d9ebbc17acce1f2 | [
"MIT"
] | 46 | 2017-05-26T20:29:56.000Z | 2022-02-09T14:29:31.000Z | directory/tests/test_models.py | hcrudolph/ciphersuite.info | 7d3e927842b59bf2c416ad855d9ebbc17acce1f2 | [
"MIT"
] | 4 | 2020-04-28T06:51:16.000Z | 2022-01-27T15:07:40.000Z | from django.test import TestCase
from directory.models import *
class CipherSuiteRegularUnitTests(TestCase):
cipher_suite = 'TLS_DH_DSS_WITH_AES_256_CBC_SHA'
def setUp(self):
CipherSuite.objects.create(name=self.cipher_suite)
def test_string_representation(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.__str__(), self.cipher_suite)
def test_member_attributes(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.protocol_version.__str__(), 'TLS')
self.assertEqual(cs.kex_algorithm.__str__(), 'DH')
self.assertEqual(cs.auth_algorithm.__str__(), 'DSS')
self.assertEqual(cs.enc_algorithm.__str__(), 'AES 256 CBC')
self.assertEqual(cs.hash_algorithm.__str__(), 'SHA')
class CipherSuiteNoAuthUnitTests(TestCase):
cipher_suite = 'TLS_PSK_WITH_AES_128_CBC_SHA'
def setUp(self):
CipherSuite.objects.create(name=self.cipher_suite)
def test_string_representation(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.__str__(), self.cipher_suite)
def test_member_attributes(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.protocol_version.__str__(), 'TLS')
self.assertEqual(cs.kex_algorithm.__str__(), 'PSK')
self.assertEqual(cs.auth_algorithm.__str__(), 'PSK')
self.assertEqual(cs.enc_algorithm.__str__(), 'AES 128 CBC')
self.assertEqual(cs.hash_algorithm.__str__(), 'SHA')
class CipherSuiteExportUnitTests(TestCase):
cipher_suite = 'TLS_DH_anon_EXPORT_WITH_RC4_40_MD5'
def setUp(self):
CipherSuite.objects.create(name=self.cipher_suite)
def test_string_representation(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.__str__(), self.cipher_suite)
def test_member_attributes(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.protocol_version.__str__(), 'TLS EXPORT')
self.assertEqual(cs.kex_algorithm.__str__(), 'DH')
self.assertEqual(cs.auth_algorithm.__str__(), 'anon')
self.assertEqual(cs.enc_algorithm.__str__(), 'RC4 40')
self.assertEqual(cs.hash_algorithm.__str__(), 'MD5')
class CipherSuiteCCM8UnitTests(TestCase):
cipher_suite = 'TLS_DHE_RSA_WITH_AES_256_CCM_8'
def setUp(self):
CipherSuite.objects.create(name=self.cipher_suite)
def test_string_representation(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.__str__(), self.cipher_suite)
def test_member_attributes(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.protocol_version.__str__(), 'TLS')
self.assertEqual(cs.kex_algorithm.__str__(), 'DHE')
self.assertEqual(cs.auth_algorithm.__str__(), 'RSA')
self.assertEqual(cs.enc_algorithm.__str__(), 'AES 256 CCM 8')
self.assertEqual(cs.hash_algorithm.__str__(), 'SHA256')
class CipherSuitePSKDHEUnitTests(TestCase):
cipher_suite = 'TLS_PSK_DHE_WITH_AES_256_CCM_8'
def setUp(self):
CipherSuite.objects.create(name=self.cipher_suite)
def test_string_representation(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.__str__(), self.cipher_suite)
def test_member_attributes(self):
cs = CipherSuite.objects.get(name=self.cipher_suite)
self.assertEqual(cs.protocol_version.__str__(), 'TLS')
self.assertEqual(cs.kex_algorithm.__str__(), 'DHE')
self.assertEqual(cs.auth_algorithm.__str__(), 'PSK')
self.assertEqual(cs.enc_algorithm.__str__(), 'AES 256 CCM 8')
self.assertEqual(cs.hash_algorithm.__str__(), 'SHA256')
class RfcUnitTests(TestCase):
rfc_number = 5246
rfc_year = 2008
rfc_title = 'The Transport Layer Security (TLS) Protocol Version 1.2'
rfc_status = 'PST'
rfc_draft = False
def setUp(self):
Rfc.objects.create(number=self.rfc_number)
def test_string_representation(self):
rfc = Rfc.objects.get(number=self.rfc_number)
self.assertEqual(rfc.__str__(), f"RFC {self.rfc_number}")
def test_member_attributes(self):
rfc = Rfc.objects.get(number=self.rfc_number)
self.assertEqual(rfc.title.__str__(), self.rfc_title)
self.assertEqual(rfc.status.__str__(), self.rfc_status)
self.assertEqual(rfc.is_draft.__str__(), f"{self.rfc_draft}")
self.assertEqual(rfc.release_year.__str__(), f"{self.rfc_year}") | 39.288136 | 73 | 0.708801 | 582 | 4,636 | 5.194158 | 0.132302 | 0.173669 | 0.168707 | 0.094277 | 0.800529 | 0.742971 | 0.720476 | 0.720476 | 0.707906 | 0.678796 | 0 | 0.013752 | 0.16868 | 4,636 | 118 | 74 | 39.288136 | 0.770628 | 0 | 0 | 0.629213 | 0 | 0 | 0.08389 | 0.032995 | 0 | 0 | 0 | 0 | 0.393258 | 1 | 0.202247 | false | 0 | 0.022472 | 0 | 0.404494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fabd437f9854e45eda791bbc02330c3b87da617f | 16,510 | py | Python | custom_components/flair/sensor.py | arifeinberg/home-assistant-flair | 0ec3f81ccafb9b1ee9b58b7d7dc0e85d809b6c73 | [
"MIT"
] | null | null | null | custom_components/flair/sensor.py | arifeinberg/home-assistant-flair | 0ec3f81ccafb9b1ee9b58b7d7dc0e85d809b6c73 | [
"MIT"
] | null | null | null | custom_components/flair/sensor.py | arifeinberg/home-assistant-flair | 0ec3f81ccafb9b1ee9b58b7d7dc0e85d809b6c73 | [
"MIT"
] | null | null | null | """Setting up Flair Puck and Vent Sensors"""
import logging
from homeassistant.helpers.entity import EntityCategory
from homeassistant.exceptions import PlatformNotReady
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.components.sensor import SensorEntity, STATE_CLASS_MEASUREMENT, SensorDeviceClass
from homeassistant.const import TEMP_CELSIUS, LIGHT_LUX, PERCENTAGE, ELECTRIC_POTENTIAL_VOLT, SIGNAL_STRENGTH_DECIBELS_MILLIWATT, PRESSURE_KPA
from .const import (
DOMAIN
)
_LOGGER = logging.getLogger(__name__)
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities):
"""Set up Flair Pucks."""
flair = hass.data[DOMAIN]
pucks = []
vents = []
try:
for puck in flair.pucks():
pucks.append(FlairPuck(puck))
pucks.append(PuckLight(puck))
pucks.append(PuckHumidity(puck))
pucks.append(PuckVoltage(puck))
pucks.append(PuckRSSI(puck))
except Exception as e:
_LOGGER.error("Failed to get Puck(s) from Flair servers")
raise PlatformNotReady from e
try:
for vent in flair.vents():
vents.append(FlairVentDuctTemp(vent))
vents.append(FlairVentDuctPressure(vent))
vents.append(FlairVentVoltage(vent))
vents.append(FlairVentRSSI(vent))
except Exception as e:
_LOGGER.error("Failed to get vents from Flair servers")
raise PlatformNotReady from e
async_add_entities(pucks)
async_add_entities(vents)
########## PUCK SENSORS ##########
class FlairPuck(SensorEntity):
"""Representation of a Flair Puck."""
def __init__(self, puck):
self._puck = puck
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._puck.puck_id)},
"name": self._puck.puck_name,
"manufacturer": "Flair",
"model": "Flair Puck",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this Puck."""
return self._puck.puck_id
@property
def name(self):
"""Return the name of the Puck if any."""
return 'flair_puck_' + self._puck.puck_name + "Temperature"
@property
def native_value(self):
"""Returns Puck Temperature"""
if self._puck.current_temp is None:
return None
return self._puck.current_temp
@property
def native_unit_of_measurement(self):
return TEMP_CELSIUS
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.TEMPERATURE
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def icon(self):
"""Set puck icon"""
return 'mdi:circle-double'
@property
def available(self):
"""Return true if device is available."""
if self._puck.is_active is None:
return False
return self._puck.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._puck.refresh()
class PuckLight(SensorEntity):
"""Representation of a Flair Puck Light Sensor."""
def __init__(self, puck):
self._puck = puck
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._puck.puck_id)},
"name": self._puck.puck_name,
"manufacturer": "Flair",
"model": "Flair Puck",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this Puck."""
return self._puck.puck_id + '_light_sensor'
@property
def name(self):
"""Return the name of the Puck if any."""
return 'flair_puck_' + self._puck.puck_name + 'Light Level'
@property
def native_value(self):
"""Returns Puck Light Level in lux"""
"""Convert value to Volts then multiply by 200 for 200 lux per Volt"""
return ((self._puck.light_level / 100) * 200)
@property
def native_unit_of_measurement(self):
return LIGHT_LUX
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.ILLUMINANCE
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def available(self):
"""Return true if device is available."""
if self._puck.is_active is None:
return False
elif self._puck.is_active == False:
return False
elif (self._puck.is_active and self._puck.light_level_available):
return True
else:
return False
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._puck.refresh()
class PuckHumidity(SensorEntity):
"""Representation of a Flair Puck Humidity Sensor."""
def __init__(self, puck):
self._puck = puck
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._puck.puck_id)},
"name": self._puck.puck_name,
"manufacturer": "Flair",
"model": "Flair Puck",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this Puck."""
return self._puck.puck_id + '_humidity_sensor'
@property
def name(self):
"""Return the name of the Puck if any."""
return 'flair_puck_' + self._puck.puck_name + 'Humidity Sensor'
@property
def native_value(self):
"""Returns Puck Humidity Measurement"""
if self._puck.current_humidity is None:
return None
return self._puck.current_humidity
@property
def native_unit_of_measurement(self):
return PERCENTAGE
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.HUMIDITY
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def available(self):
"""Return true if device is available."""
if self._puck.is_active is None:
return False
return self._puck.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._puck.refresh()
class PuckVoltage(SensorEntity):
"""Representation of a Flair Puck Humidity Sensor."""
def __init__(self, puck):
self._puck = puck
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._puck.puck_id)},
"name": self._puck.puck_name,
"manufacturer": "Flair",
"model": "Flair Puck",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this Puck."""
return self._puck.puck_id + '_voltage_sensor'
@property
def name(self):
"""Return the name of the Puck if any."""
return 'flair_puck_' + self._puck.puck_name + 'Voltage'
@property
def native_value(self):
"""Returns Puck Voltage Measurement"""
if self._puck.voltage is None:
return None
return self._puck.voltage
@property
def native_unit_of_measurement(self):
return ELECTRIC_POTENTIAL_VOLT
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.VOLTAGE
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def entity_category(self):
return EntityCategory.DIAGNOSTIC
@property
def available(self):
"""Return true if device is available."""
if self._puck.is_active is None:
return False
return self._puck.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._puck.refresh()
class PuckRSSI(SensorEntity):
"""Representation of a Flair Puck Humidity Sensor."""
def __init__(self, puck):
self._puck = puck
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._puck.puck_id)},
"name": self._puck.puck_name,
"manufacturer": "Flair",
"model": "Flair Puck",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this Puck."""
return self._puck.puck_id + '_rssi_sensor'
@property
def name(self):
"""Return the name of the Puck if any."""
return 'flair_puck_' + self._puck.puck_name + 'RSSI'
@property
def native_value(self):
"""Returns Puck RSSI Measurement"""
if self._puck.rssi is None:
return None
return self._puck.rssi
@property
def native_unit_of_measurement(self):
return SIGNAL_STRENGTH_DECIBELS_MILLIWATT
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.SIGNAL_STRENGTH
@property
def entity_category(self):
return EntityCategory.DIAGNOSTIC
@property
def available(self):
"""Return true if device is available."""
if self._puck.is_active is None:
return False
return self._puck.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._puck.refresh()
########## VENT SENSORS ##########
class FlairVentDuctTemp(SensorEntity):
"""Representation of a Flair Vent Duct Temp Sensor."""
def __init__(self, vent):
self._vent = vent
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._vent.vent_id)},
"name": self._vent.vent_name,
"manufacturer": "Flair",
"model": "Flair Vent",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this vent."""
return self._vent.vent_id + "_duct_temp"
@property
def name(self):
"""Return the name of the Sensor"""
return 'flair_vent_' + self._vent.vent_name + "Duct Temperature"
@property
def native_value(self):
"""Returns Duct Temperature"""
if self._vent.duct_temp is None:
return None
return self._vent.duct_temp
@property
def native_unit_of_measurement(self):
return TEMP_CELSIUS
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.TEMPERATURE
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def available(self):
"""Return true if device is available."""
if self._vent.is_active is None:
return False
return self._vent.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._vent.refresh()
class FlairVentDuctPressure(SensorEntity):
"""Representation of a Flair Vent Duct Pressure Sensor."""
def __init__(self, vent):
self._vent = vent
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._vent.vent_id)},
"name": self._vent.vent_name,
"manufacturer": "Flair",
"model": "Flair Vent",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this vent."""
return self._vent.vent_id + "_duct_pressure"
@property
def name(self):
"""Return the name of the Sensor"""
return 'flair_vent_' + self._vent.vent_name + "Duct Pressure"
@property
def native_value(self):
"""Returns Duct Pressure"""
if self._vent.duct_pressure is None:
return None
return self._vent.duct_pressure
@property
def native_unit_of_measurement(self):
return PRESSURE_KPA
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.PRESSURE
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def available(self):
"""Return true if device is available."""
if self._vent.is_active is None:
return False
return self._vent.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._vent.refresh()
class FlairVentVoltage(SensorEntity):
"""Representation of a Flair Vent Voltage Sensor."""
def __init__(self, vent):
self._vent = vent
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._vent.vent_id)},
"name": self._vent.vent_name,
"manufacturer": "Flair",
"model": "Flair Vent",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this vent."""
return self._vent.vent_id + "_voltage"
@property
def name(self):
"""Return the name of the Sensor"""
return 'flair_vent_' + self._vent.vent_name + "Voltage"
@property
def native_value(self):
"""Returns Vent Voltage"""
if self._vent.voltage is None:
return None
return self._vent.voltage
@property
def native_unit_of_measurement(self):
return ELECTRIC_POTENTIAL_VOLT
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.VOLTAGE
@property
def state_class(self):
return STATE_CLASS_MEASUREMENT
@property
def entity_category(self):
return EntityCategory.DIAGNOSTIC
@property
def available(self):
"""Return true if device is available."""
if self._vent.is_active is None:
return False
return self._vent.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._vent.refresh()
class FlairVentRSSI(SensorEntity):
"""Representation of a Flair Vent RSSI Sensor."""
def __init__(self, vent):
self._vent = vent
@property
def device_info(self):
"""Return device registry information for this entity."""
return {
"identifiers": {(DOMAIN, self._vent.vent_id)},
"name": self._vent.vent_name,
"manufacturer": "Flair",
"model": "Flair Vent",
"configuration_url": "https://my.flair.co/",
}
@property
def unique_id(self):
"""Return the ID of this vent."""
return self._vent.vent_id + "_rssi_sensor"
@property
def name(self):
"""Return the name of the Sensor"""
return 'flair_vent_' + self._vent.vent_name + "RSSI"
@property
def native_value(self):
"""Returns Vent Voltage"""
if self._vent.rssi is None:
return None
return self._vent.rssi
@property
def native_unit_of_measurement(self):
return SIGNAL_STRENGTH_DECIBELS_MILLIWATT
@property
def device_class(self) -> SensorDeviceClass:
return SensorDeviceClass.SIGNAL_STRENGTH
@property
def entity_category(self):
return EntityCategory.DIAGNOSTIC
@property
def available(self):
"""Return true if device is available."""
if self._vent.is_active is None:
return False
return self._vent.is_active
def update(self):
"""Update automation state."""
_LOGGER.info("Refreshing device state")
self._vent.refresh()
| 27.888514 | 142 | 0.614658 | 1,835 | 16,510 | 5.325886 | 0.078474 | 0.084416 | 0.030697 | 0.018009 | 0.8326 | 0.830963 | 0.81541 | 0.755653 | 0.698353 | 0.690167 | 0 | 0.00101 | 0.280315 | 16,510 | 591 | 143 | 27.935702 | 0.821495 | 0.140763 | 0 | 0.767157 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227941 | false | 0 | 0.019608 | 0.071078 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4f0ca5a5f4e78839ec56f24076e62288313c5f76 | 846 | py | Python | GeneralPythonCodes/Chapter1_DataTypes/datatypes.py | d1p013/testing | 5cb810d9d3d43a70f677b3e71e386a177bfa99a0 | [
"CC-BY-3.0"
] | null | null | null | GeneralPythonCodes/Chapter1_DataTypes/datatypes.py | d1p013/testing | 5cb810d9d3d43a70f677b3e71e386a177bfa99a0 | [
"CC-BY-3.0"
] | null | null | null | GeneralPythonCodes/Chapter1_DataTypes/datatypes.py | d1p013/testing | 5cb810d9d3d43a70f677b3e71e386a177bfa99a0 | [
"CC-BY-3.0"
] | null | null | null | '''
Basic Python Data Types
Examples and Playground
'''
print("----------------")
# int
x = 3
print(x)
print(type(x))
print("----------------")
# float
x = 3.0
print(x)
print(type(x))
print("----------------")
# float
x = 3e10
print(x)
print(type(x))
print("----------------")
# string
x = "3"
print(x)
print(type(x))
print("----------------")
# bool
x = True
print(x)
print(type(x))
print("----------------")
# string
x = "True"
print(x)
print(type(x))
print("----------------")
# complex
x = 1 + 2j
print(x)
print(type(x))
print("----------------")
# complex
x = complex(1,2)
print(x)
print(type(x))
print("----------------")
# -----------------------------------------------
# Quick Tasks
#
# What is the data type of complex(1,0)?
# What is the data type of float("inf")?
# -----------------------------------------------
| 12.085714 | 49 | 0.423168 | 103 | 846 | 3.475728 | 0.281553 | 0.268156 | 0.24581 | 0.335196 | 0.726257 | 0.726257 | 0.561453 | 0.561453 | 0 | 0 | 0 | 0.017906 | 0.141844 | 846 | 69 | 50 | 12.26087 | 0.475207 | 0.336879 | 0 | 0.757576 | 0 | 0 | 0.276438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.757576 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
87858374e79ccd52543365ca620bd57c7e530e89 | 105 | py | Python | auto_struct/exceptions/integer.py | Valmarelox/auto_struct | ec06fc426d468d4d01f300add3081df9eda87f41 | [
"MIT"
] | 7 | 2020-09-03T20:54:13.000Z | 2022-03-09T01:21:07.000Z | auto_struct/exceptions/integer.py | Valmarelox/auto_struct | ec06fc426d468d4d01f300add3081df9eda87f41 | [
"MIT"
] | null | null | null | auto_struct/exceptions/integer.py | Valmarelox/auto_struct | ec06fc426d468d4d01f300add3081df9eda87f41 | [
"MIT"
] | null | null | null | from .base import AutoStructValueException
class IntegerOutOfBounds(AutoStructValueException):
pass | 21 | 51 | 0.847619 | 8 | 105 | 11.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 5 | 52 | 21 | 0.956989 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
87b31047262e24bc46ed54154272f2b9fe7d0de1 | 26,451 | py | Python | tests/unit/test_migration.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | 1 | 2020-08-14T22:53:03.000Z | 2020-08-14T22:53:03.000Z | tests/unit/test_migration.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | 63 | 2020-08-14T20:07:53.000Z | 2021-12-20T21:39:07.000Z | tests/unit/test_migration.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | null | null | null | import datetime
import pytest
from migrator.migration import (
find_migrations,
migration_for_instance_id,
find_active_instances,
Migration,
DomainMigration,
CdnMigration,
)
from migrator.models import CdnRoute, DomainRoute
def test_find_instances(clean_db):
states = [
"provisioned",
"deprovisioned",
"deprovisioning",
"this-state-should-never-exist",
]
for state in states:
domain_route = DomainRoute()
domain_route.state = state
domain_route.instance_id = f"id-{state}"
cdn_route = CdnRoute()
cdn_route.state = state
cdn_route.instance_id = f"id-{state}"
clean_db.add(domain_route)
clean_db.add(cdn_route)
clean_db.commit()
clean_db.close()
instances = find_active_instances(clean_db)
assert len(instances) == 2
assert instances[0].state == "provisioned"
assert instances[1].state == "provisioned"
def test_get_migrations(clean_db, fake_cf_client, fake_requests):
# instances that should work
dont_care_instance_response_body = """ {
"entity": {
"space_guid": "my-space-guid",
"name": "my-instance-name"
}
} """
# instance that should not work
not_found_response = """
{
"description": "The service instance could not be found: nope",
"error_code": "CF-ServiceInstanceNotFound",
"code": 60004
}"""
fake_requests.get(
"http://localhost/v2/service_instances/alb-1234",
text=dont_care_instance_response_body,
)
fake_requests.get(
"http://localhost/v2/service_instances/alb-5678",
text=dont_care_instance_response_body,
)
fake_requests.get(
"http://localhost/v2/service_instances/cdn-1234",
text=dont_care_instance_response_body,
)
fake_requests.get(
"http://localhost/v2/service_instances/cdn-5678",
text=dont_care_instance_response_body,
)
# blow up on this one
fake_requests.get(
"http://localhost/v2/service_instances/bad-404",
status_code=404,
reason="Not Found",
text=not_found_response,
)
domain_route0 = DomainRoute()
domain_route0.state = "provisioned"
domain_route0.instance_id = "alb-1234"
domain_route1 = DomainRoute()
domain_route1.state = "provisioned"
domain_route1.instance_id = "alb-5678"
cdn_route0 = CdnRoute()
cdn_route0.state = "provisioned"
cdn_route0.instance_id = "cdn-1234"
cdn_route0.domain_external = "blah"
cdn_route1 = CdnRoute()
cdn_route1.state = "provisioned"
cdn_route1.instance_id = "cdn-5678"
cdn_route1.domain_external = "blah"
bad_route0 = CdnRoute()
bad_route0.state = "provisioned"
bad_route0.instance_id = "bad-404"
bad_route0.domain_external = "blah"
clean_db.add(domain_route0)
clean_db.add(domain_route1)
clean_db.add(cdn_route0)
clean_db.add(cdn_route1)
clean_db.add(bad_route0)
clean_db.commit()
migrations = find_migrations(clean_db, fake_cf_client)
assert len(migrations) == 4
def test_migration_for_instance_id(clean_db, fake_cf_client, fake_requests):
# these stubs are just so we don't blow up later
dont_care_instance_response_body = """ {
"entity": {
"space_guid": "my-space-guid",
"name": "my-instance-name"
}
} """
fake_requests.get(
"http://localhost/v2/service_instances/alb-1234",
text=dont_care_instance_response_body,
)
fake_requests.get(
"http://localhost/v2/service_instances/alb-5678",
text=dont_care_instance_response_body,
)
fake_requests.get(
"http://localhost/v2/service_instances/cdn-1234",
text=dont_care_instance_response_body,
)
fake_requests.get(
"http://localhost/v2/service_instances/cdn-5678",
text=dont_care_instance_response_body,
)
# end stubs
domain_route0 = DomainRoute()
domain_route0.state = "provisioned"
domain_route0.instance_id = "alb-1234"
domain_route1 = DomainRoute()
domain_route1.state = "provisioned"
domain_route1.instance_id = "alb-5678"
cdn_route0 = CdnRoute()
cdn_route0.state = "provisioned"
cdn_route0.instance_id = "cdn-1234"
cdn_route1 = CdnRoute()
cdn_route1.state = "provisioned"
cdn_route1.instance_id = "cdn-5678"
clean_db.add(domain_route0)
clean_db.add(domain_route1)
clean_db.add(cdn_route0)
clean_db.add(cdn_route1)
clean_db.commit()
migration = migration_for_instance_id("alb-5678", clean_db, fake_cf_client)
assert isinstance(migration, DomainMigration)
assert migration.route.instance_id == "alb-5678"
def test_validate_good_dns(clean_db, dns, fake_cf_client, migration):
dns.add_cname("_acme-challenge.www.example.com")
dns.add_cname("www.example.com")
migration.domains = ["www.example.com"]
assert migration.has_valid_dns
def test_validate_bad_dns(clean_db, dns, fake_cf_client, migration):
migration.domains = ["example.com"]
assert not migration.has_valid_dns
def test_validate_mixed_good_and_bad_dns(clean_db, dns, fake_cf_client, migration):
dns.add_cname("_acme-challenge.www.example.com")
dns.add_cname("www.example.com")
migration.domains = ["www.example.com", "foo.example.com"]
assert not migration.has_valid_dns
def test_validate_site_exists_acme_doesnt(clean_db, dns, fake_cf_client, migration):
dns.add_cname("www.example.com")
migration.domains = ["www.example.com"]
assert not migration.has_valid_dns
def test_validate_acme_exists_site_doesnt(clean_db, dns, fake_cf_client, migration):
dns.add_cname("_acme-challenge.www.example.com")
migration.domains = ["www.example.com"]
assert not migration.has_valid_dns
def test_validate_multiple_valid_dns(clean_db, dns, fake_cf_client, migration):
dns.add_cname("_acme-challenge.www.example.com")
dns.add_cname("_acme-challenge.foo.example.com")
dns.add_cname("www.example.com")
dns.add_cname("foo.example.com")
migration.domains = ["www.example.com", "foo.example.com"]
assert migration.has_valid_dns
def test_validate_multiple_valid_acme_no_good_site_dns(
clean_db, dns, fake_cf_client, migration
):
dns.add_cname("_acme-challenge.example.com")
dns.add_cname("_acme-challenge.foo.example.com")
migration.domains = ["example.com", "foo.example.com"]
assert not migration.has_valid_dns
def test_migration_create_internal_dns(clean_db, route53, fake_cf_client, migration):
migration.route.dist_id = "sample-distribution-id"
change_id = route53.expect_create_ALIAS_and_return_change_id(
"example.gov.domains.cloud.test", "example.cloudfront.net"
)
route53.expect_wait_for_change_insync(change_id)
migration.upsert_dns()
def test_migration_gets_space_id(clean_db, fake_cf_client, fake_requests, migration):
response_body = """ {
"metadata": {
"guid": "asdf-asdf",
"url": "/v2/service_instances/asdf-asdf",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "name-1508",
"service_guid": "a14baddf-1ccc-5299-0152-ab9s49de4422",
"service_plan_guid": "779d2df0-9cdd-48e8-9781-ea05301cedb1",
"space_guid": "my-space-guid",
"type": "managed_service_instance",
"space_url": "/v2/spaces/my-space-guid",
"service_url": "/v2/services/a14baddf-1ccc-5299-0152-ab9s49de4422",
"service_plan_url": "/v2/service_plans/779d2df0-9cdd-48e8-9781-ea05301cedb1",
"service_bindings_url": "/v2/service_instances/asdf-asdf/service_bindings",
"service_keys_url": "/v2/service_instances/asdf-asdf/service_keys",
"routes_url": "/v2/service_instances/asdf-asdf/routes",
"shared_from_url": "/v2/service_instances/asdf-asdf/shared_from",
"shared_to_url": "/v2/service_instances/asdf-asdf/shared_to",
"service_instance_parameters_url": "/v2/service_instances/asdf-asdf/parameters"
}
} """
fake_requests.get(
"http://localhost/v2/service_instances/asdf-asdf", text=response_body
)
assert migration.space_id == "my-space-guid"
def test_migration_gets_org_id(clean_db, fake_cf_client, fake_requests, migration):
response_body = """
{
"guid": "my-space-guid",
"created_at": "2017-02-01T01:33:58Z",
"updated_at": "2017-02-01T01:33:58Z",
"name": "my-space",
"relationships": {
"organization": {
"data": {
"guid": "my-org-guid"
}
},
"quota": {
"data": null
}
},
"links": {
"self": {
"href": "http://localhost/v3/spaces/my-space-guid"
},
"features": {
"href": "http://localhost/v3/spaces/my-space-guid/features"
},
"organization": {
"href": "http://localhost/v3/organizations/my-org-guid"
},
"apply_manifest": {
"href": "http://localhost/v3/spaces/my-space-guid/actions/apply_manifest",
"method": "POST"
}
},
"metadata": {
"labels": {},
"annotations": {}
}
}
"""
fake_requests.get("http://localhost/v3/spaces/my-space-guid", text=response_body)
migration._space_id = "my-space-guid"
assert migration.org_id == "my-org-guid"
def test_migration_enables_plan_in_org(
clean_db, fake_cf_client, fake_requests, migration
):
def service_plan_visibility_matcher(request):
params = request.json()
plan = "FAKE-MIGRATION-PLAN-GUID"
return (
params["organization_guid"] == "my-org-guid"
and params["service_plan_guid"] == plan
)
migration._space_id = "my-space-guid"
migration._org_id = "my-org-guid"
response_body = """
{
"metadata": {
"guid": "my-service-plan-visibility",
"url": "/v2/service_plan_visibilities/my-service-plan-visibility",
"created_at": "2016-06-08T16:41:31Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"organization_guid": "my-org-guid",
"service_plan_url": "/v2/service_plans/ab5780a9-ac8e-4412-9496-4512e865011a",
"organization_url": "/v2/organizations/my-org-guid"
}
}
"""
fake_requests.post(
"http://localhost/v2/service_plan_visibilities",
text=response_body,
additional_matcher=service_plan_visibility_matcher,
)
migration.enable_migration_service_plan()
assert fake_requests.called
last_request = fake_requests.request_history[-1]
assert last_request.url == "http://localhost/v2/service_plan_visibilities"
def test_migration_disables_plan_in_org(
clean_db, fake_cf_client, fake_requests, migration
):
migration._space_id = "my-space-guid"
migration._org_id = "my-org-guid"
response_body_get = """
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "my-service-plan-visibility",
"url": "/v2/service_plan_visibilities/my-service-plan-visibility",
"created_at": "2021-02-22T21:15:57Z",
"updated_at": "2021-02-22T21:15:57Z"
},
"entity": {
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"organization_guid": "my-org-guid",
"service_plan_url": "/v2/service_plans/FAKE-MIGRATION-PLAN-GUID",
"organization_url": "/v2/organizations/my-org-guid"
}
}
]
}
"""
fake_requests.get(
"http://localhost/v2/service_plan_visibilities?q=organization_guid:my-org-guid&q=service_plan_guid:FAKE-MIGRATION-PLAN-GUID",
text=response_body_get,
)
response_body_delete = ""
fake_requests.delete(
"http://localhost/v2/service_plan_visibilities/my-service-plan-visibility",
text=response_body_delete,
)
migration.disable_migration_service_plan()
assert fake_requests.called
last_request = fake_requests.request_history[-1]
assert (
last_request.url
== "http://localhost/v2/service_plan_visibilities/my-service-plan-visibility"
)
def test_create_bare_migrator_instance_in_org_space_success(
clean_db, fake_cf_client, fake_requests, migration
):
migration._space_id = "my-space-guid"
migration._org_id = "my-org-guid"
response_body_create_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": {
},
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "create",
"state": "in progress",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.post(
"http://localhost/v2/service_instances", text=response_body_create_instance
)
response_body_check_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": {
},
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "create",
"state": "succeeded",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.get(
"http://localhost/v2/service_instances/my-migrator-instance",
text=response_body_check_instance,
)
migration.create_bare_migrator_instance_in_org_space()
assert fake_requests.called
last_request = fake_requests.request_history[-1]
assert (
last_request.url == "http://localhost/v2/service_instances/my-migrator-instance"
)
def test_create_bare_migrator_instance_in_org_space_failure(
clean_db, fake_cf_client, fake_requests, migration
):
migration._space_id = "my-space-guid"
migration._org_id = "my-org-guid"
response_body_create_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": {
},
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "create",
"state": "in progress",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.post(
"http://localhost/v2/service_instances", text=response_body_create_instance
)
response_body_check_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": {
},
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "create",
"state": "failed",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.get(
"http://localhost/v2/service_instances/my-migrator-instance",
text=response_body_check_instance,
)
with pytest.raises(Exception):
migration.create_bare_migrator_instance_in_org_space()
assert fake_requests.called
last_request = fake_requests.request_history[-1]
assert (
last_request.url == "http://localhost/v2/service_instances/my-migrator-instance"
)
def test_create_bare_migrator_instance_in_org_space_timeout_failure(
clean_db, fake_cf_client, fake_requests, migration
):
migration._space_id = "my-space-guid"
migration._org_id = "my-org-guid"
response_body_create_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": {
},
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "create",
"state": "in progress",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.post(
"http://localhost/v2/service_instances", text=response_body_create_instance
)
response_body_check_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": {
},
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "create",
"state": "in progress",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.get(
"http://localhost/v2/service_instances/my-migrator-instance",
text=response_body_check_instance,
)
with pytest.raises(Exception):
migration.create_bare_migrator_instance_in_org_space()
assert fake_requests.called
last_request = fake_requests.request_history[-1]
assert (
last_request.url == "http://localhost/v2/service_instances/my-migrator-instance"
)
# one for the name fetch, one for the post, 2 for the status checks
assert len(fake_requests.request_history) == 4
def test_migration_renames_instance(clean_db, fake_cf_client, migration, fake_requests):
# the migration fixture gives us the name "my-old-cdn"
def name_matcher(request):
assert request.json().get("name") == "my-old-cdn"
assert request.json().get("parameters") == {}
assert request.json().get("plan_guid") == None
return True
response_body_update_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "external-domain-broker-migrator",
"credentials": { },
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "update",
"state": "in progress",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.put(
"http://localhost/v2/service_instances", text=response_body_update_instance
)
response_body_check_instance = """
{
"metadata": {
"guid": "my-migrator-instance",
"url": "/v2/service_instances/my-migrator-instance",
"created_at": "2016-06-08T16:41:29Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "my-old-cdn",
"credentials": { },
"service_plan_guid": "739e78F5-a919-46ef-9193-1293cc086c17",
"space_guid": "my-space-guid",
"gateway_data": null,
"dashboard_url": null,
"type": "managed_service_instance",
"last_operation": {
"type": "update",
"state": "succeeded",
"description": "",
"updated_at": "2016-06-08T16:41:26Z",
"created_at": "2016-06-08T16:41:29Z"
},
"space_url": "/v2/spaces/my-space-guid",
"service_plan_url": "/v2/service_plans/739e78F5-a919-46ef-9193-1293cc086c17",
"service_bindings_url": "/v2/service_instances/my-migrator-instance/service_bindings",
"service_keys_url": "/v2/service_instances/my-migrator-instance/service_keys",
"routes_url": "/v2/service_instances/my-migrator-instance/routes",
"shared_from_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_from",
"shared_to_url": "/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to"
}
}
"""
fake_requests.put(
"http://localhost/v2/service_instances/migrator-instance-id?accepts_incomplete=true",
text=response_body_update_instance,
additional_matcher=name_matcher,
)
fake_requests.get(
"http://localhost/v2/service_instances/migrator-instance-id",
text=response_body_check_instance,
)
migration.external_domain_broker_service_instance = "migrator-instance-id"
migration.update_instance_name()
assert fake_requests.request_history[-2].method == "PUT"
assert (
fake_requests.request_history[-2].url
== "http://localhost/v2/service_instances/migrator-instance-id?accepts_incomplete=true"
)
assert fake_requests.request_history[-1].method == "GET"
assert (
fake_requests.request_history[-1].url
== "http://localhost/v2/service_instances/migrator-instance-id"
)
def test_migration_marks_route_migrated(clean_db, fake_cf_client, migration):
migration.mark_complete()
assert migration.route.state == "migrated"
| 33.868118 | 133 | 0.677404 | 3,256 | 26,451 | 5.21683 | 0.084459 | 0.051395 | 0.083716 | 0.067997 | 0.825444 | 0.810138 | 0.772283 | 0.75262 | 0.728482 | 0.707642 | 0 | 0.078356 | 0.17591 | 26,451 | 780 | 134 | 33.911538 | 0.70089 | 0.009527 | 0 | 0.597685 | 0 | 0.002894 | 0.619793 | 0.266466 | 0 | 0 | 0 | 0 | 0.049204 | 1 | 0.031838 | false | 0 | 0.005789 | 0 | 0.040521 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
87b988ee0431d948de1996438e58ba1af8c033b7 | 30,329 | py | Python | tests/test_freq_conversions.py | sidorof/Thymus-timeseries | 8f43b35ed098ddc6e4eb912c01b824bcf2047d7f | [
"MIT"
] | 19 | 2016-09-05T22:27:44.000Z | 2021-10-09T04:28:17.000Z | tests/test_freq_conversions.py | sidorof/Thymus-timeseries | 8f43b35ed098ddc6e4eb912c01b824bcf2047d7f | [
"MIT"
] | null | null | null | tests/test_freq_conversions.py | sidorof/Thymus-timeseries | 8f43b35ed098ddc6e4eb912c01b824bcf2047d7f | [
"MIT"
] | 1 | 2021-12-06T02:29:37.000Z | 2021-12-06T02:29:37.000Z | """
This module tests the conversions from one frequency to another.
"""
from datetime import datetime, timedelta
import numpy as np
import unittest
from thymus.timeseries import Timeseries
from thymus.constants import FREQ_D, FREQ_W, FREQ_M, FREQ_Q, FREQ_Y
from thymus.constants import FREQ_H, FREQ_MIN
from thymus.freq_conversions import convert
class TestFreqConversions(unittest.TestCase):
"""
This class tests conversions of timeseries.
"""
def setUp(self):
# sample timeseries
self.ts_ord = Timeseries()
start_date = datetime(2015, 12, 31)
# sloppily ends slightly more than two years
end_date = datetime(2018, 1, 15)
# set up two years of data with weekends skipped
date = start_date
self.ts_ord.dseries = []
while date <= end_date:
if date.weekday() not in [5, 6]:
self.ts_ord.dseries.append(date.toordinal())
date += timedelta(days=1)
self.ts_ord.tseries = np.arange(len(self.ts_ord.dseries))
self.ts_ord.make_arrays()
# timestamp based timeseries
self.ts_seconds = Timeseries(frequency="sec")
start_date = datetime(2016, 1, 1, 0, 0)
end_date = datetime(2016, 1, 4, 0, 0)
length = (end_date - start_date).total_seconds()
self.ts_seconds.dseries = start_date.timestamp() + np.arange(length)
self.ts_seconds.tseries = np.arange(length)
self.ts_seconds.make_arrays()
def test_convweekly_period_start(self):
""" Test timeseries conversion to weekly with start-of-period data. """
ts = self.ts_ord.clone()
ts.end_of_period = False
# conv_weekly with defaults
ts1 = convert(ts, new_freq=FREQ_W)
self.assertEqual(ts1.frequency, FREQ_W)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 4).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 11).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 18).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 25).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 2, 1).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 8).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 8).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_weekly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_W, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 4).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 11).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 18).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 25).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 2, 1).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 8).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 8).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
ts1 = convert(ts, new_freq=FREQ_W, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 4).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 11).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 18).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 25).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 2, 1).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 8).toordinal())
# ending values
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
ts1 = convert(ts, new_freq=FREQ_W, weekday=2)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 7).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 14).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 21).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 28).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 2, 4).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 11).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 11).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# test lower frequency data
self.assertRaises(
ValueError,
convert,
convert(self.ts_ord, new_freq=FREQ_Y),
new_freq=FREQ_W,
)
def test_convweekly_period_end(self):
"""
Test timeseries conversion to weekly with end-of-period data.
"""
ts = self.ts_ord.clone()
# conv_weekly with defaults
ts1 = convert(ts, new_freq=FREQ_W)
self.assertEqual(ts1.frequency, FREQ_W)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 8).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 15).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 22).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 1, 29).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 5).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 12).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_weekly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_W, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 8).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 15).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 22).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 1, 29).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 5).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 12).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_weekly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_W, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 8).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 15).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 22).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 1, 29).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 5).toordinal())
# ending values
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 12).toordinal())
# conv_weekly with weekday=2
ts1 = convert(ts, new_freq=FREQ_W, weekday=2)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 6).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 13).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 1, 20).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 1, 27).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 2, 3).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 2, 10).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 10).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# test lower frequency data
self.assertRaises(
ValueError,
convert,
convert(self.ts_ord, new_freq=FREQ_Y),
new_freq=FREQ_W,
)
def test_convmonthly_period_start(self):
"""
This function tests converting timeseries to monthly data that have
starting period data.
"""
# daily_monthly(ts, new_freq):
ts = self.ts_ord.clone()
ts.end_of_period = False
# daily_monthly with defaults
ts1 = convert(ts, new_freq=FREQ_M)
self.assertEqual(ts1.frequency, FREQ_M)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 2, 1).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 3, 1).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 4, 1).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 5, 2).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 6, 1).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2016, 7, 1).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 1).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_monthly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_M, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 2, 1).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 3, 1).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 4, 1).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 5, 2).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 6, 1).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2016, 7, 1).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 1).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_monthly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_M, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 2, 1).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 3, 1).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 4, 1).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 5, 2).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 6, 1).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2016, 7, 1).toordinal())
# ending values
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 1).toordinal())
# test lower frequency data
self.assertRaises(
ValueError,
convert,
convert(self.ts_ord, new_freq="y"),
new_freq=FREQ_M,
)
# timestamp conversion goes here
def test_convmonthly_period_end(self):
"""
This function tests converting timeseries to monthly data that have
ending period data.
"""
ts = self.ts_ord.clone()
# daily_monthly with defaults
ts1 = convert(ts, new_freq=FREQ_M)
self.assertEqual(ts1.frequency, FREQ_M)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 29).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 2, 29).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 3, 31).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 4, 29).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 5, 31).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2016, 6, 30).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_monthly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_M, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 29).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 2, 29).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 3, 31).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 4, 29).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 5, 31).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2016, 6, 30).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_monthly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_M, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 1, 29).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 2, 29).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 3, 31).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 4, 29).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2016, 5, 31).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2016, 6, 30).toordinal())
# ending values
self.assertEqual(ts1.dseries[-1], datetime(2017, 12, 29).toordinal())
# test lower frequency data
self.assertRaises(
ValueError,
convert,
convert(self.ts_ord, new_freq=FREQ_Y),
new_freq=FREQ_M,
)
# timestamp conversion goes here
def test_convquarterly_period_start(self):
"""
This function tests converting timeseries to quarterly data that have
starting period data.
"""
# conv_quarterly(ts, new_freq):
ts = self.ts_ord.clone()
ts.end_of_period = False
# conv_quarterly with defaults
ts1 = convert(ts, new_freq=FREQ_Q)
self.assertEqual(ts1.frequency, FREQ_Q)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 4, 1).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 7, 1).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 10, 3).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2017, 1, 2).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2017, 4, 3).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2017, 7, 3).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 1).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_quarterly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_Q, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 4, 1).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 7, 1).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 10, 3).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2017, 1, 2).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2017, 4, 3).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2017, 7, 3).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2018, 1, 1).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_quarterly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_Q, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 4, 1).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 7, 1).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 10, 3).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2017, 1, 2).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2017, 4, 3).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2017, 7, 3).toordinal())
# ending values
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 1).toordinal())
# unresolved design decision
# with monthly data
# ts1 = convert(
# convert(ts, new_freq=FREQ_M, include_partial=False),
# new_freq=FREQ_Q,
# include_partial=False)
# self.assertEqual(ts1.dseries[0], datetime(2016, 1, 1).toordinal())
# self.assertEqual(ts1.dseries[1], datetime(2016, 4, 1).toordinal())
# self.assertEqual(ts1.dseries[2], datetime(2016, 7, 1).toordinal())
# self.assertEqual(ts1.dseries[3], datetime(2016, 10, 3).toordinal())
# self.assertEqual(ts1.dseries[4], datetime(2017, 1, 2).toordinal())
# self.assertEqual(ts1.dseries[5], datetime(2017, 4, 3).toordinal())
# self.assertEqual(ts1.dseries[6], datetime(2017, 7, 3).toordinal())
# ending values
# self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 1).toordinal())
# test lower frequency data
self.assertRaises(
ValueError,
convert,
convert(self.ts_ord, new_freq=FREQ_Y),
new_freq=FREQ_Q,
)
# timestamp conversion goes here
def test_convquarterly_period_end(self):
"""
This function tests converting timeseries to quarterly data that have
ending period data.
"""
ts = self.ts_ord.clone()
ts1 = convert(ts, new_freq=FREQ_Q)
self.assertEqual(ts1.frequency, FREQ_Q)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 3, 31).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 6, 30).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 9, 30).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2017, 3, 31).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2017, 6, 30).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_quarterly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_Q, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 3, 31).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 6, 30).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 9, 30).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2017, 3, 31).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2017, 6, 30).toordinal())
# ending values
self.assertEqual(ts1.dseries[-2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_quarterly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_Q, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 3, 31).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2016, 6, 30).toordinal())
self.assertEqual(ts1.dseries[3], datetime(2016, 9, 30).toordinal())
self.assertEqual(ts1.dseries[4], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[5], datetime(2017, 3, 31).toordinal())
self.assertEqual(ts1.dseries[6], datetime(2017, 6, 30).toordinal())
# ending values
self.assertEqual(ts1.dseries[-1], datetime(2017, 12, 29).toordinal())
# resolve design decision
# ts1 = convert(
# convert(ts, new_freq=FREQ_M, include_partial=False),
# new_freq=FREQ_Q,
# include_partial=False)
# self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
# self.assertEqual(ts1.dseries[1], datetime(2016, 3, 31).toordinal())
# self.assertEqual(ts1.dseries[2], datetime(2016, 6, 30).toordinal())
# self.assertEqual(ts1.dseries[3], datetime(2016, 9, 30).toordinal())
# self.assertEqual(ts1.dseries[4], datetime(2016, 12, 30).toordinal())
# self.assertEqual(ts1.dseries[5], datetime(2017, 3, 31).toordinal())
# self.assertEqual(ts1.dseries[6], datetime(2017, 6, 30).toordinal())
# ending values
# self.assertEqual(ts1.dseries[-1], datetime(2017, 12, 29).toordinal())
# test lower frequency data
# test lower frequency data
self.assertRaises(
ValueError,
convert,
convert(self.ts_ord, new_freq=FREQ_Y),
new_freq=FREQ_Q,
)
# timestamp conversion goes here
def test_convyearly_period_start(self):
"""
This function tests converting timeseries to yearly data that have
starting period data.
"""
ts = self.ts_ord.clone()
# conv_yearly with defaults
ts1 = convert(ts, new_freq=FREQ_Y)
self.assertEqual(ts1.frequency, FREQ_Y)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_yearly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_Y, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_yearly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_Y, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
# resolve design decision
# with monthly data
# ts1 = convert(
# convert(ts, new_freq=FREQ_M, include_partial=False),
# new_freq=FREQ_Y,
# include_partial=False)
# self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
# self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
# self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
# timestamp conversion goes here
def test_convyearly_period_end(self):
"""
This function tests converting timeseries to yearly data that have
ending period data.
"""
ts = self.ts_ord.clone()
# conv_yearly with defaults
ts1 = convert(ts, new_freq=FREQ_Y)
self.assertEqual(ts1.frequency, FREQ_Y)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_yearly with include_partial=True
ts1 = convert(ts, new_freq=FREQ_Y, include_partial=True)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
self.assertEqual(ts1.dseries[-1], datetime(2018, 1, 15).toordinal())
# conv_yearly with include_partial=False
ts1 = convert(ts, new_freq=FREQ_Y, include_partial=False)
self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
# resolve design decision
# with monthly data
# ts1 = convert(
# convert(ts, new_freq=FREQ_M, include_partial=False),
# new_freq=FREQ_Y,
# include_partial=False)
# self.assertEqual(ts1.dseries[0], datetime(2015, 12, 31).toordinal())
# self.assertEqual(ts1.dseries[1], datetime(2016, 12, 30).toordinal())
# self.assertEqual(ts1.dseries[2], datetime(2017, 12, 29).toordinal())
# timestamp conversion goes here
def test_convminutes_period_start(self):
"""
This function tests converting timeseries to minute data that have
starting period data.
"""
ts = self.ts_seconds.clone()
ts.end_of_period = False
ts1 = convert(ts, new_freq=FREQ_MIN)
self.assertEqual(
ts1.dseries[0], datetime(2016, 1, 1, 0, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[1], datetime(2016, 1, 1, 0, 1, 0).timestamp()
)
self.assertEqual(
ts1.dseries[2], datetime(2016, 1, 1, 0, 2, 0).timestamp()
)
self.assertEqual(
ts1.dseries[3], datetime(2016, 1, 1, 0, 3, 0).timestamp()
)
@unittest.skip
def test_convminutes_period_end(self):
"""
This function tests converting timeseries to minute data that have
ending period data.
Needs design decision.
"""
ts = self.ts_seconds.clone()
ts1 = convert(ts, new_freq=FREQ_MIN)
self.assertEqual(
ts1.dseries[0], datetime(2016, 1, 1, 0, 0, 59).timestamp()
)
self.assertEqual(
ts1.dseries[1], datetime(2016, 1, 1, 0, 1, 59).timestamp()
)
self.assertEqual(
ts1.dseries[2], datetime(2016, 1, 1, 0, 2, 59).timestamp()
)
self.assertEqual(
ts1.dseries[3], datetime(2016, 1, 1, 0, 3, 59).timestamp()
)
self.assertEqual(
ts1.dseries[4], datetime(2016, 1, 1, 0, 4, 59).timestamp()
)
self.assertEqual(
ts1.dseries[5], datetime(2016, 1, 1, 0, 5, 59).timestamp()
)
def test_convhours_period_start(self):
"""
This function tests conversion to hours.
Currently there is a problem with this. At the moment it a design
decision needs to be made on how to handle end-of-period conversions.
"""
ts = self.ts_seconds.clone()
ts.end_of_period = False
ts1 = convert(ts, new_freq=FREQ_H)
self.assertEqual(
ts1.dseries[0], datetime(2016, 1, 1, 0, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[1], datetime(2016, 1, 1, 1, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[2], datetime(2016, 1, 1, 2, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[3], datetime(2016, 1, 1, 3, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[4], datetime(2016, 1, 1, 4, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[5], datetime(2016, 1, 1, 5, 0, 0).timestamp()
)
@unittest.skip
def test_convhours_period_end(self):
"""
This function tests conversion to hours.
Currently there is a problem with this. At the moment a design
decision needs to be made on how to handle end-of-period conversions.
"""
ts = self.ts_seconds.clone()
ts.end_of_period = False
ts1 = convert(ts, new_freq=FREQ_H)
ts = self.ts_seconds.clone()
ts.end_of_period = True
ts1 = convert(ts, new_freq=FREQ_H)
self.assertEqual(
ts1.dseries[0], datetime(2016, 1, 1, 0, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[1], datetime(2016, 1, 1, 1, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[2], datetime(2016, 1, 1, 2, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[3], datetime(2016, 1, 1, 3, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[4], datetime(2016, 1, 1, 4, 0, 0).timestamp()
)
self.assertEqual(
ts1.dseries[5], datetime(2016, 1, 1, 5, 0, 0).timestamp()
)
@unittest.skip
def test_conv_days(self):
"""
This function converts timestamp data to a daily frequency with
ordinal dates.
Currently, there is a problem with this.
"""
ts = self.ts_seconds.clone()
ts.end_of_period = False
ts1 = convert(ts, new_freq=FREQ_D)
self.assertEqual(
ts1.dseries[0], datetime(2016, 1, 1, 0, 0, 0).toordinal()
)
self.assertEqual(
ts1.dseries[1], datetime(2016, 1, 2, 0, 0, 0).toordinal()
)
self.assertEqual(
ts1.dseries[2], datetime(2016, 1, 3, 0, 0, 0).toordinal()
)
self.assertEqual(
ts1.dseries[3], datetime(2016, 1, 4, 0, 0, 0).toordinal()
)
ts = self.ts_seconds.clone()
ts.end_of_period = True
ts1 = convert(ts, new_freq=FREQ_D)
self.assertEqual(
ts1.dseries[0], datetime(2016, 1, 1, 0, 0, 0).toordinal()
)
self.assertEqual(
ts1.dseries[1], datetime(2016, 1, 2, 0, 0, 0).toordinal()
)
self.assertEqual(
ts1.dseries[2], datetime(2016, 1, 3, 0, 0, 0).toordinal()
)
self.assertEqual(
ts1.dseries[3], datetime(2016, 1, 4, 0, 0, 0).toordinal()
)
if __name__ == "__main__":
unittest.main()
| 39.749672 | 79 | 0.620891 | 3,855 | 30,329 | 4.80856 | 0.04358 | 0.20068 | 0.240816 | 0.323677 | 0.937746 | 0.933107 | 0.922371 | 0.915952 | 0.909532 | 0.87792 | 0 | 0.097954 | 0.234561 | 30,329 | 762 | 80 | 39.801837 | 0.700538 | 0.17297 | 0 | 0.757075 | 0 | 0 | 0.000489 | 0 | 0 | 0 | 0 | 0 | 0.54717 | 1 | 0.033019 | false | 0 | 0.016509 | 0 | 0.051887 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
87cd60d4e9189b48d29d6a7e88bbe36dce0dedef | 194 | py | Python | FreeTAKServer/model/DestList.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 27 | 2020-05-01T01:45:59.000Z | 2020-07-03T00:17:13.000Z | FreeTAKServer/model/DestList.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 34 | 2020-04-26T11:25:52.000Z | 2020-07-03T21:06:34.000Z | FreeTAKServer/model/DestList.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 15 | 2020-05-01T01:46:07.000Z | 2020-07-03T12:14:04.000Z | class DestList:
def __init__(self):
self.destList = []
def getDestList(self):
return self.destList
def setDestList(self, destList):
self.destList = destList | 21.555556 | 36 | 0.628866 | 20 | 194 | 5.9 | 0.4 | 0.40678 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278351 | 194 | 9 | 37 | 21.555556 | 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 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
35544c9bb9a753c2734bcd8a06f8322450fa5d50 | 177 | py | Python | src/utils/__init__.py | mauriceqch/pcc_attr_folding | 2fc37de7fb146a724ebada2e39df51de272fa01a | [
"MIT"
] | 11 | 2020-06-26T12:47:27.000Z | 2021-12-03T08:33:53.000Z | src/utils/__init__.py | mauriceqch/pcc_attr_folding | 2fc37de7fb146a724ebada2e39df51de272fa01a | [
"MIT"
] | 2 | 2020-06-24T04:35:06.000Z | 2021-11-12T06:32:16.000Z | src/utils/__init__.py | mauriceqch/pcc_attr_folding | 2fc37de7fb146a724ebada2e39df51de272fa01a | [
"MIT"
] | 2 | 2020-06-24T02:26:25.000Z | 2021-07-20T04:51:42.000Z | from . import color_space, generators, pc_io, quality_eval, parallel_process, grid
__all__ = ['color_space', 'generators', 'pc_io', 'quality_eval', 'parallel_process', 'grid']
| 44.25 | 92 | 0.751412 | 23 | 177 | 5.26087 | 0.565217 | 0.165289 | 0.330579 | 0.363636 | 0.892562 | 0.892562 | 0.892562 | 0.892562 | 0.892562 | 0.892562 | 0 | 0 | 0.101695 | 177 | 3 | 93 | 59 | 0.761006 | 0 | 0 | 0 | 0 | 0 | 0.327684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
35986ff5838493ba7af1096e14fc6da41ae4e668 | 36 | py | Python | patahack/webapp.py | gegnew/hacks | 18a360f217f10cb8f46a9f881e9fbaf96d1508c3 | [
"MIT"
] | null | null | null | patahack/webapp.py | gegnew/hacks | 18a360f217f10cb8f46a9f881e9fbaf96d1508c3 | [
"MIT"
] | 31 | 2020-02-26T12:08:59.000Z | 2022-03-31T00:17:08.000Z | patahack/webapp.py | gegnew/hacks | 18a360f217f10cb8f46a9f881e9fbaf96d1508c3 | [
"MIT"
] | null | null | null | from app import app
import patahack
| 12 | 19 | 0.833333 | 6 | 36 | 5 | 0.666667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 20 | 18 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
578247629c09ac61fb395c448d97a98045a5d89e | 47,617 | py | Python | lookerapi/apis/render_task_api.py | jcarah/python_sdk | 3bff34d04a828c940c3f93055e10b6a0095c2327 | [
"MIT"
] | null | null | null | lookerapi/apis/render_task_api.py | jcarah/python_sdk | 3bff34d04a828c940c3f93055e10b6a0095c2327 | [
"MIT"
] | null | null | null | lookerapi/apis/render_task_api.py | jcarah/python_sdk | 3bff34d04a828c940c3f93055e10b6a0095c2327 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Looker API 3.1 Reference
### Authorization The Looker API uses Looker **API3** credentials for authorization and access control. Looker admins can create API3 credentials on Looker's **Admin/Users** page. Pass API3 credentials to the **/login** endpoint to obtain a temporary access_token. Include that access_token in the Authorization header of Looker API requests. For details, see [Looker API Authorization](https://looker.com/docs/r/api/authorization) ### Client SDKs The Looker API is a RESTful system that should be usable by any programming language capable of making HTTPS requests. Client SDKs for a variety of programming languages can be generated from the Looker API's Swagger JSON metadata to streamline use of the Looker API in your applications. A client SDK for Ruby is available as an example. For more information, see [Looker API Client SDKs](https://looker.com/docs/r/api/client_sdks) ### Try It Out! The 'api-docs' page served by the Looker instance includes 'Try It Out!' buttons for each API method. After logging in with API3 credentials, you can use the \"Try It Out!\" buttons to call the API directly from the documentation page to interactively explore API features and responses. Note! With great power comes great responsibility: The \"Try It Out!\" button makes API calls to your live Looker instance. Be especially careful with destructive API operations such as `delete_user` or similar. There is no \"undo\" for API operations. ### Versioning Future releases of Looker will expand this API release-by-release to securely expose more and more of the core power of Looker to API client applications. API endpoints marked as \"beta\" may receive breaking changes without warning (but we will try to avoid doing that). Stable (non-beta) API endpoints should not receive breaking changes in future releases. For more information, see [Looker API Versioning](https://looker.com/docs/r/api/versioning) This **API 3.1** is in active development. This is where support for new Looker features will appear as non-breaking additions - new functions, new optional parameters on existing functions, or new optional properties in existing types. Additive changes should not impact your existing application code that calls the Looker API. Your existing application code will not be aware of any new Looker API functionality until you choose to upgrade your app to use a newer Looker API client SDK release. The following are a few examples of noteworthy items that have changed between API 3.0 and API 3.1. For more comprehensive coverage of API changes, please see the release notes for your Looker release. ### Examples of new things added in API 3.1: * Dashboard construction APIs * Themes and custom color collections APIs * Create and run SQL_runner queries * Create and run merged results queries * Create and modify dashboard filters * Create and modify password requirements ### Deprecated in API 3.0 The following functions and properties have been deprecated in API 3.0. They continue to exist and work in API 3.0 for the next several Looker releases but they have not been carried forward to API 3.1: * Dashboard Prefetch functions * User access_filter functions * User API 1.0 credentials functions * Space.is_root and Space.is_user_root properties. Use Space.is_shared_root and Space.is_users_root instead. ### Semantic changes in API 3.1: * `all_looks` no longer includes soft-deleted looks, matching `all_dashboards` behavior. You can find soft-deleted looks using `search_looks` with the `deleted` param set to True. * `all_spaces` no longer includes duplicate items * `search_users` no longer accepts Y,y,1,0,N,n for Boolean params, only \"true\" and \"false\". * For greater client and network compatibility, `render_task_results` now returns HTTP status ***202 Accepted*** instead of HTTP status ***102 Processing*** * `all_running_queries` and `kill_query` functions have moved into the `Query` function group. If you have application code which relies on the old behavior of the APIs above, you may continue using the API 3.0 functions in this Looker release. We strongly suggest you update your code to use API 3.1 analogs as soon as possible.
OpenAPI spec version: 3.1.0
Contact: support@looker.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from six import iteritems
from ..configuration import Configuration
from ..api_client import ApiClient
class RenderTaskApi(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
config = Configuration()
if api_client:
self.api_client = api_client
else:
if not config.api_client:
config.api_client = ApiClient()
self.api_client = config.api_client
def create_dashboard_render_task(self, dashboard_id, result_format, body, width, height, **kwargs):
"""
Create Dashboard Render Task
### Create a new task to render a dashboard to a document or image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_dashboard_render_task(dashboard_id, result_format, body, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int dashboard_id: Id of dashboard to render (required)
:param str result_format: Output type: pdf, png, or jpg (required)
:param CreateDashboardRenderTask body: Dashboard render task parameters (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:param str pdf_paper_size: Paper size for pdf
:param bool pdf_landscape: Whether to render pdf in landscape
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_dashboard_render_task_with_http_info(dashboard_id, result_format, body, width, height, **kwargs)
else:
(data) = self.create_dashboard_render_task_with_http_info(dashboard_id, result_format, body, width, height, **kwargs)
return data
def create_dashboard_render_task_with_http_info(self, dashboard_id, result_format, body, width, height, **kwargs):
"""
Create Dashboard Render Task
### Create a new task to render a dashboard to a document or image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_dashboard_render_task_with_http_info(dashboard_id, result_format, body, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int dashboard_id: Id of dashboard to render (required)
:param str result_format: Output type: pdf, png, or jpg (required)
:param CreateDashboardRenderTask body: Dashboard render task parameters (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:param str pdf_paper_size: Paper size for pdf
:param bool pdf_landscape: Whether to render pdf in landscape
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['dashboard_id', 'result_format', 'body', 'width', 'height', 'fields', 'pdf_paper_size', 'pdf_landscape']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_dashboard_render_task" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'dashboard_id' is set
if ('dashboard_id' not in params) or (params['dashboard_id'] is None):
raise ValueError("Missing the required parameter `dashboard_id` when calling `create_dashboard_render_task`")
# verify the required parameter 'result_format' is set
if ('result_format' not in params) or (params['result_format'] is None):
raise ValueError("Missing the required parameter `result_format` when calling `create_dashboard_render_task`")
# verify the required parameter 'body' is set
if ('body' not in params) or (params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `create_dashboard_render_task`")
# verify the required parameter 'width' is set
if ('width' not in params) or (params['width'] is None):
raise ValueError("Missing the required parameter `width` when calling `create_dashboard_render_task`")
# verify the required parameter 'height' is set
if ('height' not in params) or (params['height'] is None):
raise ValueError("Missing the required parameter `height` when calling `create_dashboard_render_task`")
collection_formats = {}
resource_path = '/render_tasks/dashboards/{dashboard_id}/{result_format}'.replace('{format}', 'json')
path_params = {}
if 'dashboard_id' in params:
path_params['dashboard_id'] = params['dashboard_id']
if 'result_format' in params:
path_params['result_format'] = params['result_format']
query_params = {}
if 'width' in params:
query_params['width'] = params['width']
if 'height' in params:
query_params['height'] = params['height']
if 'fields' in params:
query_params['fields'] = params['fields']
if 'pdf_paper_size' in params:
query_params['pdf_paper_size'] = params['pdf_paper_size']
if 'pdf_landscape' in params:
query_params['pdf_landscape'] = params['pdf_landscape']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='RenderTask',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_look_render_task(self, look_id, result_format, width, height, **kwargs):
"""
Create Look Render Task
### Create a new task to render a look to an image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_look_render_task(look_id, result_format, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int look_id: Id of look to render (required)
:param str result_format: Output type: png, or jpg (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_look_render_task_with_http_info(look_id, result_format, width, height, **kwargs)
else:
(data) = self.create_look_render_task_with_http_info(look_id, result_format, width, height, **kwargs)
return data
def create_look_render_task_with_http_info(self, look_id, result_format, width, height, **kwargs):
"""
Create Look Render Task
### Create a new task to render a look to an image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_look_render_task_with_http_info(look_id, result_format, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int look_id: Id of look to render (required)
:param str result_format: Output type: png, or jpg (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['look_id', 'result_format', 'width', 'height', 'fields']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_look_render_task" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'look_id' is set
if ('look_id' not in params) or (params['look_id'] is None):
raise ValueError("Missing the required parameter `look_id` when calling `create_look_render_task`")
# verify the required parameter 'result_format' is set
if ('result_format' not in params) or (params['result_format'] is None):
raise ValueError("Missing the required parameter `result_format` when calling `create_look_render_task`")
# verify the required parameter 'width' is set
if ('width' not in params) or (params['width'] is None):
raise ValueError("Missing the required parameter `width` when calling `create_look_render_task`")
# verify the required parameter 'height' is set
if ('height' not in params) or (params['height'] is None):
raise ValueError("Missing the required parameter `height` when calling `create_look_render_task`")
collection_formats = {}
resource_path = '/render_tasks/looks/{look_id}/{result_format}'.replace('{format}', 'json')
path_params = {}
if 'look_id' in params:
path_params['look_id'] = params['look_id']
if 'result_format' in params:
path_params['result_format'] = params['result_format']
query_params = {}
if 'width' in params:
query_params['width'] = params['width']
if 'height' in params:
query_params['height'] = params['height']
if 'fields' in params:
query_params['fields'] = params['fields']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='RenderTask',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_lookml_dashboard_render_task(self, dashboard_id, result_format, body, width, height, **kwargs):
"""
Create Lookml Dashboard Render Task
### Create a new task to render a lookml dashboard to a document or image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_lookml_dashboard_render_task(dashboard_id, result_format, body, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str dashboard_id: Id of lookml dashboard to render (required)
:param str result_format: Output type: pdf, png, or jpg (required)
:param CreateDashboardRenderTask body: Dashboard render task parameters (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:param str pdf_paper_size: Paper size for pdf
:param bool pdf_landscape: Whether to render pdf in landscape
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_lookml_dashboard_render_task_with_http_info(dashboard_id, result_format, body, width, height, **kwargs)
else:
(data) = self.create_lookml_dashboard_render_task_with_http_info(dashboard_id, result_format, body, width, height, **kwargs)
return data
def create_lookml_dashboard_render_task_with_http_info(self, dashboard_id, result_format, body, width, height, **kwargs):
"""
Create Lookml Dashboard Render Task
### Create a new task to render a lookml dashboard to a document or image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_lookml_dashboard_render_task_with_http_info(dashboard_id, result_format, body, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str dashboard_id: Id of lookml dashboard to render (required)
:param str result_format: Output type: pdf, png, or jpg (required)
:param CreateDashboardRenderTask body: Dashboard render task parameters (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:param str pdf_paper_size: Paper size for pdf
:param bool pdf_landscape: Whether to render pdf in landscape
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['dashboard_id', 'result_format', 'body', 'width', 'height', 'fields', 'pdf_paper_size', 'pdf_landscape']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_lookml_dashboard_render_task" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'dashboard_id' is set
if ('dashboard_id' not in params) or (params['dashboard_id'] is None):
raise ValueError("Missing the required parameter `dashboard_id` when calling `create_lookml_dashboard_render_task`")
# verify the required parameter 'result_format' is set
if ('result_format' not in params) or (params['result_format'] is None):
raise ValueError("Missing the required parameter `result_format` when calling `create_lookml_dashboard_render_task`")
# verify the required parameter 'body' is set
if ('body' not in params) or (params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `create_lookml_dashboard_render_task`")
# verify the required parameter 'width' is set
if ('width' not in params) or (params['width'] is None):
raise ValueError("Missing the required parameter `width` when calling `create_lookml_dashboard_render_task`")
# verify the required parameter 'height' is set
if ('height' not in params) or (params['height'] is None):
raise ValueError("Missing the required parameter `height` when calling `create_lookml_dashboard_render_task`")
collection_formats = {}
resource_path = '/render_tasks/lookml_dashboards/{dashboard_id}/{result_format}'.replace('{format}', 'json')
path_params = {}
if 'dashboard_id' in params:
path_params['dashboard_id'] = params['dashboard_id']
if 'result_format' in params:
path_params['result_format'] = params['result_format']
query_params = {}
if 'width' in params:
query_params['width'] = params['width']
if 'height' in params:
query_params['height'] = params['height']
if 'fields' in params:
query_params['fields'] = params['fields']
if 'pdf_paper_size' in params:
query_params['pdf_paper_size'] = params['pdf_paper_size']
if 'pdf_landscape' in params:
query_params['pdf_landscape'] = params['pdf_landscape']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='RenderTask',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_query_render_task(self, query_id, result_format, width, height, **kwargs):
"""
Create Query Render Task
### Create a new task to render an existing query to an image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_query_render_task(query_id, result_format, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int query_id: Id of the query to render (required)
:param str result_format: Output type: png or jpg (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_query_render_task_with_http_info(query_id, result_format, width, height, **kwargs)
else:
(data) = self.create_query_render_task_with_http_info(query_id, result_format, width, height, **kwargs)
return data
def create_query_render_task_with_http_info(self, query_id, result_format, width, height, **kwargs):
"""
Create Query Render Task
### Create a new task to render an existing query to an image. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_query_render_task_with_http_info(query_id, result_format, width, height, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param int query_id: Id of the query to render (required)
:param str result_format: Output type: png or jpg (required)
:param int width: Output width in pixels (required)
:param int height: Output height in pixels (required)
:param str fields: Requested fields.
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['query_id', 'result_format', 'width', 'height', 'fields']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_query_render_task" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'query_id' is set
if ('query_id' not in params) or (params['query_id'] is None):
raise ValueError("Missing the required parameter `query_id` when calling `create_query_render_task`")
# verify the required parameter 'result_format' is set
if ('result_format' not in params) or (params['result_format'] is None):
raise ValueError("Missing the required parameter `result_format` when calling `create_query_render_task`")
# verify the required parameter 'width' is set
if ('width' not in params) or (params['width'] is None):
raise ValueError("Missing the required parameter `width` when calling `create_query_render_task`")
# verify the required parameter 'height' is set
if ('height' not in params) or (params['height'] is None):
raise ValueError("Missing the required parameter `height` when calling `create_query_render_task`")
collection_formats = {}
resource_path = '/render_tasks/queries/{query_id}/{result_format}'.replace('{format}', 'json')
path_params = {}
if 'query_id' in params:
path_params['query_id'] = params['query_id']
if 'result_format' in params:
path_params['result_format'] = params['result_format']
query_params = {}
if 'width' in params:
query_params['width'] = params['width']
if 'height' in params:
query_params['height'] = params['height']
if 'fields' in params:
query_params['fields'] = params['fields']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='RenderTask',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def render_task(self, render_task_id, **kwargs):
"""
Get Render Task
### Get information about a render task. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.render_task(render_task_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str render_task_id: Id of render task (required)
:param str fields: Requested fields.
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.render_task_with_http_info(render_task_id, **kwargs)
else:
(data) = self.render_task_with_http_info(render_task_id, **kwargs)
return data
def render_task_with_http_info(self, render_task_id, **kwargs):
"""
Get Render Task
### Get information about a render task. Returns a render task object. To check the status of a render task, pass the render_task.id to [Get Render Task](#!/RenderTask/get_render_task). Once the render task is complete, you can download the resulting document or image using [Get Render Task Results](#!/RenderTask/get_render_task_results).
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.render_task_with_http_info(render_task_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str render_task_id: Id of render task (required)
:param str fields: Requested fields.
:return: RenderTask
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['render_task_id', 'fields']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method render_task" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'render_task_id' is set
if ('render_task_id' not in params) or (params['render_task_id'] is None):
raise ValueError("Missing the required parameter `render_task_id` when calling `render_task`")
collection_formats = {}
resource_path = '/render_tasks/{render_task_id}'.replace('{format}', 'json')
path_params = {}
if 'render_task_id' in params:
path_params['render_task_id'] = params['render_task_id']
query_params = {}
if 'fields' in params:
query_params['fields'] = params['fields']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='RenderTask',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def render_task_results(self, render_task_id, **kwargs):
"""
Render Task Results
### Get the document or image produced by a completed render task. Note that the PDF or image result will be a binary blob in the HTTP response, as indicated by the Content-Type in the response headers. This may require specialized (or at least different) handling than text responses such as JSON. You may need to tell your HTTP client that the response is binary so that it does not attempt to parse the binary data as text. If the render task exists but has not finished rendering the results, the response HTTP status will be **202 Accepted**, the response body will be empty, and the response will have a Retry-After header indicating that the caller should repeat the request at a later time. Returns 404 if the render task cannot be found, if the cached result has expired, or if the caller does not have permission to view the results. For detailed information about the status of the render task, use [Render Task](#!/RenderTask/render_task). Polling loops waiting for completion of a render task would be better served by polling **render_task(id)** until the task status reaches completion (or error) instead of polling **render_task_results(id)** alone.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.render_task_results(render_task_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str render_task_id: Id of render task (required)
:return: str
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.render_task_results_with_http_info(render_task_id, **kwargs)
else:
(data) = self.render_task_results_with_http_info(render_task_id, **kwargs)
return data
def render_task_results_with_http_info(self, render_task_id, **kwargs):
"""
Render Task Results
### Get the document or image produced by a completed render task. Note that the PDF or image result will be a binary blob in the HTTP response, as indicated by the Content-Type in the response headers. This may require specialized (or at least different) handling than text responses such as JSON. You may need to tell your HTTP client that the response is binary so that it does not attempt to parse the binary data as text. If the render task exists but has not finished rendering the results, the response HTTP status will be **202 Accepted**, the response body will be empty, and the response will have a Retry-After header indicating that the caller should repeat the request at a later time. Returns 404 if the render task cannot be found, if the cached result has expired, or if the caller does not have permission to view the results. For detailed information about the status of the render task, use [Render Task](#!/RenderTask/render_task). Polling loops waiting for completion of a render task would be better served by polling **render_task(id)** until the task status reaches completion (or error) instead of polling **render_task_results(id)** alone.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.render_task_results_with_http_info(render_task_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str render_task_id: Id of render task (required)
:return: str
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['render_task_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method render_task_results" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'render_task_id' is set
if ('render_task_id' not in params) or (params['render_task_id'] is None):
raise ValueError("Missing the required parameter `render_task_id` when calling `render_task_results`")
collection_formats = {}
resource_path = '/render_tasks/{render_task_id}/results'.replace('{format}', 'json')
path_params = {}
if 'render_task_id' in params:
path_params['render_task_id'] = params['render_task_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['image/jpeg', 'image/png', 'application/pdf'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='str',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 58.211491 | 4,190 | 0.637209 | 5,746 | 47,617 | 5.094501 | 0.077793 | 0.07413 | 0.018857 | 0.014758 | 0.871178 | 0.864619 | 0.857821 | 0.853209 | 0.848768 | 0.834831 | 0 | 0.001644 | 0.284667 | 47,617 | 817 | 4,191 | 58.282742 | 0.857759 | 0.46139 | 0 | 0.781863 | 0 | 0 | 0.221463 | 0.057053 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031863 | false | 0 | 0.017157 | 0 | 0.095588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
57b954f6346df7babc2747b5600f35f2ba43bb21 | 10,030 | py | Python | pimdm/tree/downstream_prune.py | leoplo/pim_dm | e097fb8e247b14f142b6aa97d8ee34440aeba806 | [
"MIT"
] | 6 | 2020-02-04T20:59:59.000Z | 2021-11-24T09:56:07.000Z | pimdm/tree/downstream_prune.py | leoplo/pim_dm | e097fb8e247b14f142b6aa97d8ee34440aeba806 | [
"MIT"
] | 4 | 2020-04-10T14:51:39.000Z | 2022-02-14T00:59:21.000Z | pimdm/tree/downstream_prune.py | leoplo/pim_dm | e097fb8e247b14f142b6aa97d8ee34440aeba806 | [
"MIT"
] | 3 | 2020-08-13T17:56:35.000Z | 2021-11-24T11:03:12.000Z | from abc import ABCMeta, abstractmethod
from . import pim_globals as pim_globals
from pimdm.utils import TYPE_CHECKING
if TYPE_CHECKING:
from .tree_if_downstream import TreeInterfaceDownstream
class DownstreamStateABS(metaclass=ABCMeta):
@staticmethod
@abstractmethod
def receivedPrune(interface: "TreeInterfaceDownstream", holdtime):
"""
Receive Prune(S,G)
@type interface: Downstream
"""
raise NotImplementedError()
@staticmethod
@abstractmethod
def receivedJoin(interface: "TreeInterfaceDownstream"):
"""
Receive Join(S,G)
@type interface: Downstream
"""
raise NotImplementedError()
@staticmethod
@abstractmethod
def receivedGraft(interface: "TreeInterfaceDownstream", source_ip):
"""
Receive Graft(S,G)
@type interface: Downstream
"""
raise NotImplementedError()
@staticmethod
@abstractmethod
def PPTexpires(interface: "TreeInterfaceDownstream"):
"""
PPT(S,G) Expires
@type interface: Downstream
"""
raise NotImplementedError()
@staticmethod
@abstractmethod
def PTexpires(interface: "TreeInterfaceDownstream"):
"""
PT(S,G) Expires
@type interface: Downstream
"""
raise NotImplementedError()
@staticmethod
@abstractmethod
def is_now_RPF_Interface(interface: "TreeInterfaceDownstream"):
"""
RPF_Interface(S) becomes I
@type interface: Downstream
"""
raise NotImplementedError()
@staticmethod
@abstractmethod
def send_state_refresh(interface: "TreeInterfaceDownstream"):
"""
Send State Refresh(S,G) out I
@type interface: Downstream
"""
raise NotImplementedError()
def __str__(self):
return "Downstream." + self.__class__.__name__
class NoInfo(DownstreamStateABS):
'''
NoInfo(NI)
The interface has no (S,G) Prune state, and neither the Prune
timer (PT(S,G,I)) nor the PrunePending timer ((PPT(S,G,I)) is
running.
'''
@staticmethod
def receivedPrune(interface: "TreeInterfaceDownstream", holdtime):
"""
Receive Prune(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug("receivedPrune, NI -> PP")
interface.set_prune_state(DownstreamState.PrunePending)
time = 0
if len(interface.get_interface().neighbors) > 1:
time = pim_globals.JP_OVERRIDE_INTERVAL
interface.set_prune_pending_timer(time)
@staticmethod
def receivedJoin(interface: "TreeInterfaceDownstream"):
"""
Receive Join(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
# Do nothing
interface.join_prune_logger.debug("receivedJoin, NI -> NI")
@staticmethod
def receivedGraft(interface: "TreeInterfaceDownstream", source_ip):
"""
Receive Graft(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedGraft, NI -> NI')
interface.send_graft_ack(source_ip)
@staticmethod
def PPTexpires(interface: "TreeInterfaceDownstream"):
"""
PPT(S,G) Expires
@type interface: TreeInterfaceDownstreamDownstream
"""
#assert False, "PPTexpires in state NI"
return
@staticmethod
def PTexpires(interface: "TreeInterfaceDownstream"):
"""
PT(S,G) Expires
@type interface: TreeInterfaceDownstreamDownstream
"""
#assert False, "PTexpires in state NI"
return
@staticmethod
def is_now_RPF_Interface(interface: "TreeInterfaceDownstream"):
"""
RPF_Interface(S) becomes I
@type interface: TreeInterfaceDownstreamDownstream
"""
# Do nothing
return
@staticmethod
def send_state_refresh(interface: "TreeInterfaceDownstream"):
"""
Send State Refresh(S,G) out I
@type interface: TreeInterfaceDownstreamDownstream
"""
# Do nothing
return
def __str__(self):
return "NoInfo"
class PrunePending(DownstreamStateABS):
'''
PrunePending(PP)
The router has received a Prune(S,G) on this interface from a
downstream neighbor and is waiting to see whether the prune will
be overridden by another downstream router. For forwarding
purposes, the PrunePending state functions exactly like the
NoInfo state.
'''
@staticmethod
def receivedPrune(interface: "TreeInterfaceDownstream", holdtime):
"""
Receive Prune(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedPrune, PP -> PP')
@staticmethod
def receivedJoin(interface: "TreeInterfaceDownstream"):
"""
Receive Join(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedJoin, PP -> NI')
interface.clear_prune_pending_timer()
interface.set_prune_state(DownstreamState.NoInfo)
@staticmethod
def receivedGraft(interface: "TreeInterfaceDownstream", source_ip):
"""
Receive Graft(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedGraft, PP -> NI')
interface.clear_prune_pending_timer()
interface.set_prune_state(DownstreamState.NoInfo)
interface.send_graft_ack(source_ip)
@staticmethod
def PPTexpires(interface: "TreeInterfaceDownstream"):
"""
PPT(S,G) Expires
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('PPTexpires, PP -> P')
interface.set_prune_state(DownstreamState.Pruned)
interface.set_prune_timer(interface.get_received_prune_holdtime() - pim_globals.JP_OVERRIDE_INTERVAL)
if len(interface.get_interface().neighbors) > 1:
interface.send_pruneecho()
@staticmethod
def PTexpires(interface: "TreeInterfaceDownstream"):
"""
PT(S,G) Expires
@type interface: TreeInterfaceDownstreamDownstream
"""
#assert False, "PTexpires in state PP"
return
@staticmethod
def is_now_RPF_Interface(interface: "TreeInterfaceDownstream"):
"""
RPF_Interface(S) becomes I
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('is_now_RPF_Interface, PP -> NI')
interface.clear_prune_pending_timer()
interface.set_prune_state(DownstreamState.NoInfo)
@staticmethod
def send_state_refresh(interface: "TreeInterfaceDownstream"):
"""
Send State Refresh(S,G) out I
@type interface: TreeInterfaceDownstreamDownstream
"""
return
def __str__(self):
return "PrunePending"
class Pruned(DownstreamStateABS):
'''
Pruned(P)
The router has received a Prune(S,G) on this interface from a
downstream neighbor, and the Prune was not overridden. Data from
S addressed to group G is no longer being forwarded on this
interface.
'''
@staticmethod
def receivedPrune(interface: "TreeInterfaceDownstream", holdtime):
"""
Receive Prune(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedPrune, P -> P')
if holdtime > interface.remaining_prune_timer():
interface.set_prune_timer(holdtime)
@staticmethod
def receivedJoin(interface: "TreeInterfaceDownstream"):
"""
Receive Join(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedPrune, P -> NI')
interface.clear_prune_timer()
interface.set_prune_state(DownstreamState.NoInfo)
@staticmethod
def receivedGraft(interface: "TreeInterfaceDownstream", source_ip):
"""
Receive Graft(S,G)
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('receivedGraft, P -> NI')
interface.clear_prune_timer()
interface.set_prune_state(DownstreamState.NoInfo)
interface.send_graft_ack(source_ip)
@staticmethod
def PPTexpires(interface: "TreeInterfaceDownstream"):
"""
PPT(S,G) Expires
@type interface: TreeInterfaceDownstreamDownstream
"""
#assert False, "PPTexpires in state P"
return
@staticmethod
def PTexpires(interface: "TreeInterfaceDownstream"):
"""
PT(S,G) Expires
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('PTexpires, P -> NI')
interface.set_prune_state(DownstreamState.NoInfo)
@staticmethod
def is_now_RPF_Interface(interface: "TreeInterfaceDownstream"):
"""
RPF_Interface(S) becomes I
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger('is_now_RPF_Interface, P -> NI')
interface.clear_prune_timer()
interface.set_prune_state(DownstreamState.NoInfo)
@staticmethod
def send_state_refresh(interface: "TreeInterfaceDownstream"):
"""
Send State Refresh(S,G) out I
@type interface: TreeInterfaceDownstreamDownstream
"""
interface.join_prune_logger.debug('send_state_refresh, P -> P')
if interface.get_interface().is_state_refresh_capable():
interface.set_prune_timer(interface.get_received_prune_holdtime())
def __str__(self):
return "Pruned"
class DownstreamState():
NoInfo = NoInfo()
Pruned = Pruned()
PrunePending = PrunePending()
| 27.630854 | 109 | 0.655234 | 915 | 10,030 | 7.001093 | 0.133333 | 0.009054 | 0.150796 | 0.052451 | 0.830159 | 0.798314 | 0.784109 | 0.768186 | 0.752107 | 0.729628 | 0 | 0.000402 | 0.255234 | 10,030 | 362 | 110 | 27.707182 | 0.857162 | 0.268195 | 0 | 0.702128 | 0 | 0 | 0.15725 | 0.107659 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22695 | false | 0 | 0.028369 | 0.028369 | 0.390071 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
17b5d31e0b2c4f99309ce16602d4a9c19afd96ee | 1,564 | py | Python | src/day4.py | Trattpingvin/advent-of-code-2018 | b57291ef9aacd78c39814a144385a923c5f37ebb | [
"MIT"
] | null | null | null | src/day4.py | Trattpingvin/advent-of-code-2018 | b57291ef9aacd78c39814a144385a923c5f37ebb | [
"MIT"
] | null | null | null | src/day4.py | Trattpingvin/advent-of-code-2018 | b57291ef9aacd78c39814a144385a923c5f37ebb | [
"MIT"
] | null | null | null | def solvepart1():
with open('inputs/day4.txt') as f:
lines = f.readlines()
lines.sort()
sleeps = {}
for line in lines:
splitlines = line.split()
if "Guard" in line:
guard_id = splitlines[3]
else:
minute = int(splitlines[1][3:5])
if "asleep" in line:
asleep_time = minute
if "wakes" in line:
if guard_id not in sleeps:
sleeps[guard_id] = [0 for _ in range(60)]
for i in range(minute-asleep_time):
sleeps[guard_id][asleep_time+i] += 1
maxsleep = 0
maxguard = ""
for guard, minutes in sleeps.items():
currentsleep = sum(minutes)
if currentsleep>maxsleep:
maxsleep = currentsleep
maxguard = guard
return sleeps[maxguard].index(max(sleeps[maxguard])) * int(maxguard[1:])
def solvepart2():
with open('inputs/day4.txt') as f:
lines = f.readlines()
lines.sort()
sleeps = {}
for line in lines:
splitlines = line.split()
if "Guard" in line:
guard_id = splitlines[3]
else:
minute = int(splitlines[1][3:5])
if "asleep" in line:
asleep_time = minute
if "wakes" in line:
if guard_id not in sleeps:
sleeps[guard_id] = [0 for _ in range(60)]
for i in range(minute-asleep_time):
sleeps[guard_id][asleep_time+i] += 1
maxsleep = 0
maxguard = ""
for guard, minutes in sleeps.items():
currentsleep = max(minutes)
if currentsleep>maxsleep:
maxsleep = currentsleep
maxguard = guard
return sleeps[maxguard].index(max(sleeps[maxguard])) * int(maxguard[1:])
if __name__=='__main__':
print solvepart1()
print solvepart2()
| 19.55 | 73 | 0.647059 | 217 | 1,564 | 4.552995 | 0.221198 | 0.05668 | 0.052632 | 0.036437 | 0.927126 | 0.927126 | 0.927126 | 0.927126 | 0.927126 | 0.927126 | 0 | 0.021399 | 0.223146 | 1,564 | 79 | 74 | 19.797468 | 0.79177 | 0 | 0 | 0.872727 | 0 | 0 | 0.044786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.036364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
17c8bab2328183bfa3620a7e156cc6ad17d8bb41 | 191 | py | Python | settree/__init__.py | ranigb/Set-Tree | fa3971f9a8ef98dbfd0f6de654efcde3006a197b | [
"MIT"
] | 17 | 2021-07-26T01:03:59.000Z | 2022-01-23T10:31:56.000Z | settree/__init__.py | ranigb/Set-Tree | fa3971f9a8ef98dbfd0f6de654efcde3006a197b | [
"MIT"
] | 2 | 2021-12-10T09:53:48.000Z | 2022-01-25T17:08:41.000Z | settree/__init__.py | ranigb/Set-Tree | fa3971f9a8ef98dbfd0f6de654efcde3006a197b | [
"MIT"
] | 3 | 2021-09-14T11:39:35.000Z | 2022-01-23T06:51:48.000Z | from settree.set_data import *
from settree.set_tree import *
from settree.gbest import *
from settree.set_rf import *
from settree.operations import *
from settree.explainability import *
| 21.222222 | 36 | 0.801047 | 27 | 191 | 5.555556 | 0.37037 | 0.44 | 0.566667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136126 | 191 | 8 | 37 | 23.875 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
aa097eb0424db7e3440782d69d017adc6b626163 | 3,182 | py | Python | example/controller/tests/helper/validator/phone.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | example/controller/tests/helper/validator/phone.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | example/controller/tests/helper/validator/phone.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from dp_tornado.engine.controller import Controller
class PhoneController(Controller):
def get(self):
locale_ko = self.helper.locale.country.south_korea
assert(self.helper.validator.phone.validate('+82-010-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82-10-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82-02-123-4567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82-2-123-4567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82-02-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82-2-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+8201012345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+821012345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82021234567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+8221234567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+820212345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('+82212345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('010-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('031-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('031-123-4567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('02-1234-5678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('02-123-4567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('01012345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('03112345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('0311234567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('0212345678', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('021234567', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('1577-1234', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('15771234', locale=locale_ko) is True)
assert(self.helper.validator.phone.validate('12ab-cd12', locale=locale_ko) is False)
assert(self.helper.validator.phone.validate('12abcd12', locale=locale_ko) is False)
assert(self.helper.validator.phone.validate('010-1234-56781', locale=locale_ko) is False)
assert(self.helper.validator.phone.validate('010-1234-567812', locale=locale_ko) is False)
assert(self.helper.validator.phone.validate('010123456781', locale=locale_ko) is False)
assert(self.helper.validator.phone.validate('02-39-208121', locale=locale_ko) is False)
assert(self.helper.validator.phone.validate('053392081212', locale=locale_ko) is False)
self.finish('done')
| 72.318182 | 99 | 0.729101 | 435 | 3,182 | 5.255172 | 0.14023 | 0.111986 | 0.216973 | 0.33902 | 0.848206 | 0.83902 | 0.83902 | 0.820647 | 0.820647 | 0.820647 | 0 | 0.117094 | 0.130421 | 3,182 | 43 | 100 | 74 | 0.709071 | 0.0066 | 0 | 0 | 0 | 0 | 0.121241 | 0 | 0 | 0 | 0 | 0 | 0.861111 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
aa257d2ca3eba231f00a41534357f6be98f8db27 | 40,487 | py | Python | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/uao/uao_catalog_tabs/test_persistant_table.py | sridhargoudrangu/gpdb | 0783892116708662d7fe7ef4f307197de40ecc04 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/uao/uao_catalog_tabs/test_persistant_table.py | sridhargoudrangu/gpdb | 0783892116708662d7fe7ef4f307197de40ecc04 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/uao/uao_catalog_tabs/test_persistant_table.py | sridhargoudrangu/gpdb | 0783892116708662d7fe7ef4f307197de40ecc04 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | """
Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved.
This program and the accompanying materials are made available under
the terms of the under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import tinctest
import re
import os
import time
from datetime import datetime
import unittest2 as unittest
from mpp.gpdb.tests.storage.lib import Database
from tinctest.models.scenario import ScenarioTestCase
from tinctest.lib import local_path, Gpdiff
from mpp.lib.PSQL import PSQL, PSQLException
from tinctest.main import TINCException
'''
Automation of visimap testing for UAO feature
'''
class uao_visimapException( TINCException ): pass
class uao_visimap(ScenarioTestCase):
"""
@gucs gp_create_table_random_default_distribution=off
"""
sqlpath=local_path('sql')
outpath=local_path('output')
anspath=local_path('expected')
def __init__(self, methodName):
self.gphome = os.environ.get('GPHOME')
if self.gphome is None:
raise uao_visimapException ("GPHOME environment variable is not set")
super(uao_visimap,self).__init__(methodName)
def setUp(self):
super(uao_visimap, self).setUp()
self.create_udf_get_gp_aocsseg()
self.create_udf_gp_aovisimap_hidden_info()
self.create_udf_gp_aovisimap()
@classmethod
def setUpClass(cls):
super(uao_visimap, cls).setUpClass()
sqlpath=local_path('sql')
outpath=local_path('output')
anspath=local_path('expected')
if not os.path.exists(outpath):
os.mkdir(outpath)
def test_07_create_udf_gp_aovisimap_hidden_info(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_07 Verify the creation of UDF gp_aovisimap_hidden test run')
tinctest.logger.info("-------------------------------\n")
self.create_udf_gp_aovisimap_hidden_info()
def test_19_create_udf_gp_aovisimap(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_19 Verify the creation of UDF gp_aovisimap test run')
tinctest.logger.info("-------------------------------\n")
self.create_udf_gp_aovisimap()
def test_22_create_udf_get_gp_aocsseg(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_22 Verify the creation of UDF udf_get_gp_aocsseg test run')
tinctest.logger.info("-------------------------------\n")
self.create_udf_get_gp_aocsseg()
def test_01_create_uao_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_01 Verify the creation of uao table for the test run')
tinctest.logger.info("-------------------------------\n")
sql_file = os.path.join(self.sqlpath,'create_uao_table_01.sql')
out_file = os.path.join(self.outpath,'create_uao_table_01.out')
PSQL.run_sql_file(sql_file = sql_file, out_file = out_file)
if out_file[-2:] == '.t':
out_file = out_file[:-2]
if self.anspath is not None:
ans_file= os.path.join(self.anspath,'create_uao_table_01.ans')
tinctest.logger.info("**** _run_sql_file() : ans file = "+ans_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
os.remove(os.path.join('.', out_file))
def test_02_check_empty_visimap_for_uao_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_02 Verify Empty visimap for uao table for the test run')
tinctest.logger.info("-------------------------------\n")
tablename="uao_tab_test1"
relid = self.get_relid(file_name=tablename )
sql_cmd="SELECT 1 FROM pg_appendonly WHERE visimapidxid is not NULL AND visimapidxid is not NULL AND relid=%s" % relid
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd)
self.assertIsNotNone(re.search('1 row', sql_out))
def test_03_use_udf_gp_aovisimap_hidden_info_uaocs_upd(self):
tablename ='uaocs_table_test14'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_03 Verify the hidden tup_count using udf gp_aovisimap_hidden_info(oid) for uaocs relation after update ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.ans')
#create uaocs table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_uaocs_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
# update row
sql_cmd3="update %s set j = 'test_update' ;" % (tablename)
sql_out=PSQL.run_sql_command(sql_cmd=sql_cmd3)
#sql_out=PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
#relid = self.get_relid(file_name=tablename )
num=(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port))
assert(int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)) > 0)
self.vacuum_full(tablename=tablename)
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
def test_04_guc_select_invisible_for_uao_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_04 Verify GUC select_invisible for uao table for the test run')
tinctest.logger.info("-------------------------------\n")
tablename ='uao_tab_test1'
relid = self.get_relid(file_name=tablename )
sql_file = os.path.join(self.sqlpath,'guc_selinvisibletrue_04.sql')
out_file = os.path.join(self.outpath,'guc_selinvisibletrue_04.out')
ans_file= os.path.join(self.anspath,'guc_selinvisibletrue_04.ans')
PSQL.run_sql_file(sql_file = sql_file, out_file = out_file, flags='-q')
assert Gpdiff.are_files_equal(out_file, ans_file)
def test_05_truncatetab_visimap_for_uao_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_05 Verify that the visimap truncates with truncate uao table test run')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'truncatevisimapinfo_05.out')
sql_file = os.path.join(self.sqlpath,'truncatevisimapinfo_05.sql')
ans_file= os.path.join(self.anspath,'truncatevisimapinfo_05.ans')
sql_cmd1="drop table if exists uao_visimap_test05;create table uao_visimap_test05 (i int, j varchar(20), k int ) with (appendonly=true) DISTRIBUTED BY (i);\n"
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
self.assertIsNotNone(re.search('CREATE TABLE', sql_out))
sql_cmd2="\\pset tuples_only\n\\pset footer off\nSELECT relfilenode FROM pg_class WHERE relname='uao_visimap_test05';\n"
with open(sql_file,'w') as f:
f.write(sql_cmd2);
sql_out=PSQL.run_sql_file(sql_file=sql_file, out_file=out_file, flags='-q')
with open(out_file, 'r') as f:
relid = f.read()
aovisimap_cmd="select * from gp_dist_random('pg_aoseg.pg_aovisimap_%s');\n" % relid.strip()
sql_cmd3="select * from uao_visimap_test05;\n"+aovisimap_cmd+"insert into uao_visimap_test05 select i,'aa'||i,i+10 from generate_series(1,5) as i;\ndelete from uao_visimap_test05 where i=3;\nselect * from uao_visimap_test05;\n"+aovisimap_cmd+"truncate table uao_visimap_test05;\nselect * from uao_visimap_test05;\n"+aovisimap_cmd
with open(sql_file,'w') as f:
f.write(sql_cmd3);
sql_out=PSQL.run_sql_file(sql_file=sql_file, out_file=out_file, flags='-q')
assert Gpdiff.are_files_equal(out_file, ans_file)
def test_06_deletetable_visimap_for_uao_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_06 Verify that the visimap updates with delete row in uao table test run')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'deletetablevisimapinfo_06.out')
sql_file = os.path.join(self.sqlpath,'deletetablevisimapinfo_06.sql')
ans_file= os.path.join(self.anspath,'deletetablevisimapinfo_06.ans')
sql_cmd1="drop table if exists uao_visimap_test06 ;create table uao_visimap_test06 (i int, j varchar(20), k int ) with (appendonly=true) DISTRIBUTED BY (i);\n"
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
self.assertIsNotNone(re.search('CREATE TABLE', sql_out))
sql_cmd2="\\pset tuples_only\n\\pset footer off\nSELECT relfilenode FROM pg_class WHERE relname='uao_visimap_test06';\n"
with open(sql_file,'w') as f:
f.write(sql_cmd2);
sql_out=PSQL.run_sql_file(sql_file=sql_file, out_file=out_file, flags='-q')
with open(out_file, 'r') as f:
relid = f.read()
aovisimap_cmd="select * from gp_dist_random('pg_aoseg.pg_aovisimap_%s');\n" % relid.strip()
sql_cmd3="select * from uao_visimap_test06;\n"+aovisimap_cmd+"insert into uao_visimap_test06 select i,'aa'||i,i+10 from generate_series(1,5) as i;\ndelete from uao_visimap_test06 where i=3;\nselect * from uao_visimap_test06;\n"+aovisimap_cmd
with open(sql_file,'w') as f:
f.write(sql_cmd3);
sql_out=PSQL.run_sql_file(sql_file=sql_file, out_file=out_file, flags='-q')
assert Gpdiff.are_files_equal(out_file, ans_file)
def test_08_call_udf_gp_aovisimap_fordelete(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_08 Verify the usage of UDF gp_aovisimap in utility mode for deleted tuple')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_aovisimap_del_08.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_aovisimap_del_08.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_aovisimap_del_08.ans')
tablename='uao_visimap_test08'
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get the segment_id where we'll log in utility mode and then get the hostname and port for this segment
utilitymodeinfo=self.get_utilitymode_conn_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
before_tablerowcnt=self.get_rowcnt_table_on_segment(tablename=tablename, host=u_host,port=u_port)
before_visimaprowcnt=self.get_visimap_cnt_on_segment(relid=relid,host=u_host,port=u_port)
assert(int(before_visimaprowcnt) == 0)
sql_cmd="delete from uao_visimap_test08 ;"
PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=u_host, port=u_port,flags='-q -t')
after_tablerowcnt=self.get_rowcnt_table_on_segment(tablename=tablename, host=u_host,port=u_port)
after_visimaprowcnt=self.get_visimap_cnt_on_segment(relid=relid,host=u_host,port=u_port)
assert(int(after_tablerowcnt) == 0)
def test_09_call_udf_gp_aovisimap_forupdate(self):
tablename='uao_visimap_test09'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_09 Verify the usage of UDF gp_aovisimap in utility mode for update tuple')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_aovisimap_upd_09.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_aovisimap_upd_09.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_aovisimap_upd_09.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename)
utilitymodeinfo=self.get_utilitymode_conn_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
#login to segment in utility mode and execute the gp_aovisimap(relid) UDF
before_tablerowcnt=self.get_rowcnt_table_on_segment(tablename=tablename, host=u_host,port=u_port)
before_visimaprowcnt=self.get_visimap_cnt_on_segment(relid=relid,host=u_host,port=u_port)
assert(int(before_visimaprowcnt) == 0)
sql_cmd="update %s set j = j || '_9';" % (tablename)
PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=u_host, port=u_port,flags='-q -t')
after_visimaprowcnt=self.get_visimap_cnt_on_segment(relid=relid,host=u_host,port=u_port)
assert(int(after_visimaprowcnt) > 0)
def test_10_use_udf_gp_aovisimap_hidden_info_uao_del_vacuum(self):
tablename ='uao_table_test11'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_10 Verify the hidden tup_count using udf gp_aovisimap_hidden_info(oid) for uao relation after delete and vacuum')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.out')
sql_file = os.path.join(self.sqlpath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.sql')
ans_file= os.path.join(self.anspath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
# delete row
sql_cmd3="delete from %s ;" % ( tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
assert(int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)) > 0)
self.vacuum_full(tablename=tablename)
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
def test_11_tupcount_in_pg_aoseg_uaotable_upd(self):
tablename ='uao_table_test11'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_11 Verify the tupcount update to pg_aoseg wile updating uao table ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.out')
sql_file = os.path.join(self.sqlpath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.sql')
ans_file= os.path.join(self.anspath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get the count from pg_aoseg before the update is performed
pgaoseg_tupcount=self.get_tupcount_pgaoseg(relid=relid)
tab_rowcount_bfrupd=self.get_rowcnt_table(tablename=tablename)
sql_cmd3="update %s set j=j||'test11' where i = 1;" % tablename
PSQL.run_sql_command(sql_cmd=sql_cmd3, flags='-q -t')
#get the count from pg_aoseg after the update is performed
pgaoseg_tupcount_aftupd=self.get_tupcount_pgaoseg(relid=relid)
tab_rowcount_aftupd=self.get_rowcnt_table(tablename=tablename)
assert (int(pgaoseg_tupcount_aftupd) == (int(tab_rowcount_aftupd))+1)
assert (int(tab_rowcount_bfrupd) == (int(tab_rowcount_aftupd)))
assert (int(pgaoseg_tupcount_aftupd) == (int(pgaoseg_tupcount))+1)
# vacuum
self.vacuum_full(tablename=tablename)
pgaoseg_tupcount_aftvacuum=self.get_tupcount_pgaoseg(relid=relid)
tab_rowcount_aftvacuum=self.get_rowcnt_table(tablename=tablename)
assert (int(pgaoseg_tupcount_aftvacuum) == (int(tab_rowcount_aftvacuum)))
def test_12_tupcount_in_pg_aoseg_uaotable_del(self):
tablename ='uao_table_test12'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_12 Verify the tupcount delete to pg_aoseg with deleting from uao table ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_tupcount_in_pg_aoseg_uaotable_del_12.out')
sql_file = os.path.join(self.sqlpath,'create_tab_tupcount_in_pg_aoseg_uaotable_del_12.sql')
ans_file= os.path.join(self.anspath,'create_tab_tupcount_in_pg_aoseg_uaotable_del_12.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get the count from pg_aoseg before the delete is performed
pgaoseg_tupcount=self.get_tupcount_pgaoseg(relid=relid)
tab_rowcount_bfrdel=self.get_rowcnt_table(tablename=tablename)
sql_cmd3="delete from %s where i = 1;" % tablename
PSQL.run_sql_command(sql_cmd=sql_cmd3, flags='-q -t')
#get the count from pg_aoseg after the delete is performed
pgaoseg_tupcount_aftdel=self.get_tupcount_pgaoseg(relid=relid)
tab_rowcount_aftdel=self.get_rowcnt_table(tablename=tablename)
assert (int(pgaoseg_tupcount_aftdel) == (int(tab_rowcount_aftdel))+1)
assert (int(tab_rowcount_bfrdel) == (int(tab_rowcount_aftdel)+1))
assert (int(pgaoseg_tupcount_aftdel) == (int(pgaoseg_tupcount)))
# vacuum
self.vacuum_full(tablename=tablename)
pgaoseg_tupcount_aftvacuum=self.get_tupcount_pgaoseg(relid=relid)
tab_rowcount_aftvacuum=self.get_rowcnt_table(tablename=tablename)
assert (int(pgaoseg_tupcount_aftvacuum) == (int(tab_rowcount_aftvacuum)))
def test_13_gp_persistent_relation_node_uaotable_del(self):
tablename ='uao_table_test13'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_13 Verify the eof mark in pg_aoseg and gp_persistant_rel_node table for uao relation after delete ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_persistent_relation_node_uaotable_del_13.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_persistent_relation_node_uaotable_del_13.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_persistent_relation_node_uaotable_del_13.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
#get eof info before delete
assert (self.is_same_eof_uao_on_segment(relid=relid,host=u_host,port= u_port))
# delete 1 row
sql_cmd3="delete from %s where i = (select min(i) from %s );" % (tablename, tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
self.vacuum_full(tablename=tablename)
#get eof info after delete
#eof_pg_aoseg_aft=self.get_eofuncompressed_pgaoseg_on_segment(relid=relid,host=u_host,port= u_port)
#eof_gp_persistant_rel_node_aft=self.get_eof_gp_persistent_relation_node_on_segment(relid=relid,host=u_host,port= u_port)
#assert (int(eof_pg_aoseg_aft) == (int(eof_gp_persistant_rel_node_aft)))
assert (self.is_same_eof_uao_on_segment(relid=relid,host=u_host,port= u_port))
def test_14_gp_persistent_relation_node_uaotable_del(self):
tablename ='uao_table_test14'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_14 Verify the eof mark in pg_aoseg and gp_persistant_rel_node table for uao relation after update ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_persistent_relation_node_uaotable_upd_14.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_persistent_relation_node_uaotable_upd_14.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_persistent_relation_node_uaotable_upd_14.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
#get eof info before update
assert (self.is_same_eof_uao_on_segment(relid=relid,host=u_host,port= u_port))
# update 1 row
sql_cmd3="update %s set k = k+ 100 where i = (select min(i) from %s );" % (tablename, tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
self.vacuum_full(tablename=tablename)
#get eof info after update
assert (self.is_same_eof_uao_on_segment(relid=relid,host=u_host,port= u_port))
def test_15_create_uaocs_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_15 Verify creation of uaocs table for the test run')
tinctest.logger.info("-------------------------------\n")
sql_file = os.path.join(self.sqlpath,'create_uaocs_table_01.sql')
out_file = os.path.join(self.outpath,'create_uaocs_table_01.out')
PSQL.run_sql_file(sql_file = sql_file, out_file = out_file)
if out_file[-2:] == '.t':
out_file = out_file[:-2]
if self.anspath is not None:
ans_file= os.path.join(self.anspath,'create_uaocs_table_01.ans')
tinctest.logger.info("**** _run_sql_file() : ans file = "+ans_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
os.remove(os.path.join('.', out_file))
def test_16_check_empty_visimap_for_uaocs_tables(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_16 Verify Empty visimap for uao table for the test run')
tinctest.logger.info("-------------------------------\n")
tablename="uaocs_tab_test1"
relid = self.get_relid(file_name=tablename )
sql_cmd="SELECT 1 FROM pg_appendonly WHERE visimapidxid is not NULL AND visimapidxid is not NULL AND relid=%s" % (relid)
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd)
self.assertIsNotNone(re.search('1 row', sql_out))
def test_17_gp_persistent_relation_node_uaocs_table_eof_del(self):
tablename ='uaocs_table_test14'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_17 Verify the eof mark in pg_aoseg and gp_persistant_rel_node table for uaocs relation after delete ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.ans')
#create uaocs table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_uaocs_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
assert (self.is_same_eof_uaocs_on_segment(relid=relid,host=u_host,port= u_port))
# update 1 row
sql_cmd3="update %s set k = k+ 100 where i = (select min(i) from %s );" % (tablename, tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
self.vacuum()
#self.vacuum(tablename=tablename)
assert (self.is_same_eof_uaocs_on_segment(relid=relid,host=u_host,port= u_port))
def test_18_gp_persistent_relation_node_uaocs_table_eof_upd(self):
tablename ='uaocs_table_test14'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_18 Verify the eof mark in pg_aoseg and gp_persistant_rel_node table for uaocs relation after update ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.ans')
#create uaocs table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_uaocs_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
assert (self.is_same_eof_uaocs_on_segment(relid=relid,host=u_host,port= u_port))
# delete 1 row
sql_cmd3="delete from %s where i = (select min(i) from %s );" % (tablename, tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
self.vacuum_full(tablename=tablename)
assert (self.is_same_eof_uaocs_on_segment(relid=relid,host=u_host,port= u_port))
def test_20_use_udf_gp_aovisimap_hidden_info_uaocs_del(self):
tablename ='uaocs_table_test14'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_20 Verify the hidden tup_count using UDF gp_aovisimap_hidden_info(oid) for uaocs relation after delete ')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.out')
sql_file = os.path.join(self.sqlpath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.sql')
ans_file= os.path.join(self.anspath,'create_tab_gp_persistent_relation_node_uaocs_table_upd_14.ans')
#create uaocs table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_uaocs_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
# delete 1 row
sql_cmd3="delete from %s where i = (select min(i) from %s );" % (tablename, tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
assert(1 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
self.vacuum_full(tablename=tablename)
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
def test_21_use_udf_gp_aovisimap_hidden_info_uao_upd_vacuum(self):
tablename ='uao_table_test11'
tinctest.logger.info("-------------------------------")
tinctest.logger.info('test_21 Verify the hidden tup_count using UDF gp_aovisimap_hidden_info(oid) for uao relation after update_vacuum')
tinctest.logger.info("-------------------------------\n")
out_file = os.path.join(self.outpath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.out')
sql_file = os.path.join(self.sqlpath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.sql')
ans_file= os.path.join(self.anspath,'create_tab_tupcount_in_pg_aoseg_uaotable_upd_11.ans')
#create uao table and insert 10 rows
sql_out=PSQL.run_sql_file(sql_file = sql_file,out_file=out_file)
assert Gpdiff.are_files_equal(out_file, ans_file)
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get relid for newly created table
relid = self.get_relid(file_name=tablename )
#get utility mode connection info
utilitymodeinfo=self.get_utilitymode_conn_info( relid=relid)
u_port=utilitymodeinfo[0]
u_host=utilitymodeinfo[1]
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
# update rows
sql_cmd3="update %s set j = 'test11' ;" % ( tablename)
PSQL.run_sql_command_utility_mode(sql_cmd= sql_cmd3,host=u_host, port=u_port,flags='-q -t')
assert(int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)) > 0)
self.vacuum_full(tablename=tablename)
assert(0 == int(self.get_hidden_tup_cnt(relid=relid,host=u_host,port= u_port)))
def get_rowcnt_table(self,tablename=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting rowcount from table '+tablename)
tinctest.logger.info("-------------------------------\n")
sql_cmd="select count(*) from %s;" % tablename
rowcount=PSQL.run_sql_command(sql_cmd=sql_cmd,flags='-q -t')
return rowcount
def get_rowcnt_table_on_segment(self,tablename=None, host=None,port=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting rowcount from table '+tablename +' on segment host='+host +' port=' + port)
tinctest.logger.info("-------------------------------\n")
sql_cmd="select count(*) from %s;" % tablename
rowcount= PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=host, port=port,flags='-q -t')
return rowcount
def get_visimap_cnt_on_segment(self,relid=0,host=None,port=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting rowcount from relid '+ relid +' on segment host='+host +' port=' + port)
tinctest.logger.info("-------------------------------\n")
sql_cmd="select count(*) from gp_aovisimap(%s);" % relid.strip()
rowcount= PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=host, port=port,flags='-q -t')
return rowcount
def get_tupcount_pgaoseg(self,relid=0):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting tupcount from pg_aoseg.pg_aoseg_ '+relid)
tinctest.logger.info("-------------------------------\n")
sql_cmd="select sum(tupcount) from gp_dist_random('pg_aoseg.pg_aoseg_%s');" % relid.strip()
tupcount=PSQL.run_sql_command(sql_cmd=sql_cmd,flags='-q -t')
return tupcount
def get_tupcount_pgaocsseg(self,relid=0):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting tupcount from pg_aoseg.pg_aocsseg_ '+relid)
tinctest.logger.info("-------------------------------\n")
sql_cmd="select sum(tupcount) from gp_dist_random('pg_aoseg.pg_aocsseg_%s');" % relid.strip()
tupcount=PSQL.run_sql_command(sql_cmd=sql_cmd,flags='-q -t')
return tupcount
def get_eofuncompressed_pgaoseg_on_segment(self,relid=0,host=None,port=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting eofuncompressed from pg_aoseg.pg_aoseg_ '+relid)
tinctest.logger.info("-------------------------------\n")
sql_cmd="select eofuncompressed from pg_aoseg.pg_aoseg_%s where eof > 0 LIMIT 1;" % relid.strip()
eof=PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=host, port=port,flags='-q -t')
return eof
def is_same_eof_uaocs_on_segment(self,relid=0,host=None,port=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting eofuncompressed from gp_persistent_relation_node and udf get_gp_aocsseg(oid) ')
tinctest.logger.info("-------------------------------\n")
sql_cmd="select count(*) from gp_persistent_relation_node a , get_gp_aocsseg(%s) b where a.segment_file_num = b.physical_segno and relfilenode_oid = %s and mirror_append_only_new_eof != eof;" %(relid,relid)
cnt=PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=host, port=port,flags='-q -t')
if (int(cnt) == 0):
return True
else:
return False
def is_same_eof_uao_on_segment(self,relid=0,host=None,port=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('getting eofuncompressed from gp_persistent_relation_node and pg_aoseg.pg_aoseg_oid ')
tinctest.logger.info("-------------------------------\n")
sql_cmd="select count(*) from gp_persistent_relation_node a , pg_aoseg.pg_aoseg_%s b where a.segment_file_num = b.segno and relfilenode_oid = %s and mirror_append_only_new_eof != eofuncompressed;" %(relid.strip(),relid.strip())
cnt=PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=host, port=port,flags='-q -t')
if (int(cnt) == 0):
return True
else:
return False
def create_udf_get_gp_aocsseg(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('creating UDF get_gp_aocsseg(oid)')
tinctest.logger.info("-------------------------------\n")
sql_cmd1="drop function if exists get_gp_aocsseg(oid); CREATE FUNCTION get_gp_aocsseg(oid) RETURNS TABLE ( gp_tid tid , segno integer , column_num smallint , physical_segno integer , tupcount bigint , eof bigint , eof_uncompressed bigint , modcount bigint, ownstate smallint ) AS '"+self.gphome+"/lib/postgresql/gp_ao_co_diagnostics.so', 'gp_aocsseg_wrapper' LANGUAGE C STRICT;"
tinctest.logger.info(sql_cmd1+"\n")
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
if (re.search('CREATE FUNCTION', sql_out)) is not None:
tinctest.logger.info('Successfully created UDF get_gp_aocsseg(oid) ')
self.assertIsNotNone(re.search('CREATE FUNCTION', sql_out))
def create_udf_gp_aovisimap(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('creating UDF gp_aovisimap ')
tinctest.logger.info("-------------------------------\n")
sql_cmd1="drop function if exists gp_aovisimap(oid); create function gp_aovisimap(oid) RETURNS TABLE (tid tid, segno integer, row_num bigint) AS '"+self.gphome+"/lib/postgresql/gp_ao_co_diagnostics.so', 'gp_aovisimap_wrapper' LANGUAGE C STRICT;"
tinctest.logger.info(sql_cmd1+"\n")
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
if (re.search('CREATE FUNCTION', sql_out)) is not None:
tinctest.logger.info('Successfully created UDF gp_aovisimap(oid) ')
self.assertIsNotNone(re.search('CREATE FUNCTION', sql_out))
def create_udf_gp_aovisimap_hidden_info(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('creating UDF gp_aovisimap_hidden_info ')
tinctest.logger.info("-------------------------------\n")
sql_cmd1="drop function if exists gp_aovisimap_hidden_info(oid); create function gp_aovisimap_hidden_info(oid) RETURNS TABLE (segno integer, hidden_tupcount bigint, total_tupcount bigint) AS '"+self.gphome+"/lib/postgresql/gp_ao_co_diagnostics.so', 'gp_aovisimap_hidden_info_wrapper' LANGUAGE C STRICT;"
tinctest.logger.info(sql_cmd1+"\n")
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
if (re.search('CREATE FUNCTION', sql_out)) is not None:
tinctest.logger.info('Successfully created UDF gp_aovisimap_hidden_info(oid) ')
self.assertIsNotNone(re.search('CREATE FUNCTION', sql_out))
def get_hidden_tup_cnt(self, relid=0,host=None,port=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('get hidden_tupcount from gp_aovisimap_hidden_info ')
tinctest.logger.info("-------------------------------\n")
sql_cmd="select sum(hidden_tupcount) from gp_aovisimap_hidden_info(%s);" % relid.strip()
tupcnt=PSQL.run_sql_command_utility_mode(sql_cmd=sql_cmd,host=host, port=port,flags='-q -t')
if (len(tupcnt.strip()) == 0):
tupcnt='0'
return tupcnt
def vacuum_full(self, tablename=None):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('creating vacuum full '+tablename)
tinctest.logger.info("-------------------------------\n")
sql_cmd1="vacuum full %s;" % tablename
tinctest.logger.info(sql_cmd1+"\n")
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
if (re.search('VACUUM', sql_out)) is not None:
tinctest.logger.info('Successfully executed vacuum full on table ' + tablename )
self.assertIsNotNone(re.search('VACUUM', sql_out))
def vacuum(self):
tinctest.logger.info("-------------------------------")
tinctest.logger.info('creating vacuum')
tinctest.logger.info("-------------------------------\n")
sql_cmd1="vacuum;"
tinctest.logger.info(sql_cmd1+"\n")
sql_out=PSQL.run_sql_command(sql_cmd = sql_cmd1)
if (re.search('VACUUM', sql_out)) is not None:
tinctest.logger.info('Successfully executed vacuum ')
def get_relid(self,file_name=None):
sql_cmd="SELECT oid FROM pg_class WHERE relname='%s';\n" % file_name
relid= PSQL.run_sql_command(sql_cmd=sql_cmd, flags='-q -t')
return relid;
def get_utilitymode_conn_info(self, relid=0):
#get the segment_id where to log in utility mode and then get the hostname and port for this segment
sql_cmd="select port, hostname from gp_segment_configuration sc where dbid > 1 and role = 'p' order by port desc limit 1;"
utilitymodeinfo=PSQL.run_sql_command(sql_cmd=sql_cmd, flags='-q -t')
u_port=utilitymodeinfo.strip().split('|')[0]
u_host=utilitymodeinfo.strip().split('|')[1]
return [u_port,u_host]
def get_utilitymode_conn_uaocs_info(self, relid=0):
#get the segment_id where to log in utility mode and then get the hostname and port for this segment
sql_cmd="select port, hostname from gp_segment_configuration sc where dbid > 1 and role = 'p' limit 1;"
utilitymodeinfo=PSQL.run_sql_command(sql_cmd=sql_cmd, flags='-q -t')
u_port=utilitymodeinfo.strip().split('|')[0]
u_host=utilitymodeinfo.strip().split('|')[1]
return [u_port,u_host]
| 54.860434 | 389 | 0.684417 | 5,799 | 40,487 | 4.472495 | 0.064321 | 0.064775 | 0.083282 | 0.027529 | 0.87126 | 0.855722 | 0.836791 | 0.804018 | 0.781655 | 0.768044 | 0 | 0.012921 | 0.160817 | 40,487 | 737 | 390 | 54.934871 | 0.750441 | 0.060044 | 0 | 0.621269 | 0 | 0.022388 | 0.310178 | 0.15474 | 0 | 0 | 0 | 0 | 0.106343 | 0 | null | null | 0.001866 | 0.020522 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4bf8d8ac65fc87d06db5b71b09a9fbb02fb3143 | 540 | py | Python | udacity/cloud-native-application-architecture/3-message-passing/lesson-3-implementing-message-passing/flask-demo/services.py | thomasrobertz/mooc | cb87365bfcbe8ccf972f36d70a251c73b3c15a7b | [
"MIT"
] | null | null | null | udacity/cloud-native-application-architecture/3-message-passing/lesson-3-implementing-message-passing/flask-demo/services.py | thomasrobertz/mooc | cb87365bfcbe8ccf972f36d70a251c73b3c15a7b | [
"MIT"
] | 13 | 2021-12-14T20:59:34.000Z | 2022-03-02T11:09:34.000Z | udacity/cloud-native-application-architecture/3-message-passing/lesson-3-implementing-message-passing/flask-demo/services.py | thomasrobertz/mooc | cb87365bfcbe8ccf972f36d70a251c73b3c15a7b | [
"MIT"
] | 1 | 2020-08-20T12:53:43.000Z | 2020-08-20T12:53:43.000Z | def retrieve_item(item_id):
"""
This is a stubbed method of retrieving a resource. It doesn't actually do anything.
"""
return {
"id": item_id,
"brand_name": "Clean Breathing",
"name": "Air Purifier",
"weight": 12.3,
}
def create_item(item_id):
"""
This is a stubbed method of creating a resource. It doesn't actually do anything.
"""
return {
"id": item_id,
"brand_name": "Clean Breathing",
"name": "Air Purifier",
"weight": 12.3,
}
| 23.478261 | 87 | 0.559259 | 68 | 540 | 4.323529 | 0.441176 | 0.081633 | 0.068027 | 0.095238 | 0.870748 | 0.870748 | 0.870748 | 0.870748 | 0.870748 | 0.653061 | 0 | 0.016129 | 0.311111 | 540 | 22 | 88 | 24.545455 | 0.774194 | 0.305556 | 0 | 0.714286 | 0 | 0 | 0.284884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4ebc60a60ab7c99bd66f1d214e4ea236af1acea | 117,854 | py | Python | Code/Chenglong/conf/feature_conf_nonlinear_201604170111.py | ChenglongChen/Kaggle_Homedepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 465 | 2016-04-27T13:17:36.000Z | 2020-05-15T11:05:13.000Z | Code/Chenglong/conf/feature_conf_nonlinear_201604170111.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 1 | 2016-10-15T04:33:54.000Z | 2016-10-15T04:33:54.000Z | Code/Chenglong/conf/feature_conf_nonlinear_201604170111.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 230 | 2016-04-30T06:35:17.000Z | 2019-12-04T08:23:22.000Z | # -*- coding: utf-8 -*-
"""
@author: Chenglong Chen <c.chenglong@gmail.com>
@brief: one feature conf
Generated by
python get_feature_conf_nonlinear.py -d 5 -o feature_conf_nonlinear_201604170111.py
Format:
FEATURE_NAME : (MANDATORY, TRANSFORM)
"""
import config
from feature_transformer import SimpleTransform, ColumnSelector
LSA_COLUMNS = range(5)
feature_dict = {
"AttrBulletCount_product_attribute_list_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"AttrBulletRatio_product_attribute_list_1D" : (False, SimpleTransform()),
"AttrCount_product_attribute_list_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"AttrHasIndoorOutdoor_product_attribute_list_1D" : (False, SimpleTransform()),
"AttrHasProductDepth_product_attribute_list_1D" : (False, SimpleTransform()),
"AttrHasProductHeight_product_attribute_list_1D" : (False, SimpleTransform()),
"AttrHasProductLength_product_attribute_list_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"AttrHasProductWidth_product_attribute_list_1D" : (False, SimpleTransform()),
"AttrNonBulletCount_product_attribute_list_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"AttrNonBulletRatio_product_attribute_list_1D" : (False, SimpleTransform()),
"CharDistribution_CosineSim_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"CharDistribution_CosineSim_search_term_x_product_description_1D" : (False, SimpleTransform()),
"CharDistribution_CosineSim_search_term_x_product_title_1D" : (False, SimpleTransform()),
"CharDistribution_KL_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"CharDistribution_KL_search_term_x_product_description_1D" : (False, SimpleTransform()),
"CharDistribution_KL_search_term_x_product_title_1D" : (False, SimpleTransform()),
"CooccurrenceCount_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceCount_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"CooccurrenceRatio_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"CooccurrenceRatio_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"DigitCount_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DigitCount_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DigitCount_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DigitCount_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DigitRatio_product_attribute_1D" : (False, SimpleTransform()),
"DigitRatio_product_description_1D" : (False, SimpleTransform()),
"DigitRatio_product_title_1D" : (False, SimpleTransform()),
"DigitRatio_search_term_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_CosineSim_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_CosineSim_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_CosineSim_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_CosineSim_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_CosineSim_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_RMSE_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_RMSE_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_RMSE_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_RMSE_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Doc2Vec_Homedepot_D100_RMSE_search_term_x_product_title_1D" : (False, SimpleTransform()),
"DocEntropy_product_attribute_1D" : (False, SimpleTransform()),
"DocEntropy_product_description_1D" : (False, SimpleTransform()),
"DocEntropy_product_title_1D" : (False, SimpleTransform()),
"DocEntropy_search_term_1D" : (False, SimpleTransform()),
"DocFreq_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocFreq_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocFreq_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocFreq_product_uid_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocFreq_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocId_product_brand_1D" : (True, SimpleTransform()),
"DocId_product_color_1D" : (True, SimpleTransform()),
"DocId_product_title_1D" : (True, SimpleTransform()),
"DocId_search_term_1D" : (True, SimpleTransform()),
"DocLen_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocLen_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"DocLen_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectCount_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"FirstIntersectRatio_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"FirstIntersectRatio_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"IntersectCount_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectCount_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectNormPosition_Bigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Bigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Trigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectNormPosition_Unigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectPosition_Bigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Bigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Trigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectPosition_Unigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"IntersectRatio_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectRatio_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectRatio_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"IntersectRatio_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"IsIndoorOutdoorMatch_search_term_x_product_attribute_list_1D" : (False, SimpleTransform()),
"JaccardCoef_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"JaccardCoef_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"JaccardCoef_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"JaccardCoef_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"JaccardCoef_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"JaccardCoef_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"JaccardCoef_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"JaccardCoef_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"JaccardCoef_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"JaccardCoef_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"JaccardCoef_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform()),
"JaccardCoef_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"JaccardCoef_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"JaccardCoef_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"LSA100_Char_Fourgram_CosineSim_search_term_x_product_attribute_1D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Char_Fourgram_CosineSim_search_term_x_product_description_1D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Char_Fourgram_CosineSim_search_term_x_product_title_1D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Char_Fourgram_product_description_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Char_Fourgram_product_title_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Char_Fourgram_search_term_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Obs_Bigram_Target_Bigram_Cooc_search_term_x_product_title_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Obs_Bigram_Target_Unigram_Cooc_search_term_x_product_title_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Obs_Unigram_Target_Bigram_Cooc_search_term_x_product_title_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Obs_Unigram_Target_Unigram_Cooc_search_term_x_product_title_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Trigram_CosineSim_search_term_x_product_attribute_1D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Trigram_CosineSim_search_term_x_product_description_1D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Trigram_CosineSim_search_term_x_product_title_1D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Trigram_product_description_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Trigram_product_title_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LSA100_Word_Trigram_search_term_100D" : (False, ColumnSelector(LSA_COLUMNS)),
"LastIntersectCount_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectCount_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"LastIntersectRatio_Bigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Bigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Trigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_product_color_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_product_description_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_product_title_x_search_term_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_search_term_x_product_color_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_search_term_x_product_description_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_search_term_x_product_title_1D" : (False, SimpleTransform()),
"LastIntersectRatio_Unigram_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"LongestMatchRatio_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"LongestMatchRatio_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"LongestMatchRatio_search_term_x_product_color_1D" : (False, SimpleTransform()),
"LongestMatchRatio_search_term_x_product_description_1D" : (False, SimpleTransform()),
"LongestMatchRatio_search_term_x_product_title_1D" : (False, SimpleTransform()),
"LongestMatchRatio_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"MatchAttrCount_search_term_x_product_attribute_list_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchAttrRatio_search_term_x_product_attribute_list_1D" : (False, SimpleTransform()),
"MatchQueryCount_search_term_x_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchQueryCount_search_term_x_product_brand_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchQueryCount_search_term_x_product_color_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchQueryCount_search_term_x_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchQueryCount_search_term_x_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchQueryCount_search_term_x_product_title_product_name_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"MatchQueryRatio_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"MatchQueryRatio_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"MatchQueryRatio_search_term_x_product_color_1D" : (False, SimpleTransform()),
"MatchQueryRatio_search_term_x_product_description_1D" : (False, SimpleTransform()),
"MatchQueryRatio_search_term_x_product_title_1D" : (False, SimpleTransform()),
"MatchQueryRatio_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"QueryQuality_lemmatized_x_stemmed_1D" : (False, SimpleTransform()),
"QueryQuality_raw_x_lemmatized_1D" : (False, SimpleTransform()),
"QueryQuality_raw_x_stemmed_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Bigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Trigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocBM25_Unigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Bigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Trigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTFIDF_Unigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Bigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Trigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Max_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Mean_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Min_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_product_attribute_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_product_brand_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_product_color_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_product_description_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_product_title_product_name_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_product_title_x_search_term_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_product_name_x_product_title_product_name_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"StatCoocTF_Unigram_Std_search_term_x_product_title_product_name_1D" : (False, SimpleTransform()),
"TFIDF_Char_Fourgram_CosineSim_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"TFIDF_Char_Fourgram_CosineSim_search_term_x_product_description_1D" : (False, SimpleTransform()),
"TFIDF_Char_Fourgram_CosineSim_search_term_x_product_title_1D" : (False, SimpleTransform()),
"TFIDF_Word_Trigram_CosineSim_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"TFIDF_Word_Trigram_CosineSim_search_term_x_product_description_1D" : (False, SimpleTransform()),
"TFIDF_Word_Trigram_CosineSim_search_term_x_product_title_1D" : (False, SimpleTransform()),
"UniqueCount_Bigram_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Bigram_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Bigram_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Bigram_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Trigram_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Trigram_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Trigram_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Trigram_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Unigram_product_attribute_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Unigram_product_description_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Unigram_product_title_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueCount_Unigram_search_term_1D" : (False, SimpleTransform(config.COUNT_TRANSFORM)),
"UniqueRatio_Bigram_product_attribute_1D" : (False, SimpleTransform()),
"UniqueRatio_Bigram_product_description_1D" : (False, SimpleTransform()),
"UniqueRatio_Bigram_product_title_1D" : (False, SimpleTransform()),
"UniqueRatio_Bigram_search_term_1D" : (False, SimpleTransform()),
"UniqueRatio_Trigram_product_attribute_1D" : (False, SimpleTransform()),
"UniqueRatio_Trigram_product_description_1D" : (False, SimpleTransform()),
"UniqueRatio_Trigram_product_title_1D" : (False, SimpleTransform()),
"UniqueRatio_Trigram_search_term_1D" : (False, SimpleTransform()),
"UniqueRatio_Unigram_product_attribute_1D" : (False, SimpleTransform()),
"UniqueRatio_Unigram_product_description_1D" : (False, SimpleTransform()),
"UniqueRatio_Unigram_product_title_1D" : (False, SimpleTransform()),
"UniqueRatio_Unigram_search_term_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_IMP_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_IMP_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_IMP_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_IMP_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_IMP_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Centroid_RMSE_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Max_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Mean_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_CosineSim_Min_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Importance_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Importance_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Importance_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Importance_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_Importance_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_Imp_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_Imp_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_Imp_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_Imp_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_Imp_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_GoogleNews_D300_N_Similarity_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_IMP_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_IMP_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_IMP_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_IMP_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_IMP_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_Centroid_RMSE_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Max_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Mean_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_CosineSim_Min_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_N_Similarity_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_N_Similarity_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_N_Similarity_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_N_Similarity_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Homedepot_D100_N_Similarity_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_IMP_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_IMP_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_IMP_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_IMP_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_IMP_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Centroid_RMSE_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Max_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Mean_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Max_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Max_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Max_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Max_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Mean_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Mean_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Mean_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Mean_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Min_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Min_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Min_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Min_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Std_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Std_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Std_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Std_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_CosineSim_Min_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Importance_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Importance_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Importance_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Importance_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_Importance_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_Imp_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_Imp_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_Imp_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_Imp_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_Imp_search_term_x_product_title_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_search_term_x_product_attribute_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_search_term_x_product_brand_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_search_term_x_product_color_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_search_term_x_product_description_1D" : (False, SimpleTransform()),
"Word2Vec_Wikipedia_D300_N_Similarity_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Max_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Max_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Max_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Max_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Mean_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Mean_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Mean_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Mean_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Min_Max_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Min_Mean_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Min_Min_search_term_x_product_title_1D" : (False, SimpleTransform()),
"WordNet_Path_Similarity_Min_Std_search_term_x_product_title_1D" : (False, SimpleTransform()),
"GroupRelevance_Size_search_term_1D" : (True, SimpleTransform()),
}
| 98.457811 | 125 | 0.867506 | 14,213 | 117,854 | 6.480546 | 0.009147 | 0.088157 | 0.275633 | 0.135233 | 0.991065 | 0.986234 | 0.975626 | 0.973911 | 0.958961 | 0.876525 | 0 | 0.022209 | 0.040296 | 117,854 | 1,196 | 126 | 98.540134 | 0.792149 | 0.002036 | 0 | 0 | 1 | 0 | 0.620951 | 0.620781 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010169 | 0 | 0.010169 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
52c17af0f882b4727ae7931c2f60de403d285bd8 | 4,100 | py | Python | src/file_picker.py | Tiloon/Object-Recognition | ee0a24ea1d2345dcfb8c24f8bfdbca792e60c857 | [
"MIT"
] | null | null | null | src/file_picker.py | Tiloon/Object-Recognition | ee0a24ea1d2345dcfb8c24f8bfdbca792e60c857 | [
"MIT"
] | null | null | null | src/file_picker.py | Tiloon/Object-Recognition | ee0a24ea1d2345dcfb8c24f8bfdbca792e60c857 | [
"MIT"
] | null | null | null | def chooseImagePathRef():
# TEST
imgPath = "../resources/ref_canette.jpg"
# imgPath = "../resources/ref_logo.jpg"
return imgPath
def chooseImagePath():
# TEST
# imgPath = "../resources/ref_logo.jpg"
# imgPath = "../resources/ref_canette.jpg"
# EASY
#OK
# imgPath = "../resources/facile/20160525_144343.jpg" # chemise bleu 90°
# imgPath = "../resources/facile/20160525_145003.jpg" # grille
#moyen
# imgPath = "../resources/facile/20160525_143739.jpg" # contraste
# imgPath = "../resources/facile/20160524_163619.jpg" # normal devant mur
# QUASIFACILE
#OK
imgPath = "../resources/quasi_facile/20160515_165214.jpg" #FAIL
# imgPath = "../resources/quasi_facile/20160525_144412.jpg" #NATURE
# imgPath = "../resources/quasi_facile/20160525_144427.jpg" #HARD
# imgPath = "../resources/green.jpg" #GREEN
#moyen LOGO OK
# imgPath = "../resources/quasi_facile/20160523_191210.jpg" #GREEN
# imgPath = "../resources/quasi_facile/20160525_143754.jpg" #
#LOGO OK
# imgPath = "../resources/quasi_facile/20160523_190950.jpg" #CLOSET BIG
# imgPath = "../resources/quasi_facile/20160525_144248.jpg" #BOULE ANTISTRESS
#moyen
# imgPath = "../resources/quasi_facile/20160506_125941.jpg" #DESSUS
# imgPath = "../resources/quasi_facile/20160525_144527.jpg" #OMBRE
# imgPath = "../resources/quasi_facile/20160525_144416.jpg" #
# imgPath = "../resources/quasi_facile/20160523_191304.jpg" #
#KO
# imgPath = "../resources/quasi_facile/20160525_144433.jpg" #DISTORSION: moyen
# imgPath = "../resources/quasi_facile/20160525_143735.jpg" # DEVANT FENETRE # HARD
# imgPath = "../resources/quasi_facile/20160506_130022.jpg" #FAIL
# imgPath = "../resources/quasi_facile/20160515_165208.jpg" #FAIL
# imgPath = "../resources/quasi_facile/photo_mm.jpg" #
# imgPath = "../resources/quasi_facile/20160525_144533.jpg" #FAIL
# imgPath = "../resources/quasi_facile/20160525_144511.jpg" #
# imgPath = "../resources/quasi_facile/20160525_144430.jpg" #
# imgPath = "../resources/quasi_facile/20160525_145157.jpg" #
# imgPath = "../resources/quasi_facile/20160523_191142.jpg" #
# imgPath = "../resources/quasi_facile/20160525_144422.jpg" # HARD
print(imgPath)
return imgPath
def listOfPaths():
return ["../resources/ref_logo.jpg",
"../resources/ref_logo2.jpg",
"../resources/ref_logo_hor.jpg",
"../resources/ref_canette.jpg",
"../resources/facile/20160524_163619.jpg", # normal devant mur
"../resources/facile/20160525_145003.jpg", # grille
"../resources/facile/20160525_144343.jpg", # chemise bleu 90°
"../resources/facile/20160525_143739.jpg", # normal devant fenetre
"../resources/quasi_facile/20160506_125941.jpg", #DESSUS
"../resources/quasi_facile/20160525_143735.jpg", # DEVANT FENETRE # HARD
"../resources/quasi_facile/20160525_144433.jpg", #DISTORSION
"../resources/quasi_facile/20160506_130022.jpg", #FAIL
"../resources/quasi_facile/20160525_143754.jpg",
"../resources/quasi_facile/20160525_144511.jpg",
"../resources/quasi_facile/20160515_165208.jpg", #FAIL
"../resources/quasi_facile/20160525_144248.jpg", #BOULE ANTISTRESS
"../resources/quasi_facile/20160525_144527.jpg", #OMBRE
"../resources/quasi_facile/20160515_165214.jpg", #FAIL
"../resources/quasi_facile/20160525_144412.jpg", #NATURE
"../resources/quasi_facile/20160525_144533.jpg",
"../resources/quasi_facile/20160523_190950.jpg", #CLOSET BIG
"../resources/quasi_facile/20160525_144416.jpg",
"../resources/quasi_facile/20160525_145157.jpg",
"../resources/quasi_facile/20160523_191142.jpg",
"../resources/quasi_facile/20160525_144422.jpg", # HARD
"../resources/quasi_facile/photo_mm.jpg",
"../resources/quasi_facile/20160523_191210.jpg", #GREEN
"../resources/green.jpg", #GREEN
"../resources/quasi_facile/20160525_144427.jpg",
"../resources/quasi_facile/20160523_191304.jpg",
"../resources/quasi_facile/20160525_144430.jpg"]
| 46.590909 | 88 | 0.692927 | 458 | 4,100 | 5.978166 | 0.163755 | 0.224982 | 0.321402 | 0.265888 | 0.880205 | 0.786706 | 0.48466 | 0.178963 | 0.073046 | 0 | 0 | 0.202006 | 0.14878 | 4,100 | 87 | 89 | 47.126437 | 0.581948 | 0.486585 | 0 | 0.051282 | 0 | 0 | 0.665015 | 0.665015 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0.025641 | 0.153846 | 0.025641 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 8 |
52fe1d1040f37590ee4e2f0b831024c86d87eacd | 156 | py | Python | fairypptx/parts/_markdown/jsonast/__init__.py | Sillte/fairypptx | 926d277e7692bcf1dd0d365e9c0e26e8d495bafb | [
"MIT"
] | null | null | null | fairypptx/parts/_markdown/jsonast/__init__.py | Sillte/fairypptx | 926d277e7692bcf1dd0d365e9c0e26e8d495bafb | [
"MIT"
] | null | null | null | fairypptx/parts/_markdown/jsonast/__init__.py | Sillte/fairypptx | 926d277e7692bcf1dd0d365e9c0e26e8d495bafb | [
"MIT"
] | null | null | null | from fairypptx.parts._markdown.jsonast._from_jsonast import from_jsonast # NOQA
from fairypptx.parts._markdown.jsonast._to_jsonast import to_script #NOQA
| 52 | 80 | 0.852564 | 22 | 156 | 5.681818 | 0.409091 | 0.208 | 0.288 | 0.416 | 0.528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 156 | 2 | 81 | 78 | 0.874126 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5e21397e24eefd2871b75e2be9f55e19781b0840 | 373 | py | Python | tests/internal/dedicated_hosts/test_dedicated_hosts_true_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/dedicated_hosts/test_dedicated_hosts_true_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/dedicated_hosts/test_dedicated_hosts_true_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module dedicated_hosts.true
import pytest
import ec2_compare.internal.dedicated_hosts.true
def test_get_internal_data_dedicated_hosts_true_get_instances_list():
assert len(ec2_compare.internal.dedicated_hosts.true.get_instances_list()) > 0
def test_get_internal_data_dedicated_hosts_true_get():
assert len(ec2_compare.internal.dedicated_hosts.true.get) > 0
| 37.3 | 80 | 0.857909 | 56 | 373 | 5.267857 | 0.339286 | 0.284746 | 0.366102 | 0.284746 | 0.827119 | 0.827119 | 0.616949 | 0.616949 | 0.616949 | 0 | 0 | 0.014409 | 0.069705 | 373 | 9 | 81 | 41.444444 | 0.835735 | 0.093834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
5e2b047416268dc970e2ce09ea04a0a9dcfb8a31 | 27,355 | py | Python | simPy/telepathy.py | UofT-HPRC/telepathy | db43a26e6850b1b4339c1474f181f98ef0ac06e4 | [
"MIT"
] | null | null | null | simPy/telepathy.py | UofT-HPRC/telepathy | db43a26e6850b1b4339c1474f181f98ef0ac06e4 | [
"MIT"
] | null | null | null | simPy/telepathy.py | UofT-HPRC/telepathy | db43a26e6850b1b4339c1474f181f98ef0ac06e4 | [
"MIT"
] | null | null | null | import sys
import os
import math
import inspect
from galapagos_sonar import GalapagosNet
import numpy as np
import math
import struct
import json
import binascii
def make_dummy_test(weights_file, input_file):
ifm_sw = np.array([1] * 288)
weights_sw = np.array([1] * 64)
i = open(input_file, "w")
for ifm in ifm_sw:
i.write(str(ifm) + ' ')
w = open(weight_file, "w")
for weight in weights_sw:
w.write(str(weight) + ' ')
#from stackoverflow: https://stackoverflow.com/questions/23624212/how-to-convert-a-float-into-hex
def float_to_hex(f):
f = float(f)
return bytearray.fromhex(hex(struct.unpack('<I', struct.pack('<f', f))[0])[2:])
class Telepathy(GalapagosNet):
def __init__(self, jsonFile):
with open(jsonFile) as f:
data = json.load(f)
self.parameters = {"name": {"output": data['comm']['ports']['output'], "input": data['comm']['ports']['input']},
"mac_table": data['comm']['mac_table'],
"rank": data['comm']['src_rank'],
"config_hardware": data['config_hardware'],
"neural_net" : data['neural_net'],
"mode" : data['mode']
}
GalapagosNet.__init__(self, self.parameters)
for rank_id, rank in enumerate(self.parameters['neural_net']):
self.parameters['neural_net'][rank_id]['rank_info']['batch_size'] = 1
self.parameters['neural_net'][rank_id]['rank_info']['num_ranks'] = 1
self.parameters['neural_net'][rank_id]['rank_info']['ifm_baseaddr'] = int(self.parameters['neural_net'][rank_id]['rank_info']['ifm_baseaddr'], 16)
self.parameters['neural_net'][rank_id]['rank_info']['ofm_baseaddr'] = int(self.parameters['neural_net'][rank_id]['rank_info']['ofm_baseaddr'], 16)
self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr'] = int(self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr'], 16)
for cmd_id, cmd in enumerate(self.parameters['neural_net'][rank_id]['command']):
num_weights = 0
weights = bytearray(0)
with open(rank['command'][cmd_id]['weight_file'], 'r') as fobj:
for line in fobj:
for num in line.split():
weights = bytearray(struct.pack('>h',int(num))) + weights
num_weights= num_weights+1
#weights = [[struct.pack('>I',int(num)) for num in line.split()] for line in fobj]
#print binascii.hexlify(weights)
#self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"weights": np.array(weights, dtype="int16")})
self.parameters['neural_net'][rank_id]['command'][cmd_id]["weights"] = weights
print "num of weights " + str(num_weights)
if self.parameters['neural_net'][rank_id]['command'][cmd_id]['bias'] == 1:
biases = bytearray(0)
with open(self.parameters['neural_net'][rank_id]['command'][cmd_id]['bias_file'], 'r') as fobj:
for line in fobj:
for num in line.split():
biases = bytearray(struct.pack('>h',int(num))) + biases
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"biases": biases})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"configParameters" :self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases'] + self.parameters['neural_net'][rank_id]['weights']})
else:
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"configParameters" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights']})
print "length of weights2 " + str(len(self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights']))
print "length of configparam " + str(len(self.parameters['neural_net'][rank_id]['command'][cmd_id]['configParameters']))
# if(cmd_id == (0)):
# #self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"biases": np.array(biases, dtype="int16").byteswap()})
# self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"biases": biases})
# #self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"configParameters" :self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases'].tobytes() + self.parameters['neural_net'][rank_id]['weights'].tobytes()})
# self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"configParameters" :self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases'] + self.parameters['neural_net'][rank_id]['weights']})
#
#
# else:
# self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"configParameters" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights']})
##A self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"weights_baseaddr": self.parameters['neural_net'][rank_id]['command'][cmd_id]["biases_weights_baseaddr"]})
#
if(cmd_id == (0)):
if self.parameters['neural_net'][rank_id]['command'][cmd_id]['bias'] == 1:
self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases_weights_baseaddr'] = self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr']
self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights_baseaddr'] = self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr'] + len(self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases'])
else:
self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases_weights_baseaddr'] = self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr']
self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights_baseaddr'] = self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr']
if(cmd_id != (len(self.parameters['neural_net'][rank_id]['command']) - 1)):
if self.parameters['neural_net'][rank_id]['command'][cmd_id]['bias'] == 1:
self.parameters['neural_net'][rank_id]['command'][cmd_id+1]['biases_weights_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases_weights_baseaddr'] + len(self.parameters['neural_net'][rank_id]['command'][cmd_id]['configParameters'])
self.parameters['neural_net'][rank_id]['command'][cmd_id+1]['weights_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id + 1]['biases_weights_baseaddr'] + len(self.parameters['neural_net'][rank_id]['command'][cmd_id+1]['biases'])
else:
self.parameters['neural_net'][rank_id]['command'][cmd_id+1]['biases_weights_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases_weights_baseaddr'] + len(self.parameters['neural_net'][rank_id]['command'][cmd_id]['configParameters'])
self.parameters['neural_net'][rank_id]['command'][cmd_id+1]['weights_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id + 1]['biases_weights_baseaddr']
#print self.parameters['neural_net'][rank_id]['command'][cmd_id]["biases_weights_baseaddr"]
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ofm_height" : math.ceil((self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_height'] + 2 * self.parameters['neural_net'][rank_id]['command'][cmd_id]['pad'] - self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_height']) / self.parameters['neural_net'][rank_id]['command'][cmd_id]['stride'] + 1)})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ofm_width": math.ceil((self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_width'] + 2 * self.parameters['neural_net'][rank_id]['command'][cmd_id]['pad'] - self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_width']) / self.parameters['neural_net'][rank_id]['command'][cmd_id]['stride'] + 1)})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ifm_slices": math.ceil(self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_depth'] / self.parameters['config_hardware']['C_NUM_OF_ROWS'])})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ofm_slices": math.ceil(self.parameters['neural_net'][rank_id]['command'][cmd_id]['output_channels'] / self.parameters['config_hardware']['C_NUM_OF_ROWS'])})
print "pool kernel height " + str(self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_height'] )
print "pool kernel width " + str(self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_width'])
print "pool stride " + str(self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_stride'] )
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ifm_packet_length": self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_width']*self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_height']*self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_slices']})
print "ifm slices " + str(self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_slices'])
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ifm_depth_offset": self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_width']*self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_height']*self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_depth']})
if(cmd_id == 0):
self.parameters['neural_net'][rank_id]['command'][0]['ifm_baseaddr'] = self.parameters['neural_net'][rank_id]['rank_info']['ifm_baseaddr']
else:
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id -1]['ofm_baseaddr']
#self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_baseaddr'] = int(self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_baseaddr'],16) + self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_packet_length']*2
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_baseaddr'] + self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_height']* self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_width'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_depth']*2
if(cmd_id == len(self.parameters['neural_net'][rank_id]['command']) -1):
self.parameters['neural_net'][rank_id]['rank_info']['ofm_baseaddr'] = self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_baseaddr']
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"weights_packet_length": self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_height'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_width'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_depth']})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"weight_depth_offset" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_height'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_width'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_depth'] * self.parameters['config_hardware']['C_NUM_OF_COLS']})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_input_height" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_height']})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_input_width" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_width']})
print "pool input height " + str(self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_input_height'] )
print "pool input width " + str(self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_input_width'])
#self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_input_height" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_height']})
#self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_input_width" : self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_width']})
try:
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_output_height" : math.ceil(
((self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_input_height'] - self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_height']) / 1.0) / self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_stride'] / 1.0 + 1)})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_output_width" : math.ceil(
((self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_input_width'] - self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_width']) / 1.0) / self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_stride'] / 1.0 + 1)})
except ZeroDivisionError:
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_output_height" : 0})
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"pool_output_width" : 0})
# pool_stride has to be a multiple of 2
if (self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_stride'] != 0 \
and self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_height'] > 5 and self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_width'] > 5 \
and self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_width'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_width'] < 1 << 9 \
and self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_width'] < 1 << 8):
# WHEN MAXPOOL IS ENABLED, THE OUTPUT SIZE WILL BE SMALLER
# THERFORE, THE OFM_PACKET_LENGTH HAS TO BE ADJUSTED ACCORDINGLY
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ofm_packet_length": self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_height'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_width'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_slices']})
else:
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_height'] = 0
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_width'] = 0
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_height'] = 0
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_width'] = 0
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_stride'] = 0
self.parameters['neural_net'][rank_id]['command'][cmd_id].update({"ofm_packet_length": self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_height'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_width'] * self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_slices']})
self.configParametersFPGA(rank_id)
self.configDMAFPGA(rank_id)
self.configCmdFPGA(rank_id)
#self.test(rank_id)
# self.configParametersFPGA(rank_id)
# self.configDMAFPGA(rank_id)
# self.configCmdFPGA(rank_id)
def test(self, rank_id):
binToSend = bytearray(8) #address
print binToSend
print "len of long is " + str(len(binToSend))
b = bytearray.fromhex("0800 00 00 00 00 00 00")
binToSend.extend(bytearray(b)) #size
print "len of long is " + str(len(binToSend))
GalapagosNet.binToStream(self, binToSend, self.parameters['neural_net'][rank_id]['rank_info']['dst_rank'])
binToSend = bytearray(np.array([16]).tobytes()) #dma parameters
print len(bytearray(np.array([16]).tobytes()))
GalapagosNet.binToStream(self, binToSend, self.parameters['neural_net'][rank_id]['rank_info']['dst_rank'])
def configParametersFPGA(self, rank_id):
binToSend = bytearray(np.array([self.parameters['neural_net'][rank_id]['rank_info']['biases_weights_baseaddr']], dtype=np.int64).byteswap().tobytes())
print len(binToSend)
length = 0
#calculate length of all parameters on fpga
for cmd_id, cmd in enumerate(self.parameters['neural_net'][rank_id]['command']):
length = length + len(self.parameters['neural_net'][rank_id]['command'][cmd_id]['configParameters'])
print "length of command " + str(cmd_id) + " is " + str(length)
print "length of command is " + str(length)
binToSend.extend(np.array([length], dtype=np.int64).byteswap().tobytes())
print len(binToSend)
#send configuration parameters to all fpga_ranks
GalapagosNet.binToStream(self, binToSend, self.parameters['neural_net'][rank_id]['rank_info']['dst_rank'], 'init' + str(rank_id))
#send all weights for all commands on fpga
for cmd_id, cmd in enumerate(self.parameters['neural_net'][rank_id]['command']):
#print binascii.hexlify(self.parameters['neural_net'][rank_id]['command'][cmd_id]['configParameters'])
GalapagosNet.binToStream(self, self.parameters['neural_net'][rank_id]['command'][cmd_id]['configParameters'], self.parameters['neural_net'][rank_id]['rank_info']['dst_rank'], 'init' + str(rank_id))
def configDMAFPGA(self, rank_id):
binToSend = bytearray(np.array([self.parameters['neural_net'][rank_id]['rank_info']['ifm_baseaddr']], dtype=np.int64).byteswap().tobytes())
binToSend.extend(bytearray(np.array([self.parameters['neural_net'][rank_id]['command'][0]['ifm_width'] * self.parameters['neural_net'][rank_id]['command'][0]['ifm_height'] * self.parameters['neural_net'][rank_id]['command'][0]['ifm_depth'] * 2], dtype=np.int64).byteswap().tobytes()))
binToSend.extend(bytearray(np.array([self.parameters['neural_net'][rank_id]['rank_info']['ofm_baseaddr']], dtype=np.int64).byteswap().tobytes()))
binToSend.extend(bytearray(np.array([self.parameters['neural_net'][rank_id]['command'][len(self.parameters['neural_net'][rank_id]['command']) - 1]['ofm_height'] * self.parameters['neural_net'][rank_id]['command'][len(self.parameters['neural_net'][rank_id]['command'])-1] ['ofm_width'] * self.parameters['neural_net'][rank_id]['command'][len(self.parameters['neural_net'][rank_id]['command'])-1]['output_channels'] * 2], dtype=np.int64).byteswap().tobytes()))
GalapagosNet.binToStream(self, binToSend, self.parameters['neural_net'][rank_id]['rank_info']['dst_rank'], 'init' + str(rank_id))
def configCmdFPGA(self, rank_id):
# cmd_num_commands = np.array([1],dtype=np.int64).byteswap()
cmd_num_commands = np.array([len(self.parameters['neural_net'][rank_id]['command'])],dtype=np.int64).byteswap()
for cmd_id, cmd in enumerate(self.parameters['neural_net'][rank_id]['command']):
cmd_conv = np.array([self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_height'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_width'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_height'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['kernel_width'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['stride'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pad'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_height'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_width'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_slices'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_slices'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_fragments'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_mem_fragments']
],
dtype='uint16').byteswap()
cmd_addr = np.array([self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_baseaddr'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_packet_length'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_depth_offset'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ifm_height_offset'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_baseaddr'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['ofm_packet_length'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights_baseaddr'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['weights_packet_length'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['weight_depth_offset']
],
dtype='uint32').byteswap()
cmd_mode = np.array([0, 0], dtype='uint16')
cmd_pool = np.array([0,
1,
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_input_height'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_input_width'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_height'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_kernel_width'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_height'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_output_width'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['pool_stride'],
0],
dtype='uint16').byteswap()
cmd_relu_bias = np.array([
self.parameters['neural_net'][rank_id]['command'][cmd_id]['relu'],
self.parameters['neural_net'][rank_id]['command'][cmd_id]['bias']
],
dtype='uint8')
cmd_bias_addr = np.array([
self.parameters['neural_net'][rank_id]['command'][cmd_id]['biases_weights_baseaddr']
],
dtype='uint32'
).byteswap()
cmd_rsvd = np.zeros((11,), dtype='uint32')
if(cmd_id == 0):
#self.cmd = cmd_num_commands.tobytes() + \
# cmd_conv.tobytes() + \
# cmd_addr.tobytes() + \
# cmd_mode.tobytes() + \
# cmd_pool.tobytes() + \
# cmd_rsvd.tobytes()
self.cmd = cmd_mode.tobytes() + \
cmd_pool.tobytes() + \
cmd_rsvd.tobytes()
else:
self.cmd.extend(bytearray(cmd_num_commands.tobytes() + cmd_conv.tobytes() +
cmd_addr.tobytes() +
cmd_mode.tobytes() +
cmd_pool.tobytes() +
cmd_rsvd.tobytes()))
self.cmd = bytearray(self.cmd)
self.cmd.extend(bytearray(np.array([self.parameters['neural_net'][rank_id]['rank_info']['batch_size']],dtype=np.int64).byteswap()))
self.cmd.extend(bytearray(np.array([self.parameters['neural_net'][rank_id]['rank_info']['num_ranks']],dtype=np.int64).byteswap()))
GalapagosNet.binToStream(self, self.cmd, self.parameters['neural_net'][rank_id]['rank_info']['dst_rank'], 'init'+ str(rank_id))
#
#
# def runDarius(self, cumulativeCycleCount, transName, input_file, rank_id):
#
# self.DMAIn(cumulativeCycleCount, transName, input_file, rank_id)
# self.DMAOut(transName, rank_id)
#
#
# def getRankID(self, rank):
#
# rank_id = None
# for rank_idx, neural_net in enumerate(self.parameters['neural_net']):
# if rank == neural_net['dst_rank']:
# rank_id = rank_idx
# break
# return rank_id
#
# def DMAIn(self, cumulativeCycleCount, transName, input_file, rank):
#
# rank_id = self.getRankID(rank)
# cumulativeCycleCountBin = float_to_hex(cumulativeCycleCount)
# self.mpi_send(cumulativeCycleCountBin, transName + '_CUMULATIVE_CYCLE_COUNT', self.parameters['neural_net'][rank_id]['dst_rank'])
# with open(input_file, 'r') as fobj:
# dmaInput = [[int(num) for num in line.split()] for line in fobj]
# dmaInput = np.array(dmaInput, dtype="int16")
# self.mpi_send(bytearray(dmaInput.tobytes()), transName + '_DMA_INPUT', self.parameters['neural_net'][rank_id]['dst_rank'])
#
# def DMAOut(self, transName, rank_id):
# rank_id = self.getRankID(rank)
# self.mpi_recv(self.parameters['ofm_packet_width'], transName + '_DMA_OUTPUT', self.parameters['neural_net'][rank_id]['dst_rank'])
#
#test for this module
if __name__=="__main__":
# make_dummy_test('weights', 'input')
rank0 = Telepathy('demo.json')
rank0.stop()
#retList = rank0.getDict()
#print "Printing the Dict for binary transaction"
#for item in retList:
# print item
| 75.151099 | 468 | 0.608006 | 3,323 | 27,355 | 4.713512 | 0.062895 | 0.088489 | 0.265594 | 0.305433 | 0.822384 | 0.8107 | 0.797995 | 0.788674 | 0.766839 | 0.756177 | 0 | 0.007489 | 0.214147 | 27,355 | 363 | 469 | 75.358127 | 0.721124 | 0.161872 | 0 | 0.177273 | 0 | 0 | 0.261216 | 0.017945 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045455 | null | null | 0.077273 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5e390cf59ef0f1a28ea5505d97b1e1b915877ae6 | 7,044 | py | Python | macop/operators/discrete/crossovers.py | prise-3d/macop | 6ca7b03c0d6650993cad974c5bde9c2a0d56f4a8 | [
"MIT"
] | 6 | 2020-08-30T19:12:00.000Z | 2022-03-22T09:53:11.000Z | macop/operators/discrete/crossovers.py | prise-3d/macop | 6ca7b03c0d6650993cad974c5bde9c2a0d56f4a8 | [
"MIT"
] | null | null | null | macop/operators/discrete/crossovers.py | prise-3d/macop | 6ca7b03c0d6650993cad974c5bde9c2a0d56f4a8 | [
"MIT"
] | 2 | 2020-11-27T11:19:00.000Z | 2021-03-02T19:50:32.000Z | """Crossover implementations for discrete solutions kind
"""
# main imports
import random
import sys
# module imports
from macop.operators.base import Crossover
class SimpleCrossover(Crossover):
"""Crossover implementation which generated new solution by splitting at mean size best solution and current solution
Attributes:
kind: {:class:`~macop.algorithms.base.Algorithm`} -- specify the kind of operator
Example:
>>> # operators import
>>> from macop.operators.discrete.crossovers import SimpleCrossover
>>> from macop.operators.discrete.mutators import SimpleMutation
>>>
>>> # policy import
>>> from macop.policies.reinforcement import UCBPolicy
>>>
>>> # solution and algorithm imports
>>> from macop.solutions.discrete import BinarySolution
>>> from macop.algorithms.mono import IteratedLocalSearch
>>> from macop.algorithms.mono import HillClimberFirstImprovment
>>>
>>> # evaluator import
>>> from macop.evaluators.discrete.mono import KnapsackEvaluator
>>>
>>> # evaluator initialization (worths objects passed into data)
>>> worths = [ random.randint(0, 20) for i in range(10) ]
>>> evaluator = KnapsackEvaluator(data={'worths': worths})
>>>
>>> # validator specification (based on weights of each objects)
>>> weights = [ random.randint(20, 30) for i in range(10) ]
>>> validator = lambda solution: True if sum([weights[i] for i, value in enumerate(solution.data) if value == 1]) < 200 else False
>>>
>>> # initialiser function for binary solution using specific solution size
>>> initialiser = lambda x=10: BinarySolution.random(x, validator)
>>>
>>> # operators list with crossover and mutation
>>> simple_crossover = SimpleCrossover()
>>> simple_mutation = SimpleMutation()
>>> operators = [simple_crossover, simple_mutation]
>>> policy = UCBPolicy(operators)
>>> local_search = HillClimberFirstImprovment(initialiser, evaluator, operators, policy, validator, maximise=True, verbose=False)
>>> algo = IteratedLocalSearch(initialiser, evaluator, operators, policy, validator, localSearch=local_search, maximise=True, verbose=False)
>>>
>>> # using best solution, simple crossover is applied
>>> best_solution = algo.run(100)
>>> list(best_solution.data)
[1, 1, 0, 1, 1, 1, 0, 1, 1, 1]
>>> new_solution_1 = initialiser()
>>> new_solution_2 = initialiser()
>>> offspring_solution = simple_crossover.apply(new_solution_1, new_solution_2)
>>> list(offspring_solution.data)
[1, 0, 1, 1, 0, 0, 0, 1, 0, 0]
"""
def apply(self, solution1, solution2=None):
"""Create new solution based on best solution found and solution passed as parameter
Args:
solution1: {:class:`~macop.solutions.base.Solution`} -- the first solution to use for generating new solution
solution2: {:class:`~macop.solutions.base.Solution`} -- the second solution to use for generating new solution
Returns:
{:class:`~macop.solutions.base.Solution`}: new generated solution
"""
size = solution1.size
# copy data of solution
firstData = solution1.data.copy()
# copy of solution2 as output solution
copy_solution = solution2.clone()
splitIndex = int(size / 2)
if random.uniform(0, 1) > 0.5:
copy_solution.data[splitIndex:] = firstData[splitIndex:]
else:
copy_solution.data[:splitIndex] = firstData[:splitIndex]
return copy_solution
class RandomSplitCrossover(Crossover):
"""Crossover implementation which generated new solution by randomly splitting best solution and current solution
Attributes:
kind: {:class:`~macop.operators.base.KindOperator`} -- specify the kind of operator
Example:
>>> # operators import
>>> from macop.operators.discrete.crossovers import RandomSplitCrossover
>>> from macop.operators.discrete.mutators import SimpleMutation
>>>
>>> # policy import
>>> from macop.policies.reinforcement import UCBPolicy
>>>
>>> # solution and algorithm imports
>>> from macop.solutions.discrete import BinarySolution
>>> from macop.algorithms.mono import IteratedLocalSearch
>>> from macop.algorithms.mono import HillClimberFirstImprovment
>>>
>>> # evaluator import
>>> from macop.evaluators.discrete.mono import KnapsackEvaluator
>>>
>>> # evaluator initialization (worths objects passed into data)
>>> worths = [ random.randint(0, 20) for i in range(10) ]
>>> evaluator = KnapsackEvaluator(data={'worths': worths})
>>>
>>> # validator specification (based on weights of each objects)
>>> weights = [ random.randint(20, 30) for i in range(10) ]
>>> validator = lambda solution: True if sum([weights[i] for i, value in enumerate(solution.data) if value == 1]) < 200 else False
>>>
>>> # initialiser function for binary solution using specific solution size
>>> initialiser = lambda x=10: BinarySolution.random(x, validator)
>>>
>>> # operators list with crossover and mutation
>>> random_split_crossover = RandomSplitCrossover()
>>> simple_mutation = SimpleMutation()
>>> operators = [random_split_crossover, simple_mutation]
>>> policy = UCBPolicy(operators)
>>> local_search = HillClimberFirstImprovment(initialiser, evaluator, operators, policy, validator, maximise=True, verbose=False)
>>> algo = IteratedLocalSearch(initialiser, evaluator, operators, policy, validator, localSearch=local_search, maximise=True, verbose=False)
>>>
>>> # using best solution, simple crossover is applied
>>> best_solution = algo.run(100)
>>> list(best_solution.data)
[1, 1, 1, 1, 1, 0, 1, 1, 0, 0]
>>> new_solution_1 = initialiser()
>>> new_solution_2 = initialiser()
>>> offspring_solution = random_split_crossover.apply(new_solution_1, new_solution_2)
>>> list(offspring_solution.data)
[0, 0, 0, 1, 1, 1, 1, 0, 0, 1]
"""
def apply(self, solution1, solution2=None):
"""Create new solution based on best solution found and solution passed as parameter
Args:
solution1: {:class:`~macop.solutions.base.Solution`} -- the first solution to use for generating new solution
solution2: {:class:`~macop.solutions.base.Solution`} -- the second solution to use for generating new solution
Returns:
{:class:`~macop.solutions.base.Solution`}: new generated solution
"""
size = solution1.size
# copy data of solution
firstData = solution1.data.copy()
# copy of solution2 as output solution
copy_solution = solution2.clone()
splitIndex = random.randint(0, size)
if random.uniform(0, 1) > 0.5:
copy_solution.data[splitIndex:] = firstData[splitIndex:]
else:
copy_solution.data[:splitIndex] = firstData[:splitIndex]
return copy_solution
| 41.435294 | 144 | 0.673623 | 776 | 7,044 | 6.051546 | 0.173969 | 0.037479 | 0.004472 | 0.029387 | 0.892036 | 0.890971 | 0.886286 | 0.886286 | 0.861158 | 0.83816 | 0 | 0.020526 | 0.211528 | 7,044 | 169 | 145 | 41.680473 | 0.824991 | 0.776263 | 0 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eaeb1569532ace630657592b6dc862a60f39b415 | 104 | py | Python | entity/cards/LETLT_053/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 102 | 2021-10-20T09:06:39.000Z | 2022-03-28T13:35:11.000Z | entity/cards/LETLT_053/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 98 | 2021-10-19T16:13:27.000Z | 2022-03-27T13:27:49.000Z | entity/cards/LETLT_053/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 55 | 2021-10-19T03:56:50.000Z | 2022-03-25T08:25:26.000Z | # -*- coding: utf-8 -*-
import entity.cards.LETLT_053.LETLT_048
import entity.cards.LETLT_053.LETLT_053
| 26 | 39 | 0.769231 | 17 | 104 | 4.470588 | 0.529412 | 0.315789 | 0.447368 | 0.578947 | 0.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 0.086538 | 104 | 3 | 40 | 34.666667 | 0.663158 | 0.201923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
eaf637110ead0b57755cbf54ddb338fb1be2c38e | 139 | py | Python | banpei/__init__.py | Mee-Panyar-Clinic/banpei | 878f8774681f2871cef65fa335c1710bac3ca995 | [
"MIT"
] | 274 | 2017-10-11T13:14:08.000Z | 2022-03-08T08:20:39.000Z | banpei/__init__.py | Mee-Panyar-Clinic/banpei | 878f8774681f2871cef65fa335c1710bac3ca995 | [
"MIT"
] | 12 | 2017-11-29T01:55:27.000Z | 2021-05-06T01:37:27.000Z | banpei/__init__.py | Mee-Panyar-Clinic/banpei | 878f8774681f2871cef65fa335c1710bac3ca995 | [
"MIT"
] | 51 | 2017-11-22T10:25:55.000Z | 2022-01-11T06:17:30.000Z | from . import base
from .base import model
from . import hotelling
from .hotelling import Hotelling
from . import sst
from .sst import SST
| 19.857143 | 32 | 0.784173 | 21 | 139 | 5.190476 | 0.285714 | 0.275229 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 6 | 33 | 23.166667 | 0.947826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d8378a8ef40827148a08268978908a3496139834 | 796,288 | py | Python | axi/hershey_fonts.py | zbanks/axi | 3308e7c54911135986f86ec603b60c834dc7726b | [
"MIT"
] | 239 | 2017-01-05T03:34:31.000Z | 2022-03-04T23:27:35.000Z | axi/hershey_fonts.py | zbanks/axi | 3308e7c54911135986f86ec603b60c834dc7726b | [
"MIT"
] | 13 | 2017-02-05T13:31:36.000Z | 2020-09-09T14:07:14.000Z | axi/hershey_fonts.py | zbanks/axi | 3308e7c54911135986f86ec603b60c834dc7726b | [
"MIT"
] | 41 | 2017-01-08T09:06:28.000Z | 2022-03-22T14:46:51.000Z | ASTROLOGY = [
(-8, 8, [[]]),
(-12, 12, [[(-8, -10), (-4, -8), (-2, -6), (-1, -3), (-1, 0), (-2, 3), (-4, 5), (-8, 7)], [(-8, -10), (-5, -9), (-3, -8), (-1, -6), (0, -3)], [(0, 0), (-1, 3), (-3, 5), (-5, 6), (-8, 7)], [(8, -10), (5, -9), (3, -8), (1, -6), (0, -3)], [(0, 0), (1, 3), (3, 5), (5, 6), (8, 7)], [(8, -10), (4, -8), (2, -6), (1, -3), (1, 0), (2, 3), (4, 5), (8, 7)], [(-9, -2), (9, -2)], [(-9, -1), (9, -1)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-13, 14, [[(-1, -12), (-4, -11), (-7, -9), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-7, 6), (-4, 8), (-1, 9), (2, 9), (5, 8), (8, 6), (10, 3), (11, 0), (11, -3), (10, -6), (8, -9), (5, -11), (2, -12), (-1, -12)], [(0, -3), (-1, -2), (-1, -1), (0, 0), (1, 0), (2, -1), (2, -2), (1, -3), (0, -3)], [(0, -2), (0, -1), (1, -1), (1, -2), (0, -2)]]),
(-8, 9, [[(-2, -12), (-4, -11), (-3, -9), (-1, -8)], [(-2, -12), (-3, -11), (-3, -9)], [(3, -12), (5, -11), (4, -9), (2, -8)], [(3, -12), (4, -11), (4, -9)], [(-1, -8), (-3, -7), (-4, -6), (-5, -4), (-5, -1), (-4, 1), (-3, 2), (-1, 3), (2, 3), (4, 2), (5, 1), (6, -1), (6, -4), (5, -6), (4, -7), (2, -8), (-1, -8)], [(0, 3), (0, 9)], [(1, 3), (1, 9)], [(-4, 6), (5, 6)]]),
(-9, 10, [[(0, -12), (-3, -11), (-5, -9), (-6, -6), (-6, -5), (-5, -2), (-3, 0), (0, 1), (1, 1), (4, 0), (6, -2), (7, -5), (7, -6), (6, -9), (4, -11), (1, -12), (0, -12)], [(0, 1), (0, 9)], [(1, 1), (1, 9)], [(-4, 5), (5, 5)]]),
(-14, 14, [[(-2, -12), (-5, -11), (-8, -9), (-10, -6), (-11, -3), (-11, 1), (-10, 4), (-8, 7), (-5, 9), (-2, 10), (2, 10), (5, 9), (8, 7), (10, 4), (11, 1), (11, -3), (10, -6), (8, -9), (5, -11), (2, -12), (-2, -12)], [(0, -12), (0, 10)], [(-11, -1), (11, -1)]]),
(-11, 14, [[(-2, -5), (-5, -4), (-7, -2), (-8, 1), (-8, 2), (-7, 5), (-5, 7), (-2, 8), (-1, 8), (2, 7), (4, 5), (5, 2), (5, 1), (4, -2), (2, -4), (-1, -5), (-2, -5)], [(11, -11), (5, -11), (9, -10), (3, -4)], [(11, -11), (11, -5), (10, -9), (4, -3)], [(10, -10), (4, -4)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-12, 10, [[(-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -9), (0, -6), (-1, -3), (-2, -1), (-4, 1), (-7, 3)], [(-3, -12), (-2, -11), (-1, -9), (-1, -5), (-2, -2), (-4, 1)], [(4, -12), (2, 9)], [(5, -12), (1, 9)], [(-7, 3), (7, 3)]]),
(-9, 10, [[(-5, -12), (-5, 3)], [(-4, -12), (-5, -1)], [(-5, -1), (-4, -3), (-3, -4), (-1, -5), (2, -5), (5, -4), (6, -2), (6, 0), (5, 2), (3, 4)], [(2, -5), (4, -4), (5, -2), (5, 0), (2, 6), (2, 8), (3, 9), (5, 9), (7, 7)], [(-7, -12), (-4, -12)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-9, 10, [[(0, -4), (-3, -3), (-5, -1), (-6, 2), (-6, 3), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4)], [(0, -10), (-4, -8), (0, -12), (0, -4)], [(1, -10), (5, -8), (1, -12), (1, -4)], [(0, 1), (-1, 2), (-1, 3), (0, 4), (1, 4), (2, 3), (2, 2), (1, 1), (0, 1)], [(0, 2), (0, 3), (1, 3), (1, 2), (0, 2)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 12, [[(-1, -10), (0, -12), (0, 9)], [(2, -10), (1, -12), (1, 9)], [(-8, -10), (-7, -12), (-7, -5), (-6, -2), (-4, 0), (-1, 1), (0, 1)], [(-5, -10), (-6, -12), (-6, -4), (-5, -1)], [(9, -10), (8, -12), (8, -5), (7, -2), (5, 0), (2, 1), (1, 1)], [(6, -10), (7, -12), (7, -4), (6, -1)], [(-4, 5), (5, 5)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12)], [(-1, -10), (-3, -8), (-4, -6), (-5, -3), (-6, 1), (-6, 5), (-5, 7)], [(2, 7), (4, 5), (5, 3), (6, 0), (7, -4), (7, -8), (6, -10)], [(2, -12), (0, -11), (-2, -8), (-3, -6), (-4, -3), (-5, 1), (-5, 6), (-4, 8), (-3, 9)], [(-1, 9), (1, 8), (3, 5), (4, 3), (5, 0), (6, -4), (6, -9), (5, -11), (4, -12)]]),
(-10, 11, [[(2, -8), (-3, 9), (-1, 9)], [(5, -12), (3, -8), (-2, 9)], [(5, -12), (-1, 9)], [(5, -12), (2, -9), (-1, -7), (-3, -6)], [(2, -8), (0, -7), (-3, -6)]]),
(-10, 11, [[(-3, -7), (-3, -8), (-2, -8), (-2, -6), (-4, -6), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (5, -3), (-5, 3), (-7, 5), (-9, 9)], [(6, -11), (7, -9), (7, -7), (6, -5), (4, -3), (1, -1)], [(4, -12), (5, -11), (6, -9), (6, -7), (5, -5), (3, -3), (-5, 3)], [(-8, 7), (-7, 6), (-5, 6), (0, 7), (5, 7), (6, 6)], [(-5, 6), (0, 8), (5, 8)], [(-5, 6), (0, 9), (3, 9), (5, 8), (6, 6), (6, 5)]]),
(-10, 11, [[(-3, -7), (-3, -8), (-2, -8), (-2, -6), (-4, -6), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3), (1, -2)], [(6, -11), (7, -9), (7, -7), (6, -5), (5, -4)], [(4, -12), (5, -11), (6, -9), (6, -7), (5, -5), (3, -3), (1, -2)], [(-1, -2), (1, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (3, 8), (0, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-6, 3), (-6, 5), (-7, 5), (-7, 4)], [(4, 0), (5, 2), (5, 5), (4, 7)], [(1, -2), (3, -1), (4, 1), (4, 5), (3, 7), (2, 8), (0, 9)]]),
(-10, 11, [[(5, -8), (0, 9), (2, 9)], [(8, -12), (6, -8), (1, 9)], [(8, -12), (2, 9)], [(8, -12), (-8, 3), (8, 3)]]),
(-10, 11, [[(-1, -12), (-6, -2)], [(-1, -12), (9, -12)], [(-1, -11), (7, -11)], [(-2, -10), (3, -10), (7, -11), (9, -12)], [(-6, -2), (-5, -3), (-2, -4), (1, -4), (4, -3), (5, -2), (6, 0), (6, 3), (5, 6), (3, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-6, 3), (-6, 5), (-7, 5), (-7, 4)], [(4, -2), (5, 0), (5, 3), (4, 6), (2, 8)], [(1, -4), (3, -3), (4, -1), (4, 3), (3, 6), (1, 8), (-1, 9)]]),
(-10, 11, [[(7, -8), (7, -9), (6, -9), (6, -7), (8, -7), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 1), (5, -1), (4, -2), (2, -3), (-1, -3), (-3, -2), (-4, -1), (-5, 1)], [(-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 5), (-5, 7)], [(4, 6), (5, 4), (5, 1), (4, -1)], [(2, -12), (0, -11), (-2, -8), (-3, -6), (-4, -3), (-5, 1), (-5, 6), (-4, 8), (-3, 9)], [(0, 9), (2, 8), (3, 7), (4, 4), (4, 0), (3, -2), (2, -3)]]),
(-10, 11, [[(-4, -12), (-6, -6)], [(9, -12), (8, -9), (6, -6), (2, -1), (0, 2), (-1, 5), (-2, 9)], [(0, 1), (-2, 5), (-3, 9)], [(6, -6), (0, 0), (-2, 3), (-3, 5), (-4, 9), (-2, 9)], [(-5, -9), (-2, -12), (0, -12), (5, -9)], [(-3, -11), (0, -11), (5, -9)], [(-5, -9), (-3, -10), (0, -10), (5, -9), (7, -9), (8, -10), (9, -12)]]),
(-10, 11, [[(1, -12), (-2, -11), (-3, -10), (-4, -8), (-4, -5), (-3, -3), (-1, -2), (2, -2), (5, -3), (7, -4), (8, -6), (8, -9), (7, -11), (5, -12), (1, -12)], [(3, -12), (-2, -11)], [(-2, -10), (-3, -8), (-3, -4), (-2, -3)], [(-3, -3), (0, -2)], [(1, -2), (5, -3)], [(6, -4), (7, -6), (7, -9), (6, -11)], [(7, -11), (3, -12)], [(1, -12), (-1, -10), (-2, -8), (-2, -4), (-1, -2)], [(2, -2), (4, -3), (5, -4), (6, -6), (6, -10), (5, -12)], [(-1, -2), (-5, -1), (-7, 1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (4, 8), (5, 7), (6, 5), (6, 2), (5, 0), (4, -1), (2, -2)], [(0, -2), (-5, -1)], [(-4, -1), (-6, 1), (-7, 3), (-7, 6), (-6, 8)], [(-7, 8), (-2, 9), (4, 8)], [(4, 7), (5, 5), (5, 2), (4, 0)], [(4, -1), (1, -2)], [(-1, -2), (-3, -1), (-5, 1), (-6, 3), (-6, 6), (-5, 8), (-4, 9)], [(0, 9), (2, 8), (3, 7), (4, 5), (4, 1), (3, -1), (2, -2)]]),
(-10, 11, [[(6, -4), (5, -2), (4, -1), (2, 0), (-1, 0), (-3, -1), (-4, -2), (-5, -4), (-5, -7), (-4, -9), (-2, -11), (1, -12), (4, -12), (6, -11), (7, -10), (8, -7), (8, -4), (7, 0), (6, 3), (4, 6), (2, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 6), (-7, 4), (-5, 4), (-5, 6), (-6, 6), (-6, 5)], [(-3, -2), (-4, -4), (-4, -7), (-3, -9)], [(6, -10), (7, -8), (7, -4), (6, 0), (5, 3), (3, 6)], [(-1, 0), (-2, -1), (-3, -3), (-3, -7), (-2, -10), (-1, -11), (1, -12)], [(4, -12), (5, -11), (6, -9), (6, -4), (5, 0), (4, 3), (3, 5), (1, 8), (-1, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-5, -1)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1)], [(-9, 9), (7, 9), (7, 4), (6, 9)]]),
(-10, 9, [[(7, -11), (3, -11), (-1, -10), (-4, -8), (-6, -5), (-7, -2), (-7, 1), (-6, 4), (-4, 7), (-1, 9), (3, 10), (7, 10)], [(7, -11), (4, -10), (1, -8), (-1, -5), (-2, -2), (-2, 1), (-1, 4), (1, 7), (4, 9), (7, 10)]]),
(-12, 13, [[(-3, -1), (-5, -1), (-7, 0), (-8, 1), (-9, 3), (-9, 5), (-8, 7), (-7, 8), (-5, 9), (-3, 9), (-1, 8), (0, 7), (1, 5), (1, 3), (0, 1), (-1, 0), (-3, -1)], [(1, -10), (-2, -1)], [(8, -8), (0, 0)], [(10, -1), (1, 2)]]),
(-10, 10, [[(-3, -7), (3, 7)], [(3, -7), (-3, 7)], [(-7, -3), (7, 3)], [(7, -3), (-7, 3)]]),
(-12, 12, [[(-4, 4), (-6, 3), (-7, 3), (-9, 4), (-10, 6), (-10, 7), (-9, 9), (-7, 10), (-6, 10), (-4, 9), (-3, 7), (-3, 6), (-4, 4), (-7, 0), (-8, -3), (-8, -5), (-7, -8), (-5, -10), (-2, -11), (2, -11), (5, -10), (7, -8), (8, -5), (8, -3), (7, 0), (4, 4), (3, 6), (3, 7), (4, 9), (6, 10), (7, 10), (9, 9), (10, 7), (10, 6), (9, 4), (7, 3), (6, 3), (4, 4)], [(-8, -5), (-7, -7), (-5, -9), (-2, -10), (2, -10), (5, -9), (7, -7), (8, -5)]]),
(-12, 12, [[(-4, -5), (-6, -4), (-7, -4), (-9, -5), (-10, -7), (-10, -8), (-9, -10), (-7, -11), (-6, -11), (-4, -10), (-3, -8), (-3, -7), (-4, -5), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-5, 9), (-2, 10), (2, 10), (5, 9), (7, 7), (8, 4), (8, 2), (7, -1), (4, -5), (3, -7), (3, -8), (4, -10), (6, -11), (7, -11), (9, -10), (10, -8), (10, -7), (9, -5), (7, -4), (6, -4), (4, -5)], [(-8, 4), (-7, 6), (-5, 8), (-2, 9), (2, 9), (5, 8), (7, 6), (8, 4)]]),
(-12, 13, [[(-8, -5), (-9, -6), (-9, -8), (-8, -10), (-6, -11), (-4, -11), (-2, -10), (-1, -9), (0, -7), (1, -2)], [(-9, -8), (-7, -10), (-5, -10), (-3, -9), (-2, -8), (-1, -6), (0, -2), (0, 9)], [(9, -5), (10, -6), (10, -8), (9, -10), (7, -11), (5, -11), (3, -10), (2, -9), (1, -7), (0, -2)], [(10, -8), (8, -10), (6, -10), (4, -9), (3, -8), (2, -6), (1, -2), (1, 9)]]),
(-10, 10, [[(0, -12), (-7, 8)], [(-1, -9), (5, 9)], [(0, -9), (6, 9)], [(0, -12), (7, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(2, 9), (9, 9)], [(-7, 8), (-8, 9)], [(-7, 8), (-5, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(6, 7), (8, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(6, -10), (7, -8), (7, -6), (6, -4)], [(3, -12), (5, -11), (6, -9), (6, -5), (5, -3), (3, -2)], [(-4, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(6, 0), (7, 2), (7, 5), (6, 7)], [(3, -2), (5, -1), (6, 1), (6, 6), (5, 8), (3, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 4)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-9, 9)], [(5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6)], [(1, -12), (3, -11), (5, -8), (6, -4), (6, 1), (5, 5), (3, 8), (1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (7, -12), (7, -6)], [(-4, -2), (2, -2)], [(2, -6), (2, 2)], [(-9, 9), (7, 9), (7, 3)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(2, -12), (7, -11)], [(4, -12), (7, -10)], [(5, -12), (7, -9)], [(6, -12), (7, -6)], [(2, -6), (1, -2), (2, 2)], [(2, -4), (0, -2), (2, 0)], [(2, -3), (-2, -2), (2, -1)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(2, 9), (7, 8)], [(4, 9), (7, 7)], [(5, 9), (7, 6)], [(6, 9), (7, 3)]]),
(-11, 9, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (7, -12), (7, -6)], [(-4, -2), (2, -2)], [(2, -6), (2, 2)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(2, -12), (7, -11)], [(4, -12), (7, -10)], [(5, -12), (7, -9)], [(6, -12), (7, -6)], [(2, -6), (1, -2), (2, 2)], [(2, -4), (0, -2), (2, 0)], [(2, -3), (-2, -2), (2, -1)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 12, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 8), (7, 9), (7, 1)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(6, 2), (6, 7)], [(5, 1), (5, 7), (4, 8)], [(2, 1), (10, 1)], [(3, 1), (5, 2)], [(4, 1), (5, 3)], [(8, 1), (7, 3)], [(9, 1), (7, 2)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -11), (-6, 8)], [(-5, -12), (-5, 9)], [(5, -12), (5, 9)], [(6, -11), (6, 8)], [(7, -12), (7, 9)], [(-10, -12), (-2, -12)], [(2, -12), (10, -12)], [(-5, -2), (5, -2)], [(-10, 9), (-2, 9)], [(2, 9), (10, 9)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(3, -12), (5, -11)], [(4, -12), (5, -10)], [(8, -12), (7, -10)], [(9, -12), (7, -11)], [(-7, 8), (-9, 9)], [(-7, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-5, 8), (-3, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-6, 6, [[(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(1, -12), (1, 9)], [(-4, -12), (4, -12)], [(-4, 9), (4, 9)], [(-3, -12), (-1, -11)], [(-2, -12), (-1, -10)], [(2, -12), (1, -10)], [(3, -12), (1, -11)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-8, 8, [[(1, -12), (1, 5), (0, 8), (-1, 9)], [(2, -11), (2, 5), (1, 8)], [(3, -12), (3, 5), (2, 8), (-1, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 4), (-5, 3), (-4, 3), (-3, 4), (-3, 5), (-4, 6), (-5, 6)], [(-5, 4), (-5, 5), (-4, 5), (-4, 4), (-5, 4)], [(-2, -12), (6, -12)], [(-1, -12), (1, -11)], [(0, -12), (1, -10)], [(4, -12), (3, -10)], [(5, -12), (3, -11)]]),
(-12, 10, [[(-7, -12), (-7, 9)], [(-6, -11), (-6, 8)], [(-5, -12), (-5, 9)], [(6, -11), (-5, 0)], [(-2, -2), (5, 9)], [(-1, -2), (6, 9)], [(-1, -4), (7, 9)], [(-10, -12), (-2, -12)], [(3, -12), (9, -12)], [(-10, 9), (-2, 9)], [(2, 9), (9, 9)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (6, -11)], [(8, -12), (6, -11)], [(-7, 8), (-9, 9)], [(-7, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-5, 8), (-3, 9)], [(5, 7), (3, 9)], [(5, 7), (8, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -11), (-3, 8)], [(-2, -12), (-2, 9)], [(-7, -12), (1, -12)], [(-7, 9), (8, 9), (8, 3)], [(-6, -12), (-4, -11)], [(-5, -12), (-4, -10)], [(-1, -12), (-2, -10)], [(0, -12), (-2, -11)], [(-4, 8), (-6, 9)], [(-4, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-2, 8), (0, 9)], [(3, 9), (8, 8)], [(5, 9), (8, 7)], [(6, 9), (8, 6)], [(7, 9), (8, 3)]]),
(-13, 13, [[(-8, -12), (-8, 8)], [(-8, -12), (-1, 9)], [(-7, -12), (-1, 6)], [(-6, -12), (0, 6)], [(6, -12), (-1, 9)], [(6, -12), (6, 9)], [(7, -11), (7, 8)], [(8, -12), (8, 9)], [(-11, -12), (-6, -12)], [(6, -12), (11, -12)], [(-11, 9), (-5, 9)], [(3, 9), (11, 9)], [(-10, -12), (-8, -11)], [(9, -12), (8, -10)], [(10, -12), (8, -11)], [(-8, 8), (-10, 9)], [(-8, 8), (-6, 9)], [(6, 8), (4, 9)], [(6, 7), (5, 9)], [(8, 7), (9, 9)], [(8, 8), (10, 9)]]),
(-12, 12, [[(-7, -12), (-7, 8)], [(-7, -12), (7, 9)], [(-6, -12), (6, 6)], [(-5, -12), (7, 6)], [(7, -11), (7, 9)], [(-10, -12), (-5, -12)], [(4, -12), (10, -12)], [(-10, 9), (-4, 9)], [(-9, -12), (-7, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)], [(-7, 8), (-9, 9)], [(-7, 8), (-5, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (7, 1), (7, -4), (6, -7), (5, -9)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 5), (6, 1), (6, -4), (5, -8), (3, -11), (1, -12)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-4, -1)], [(6, -10), (7, -8), (7, -5), (6, -3)], [(3, -12), (5, -11), (6, -9), (6, -4), (5, -2), (3, -1)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (7, 1), (7, -4), (6, -7), (5, -9)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 5), (6, 1), (6, -4), (5, -8), (3, -11), (1, -12)], [(-4, 6), (-3, 4), (-1, 3), (0, 3), (2, 4), (3, 6), (4, 12), (5, 14), (7, 14), (8, 12), (8, 10)], [(4, 10), (5, 12), (6, 13), (7, 13)], [(3, 6), (5, 11), (6, 12), (7, 12), (8, 11)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2), (-4, -2)], [(6, -10), (7, -8), (7, -6), (6, -4)], [(3, -12), (5, -11), (6, -9), (6, -5), (5, -3), (3, -2)], [(0, -2), (2, -1), (3, 1), (5, 7), (6, 9), (8, 9), (9, 7), (9, 5)], [(5, 5), (6, 7), (7, 8), (8, 8)], [(2, -1), (3, 0), (6, 6), (7, 7), (8, 7), (9, 6)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-10, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (1, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-1, 9), (-4, 8), (-6, 6), (-7, 3), (-7, 9), (-6, 6)]]),
(-10, 10, [[(-8, -12), (-8, -6)], [(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(1, -12), (1, 9)], [(8, -12), (8, -6)], [(-8, -12), (8, -12)], [(-4, 9), (4, 9)], [(-7, -12), (-8, -6)], [(-6, -12), (-8, -9)], [(-5, -12), (-8, -10)], [(-3, -12), (-8, -11)], [(3, -12), (8, -11)], [(5, -12), (8, -10)], [(6, -12), (8, -9)], [(7, -12), (8, -6)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-12, 12, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -11)], [(-6, -11), (-6, 4), (-5, 6)], [(-5, -12), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(-10, -12), (-2, -12)], [(4, -12), (10, -12)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)]]),
(-10, 10, [[(-7, -12), (0, 9)], [(-6, -12), (0, 6), (0, 9)], [(-5, -12), (1, 6)], [(7, -11), (0, 9)], [(-9, -12), (-2, -12)], [(3, -12), (9, -12)], [(-8, -12), (-6, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (7, -11)], [(8, -12), (7, -11)]]),
(-12, 12, [[(-8, -12), (-4, 9)], [(-7, -12), (-4, 4), (-4, 9)], [(-6, -12), (-3, 4)], [(0, -12), (-3, 4), (-4, 9)], [(0, -12), (4, 9)], [(1, -12), (4, 4), (4, 9)], [(2, -12), (5, 4)], [(8, -11), (5, 4), (4, 9)], [(-11, -12), (-3, -12)], [(0, -12), (2, -12)], [(5, -12), (11, -12)], [(-10, -12), (-7, -11)], [(-9, -12), (-7, -10)], [(-5, -12), (-6, -10)], [(-4, -12), (-6, -11)], [(6, -12), (8, -11)], [(10, -12), (8, -11)]]),
(-10, 10, [[(-7, -12), (5, 9)], [(-6, -12), (6, 9)], [(-5, -12), (7, 9)], [(6, -11), (-6, 8)], [(-9, -12), (-2, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(2, 9), (9, 9)], [(-8, -12), (-5, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(4, -12), (6, -11)], [(8, -12), (6, -11)], [(-6, 8), (-8, 9)], [(-6, 8), (-4, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(5, 7), (8, 9)]]),
(-11, 11, [[(-8, -12), (-1, -1), (-1, 9)], [(-7, -12), (0, -1), (0, 8)], [(-6, -12), (1, -1), (1, 9)], [(7, -11), (1, -1)], [(-10, -12), (-3, -12)], [(4, -12), (10, -12)], [(-4, 9), (4, 9)], [(-9, -12), (-7, -11)], [(-4, -12), (-6, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-10, 10, [[(7, -12), (-7, -12), (-7, -6)], [(5, -12), (-7, 9)], [(6, -12), (-6, 9)], [(7, -12), (-5, 9)], [(-7, 9), (7, 9), (7, 3)], [(-6, -12), (-7, -6)], [(-5, -12), (-7, -9)], [(-4, -12), (-7, -10)], [(-2, -12), (-7, -11)], [(2, 9), (7, 8)], [(4, 9), (7, 7)], [(5, 9), (7, 6)], [(6, 9), (7, 3)]]),
(-12, 12, [[(-9, -11), (-8, -7), (-7, -5), (-5, -3), (-2, -2), (2, -2), (5, -3), (7, -5), (8, -7), (9, -11)], [(-9, -11), (-8, -8), (-7, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (7, -6), (8, -8), (9, -11)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 4), (6, 1), (5, -1), (4, -2), (2, -3)], [(-2, -2), (-4, -1), (-5, 1), (-5, 4), (-4, 7)], [(4, 7), (5, 4), (5, 1), (4, -1), (2, -2)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-12, 12, [[(-5, -8), (-5, 4)], [(-4, -7), (-4, 3)], [(4, -7), (4, 3)], [(5, -8), (5, 4)], [(-9, -11), (-7, -9), (-5, -8), (-2, -7), (2, -7), (5, -8), (7, -9), (9, -11)], [(-9, 7), (-7, 5), (-5, 4), (-2, 3), (2, 3), (5, 4), (7, 5), (9, 7)]]),
(-12, 12, [[(9, -9), (-6, -9), (-8, -8), (-9, -6), (-9, -4), (-8, -2), (-6, -1), (-4, -1), (-2, -2), (-1, -4), (-1, -6), (-2, -8), (9, -8)], [(-9, -5), (-8, -3), (-7, -2), (-5, -1)], [(-1, -5), (-2, -7), (-3, -8), (-5, -9)], [(-9, 6), (6, 6), (8, 5), (9, 3), (9, 1), (8, -1), (6, -2), (4, -2), (2, -1), (1, 1), (1, 3), (2, 5), (-9, 5)], [(9, 2), (8, 0), (7, -1), (5, -2)], [(1, 2), (2, 4), (3, 5), (5, 6)]]),
(-12, 11, [[(-3, 3), (-5, 2), (-6, 2), (-8, 3), (-9, 5), (-9, 6), (-8, 8), (-6, 9), (-5, 9), (-3, 8), (-2, 6), (-2, 5), (-3, 3), (-8, -2), (-9, -4), (-9, -7), (-8, -9), (-6, -10), (-3, -11), (1, -11), (5, -10), (7, -8), (8, -6), (8, -3), (7, 0), (4, 3), (3, 5), (3, 7), (4, 9), (6, 9), (7, 8), (8, 6)], [(-5, 1), (-7, -2), (-8, -4), (-8, -7), (-7, -9), (-6, -10)], [(1, -11), (4, -10), (6, -8), (7, -6), (7, -3), (6, 0), (4, 3)]]),
(-11, 13, [[(-10, -7), (-7, -10), (-5, -7), (-5, 4)], [(-8, -9), (-6, -6), (-6, 4)], [(-5, -7), (-2, -10), (0, -7), (0, 3)], [(-3, -9), (-1, -6), (-1, 3)], [(0, -7), (3, -10), (5, -7), (5, 9)], [(2, -9), (4, -6), (4, 9)], [(5, -7), (8, -10), (9, -8), (10, -5), (10, -2), (9, 1), (8, 3), (6, 5), (3, 7), (-2, 9)], [(7, -9), (8, -8), (9, -5), (9, -2), (8, 1), (7, 3), (5, 5), (2, 7), (-2, 9)]]),
(-11, 11, [[(5, -5), (3, 2), (3, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)], [(6, -5), (4, 2), (4, 8)], [(5, -5), (7, -5), (5, 2), (4, 6)], [(3, 2), (3, -1), (2, -4), (0, -5), (-2, -5), (-5, -4), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (2, 5), (3, 2)], [(-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7)], [(-2, -5), (-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 8), (-4, 9)]]),
(-9, 10, [[(-2, -12), (-4, -5), (-5, 1), (-5, 5), (-4, 7), (-3, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 2), (7, 0), (6, -3), (5, -4), (3, -5), (1, -5), (-1, -4), (-2, -3), (-3, -1), (-4, 2)], [(-1, -12), (-3, -5), (-4, -1), (-4, 5), (-3, 8)], [(4, 7), (5, 5), (6, 2), (6, -1), (5, -3)], [(-5, -12), (0, -12), (-2, -5), (-4, 2)], [(1, 9), (3, 7), (4, 5), (5, 2), (5, -1), (4, -4), (3, -5)], [(-4, -12), (-1, -11)], [(-3, -12), (-2, -10)]]),
(-9, 9, [[(5, -1), (5, -2), (4, -2), (4, 0), (6, 0), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5)], [(-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 7)], [(0, -5), (-2, -3), (-3, -1), (-4, 2), (-4, 5), (-3, 8), (-2, 9)]]),
(-11, 11, [[(7, -12), (4, -1), (3, 3), (3, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)], [(8, -12), (5, -1), (4, 3), (4, 8)], [(4, -12), (9, -12), (5, 2), (4, 6)], [(3, 2), (3, -1), (2, -4), (0, -5), (-2, -5), (-5, -4), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (2, 5), (3, 2)], [(-5, -3), (-6, -1), (-7, 2), (-7, 5), (-6, 7)], [(-2, -5), (-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 8), (-4, 9)], [(5, -12), (8, -11)], [(6, -12), (7, -10)]]),
(-9, 9, [[(-5, 4), (-1, 3), (2, 2), (5, 0), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 6)], [(-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 7)], [(0, -5), (-2, -3), (-3, -1), (-4, 2), (-4, 5), (-3, 8), (-2, 9)]]),
(-8, 8, [[(8, -10), (8, -11), (7, -11), (7, -9), (9, -9), (9, -11), (8, -12), (6, -12), (4, -11), (2, -9), (1, -7), (0, -4), (-1, 0), (-3, 9), (-4, 12), (-5, 14), (-7, 16)], [(2, -8), (1, -5), (0, 0), (-2, 9), (-3, 12)], [(6, -12), (4, -10), (3, -8), (2, -5), (1, 0), (-1, 8), (-2, 11), (-3, 13), (-5, 15), (-7, 16), (-9, 16), (-10, 15), (-10, 13), (-8, 13), (-8, 15), (-9, 15), (-9, 14)], [(-4, -5), (7, -5)]]),
(-10, 11, [[(6, -5), (2, 9), (1, 12), (-1, 15), (-3, 16)], [(7, -5), (3, 9), (1, 13)], [(6, -5), (8, -5), (4, 9), (2, 13), (0, 15), (-3, 16), (-6, 16), (-8, 15), (-9, 14), (-9, 12), (-7, 12), (-7, 14), (-8, 14), (-8, 13)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7), (3, 5), (4, 2)], [(-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 7)], [(-1, -5), (-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 8), (-3, 9)]]),
(-11, 11, [[(-3, -12), (-9, 9), (-7, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (-1, -12), (-7, 9)], [(-5, 2), (-3, -2), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -2), (6, 1), (4, 6)], [(5, -4), (5, 0), (4, 4), (4, 8)], [(5, -2), (3, 3), (3, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)]]),
(-7, 6, [[(1, -12), (1, -10), (3, -10), (3, -12), (1, -12)], [(2, -12), (2, -10)], [(1, -11), (3, -11)], [(-6, -1), (-5, -3), (-3, -5), (-1, -5), (0, -4), (1, -2), (1, 1), (-1, 6)], [(0, -4), (0, 0), (-1, 4), (-1, 8)], [(0, -2), (-2, 3), (-2, 6), (-1, 8), (0, 9), (2, 9), (4, 7), (5, 5)]]),
(-7, 6, [[(3, -12), (3, -10), (5, -10), (5, -12), (3, -12)], [(4, -12), (4, -10)], [(3, -11), (5, -11)], [(-5, -1), (-4, -3), (-2, -5), (0, -5), (1, -4), (2, -2), (2, 1), (0, 8), (-1, 11), (-2, 13), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 13), (-7, 13), (-7, 15), (-8, 15), (-8, 14)], [(1, -4), (1, 1), (-1, 8), (-2, 11), (-3, 13)], [(1, -2), (0, 2), (-2, 9), (-3, 12), (-4, 14), (-6, 16)]]),
(-11, 11, [[(-3, -12), (-9, 9), (-7, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (-1, -12), (-7, 9)], [(7, -3), (7, -4), (6, -4), (6, -2), (8, -2), (8, -4), (7, -5), (5, -5), (3, -4), (-1, 0), (-3, 1)], [(-5, 1), (-3, 1), (-1, 2), (0, 3), (2, 7), (3, 8), (5, 8)], [(-1, 3), (1, 7), (2, 8)], [(-3, 1), (-2, 2), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)]]),
(-6, 6, [[(2, -12), (-1, -1), (-2, 3), (-2, 6), (-1, 8), (0, 9), (2, 9), (4, 7), (5, 5)], [(3, -12), (0, -1), (-1, 3), (-1, 8)], [(-1, -12), (4, -12), (0, 2), (-1, 6)], [(0, -12), (3, -11)], [(1, -12), (2, -10)]]),
(-18, 17, [[(-17, -1), (-16, -3), (-14, -5), (-12, -5), (-11, -4), (-10, -2), (-10, 1), (-12, 9)], [(-11, -4), (-11, 1), (-13, 9)], [(-11, -2), (-12, 2), (-14, 9), (-12, 9)], [(-10, 1), (-8, -2), (-6, -4), (-4, -5), (-2, -5), (0, -4), (1, -2), (1, 1), (-1, 9)], [(0, -4), (0, 1), (-2, 9)], [(0, -2), (-1, 2), (-3, 9), (-1, 9)], [(1, 1), (3, -2), (5, -4), (7, -5), (9, -5), (11, -4), (12, -2), (12, 1), (10, 6)], [(11, -4), (11, 0), (10, 4), (10, 8)], [(11, -2), (9, 3), (9, 6), (10, 8), (11, 9), (13, 9), (15, 7), (16, 5)]]),
(-12, 12, [[(-11, -1), (-10, -3), (-8, -5), (-6, -5), (-5, -4), (-4, -2), (-4, 1), (-6, 9)], [(-5, -4), (-5, 1), (-7, 9)], [(-5, -2), (-6, 2), (-8, 9), (-6, 9)], [(-4, 1), (-2, -2), (0, -4), (2, -5), (4, -5), (6, -4), (7, -2), (7, 1), (5, 6)], [(6, -4), (6, 0), (5, 4), (5, 8)], [(6, -2), (4, 3), (4, 6), (5, 8), (6, 9), (8, 9), (10, 7), (11, 5)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 5), (7, 2), (7, 0), (6, -3), (5, -4), (2, -5), (-1, -5)], [(-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 7)], [(4, 7), (5, 5), (6, 2), (6, -1), (5, -3)], [(-1, -5), (-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 8), (-2, 9)], [(1, 9), (3, 7), (4, 5), (5, 2), (5, -1), (4, -4), (2, -5)]]),
(-11, 11, [[(-10, -1), (-9, -3), (-7, -5), (-5, -5), (-4, -4), (-3, -2), (-3, 1), (-4, 5), (-7, 16)], [(-4, -4), (-4, 1), (-5, 5), (-8, 16)], [(-4, -2), (-5, 2), (-9, 16)], [(-3, 2), (-2, -1), (-1, -3), (0, -4), (2, -5), (4, -5), (6, -4), (7, -3), (8, 0), (8, 2), (7, 5), (5, 8), (2, 9), (0, 9), (-2, 8), (-3, 5), (-3, 2)], [(6, -3), (7, -1), (7, 2), (6, 5), (5, 7)], [(4, -5), (5, -4), (6, -1), (6, 2), (5, 5), (4, 7), (2, 9)], [(-12, 16), (-4, 16)], [(-8, 15), (-11, 16)], [(-8, 14), (-10, 16)], [(-7, 14), (-6, 16)], [(-8, 15), (-5, 16)]]),
(-11, 10, [[(5, -5), (-1, 16)], [(6, -5), (0, 16)], [(5, -5), (7, -5), (1, 16)], [(3, 2), (3, -1), (2, -4), (0, -5), (-2, -5), (-5, -4), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (2, 5), (3, 2)], [(-5, -3), (-6, -1), (-7, 2), (-7, 5), (-6, 7)], [(-2, -5), (-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 8), (-4, 9)], [(-4, 16), (4, 16)], [(0, 15), (-3, 16)], [(0, 14), (-2, 16)], [(1, 14), (2, 16)], [(0, 15), (3, 16)]]),
(-9, 9, [[(-8, -1), (-7, -3), (-5, -5), (-3, -5), (-2, -4), (-1, -2), (-1, 2), (-3, 9)], [(-2, -4), (-2, 2), (-4, 9)], [(-2, -2), (-3, 2), (-5, 9), (-3, 9)], [(7, -3), (7, -4), (6, -4), (6, -2), (8, -2), (8, -4), (7, -5), (5, -5), (3, -4), (1, -2), (-1, 2)]]),
(-8, 9, [[(6, -2), (6, -3), (5, -3), (5, -1), (7, -1), (7, -3), (6, -4), (3, -5), (0, -5), (-3, -4), (-4, -3), (-4, -1), (-3, 1), (-1, 2), (2, 3), (4, 4), (5, 6)], [(-3, -4), (-4, -1)], [(-3, 0), (-1, 1), (2, 2), (4, 3)], [(5, 4), (4, 8)], [(-4, -3), (-3, -1), (-1, 0), (2, 1), (4, 2), (5, 4), (5, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-6, 5), (-4, 5), (-4, 7), (-5, 7), (-5, 6)]]),
(-7, 7, [[(2, -12), (-1, -1), (-2, 3), (-2, 6), (-1, 8), (0, 9), (2, 9), (4, 7), (5, 5)], [(3, -12), (0, -1), (-1, 3), (-1, 8)], [(2, -12), (4, -12), (0, 2), (-1, 6)], [(-4, -5), (6, -5)]]),
(-12, 12, [[(-11, -1), (-10, -3), (-8, -5), (-6, -5), (-5, -4), (-4, -2), (-4, 1), (-6, 6)], [(-5, -4), (-5, 0), (-6, 4), (-6, 8)], [(-5, -2), (-7, 3), (-7, 6), (-6, 8), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 3)], [(6, -5), (4, 3), (4, 6), (5, 8), (6, 9), (8, 9), (10, 7), (11, 5)], [(7, -5), (5, 3), (5, 8)], [(6, -5), (8, -5), (6, 2), (5, 6)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-4, -5), (-3, -4), (-2, -2), (-2, 1), (-4, 6)], [(-3, -4), (-3, 0), (-4, 4), (-4, 8)], [(-3, -2), (-5, 3), (-5, 6), (-4, 8), (-2, 9), (0, 9), (2, 8), (4, 6), (6, 3), (7, -1), (7, -5), (6, -5), (6, -4), (7, -2)]]),
(-15, 15, [[(-14, -1), (-13, -3), (-11, -5), (-9, -5), (-8, -4), (-7, -2), (-7, 1), (-9, 6)], [(-8, -4), (-8, 0), (-9, 4), (-9, 8)], [(-8, -2), (-10, 3), (-10, 6), (-9, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 6), (0, 3)], [(2, -5), (0, 3), (0, 6), (1, 8), (3, 9), (5, 9), (7, 8), (9, 6), (11, 3), (12, -1), (12, -5), (11, -5), (11, -4), (12, -2)], [(3, -5), (1, 3), (1, 8)], [(2, -5), (4, -5), (2, 2), (1, 6)]]),
(-11, 11, [[(-8, -1), (-6, -4), (-4, -5), (-2, -5), (0, -4), (1, -2), (1, 0)], [(-2, -5), (-1, -4), (-1, 0), (-2, 4), (-3, 6), (-5, 8), (-7, 9), (-9, 9), (-10, 8), (-10, 6), (-8, 6), (-8, 8), (-9, 8), (-9, 7)], [(0, -3), (0, 0), (-1, 4), (-1, 7)], [(8, -3), (8, -4), (7, -4), (7, -2), (9, -2), (9, -4), (8, -5), (6, -5), (4, -4), (2, -2), (1, 0), (0, 4), (0, 8), (1, 9)], [(-2, 4), (-2, 6), (-1, 8), (1, 9), (3, 9), (5, 8), (7, 5)]]),
(-11, 11, [[(-10, -1), (-9, -3), (-7, -5), (-5, -5), (-4, -4), (-3, -2), (-3, 1), (-5, 6)], [(-4, -4), (-4, 0), (-5, 4), (-5, 8)], [(-4, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 2)], [(7, -5), (3, 9), (2, 12), (0, 15), (-2, 16)], [(8, -5), (4, 9), (2, 13)], [(7, -5), (9, -5), (5, 9), (3, 13), (1, 15), (-2, 16), (-5, 16), (-7, 15), (-8, 14), (-8, 12), (-6, 12), (-6, 14), (-7, 14), (-7, 13)]]),
(-10, 10, [[(7, -5), (6, -3), (4, -1), (-4, 5), (-6, 7), (-7, 9)], [(6, -3), (-3, -3), (-5, -2), (-6, 0)], [(4, -3), (0, -4), (-3, -4), (-4, -3)], [(4, -3), (0, -5), (-3, -5), (-5, -3), (-6, 0)], [(-6, 7), (3, 7), (5, 6), (6, 4)], [(-4, 7), (0, 8), (3, 8), (4, 7)], [(-4, 7), (0, 9), (3, 9), (5, 7), (6, 4)]]),
(-12, 13, [[(-11, -6), (-8, -9), (-5, -6), (-5, 6)], [(-9, -8), (-6, -5), (-6, 6)], [(-5, -6), (-2, -9), (1, -6), (1, 6)], [(-3, -8), (0, -5), (0, 6)], [(1, -6), (4, -9), (7, -6), (7, 5), (9, 7)], [(3, -8), (6, -5), (6, 6), (8, 8), (11, 5)]]),
(-11, 11, [[(8, -9), (-8, 7)], [(8, -9), (5, -8), (-1, -8)], [(6, -7), (3, -7), (-1, -8)], [(8, -9), (7, -6), (7, 0)], [(6, -7), (6, -4), (7, 0)], [(-1, 0), (-8, 0)], [(-2, 1), (-5, 1), (-8, 0)], [(-1, 0), (-1, 7)], [(-2, 1), (-2, 4), (-1, 7)]]),
(-12, 12, [[(-10, -3), (-8, -7), (-3, 3)], [(-8, -5), (-3, 5), (0, -2), (5, -2), (8, -3), (9, -5), (9, -7), (8, -9), (6, -10), (5, -10), (3, -9), (2, -7), (2, -5), (3, -2), (4, 0), (5, 3), (5, 6), (3, 8)], [(5, -10), (4, -9), (3, -7), (3, -5), (5, -1), (6, 2), (6, 5), (5, 7), (3, 8)]]),
(-12, 12, [[(-9, -3), (-6, -6), (-2, -4)], [(-7, -5), (-3, -3), (0, -6), (3, -4)], [(-1, -5), (2, -3), (5, -6), (7, -4)], [(4, -5), (6, -3), (9, -6)], [(-9, 3), (-6, 0), (-2, 2)], [(-7, 1), (-3, 3), (0, 0), (3, 2)], [(-1, 1), (2, 3), (5, 0), (7, 2)], [(4, 1), (6, 3), (9, 0)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
]
CURSIVE = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-4, -5)], [(4, -12), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 7), (-10, 5), (-10, 3), (-9, 1), (-8, 0), (-1, -4), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (7, 9), (9, 9), (10, 8), (10, 7)]]),
(-2, 2, [[(0, -5), (0, -1)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-11, 9, [[(-11, 9), (-9, 8), (-6, 5), (-3, 1), (1, -6), (4, -12), (4, 9), (3, 6), (1, 3), (-1, 1), (-4, -1), (-6, -1), (-7, 0), (-7, 2), (-6, 4), (-4, 6), (-1, 8), (2, 9), (7, 9)]]),
(-12, 11, [[(1, -10), (2, -9), (2, -6), (1, -2), (0, 1), (-1, 3), (-3, 6), (-5, 8), (-7, 9), (-8, 9), (-9, 8), (-9, 5), (-8, 0), (-7, -3), (-6, -5), (-4, -8), (-2, -10), (0, -11), (3, -12), (6, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (5, -3), (2, -2)], [(1, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9), (0, 9), (-2, 8), (-3, 6)]]),
(-10, 10, [[(2, -6), (2, -5), (3, -4), (5, -4), (7, -5), (8, -7), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -4), (-7, 0), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (5, 4)]]),
(-11, 12, [[(2, -12), (0, -11), (-1, -9), (-2, -5), (-3, 1), (-4, 4), (-5, 6), (-7, 8), (-9, 9), (-11, 9), (-12, 8), (-12, 6), (-11, 5), (-9, 5), (-7, 6), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 6), (8, 2), (9, -3), (9, -7), (8, -10), (7, -11), (5, -12), (2, -12), (0, -10), (0, -8), (1, -5), (3, -2), (5, 0), (8, 2), (10, 3)]]),
(-10, 10, [[(4, -8), (4, -7), (5, -6), (7, -6), (8, -7), (8, -9), (7, -11), (4, -12), (0, -12), (-3, -11), (-4, -9), (-4, -6), (-3, -4), (-2, -3), (1, -2), (-2, -2), (-5, -1), (-6, 0), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 6), (7, 4)]]),
(-10, 10, [[(0, -6), (-2, -6), (-4, -7), (-5, -9), (-4, -11), (-1, -12), (2, -12), (6, -11), (9, -11), (11, -12)], [(6, -11), (4, -4), (2, 2), (0, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 4), (-8, 3), (-6, 3), (-4, 4)], [(-1, -2), (8, -2)]]),
(-11, 12, [[(-11, 9), (-9, 8), (-5, 4), (-2, -1), (-1, -4), (0, -8), (0, -11), (-1, -12), (-2, -12), (-3, -11), (-4, -9), (-4, -6), (-3, -4), (-1, -3), (3, -3), (6, -4), (7, -5), (8, -7), (8, -1), (7, 4), (6, 6), (4, 8), (1, 9), (-3, 9), (-6, 8), (-8, 6), (-9, 4), (-9, 2)]]),
(-12, 12, [[(-5, -5), (-7, -6), (-8, -8), (-8, -9), (-7, -11), (-5, -12), (-4, -12), (-2, -11), (-1, -9), (-1, -7), (-2, -3), (-4, 3), (-6, 7), (-8, 9), (-10, 9), (-11, 8), (-11, 6)], [(-5, 0), (4, -3), (6, -4), (9, -6), (11, -8), (12, -10), (12, -11), (11, -12), (10, -12), (8, -10), (6, -6), (4, 0), (3, 5), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-9, 8, [[(5, 4), (3, 2), (1, -1), (0, -3), (-1, -6), (-1, -9), (0, -11), (1, -12), (3, -12), (4, -11), (5, -9), (5, -6), (4, -1), (2, 4), (1, 6), (-1, 8), (-3, 9), (-5, 9), (-7, 8), (-8, 6), (-8, 4), (-7, 3), (-5, 3), (-3, 4)]]),
(-8, 7, [[(2, 12), (0, 9), (-2, 4), (-3, -2), (-3, -8), (-2, -11), (0, -12), (2, -12), (3, -11), (4, -8), (4, -5), (3, 0), (0, 9), (-2, 15), (-3, 18), (-4, 20), (-6, 21), (-7, 20), (-7, 18), (-6, 15), (-4, 12), (-2, 10), (1, 8), (5, 6)]]),
(-12, 12, [[(-5, -5), (-7, -6), (-8, -8), (-8, -9), (-7, -11), (-5, -12), (-4, -12), (-2, -11), (-1, -9), (-1, -7), (-2, -3), (-4, 3), (-6, 7), (-8, 9), (-10, 9), (-11, 8), (-11, 6)], [(12, -9), (12, -11), (11, -12), (10, -12), (8, -11), (6, -9), (4, -6), (2, -4), (0, -3), (-2, -3)], [(0, -3), (1, -1), (1, 6), (2, 8), (3, 9), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-9, 10, [[(-5, 0), (-3, 0), (1, -1), (4, -3), (6, -5), (7, -7), (7, -10), (6, -12), (4, -12), (3, -11), (2, -9), (1, -4), (0, 1), (-1, 4), (-2, 6), (-4, 8), (-6, 9), (-8, 9), (-9, 8), (-9, 6), (-8, 5), (-6, 5), (-4, 6), (-1, 8), (2, 9), (4, 9), (7, 8), (9, 6)]]),
(-18, 15, [[(-13, -5), (-15, -6), (-16, -8), (-16, -9), (-15, -11), (-13, -12), (-12, -12), (-10, -11), (-9, -9), (-9, -7), (-10, -2), (-11, 2), (-13, 9)], [(-11, 2), (-8, -6), (-6, -10), (-5, -11), (-3, -12), (-2, -12), (0, -11), (1, -9), (1, -7), (0, -2), (-1, 2), (-3, 9)], [(-1, 2), (2, -6), (4, -10), (5, -11), (7, -12), (8, -12), (10, -11), (11, -9), (11, -7), (10, -2), (8, 5), (8, 8), (9, 9), (10, 9), (12, 8), (13, 7), (15, 4)]]),
(-13, 11, [[(-8, -5), (-10, -6), (-11, -8), (-11, -9), (-10, -11), (-8, -12), (-7, -12), (-5, -11), (-4, -9), (-4, -7), (-5, -2), (-6, 2), (-8, 9)], [(-6, 2), (-3, -6), (-1, -10), (0, -11), (2, -12), (4, -12), (6, -11), (7, -9), (7, -7), (6, -2), (4, 5), (4, 8), (5, 9), (6, 9), (8, 8), (9, 7), (11, 4)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -4), (-7, 0), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 1), (8, -3), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12), (0, -10), (0, -7), (1, -4), (3, -1), (5, 1), (8, 3), (10, 4)]]),
(-12, 13, [[(1, -10), (2, -9), (2, -6), (1, -2), (0, 1), (-1, 3), (-3, 6), (-5, 8), (-7, 9), (-8, 9), (-9, 8), (-9, 5), (-8, 0), (-7, -3), (-6, -5), (-4, -8), (-2, -10), (0, -11), (3, -12), (8, -12), (10, -11), (11, -10), (12, -8), (12, -5), (11, -3), (10, -2), (8, -1), (5, -1), (3, -2), (2, -3)]]),
(-10, 12, [[(3, -6), (2, -4), (1, -3), (-1, -2), (-3, -2), (-4, -4), (-4, -6), (-3, -9), (-1, -11), (2, -12), (5, -12), (7, -11), (8, -9), (8, -5), (7, -2), (5, 1), (1, 5), (-2, 7), (-4, 8), (-7, 9), (-9, 9), (-10, 8), (-10, 6), (-9, 5), (-7, 5), (-5, 6), (-2, 8), (1, 9), (4, 9), (7, 8), (9, 6)]]),
(-12, 13, [[(1, -10), (2, -9), (2, -6), (1, -2), (0, 1), (-1, 3), (-3, 6), (-5, 8), (-7, 9), (-8, 9), (-9, 8), (-9, 5), (-8, 0), (-7, -3), (-6, -5), (-4, -8), (-2, -10), (0, -11), (3, -12), (7, -12), (9, -11), (10, -10), (11, -8), (11, -5), (10, -3), (9, -2), (7, -1), (4, -1), (1, -2), (2, -1), (3, 1), (3, 6), (4, 8), (6, 9), (8, 8), (9, 7), (11, 4)]]),
(-10, 10, [[(-10, 9), (-8, 8), (-6, 6), (-3, 2), (-1, -1), (1, -5), (2, -8), (2, -11), (1, -12), (0, -12), (-1, -11), (-2, -9), (-2, -7), (-1, -5), (1, -3), (4, -1), (6, 1), (7, 3), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6), (-8, 4), (-8, 2)]]),
(-10, 9, [[(0, -6), (-2, -6), (-4, -7), (-5, -9), (-4, -11), (-1, -12), (2, -12), (6, -11), (9, -11), (11, -12)], [(6, -11), (4, -4), (2, 2), (0, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 4), (-8, 3), (-6, 3), (-4, 4)]]),
(-13, 11, [[(-8, -5), (-10, -6), (-11, -8), (-11, -9), (-10, -11), (-8, -12), (-7, -12), (-5, -11), (-4, -9), (-4, -7), (-5, -3), (-6, 0), (-7, 4), (-7, 6), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (3, 3), (6, -5), (8, -12)], [(6, -5), (5, -1), (4, 5), (4, 8), (5, 9), (6, 9), (8, 8), (9, 7), (11, 4)]]),
(-12, 11, [[(-7, -5), (-9, -6), (-10, -8), (-10, -9), (-9, -11), (-7, -12), (-6, -12), (-4, -11), (-3, -9), (-3, -7), (-4, -3), (-5, 0), (-6, 4), (-6, 7), (-5, 9), (-3, 9), (-1, 8), (2, 5), (4, 2), (6, -2), (7, -5), (8, -9), (8, -11), (7, -12), (6, -12), (5, -11), (4, -9), (4, -7), (5, -4), (7, -2), (9, -1)]]),
(-15, 13, [[(-10, -5), (-12, -6), (-13, -8), (-13, -9), (-12, -11), (-10, -12), (-9, -12), (-7, -11), (-6, -9), (-6, -6), (-7, 9)], [(3, -12), (-7, 9)], [(3, -12), (1, 9)], [(15, -12), (13, -11), (10, -8), (7, -4), (4, 2), (1, 9)]]),
(-12, 12, [[(-4, -6), (-6, -6), (-7, -7), (-7, -9), (-6, -11), (-4, -12), (-2, -12), (0, -11), (1, -9), (1, -6), (-1, 3), (-1, 6), (0, 8), (2, 9), (4, 9), (6, 8), (7, 6), (7, 4), (6, 3), (4, 3)], [(11, -9), (11, -11), (10, -12), (8, -12), (6, -11), (4, -9), (2, -6), (-2, 3), (-4, 6), (-6, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6)]]),
(-12, 11, [[(-7, -5), (-9, -6), (-10, -8), (-10, -9), (-9, -11), (-7, -12), (-6, -12), (-4, -11), (-3, -9), (-3, -7), (-4, -3), (-5, 0), (-6, 4), (-6, 6), (-5, 8), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 3), (5, 1), (7, -5)], [(9, -12), (7, -5), (4, 5), (2, 11), (0, 16), (-2, 20), (-4, 21), (-5, 20), (-5, 18), (-4, 15), (-2, 12), (1, 9), (4, 7), (9, 4)]]),
(-10, 11, [[(3, -6), (2, -4), (1, -3), (-1, -2), (-3, -2), (-4, -4), (-4, -6), (-3, -9), (-1, -11), (2, -12), (5, -12), (7, -11), (8, -9), (8, -5), (7, -2), (5, 2), (2, 5), (-2, 8), (-4, 9), (-7, 9), (-8, 8), (-8, 6), (-7, 5), (-4, 5), (-2, 6), (-1, 7), (0, 9), (0, 12), (-1, 15), (-2, 17), (-4, 20), (-6, 21), (-7, 20), (-7, 18), (-6, 15), (-4, 12), (-1, 9), (2, 7), (8, 4)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(0, -14), (-8, 0)], [(0, -14), (8, 0)]]),
(-11, 9, [[(-11, 16), (9, 16)]]),
(-4, 4, [[(1, -7), (-1, -5), (-1, -3), (0, -2), (1, -3), (0, -4), (-1, -3)]]),
(-6, 10, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6), (4, 0), (3, 5), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-5, 9, [[(-5, 4), (-3, 1), (0, -4), (1, -6), (2, -9), (2, -11), (1, -12), (-1, -11), (-2, -9), (-3, -5), (-4, 2), (-4, 8), (-3, 9), (-2, 9), (0, 8), (2, 6), (3, 3), (3, 0), (4, 4), (5, 5), (7, 5), (9, 4)]]),
(-5, 6, [[(2, 2), (2, 1), (1, 0), (-1, 0), (-3, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (1, 9), (4, 7), (6, 4)]]),
(-6, 10, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6), (8, -12)], [(4, 0), (3, 5), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-4, 6, [[(-3, 7), (-1, 6), (0, 5), (1, 3), (1, 1), (0, 0), (-1, 0), (-3, 1), (-4, 3), (-4, 6), (-3, 8), (-1, 9), (1, 9), (3, 8), (4, 7), (6, 4)]]),
(-3, 5, [[(-3, 4), (1, -1), (3, -4), (4, -6), (5, -9), (5, -11), (4, -12), (2, -11), (1, -9), (-1, -1), (-4, 8), (-7, 15), (-8, 18), (-8, 20), (-7, 21), (-5, 20), (-4, 17), (-3, 8), (-2, 9), (0, 9), (2, 8), (3, 7), (5, 4)]]),
(-6, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7)], [(4, 0), (2, 7), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-2, 12), (1, 10), (3, 9), (6, 7), (9, 4)]]),
(-5, 10, [[(-5, 4), (-3, 1), (0, -4), (1, -6), (2, -9), (2, -11), (1, -12), (-1, -11), (-2, -9), (-3, -5), (-4, 1), (-5, 9)], [(-5, 9), (-4, 6), (-3, 4), (-1, 1), (1, 0), (3, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-2, 5, [[(1, -5), (1, -4), (2, -4), (2, -5), (1, -5)], [(-2, 4), (0, 0), (-2, 6), (-2, 8), (-1, 9), (0, 9), (2, 8), (3, 7), (5, 4)]]),
(-2, 5, [[(1, -5), (1, -4), (2, -4), (2, -5), (1, -5)], [(-2, 4), (0, 0), (-6, 18), (-7, 20), (-9, 21), (-10, 20), (-10, 18), (-9, 15), (-6, 12), (-3, 10), (-1, 9), (2, 7), (5, 4)]]),
(-5, 9, [[(-5, 4), (-3, 1), (0, -4), (1, -6), (2, -9), (2, -11), (1, -12), (-1, -11), (-2, -9), (-3, -5), (-4, 1), (-5, 9)], [(-5, 9), (-4, 6), (-3, 4), (-1, 1), (1, 0), (3, 0), (4, 1), (4, 3), (2, 4), (-1, 4)], [(-1, 4), (1, 5), (2, 8), (3, 9), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-3, 5, [[(-3, 4), (-1, 1), (2, -4), (3, -6), (4, -9), (4, -11), (3, -12), (1, -11), (0, -9), (-1, -5), (-2, 2), (-2, 8), (-1, 9), (0, 9), (2, 8), (3, 7), (5, 4)]]),
(-13, 12, [[(-13, 4), (-11, 1), (-9, 0), (-8, 1), (-8, 2), (-9, 6), (-10, 9)], [(-9, 6), (-8, 4), (-6, 1), (-4, 0), (-2, 0), (-1, 1), (-1, 2), (-2, 6), (-3, 9)], [(-2, 6), (-1, 4), (1, 1), (3, 0), (5, 0), (6, 1), (6, 3), (5, 6), (5, 8), (6, 9), (7, 9), (9, 8), (10, 7), (12, 4)]]),
(-8, 10, [[(-8, 4), (-6, 1), (-4, 0), (-3, 1), (-3, 2), (-4, 6), (-5, 9)], [(-4, 6), (-3, 4), (-1, 1), (1, 0), (3, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-6, 8, [[(0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7), (3, 5), (3, 3), (2, 1), (0, 0), (-1, 1), (-1, 3), (0, 5), (2, 6), (5, 6), (7, 5), (8, 4)]]),
(-7, 8, [[(-7, 4), (-5, 1), (-4, -1), (-5, 3), (-11, 21)], [(-5, 3), (-4, 1), (-2, 0), (0, 0), (2, 1), (3, 3), (3, 5), (2, 7), (1, 8), (-1, 9)], [(-5, 8), (-3, 9), (0, 9), (3, 8), (5, 7), (8, 4)]]),
(-6, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8)], [(4, 0), (3, 3), (1, 8), (-2, 15), (-3, 18), (-3, 20), (-2, 21), (0, 20), (1, 17), (1, 10), (3, 9), (6, 7), (9, 4)]]),
(-5, 8, [[(-5, 4), (-3, 1), (-2, -1), (-2, 1), (1, 1), (2, 2), (2, 4), (1, 7), (1, 8), (2, 9), (3, 9), (5, 8), (6, 7), (8, 4)]]),
(-4, 7, [[(-4, 4), (-2, 1), (-1, -1), (-1, 1), (1, 4), (2, 6), (2, 8), (0, 9)], [(-4, 8), (-2, 9), (2, 9), (4, 8), (5, 7), (7, 4)]]),
(-3, 6, [[(-3, 4), (-1, 1), (1, -3)], [(4, -12), (-2, 6), (-2, 8), (-1, 9), (1, 9), (3, 8), (4, 7), (6, 4)], [(-2, -4), (5, -4)]]),
(-6, 9, [[(-6, 4), (-4, 0), (-6, 6), (-6, 8), (-5, 9), (-3, 9), (-1, 8), (1, 6), (3, 3)], [(4, 0), (2, 6), (2, 8), (3, 9), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-6, 9, [[(-6, 4), (-4, 0), (-5, 5), (-5, 8), (-4, 9), (-3, 9), (0, 8), (2, 6), (3, 3), (3, 0)], [(3, 0), (4, 4), (5, 5), (7, 5), (9, 4)]]),
(-9, 12, [[(-6, 0), (-8, 2), (-9, 5), (-9, 7), (-8, 9), (-6, 9), (-4, 8), (-2, 6)], [(0, 0), (-2, 6), (-2, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0)], [(6, 0), (7, 4), (8, 5), (10, 5), (12, 4)]]),
(-8, 8, [[(-8, 4), (-6, 1), (-4, 0), (-2, 0), (-1, 1), (-1, 8), (0, 9), (3, 9), (6, 7), (8, 4)], [(5, 1), (4, 0), (2, 0), (1, 1), (-3, 8), (-4, 9), (-6, 9), (-7, 8)]]),
(-6, 9, [[(-6, 4), (-4, 0), (-6, 6), (-6, 8), (-5, 9), (-3, 9), (-1, 8), (1, 6), (3, 3)], [(4, 0), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-2, 12), (1, 10), (3, 9), (6, 7), (9, 4)]]),
(-6, 8, [[(-6, 4), (-4, 1), (-2, 0), (0, 0), (2, 2), (2, 4), (1, 6), (-1, 8), (-4, 9), (-2, 10), (-1, 12), (-1, 15), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-2, 12), (1, 10), (5, 7), (8, 4)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
CYRILC_1 = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (-1, -10), (0, 2), (1, -10), (0, -12)], [(0, -10), (0, -4)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(6, -9), (5, -8), (6, -7), (7, -8), (7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (7, 2)], [(-7, -7), (-5, -5), (-3, -4), (3, -2), (5, -1), (6, 0), (7, 2), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(9, -4), (8, -3), (9, -2), (10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-5, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (8, 9), (9, 9), (10, 8), (10, 7)], [(-5, 9), (-7, 8), (-8, 6), (-8, 3), (-7, 1), (-5, -1)], [(-5, -7), (-4, -5), (4, 6), (6, 8), (8, 9)]]),
(-5, 5, [[(0, -10), (-1, -11), (0, -12), (1, -11), (1, -9), (0, -7), (-1, -6)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-8, 8, [[(0, -12), (0, 0)], [(-5, -9), (5, -3)], [(5, -9), (-5, -3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-4, -10), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 5), (6, 0), (6, -3), (5, -8), (4, -10), (3, -11), (1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(0, -11), (0, 9)], [(-4, 9), (5, 9)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 8), (4, 8), (6, 7), (7, 6)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-10, 10, [[(2, -10), (2, 9)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-1, 9), (6, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2)], [(-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-5, -12), (5, -12)], [(-5, -11), (0, -11), (5, -12)]]),
(-10, 10, [[(5, -9), (4, -8), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)], [(0, -12), (-2, -11), (-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 2), (5, -1), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-6, -10), (-4, -11), (-2, -11), (3, -9)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 4), (0, 9)], [(6, -6), (1, -1), (0, 1), (-1, 4), (-1, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -3)], [(2, -3), (4, -4), (5, -6), (5, -9), (4, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 7), (6, 5), (6, 1), (5, -1), (4, -2), (2, -3)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(-1, 1), (-3, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6), (2, 8), (0, 9)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-5, -8), (-4, -7), (-5, -6), (-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(1, -12), (3, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -12), (-3, 9)], [(-7, -12), (8, -12), (8, -6), (7, -12)], [(-7, 9), (0, 9)]]),
(-12, 12, [[(-4, -12), (-4, -6), (-5, 2), (-6, 6), (-7, 8), (-8, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-7, -12), (10, -12)], [(-11, 9), (10, 9)], [(-11, 9), (-11, 16)], [(-10, 9), (-11, 16)], [(9, 9), (10, 16)], [(10, 9), (10, 16)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(1, -6), (1, 2)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (1, -2)], [(-9, 9), (7, 9), (7, 3), (6, 9)]]),
(-15, 16, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-11, -11), (-10, -10), (-11, -9), (-12, -10), (-12, -11), (-11, -12), (-10, -12), (-9, -11), (-8, -9), (-7, -5), (-6, -3), (-4, -2), (5, -2), (7, -3), (8, -5), (9, -9), (10, -11), (11, -12), (12, -12), (13, -11), (13, -10), (12, -9), (11, -10), (12, -11)], [(-4, -2), (-6, -1), (-7, 1), (-8, 6), (-9, 8), (-10, 9)], [(-4, -2), (-5, -1), (-6, 1), (-7, 6), (-8, 8), (-9, 9), (-11, 9), (-12, 8), (-13, 6)], [(5, -2), (7, -1), (8, 1), (9, 6), (10, 8), (11, 9)], [(5, -2), (6, -1), (7, 1), (8, 6), (9, 8), (10, 9), (12, 9), (13, 8), (14, 6)], [(-3, 9), (4, 9)]]),
(-10, 10, [[(-6, -9), (-7, -12), (-7, -6), (-6, -9), (-4, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-3, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(6, -10), (-6, 7)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(6, -10), (-6, 7)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)], [(-4, -18), (-4, -19), (-5, -19), (-5, -18), (-4, -16), (-2, -15), (2, -15), (4, -16), (5, -18)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(-10, -12), (-3, -12)], [(-6, -2), (1, -2), (3, -3), (4, -5), (5, -9), (6, -11), (7, -12), (8, -12), (9, -11), (9, -10), (8, -9), (7, -10), (8, -11)], [(1, -2), (3, -1), (4, 1), (5, 6), (6, 8), (7, 9)], [(1, -2), (2, -1), (3, 1), (4, 6), (5, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-10, 9), (-3, 9)]]),
(-13, 12, [[(-5, -12), (-5, -6), (-6, 2), (-7, 6), (-8, 8), (-9, 9), (-10, 9), (-11, 8), (-11, 7), (-10, 6), (-9, 7), (-10, 8)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-8, -12), (10, -12)], [(3, 9), (10, 9)]]),
(-12, 13, [[(-7, -12), (-7, 9)], [(-6, -12), (0, 6)], [(-7, -12), (0, 9)], [(7, -12), (0, 9)], [(7, -12), (7, 9)], [(8, -12), (8, 9)], [(-10, -12), (-6, -12)], [(7, -12), (11, -12)], [(-10, 9), (-4, 9)], [(4, 9), (11, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-6, -2), (6, -2)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (10, -12)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-5, -1)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1)], [(-9, 9), (-2, 9)]]),
(-11, 10, [[(6, -9), (7, -6), (7, -12), (6, -9), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9)]]),
(-9, 10, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-6, -12), (-7, -6), (-7, -12), (8, -12), (8, -6), (7, -12)], [(-3, 9), (4, 9)]]),
(-10, 11, [[(-7, -12), (0, 4)], [(-6, -12), (1, 4)], [(8, -12), (1, 4), (-1, 7), (-2, 8), (-4, 9), (-5, 9), (-6, 8), (-6, 7), (-5, 6), (-4, 7), (-5, 8)], [(-9, -12), (-3, -12)], [(4, -12), (10, -12)]]),
(-12, 13, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-2, -9), (-6, -8), (-8, -6), (-9, -3), (-9, 0), (-8, 3), (-6, 5), (-2, 6), (3, 6), (7, 5), (9, 3), (10, 0), (10, -3), (9, -6), (7, -8), (3, -9), (-2, -9)], [(-2, -9), (-5, -8), (-7, -6), (-8, -3), (-8, 0), (-7, 3), (-5, 5), (-2, 6)], [(3, 6), (6, 5), (8, 3), (9, 0), (9, -3), (8, -6), (6, -8), (3, -9)], [(-3, 9), (4, 9)]]),
(-10, 10, [[(-7, -12), (6, 9)], [(-6, -12), (7, 9)], [(7, -12), (-7, 9)], [(-9, -12), (-3, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-10, 9), (10, 9)], [(9, 9), (10, 16)], [(10, 9), (10, 16)]]),
(-12, 11, [[(-7, -12), (-7, -1), (-6, 1), (-3, 2), (0, 2), (3, 1), (5, -1)], [(-6, -12), (-6, -1), (-5, 1), (-3, 2)], [(5, -12), (5, 9)], [(6, -12), (6, 9)], [(-10, -12), (-3, -12)], [(2, -12), (9, -12)], [(2, 9), (9, 9)]]),
(-16, 17, [[(-11, -12), (-11, 9)], [(-10, -12), (-10, 9)], [(0, -12), (0, 9)], [(1, -12), (1, 9)], [(11, -12), (11, 9)], [(12, -12), (12, 9)], [(-14, -12), (-7, -12)], [(-3, -12), (4, -12)], [(8, -12), (15, -12)], [(-14, 9), (15, 9)]]),
(-16, 17, [[(-11, -12), (-11, 9)], [(-10, -12), (-10, 9)], [(0, -12), (0, 9)], [(1, -12), (1, 9)], [(11, -12), (11, 9)], [(12, -12), (12, 9)], [(-14, -12), (-7, -12)], [(-3, -12), (4, -12)], [(8, -12), (15, -12)], [(-14, 9), (15, 9)], [(14, 9), (15, 16)], [(15, 9), (15, 16)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 5, [[(1, -12), (0, -11), (-1, -9), (-1, -7), (0, -6), (1, -7), (0, -8)]]),
(-9, 11, [[(-4, -3), (-4, -2), (-5, -2), (-5, -3), (-4, -4), (-2, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 6), (7, 8), (8, 9)], [(5, -3), (5, 6), (6, 8), (8, 9), (9, 9)], [(5, -1), (4, 0), (-2, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(-2, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-10, 10, [[(6, -12), (5, -11), (-1, -9), (-4, -7), (-6, -4), (-7, -1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1)], [(6, -12), (5, -10), (3, -9), (-1, -8), (-4, -6), (-6, -4)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 1), (5, -2), (3, -4), (1, -5)]]),
(-10, 10, [[(-5, -5), (-5, 9)], [(-4, -5), (-4, 9)], [(-8, -5), (3, -5), (6, -4), (7, -2), (7, -1), (6, 1), (3, 2)], [(3, -5), (5, -4), (6, -2), (6, -1), (5, 1), (3, 2)], [(-4, 2), (3, 2), (6, 3), (7, 5), (7, 6), (6, 8), (3, 9), (-8, 9)], [(3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (3, 9)]]),
(-10, 8, [[(-5, -5), (-5, 9)], [(-4, -5), (-4, 9)], [(-8, -5), (6, -5), (6, 0), (5, -5)], [(-8, 9), (-1, 9)]]),
(-12, 11, [[(-4, -5), (-4, -1), (-5, 5), (-6, 8), (-7, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-7, -5), (9, -5)], [(-9, 9), (-10, 14), (-10, 9), (9, 9), (9, 14), (8, 9)]]),
(-10, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(5, 1), (5, -2), (4, -4)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)]]),
(-13, 14, [[(0, -5), (0, 9)], [(1, -5), (1, 9)], [(-3, -5), (4, -5)], [(-8, -4), (-9, -3), (-10, -4), (-9, -5), (-8, -5), (-7, -4), (-5, 0), (-4, 1), (-2, 2), (3, 2), (5, 1), (6, 0), (8, -4), (9, -5), (10, -5), (11, -4), (10, -3), (9, -4)], [(-2, 2), (-4, 3), (-5, 4), (-7, 8), (-8, 9)], [(-2, 2), (-4, 4), (-6, 8), (-7, 9), (-9, 9), (-10, 8), (-11, 6)], [(3, 2), (5, 3), (6, 4), (8, 8), (9, 9)], [(3, 2), (5, 4), (7, 8), (8, 9), (10, 9), (11, 8), (12, 6)], [(-3, 9), (4, 9)]]),
(-9, 9, [[(-5, -3), (-6, -5), (-6, -1), (-5, -3), (-4, -4), (-2, -5), (2, -5), (5, -4), (6, -2), (6, -1), (5, 1), (2, 2)], [(2, -5), (4, -4), (5, -2), (5, -1), (4, 1), (2, 2)], [(-1, 2), (2, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(2, 2), (4, 3), (5, 5), (5, 6), (4, 8), (2, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)], [(5, -4), (-5, 8)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)], [(5, -4), (-5, 8)], [(-3, -11), (-3, -12), (-4, -12), (-4, -11), (-3, -9), (-1, -8), (1, -8), (3, -9), (4, -11)]]),
(-10, 10, [[(-5, -5), (-5, 9)], [(-4, -5), (-4, 9)], [(-8, -5), (-1, -5)], [(-4, 2), (-2, 2), (1, 1), (2, 0), (4, -4), (5, -5), (6, -5), (7, -4), (6, -3), (5, -4)], [(-2, 2), (1, 3), (2, 4), (4, 8), (5, 9)], [(-2, 2), (0, 3), (1, 4), (3, 8), (4, 9), (6, 9), (7, 8), (8, 6)], [(-8, 9), (-1, 9)]]),
(-11, 11, [[(-4, -5), (-4, -1), (-5, 5), (-6, 8), (-7, 9), (-8, 9), (-9, 8), (-8, 7), (-7, 8)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-7, -5), (9, -5)], [(2, 9), (9, 9)]]),
(-11, 12, [[(-6, -5), (-6, 9)], [(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(6, -5), (0, 9)], [(6, -5), (6, 9)], [(7, -5), (7, 9)], [(-9, -5), (-5, -5)], [(6, -5), (10, -5)], [(-9, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-5, 2), (5, 2)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 1), (5, -2), (3, -4), (1, -5)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (9, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)]]),
(-11, 10, [[(-6, -5), (-6, 16)], [(-5, -5), (-5, 16)], [(-5, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-5, 6)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-9, -5), (-5, -5)], [(-9, 16), (-2, 16)]]),
(-10, 9, [[(5, -2), (4, -1), (5, 0), (6, -1), (6, -2), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)]]),
(-9, 10, [[(0, -5), (0, 9)], [(1, -5), (1, 9)], [(-5, -5), (-6, 0), (-6, -5), (7, -5), (7, 0), (6, -5)], [(-3, 9), (4, 9)]]),
(-9, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16), (-8, 15), (-7, 14), (-6, 15)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)]]),
(-10, 11, [[(0, -12), (0, 16)], [(1, -12), (1, 16)], [(-3, -12), (1, -12)], [(0, -2), (-1, -4), (-2, -5), (-4, -5), (-6, -4), (-7, -1), (-7, 5), (-6, 8), (-4, 9), (-2, 9), (-1, 8), (0, 6)], [(-4, -5), (-5, -4), (-6, -1), (-6, 5), (-5, 8), (-4, 9)], [(5, -5), (6, -4), (7, -1), (7, 5), (6, 8), (5, 9)], [(1, -2), (2, -4), (3, -5), (5, -5), (7, -4), (8, -1), (8, 5), (7, 8), (5, 9), (3, 9), (2, 8), (1, 6)], [(-3, 16), (4, 16)]]),
(-10, 10, [[(-6, -5), (5, 9)], [(-5, -5), (6, 9)], [(6, -5), (-6, 9)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)], [(-8, 9), (-2, 9)], [(2, 9), (8, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-9, 9), (9, 9), (9, 14), (8, 9)]]),
(-11, 11, [[(-6, -5), (-6, 2), (-5, 4), (-2, 5), (0, 5), (3, 4), (5, 2)], [(-5, -5), (-5, 2), (-4, 4), (-2, 5)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(2, 9), (9, 9)]]),
(-15, 16, [[(-10, -5), (-10, 9)], [(-9, -5), (-9, 9)], [(0, -5), (0, 9)], [(1, -5), (1, 9)], [(10, -5), (10, 9)], [(11, -5), (11, 9)], [(-13, -5), (-6, -5)], [(-3, -5), (4, -5)], [(7, -5), (14, -5)], [(-13, 9), (14, 9)]]),
(-15, 16, [[(-10, -5), (-10, 9)], [(-9, -5), (-9, 9)], [(0, -5), (0, 9)], [(1, -5), (1, 9)], [(10, -5), (10, 9)], [(11, -5), (11, 9)], [(-13, -5), (-6, -5)], [(-3, -5), (4, -5)], [(7, -5), (14, -5)], [(-13, 9), (14, 9), (14, 14), (13, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
]
CYRILLIC = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (-1, -10), (0, 2), (1, -10), (0, -12)], [(0, -10), (0, -4)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-5, -5)], [(-3, -12), (-5, -5)], [(4, -12), (3, -5)], [(5, -12), (3, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-15, 15, [[(-10, -12), (-10, 9)], [(-9, -12), (-9, 9)], [(-13, -12), (-6, -12)], [(-9, -2), (-2, -2), (1, -1), (2, 0), (3, 2), (3, 5), (2, 7), (1, 8), (-2, 9), (-13, 9)], [(-2, -2), (0, -1), (1, 0), (2, 2), (2, 5), (1, 7), (0, 8), (-2, 9)], [(9, -12), (9, 9)], [(10, -12), (10, 9)], [(6, -12), (13, -12)], [(6, 9), (13, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-9, 9), (9, 9), (9, 14), (8, 9)]]),
(-13, 13, [[(-8, -5), (-8, 9)], [(-7, -5), (-7, 9)], [(-11, -5), (-4, -5)], [(-7, 2), (-3, 2), (0, 3), (1, 5), (1, 6), (0, 8), (-3, 9), (-11, 9)], [(-3, 2), (-1, 3), (0, 5), (0, 6), (-1, 8), (-3, 9)], [(7, -5), (7, 9)], [(8, -5), (8, 9)], [(4, -5), (11, -5)], [(4, 9), (11, 9)]]),
(-4, 4, [[(0, -12), (-1, -5)], [(1, -12), (-1, -5)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16), (4, 16)], [(3, -16), (4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16), (-3, 16)], [(-4, -16), (-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-4, -10), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 5), (6, 0), (6, -3), (5, -8), (4, -10), (3, -11), (1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(0, -11), (0, 9)], [(-4, 9), (5, 9)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 8), (4, 8), (6, 7), (7, 6)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-10, 10, [[(2, -10), (2, 9)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-1, 9), (6, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2)], [(-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-5, -12), (5, -12)], [(-5, -11), (0, -11), (5, -12)]]),
(-10, 10, [[(5, -9), (4, -8), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)], [(0, -12), (-2, -11), (-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 2), (5, -1), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-6, -10), (-4, -11), (-2, -11), (3, -9)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 4), (0, 9)], [(6, -6), (1, -1), (0, 1), (-1, 4), (-1, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -3)], [(2, -3), (4, -4), (5, -6), (5, -9), (4, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 7), (6, 5), (6, 1), (5, -1), (4, -2), (2, -3)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(-1, 1), (-3, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6), (2, 8), (0, 9)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-5, -8), (-4, -7), (-5, -6), (-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(1, -12), (3, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-10, 11, [[(-6, -9), (-7, -12), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (1, 9)], [(-2, -2), (7, -2)]]),
(-12, 12, [[(-4, -12), (-4, -6), (-5, 2), (-6, 6), (-7, 8), (-8, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-7, -12), (10, -12)], [(-11, 9), (10, 9)], [(-11, 9), (-11, 16)], [(-10, 9), (-11, 16)], [(9, 9), (10, 16)], [(10, 9), (10, 16)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(6, -10), (-6, 7)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-12, 13, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-2, -9), (-6, -8), (-8, -6), (-9, -3), (-9, 0), (-8, 3), (-6, 5), (-2, 6), (3, 6), (7, 5), (9, 3), (10, 0), (10, -3), (9, -6), (7, -8), (3, -9), (-2, -9)], [(-2, -9), (-5, -8), (-7, -6), (-8, -3), (-8, 0), (-7, 3), (-5, 5), (-2, 6)], [(3, 6), (6, 5), (8, 3), (9, 0), (9, -3), (8, -6), (6, -8), (3, -9)], [(-3, 9), (4, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -12), (-3, 9)], [(-7, -12), (8, -12), (8, -6), (7, -12)], [(-7, 9), (0, 9)]]),
(-15, 16, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-11, -11), (-10, -10), (-11, -9), (-12, -10), (-12, -11), (-11, -12), (-10, -12), (-9, -11), (-8, -9), (-7, -5), (-6, -3), (-4, -2), (5, -2), (7, -3), (8, -5), (9, -9), (10, -11), (11, -12), (12, -12), (13, -11), (13, -10), (12, -9), (11, -10), (12, -11)], [(-4, -2), (-6, -1), (-7, 1), (-8, 6), (-9, 8), (-10, 9)], [(-4, -2), (-5, -1), (-6, 1), (-7, 6), (-8, 8), (-9, 9), (-11, 9), (-12, 8), (-13, 6)], [(5, -2), (7, -1), (8, 1), (9, 6), (10, 8), (11, 9)], [(5, -2), (6, -1), (7, 1), (8, 6), (9, 8), (10, 9), (12, 9), (13, 8), (14, 6)], [(-3, 9), (4, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(6, -10), (-6, 7)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-12, 11, [[(-7, -12), (-7, -1), (-6, 1), (-3, 2), (0, 2), (3, 1), (5, -1)], [(-6, -12), (-6, -1), (-5, 1), (-3, 2)], [(5, -12), (5, 9)], [(6, -12), (6, 9)], [(-10, -12), (-3, -12)], [(2, -12), (9, -12)], [(2, 9), (9, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(-10, -12), (-3, -12)], [(-6, -2), (1, -2), (3, -3), (4, -5), (5, -9), (6, -11), (7, -12), (8, -12), (9, -11), (9, -10), (8, -9), (7, -10), (8, -11)], [(1, -2), (3, -1), (4, 1), (5, 6), (6, 8), (7, 9)], [(1, -2), (2, -1), (3, 1), (4, 6), (5, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-10, 9), (-3, 9)]]),
(-13, 12, [[(-5, -12), (-5, -6), (-6, 2), (-7, 6), (-8, 8), (-9, 9), (-10, 9), (-11, 8), (-11, 7), (-10, 6), (-9, 7), (-10, 8)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-8, -12), (10, -12)], [(3, 9), (10, 9)]]),
(-12, 13, [[(-7, -12), (-7, 9)], [(-6, -12), (0, 6)], [(-7, -12), (0, 9)], [(7, -12), (0, 9)], [(7, -12), (7, 9)], [(8, -12), (8, 9)], [(-10, -12), (-6, -12)], [(7, -12), (11, -12)], [(-10, 9), (-4, 9)], [(4, 9), (11, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-6, -2), (6, -2)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (10, -12)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-16, 17, [[(-11, -12), (-11, 9)], [(-10, -12), (-10, 9)], [(0, -12), (0, 9)], [(1, -12), (1, 9)], [(11, -12), (11, 9)], [(12, -12), (12, 9)], [(-14, -12), (-7, -12)], [(-3, -12), (4, -12)], [(8, -12), (15, -12)], [(-14, 9), (15, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-5, -1)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1)], [(-9, 9), (-2, 9)]]),
(-11, 10, [[(6, -9), (7, -6), (7, -12), (6, -9), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9)]]),
(-9, 10, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-6, -12), (-7, -6), (-7, -12), (8, -12), (8, -6), (7, -12)], [(-3, 9), (4, 9)]]),
(-15, 16, [[(-10, -12), (-10, 9)], [(-9, -12), (-9, 9)], [(-13, -12), (-6, -12)], [(-13, 9), (-6, 9)], [(4, -12), (1, -11), (-1, -9), (-2, -7), (-3, -3), (-3, 0), (-2, 4), (-1, 6), (1, 8), (4, 9), (6, 9), (9, 8), (11, 6), (12, 4), (13, 0), (13, -3), (12, -7), (11, -9), (9, -11), (6, -12), (4, -12)], [(4, -12), (2, -11), (0, -9), (-1, -7), (-2, -3), (-2, 0), (-1, 4), (0, 6), (2, 8), (4, 9)], [(6, 9), (8, 8), (10, 6), (11, 4), (12, 0), (12, -3), (11, -7), (10, -9), (8, -11), (6, -12)], [(-9, -2), (-3, -2)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-16, 17, [[(-11, -12), (-11, 9)], [(-10, -12), (-10, 9)], [(0, -12), (0, 9)], [(1, -12), (1, 9)], [(11, -12), (11, 9)], [(12, -12), (12, 9)], [(-14, -12), (-7, -12)], [(-3, -12), (4, -12)], [(8, -12), (15, -12)], [(-14, 9), (15, 9)], [(14, 9), (15, 16)], [(15, 9), (15, 16)]]),
(-10, 10, [[(-7, -12), (6, 9)], [(-6, -12), (7, 9)], [(7, -12), (-7, 9)], [(-9, -12), (-3, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-10, 11, [[(-7, -12), (0, 4)], [(-6, -12), (1, 4)], [(8, -12), (1, 4), (-1, 7), (-2, 8), (-4, 9), (-5, 9), (-6, 8), (-6, 7), (-5, 6), (-4, 7), (-5, 8)], [(-9, -12), (-3, -12)], [(4, -12), (10, -12)]]),
(-10, 10, [[(-6, -9), (-7, -12), (-7, -6), (-6, -9), (-4, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-3, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(1, -6), (1, 2)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (1, -2)], [(-9, 9), (7, 9), (7, 3), (6, 9)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-12, 14, [[(-2, -12), (-2, 9)], [(-1, -12), (-1, 9)], [(-9, -12), (-10, -6), (-10, -12), (2, -12)], [(-1, -2), (6, -2), (9, -1), (10, 0), (11, 2), (11, 5), (10, 7), (9, 8), (6, 9), (-5, 9)], [(6, -2), (8, -1), (9, 0), (10, 2), (10, 5), (9, 7), (8, 8), (6, 9)]]),
(-11, 11, [[(5, -12), (5, 9)], [(6, -12), (6, 9)], [(9, -12), (-3, -12), (-6, -11), (-7, -10), (-8, -8), (-8, -6), (-7, -4), (-6, -3), (-3, -2), (5, -2)], [(-3, -12), (-5, -11), (-6, -10), (-7, -8), (-7, -6), (-6, -4), (-5, -3), (-3, -2)], [(0, -2), (-2, -1), (-3, 0), (-6, 7), (-7, 8), (-8, 8), (-9, 7)], [(-2, -1), (-3, 1), (-5, 8), (-6, 9), (-8, 9), (-9, 7), (-9, 6)], [(2, 9), (9, 9)]]),
(-10, 11, [[(-5, -12), (-5, 9)], [(-4, -12), (-4, 9)], [(-8, -12), (-1, -12)], [(-4, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-8, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-10, 9), (10, 9)], [(9, 9), (10, 16)], [(10, 9), (10, 16)]]),
(-9, 11, [[(-4, -3), (-4, -2), (-5, -2), (-5, -3), (-4, -4), (-2, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 6), (7, 8), (8, 9)], [(5, -3), (5, 6), (6, 8), (8, 9), (9, 9)], [(5, -1), (4, 0), (-2, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(-2, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-10, 10, [[(6, -12), (5, -11), (-1, -9), (-4, -7), (-6, -4), (-7, -1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1)], [(6, -12), (5, -10), (3, -9), (-1, -8), (-4, -6), (-6, -4)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 1), (5, -2), (3, -4), (1, -5)]]),
(-10, 11, [[(-6, -9), (-7, -12), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (1, 9)], [(-2, -2), (7, -2)]]),
(-12, 11, [[(-4, -5), (-4, -1), (-5, 5), (-6, 8), (-7, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-7, -5), (9, -5)], [(-9, 9), (-10, 14), (-10, 9), (9, 9), (9, 14), (8, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)], [(5, -4), (-5, 8)], [(-3, -11), (-3, -12), (-4, -12), (-4, -11), (-3, -9), (-1, -8), (1, -8), (3, -9), (4, -11)]]),
(-10, 11, [[(0, -12), (0, 16)], [(1, -12), (1, 16)], [(-3, -12), (1, -12)], [(0, -2), (-1, -4), (-2, -5), (-4, -5), (-6, -4), (-7, -1), (-7, 5), (-6, 8), (-4, 9), (-2, 9), (-1, 8), (0, 6)], [(-4, -5), (-5, -4), (-6, -1), (-6, 5), (-5, 8), (-4, 9)], [(5, -5), (6, -4), (7, -1), (7, 5), (6, 8), (5, 9)], [(1, -2), (2, -4), (3, -5), (5, -5), (7, -4), (8, -1), (8, 5), (7, 8), (5, 9), (3, 9), (2, 8), (1, 6)], [(-3, 16), (4, 16)]]),
(-10, 8, [[(-5, -5), (-5, 9)], [(-4, -5), (-4, 9)], [(-8, -5), (6, -5), (6, 0), (5, -5)], [(-8, 9), (-1, 9)]]),
(-13, 14, [[(0, -5), (0, 9)], [(1, -5), (1, 9)], [(-3, -5), (4, -5)], [(-8, -4), (-9, -3), (-10, -4), (-9, -5), (-8, -5), (-7, -4), (-5, 0), (-4, 1), (-2, 2), (3, 2), (5, 1), (6, 0), (8, -4), (9, -5), (10, -5), (11, -4), (10, -3), (9, -4)], [(-2, 2), (-4, 3), (-5, 4), (-7, 8), (-8, 9)], [(-2, 2), (-4, 4), (-6, 8), (-7, 9), (-9, 9), (-10, 8), (-11, 6)], [(3, 2), (5, 3), (6, 4), (8, 8), (9, 9)], [(3, 2), (5, 4), (7, 8), (8, 9), (10, 9), (11, 8), (12, 6)], [(-3, 9), (4, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)], [(5, -4), (-5, 8)]]),
(-11, 11, [[(-6, -5), (-6, 2), (-5, 4), (-2, 5), (0, 5), (3, 4), (5, 2)], [(-5, -5), (-5, 2), (-4, 4), (-2, 5)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(2, 9), (9, 9)]]),
(-10, 10, [[(-5, -5), (-5, 9)], [(-4, -5), (-4, 9)], [(-8, -5), (-1, -5)], [(-4, 2), (-2, 2), (1, 1), (2, 0), (4, -4), (5, -5), (6, -5), (7, -4), (6, -3), (5, -4)], [(-2, 2), (1, 3), (2, 4), (4, 8), (5, 9)], [(-2, 2), (0, 3), (1, 4), (3, 8), (4, 9), (6, 9), (7, 8), (8, 6)], [(-8, 9), (-1, 9)]]),
(-11, 11, [[(-4, -5), (-4, -1), (-5, 5), (-6, 8), (-7, 9), (-8, 9), (-9, 8), (-8, 7), (-7, 8)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-7, -5), (9, -5)], [(2, 9), (9, 9)]]),
(-11, 12, [[(-6, -5), (-6, 9)], [(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(6, -5), (0, 9)], [(6, -5), (6, 9)], [(7, -5), (7, 9)], [(-9, -5), (-5, -5)], [(6, -5), (10, -5)], [(-9, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-2, -5)], [(2, -5), (9, -5)], [(-5, 2), (5, 2)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 1), (5, -2), (3, -4), (1, -5)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (9, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)]]),
(-15, 16, [[(-10, -5), (-10, 9)], [(-9, -5), (-9, 9)], [(0, -5), (0, 9)], [(1, -5), (1, 9)], [(10, -5), (10, 9)], [(11, -5), (11, 9)], [(-13, -5), (-6, -5)], [(-3, -5), (4, -5)], [(7, -5), (14, -5)], [(-13, 9), (14, 9)]]),
(-11, 10, [[(-6, -5), (-6, 16)], [(-5, -5), (-5, 16)], [(-5, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-5, 6)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-9, -5), (-5, -5)], [(-9, 16), (-2, 16)]]),
(-10, 9, [[(5, -2), (4, -1), (5, 0), (6, -1), (6, -2), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)]]),
(-9, 10, [[(0, -5), (0, 9)], [(1, -5), (1, 9)], [(-5, -5), (-6, 0), (-6, -5), (7, -5), (7, 0), (6, -5)], [(-3, 9), (4, 9)]]),
(-14, 15, [[(-9, -5), (-9, 9)], [(-8, -5), (-8, 9)], [(-12, -5), (-5, -5)], [(-12, 9), (-5, 9)], [(4, -5), (1, -4), (-1, -2), (-2, 1), (-2, 3), (-1, 6), (1, 8), (4, 9), (6, 9), (9, 8), (11, 6), (12, 3), (12, 1), (11, -2), (9, -4), (6, -5), (4, -5)], [(4, -5), (2, -4), (0, -2), (-1, 1), (-1, 3), (0, 6), (2, 8), (4, 9)], [(6, 9), (8, 8), (10, 6), (11, 3), (11, 1), (10, -2), (8, -4), (6, -5)], [(-8, 2), (-2, 2)]]),
(-10, 10, [[(-5, -5), (-5, 9)], [(-4, -5), (-4, 9)], [(-8, -5), (3, -5), (6, -4), (7, -2), (7, -1), (6, 1), (3, 2)], [(3, -5), (5, -4), (6, -2), (6, -1), (5, 1), (3, 2)], [(-4, 2), (3, 2), (6, 3), (7, 5), (7, 6), (6, 8), (3, 9), (-8, 9)], [(3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (3, 9)]]),
(-15, 16, [[(-10, -5), (-10, 9)], [(-9, -5), (-9, 9)], [(0, -5), (0, 9)], [(1, -5), (1, 9)], [(10, -5), (10, 9)], [(11, -5), (11, 9)], [(-13, -5), (-6, -5)], [(-3, -5), (4, -5)], [(7, -5), (14, -5)], [(-13, 9), (14, 9), (14, 14), (13, 9)]]),
(-10, 10, [[(-6, -5), (5, 9)], [(-5, -5), (6, 9)], [(6, -5), (-6, 9)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)], [(-8, 9), (-2, 9)], [(2, 9), (8, 9)]]),
(-9, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16), (-8, 15), (-7, 14), (-6, 15)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)]]),
(-9, 9, [[(-5, -3), (-6, -5), (-6, -1), (-5, -3), (-4, -4), (-2, -5), (2, -5), (5, -4), (6, -2), (6, -1), (5, 1), (2, 2)], [(2, -5), (4, -4), (5, -2), (5, -1), (4, 1), (2, 2)], [(-1, 2), (2, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(2, 2), (4, 3), (5, 5), (5, 6), (4, 8), (2, 9)]]),
(-10, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(5, 1), (5, -2), (4, -4)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)]]),
(-10, 11, [[(-1, -5), (-1, 9)], [(0, -5), (0, 9)], [(-6, -5), (-7, 0), (-7, -5), (3, -5)], [(0, 2), (4, 2), (7, 3), (8, 5), (8, 6), (7, 8), (4, 9), (-4, 9)], [(4, 2), (6, 3), (7, 5), (7, 6), (6, 8), (4, 9)]]),
(-11, 10, [[(4, -5), (4, 9)], [(5, -5), (5, 9)], [(8, -5), (-3, -5), (-6, -4), (-7, -2), (-7, -1), (-6, 1), (-3, 2), (4, 2)], [(-3, -5), (-5, -4), (-6, -2), (-6, -1), (-5, 1), (-3, 2)], [(2, 2), (-1, 3), (-2, 4), (-4, 8), (-5, 9)], [(2, 2), (0, 3), (-1, 4), (-3, 8), (-4, 9), (-6, 9), (-7, 8), (-8, 6)], [(1, 9), (8, 9)]]),
(-8, 9, [[(-3, -5), (-3, 9)], [(-2, -5), (-2, 9)], [(-6, -5), (1, -5)], [(-2, 2), (2, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-6, 9)], [(2, 2), (4, 3), (5, 5), (5, 6), (4, 8), (2, 9)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
]
FUTURAL = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-4, -5)], [(4, -12), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 7), (-10, 5), (-10, 3), (-9, 1), (-8, 0), (-1, -4), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (7, 9), (9, 9), (10, 8), (10, 7)]]),
(-5, 5, [[(0, -10), (-1, -11), (0, -12), (1, -11), (1, -9), (0, -7), (-1, -6)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-5, 2), (5, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2)], [(-7, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-7, 9)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (0, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (0, 9), (-7, 9)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)], [(-6, 9), (7, 9)]]),
(-10, 8, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4), (8, 1)], [(3, 1), (8, 1)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -2), (7, -2)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-8, 8, [[(4, -12), (4, 4), (3, 7), (2, 8), (0, 9), (-2, 9), (-4, 8), (-5, 7), (-6, 4), (-6, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(7, -12), (-7, 2)], [(-2, -3), (7, 9)]]),
(-10, 7, [[(-6, -12), (-6, 9)], [(-6, 9), (6, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-8, -12), (0, 9)], [(8, -12), (0, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (7, 9)], [(7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-7, -1)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(1, 5), (7, 11)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2), (-7, -2)], [(0, -2), (7, 9)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-8, 8, [[(0, -12), (0, 9)], [(-7, -12), (7, -12)]]),
(-11, 11, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)]]),
(-9, 9, [[(-8, -12), (0, 9)], [(8, -12), (0, 9)]]),
(-12, 12, [[(-10, -12), (-5, 9)], [(0, -12), (-5, 9)], [(0, -12), (5, 9)], [(10, -12), (5, 9)]]),
(-10, 10, [[(-7, -12), (7, 9)], [(7, -12), (-7, 9)]]),
(-9, 9, [[(-8, -12), (0, -2), (0, 9)], [(8, -12), (0, -2)]]),
(-10, 10, [[(7, -12), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(0, -14), (-8, 0)], [(0, -14), (8, 0)]]),
(-9, 9, [[(-9, 16), (9, 16)]]),
(-4, 4, [[(1, -7), (-1, -5), (-1, -3), (0, -2), (1, -3), (0, -4), (-1, -3)]]),
(-9, 10, [[(6, -5), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(6, -12), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-5, 7, [[(5, -12), (3, -12), (1, -11), (0, -8), (0, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(6, -5), (6, 11), (5, 14), (4, 15), (2, 16), (-1, 16), (-3, 15)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(-5, -12), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-4, 4, [[(-1, -12), (0, -11), (1, -12), (0, -13), (-1, -12)], [(0, -5), (0, 9)]]),
(-5, 5, [[(0, -12), (1, -11), (2, -12), (1, -13), (0, -12)], [(1, -5), (1, 12), (0, 15), (-2, 16), (-4, 16)]]),
(-9, 8, [[(-5, -12), (-5, 9)], [(5, -5), (-5, 5)], [(-1, 1), (6, 9)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-15, 15, [[(-11, -5), (-11, 9)], [(-11, -1), (-8, -4), (-6, -5), (-3, -5), (-1, -4), (0, -1), (0, 9)], [(0, -1), (3, -4), (5, -5), (8, -5), (10, -4), (11, -1), (11, 9)]]),
(-9, 10, [[(-5, -5), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (2, -5), (-1, -5)]]),
(-10, 9, [[(-6, -5), (-6, 16)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 10, [[(6, -5), (6, 16)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-7, 6, [[(-3, -5), (-3, 9)], [(-3, 1), (-2, -2), (0, -4), (2, -5), (5, -5)]]),
(-8, 9, [[(6, -2), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -2), (-4, 0), (-2, 1), (3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-5, 6)]]),
(-5, 7, [[(0, -12), (0, 5), (1, 8), (3, 9), (5, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(-5, -5), (-5, 5), (-4, 8), (-2, 9), (1, 9), (3, 8), (6, 5)], [(6, -5), (6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9)]]),
(-11, 11, [[(-8, -5), (-4, 9)], [(0, -5), (-4, 9)], [(0, -5), (4, 9)], [(8, -5), (4, 9)]]),
(-8, 9, [[(-5, -5), (6, 9)], [(6, -5), (-5, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16)]]),
(-8, 9, [[(6, -5), (-5, 9)], [(-5, -5), (6, -5)], [(-5, 9), (6, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
FUTURAM = [
(-8, 8, [[]]),
(-5, 6, [[(0, -12), (0, 2), (1, 2)], [(0, -12), (1, -12), (1, 2)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-9, 10, [[(0, -16), (0, 13), (1, 13)], [(0, -16), (1, -16), (1, 13)], [(5, -9), (7, -9), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-6, -7), (-5, -5), (-4, -4), (4, 0), (5, 1), (6, 3), (6, 5), (5, 7), (2, 8), (-1, 8), (-3, 7), (-4, 6)], [(5, -9), (4, -10), (2, -11), (-1, -11), (-4, -10), (-5, -9), (-5, -7), (-4, -5), (4, -1), (6, 1), (7, 3), (7, 5), (6, 7), (5, 8), (2, 9), (-1, 9), (-4, 8), (-6, 6), (-4, 6)], [(6, 6), (3, 8)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(9, -4), (8, -3), (9, -2), (10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-5, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (8, 9), (9, 9), (10, 8), (10, 7)], [(-5, 9), (-7, 8), (-8, 6), (-8, 3), (-7, 1), (-5, -1)], [(-5, -7), (-4, -5), (4, 6), (6, 8), (8, 9)]]),
(-4, 5, [[(1, -12), (0, -11), (0, -5)], [(1, -11), (0, -5)], [(1, -12), (2, -11), (0, -5)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 6, [[(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-3, -11), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-3, 8)], [(-4, 7), (-1, 8), (1, 8), (4, 7)], [(3, 8), (5, 5), (6, 0), (6, -3), (5, -8), (3, -11)], [(4, -10), (1, -11), (-1, -11), (-4, -10)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(-4, -8), (-4, -7), (-2, -8), (0, -10), (0, 9), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-6, 9)], [(-6, -7), (-5, -7), (-5, -8), (-4, -10), (-2, -11), (2, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -1), (-7, 9)], [(-6, 8), (7, 8), (7, 9)], [(-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (-1, -3)], [(-5, -12), (-5, -11), (5, -11)], [(5, -12), (-2, -3)], [(-1, -4), (1, -4), (4, -3), (6, -1), (7, 2), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-6, 5)], [(-2, -3), (1, -3), (4, -2), (6, 1)], [(2, -3), (5, -1), (6, 2), (6, 3), (5, 6), (2, 8)], [(6, 4), (4, 7), (1, 8), (-2, 8), (-5, 7), (-6, 5)], [(-3, 8), (-6, 6)]]),
(-10, 10, [[(3, -9), (3, 9), (4, 9)], [(4, -12), (4, 9)], [(4, -12), (-7, 4), (8, 4)], [(3, -9), (-6, 4)], [(-6, 3), (8, 3), (8, 4)]]),
(-10, 10, [[(-5, -12), (-6, -3)], [(-4, -11), (-5, -4)], [(-5, -12), (5, -12), (5, -11)], [(-4, -11), (5, -11)], [(-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-6, 5)], [(-6, -3), (-5, -3), (-3, -4), (1, -4), (4, -3), (6, 0)], [(2, -4), (5, -2), (6, 1), (6, 3), (5, 6), (2, 8)], [(6, 4), (4, 7), (1, 8), (-2, 8), (-5, 7), (-6, 5)], [(-3, 8), (-6, 6)]]),
(-10, 10, [[(4, -11), (5, -9), (6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1)], [(5, -10), (2, -11), (0, -11), (-3, -10)], [(-2, -11), (-4, -8), (-5, -3), (-5, 2), (-4, 6), (-1, 8)], [(-5, 4), (-3, 7), (0, 8), (1, 8), (4, 7), (6, 4)], [(2, 8), (5, 6), (6, 3), (6, 2), (5, -1), (2, -3)], [(6, 1), (4, -2), (1, -3), (0, -3), (-3, -2), (-5, 1)], [(-1, -3), (-4, -1), (-5, 2)]]),
(-10, 10, [[(-7, -12), (7, -12), (-3, 9)], [(-7, -12), (-7, -11), (6, -11)], [(6, -12), (-4, 9), (-3, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-4, -4), (-2, -3), (2, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (2, 8), (-2, 8), (-5, 7), (-6, 5), (-6, 2), (-5, 0), (-4, -1), (-2, -2), (2, -3), (4, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-4, -11), (-5, -9), (-5, -7), (-4, -5), (-2, -4), (2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-2, -3), (2, -4), (4, -5), (5, -7), (5, -9), (4, -11)], [(5, -10), (2, -11), (-2, -11), (-5, -10)], [(-6, 6), (-3, 8)], [(3, 8), (6, 6)]]),
(-10, 10, [[(5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6), (-5, 6), (-4, 8)], [(5, -5), (4, -2), (1, 0)], [(5, -4), (3, -1), (0, 0), (-1, 0), (-4, -1), (-6, -4)], [(-2, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-2, -11)], [(-6, -7), (-4, -10), (-1, -11), (0, -11), (3, -10), (5, -7)], [(1, -11), (4, -9), (5, -5), (5, 0), (4, 5), (2, 8)], [(3, 7), (0, 8), (-2, 8), (-5, 7)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-1, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2), (0, -1)], [(-6, -7), (-5, -7), (-5, -8), (-4, -10), (-1, -11), (2, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -3), (0, -2)], [(-5, -9), (-2, -11)], [(3, -11), (6, -9)], [(6, -5), (2, -2)], [(0, -2), (0, 2), (1, 2), (1, -2)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-8, 9)], [(0, -9), (-7, 9), (-8, 9)], [(0, -9), (7, 9), (8, 9)], [(0, -12), (8, 9)], [(-5, 3), (5, 3)], [(-6, 4), (6, 4)]]),
(-10, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-6, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1)], [(-5, -11), (2, -11), (5, -10), (6, -8), (6, -5), (5, -3), (2, -2)], [(-5, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-6, 9)], [(-5, -1), (2, -1), (5, 0), (6, 2), (6, 5), (5, 7), (2, 8), (-5, 8)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4)], [(8, -7), (7, -7), (6, -9), (5, -10), (3, -11), (-1, -11), (-3, -10), (-5, -7), (-6, -4), (-6, 1), (-5, 4), (-3, 7), (-1, 8), (3, 8), (5, 7), (6, 6), (7, 4), (8, 4)]]),
(-10, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-6, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-6, 9)], [(-5, -11), (1, -11), (4, -10), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (4, 7), (1, 8), (-5, 8)]]),
(-9, 10, [[(-5, -12), (-5, 9)], [(-4, -11), (-4, 8)], [(-5, -12), (7, -12)], [(-4, -11), (7, -11), (7, -12)], [(-4, -2), (2, -2), (2, -1)], [(-4, -1), (2, -1)], [(-4, 8), (7, 8), (7, 9)], [(-5, 9), (7, 9)]]),
(-9, 9, [[(-5, -12), (-5, 9)], [(-4, -11), (-4, 9), (-5, 9)], [(-5, -12), (7, -12)], [(-4, -11), (7, -11), (7, -12)], [(-4, -2), (2, -2), (2, -1)], [(-4, -1), (2, -1)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4), (8, 0), (3, 0)], [(8, -7), (7, -7), (6, -9), (5, -10), (3, -11), (-1, -11), (-3, -10), (-4, -9), (-5, -7), (-6, -4), (-6, 1), (-5, 4), (-4, 6), (-3, 7), (-1, 8), (3, 8), (5, 7), (6, 6), (7, 4), (7, 1), (3, 1), (3, 0)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (-6, -12), (-6, 9), (-7, 9)], [(7, -12), (6, -12), (6, 9), (7, 9)], [(7, -12), (7, 9)], [(-6, -2), (6, -2)], [(-6, -1), (6, -1)]]),
(-4, 5, [[(0, -12), (0, 9), (1, 9)], [(0, -12), (1, -12), (1, 9)]]),
(-8, 9, [[(4, -12), (4, 4), (3, 7), (1, 8), (-1, 8), (-3, 7), (-4, 4), (-5, 4)], [(4, -12), (5, -12), (5, 4), (4, 7), (3, 8), (1, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 4)]]),
(-10, 11, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(8, -12), (7, -12), (-5, 0)], [(8, -12), (-5, 1)], [(-2, -3), (7, 9), (8, 9)], [(-1, -3), (8, 9)]]),
(-9, 8, [[(-5, -12), (-5, 9)], [(-5, -12), (-4, -12), (-4, 8)], [(-4, 8), (7, 8), (7, 9)], [(-5, 9), (7, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-7, -7), (-7, 9), (-8, 9)], [(-7, -7), (0, 9)], [(-8, -12), (0, 6)], [(8, -12), (0, 6)], [(7, -7), (0, 9)], [(7, -7), (7, 9), (8, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-6, -9), (-6, 9), (-7, 9)], [(-6, -9), (7, 9)], [(-7, -12), (6, 6)], [(6, -12), (6, 6)], [(6, -12), (7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(-1, -11), (-4, -10), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-4, 7), (-1, 8), (1, 8), (4, 7), (6, 4), (7, 1), (7, -4), (6, -7), (4, -10), (1, -11), (-1, -11)]]),
(-10, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 9), (-6, 9)], [(-6, -12), (3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1), (-5, -1)], [(-5, -11), (3, -11), (5, -10), (6, -8), (6, -5), (5, -3), (3, -2), (-5, -2)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(-1, -11), (-4, -10), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-4, 7), (-1, 8), (1, 8), (4, 7), (6, 4), (7, 1), (7, -4), (6, -7), (4, -10), (1, -11), (-1, -11)], [(1, 6), (6, 11), (7, 11)], [(1, 6), (2, 6), (7, 11)]]),
(-10, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 9), (-6, 9)], [(-6, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-5, -1)], [(-5, -11), (2, -11), (5, -10), (6, -8), (6, -5), (5, -3), (2, -2), (-5, -2)], [(0, -1), (6, 9), (7, 9)], [(1, -1), (7, 9)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (2, -1), (4, 0), (5, 1), (6, 3), (6, 6), (5, 7), (2, 8), (-2, 8), (-4, 7), (-5, 6), (-7, 6)], [(7, -9), (5, -9), (4, -10), (2, -11), (-2, -11), (-5, -10), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (2, -2), (4, -1), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-8, 9, [[(0, -11), (0, 9)], [(1, -11), (1, 9), (0, 9)], [(-6, -12), (7, -12), (7, -11)], [(-6, -12), (-6, -11), (7, -11)]]),
(-11, 11, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)], [(-7, -12), (-6, -12), (-6, 3), (-5, 6), (-4, 7), (-1, 8), (1, 8), (4, 7), (5, 6), (6, 3), (6, -12), (7, -12)]]),
(-10, 10, [[(-8, -12), (0, 9)], [(-8, -12), (-7, -12), (0, 6)], [(8, -12), (7, -12), (0, 6)], [(8, -12), (0, 9)]]),
(-13, 13, [[(-11, -12), (-5, 9)], [(-11, -12), (-10, -12), (-5, 6)], [(0, -12), (-5, 6)], [(0, -9), (-5, 9)], [(0, -9), (5, 9)], [(0, -12), (5, 6)], [(11, -12), (10, -12), (5, 6)], [(11, -12), (5, 9)]]),
(-10, 10, [[(-7, -12), (6, 9), (7, 9)], [(-7, -12), (-6, -12), (7, 9)], [(7, -12), (6, -12), (-7, 9)], [(7, -12), (-6, 9), (-7, 9)]]),
(-9, 10, [[(-7, -12), (0, -2), (0, 9), (1, 9)], [(-7, -12), (-6, -12), (1, -2)], [(8, -12), (7, -12), (0, -2)], [(8, -12), (1, -2), (1, 9)]]),
(-10, 10, [[(6, -12), (-7, 9)], [(7, -12), (-6, 9)], [(-7, -12), (7, -12)], [(-7, -12), (-7, -11), (6, -11)], [(-6, 8), (7, 8), (7, 9)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-10, 10, [[(-10, 16), (10, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-10, 10, [[(5, -5), (5, 9), (6, 9)], [(5, -5), (6, -5), (6, 9)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-10, 10, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(-5, -2), (-3, -4), (-1, -5), (2, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (2, 9), (-1, 9), (-3, 8), (-5, 6)], [(-5, -2), (-1, -4), (2, -4), (4, -3), (5, -2), (6, 1), (6, 3), (5, 6), (4, 7), (2, 8), (-1, 8), (-5, 6)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)], [(6, -2), (5, -1), (4, -3), (2, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 3), (-4, 6), (-3, 7), (-1, 8), (2, 8), (4, 7), (5, 5), (6, 6)]]),
(-10, 10, [[(5, -12), (5, 9), (6, 9)], [(5, -12), (6, -12), (6, 9)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-9, 9, [[(-5, 2), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)], [(-5, 1), (5, 1), (5, -1), (4, -3), (2, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 3), (-4, 6), (-3, 7), (-1, 8), (2, 8), (4, 7), (5, 5), (6, 6)]]),
(-6, 8, [[(5, -12), (3, -12), (1, -11), (0, -8), (0, 9), (1, 9)], [(5, -12), (5, -11), (3, -11), (1, -10)], [(2, -11), (1, -8), (1, 9)], [(-3, -5), (4, -5), (4, -4)], [(-3, -5), (-3, -4), (4, -4)]]),
(-10, 10, [[(6, -5), (5, -5), (5, 10), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-4, 13), (-6, 13)], [(6, -5), (6, 10), (5, 13), (3, 15), (1, 16), (-2, 16), (-4, 15), (-6, 13)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-10, 10, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)], [(-5, -1), (-2, -3), (0, -4), (2, -4), (4, -3), (5, -1), (5, 9), (6, 9)]]),
(-4, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -9), (2, -10), (2, -11), (1, -12), (0, -12)], [(0, -11), (0, -10), (1, -10), (1, -11), (0, -11)], [(0, -5), (0, 9), (1, 9)], [(0, -5), (1, -5), (1, 9)]]),
(-4, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -9), (2, -10), (2, -11), (1, -12), (0, -12)], [(0, -11), (0, -10), (1, -10), (1, -11), (0, -11)], [(0, -5), (0, 16), (1, 16)], [(0, -5), (1, -5), (1, 16)]]),
(-10, 9, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(6, -5), (5, -5), (-5, 5)], [(6, -5), (-5, 6)], [(-2, 2), (4, 9), (6, 9)], [(-1, 1), (6, 9)]]),
(-4, 5, [[(0, -12), (0, 9), (1, 9)], [(0, -12), (1, -12), (1, 9)]]),
(-15, 16, [[(-11, -5), (-11, 9), (-10, 9)], [(-11, -5), (-10, -5), (-10, 9)], [(-10, -1), (-7, -4), (-5, -5), (-2, -5), (0, -4), (1, -1), (1, 9)], [(-10, -1), (-7, -3), (-5, -4), (-3, -4), (-1, -3), (0, -1), (0, 9), (1, 9)], [(1, -1), (4, -4), (6, -5), (9, -5), (11, -4), (12, -1), (12, 9)], [(1, -1), (4, -3), (6, -4), (8, -4), (10, -3), (11, -1), (11, 9), (12, 9)]]),
(-10, 10, [[(-6, -5), (-6, 9), (-5, 9)], [(-6, -5), (-5, -5), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)], [(-5, -1), (-2, -3), (0, -4), (2, -4), (4, -3), (5, -1), (5, 9), (6, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (2, -5), (-1, -5)], [(-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 3), (-4, 6), (-3, 7), (-1, 8), (2, 8), (4, 7), (5, 6), (6, 3), (6, 1), (5, -2), (4, -3), (2, -4), (-1, -4)]]),
(-10, 10, [[(-6, -5), (-6, 16), (-5, 16)], [(-6, -5), (-5, -5), (-5, 16)], [(-5, -2), (-3, -4), (-1, -5), (2, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (2, 9), (-1, 9), (-3, 8), (-5, 6)], [(-5, -2), (-1, -4), (2, -4), (4, -3), (5, -2), (6, 1), (6, 3), (5, 6), (4, 7), (2, 8), (-1, 8), (-5, 6)]]),
(-10, 10, [[(5, -5), (5, 16), (6, 16)], [(5, -5), (6, -5), (6, 16)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-7, 7, [[(-3, -5), (-3, 9), (-2, 9)], [(-3, -5), (-2, -5), (-2, 9)], [(-2, 1), (-1, -2), (1, -4), (3, -5), (6, -5)], [(-2, 1), (-1, -1), (1, -3), (3, -4), (6, -4), (6, -5)]]),
(-8, 9, [[(6, -2), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -2), (-4, 0), (-2, 1), (3, 3), (5, 4)], [(4, 3), (5, 5), (5, 6), (4, 8)], [(5, 7), (2, 8), (-1, 8), (-4, 7)], [(-3, 8), (-4, 6), (-5, 6)], [(6, -2), (5, -2), (4, -4)], [(5, -3), (2, -4), (-1, -4), (-4, -3)], [(-3, -4), (-4, -2), (-3, 0)], [(-4, -1), (-2, 0), (3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-5, 6)]]),
(-5, 6, [[(0, -12), (0, 9), (1, 9)], [(0, -12), (1, -12), (1, 9)], [(-3, -5), (4, -5), (4, -4)], [(-3, -5), (-3, -4), (4, -4)]]),
(-10, 10, [[(-6, -5), (-6, 5), (-5, 8), (-3, 9), (0, 9), (2, 8), (5, 5)], [(-6, -5), (-5, -5), (-5, 5), (-4, 7), (-2, 8), (0, 8), (2, 7), (5, 5)], [(5, -5), (5, 9), (6, 9)], [(5, -5), (6, -5), (6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(-6, -5), (-5, -5), (0, 7)], [(6, -5), (5, -5), (0, 7)], [(6, -5), (0, 9)]]),
(-12, 12, [[(-9, -5), (-4, 9)], [(-9, -5), (-8, -5), (-4, 6)], [(0, -5), (-4, 6)], [(0, -2), (-4, 9)], [(0, -2), (4, 9)], [(0, -5), (4, 6)], [(9, -5), (8, -5), (4, 6)], [(9, -5), (4, 9)]]),
(-9, 9, [[(-6, -5), (5, 9), (6, 9)], [(-6, -5), (-5, -5), (6, 9)], [(6, -5), (5, -5), (-6, 9)], [(6, -5), (-5, 9), (-6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(-6, -5), (-5, -5), (0, 7)], [(6, -5), (5, -5), (0, 7), (-4, 16)], [(6, -5), (0, 9), (-3, 16), (-4, 16)]]),
(-9, 9, [[(4, -4), (-6, 9)], [(6, -5), (-4, 8)], [(-6, -5), (6, -5)], [(-6, -5), (-6, -4), (4, -4)], [(-4, 8), (6, 8), (6, 9)], [(-6, 9), (6, 9)]]),
(-7, 7, [[(3, -16), (-4, 0), (3, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-3, -16), (4, 0), (-3, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
GOTHGBT = [
(-8, 8, [[]]),
(-6, 6, [[(0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2)], [(0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2)], [(0, -12), (1, -11), (3, -10), (1, -9), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(6, -8), (5, -10)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, 7), (-6, 5)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(7, -4), (8, -3), (9, -3), (10, -4)], [(6, -3), (7, -2), (9, -2)], [(6, -2), (7, -1), (8, -1), (9, -2), (10, -4)], [(7, -4), (1, 2)], [(0, 3), (-6, 9), (-10, 4), (-4, -2)], [(-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-6, 8), (-9, 4)], [(0, -7), (-3, -11)], [(-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8)], [(-5, 8), (-9, 3)], [(0, -6), (-4, -11)], [(-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6)]]),
(-6, 6, [[(0, -6), (0, -8), (-2, -10), (0, -12), (1, -10), (1, -8), (0, -6), (-2, -5)], [(0, -11), (-1, -10), (0, -9), (0, -11)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 13, [[(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7)], [(-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8)], [(-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7)], [(-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7)]]),
(-10, 10, [[(-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10)], [(-2, -10), (0, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11)], [(4, -10), (4, -2)], [(5, -9), (5, -3)], [(6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9)], [(-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7)], [(-4, 8), (-1, 7), (4, 7), (7, 8)], [(-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7)]]),
(-10, 10, [[(-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10)], [(-3, -10), (-1, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -11)], [(4, -10), (4, -3)], [(5, -9), (5, -4)], [(6, -10), (6, -3), (4, -3), (1, -2), (-1, -1)], [(-1, -2), (1, -1), (4, 0), (6, 0), (6, 7)], [(5, 1), (5, 6)], [(4, 0), (4, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(3, -12), (-7, -2), (-7, 3), (2, 3)], [(4, 3), (8, 3), (9, 4), (9, 2), (8, 3)], [(-6, -2), (-6, 2)], [(-5, -4), (-5, 3)], [(2, -11), (2, 6), (0, 7)], [(3, -8), (4, -10), (3, -11), (3, 7), (5, 8)], [(3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7)], [(0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7)]]),
(-10, 10, [[(-6, -12), (-6, -3)], [(-6, -12), (6, -12)], [(-5, -11), (4, -11)], [(-6, -10), (3, -10), (5, -11), (6, -12)], [(4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3)], [(1, -4), (2, -4), (4, -3), (4, 7)], [(3, -5), (5, -4), (5, 6)], [(4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10)], [(1, -11), (3, -10)], [(0, -11), (2, -9), (4, -9), (6, -10)], [(-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5)], [(1, -3), (2, -3), (4, -2), (4, 7)], [(3, -4), (5, -2), (5, 6)], [(4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12)], [(-6, -11), (-3, -10), (2, -10), (5, -11)], [(-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12)], [(8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9)], [(0, -1), (-1, 2), (-1, 5), (0, 8)], [(3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9)]]),
(-10, 10, [[(-6, -9), (-6, -3)], [(-5, -8), (-5, -4)], [(-4, -9), (-4, -3)], [(-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12)], [(1, -10), (2, -10), (4, -9), (4, -3)], [(3, -11), (5, -10), (5, -4)], [(4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3)], [(-6, -3), (-4, -3), (4, 0), (6, 0)], [(6, -3), (4, -3), (-4, 0), (-6, 0)], [(-6, 0), (-6, 6), (-8, 7)], [(-5, 1), (-5, 6), (-2, 8)], [(-4, 0), (-4, 6), (-2, 7), (-1, 8)], [(4, 0), (4, 7)], [(5, 1), (5, 6)], [(6, 0), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, -1), (-8, 0)], [(-5, -9), (-5, 0), (-3, 1)], [(-4, -10), (-4, -1), (-2, 0), (-1, 0)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1)], [(-5, -8), (-4, -10)], [(4, -10), (5, -9), (5, -5), (4, -4)], [(-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1)], [(0, -1), (0, 2), (1, -1), (-1, -1), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-11, 11, [[(-6, -9), (-4, -11), (-2, -12), (0, -12), (1, -11), (8, 5), (9, 6), (11, 6)], [(-1, -11), (0, -10), (7, 6), (8, 8), (9, 7), (7, 6)], [(-4, -11), (-2, -11), (-1, -10), (6, 6), (7, 8), (8, 9), (9, 9), (11, 6)], [(-6, -5), (-5, -6), (-3, -7), (-2, -7), (-1, -6)], [(-2, -6), (-2, -5)], [(-5, -6), (-3, -6), (-2, -4)], [(-11, 9), (-9, 7), (-7, 6), (-4, 6), (-2, 7)], [(-8, 7), (-4, 7), (-3, 8)], [(-11, 9), (-8, 8), (-5, 8), (-4, 9), (-2, 7)], [(0, -8), (-6, 6)], [(-4, 1), (4, 1)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (6, -12), (8, -11), (9, -9), (9, -7), (7, -5), (3, -3)], [(6, -11), (8, -9), (8, -7)], [(4, -11), (6, -10), (7, -9), (7, -6), (5, -4)], [(5, -4), (8, -2), (9, 0), (9, 6)], [(7, -2), (8, 0), (8, 5)], [(5, -4), (6, -3), (7, -1), (7, 6)], [(-8, 9), (-5, 7), (-2, 6), (2, 6), (5, 7)], [(-6, 8), (-3, 7), (2, 7), (4, 8)], [(-8, 9), (-4, 8), (1, 8), (3, 9), (5, 7), (7, 6), (9, 6)], [(3, -3), (3, 6)], [(3, 0), (7, 0)], [(3, 3), (7, 3)]]),
(-13, 11, [[(-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 1), (-9, 4), (-8, 6), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3)], [(-8, -7), (-9, -4), (-9, 1), (-7, 5), (-4, 7), (-1, 8), (2, 8), (5, 7)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 0), (-7, 3), (-4, 6), (-1, 7), (2, 7), (5, 6), (7, 5), (9, 3)], [(-2, -8), (-2, 4)], [(-1, -8), (-1, 2)], [(0, -9), (0, 1), (-1, 3), (-2, 4)], [(-2, -8), (0, -9), (3, -12), (5, -11), (7, -11), (8, -12)], [(2, -11), (4, -10), (6, -10)], [(1, -10), (3, -9), (5, -9), (7, -10), (8, -12)], [(5, -9), (5, 6)]]),
(-11, 12, [[(-9, -12), (5, -12), (7, -11), (8, -9), (8, 6)], [(-7, -11), (5, -11), (7, -9), (7, 5)], [(-9, -12), (-8, -11), (-6, -10), (5, -10), (6, -9), (6, 6)], [(-3, -7), (-4, -6), (-5, -4), (-5, -3), (-7, -3), (-8, -2), (-8, 0), (-7, -1), (-5, -1), (-5, 4)], [(-4, -5), (-4, 2)], [(-7, -2), (-4, -2)], [(-3, -7), (-3, 1), (-4, 3), (-5, 4)], [(-9, 9), (-6, 7), (-3, 6), (1, 6), (4, 7)], [(-7, 8), (-4, 7), (1, 7), (3, 8)], [(-9, 9), (-5, 8), (0, 8), (2, 9), (4, 7), (6, 6), (8, 6)], [(0, -10), (0, 6)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-11, 11, [[(-9, -10), (-7, -12), (-5, -12), (-3, -11), (-1, -12)], [(-6, -11), (-4, -11)], [(-9, -10), (-7, -11), (-5, -10), (-3, -10), (-1, -12)], [(-4, -7), (-5, -6), (-6, -4), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 5)], [(-5, -5), (-5, 3)], [(-8, -2), (-5, -2)], [(-4, -7), (-4, 2), (-5, 4), (-6, 5)], [(-1, -5), (0, -8), (1, -10), (2, -11), (4, -12), (6, -12), (9, -11)], [(2, -10), (4, -11), (6, -11), (8, -10)], [(0, -8), (1, -9), (3, -10), (5, -10), (7, -9), (9, -11)], [(-1, 3), (0, 0), (1, -2), (2, -3), (4, -3), (6, -2)], [(2, -2), (4, -2), (5, -1)], [(0, 0), (1, -1), (3, -1), (4, 0), (6, -2)], [(-7, 9), (-4, 7), (0, 6), (5, 6), (9, 7)], [(-5, 8), (-2, 7), (5, 7), (8, 8)], [(-7, 9), (-3, 8), (4, 8), (7, 9), (9, 7)], [(-1, -5), (-1, 6)]]),
(-12, 11, [[(-8, -10), (-6, -12), (-3, -12), (-1, -11), (1, -12)], [(-5, -11), (-2, -11)], [(-8, -10), (-6, -11), (-4, -10), (-1, -10), (1, -12)], [(-2, -7), (-3, -6), (-4, -4), (-4, -3), (-6, -3), (-7, -2), (-7, 0), (-6, -1), (-4, -1), (-4, 4)], [(-3, -5), (-3, 2)], [(-6, -2), (-3, -2)], [(-2, -7), (-2, 1), (-3, 3), (-4, 4)], [(1, -8), (1, 7), (0, 8), (-1, 8), (-5, 6), (-7, 6), (-9, 7), (-11, 9)], [(2, -8), (2, 6)], [(2, -2), (6, -2)], [(-2, 8), (-3, 8), (-5, 7), (-8, 7)], [(3, -9), (3, -3), (6, -3)], [(6, -1), (3, -1), (3, 5), (2, 7), (-2, 9), (-4, 9), (-6, 8), (-8, 8), (-11, 9)], [(1, -8), (3, -9), (6, -12), (8, -11), (10, -11), (11, -12)], [(5, -11), (7, -10), (9, -10)], [(4, -10), (6, -9), (8, -9), (10, -10), (11, -12)], [(6, -9), (6, 5)]]),
(-13, 12, [[(-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 6), (9, 4), (9, 1), (8, -1), (7, -2), (5, -3), (3, -3)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(7, 6), (8, 5), (8, 1), (7, -1)], [(3, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (3, -3)], [(-2, -8), (-2, 5)], [(-1, -8), (-1, 3)], [(0, -9), (0, 2), (-1, 4), (-2, 5)], [(-2, -8), (0, -9), (3, -12), (5, -11), (7, -11), (8, -12)], [(2, -11), (4, -10), (6, -10)], [(1, -10), (3, -9), (5, -9), (7, -10), (8, -12)], [(7, -10), (3, -3), (3, 9)], [(3, 1), (7, 1)], [(3, 4), (7, 4)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(-8, 9), (-5, 7), (-2, 6), (1, 6), (3, 7)], [(-6, 8), (-3, 7), (0, 7), (2, 8)], [(-8, 9), (-4, 8), (-1, 8), (1, 9), (3, 7)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (2, -11), (4, -12), (6, -12), (8, -11)], [(5, -11), (6, -11), (7, -10)], [(2, -11), (4, -11), (6, -9), (8, -11)], [(3, -3), (5, -4), (7, -6), (8, -5), (9, -2), (9, 2), (8, 6), (6, 9)], [(6, -5), (7, -4), (8, -2), (8, 3), (7, 6)], [(5, -4), (6, -4), (7, -2), (7, 3), (6, 9)], [(3, -3), (3, 7)], [(3, 0), (7, 0)], [(3, 3), (7, 3)]]),
(-9, 10, [[(-6, -10), (-4, -12), (-1, -12), (2, -11), (4, -12)], [(-3, -11), (1, -11)], [(-6, -10), (-4, -11), (-1, -10), (2, -10), (4, -12)], [(1, -7), (0, -6), (-1, -4), (-1, -3), (-3, -3), (-4, -2), (-4, 0), (-3, -1), (-1, -1), (-1, 4)], [(0, -5), (0, 2)], [(-3, -2), (0, -2)], [(1, -7), (1, 1), (0, 3), (-1, 4)], [(7, -10), (5, -8), (4, -5), (4, 6), (3, 8), (1, 8), (-3, 6), (-5, 6), (-7, 7), (-9, 9)], [(5, -7), (5, 5)], [(0, 8), (-1, 8), (-3, 7), (-6, 7)], [(7, -10), (6, -8), (6, 4), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-7, 8), (-9, 9)]]),
(-10, 10, [[(-6, -10), (-4, -12), (-1, -12), (2, -11), (4, -12)], [(-3, -11), (1, -11)], [(-6, -10), (-4, -11), (-1, -10), (2, -10), (4, -12)], [(1, -7), (0, -6), (-1, -4), (-1, -3), (-3, -3), (-4, -2), (-4, 0), (-3, -1), (-1, -1), (-1, 4)], [(0, -5), (0, 2)], [(-3, -2), (0, -2)], [(1, -7), (1, 1), (0, 3), (-1, 4)], [(7, -10), (5, -8), (4, -5), (4, 6), (3, 8)], [(5, -7), (5, 5)], [(7, -10), (6, -8), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-6, 8), (-8, 6), (-8, 4), (-7, 3), (-6, 3), (-5, 4), (-6, 5), (-7, 5)], [(-8, 4), (-5, 4)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(-8, 9), (-5, 7), (-2, 6), (1, 6), (3, 7)], [(-6, 8), (-4, 7), (0, 7), (2, 8)], [(-8, 9), (-4, 8), (-1, 8), (1, 9), (3, 7)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (2, -11), (4, -12), (6, -12), (8, -11)], [(5, -11), (6, -11), (7, -10)], [(2, -11), (4, -11), (6, -9), (8, -11)], [(3, -3), (6, -6), (7, -5), (9, -4)], [(5, -5), (7, -4), (9, -4)], [(9, -4), (7, -1), (5, 1), (3, 3)], [(5, 1), (7, 2), (8, 6), (9, 8), (10, 8)], [(7, 4), (8, 8)], [(5, 1), (6, 2), (7, 8), (8, 9), (9, 9), (10, 8)], [(3, -3), (3, 7)]]),
(-11, 11, [[(-9, -10), (-7, -12), (-4, -12), (-2, -11), (0, -12)], [(-6, -11), (-3, -11)], [(-9, -10), (-7, -11), (-5, -10), (-2, -10), (0, -12)], [(-4, -7), (-5, -6), (-6, -4), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 5)], [(-5, -5), (-5, 3)], [(-8, -2), (-5, -2)], [(-4, -7), (-4, 2), (-5, 4), (-6, 5)], [(-7, 9), (-4, 7), (0, 6), (5, 6), (9, 7)], [(-5, 8), (-2, 7), (5, 7), (8, 8)], [(-7, 9), (-3, 8), (4, 8), (7, 9), (9, 7)], [(1, -9), (0, -8), (-1, -6), (-1, 3)], [(0, -7), (0, 1)], [(1, -9), (1, 0), (0, 2), (-1, 3)], [(1, -9), (3, -11), (5, -12), (7, -12), (9, -11)], [(6, -11), (7, -11), (8, -10)], [(3, -11), (5, -11), (7, -9), (9, -11)], [(5, -11), (5, 6)]]),
(-14, 14, [[(-6, -8), (-7, -7), (-8, -5), (-8, -3), (-10, -3), (-11, -2), (-11, 0), (-10, -1), (-8, -1), (-8, 3)], [(-7, -6), (-7, 1)], [(-10, -2), (-7, -2)], [(-6, -8), (-6, 0), (-7, 2), (-8, 3)], [(-13, 9), (-11, 7), (-9, 6), (-7, 6), (-5, 7), (-4, 7), (-3, 6)], [(-10, 7), (-7, 7), (-5, 8)], [(-13, 9), (-11, 8), (-8, 8), (-6, 9), (-5, 9), (-4, 8), (-3, 6)], [(-6, -8), (-2, -12), (2, -8), (2, 5), (3, 7), (4, 7)], [(-2, -11), (1, -8), (1, 6), (0, 7), (1, 8), (2, 7), (1, 6)], [(-2, -2), (1, -2)], [(-4, -10), (-3, -10), (0, -7), (0, -3), (-3, -3)], [(-3, -1), (0, -1), (0, 6), (-1, 7), (1, 9), (4, 7), (5, 6)], [(2, -8), (6, -12), (10, -8), (10, 5), (11, 7), (12, 7)], [(6, -11), (9, -8), (9, 6), (11, 8)], [(6, -2), (9, -2)], [(4, -10), (5, -10), (8, -7), (8, -3), (5, -3)], [(5, -1), (8, -1), (8, 7), (10, 9), (12, 7)], [(-3, -10), (-3, 6)], [(5, -10), (5, 6)]]),
(-13, 12, [[(-11, -9), (-9, -11), (-7, -12), (-5, -12), (-3, -11), (-1, -8), (4, 3), (6, 6), (7, 7)], [(-5, -11), (-3, -9), (-2, -7), (4, 5), (7, 8)], [(-9, -11), (-7, -11), (-5, -10), (-3, -7), (2, 4), (4, 7), (5, 8), (7, 9)], [(4, -10), (6, -9), (8, -9), (10, -10), (11, -12)], [(5, -11), (7, -10), (9, -10)], [(4, -10), (6, -12), (8, -11), (10, -11), (11, -12)], [(-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1)], [(-9, -2), (-7, -2)], [(-11, 9), (-9, 7), (-7, 6), (-4, 6), (-2, 7)], [(-8, 7), (-5, 7), (-3, 8)], [(-11, 9), (-8, 8), (-5, 8), (-4, 9), (-2, 7)], [(-7, -11), (-7, 6)], [(7, -9), (7, 9)], [(0, -6), (1, -5), (3, -4), (5, -4), (7, -5)], [(-7, 2), (-5, 1), (-1, 1), (1, 2)]]),
(-13, 13, [[(-4, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -4), (9, -7), (8, -9), (6, -11), (4, -12), (3, -11), (0, -9), (-3, -8)], [(-8, -8), (-9, -5), (-9, 1), (-8, 4)], [(-4, -12), (-6, -10), (-7, -8), (-8, -5), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -5), (7, -9), (6, -10)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -5), (7, -7), (5, -10), (3, -11)], [(-3, -8), (-3, 5)], [(-2, -8), (-2, 3)], [(-1, -8), (-1, 2), (-2, 4), (-3, 5)], [(3, -11), (3, 8)], [(3, -5), (5, -4), (6, -4), (8, -5)], [(3, 1), (5, 0), (6, 0), (8, 1)]]),
(-10, 12, [[(-7, -12), (-6, -11), (-5, -9), (-5, -3), (-7, -3), (-8, -2), (-8, 0), (-7, -1), (-5, -1), (-5, 7), (-8, 9), (-5, 8), (-5, 16), (-3, 14)], [(-5, -10), (-4, -8), (-4, 14)], [(-7, -2), (-4, -2)], [(-7, -12), (-5, -11), (-4, -10), (-3, -8), (-3, 14)], [(-3, -7), (0, -9), (4, -12), (8, -8), (8, 6)], [(4, -11), (7, -8), (7, 6)], [(2, -10), (3, -10), (6, -7), (6, 7)], [(0, 6), (3, 6), (6, 7)], [(1, 7), (3, 7), (5, 8)], [(0, 8), (2, 8), (4, 9), (6, 7), (8, 6)], [(0, -9), (0, 13)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-13, 13, [[(-4, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -4), (9, -7), (8, -9), (6, -11), (4, -12), (3, -11), (0, -9), (-3, -8)], [(-8, -8), (-9, -5), (-9, 1), (-8, 4)], [(-4, -12), (-6, -10), (-7, -8), (-8, -5), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -5), (7, -9), (6, -10)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -5), (7, -7), (5, -10), (3, -11)], [(-3, -8), (-3, 5)], [(-2, -8), (-2, 3)], [(-1, -8), (-1, 2), (-2, 4), (-3, 5)], [(3, -11), (3, 8)], [(3, -5), (5, -4), (6, -4), (8, -5)], [(3, 1), (5, 0), (6, 0), (8, 1)], [(-2, 9), (-1, 8), (0, 8), (2, 9), (6, 14), (8, 15), (9, 15)], [(2, 10), (4, 13), (6, 15), (7, 15)], [(0, 8), (1, 9), (4, 15), (6, 16), (8, 16), (9, 15)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(-8, 9), (-5, 7), (-2, 6), (0, 6), (3, 7)], [(-6, 8), (-4, 7), (0, 7), (2, 8)], [(-8, 9), (-4, 8), (-1, 8), (1, 9), (3, 7)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (3, -11), (5, -12), (7, -11), (8, -9), (8, -6), (7, -4), (6, -3), (2, -1), (0, 0)], [(5, -11), (6, -11), (7, -9), (7, -5), (6, -4)], [(3, -11), (5, -10), (6, -8), (6, -5), (5, -3), (2, -1)], [(2, -1), (4, 0), (5, 1), (8, 6), (9, 7), (10, 7)], [(5, 2), (7, 6), (9, 8)], [(2, -1), (4, 1), (6, 7), (8, 9), (10, 7)]]),
(-11, 12, [[(3, -9), (2, -10), (0, -11), (-3, -12)], [(4, -10), (2, -11)], [(5, -11), (1, -12), (-3, -12), (-6, -11), (-7, -10), (-8, -8), (-7, -6), (-6, -5), (-3, -4), (5, -4), (7, -3), (8, -2), (8, 0), (7, 3)], [(-7, -7), (-6, -6), (-3, -5), (6, -5), (8, -4), (9, -3), (9, -1), (8, 1)], [(-7, -10), (-7, -8), (-6, -7), (-3, -6), (7, -6), (9, -5), (10, -3), (10, -1), (7, 3), (3, 9)], [(-9, -3), (-8, -2), (-6, -1), (3, -1), (4, 0), (4, 1), (3, 3)], [(-8, -1), (-6, 0), (2, 0), (3, 1)], [(-9, -3), (-9, -2), (-8, 0), (-6, 1), (1, 1), (3, 2), (3, 3)], [(-9, 9), (-6, 7), (-2, 6), (1, 6), (4, 7)], [(-7, 8), (-4, 7), (0, 7), (3, 8)], [(-9, 9), (-5, 8), (0, 8), (3, 9)], [(5, -11), (3, -9), (1, -6)], [(0, -4), (-2, -1)], [(-3, 1), (-5, 3), (-7, 4), (-8, 4), (-8, 3), (-7, 4)]]),
(-13, 11, [[(-8, -8), (-9, -6), (-10, -3), (-10, 1), (-9, 4), (-7, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3)], [(-9, 1), (-8, 4), (-6, 6), (-4, 7), (-1, 8), (2, 8), (5, 7)], [(-8, -8), (-9, -5), (-9, -1), (-8, 2), (-6, 5), (-4, 6), (-1, 7), (2, 7), (5, 6), (7, 5), (9, 3)], [(-10, -9), (-9, -11), (-7, -12), (-3, -12), (3, -11), (7, -11), (9, -12)], [(-2, -11), (2, -10), (6, -10)], [(-10, -9), (-9, -10), (-7, -11), (-4, -11), (2, -9), (5, -9), (7, -10), (9, -12)], [(1, -9), (0, -8), (-2, -7), (-2, 4)], [(-1, -7), (-1, 2)], [(0, -8), (0, 1), (-1, 3), (-2, 4)], [(5, -9), (5, 6)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-6, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-5, -10), (-3, -10), (-1, -12)], [(-7, -8), (-8, -6), (-9, -3), (-9, 1), (-8, 4), (-7, 6), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 9), (10, 7)], [(-8, 1), (-7, 4), (-4, 7), (-1, 8), (2, 8)], [(-7, -8), (-8, -4), (-8, -1), (-7, 2), (-6, 4), (-4, 6), (-1, 7), (3, 7), (6, 6)], [(3, -9), (-1, -8), (-2, -6), (-2, 4)], [(-1, -7), (-1, 2)], [(0, -8), (0, 1), (-1, 3), (-2, 4)], [(3, -9), (5, -10), (7, -12), (8, -11), (10, -10), (8, -9), (8, 5), (9, 7), (10, 7)], [(7, -9), (8, -10), (7, -11), (6, -10), (7, -9), (7, 6), (9, 8)], [(5, -10), (6, -9), (6, 6)], [(3, -9), (3, 7)], [(3, -4), (6, -4)], [(3, 0), (6, 0)]]),
(-11, 12, [[(-8, -12), (-7, -11), (-6, -9), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 6), (-8, 7)], [(-6, -10), (-5, -8), (-5, 6)], [(-8, -2), (-5, -2)], [(-4, 7), (-1, 7), (1, 8)], [(-8, -12), (-6, -11), (-5, -10), (-4, -8), (-4, 6), (0, 6), (3, 7)], [(-8, 7), (-5, 7), (-2, 8), (0, 9), (3, 7), (6, 6), (8, 6)], [(0, -8), (3, -9), (5, -10), (7, -12), (8, -11), (10, -10), (8, -9), (8, 6)], [(7, -9), (8, -10), (7, -11), (6, -10), (7, -9), (7, 5)], [(5, -10), (6, -9), (6, 6)], [(0, -8), (0, 6)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-13, 14, [[(-10, -12), (-9, -11), (-8, -9), (-8, -3), (-10, -3), (-11, -2), (-11, 0), (-10, -1), (-8, -1), (-8, 6), (-10, 7)], [(-8, -10), (-7, -8), (-7, 6)], [(-10, -2), (-7, -2)], [(-6, 7), (-4, 7), (-2, 8)], [(-10, -12), (-8, -11), (-7, -10), (-6, -8), (-6, 6), (-3, 6), (-1, 7)], [(-10, 7), (-7, 7), (-4, 8), (-3, 9), (-1, 7), (2, 6), (4, 7), (5, 9), (7, 7), (10, 6)], [(-3, -10), (0, -12), (2, -10), (2, 6), (5, 6), (7, 7)], [(0, -11), (1, -10), (1, 6)], [(-3, -10), (-1, -10), (0, -9), (0, 6), (-1, 7)], [(5, 7), (6, 8)], [(5, -10), (8, -12), (10, -10), (10, 6)], [(8, -11), (9, -10), (9, 6)], [(5, -10), (7, -10), (8, -9), (8, 6), (7, 7)], [(-3, -10), (-3, 6)], [(5, -10), (5, 6)], [(-3, -4), (0, -4)], [(-3, 0), (0, 0)], [(5, -4), (8, -4)], [(5, 0), (8, 0)]]),
(-11, 11, [[(-10, -9), (-8, -11), (-6, -12), (-4, -12), (-3, -11), (5, 7), (6, 8), (8, 8)], [(-5, -11), (-4, -10), (4, 7), (5, 8)], [(-8, -11), (-6, -11), (-5, -10), (3, 8), (4, 9), (6, 9), (8, 8), (10, 6)], [(5, -12), (7, -11), (9, -11), (10, -12)], [(5, -11), (6, -10), (8, -10)], [(4, -10), (5, -9), (7, -9), (9, -10), (10, -12)], [(-10, 9), (-9, 7), (-7, 6), (-5, 6), (-4, 7)], [(-8, 7), (-6, 7), (-5, 8)], [(-10, 9), (-9, 8), (-7, 8), (-5, 9)], [(5, -12), (1, -3)], [(-1, 0), (-5, 9)], [(-6, -2), (-2, -2)], [(1, -2), (6, -2)]]),
(-11, 12, [[(-8, -12), (-7, -11), (-6, -9), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 6), (-8, 7)], [(-6, -10), (-5, -8), (-5, 6)], [(-8, -2), (-5, -2)], [(-4, 7), (-1, 7), (1, 8)], [(-8, -12), (-6, -11), (-5, -10), (-4, -8), (-4, 6), (0, 6), (3, 7)], [(-8, 7), (-5, 7), (-2, 8), (0, 9), (3, 7), (6, 6)], [(0, -8), (3, -9), (5, -10), (7, -12), (8, -11), (10, -10), (8, -9), (8, 12), (7, 14), (5, 16), (3, 15), (-1, 14), (-6, 14)], [(7, -9), (8, -10), (7, -11), (6, -10), (7, -9), (7, 7)], [(5, -10), (6, -9), (6, 6), (8, 9)], [(6, 15), (4, 14), (1, 14)], [(7, 14), (4, 13), (-2, 13), (-6, 14)], [(0, -8), (0, 6)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-10, 10, [[(6, -11), (5, -9), (0, -3), (-3, 1), (-5, 5), (-8, 9)], [(4, -7), (-4, 4)], [(8, -12), (5, -8), (3, -4), (0, 0), (-5, 6), (-6, 8)], [(-8, -10), (-6, -12), (-3, -11), (3, -11), (8, -12)], [(-7, -11), (-3, -10), (1, -10), (5, -11)], [(-8, -10), (-4, -9), (0, -9), (4, -10), (6, -11)], [(-6, 8), (-4, 7), (0, 6), (4, 6), (8, 7)], [(-5, 8), (-1, 7), (3, 7), (7, 8)], [(-8, 9), (-3, 8), (3, 8), (6, 9), (8, 7)], [(-5, -2), (-1, -2)], [(2, -2), (6, -2)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-6, 6, [[(2, -12), (0, -11), (-1, -9), (-1, -7), (0, -5), (2, -7), (0, -9), (0, -11)], [(0, -8), (0, -6), (1, -7), (0, -8)]]),
(-8, 9, [[(-2, 0), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (0, 7), (3, 6)], [(-5, 4), (-4, 6), (-3, 7), (-1, 8)], [(-4, 2), (-4, 4), (-3, 6), (-1, 7), (0, 7)], [(-4, -2), (-2, -2), (1, -3), (3, -4), (4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(-3, -4), (-4, -3), (-1, -3)], [(2, -3), (5, -3), (4, -4), (4, 7), (5, 8)], [(-5, -3), (-3, -5), (-2, -4), (0, -3), (3, -2), (3, 7), (5, 9), (7, 7)], [(-5, -3), (0, 2)]]),
(-9, 9, [[(-6, -10), (-5, -8), (-5, 6), (-7, 7)], [(-4, -8), (-5, -10), (-4, -11), (-4, 6), (-1, 8)], [(-6, -10), (-3, -12), (-3, 6), (-1, 7), (0, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 7)], [(2, -4), (4, -3), (4, 6)], [(0, -3), (1, -3), (3, -2), (3, 7)]]),
(-8, 6, [[(-4, -3), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-3, -3), (-3, 7), (-1, 8)], [(-2, -3), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-4, -3), (0, -4), (2, -5), (3, -4), (5, -3), (6, -3)], [(1, -4), (2, -3), (4, -3)], [(-2, -3), (0, -4), (2, -2), (4, -2), (6, -3)]]),
(-9, 8, [[(0, -5), (-2, -4), (-5, -3), (-5, 6), (-7, 7)], [(-4, -3), (-4, 6), (-1, 8)], [(0, -5), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-5, -10), (-2, -12), (-1, -9), (5, -3), (5, 7)], [(-2, -9), (-4, -10), (-3, -11), (-2, -9), (4, -3), (4, 6)], [(-5, -10), (3, -2), (3, 7)]]),
(-8, 6, [[(-4, -3), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-3, -3), (-3, 7), (-1, 8)], [(-2, -3), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-4, -3), (0, -4), (2, -5), (5, -1), (3, 0), (-2, 3)], [(1, -4), (4, -1)], [(-2, -3), (0, -4), (3, 0)]]),
(-8, 5, [[(-4, -10), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-3, -10), (-3, 7), (-1, 8)], [(-2, -10), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-4, -10), (-1, -11), (1, -12), (2, -11), (4, -10), (5, -10)], [(0, -11), (1, -10), (3, -10)], [(-2, -10), (-1, -11), (1, -9), (3, -9), (5, -10)], [(-7, -5), (-4, -5)], [(-2, -5), (2, -5)]]),
(-9, 9, [[(-5, -3), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(-4, -2), (-4, 7), (-2, 8)], [(-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-5, -3), (-3, -3), (0, -4), (2, -5), (3, -4), (5, -3), (7, -3), (5, -2), (5, 10), (4, 13), (2, 15), (0, 16), (-1, 15), (-3, 14), (-5, 14)], [(1, -4), (4, -2), (4, 10)], [(1, 15), (-1, 14), (-2, 14)], [(0, -4), (1, -3), (3, -2), (3, 8), (4, 11), (4, 13)], [(2, 15), (1, 14), (-1, 13), (-3, 13), (-5, 14)]]),
(-9, 9, [[(-6, -10), (-5, -8), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9)], [(-4, -8), (-5, -10), (-4, -11), (-4, 7), (-2, 8)], [(-6, -10), (-3, -12), (-3, 6), (-1, 7), (-3, 9)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 7), (3, 9), (2, 11)], [(2, -4), (4, -3), (4, 7), (3, 9)], [(0, -3), (1, -3), (3, -2), (3, 7), (2, 11), (2, 14), (3, 16), (4, 16), (2, 14)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -9), (2, -10), (0, -12)], [(0, -11), (-1, -10), (1, -10), (0, -11)], [(0, -5), (-1, -4), (-3, -3), (-1, -2), (-1, 7), (1, 9), (3, 7)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 7), (1, 8)], [(0, -5), (1, -4), (3, -3), (1, -2), (1, 6), (2, 7), (3, 7)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -9), (2, -10), (0, -12)], [(0, -11), (-1, -10), (1, -10), (0, -11)], [(0, -5), (-1, -4), (-3, -3), (-1, -2), (-1, 7), (1, 9), (2, 11)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 7), (1, 9)], [(0, -5), (1, -4), (3, -3), (1, -2), (1, 7), (2, 11), (2, 14), (0, 16), (-2, 16), (-2, 15), (0, 16)]]),
(-9, 8, [[(-6, -10), (-5, -8), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9)], [(-4, -8), (-5, -10), (-4, -11), (-4, 7), (-2, 8)], [(-6, -10), (-3, -12), (-3, 6), (-1, 7), (-3, 9)], [(-3, -2), (0, -4), (2, -5), (4, -2), (1, 0), (-3, 3)], [(1, -4), (3, -2)], [(0, -4), (2, -1)], [(1, 0), (2, 1), (4, 6), (5, 7), (6, 7)], [(1, 1), (2, 2), (3, 7), (4, 8)], [(0, 1), (1, 2), (2, 7), (4, 9), (6, 7)]]),
(-5, 5, [[(-2, -10), (-1, -8), (-1, 6), (-3, 7), (-2, 7), (0, 8), (1, 9)], [(0, -8), (-1, -10), (0, -11), (0, 7), (2, 8)], [(-2, -10), (1, -12), (1, 6), (3, 7), (4, 7), (2, 8), (1, 9)]]),
(-13, 13, [[(-11, -3), (-10, -3), (-9, -2), (-9, 6), (-11, 7), (-10, 7), (-8, 8), (-7, 9)], [(-9, -4), (-8, -3), (-8, 7), (-6, 8)], [(-11, -3), (-9, -5), (-7, -3), (-7, 6), (-5, 7), (-7, 9)], [(-7, -2), (-4, -3), (-2, -4), (-1, -5), (1, -3), (1, 6), (3, 7), (1, 9)], [(-2, -4), (0, -3), (0, 7), (2, 8)], [(-4, -3), (-3, -3), (-1, -2), (-1, 6), (-2, 7), (0, 8), (1, 9)], [(1, -2), (4, -3), (6, -4), (7, -5), (8, -4), (10, -3), (11, -3), (9, -2), (9, 6), (10, 7), (11, 7)], [(6, -4), (8, -3), (8, 7), (9, 8)], [(4, -3), (5, -3), (7, -2), (7, 7), (9, 9), (11, 7)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9)], [(-5, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (-3, 9)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(2, -4), (4, -3), (4, 7), (5, 8)], [(0, -3), (1, -3), (3, -2), (3, 7), (5, 9), (7, 7)]]),
(-9, 9, [[(-5, -3), (-5, 6), (-7, 7)], [(-4, -2), (-4, 6), (-1, 8)], [(-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-5, -3), (-3, -3), (0, -4), (2, -5), (3, -4), (5, -3), (7, -3), (5, -2), (5, 7)], [(1, -4), (4, -2), (4, 6)], [(0, -4), (1, -3), (3, -2), (3, 7)]]),
(-9, 9, [[(-6, -5), (-5, -3), (-5, 6), (-7, 7), (-5, 7), (-5, 16)], [(-5, -4), (-4, -3), (-4, 15), (-3, 14), (-4, 12)], [(-4, 7), (-3, 7), (-1, 8)], [(-6, -5), (-4, -4), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-3, 8), (-3, 12), (-2, 14), (-5, 16)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 7)], [(2, -4), (4, -3), (4, 6)], [(0, -3), (1, -3), (3, -2), (3, 7)]]),
(-9, 9, [[(-5, -3), (-5, 6), (-7, 7)], [(-4, -2), (-4, 7), (-2, 8)], [(-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(-5, -3), (-3, -3), (0, -4), (2, -5), (3, -4), (5, -3), (7, -3), (5, -2), (5, 16)], [(1, -4), (4, -2), (4, 15), (3, 14), (4, 12)], [(0, -4), (1, -3), (3, -2), (3, 12), (2, 14), (5, 16)]]),
(-8, 6, [[(-6, -3), (-5, -3), (-4, -2), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-5, -4), (-3, -3), (-3, 7), (-1, 8)], [(-6, -3), (-4, -5), (-2, -3), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-2, -3), (2, -5), (3, -4), (5, -3), (6, -3)], [(1, -4), (2, -3), (4, -3)], [(0, -4), (2, -2), (4, -2), (6, -3)]]),
(-8, 8, [[(-5, -3), (-5, 1), (-3, 2), (3, 2), (5, 3), (5, 7)], [(-4, -3), (-4, 1)], [(4, 3), (4, 7)], [(-2, -4), (-3, -3), (-3, 1), (-1, 2)], [(1, 2), (3, 3), (3, 7), (2, 8)], [(-5, -3), (-2, -4), (0, -5), (2, -4), (4, -4), (5, -5)], [(-1, -4), (1, -4)], [(-2, -4), (0, -3), (2, -3), (4, -4)], [(5, 7), (2, 8), (0, 9), (-2, 8), (-4, 8), (-6, 9)], [(1, 8), (-1, 8)], [(2, 8), (0, 7), (-3, 7), (-6, 9)], [(5, -5), (4, -3), (2, 0), (-3, 5), (-6, 9)]]),
(-5, 5, [[(-2, -10), (-1, -8), (-1, 6), (-3, 7), (-2, 7), (0, 8), (1, 9)], [(0, -8), (-1, -10), (0, -11), (0, 7), (2, 8)], [(-2, -10), (1, -12), (1, 6), (3, 7), (4, 7), (2, 8), (1, 9)], [(-4, -5), (-1, -5)], [(1, -5), (4, -5)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-7, 7)], [(-6, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(2, -4), (4, -3), (4, 7), (5, 8)], [(3, -5), (1, -3), (3, -2), (3, 7), (5, 9), (7, 7)]]),
(-9, 9, [[(-6, -5), (-5, -3), (-5, 6), (-2, 9), (0, 7), (3, 6), (5, 6)], [(-5, -4), (-4, -3), (-4, 6), (-1, 8)], [(-6, -5), (-4, -4), (-3, -3), (-3, 5), (-2, 6), (0, 7)], [(3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 6)], [(2, -4), (4, -3), (4, 5)], [(3, -5), (1, -3), (3, -2), (3, 6)]]),
(-13, 13, [[(-10, -5), (-9, -3), (-9, 6), (-6, 9), (-4, 7), (-1, 6)], [(-9, -4), (-8, -3), (-8, 6), (-5, 8)], [(-10, -5), (-8, -4), (-7, -3), (-7, 5), (-6, 6), (-4, 7)], [(-1, -5), (-3, -3), (-1, -2), (-1, 6), (2, 9), (4, 7), (7, 6), (9, 6)], [(-2, -4), (0, -3), (0, 6), (3, 8)], [(-1, -5), (0, -4), (2, -3), (1, -2), (1, 5), (2, 6), (4, 7)], [(7, -5), (8, -4), (10, -3), (11, -3), (9, -2), (9, 6)], [(6, -4), (8, -3), (8, 5)], [(7, -5), (5, -3), (7, -2), (7, 6)]]),
(-10, 9, [[(-7, -3), (-6, -3), (-4, -2), (-3, -1), (1, 7), (2, 8), (4, 9), (6, 7)], [(-5, -4), (-3, -3), (2, 7), (4, 8)], [(-7, -3), (-5, -5), (-3, -4), (-2, -3), (2, 5), (3, 6), (5, 7), (6, 7)], [(0, 1), (3, -5), (4, -4), (6, -4), (7, -5)], [(3, -4), (4, -3), (5, -3)], [(2, -3), (4, -2), (6, -3), (7, -5)], [(-1, 3), (-4, 9), (-5, 8), (-7, 8), (-8, 9)], [(-4, 8), (-5, 7), (-6, 7)], [(-3, 7), (-5, 6), (-7, 7), (-8, 9)], [(-5, 2), (-2, 2)], [(1, 2), (4, 2)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-7, 7)], [(-6, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 10), (4, 13), (2, 15), (0, 16), (-1, 15), (-3, 14), (-5, 14)], [(2, -4), (4, -3), (4, 10)], [(1, 15), (-1, 14), (-2, 14)], [(3, -5), (1, -3), (3, -2), (3, 8), (4, 11), (4, 13)], [(2, 15), (1, 14), (-1, 13), (-3, 13), (-5, 14)]]),
(-9, 9, [[(6, -5), (-6, 9)], [(-6, -3), (-4, -2), (-1, -2), (2, -3), (6, -5)], [(-5, -4), (-3, -3), (1, -3)], [(-6, -3), (-4, -5), (-2, -4), (2, -4), (6, -5)], [(-6, 9), (-2, 7), (1, 6), (4, 6), (6, 7)], [(-1, 7), (3, 7), (5, 8)], [(-6, 9), (-2, 8), (2, 8), (4, 9), (6, 7)], [(-4, 2), (4, 2)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)], [(-1, -12), (-4, -9), (-3, -5), (1, -4), (4, -7), (3, -11), (-1, -12)], [(1, -12), (-3, -11), (-4, -7), (-1, -4), (3, -5), (4, -9), (1, -12)]]),
]
GOTHGRT = [
(-8, 8, [[]]),
(-6, 6, [[(0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2)], [(0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2)], [(0, -12), (1, -11), (3, -10), (1, -9), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(6, -8), (5, -10)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, 7), (-6, 5)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(7, -4), (8, -3), (9, -3), (10, -4)], [(6, -3), (7, -2), (9, -2)], [(6, -2), (7, -1), (8, -1), (9, -2), (10, -4)], [(7, -4), (1, 2)], [(0, 3), (-6, 9), (-10, 4), (-4, -2)], [(-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-6, 8), (-9, 4)], [(0, -7), (-3, -11)], [(-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8)], [(-5, 8), (-9, 3)], [(0, -6), (-4, -11)], [(-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6)]]),
(-6, 6, [[(0, -6), (0, -8), (-2, -10), (0, -12), (1, -10), (1, -8), (0, -6), (-2, -5)], [(0, -11), (-1, -10), (0, -9), (0, -11)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 13, [[(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7)], [(-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8)], [(-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7)], [(-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7)]]),
(-10, 10, [[(-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10)], [(-2, -10), (0, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11)], [(4, -10), (4, -2)], [(5, -9), (5, -3)], [(6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9)], [(-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7)], [(-4, 8), (-1, 7), (4, 7), (7, 8)], [(-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7)]]),
(-10, 10, [[(-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10)], [(-3, -10), (-1, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -11)], [(4, -10), (4, -3)], [(5, -9), (5, -4)], [(6, -10), (6, -3), (4, -3), (1, -2), (-1, -1)], [(-1, -2), (1, -1), (4, 0), (6, 0), (6, 7)], [(5, 1), (5, 6)], [(4, 0), (4, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(3, -12), (-7, -2), (-7, 3), (2, 3)], [(4, 3), (8, 3), (9, 4), (9, 2), (8, 3)], [(-6, -2), (-6, 2)], [(-5, -4), (-5, 3)], [(2, -11), (2, 6), (0, 7)], [(3, -8), (4, -10), (3, -11), (3, 7), (5, 8)], [(3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7)], [(0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7)]]),
(-10, 10, [[(-6, -12), (-6, -3)], [(-6, -12), (6, -12)], [(-5, -11), (4, -11)], [(-6, -10), (3, -10), (5, -11), (6, -12)], [(4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3)], [(1, -4), (2, -4), (4, -3), (4, 7)], [(3, -5), (5, -4), (5, 6)], [(4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10)], [(1, -11), (3, -10)], [(0, -11), (2, -9), (4, -9), (6, -10)], [(-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5)], [(1, -3), (2, -3), (4, -2), (4, 7)], [(3, -4), (5, -2), (5, 6)], [(4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12)], [(-6, -11), (-3, -10), (2, -10), (5, -11)], [(-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12)], [(8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9)], [(0, -1), (-1, 2), (-1, 5), (0, 8)], [(3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9)]]),
(-10, 10, [[(-6, -9), (-6, -3)], [(-5, -8), (-5, -4)], [(-4, -9), (-4, -3)], [(-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12)], [(1, -10), (2, -10), (4, -9), (4, -3)], [(3, -11), (5, -10), (5, -4)], [(4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3)], [(-6, -3), (-4, -3), (4, 0), (6, 0)], [(6, -3), (4, -3), (-4, 0), (-6, 0)], [(-6, 0), (-6, 6), (-8, 7)], [(-5, 1), (-5, 6), (-2, 8)], [(-4, 0), (-4, 6), (-2, 7), (-1, 8)], [(4, 0), (4, 7)], [(5, 1), (5, 6)], [(6, 0), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, -1), (-8, 0)], [(-5, -9), (-5, 0), (-3, 1)], [(-4, -10), (-4, -1), (-2, 0), (-1, 0)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1)], [(-5, -8), (-4, -10)], [(4, -10), (5, -9), (5, -5), (4, -4)], [(-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1)], [(0, -1), (0, 2), (1, -1), (-1, -1), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-12, 12, [[(-9, -10), (-8, -9), (-9, -8), (-10, -9), (-9, -11), (-7, -12), (-5, -12), (-3, -11), (-2, -10), (-1, -7), (-1, -3), (-2, 0), (-4, 2), (-6, 3), (-9, 4)], [(-3, -10), (-2, -7), (-2, -2), (-3, 0)], [(-5, -12), (-4, -11), (-3, -8), (-3, -2), (-4, 1), (-6, 3)], [(-6, 4), (-3, 7)], [(-7, 4), (-3, 8)], [(-9, 4), (-4, 9), (3, 4)], [(10, -11), (9, -10), (10, -10), (10, -11), (9, -12), (7, -12), (5, -11), (4, -10), (3, -8), (3, 7), (5, 9), (9, 5)], [(5, -10), (4, -8), (4, 6), (6, 8)], [(7, -12), (6, -11), (5, -8), (5, 5), (7, 7)]]),
(-13, 13, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 0), (-1, 3), (-3, 5)], [(-2, -10), (-1, -8), (-1, 2)], [(-4, -12), (-3, -11), (-2, -8), (-2, 3), (-3, 5)], [(0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(10, -7), (0, -2)], [(7, -5), (9, -3), (10, 0), (10, 3), (9, 6), (7, 8), (4, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6)], [(6, -4), (7, -4), (9, -2)], [(4, -4), (7, -3), (9, -1), (10, 1)], [(2, 8), (0, 8), (-6, 5), (-7, 5)], [(8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7)]]),
(-12, 12, [[(0, -10), (-2, -12), (-4, -12), (-6, -11), (-8, -8), (-9, -4), (-9, 0), (-8, 4), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5)], [(-6, -10), (-7, -8), (-8, -5), (-8, 0), (-7, 4), (-5, 7), (-2, 8)], [(-4, -12), (-5, -11), (-6, -9), (-7, -5), (-7, -1), (-6, 3), (-5, 5), (-3, 7), (0, 8), (3, 8), (6, 7), (9, 5)], [(3, -12), (0, -10), (-1, -9), (-2, -7), (-2, -6), (-1, -4), (2, -2), (3, 0), (3, 2)], [(-1, -7), (-1, -6), (3, -2), (3, -1)], [(-1, -9), (-1, -8), (0, -6), (3, -4), (4, -2), (4, 0), (3, 2), (1, 3), (0, 3), (-2, 2), (-3, 0)], [(3, -12), (4, -11), (6, -10), (8, -10)], [(3, -11), (4, -10), (5, -10)], [(2, -11), (4, -9), (6, -9), (8, -10), (9, -11)]]),
(-13, 13, [[(-10, -6), (-10, -7), (-9, -9), (-7, -11), (-4, -12), (0, -12), (3, -11), (5, -10), (7, -8), (9, -5), (10, -1), (10, 3), (9, 6), (7, 8), (4, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6)], [(-7, -10), (-5, -11), (0, -11), (3, -10), (5, -9), (7, -7), (9, -4)], [(2, 8), (0, 8), (-6, 5), (-7, 5)], [(-10, -7), (-8, -9), (-5, -10), (0, -10), (3, -9), (5, -8), (7, -6), (9, -3), (10, 0)], [(8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7)], [(-2, -10), (-5, -7), (-6, -5), (-6, -3), (-4, 1), (-4, 3)], [(-5, -4), (-5, -3), (-4, -1), (-4, 0)], [(-5, -7), (-5, -5), (-3, -1), (-3, 1), (-4, 3), (-5, 4), (-7, 4), (-8, 3), (-8, 2)]]),
(-12, 12, [[(0, -10), (-2, -12), (-4, -12), (-6, -11), (-8, -8), (-9, -4), (-9, 0), (-8, 4), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5)], [(-6, -10), (-7, -8), (-8, -5), (-8, 0), (-7, 4), (-5, 7), (-2, 8)], [(-4, -12), (-5, -11), (-6, -9), (-7, -5), (-7, -1), (-6, 3), (-5, 5), (-3, 7), (0, 8), (3, 8), (6, 7), (9, 5)], [(3, -12), (0, -10), (-1, -9), (-2, -7), (-2, -6), (-1, -4), (2, -2), (3, 0), (3, 2)], [(-1, -7), (-1, -6), (3, -2), (3, -1)], [(-1, -9), (-1, -8), (0, -6), (3, -4), (4, -2), (4, 0), (3, 2), (1, 3), (0, 3), (-2, 2), (-3, 0)], [(3, -12), (4, -11), (6, -10), (8, -10)], [(3, -11), (4, -10), (5, -10)], [(2, -11), (4, -9), (6, -9), (8, -10), (9, -11)], [(3, -4), (7, -7)], [(7, -7), (8, -6), (10, -6)], [(6, -6), (7, -5), (8, -5)], [(5, -5), (6, -4), (8, -4), (10, -6)]]),
(-12, 12, [[(-5, -4), (-7, -5), (-8, -7), (-8, -9), (-7, -11), (-4, -12), (-1, -12), (2, -11), (6, -9)], [(-7, -10), (-5, -11), (0, -11), (3, -10)], [(-8, -7), (-7, -9), (-5, -10), (0, -10), (6, -9), (8, -9), (9, -10), (9, -11), (8, -12), (7, -12)], [(1, -10), (0, -9), (-1, -7), (-1, -5), (0, -3), (4, 1), (5, 4), (5, 7), (4, 10), (3, 11), (1, 12)], [(2, -2), (5, 1), (6, 4), (6, 7), (5, 9)], [(-1, -5), (1, -3), (4, -1), (6, 1), (7, 4), (7, 7), (6, 9), (4, 11), (1, 12), (-3, 12), (-6, 11), (-7, 10), (-8, 8), (-8, 5), (-6, 2), (-6, 0), (-7, -1)], [(-6, 10), (-7, 9), (-7, 5), (-6, 3)], [(-3, 12), (-5, 11), (-6, 9), (-6, 5), (-5, 2), (-5, 0), (-6, -1), (-8, -1), (-9, 0), (-9, 1)], [(3, -2), (7, -6)], [(7, -6), (8, -5), (10, -5)], [(6, -5), (7, -4), (8, -4)], [(5, -4), (6, -3), (8, -3), (10, -5)]]),
(-13, 13, [[(3, -8), (2, -10), (1, -11), (-1, -12), (-4, -12), (-7, -11), (-9, -8), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5), (10, 2), (10, -1), (9, -4), (7, -6)], [(-7, -10), (-8, -8), (-9, -5), (-9, 0), (-8, 3), (-7, 5)], [(8, 5), (9, 3), (9, -1), (8, -4), (7, -5)], [(-4, -12), (-6, -11), (-7, -9), (-8, -5), (-8, 0), (-7, 4), (-6, 6), (-4, 8)], [(5, 8), (7, 6), (8, 3), (8, -1), (7, -3), (5, -5)], [(3, -12), (0, -10), (-2, -8), (-3, -6), (-3, -5), (-2, -3), (1, -1), (2, 1), (2, 3)], [(-2, -6), (-2, -5), (2, -1), (2, 0)], [(-2, -8), (-2, -7), (-1, -5), (2, -3), (3, -1), (3, 1), (2, 3), (0, 4), (-1, 4), (-3, 3), (-4, 1)], [(2, -3), (7, -6), (8, -8)], [(10, -12), (8, -8)], [(7, -11), (11, -9)], [(10, -12), (9, -11), (7, -11), (8, -10), (8, -8), (9, -9), (11, -9), (10, -10), (10, -12)]]),
(-12, 13, [[(0, -12), (-2, -11), (-4, -9), (-5, -7), (-5, -5), (-4, -3), (-2, -1), (-1, 1), (-1, 3)], [(-4, -6), (-4, -5), (-1, -1), (-1, 0)], [(-4, -9), (-4, -7), (-3, -5), (-1, -3), (0, -1), (0, 1), (-1, 3), (-2, 4), (-4, 5), (-6, 5), (-8, 4), (-9, 3), (-10, 1), (-10, -1), (-9, -2), (-8, -1), (-9, 0)], [(0, -12), (2, -10), (4, -10), (6, -11)], [(-1, -11), (1, -10)], [(-2, -11), (-1, -10), (1, -9), (3, -9), (6, -11)], [(0, -2), (7, -7)], [(7, -7), (9, -4), (10, -1), (10, 2), (9, 5), (7, 7), (4, 8), (0, 9)], [(6, -6), (8, -4), (9, -1), (9, 3), (8, 5)], [(4, -5), (5, -5), (7, -3), (8, 0), (8, 4), (7, 6), (6, 7), (4, 8)], [(4, 8), (2, 8), (0, 7), (-2, 7), (-4, 8), (-5, 10), (-4, 12), (-2, 13), (0, 13), (2, 12)], [(1, 8), (-1, 8)], [(0, 9), (-2, 8), (-4, 8)]]),
(-12, 13, [[(-2, -2), (-4, -2), (-6, -3), (-7, -4), (-8, -6), (-8, -8), (-7, -10), (-6, -11), (-3, -12), (-1, -12), (2, -11), (5, -8), (7, -7)], [(-6, -10), (-4, -11), (0, -11), (2, -10), (3, -9)], [(-8, -8), (-7, -9), (-5, -10), (-1, -10), (2, -9), (4, -8), (7, -7), (9, -7), (10, -8), (10, -10), (9, -11), (7, -11)], [(-8, 6), (-7, 7), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 4), (-4, 5), (-2, 7), (0, 10), (2, 12)], [(-4, 6), (-3, 7), (-1, 10), (0, 11)], [(-6, 4), (-5, 5), (-4, 7), (-2, 10), (-1, 11), (1, 12), (4, 12), (6, 11), (7, 10), (8, 8), (8, 5), (7, 3), (5, 0), (4, -2), (4, -3)], [(7, 6), (7, 5), (4, 0), (4, -1)], [(6, 11), (7, 9), (7, 7), (6, 5), (4, 2), (3, 0), (3, -2), (5, -4), (7, -4), (8, -3), (8, -2)]]),
(-12, 13, [[(-2, -2), (-4, -2), (-6, -3), (-7, -4), (-8, -6), (-8, -8), (-7, -10), (-6, -11), (-3, -12), (-1, -12), (2, -11), (5, -8), (7, -7)], [(-6, -10), (-4, -11), (0, -11), (2, -10), (3, -9)], [(-8, -8), (-7, -9), (-5, -10), (-1, -10), (2, -9), (4, -8), (7, -7), (9, -7), (10, -8), (10, -10), (9, -11), (7, -11)], [(-8, 6), (-7, 7), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 4), (-4, 5), (-2, 7), (0, 10), (2, 12)], [(-4, 6), (-3, 7), (-1, 10), (0, 11)], [(-6, 4), (-5, 5), (-4, 7), (-2, 10), (-1, 11), (1, 12), (4, 12), (6, 11), (7, 10), (8, 8), (8, 5), (7, 3), (5, 0), (4, -2), (4, -3)], [(7, 6), (7, 5), (4, 0), (4, -1)], [(6, 11), (7, 9), (7, 7), (6, 5), (4, 2), (3, 0), (3, -2), (5, -4), (7, -4), (8, -3), (8, -2)]]),
(-13, 13, [[(9, -7), (8, -9), (6, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-6, -4), (-5, -1), (-2, 5), (-2, 7), (-4, 9)], [(-5, -4), (-5, -3), (-2, 3), (-2, 4)], [(-4, -10), (-5, -8), (-5, -5), (-4, -3), (-2, 1), (-1, 4), (-1, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8)], [(-10, 4), (-8, 8)], [(-11, 7), (-7, 5)], [(-10, 4), (-10, 6), (-11, 7), (-9, 7), (-8, 8), (-8, 6), (-7, 5), (-9, 5), (-10, 4)], [(-4, -3), (-4, -5), (-3, -7), (-1, -8), (2, -8), (4, -7), (6, -5), (7, -5)], [(3, -7), (5, -5)], [(0, -8), (2, -7), (3, -6), (4, -4)], [(7, -5), (-2, -1)], [(3, -3), (7, 6), (8, 7), (9, 7)], [(2, -2), (6, 6), (8, 8)], [(1, -2), (5, 7), (7, 9), (10, 6)]]),
(-11, 12, [[(8, 1), (7, 2), (4, 2), (3, 1), (3, -1), (4, -3), (6, -6), (7, -8), (7, -10)], [(4, -1), (4, -2), (7, -6), (7, -7)], [(5, 2), (4, 1), (4, 0), (5, -2), (7, -4), (8, -6), (8, -8), (7, -10), (6, -11), (3, -12), (-2, -12), (-5, -11), (-6, -10), (-7, -8), (-7, -6), (-6, -4), (-4, -1), (-3, 1), (-3, 2), (-4, 4)], [(-6, -7), (-6, -6), (-3, -1), (-3, 0)], [(-6, -10), (-6, -8), (-5, -6), (-3, -3), (-2, -1), (-2, 1), (-3, 3), (-5, 5), (-8, 7)], [(-5, 5), (-3, 5), (0, 7), (3, 8), (6, 8), (8, 7)], [(-4, 6), (-3, 6), (1, 8), (2, 8)], [(-8, 7), (-6, 6), (-5, 6), (-1, 8), (2, 9), (4, 9), (7, 8), (8, 7), (9, 5)]]),
(-16, 16, [[(-13, -1), (-13, 0), (-12, 1), (-10, 1), (-8, 0), (-8, -3), (-9, -5), (-11, -8), (-11, -10), (-9, -12)], [(-9, -3), (-11, -7)], [(-10, 1), (-9, 0), (-9, -2), (-11, -5), (-12, -7), (-12, -9), (-11, -11), (-9, -12), (-7, -12), (-5, -11), (-3, -9), (-2, -6), (-2, 0), (-3, 3), (-4, 5), (-6, 7), (-9, 9), (-10, 8), (-11, 8)], [(-4, -9), (-3, -6), (-3, 0), (-4, 3), (-5, 5)], [(-8, 8), (-9, 7), (-10, 7)], [(-7, -12), (-5, -10), (-4, -7), (-4, 0), (-5, 4), (-6, 6), (-7, 7), (-8, 6), (-9, 6), (-12, 9)], [(-4, -11), (-2, -12), (0, -12), (2, -11), (4, -9), (5, -6), (5, 0), (4, 3), (3, 5), (1, 7), (-1, 9), (-2, 8), (-3, 8)], [(3, -9), (4, -6), (4, 0), (3, 4)], [(0, 8), (-1, 7), (-2, 7)], [(0, -12), (2, -10), (3, -7), (3, 1), (2, 5), (1, 7), (0, 6), (-1, 6), (-4, 9)], [(3, -10), (4, -11), (6, -12), (8, -12), (10, -11), (11, -10), (12, -8), (13, -7)], [(10, -10), (11, -8)], [(8, -12), (9, -11), (10, -8), (11, -7), (13, -7)], [(13, -7), (10, -5), (9, -4), (8, -1), (8, 2), (9, 6), (11, 9), (14, 6)], [(10, -4), (9, -2), (9, 2), (10, 5), (12, 8)], [(13, -7), (11, -5), (10, -3), (10, 1), (11, 5), (13, 7)]]),
(-14, 14, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (0, -9), (1, -6), (1, 0), (0, 3), (-1, 5), (-3, 7), (-6, 9), (-7, 8), (-9, 8), (-11, 9)], [(-1, -9), (0, -7), (0, 0), (-1, 3), (-2, 5), (-3, 6)], [(-5, 8), (-7, 7), (-9, 7)], [(-4, -12), (-2, -10), (-1, -7), (-1, 0), (-2, 4), (-4, 7), (-6, 6), (-8, 6), (-11, 9)], [(0, -10), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(10, -7), (7, -5), (6, -4), (5, -1), (5, 2), (6, 6), (8, 9), (11, 6)], [(7, -4), (6, -2), (6, 2), (7, 5), (9, 8)], [(10, -7), (8, -5), (7, -3), (7, 1), (8, 5), (10, 7)]]),
(-14, 14, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-7, -5), (-5, -1), (-5, 1)], [(-6, -6), (-6, -5), (-5, -3), (-5, -2)], [(-6, -9), (-6, -7), (-4, -3), (-4, -1), (-5, 1), (-6, 2), (-8, 2), (-9, 1), (-9, 0)], [(-2, -12), (-1, -11), (5, -9), (8, -7), (9, -5), (10, -2), (10, 1), (9, 4), (8, 6), (6, 8), (3, 9), (0, 9), (-3, 8), (-9, 5), (-10, 5), (-11, 6)], [(-2, -11), (-1, -10), (5, -8), (7, -7), (8, -6)], [(-2, -12), (-2, -10), (-1, -9), (5, -7), (7, -6), (9, -4), (10, -2)], [(1, 8), (-1, 8), (-7, 5), (-8, 5)], [(7, 7), (5, 8), (2, 8), (-1, 7), (-5, 5), (-8, 4), (-10, 4), (-11, 6), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-13, 14, [[(-10, -1), (-10, 0), (-9, 1), (-7, 1), (-5, 0), (-5, -3), (-6, -5), (-8, -8), (-8, -10), (-6, -12)], [(-6, -3), (-8, -7)], [(-7, 1), (-6, 0), (-6, -2), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -10), (1, -8), (1, 3)], [(1, 5), (1, 10), (0, 12), (-2, 13), (-5, 13), (-6, 12), (-6, 10), (-5, 9), (-4, 10), (-5, 11)], [(-1, -10), (0, -8), (0, 10), (-1, 12)], [(-3, -12), (-2, -11), (-1, -8), (-1, 3)], [(-1, 5), (-1, 10), (-2, 12), (-3, 13)], [(1, -8), (6, -12)], [(6, -12), (8, -9), (9, -7), (10, -3), (10, 0), (9, 3), (7, 6), (4, 9)], [(5, -11), (8, -7), (9, -4), (9, -3)], [(4, -10), (6, -8), (8, -5), (9, -2), (9, 1), (8, 4), (7, 6)], [(5, 7), (3, 4), (1, 3)], [(-1, 3), (-3, 4), (-5, 6)], [(5, 8), (3, 5), (1, 4), (-2, 4)], [(4, 9), (2, 6), (1, 5)], [(-1, 5), (-3, 5), (-5, 6)]]),
(-14, 14, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-7, -5), (-5, -1), (-5, 1)], [(-6, -6), (-6, -5), (-5, -3), (-5, -2)], [(-6, -9), (-6, -7), (-4, -3), (-4, -1), (-5, 1), (-6, 2), (-8, 2), (-9, 1), (-9, 0)], [(-2, -12), (-1, -11), (5, -9), (8, -7), (9, -5), (10, -2), (10, 1), (9, 4), (8, 6)], [(6, 8), (3, 9), (0, 9), (-3, 8), (-9, 5), (-10, 5), (-11, 6)], [(-2, -11), (-1, -10), (5, -8), (7, -7), (8, -6)], [(-2, -12), (-2, -10), (-1, -9), (5, -7), (7, -6), (9, -4), (10, -2)], [(1, 8), (-1, 8), (-7, 5), (-8, 5)], [(6, 8), (2, 8), (-1, 7), (-5, 5), (-8, 4), (-10, 4), (-11, 6), (-11, 8), (-10, 9), (-9, 8), (-10, 7)], [(2, 6), (4, 4), (6, 4), (10, 8), (11, 8)], [(5, 5), (6, 5), (9, 8)], [(3, 5), (4, 5), (8, 9), (10, 9), (12, 7)]]),
(-14, 14, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 4), (-1, 6), (-3, 8), (-5, 9), (-7, 9), (-9, 8)], [(-2, -10), (-1, -8), (-1, 4), (-2, 6)], [(-4, -12), (-3, -11), (-2, -8), (-2, 4), (-3, 7), (-5, 9)], [(-11, 4), (-9, 8)], [(-12, 7), (-8, 5)], [(-11, 4), (-11, 6), (-12, 7), (-10, 7), (-9, 8), (-9, 6), (-8, 5), (-10, 5), (-11, 4)], [(0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(10, -7), (0, -2)], [(2, -3), (6, 7), (8, 9), (11, 6)], [(3, -3), (7, 6), (9, 8)], [(4, -4), (8, 6), (9, 7), (10, 7)]]),
(-13, 14, [[(10, -10), (9, -11), (10, -12), (11, -11), (11, -9), (10, -7), (8, -7), (4, -9), (1, -10), (-3, -10), (-7, -9), (-9, -7)], [(7, -8), (4, -10), (1, -11), (-3, -11), (-6, -10)], [(11, -9), (10, -8), (8, -8), (4, -11), (1, -12), (-3, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 7), (10, 5), (11, 2), (11, -1), (10, -3), (8, -4), (5, -4), (3, -3), (1, 0), (-1, 1), (-3, 1)], [(-6, 6), (-4, 7), (-1, 8), (3, 8), (7, 7)], [(-9, 3), (-7, 5), (-5, 6), (-2, 7), (3, 7), (7, 6), (9, 5), (10, 4), (11, 2)], [(6, -3), (5, -3), (1, 1), (0, 1)], [(11, -1), (9, -3), (7, -3), (5, -2), (3, 1), (1, 2), (-1, 2), (-3, 1), (-4, -1), (-4, -3), (-3, -5), (-1, -6)]]),
(-12, 13, [[(-6, -4), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-5, -12), (0, -12), (3, -11), (7, -8), (9, -8), (10, -9)], [(-8, -10), (-6, -11), (0, -11), (3, -10), (6, -8)], [(-9, -7), (-8, -9), (-6, -10), (0, -10), (3, -9), (7, -7), (9, -7), (10, -9), (10, -11), (9, -12), (8, -11), (9, -10)], [(3, -9), (0, -6), (-1, -4), (-1, -2), (1, 2), (1, 4)], [(0, -3), (0, -2), (1, 0), (1, 1)], [(0, -6), (0, -4), (2, 0), (2, 2), (1, 4), (0, 5), (-2, 5), (-3, 4), (-3, 2)], [(-8, 7), (-7, 8), (-8, 9), (-9, 8), (-9, 6), (-8, 4), (-6, 4), (-3, 5), (1, 7), (4, 8), (7, 8), (9, 7)], [(-6, 5), (-5, 5), (1, 8), (3, 8)], [(-9, 6), (-8, 5), (-7, 5), (-5, 6), (-1, 8), (2, 9), (5, 9), (8, 8), (10, 6)]]),
(-11, 11, [[(-8, -10), (-7, -10), (-6, -9), (-6, 5), (-8, 6)], [(-7, -11), (-5, -10), (-5, 6), (-2, 8)], [(-9, -9), (-6, -12), (-4, -10), (-4, 5), (-2, 7), (0, 7)], [(-8, 6), (-7, 6), (-5, 7), (-3, 9), (0, 7), (4, 4)], [(2, -10), (3, -10), (4, -9), (4, 7), (6, 9), (9, 6)], [(3, -11), (5, -10), (5, 7), (7, 8)], [(1, -9), (4, -12), (7, -10), (6, -9), (6, 6), (7, 7), (8, 7)]]),
(-14, 14, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 0), (-1, 3), (-3, 5)], [(-2, -10), (-1, -8), (-1, 2)], [(-4, -12), (-3, -11), (-2, -8), (-2, 3), (-3, 5)], [(0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(8, -7), (6, -7), (5, -6), (5, -4), (6, -2), (9, 0), (10, 2)], [(6, -3), (9, -1)], [(5, -5), (6, -4), (9, -2), (10, 0), (10, 4), (9, 6), (7, 8), (5, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6)], [(2, 8), (0, 8), (-6, 5), (-7, 5)], [(8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7)]]),
(-16, 17, [[(-13, -1), (-13, 0), (-12, 1), (-10, 1), (-8, 0), (-8, -3), (-9, -5), (-11, -8), (-11, -10), (-9, -12)], [(-9, -3), (-11, -7)], [(-10, 1), (-9, 0), (-9, -2), (-11, -5), (-12, -7), (-12, -9), (-11, -11), (-9, -12), (-6, -12), (-4, -11), (-3, -10), (-2, -8), (-2, -4), (-3, -1), (-5, 2), (-7, 4)], [(-4, -10), (-3, -8), (-3, -3), (-4, 0)], [(-6, -12), (-5, -11), (-4, -8), (-4, -3), (-5, 1), (-7, 4)], [(-4, -11), (-2, -12), (1, -12), (3, -11)], [(5, -12), (2, -11), (1, -9), (1, -5), (2, -2), (4, 1), (5, 3), (5, 5), (4, 7)], [(2, -5), (2, -4), (5, 1), (5, 2)], [(5, -12), (3, -11), (2, -9), (2, -6), (3, -4), (5, -1), (6, 2), (6, 4), (5, 6), (3, 8), (1, 9), (-3, 9), (-5, 8), (-7, 6), (-9, 5), (-11, 5), (-12, 6)], [(-4, 8), (-7, 5), (-8, 5)], [(-1, 9), (-3, 8), (-6, 5), (-8, 4), (-11, 4), (-12, 6), (-12, 8), (-11, 9), (-10, 8), (-11, 7)], [(5, -12), (8, -12), (10, -11), (12, -8), (13, -7)], [(10, -10), (11, -8)], [(8, -12), (9, -11), (10, -8), (11, -7), (13, -7)], [(11, -7), (9, -7), (8, -6), (8, -4), (9, -2), (12, 0), (13, 2)], [(9, -3), (12, -1)], [(8, -5), (9, -4), (12, -2), (13, 0), (13, 5), (12, 7), (11, 8), (9, 9), (6, 9), (3, 8)], [(7, 8), (6, 8), (4, 7)], [(12, 7), (10, 8), (8, 8), (6, 7), (5, 6)]]),
(-12, 12, [[(-7, -10), (-5, -10), (-3, -9), (-2, -8), (-1, -5), (-1, -3)], [(-1, -1), (-1, 3), (-2, 6), (-5, 9), (-7, 8), (-9, 9)], [(-4, 8), (-6, 7), (-7, 7)], [(-3, 7), (-4, 7), (-6, 6), (-9, 9)], [(-5, -11), (-2, -10), (-1, -9), (0, -6), (0, 3), (1, 5), (3, 7), (5, 8)], [(-9, -9), (-4, -12), (-2, -11), (0, -9), (1, -6), (1, -3)], [(1, -1), (1, 2), (2, 5), (3, 6), (5, 7), (7, 7)], [(-1, 3), (0, 6), (2, 8), (4, 9), (9, 6)], [(1, -6), (2, -9), (5, -12), (7, -11), (9, -12)], [(4, -11), (6, -10), (7, -10)], [(3, -10), (4, -10), (6, -9), (9, -12)], [(-7, 1), (-5, -3), (-1, -3)], [(1, -3), (5, -3), (7, -5)], [(-5, -2), (5, -2)], [(-7, 1), (-5, -1), (-1, -1)], [(1, -1), (5, -1), (7, -5)]]),
(-13, 13, [[(-10, -1), (-10, 0), (-9, 1), (-7, 1), (-5, 0), (-5, -3), (-6, -5), (-8, -8), (-8, -10), (-6, -12)], [(-6, -3), (-8, -7)], [(-7, 1), (-6, 0), (-6, -2), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -10), (1, -8), (1, -3), (0, 0), (-1, 2), (-1, 3), (1, 5), (2, 5)], [(-1, -10), (0, -8), (0, -2), (-1, 1), (-2, 3), (1, 6)], [(-3, -12), (-2, -11), (-1, -8), (-1, -2), (-2, 2), (-3, 4), (0, 7), (3, 4)], [(1, -8), (9, -12)], [(7, -11), (7, 8), (6, 11)], [(8, -11), (8, 6), (7, 9)], [(9, -12), (9, 4), (8, 8), (7, 10), (5, 12), (2, 13), (-2, 13), (-5, 12), (-7, 10), (-8, 8), (-7, 7), (-6, 8), (-7, 9)]]),
(-12, 12, [[(-4, -9), (-3, -11), (-1, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -5), (5, -3), (4, -2), (2, -1)], [(-1, -1), (-3, -2), (-4, -4)], [(4, -10), (5, -9), (5, -4), (4, -3)], [(2, -12), (3, -11), (4, -9), (4, -4), (3, -2), (2, -1)], [(-5, 3), (-4, 1), (-3, 0), (-1, -1), (2, -1), (5, 0), (7, 2), (8, 4), (8, 8), (7, 10), (5, 12), (2, 13), (-2, 13), (-4, 12), (-7, 8), (-8, 7)], [(6, 2), (7, 4), (7, 8), (6, 10)], [(2, -1), (5, 1), (6, 3), (6, 9), (5, 11), (4, 12), (2, 13)], [(-3, 12), (-4, 11), (-6, 8), (-7, 7)], [(0, 13), (-2, 12), (-3, 11), (-5, 8), (-6, 7), (-9, 7), (-10, 8), (-10, 10), (-9, 11), (-8, 11)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-6, 6, [[(2, -12), (0, -11), (-1, -9), (-1, -7), (0, -5), (2, -7), (0, -9), (0, -11)], [(0, -8), (0, -6), (1, -7), (0, -8)]]),
(-8, 9, [[(2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6)], [(-4, 4), (-3, 7), (-2, 8)], [(-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8)], [(0, -4), (1, -3), (3, -2), (3, 7), (5, 9), (8, 6)], [(1, -4), (4, -2), (4, 6), (6, 8)], [(2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 6), (6, 7), (7, 7)]]),
(-8, 9, [[(-6, -10), (-5, -9), (-4, -7)], [(2, -12), (-1, -11), (-3, -9), (-4, -7), (-4, 6), (-5, 7)], [(-2, -9), (-3, -7), (-3, 6), (0, 8)], [(2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8)], [(-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-7, 6, [[(0, -4), (2, -2), (4, -3), (2, -5), (0, -4), (-3, -2), (-4, 0), (-4, 5), (-3, 7), (-1, 9), (3, 7)], [(1, -4), (3, -3)], [(-2, -2), (-3, 0), (-3, 5), (-2, 7), (-1, 8)], [(-1, -3), (-2, -1), (-2, 4), (-1, 6), (1, 8)]]),
(-8, 9, [[(-1, -12), (-4, -9), (-4, -7), (-3, -6), (1, -4), (4, -2), (5, 0), (5, 3), (4, 6), (2, 8)], [(-3, -8), (-3, -7), (1, -5), (4, -3), (5, -2)], [(-3, -10), (-3, -9), (-2, -8), (3, -5), (5, -3), (6, 0), (6, 3), (5, 6), (2, 8), (-1, 9)], [(0, -4), (-4, -2), (-4, 6), (-5, 7)], [(-3, -2), (-3, 6), (0, 8)], [(-2, -3), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9)]]),
(-7, 6, [[(-2, 3), (4, -1), (1, -5), (-3, -2), (-4, 0), (-4, 5), (-3, 7), (-1, 9), (3, 7)], [(3, -1), (0, -4)], [(-2, -2), (-3, 0), (-3, 5), (-2, 7), (-1, 8)], [(2, 0), (0, -3), (-1, -3), (-2, -1), (-2, 4), (-1, 6), (1, 8)]]),
(-6, 7, [[(6, -12), (5, -11), (3, -11), (1, -12), (-1, -12), (-2, -10), (-2, -5), (-3, -3), (-4, -2)], [(4, -10), (2, -10), (0, -11), (-1, -11)], [(6, -12), (5, -10), (4, -9), (2, -9), (0, -10), (-1, -10), (-2, -9)], [(-2, -7), (-1, -5), (0, -4), (2, -3), (4, -3), (4, -2)], [(-4, -2), (-2, -2)], [(0, -2), (4, -2)], [(-2, -2), (-2, 2), (-1, 14)], [(1, -3), (-2, -3), (-1, -4), (-1, 9)], [(0, -2), (0, 2), (-1, 14)]]),
(-8, 9, [[(2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6)], [(-4, 5), (-3, 7), (-2, 8)], [(-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8)], [(0, -4), (1, -3), (3, -2), (3, 6), (4, 9), (4, 11), (3, 13)], [(1, -4), (4, -2), (4, 8)], [(2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 10), (4, 12), (3, 13), (1, 14), (-2, 14), (-4, 13), (-5, 12), (-5, 11), (-4, 11), (-4, 12)]]),
(-8, 9, [[(-6, -10), (-5, -9), (-4, -7)], [(2, -12), (-1, -11), (-3, -9), (-4, -7), (-4, 6), (-5, 7)], [(-2, -9), (-3, -7), (-3, 7), (-2, 8)], [(2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 6), (-1, 7), (0, 7)], [(-5, 7), (-3, 8), (-2, 9), (1, 6)], [(-2, -2), (4, -5), (5, -3), (6, 1), (6, 5), (5, 8), (4, 10), (2, 12), (-1, 14)], [(3, -4), (4, -3), (5, 0)], [(2, -4), (4, -1), (5, 2), (5, 5), (4, 9), (2, 12)]]),
(-5, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -10), (1, -11), (0, -12)], [(-1, -11), (1, -10)], [(-1, -10), (1, -11)], [(-3, -3), (-2, -3), (-1, -2), (-1, 7), (1, 9), (4, 6)], [(-2, -4), (0, -3), (0, 6), (2, 8)], [(-4, -2), (-1, -5), (0, -4), (2, -3)], [(1, -2), (2, -3)], [(1, -2), (1, 6), (2, 7), (3, 7)]]),
(-5, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -10), (1, -11), (0, -12)], [(-1, -11), (1, -10)], [(-1, -10), (1, -11)], [(-3, -3), (-2, -3), (-1, -2), (-1, 9), (-2, 12), (-3, 13), (-5, 14)], [(-2, -4), (0, -3), (0, 9), (-1, 11)], [(-4, -2), (-1, -5), (0, -4), (2, -3)], [(1, -2), (2, -3)], [(1, -2), (1, 9), (0, 11), (-2, 13), (-5, 14)], [(1, 9), (2, 11), (3, 12)]]),
(-7, 7, [[(-4, -10), (-3, -9), (-2, -7)], [(3, -12), (1, -11), (-1, -9), (-2, -7), (-2, -5), (-3, -3), (-4, -2)], [(-2, -2), (-2, 6), (-3, 7)], [(0, -9), (-1, -7), (-1, -5)], [(-1, -3), (-2, -3), (-1, -5), (-1, 6), (1, 8)], [(3, -12), (1, -10), (0, -7), (0, -3)], [(0, -2), (0, 6), (1, 7), (2, 7)], [(-3, 7), (-1, 8), (0, 9), (3, 6)], [(0, -6), (4, -9), (5, -8), (5, -6), (3, -4), (1, -3)], [(3, -8), (4, -7), (4, -6), (3, -4)], [(0, -3), (5, -3), (5, -2)], [(-4, -2), (-2, -2)], [(0, -2), (5, -2)]]),
(-5, 5, [[(-3, -10), (-2, -9), (-1, -7)], [(5, -12), (2, -11), (0, -9), (-1, -7), (-1, 6), (-2, 7)], [(1, -9), (0, -7), (0, 7), (2, 8)], [(5, -12), (3, -11), (2, -10), (1, -7), (1, 6), (2, 7), (3, 7)], [(-2, 7), (0, 8), (1, 9), (4, 6)]]),
(-13, 13, [[(-11, -3), (-10, -3), (-9, -2), (-9, 6), (-10, 7), (-8, 9)], [(-10, -4), (-8, -2), (-8, 6), (-9, 7), (-8, 8), (-7, 7), (-8, 6)], [(-12, -2), (-9, -5), (-7, -3), (-7, 6), (-6, 7), (-8, 9)], [(-4, -4), (-2, -3), (-1, -1), (-1, 6), (-2, 7), (0, 9)], [(-2, -4), (-1, -3), (0, -1), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(-7, -2), (-4, -4), (-2, -5), (0, -4), (1, -2), (1, 6), (2, 7), (0, 9)], [(4, -4), (5, -3), (7, -2), (7, 7), (9, 9), (12, 6)], [(5, -4), (8, -2), (8, 6), (10, 8)], [(1, -2), (4, -4), (6, -5), (7, -4), (9, -3), (10, -3)], [(9, -2), (10, -3)], [(9, -2), (9, 6), (10, 7), (11, 7)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7), (-4, 9)], [(-6, -4), (-4, -2), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-8, -2), (-5, -5), (-3, -3), (-3, 6), (-2, 7), (-4, 9)], [(0, -4), (1, -3), (3, -2), (3, 7), (5, 9), (8, 6)], [(1, -4), (4, -2), (4, 6), (6, 8)], [(-3, -2), (0, -4), (2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 6), (6, 7), (7, 7)]]),
(-8, 9, [[(-4, -2), (-4, 6), (-5, 7)], [(-3, -2), (-3, 6), (0, 8)], [(-1, -3), (-2, -2), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8)], [(-4, -2), (-1, -3), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-8, 9, [[(-3, -8), (-5, -6), (-5, -4), (-4, -1), (-4, 6), (-6, 8)], [(-4, 7), (-3, 14)], [(-4, -5), (-4, -4), (-3, -1), (-3, 9)], [(-4, -7), (-4, -6), (-3, -4), (-2, -1), (-2, 6), (-1, 6), (1, 7), (2, 8)], [(-2, 7), (-3, 14)], [(1, 8), (-1, 7)], [(2, 8), (0, 9), (-2, 7)], [(-4, 7), (-6, 8)], [(-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-8, 9, [[(2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6)], [(-4, 5), (-3, 7), (-2, 8)], [(-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8)], [(0, -4), (1, -3), (3, -2), (3, 6), (4, 14)], [(1, -4), (4, -2), (4, 9)], [(2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 6), (4, 14)]]),
(-7, 7, [[(-4, -3), (-3, -3), (-2, -2), (-2, 6), (-3, 7)], [(-3, -4), (-1, -2), (-1, 7), (1, 8)], [(-5, -2), (-2, -5), (0, -3), (0, 6), (1, 7), (2, 7)], [(-3, 7), (-1, 8), (0, 9), (3, 6)], [(2, -4), (3, -2), (5, -3), (4, -5), (0, -3)], [(3, -4), (4, -3)]]),
(-6, 5, [[(6, -12), (5, -11), (3, -11), (1, -12), (-1, -12), (-2, -10), (-2, -5), (-3, -3), (-4, -2)], [(4, -10), (2, -10), (0, -11), (-1, -11)], [(6, -12), (5, -10), (4, -9), (2, -9), (0, -10), (-1, -10), (-2, -9)], [(-2, -7), (0, -2)], [(-2, -2), (-2, 2), (-1, 14)], [(-1, -3), (-2, -3), (-1, -4), (-1, 9)], [(0, -2), (0, 2), (-1, 14)], [(-4, -2), (-2, -2)]]),
(-6, 6, [[(1, -9), (0, -6), (-1, -4), (-2, -3), (-4, -2)], [(1, -9), (1, -3), (4, -3), (4, -2)], [(-4, -2), (-1, -2)], [(1, -2), (4, -2)], [(-1, -2), (-1, 6), (-2, 7)], [(0, -3), (-1, -3), (0, -5), (0, 6), (2, 8)], [(1, -2), (1, 6), (2, 7), (3, 7)], [(-2, 7), (0, 8), (1, 9), (4, 6)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7)], [(-6, -4), (-4, -2), (-4, 6), (-2, 8)], [(-8, -2), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-6, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 6)], [(4, -5), (2, -3), (3, -2), (3, 7), (5, 9), (8, 6)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 6), (6, 8)], [(4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7)]]),
(-8, 9, [[(-3, -7), (-5, -5), (-5, -3), (-4, 0), (-4, 6), (-5, 7)], [(-4, -4), (-4, -3), (-3, 0), (-3, 6), (0, 8)], [(-4, -6), (-4, -5), (-3, -3), (-2, 0), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8)], [(-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-12, 13, [[(-7, -7), (-9, -5), (-9, -3), (-8, 0), (-8, 6), (-9, 7), (-7, 9)], [(-8, -4), (-8, -3), (-7, 0), (-7, 6), (-8, 7), (-7, 8), (-6, 7), (-7, 6)], [(-8, -6), (-8, -5), (-7, -3), (-6, 0), (-6, 6), (-5, 7), (-7, 9)], [(-3, -4), (-1, -3), (0, -1), (0, 6), (-1, 7)], [(-1, -4), (0, -3), (1, -1), (1, 6), (4, 8)], [(-6, -2), (-3, -4), (-1, -5), (1, -4), (2, -2), (2, 6), (4, 7), (5, 8)], [(-1, 7), (0, 7), (2, 8), (3, 9), (6, 8)], [(2, -2), (8, -5), (9, -3), (10, 0), (10, 2), (9, 6), (8, 7), (6, 8)], [(7, -4), (8, -3), (9, -1)], [(6, -4), (8, -2), (9, 1), (9, 3), (8, 6), (6, 8)]]),
(-7, 8, [[(-3, -3), (-2, -3), (-1, -2), (-1, 6), (-2, 6), (-4, 7), (-5, 9), (-5, 11), (-4, 13), (-2, 14), (1, 14), (4, 13), (4, 12), (3, 12), (3, 13)], [(-2, -4), (0, -2), (0, 6), (3, 8)], [(-4, -2), (-1, -5), (1, -3), (1, 6), (3, 7), (4, 8)], [(6, 7), (2, 9), (1, 8), (-1, 7), (-3, 7), (-5, 9)], [(3, -4), (4, -2), (6, -3), (5, -5), (1, -3)], [(4, -4), (5, -3)]]),
(-8, 9, [[(-3, -7), (-5, -5), (-5, -3), (-4, 0), (-4, 6), (-5, 7)], [(-4, -4), (-4, -3), (-3, 0), (-3, 7), (-1, 8)], [(-4, -6), (-4, -5), (-3, -3), (-2, 0), (-2, 6), (-1, 7), (0, 7)], [(-5, 7), (-3, 8), (-2, 9), (1, 6)], [(-2, -2), (4, -5), (5, -3), (6, 1), (6, 5), (5, 8), (4, 10), (2, 12), (-1, 14)], [(3, -4), (4, -3), (5, 0)], [(2, -4), (4, -1), (5, 2), (5, 5), (4, 9), (2, 12)]]),
(-7, 7, [[(-4, -2), (1, -5), (3, -4), (4, -2), (4, 0), (3, 2), (-1, 4)], [(1, -4), (3, -3)], [(0, -4), (2, -3), (3, -1), (3, 0), (2, 2), (1, 3)], [(1, 3), (3, 5), (4, 7), (4, 11), (3, 13), (1, 14), (-1, 14), (-3, 13), (-4, 11), (-4, 9), (-3, 7), (-1, 6), (5, 4)], [(0, 4), (2, 5), (3, 7)], [(-1, 4), (2, 6), (3, 8), (3, 11), (2, 13), (1, 14)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)], [(-1, -12), (-4, -9), (-3, -5), (1, -4), (4, -7), (3, -11), (-1, -12)], [(1, -12), (-3, -11), (-4, -7), (-1, -4), (3, -5), (4, -9), (1, -12)]]),
]
GOTHICENG = [
(-8, 8, [[]]),
(-6, 6, [[(0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2)], [(0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2)], [(0, -12), (1, -11), (3, -10), (1, -9), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(6, -8), (5, -10)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, 7), (-6, 5)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(7, -4), (8, -3), (9, -3), (10, -4)], [(6, -3), (7, -2), (9, -2)], [(6, -2), (7, -1), (8, -1), (9, -2), (10, -4)], [(7, -4), (1, 2)], [(0, 3), (-6, 9), (-10, 4), (-4, -2)], [(-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-6, 8), (-9, 4)], [(0, -7), (-3, -11)], [(-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8)], [(-5, 8), (-9, 3)], [(0, -6), (-4, -11)], [(-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6)]]),
(-4, 5, [[(1, -12), (0, -11), (0, -5)], [(1, -11), (0, -5)], [(1, -12), (2, -11), (0, -5)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-6, 6, [[(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7)], [(-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8)], [(-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7)], [(-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7)]]),
(-10, 10, [[(-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10)], [(-2, -10), (0, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11)], [(4, -10), (4, -2)], [(5, -9), (5, -3)], [(6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9)], [(-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7)], [(-4, 8), (-1, 7), (4, 7), (7, 8)], [(-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7)]]),
(-10, 10, [[(-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10)], [(-3, -10), (-1, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -11)], [(4, -10), (4, -3)], [(5, -9), (5, -4)], [(6, -10), (6, -3), (4, -3), (1, -2), (-1, -1)], [(-1, -2), (1, -1), (4, 0), (6, 0), (6, 7)], [(5, 1), (5, 6)], [(4, 0), (4, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(3, -12), (-7, -2), (-7, 3), (2, 3)], [(4, 3), (8, 3), (9, 4), (9, 2), (8, 3)], [(-6, -2), (-6, 2)], [(-5, -4), (-5, 3)], [(2, -11), (2, 6), (0, 7)], [(3, -8), (4, -10), (3, -11), (3, 7), (5, 8)], [(3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7)], [(0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7)]]),
(-10, 10, [[(-6, -12), (-6, -3)], [(-6, -12), (6, -12)], [(-5, -11), (4, -11)], [(-6, -10), (3, -10), (5, -11), (6, -12)], [(4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3)], [(1, -4), (2, -4), (4, -3), (4, 7)], [(3, -5), (5, -4), (5, 6)], [(4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10)], [(1, -11), (3, -10)], [(0, -11), (2, -9), (4, -9), (6, -10)], [(-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5)], [(1, -3), (2, -3), (4, -2), (4, 7)], [(3, -4), (5, -2), (5, 6)], [(4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12)], [(-6, -11), (-3, -10), (2, -10), (5, -11)], [(-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12)], [(8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9)], [(0, -1), (-1, 2), (-1, 5), (0, 8)], [(3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9)]]),
(-10, 10, [[(-6, -9), (-6, -3)], [(-5, -8), (-5, -4)], [(-4, -9), (-4, -3)], [(-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12)], [(1, -10), (2, -10), (4, -9), (4, -3)], [(3, -11), (5, -10), (5, -4)], [(4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3)], [(-6, -3), (-4, -3), (4, 0), (6, 0)], [(6, -3), (4, -3), (-4, 0), (-6, 0)], [(-6, 0), (-6, 6), (-8, 7)], [(-5, 1), (-5, 6), (-2, 8)], [(-4, 0), (-4, 6), (-2, 7), (-1, 8)], [(4, 0), (4, 7)], [(5, 1), (5, 6)], [(6, 0), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, -1), (-8, 0)], [(-5, -9), (-5, 0), (-3, 1)], [(-4, -10), (-4, -1), (-2, 0), (-1, 0)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1)], [(-5, -8), (-4, -10)], [(4, -10), (5, -9), (5, -5), (4, -4)], [(-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1)], [(0, -1), (0, 2), (1, -1), (-1, -1), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-11, 11, [[(-6, -9), (-4, -11), (-2, -12), (0, -12), (1, -11), (8, 5), (9, 6), (11, 6)], [(-1, -11), (0, -10), (7, 6), (8, 8), (9, 7), (7, 6)], [(-4, -11), (-2, -11), (-1, -10), (6, 6), (7, 8), (8, 9), (9, 9), (11, 6)], [(-6, -5), (-5, -6), (-3, -7), (-2, -7), (-1, -6)], [(-2, -6), (-2, -5)], [(-5, -6), (-3, -6), (-2, -4)], [(-11, 9), (-9, 7), (-7, 6), (-4, 6), (-2, 7)], [(-8, 7), (-4, 7), (-3, 8)], [(-11, 9), (-8, 8), (-5, 8), (-4, 9), (-2, 7)], [(0, -8), (-6, 6)], [(-4, 1), (4, 1)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (6, -12), (8, -11), (9, -9), (9, -7), (7, -5), (3, -3)], [(6, -11), (8, -9), (8, -7)], [(4, -11), (6, -10), (7, -9), (7, -6), (5, -4)], [(5, -4), (8, -2), (9, 0), (9, 6)], [(7, -2), (8, 0), (8, 5)], [(5, -4), (6, -3), (7, -1), (7, 6)], [(-8, 9), (-5, 7), (-2, 6), (2, 6), (5, 7)], [(-6, 8), (-3, 7), (2, 7), (4, 8)], [(-8, 9), (-4, 8), (1, 8), (3, 9), (5, 7), (7, 6), (9, 6)], [(3, -3), (3, 6)], [(3, 0), (7, 0)], [(3, 3), (7, 3)]]),
(-13, 11, [[(-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 1), (-9, 4), (-8, 6), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3)], [(-8, -7), (-9, -4), (-9, 1), (-7, 5), (-4, 7), (-1, 8), (2, 8), (5, 7)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 0), (-7, 3), (-4, 6), (-1, 7), (2, 7), (5, 6), (7, 5), (9, 3)], [(-2, -8), (-2, 4)], [(-1, -8), (-1, 2)], [(0, -9), (0, 1), (-1, 3), (-2, 4)], [(-2, -8), (0, -9), (3, -12), (5, -11), (7, -11), (8, -12)], [(2, -11), (4, -10), (6, -10)], [(1, -10), (3, -9), (5, -9), (7, -10), (8, -12)], [(5, -9), (5, 6)]]),
(-11, 12, [[(-9, -12), (5, -12), (7, -11), (8, -9), (8, 6)], [(-7, -11), (5, -11), (7, -9), (7, 5)], [(-9, -12), (-8, -11), (-6, -10), (5, -10), (6, -9), (6, 6)], [(-3, -7), (-4, -6), (-5, -4), (-5, -3), (-7, -3), (-8, -2), (-8, 0), (-7, -1), (-5, -1), (-5, 4)], [(-4, -5), (-4, 2)], [(-7, -2), (-4, -2)], [(-3, -7), (-3, 1), (-4, 3), (-5, 4)], [(-9, 9), (-6, 7), (-3, 6), (1, 6), (4, 7)], [(-7, 8), (-4, 7), (1, 7), (3, 8)], [(-9, 9), (-5, 8), (0, 8), (2, 9), (4, 7), (6, 6), (8, 6)], [(0, -10), (0, 6)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-11, 11, [[(-9, -10), (-7, -12), (-5, -12), (-3, -11), (-1, -12)], [(-6, -11), (-4, -11)], [(-9, -10), (-7, -11), (-5, -10), (-3, -10), (-1, -12)], [(-4, -7), (-5, -6), (-6, -4), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 5)], [(-5, -5), (-5, 3)], [(-8, -2), (-5, -2)], [(-4, -7), (-4, 2), (-5, 4), (-6, 5)], [(-1, -5), (0, -8), (1, -10), (2, -11), (4, -12), (6, -12), (9, -11)], [(2, -10), (4, -11), (6, -11), (8, -10)], [(0, -8), (1, -9), (3, -10), (5, -10), (7, -9), (9, -11)], [(-1, 3), (0, 0), (1, -2), (2, -3), (4, -3), (6, -2)], [(2, -2), (4, -2), (5, -1)], [(0, 0), (1, -1), (3, -1), (4, 0), (6, -2)], [(-7, 9), (-4, 7), (0, 6), (5, 6), (9, 7)], [(-5, 8), (-2, 7), (5, 7), (8, 8)], [(-7, 9), (-3, 8), (4, 8), (7, 9), (9, 7)], [(-1, -5), (-1, 6)]]),
(-12, 11, [[(-8, -10), (-6, -12), (-3, -12), (-1, -11), (1, -12)], [(-5, -11), (-2, -11)], [(-8, -10), (-6, -11), (-4, -10), (-1, -10), (1, -12)], [(-2, -7), (-3, -6), (-4, -4), (-4, -3), (-6, -3), (-7, -2), (-7, 0), (-6, -1), (-4, -1), (-4, 4)], [(-3, -5), (-3, 2)], [(-6, -2), (-3, -2)], [(-2, -7), (-2, 1), (-3, 3), (-4, 4)], [(1, -8), (1, 7), (0, 8), (-1, 8), (-5, 6), (-7, 6), (-9, 7), (-11, 9)], [(2, -8), (2, 6)], [(2, -2), (6, -2)], [(-2, 8), (-3, 8), (-5, 7), (-8, 7)], [(3, -9), (3, -3), (6, -3)], [(6, -1), (3, -1), (3, 5), (2, 7), (-2, 9), (-4, 9), (-6, 8), (-8, 8), (-11, 9)], [(1, -8), (3, -9), (6, -12), (8, -11), (10, -11), (11, -12)], [(5, -11), (7, -10), (9, -10)], [(4, -10), (6, -9), (8, -9), (10, -10), (11, -12)], [(6, -9), (6, 5)]]),
(-13, 12, [[(-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 6), (9, 4), (9, 1), (8, -1), (7, -2), (5, -3), (3, -3)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(7, 6), (8, 5), (8, 1), (7, -1)], [(3, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (3, -3)], [(-2, -8), (-2, 5)], [(-1, -8), (-1, 3)], [(0, -9), (0, 2), (-1, 4), (-2, 5)], [(-2, -8), (0, -9), (3, -12), (5, -11), (7, -11), (8, -12)], [(2, -11), (4, -10), (6, -10)], [(1, -10), (3, -9), (5, -9), (7, -10), (8, -12)], [(7, -10), (3, -3), (3, 9)], [(3, 1), (7, 1)], [(3, 4), (7, 4)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(-8, 9), (-5, 7), (-2, 6), (1, 6), (3, 7)], [(-6, 8), (-3, 7), (0, 7), (2, 8)], [(-8, 9), (-4, 8), (-1, 8), (1, 9), (3, 7)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (2, -11), (4, -12), (6, -12), (8, -11)], [(5, -11), (6, -11), (7, -10)], [(2, -11), (4, -11), (6, -9), (8, -11)], [(3, -3), (5, -4), (7, -6), (8, -5), (9, -2), (9, 2), (8, 6), (6, 9)], [(6, -5), (7, -4), (8, -2), (8, 3), (7, 6)], [(5, -4), (6, -4), (7, -2), (7, 3), (6, 9)], [(3, -3), (3, 7)], [(3, 0), (7, 0)], [(3, 3), (7, 3)]]),
(-9, 10, [[(-6, -10), (-4, -12), (-1, -12), (2, -11), (4, -12)], [(-3, -11), (1, -11)], [(-6, -10), (-4, -11), (-1, -10), (2, -10), (4, -12)], [(1, -7), (0, -6), (-1, -4), (-1, -3), (-3, -3), (-4, -2), (-4, 0), (-3, -1), (-1, -1), (-1, 4)], [(0, -5), (0, 2)], [(-3, -2), (0, -2)], [(1, -7), (1, 1), (0, 3), (-1, 4)], [(7, -10), (5, -8), (4, -5), (4, 6), (3, 8), (1, 8), (-3, 6), (-5, 6), (-7, 7), (-9, 9)], [(5, -7), (5, 5)], [(0, 8), (-1, 8), (-3, 7), (-6, 7)], [(7, -10), (6, -8), (6, 4), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-7, 8), (-9, 9)]]),
(-10, 10, [[(-6, -10), (-4, -12), (-1, -12), (2, -11), (4, -12)], [(-3, -11), (1, -11)], [(-6, -10), (-4, -11), (-1, -10), (2, -10), (4, -12)], [(1, -7), (0, -6), (-1, -4), (-1, -3), (-3, -3), (-4, -2), (-4, 0), (-3, -1), (-1, -1), (-1, 4)], [(0, -5), (0, 2)], [(-3, -2), (0, -2)], [(1, -7), (1, 1), (0, 3), (-1, 4)], [(7, -10), (5, -8), (4, -5), (4, 6), (3, 8)], [(5, -7), (5, 5)], [(7, -10), (6, -8), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-6, 8), (-8, 6), (-8, 4), (-7, 3), (-6, 3), (-5, 4), (-6, 5), (-7, 5)], [(-8, 4), (-5, 4)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(-8, 9), (-5, 7), (-2, 6), (1, 6), (3, 7)], [(-6, 8), (-4, 7), (0, 7), (2, 8)], [(-8, 9), (-4, 8), (-1, 8), (1, 9), (3, 7)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (2, -11), (4, -12), (6, -12), (8, -11)], [(5, -11), (6, -11), (7, -10)], [(2, -11), (4, -11), (6, -9), (8, -11)], [(3, -3), (6, -6), (7, -5), (9, -4)], [(5, -5), (7, -4), (9, -4)], [(9, -4), (7, -1), (5, 1), (3, 3)], [(5, 1), (7, 2), (8, 6), (9, 8), (10, 8)], [(7, 4), (8, 8)], [(5, 1), (6, 2), (7, 8), (8, 9), (9, 9), (10, 8)], [(3, -3), (3, 7)]]),
(-11, 11, [[(-9, -10), (-7, -12), (-4, -12), (-2, -11), (0, -12)], [(-6, -11), (-3, -11)], [(-9, -10), (-7, -11), (-5, -10), (-2, -10), (0, -12)], [(-4, -7), (-5, -6), (-6, -4), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 5)], [(-5, -5), (-5, 3)], [(-8, -2), (-5, -2)], [(-4, -7), (-4, 2), (-5, 4), (-6, 5)], [(-7, 9), (-4, 7), (0, 6), (5, 6), (9, 7)], [(-5, 8), (-2, 7), (5, 7), (8, 8)], [(-7, 9), (-3, 8), (4, 8), (7, 9), (9, 7)], [(1, -9), (0, -8), (-1, -6), (-1, 3)], [(0, -7), (0, 1)], [(1, -9), (1, 0), (0, 2), (-1, 3)], [(1, -9), (3, -11), (5, -12), (7, -12), (9, -11)], [(6, -11), (7, -11), (8, -10)], [(3, -11), (5, -11), (7, -9), (9, -11)], [(5, -11), (5, 6)]]),
(-14, 14, [[(-6, -8), (-7, -7), (-8, -5), (-8, -3), (-10, -3), (-11, -2), (-11, 0), (-10, -1), (-8, -1), (-8, 3)], [(-7, -6), (-7, 1)], [(-10, -2), (-7, -2)], [(-6, -8), (-6, 0), (-7, 2), (-8, 3)], [(-13, 9), (-11, 7), (-9, 6), (-7, 6), (-5, 7), (-4, 7), (-3, 6)], [(-10, 7), (-7, 7), (-5, 8)], [(-13, 9), (-11, 8), (-8, 8), (-6, 9), (-5, 9), (-4, 8), (-3, 6)], [(-6, -8), (-2, -12), (2, -8), (2, 5), (3, 7), (4, 7)], [(-2, -11), (1, -8), (1, 6), (0, 7), (1, 8), (2, 7), (1, 6)], [(-2, -2), (1, -2)], [(-4, -10), (-3, -10), (0, -7), (0, -3), (-3, -3)], [(-3, -1), (0, -1), (0, 6), (-1, 7), (1, 9), (4, 7), (5, 6)], [(2, -8), (6, -12), (10, -8), (10, 5), (11, 7), (12, 7)], [(6, -11), (9, -8), (9, 6), (11, 8)], [(6, -2), (9, -2)], [(4, -10), (5, -10), (8, -7), (8, -3), (5, -3)], [(5, -1), (8, -1), (8, 7), (10, 9), (12, 7)], [(-3, -10), (-3, 6)], [(5, -10), (5, 6)]]),
(-13, 12, [[(-11, -9), (-9, -11), (-7, -12), (-5, -12), (-3, -11), (-1, -8), (4, 3), (6, 6), (7, 7)], [(-5, -11), (-3, -9), (-2, -7), (4, 5), (7, 8)], [(-9, -11), (-7, -11), (-5, -10), (-3, -7), (2, 4), (4, 7), (5, 8), (7, 9)], [(4, -10), (6, -9), (8, -9), (10, -10), (11, -12)], [(5, -11), (7, -10), (9, -10)], [(4, -10), (6, -12), (8, -11), (10, -11), (11, -12)], [(-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1)], [(-9, -2), (-7, -2)], [(-11, 9), (-9, 7), (-7, 6), (-4, 6), (-2, 7)], [(-8, 7), (-5, 7), (-3, 8)], [(-11, 9), (-8, 8), (-5, 8), (-4, 9), (-2, 7)], [(-7, -11), (-7, 6)], [(7, -9), (7, 9)], [(0, -6), (1, -5), (3, -4), (5, -4), (7, -5)], [(-7, 2), (-5, 1), (-1, 1), (1, 2)]]),
(-13, 13, [[(-4, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -4), (9, -7), (8, -9), (6, -11), (4, -12), (3, -11), (0, -9), (-3, -8)], [(-8, -8), (-9, -5), (-9, 1), (-8, 4)], [(-4, -12), (-6, -10), (-7, -8), (-8, -5), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -5), (7, -9), (6, -10)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -5), (7, -7), (5, -10), (3, -11)], [(-3, -8), (-3, 5)], [(-2, -8), (-2, 3)], [(-1, -8), (-1, 2), (-2, 4), (-3, 5)], [(3, -11), (3, 8)], [(3, -5), (5, -4), (6, -4), (8, -5)], [(3, 1), (5, 0), (6, 0), (8, 1)]]),
(-10, 12, [[(-7, -12), (-6, -11), (-5, -9), (-5, -3), (-7, -3), (-8, -2), (-8, 0), (-7, -1), (-5, -1), (-5, 7), (-8, 9), (-5, 8), (-5, 16), (-3, 14)], [(-5, -10), (-4, -8), (-4, 14)], [(-7, -2), (-4, -2)], [(-7, -12), (-5, -11), (-4, -10), (-3, -8), (-3, 14)], [(-3, -7), (0, -9), (4, -12), (8, -8), (8, 6)], [(4, -11), (7, -8), (7, 6)], [(2, -10), (3, -10), (6, -7), (6, 7)], [(0, 6), (3, 6), (6, 7)], [(1, 7), (3, 7), (5, 8)], [(0, 8), (2, 8), (4, 9), (6, 7), (8, 6)], [(0, -9), (0, 13)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-13, 13, [[(-4, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -4), (9, -7), (8, -9), (6, -11), (4, -12), (3, -11), (0, -9), (-3, -8)], [(-8, -8), (-9, -5), (-9, 1), (-8, 4)], [(-4, -12), (-6, -10), (-7, -8), (-8, -5), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -5), (7, -9), (6, -10)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -5), (7, -7), (5, -10), (3, -11)], [(-3, -8), (-3, 5)], [(-2, -8), (-2, 3)], [(-1, -8), (-1, 2), (-2, 4), (-3, 5)], [(3, -11), (3, 8)], [(3, -5), (5, -4), (6, -4), (8, -5)], [(3, 1), (5, 0), (6, 0), (8, 1)], [(-2, 9), (-1, 8), (0, 8), (2, 9), (6, 14), (8, 15), (9, 15)], [(2, 10), (4, 13), (6, 15), (7, 15)], [(0, 8), (1, 9), (4, 15), (6, 16), (8, 16), (9, 15)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-5, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-6, -10), (-3, -10), (-1, -12)], [(-5, -7), (-6, -6), (-7, -4), (-7, -3), (-9, -3), (-10, -2), (-10, 0), (-9, -1), (-7, -1), (-7, 5)], [(-6, -5), (-6, 3)], [(-9, -2), (-6, -2)], [(-5, -7), (-5, 2), (-6, 4), (-7, 5)], [(-8, 9), (-5, 7), (-2, 6), (0, 6), (3, 7)], [(-6, 8), (-4, 7), (0, 7), (2, 8)], [(-8, 9), (-4, 8), (-1, 8), (1, 9), (3, 7)], [(0, -9), (-1, -8), (-2, -6), (-2, 3)], [(-1, -7), (-1, 1)], [(0, -9), (0, 0), (-1, 2), (-2, 3)], [(0, -9), (3, -11), (5, -12), (7, -11), (8, -9), (8, -6), (7, -4), (6, -3), (2, -1), (0, 0)], [(5, -11), (6, -11), (7, -9), (7, -5), (6, -4)], [(3, -11), (5, -10), (6, -8), (6, -5), (5, -3), (2, -1)], [(2, -1), (4, 0), (5, 1), (8, 6), (9, 7), (10, 7)], [(5, 2), (7, 6), (9, 8)], [(2, -1), (4, 1), (6, 7), (8, 9), (10, 7)]]),
(-11, 12, [[(3, -9), (2, -10), (0, -11), (-3, -12)], [(4, -10), (2, -11)], [(5, -11), (1, -12), (-3, -12), (-6, -11), (-7, -10), (-8, -8), (-7, -6), (-6, -5), (-3, -4), (5, -4), (7, -3), (8, -2), (8, 0), (7, 3)], [(-7, -7), (-6, -6), (-3, -5), (6, -5), (8, -4), (9, -3), (9, -1), (8, 1)], [(-7, -10), (-7, -8), (-6, -7), (-3, -6), (7, -6), (9, -5), (10, -3), (10, -1), (7, 3), (3, 9)], [(-9, -3), (-8, -2), (-6, -1), (3, -1), (4, 0), (4, 1), (3, 3)], [(-8, -1), (-6, 0), (2, 0), (3, 1)], [(-9, -3), (-9, -2), (-8, 0), (-6, 1), (1, 1), (3, 2), (3, 3)], [(-9, 9), (-6, 7), (-2, 6), (1, 6), (4, 7)], [(-7, 8), (-4, 7), (0, 7), (3, 8)], [(-9, 9), (-5, 8), (0, 8), (3, 9)], [(5, -11), (3, -9), (1, -6)], [(0, -4), (-2, -1)], [(-3, 1), (-5, 3), (-7, 4), (-8, 4), (-8, 3), (-7, 4)]]),
(-13, 11, [[(-8, -8), (-9, -6), (-10, -3), (-10, 1), (-9, 4), (-7, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3)], [(-9, 1), (-8, 4), (-6, 6), (-4, 7), (-1, 8), (2, 8), (5, 7)], [(-8, -8), (-9, -5), (-9, -1), (-8, 2), (-6, 5), (-4, 6), (-1, 7), (2, 7), (5, 6), (7, 5), (9, 3)], [(-10, -9), (-9, -11), (-7, -12), (-3, -12), (3, -11), (7, -11), (9, -12)], [(-2, -11), (2, -10), (6, -10)], [(-10, -9), (-9, -10), (-7, -11), (-4, -11), (2, -9), (5, -9), (7, -10), (9, -12)], [(1, -9), (0, -8), (-2, -7), (-2, 4)], [(-1, -7), (-1, 2)], [(0, -8), (0, 1), (-1, 3), (-2, 4)], [(5, -9), (5, 6)]]),
(-12, 12, [[(-10, -10), (-8, -12), (-6, -12), (-3, -11), (-1, -12)], [(-7, -11), (-4, -11)], [(-10, -10), (-8, -11), (-5, -10), (-3, -10), (-1, -12)], [(-7, -8), (-8, -6), (-9, -3), (-9, 1), (-8, 4), (-7, 6), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 9), (10, 7)], [(-8, 1), (-7, 4), (-4, 7), (-1, 8), (2, 8)], [(-7, -8), (-8, -4), (-8, -1), (-7, 2), (-6, 4), (-4, 6), (-1, 7), (3, 7), (6, 6)], [(3, -9), (-1, -8), (-2, -6), (-2, 4)], [(-1, -7), (-1, 2)], [(0, -8), (0, 1), (-1, 3), (-2, 4)], [(3, -9), (5, -10), (7, -12), (8, -11), (10, -10), (8, -9), (8, 5), (9, 7), (10, 7)], [(7, -9), (8, -10), (7, -11), (6, -10), (7, -9), (7, 6), (9, 8)], [(5, -10), (6, -9), (6, 6)], [(3, -9), (3, 7)], [(3, -4), (6, -4)], [(3, 0), (6, 0)]]),
(-11, 12, [[(-8, -12), (-7, -11), (-6, -9), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 6), (-8, 7)], [(-6, -10), (-5, -8), (-5, 6)], [(-8, -2), (-5, -2)], [(-4, 7), (-1, 7), (1, 8)], [(-8, -12), (-6, -11), (-5, -10), (-4, -8), (-4, 6), (0, 6), (3, 7)], [(-8, 7), (-5, 7), (-2, 8), (0, 9), (3, 7), (6, 6), (8, 6)], [(0, -8), (3, -9), (5, -10), (7, -12), (8, -11), (10, -10), (8, -9), (8, 6)], [(7, -9), (8, -10), (7, -11), (6, -10), (7, -9), (7, 5)], [(5, -10), (6, -9), (6, 6)], [(0, -8), (0, 6)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-13, 14, [[(-10, -12), (-9, -11), (-8, -9), (-8, -3), (-10, -3), (-11, -2), (-11, 0), (-10, -1), (-8, -1), (-8, 6), (-10, 7)], [(-8, -10), (-7, -8), (-7, 6)], [(-10, -2), (-7, -2)], [(-6, 7), (-4, 7), (-2, 8)], [(-10, -12), (-8, -11), (-7, -10), (-6, -8), (-6, 6), (-3, 6), (-1, 7)], [(-10, 7), (-7, 7), (-4, 8), (-3, 9), (-1, 7), (2, 6), (4, 7), (5, 9), (7, 7), (10, 6)], [(-3, -10), (0, -12), (2, -10), (2, 6), (5, 6), (7, 7)], [(0, -11), (1, -10), (1, 6)], [(-3, -10), (-1, -10), (0, -9), (0, 6), (-1, 7)], [(5, 7), (6, 8)], [(5, -10), (8, -12), (10, -10), (10, 6)], [(8, -11), (9, -10), (9, 6)], [(5, -10), (7, -10), (8, -9), (8, 6), (7, 7)], [(-3, -10), (-3, 6)], [(5, -10), (5, 6)], [(-3, -4), (0, -4)], [(-3, 0), (0, 0)], [(5, -4), (8, -4)], [(5, 0), (8, 0)]]),
(-11, 11, [[(-10, -9), (-8, -11), (-6, -12), (-4, -12), (-3, -11), (5, 7), (6, 8), (8, 8)], [(-5, -11), (-4, -10), (4, 7), (5, 8)], [(-8, -11), (-6, -11), (-5, -10), (3, 8), (4, 9), (6, 9), (8, 8), (10, 6)], [(5, -12), (7, -11), (9, -11), (10, -12)], [(5, -11), (6, -10), (8, -10)], [(4, -10), (5, -9), (7, -9), (9, -10), (10, -12)], [(-10, 9), (-9, 7), (-7, 6), (-5, 6), (-4, 7)], [(-8, 7), (-6, 7), (-5, 8)], [(-10, 9), (-9, 8), (-7, 8), (-5, 9)], [(5, -12), (1, -3)], [(-1, 0), (-5, 9)], [(-6, -2), (-2, -2)], [(1, -2), (6, -2)]]),
(-11, 12, [[(-8, -12), (-7, -11), (-6, -9), (-6, -3), (-8, -3), (-9, -2), (-9, 0), (-8, -1), (-6, -1), (-6, 6), (-8, 7)], [(-6, -10), (-5, -8), (-5, 6)], [(-8, -2), (-5, -2)], [(-4, 7), (-1, 7), (1, 8)], [(-8, -12), (-6, -11), (-5, -10), (-4, -8), (-4, 6), (0, 6), (3, 7)], [(-8, 7), (-5, 7), (-2, 8), (0, 9), (3, 7), (6, 6)], [(0, -8), (3, -9), (5, -10), (7, -12), (8, -11), (10, -10), (8, -9), (8, 12), (7, 14), (5, 16), (3, 15), (-1, 14), (-6, 14)], [(7, -9), (8, -10), (7, -11), (6, -10), (7, -9), (7, 7)], [(5, -10), (6, -9), (6, 6), (8, 9)], [(6, 15), (4, 14), (1, 14)], [(7, 14), (4, 13), (-2, 13), (-6, 14)], [(0, -8), (0, 6)], [(0, -5), (2, -4), (4, -4), (6, -5)], [(0, 1), (2, 0), (4, 0), (6, 1)]]),
(-10, 10, [[(6, -11), (5, -9), (0, -3), (-3, 1), (-5, 5), (-8, 9)], [(4, -7), (-4, 4)], [(8, -12), (5, -8), (3, -4), (0, 0), (-5, 6), (-6, 8)], [(-8, -10), (-6, -12), (-3, -11), (3, -11), (8, -12)], [(-7, -11), (-3, -10), (1, -10), (5, -11)], [(-8, -10), (-4, -9), (0, -9), (4, -10), (6, -11)], [(-6, 8), (-4, 7), (0, 6), (4, 6), (8, 7)], [(-5, 8), (-1, 7), (3, 7), (7, 8)], [(-8, 9), (-3, 8), (3, 8), (6, 9), (8, 7)], [(-5, -2), (-1, -2)], [(2, -2), (6, -2)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-11, 11, [[(-11, 16), (11, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-8, 9, [[(-2, 0), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (0, 7), (3, 6)], [(-5, 4), (-4, 6), (-3, 7), (-1, 8)], [(-4, 2), (-4, 4), (-3, 6), (-1, 7), (0, 7)], [(-4, -2), (-2, -2), (1, -3), (3, -4), (4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(-3, -4), (-4, -3), (-1, -3)], [(2, -3), (5, -3), (4, -4), (4, 7), (5, 8)], [(-5, -3), (-3, -5), (-2, -4), (0, -3), (3, -2), (3, 7), (5, 9), (7, 7)], [(-5, -3), (0, 2)]]),
(-9, 9, [[(-6, -10), (-5, -8), (-5, 6), (-7, 7)], [(-4, -8), (-5, -10), (-4, -11), (-4, 6), (-1, 8)], [(-6, -10), (-3, -12), (-3, 6), (-1, 7), (0, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 7)], [(2, -4), (4, -3), (4, 6)], [(0, -3), (1, -3), (3, -2), (3, 7)]]),
(-8, 6, [[(-4, -3), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-3, -3), (-3, 7), (-1, 8)], [(-2, -3), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-4, -3), (0, -4), (2, -5), (3, -4), (5, -3), (6, -3)], [(1, -4), (2, -3), (4, -3)], [(-2, -3), (0, -4), (2, -2), (4, -2), (6, -3)]]),
(-9, 8, [[(0, -5), (-2, -4), (-5, -3), (-5, 6), (-7, 7)], [(-4, -3), (-4, 6), (-1, 8)], [(0, -5), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-5, -10), (-2, -12), (-1, -9), (5, -3), (5, 7)], [(-2, -9), (-4, -10), (-3, -11), (-2, -9), (4, -3), (4, 6)], [(-5, -10), (3, -2), (3, 7)]]),
(-8, 6, [[(-4, -3), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-3, -3), (-3, 7), (-1, 8)], [(-2, -3), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-4, -3), (0, -4), (2, -5), (5, -1), (3, 0), (-2, 3)], [(1, -4), (4, -1)], [(-2, -3), (0, -4), (3, 0)]]),
(-8, 5, [[(-4, -10), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-3, -10), (-3, 7), (-1, 8)], [(-2, -10), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-4, -10), (-1, -11), (1, -12), (2, -11), (4, -10), (5, -10)], [(0, -11), (1, -10), (3, -10)], [(-2, -10), (-1, -11), (1, -9), (3, -9), (5, -10)], [(-7, -5), (-4, -5)], [(-2, -5), (2, -5)]]),
(-9, 9, [[(-5, -3), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(-4, -2), (-4, 7), (-2, 8)], [(-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-5, -3), (-3, -3), (0, -4), (2, -5), (3, -4), (5, -3), (7, -3), (5, -2), (5, 10), (4, 13), (2, 15), (0, 16), (-1, 15), (-3, 14), (-5, 14)], [(1, -4), (4, -2), (4, 10)], [(1, 15), (-1, 14), (-2, 14)], [(0, -4), (1, -3), (3, -2), (3, 8), (4, 11), (4, 13)], [(2, 15), (1, 14), (-1, 13), (-3, 13), (-5, 14)]]),
(-9, 9, [[(-6, -10), (-5, -8), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9)], [(-4, -8), (-5, -10), (-4, -11), (-4, 7), (-2, 8)], [(-6, -10), (-3, -12), (-3, 6), (-1, 7), (-3, 9)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 7), (3, 9), (2, 11)], [(2, -4), (4, -3), (4, 7), (3, 9)], [(0, -3), (1, -3), (3, -2), (3, 7), (2, 11), (2, 14), (3, 16), (4, 16), (2, 14)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -9), (2, -10), (0, -12)], [(0, -11), (-1, -10), (1, -10), (0, -11)], [(0, -5), (-1, -4), (-3, -3), (-1, -2), (-1, 7), (1, 9), (3, 7)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 7), (1, 8)], [(0, -5), (1, -4), (3, -3), (1, -2), (1, 6), (2, 7), (3, 7)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -9), (2, -10), (0, -12)], [(0, -11), (-1, -10), (1, -10), (0, -11)], [(0, -5), (-1, -4), (-3, -3), (-1, -2), (-1, 7), (1, 9), (2, 11)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 7), (1, 9)], [(0, -5), (1, -4), (3, -3), (1, -2), (1, 7), (2, 11), (2, 14), (0, 16), (-2, 16), (-2, 15), (0, 16)]]),
(-9, 8, [[(-6, -10), (-5, -8), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9)], [(-4, -8), (-5, -10), (-4, -11), (-4, 7), (-2, 8)], [(-6, -10), (-3, -12), (-3, 6), (-1, 7), (-3, 9)], [(-3, -2), (0, -4), (2, -5), (4, -2), (1, 0), (-3, 3)], [(1, -4), (3, -2)], [(0, -4), (2, -1)], [(1, 0), (2, 1), (4, 6), (5, 7), (6, 7)], [(1, 1), (2, 2), (3, 7), (4, 8)], [(0, 1), (1, 2), (2, 7), (4, 9), (6, 7)]]),
(-5, 5, [[(-2, -10), (-1, -8), (-1, 6), (-3, 7), (-2, 7), (0, 8), (1, 9)], [(0, -8), (-1, -10), (0, -11), (0, 7), (2, 8)], [(-2, -10), (1, -12), (1, 6), (3, 7), (4, 7), (2, 8), (1, 9)]]),
(-13, 13, [[(-11, -3), (-10, -3), (-9, -2), (-9, 6), (-11, 7), (-10, 7), (-8, 8), (-7, 9)], [(-9, -4), (-8, -3), (-8, 7), (-6, 8)], [(-11, -3), (-9, -5), (-7, -3), (-7, 6), (-5, 7), (-7, 9)], [(-7, -2), (-4, -3), (-2, -4), (-1, -5), (1, -3), (1, 6), (3, 7), (1, 9)], [(-2, -4), (0, -3), (0, 7), (2, 8)], [(-4, -3), (-3, -3), (-1, -2), (-1, 6), (-2, 7), (0, 8), (1, 9)], [(1, -2), (4, -3), (6, -4), (7, -5), (8, -4), (10, -3), (11, -3), (9, -2), (9, 6), (10, 7), (11, 7)], [(6, -4), (8, -3), (8, 7), (9, 8)], [(4, -3), (5, -3), (7, -2), (7, 7), (9, 9), (11, 7)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-7, 7), (-6, 7), (-4, 8), (-3, 9)], [(-5, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (-3, 9)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(2, -4), (4, -3), (4, 7), (5, 8)], [(0, -3), (1, -3), (3, -2), (3, 7), (5, 9), (7, 7)]]),
(-9, 9, [[(-5, -3), (-5, 6), (-7, 7)], [(-4, -2), (-4, 6), (-1, 8)], [(-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-5, -3), (-3, -3), (0, -4), (2, -5), (3, -4), (5, -3), (7, -3), (5, -2), (5, 7)], [(1, -4), (4, -2), (4, 6)], [(0, -4), (1, -3), (3, -2), (3, 7)]]),
(-9, 9, [[(-6, -5), (-5, -3), (-5, 6), (-7, 7), (-5, 7), (-5, 16)], [(-5, -4), (-4, -3), (-4, 15), (-3, 14), (-4, 12)], [(-4, 7), (-3, 7), (-1, 8)], [(-6, -5), (-4, -4), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-3, 8), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-3, 8), (-3, 12), (-2, 14), (-5, 16)], [(-3, -2), (0, -3), (2, -4), (3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 7)], [(2, -4), (4, -3), (4, 6)], [(0, -3), (1, -3), (3, -2), (3, 7)]]),
(-9, 9, [[(-5, -3), (-5, 6), (-7, 7)], [(-4, -2), (-4, 7), (-2, 8)], [(-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(-5, -3), (-3, -3), (0, -4), (2, -5), (3, -4), (5, -3), (7, -3), (5, -2), (5, 16)], [(1, -4), (4, -2), (4, 15), (3, 14), (4, 12)], [(0, -4), (1, -3), (3, -2), (3, 12), (2, 14), (5, 16)]]),
(-8, 6, [[(-6, -3), (-5, -3), (-4, -2), (-4, 6), (-6, 7), (-5, 7), (-3, 8), (-2, 9)], [(-5, -4), (-3, -3), (-3, 7), (-1, 8)], [(-6, -3), (-4, -5), (-2, -3), (-2, 6), (0, 7), (1, 7), (-1, 8), (-2, 9)], [(-2, -3), (2, -5), (3, -4), (5, -3), (6, -3)], [(1, -4), (2, -3), (4, -3)], [(0, -4), (2, -2), (4, -2), (6, -3)]]),
(-8, 8, [[(-5, -3), (-5, 1), (-3, 2), (3, 2), (5, 3), (5, 7)], [(-4, -3), (-4, 1)], [(4, 3), (4, 7)], [(-2, -4), (-3, -3), (-3, 1), (-1, 2)], [(1, 2), (3, 3), (3, 7), (2, 8)], [(-5, -3), (-2, -4), (0, -5), (2, -4), (4, -4), (5, -5)], [(-1, -4), (1, -4)], [(-2, -4), (0, -3), (2, -3), (4, -4)], [(5, 7), (2, 8), (0, 9), (-2, 8), (-4, 8), (-6, 9)], [(1, 8), (-1, 8)], [(2, 8), (0, 7), (-3, 7), (-6, 9)], [(5, -5), (4, -3), (2, 0), (-3, 5), (-6, 9)]]),
(-5, 5, [[(-2, -10), (-1, -8), (-1, 6), (-3, 7), (-2, 7), (0, 8), (1, 9)], [(0, -8), (-1, -10), (0, -11), (0, 7), (2, 8)], [(-2, -10), (1, -12), (1, 6), (3, 7), (4, 7), (2, 8), (1, 9)], [(-4, -5), (-1, -5)], [(1, -5), (4, -5)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-7, 7)], [(-6, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(2, -4), (4, -3), (4, 7), (5, 8)], [(3, -5), (1, -3), (3, -2), (3, 7), (5, 9), (7, 7)]]),
(-9, 9, [[(-6, -5), (-5, -3), (-5, 6), (-2, 9), (0, 7), (3, 6), (5, 6)], [(-5, -4), (-4, -3), (-4, 6), (-1, 8)], [(-6, -5), (-4, -4), (-3, -3), (-3, 5), (-2, 6), (0, 7)], [(3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 6)], [(2, -4), (4, -3), (4, 5)], [(3, -5), (1, -3), (3, -2), (3, 6)]]),
(-13, 13, [[(-10, -5), (-9, -3), (-9, 6), (-6, 9), (-4, 7), (-1, 6)], [(-9, -4), (-8, -3), (-8, 6), (-5, 8)], [(-10, -5), (-8, -4), (-7, -3), (-7, 5), (-6, 6), (-4, 7)], [(-1, -5), (-3, -3), (-1, -2), (-1, 6), (2, 9), (4, 7), (7, 6), (9, 6)], [(-2, -4), (0, -3), (0, 6), (3, 8)], [(-1, -5), (0, -4), (2, -3), (1, -2), (1, 5), (2, 6), (4, 7)], [(7, -5), (8, -4), (10, -3), (11, -3), (9, -2), (9, 6)], [(6, -4), (8, -3), (8, 5)], [(7, -5), (5, -3), (7, -2), (7, 6)]]),
(-10, 9, [[(-7, -3), (-6, -3), (-4, -2), (-3, -1), (1, 7), (2, 8), (4, 9), (6, 7)], [(-5, -4), (-3, -3), (2, 7), (4, 8)], [(-7, -3), (-5, -5), (-3, -4), (-2, -3), (2, 5), (3, 6), (5, 7), (6, 7)], [(0, 1), (3, -5), (4, -4), (6, -4), (7, -5)], [(3, -4), (4, -3), (5, -3)], [(2, -3), (4, -2), (6, -3), (7, -5)], [(-1, 3), (-4, 9), (-5, 8), (-7, 8), (-8, 9)], [(-4, 8), (-5, 7), (-6, 7)], [(-3, 7), (-5, 6), (-7, 7), (-8, 9)], [(-5, 2), (-2, 2)], [(1, 2), (4, 2)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-7, 7)], [(-6, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 7)], [(-7, 7), (-6, 7), (-4, 8), (-3, 9), (-2, 8), (0, 7), (3, 6)], [(3, -5), (4, -4), (6, -3), (7, -3), (5, -2), (5, 10), (4, 13), (2, 15), (0, 16), (-1, 15), (-3, 14), (-5, 14)], [(2, -4), (4, -3), (4, 10)], [(1, 15), (-1, 14), (-2, 14)], [(3, -5), (1, -3), (3, -2), (3, 8), (4, 11), (4, 13)], [(2, 15), (1, 14), (-1, 13), (-3, 13), (-5, 14)]]),
(-9, 9, [[(6, -5), (-6, 9)], [(-6, -3), (-4, -2), (-1, -2), (2, -3), (6, -5)], [(-5, -4), (-3, -3), (1, -3)], [(-6, -3), (-4, -5), (-2, -4), (2, -4), (6, -5)], [(-6, 9), (-2, 7), (1, 6), (4, 6), (6, 7)], [(-1, 7), (3, 7), (5, 8)], [(-6, 9), (-2, 8), (2, 8), (4, 9), (6, 7)], [(-4, 2), (4, 2)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
GOTHICGER = [
(-8, 8, [[]]),
(-6, 6, [[(0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2)], [(0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2)], [(0, -12), (1, -11), (3, -10), (1, -9), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(6, -8), (5, -10)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, 7), (-6, 5)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(7, -4), (8, -3), (9, -3), (10, -4)], [(6, -3), (7, -2), (9, -2)], [(6, -2), (7, -1), (8, -1), (9, -2), (10, -4)], [(7, -4), (1, 2)], [(0, 3), (-6, 9), (-10, 4), (-4, -2)], [(-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-6, 8), (-9, 4)], [(0, -7), (-3, -11)], [(-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8)], [(-5, 8), (-9, 3)], [(0, -6), (-4, -11)], [(-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6)]]),
(-4, 5, [[(1, -12), (0, -11), (0, -5)], [(1, -11), (0, -5)], [(1, -12), (2, -11), (0, -5)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-6, 6, [[(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7)], [(-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8)], [(-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7)], [(-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7)]]),
(-10, 10, [[(-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10)], [(-2, -10), (0, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11)], [(4, -10), (4, -2)], [(5, -9), (5, -3)], [(6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9)], [(-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7)], [(-4, 8), (-1, 7), (4, 7), (7, 8)], [(-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7)]]),
(-10, 10, [[(-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10)], [(-3, -10), (-1, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -11)], [(4, -10), (4, -3)], [(5, -9), (5, -4)], [(6, -10), (6, -3), (4, -3), (1, -2), (-1, -1)], [(-1, -2), (1, -1), (4, 0), (6, 0), (6, 7)], [(5, 1), (5, 6)], [(4, 0), (4, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(3, -12), (-7, -2), (-7, 3), (2, 3)], [(4, 3), (8, 3), (9, 4), (9, 2), (8, 3)], [(-6, -2), (-6, 2)], [(-5, -4), (-5, 3)], [(2, -11), (2, 6), (0, 7)], [(3, -8), (4, -10), (3, -11), (3, 7), (5, 8)], [(3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7)], [(0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7)]]),
(-10, 10, [[(-6, -12), (-6, -3)], [(-6, -12), (6, -12)], [(-5, -11), (4, -11)], [(-6, -10), (3, -10), (5, -11), (6, -12)], [(4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3)], [(1, -4), (2, -4), (4, -3), (4, 7)], [(3, -5), (5, -4), (5, 6)], [(4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10)], [(1, -11), (3, -10)], [(0, -11), (2, -9), (4, -9), (6, -10)], [(-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5)], [(1, -3), (2, -3), (4, -2), (4, 7)], [(3, -4), (5, -2), (5, 6)], [(4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12)], [(-6, -11), (-3, -10), (2, -10), (5, -11)], [(-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12)], [(8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9)], [(0, -1), (-1, 2), (-1, 5), (0, 8)], [(3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9)]]),
(-10, 10, [[(-6, -9), (-6, -3)], [(-5, -8), (-5, -4)], [(-4, -9), (-4, -3)], [(-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12)], [(1, -10), (2, -10), (4, -9), (4, -3)], [(3, -11), (5, -10), (5, -4)], [(4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3)], [(-6, -3), (-4, -3), (4, 0), (6, 0)], [(6, -3), (4, -3), (-4, 0), (-6, 0)], [(-6, 0), (-6, 6), (-8, 7)], [(-5, 1), (-5, 6), (-2, 8)], [(-4, 0), (-4, 6), (-2, 7), (-1, 8)], [(4, 0), (4, 7)], [(5, 1), (5, 6)], [(6, 0), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, -1), (-8, 0)], [(-5, -9), (-5, 0), (-3, 1)], [(-4, -10), (-4, -1), (-2, 0), (-1, 0)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1)], [(-5, -8), (-4, -10)], [(4, -10), (5, -9), (5, -5), (4, -4)], [(-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1)], [(0, -1), (0, 2), (1, -1), (-1, -1), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-12, 12, [[(-9, -10), (-8, -9), (-9, -8), (-10, -9), (-9, -11), (-7, -12), (-5, -12), (-3, -11), (-2, -10), (-1, -7), (-1, -3), (-2, 0), (-4, 2), (-6, 3), (-9, 4)], [(-3, -10), (-2, -7), (-2, -2), (-3, 0)], [(-5, -12), (-4, -11), (-3, -8), (-3, -2), (-4, 1), (-6, 3)], [(-6, 4), (-3, 7)], [(-7, 4), (-3, 8)], [(-9, 4), (-4, 9), (3, 4)], [(10, -11), (9, -10), (10, -10), (10, -11), (9, -12), (7, -12), (5, -11), (4, -10), (3, -8), (3, 7), (5, 9), (9, 5)], [(5, -10), (4, -8), (4, 6), (6, 8)], [(7, -12), (6, -11), (5, -8), (5, 5), (7, 7)]]),
(-13, 13, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 0), (-1, 3), (-3, 5)], [(-2, -10), (-1, -8), (-1, 2)], [(-4, -12), (-3, -11), (-2, -8), (-2, 3), (-3, 5)], [(0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(10, -7), (0, -2)], [(7, -5), (9, -3), (10, 0), (10, 3), (9, 6), (7, 8), (4, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6)], [(6, -4), (7, -4), (9, -2)], [(4, -4), (7, -3), (9, -1), (10, 1)], [(2, 8), (0, 8), (-6, 5), (-7, 5)], [(8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7)]]),
(-12, 12, [[(0, -10), (-2, -12), (-4, -12), (-6, -11), (-8, -8), (-9, -4), (-9, 0), (-8, 4), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5)], [(-6, -10), (-7, -8), (-8, -5), (-8, 0), (-7, 4), (-5, 7), (-2, 8)], [(-4, -12), (-5, -11), (-6, -9), (-7, -5), (-7, -1), (-6, 3), (-5, 5), (-3, 7), (0, 8), (3, 8), (6, 7), (9, 5)], [(3, -12), (0, -10), (-1, -9), (-2, -7), (-2, -6), (-1, -4), (2, -2), (3, 0), (3, 2)], [(-1, -7), (-1, -6), (3, -2), (3, -1)], [(-1, -9), (-1, -8), (0, -6), (3, -4), (4, -2), (4, 0), (3, 2), (1, 3), (0, 3), (-2, 2), (-3, 0)], [(3, -12), (4, -11), (6, -10), (8, -10)], [(3, -11), (4, -10), (5, -10)], [(2, -11), (4, -9), (6, -9), (8, -10), (9, -11)]]),
(-13, 13, [[(-10, -6), (-10, -7), (-9, -9), (-7, -11), (-4, -12), (0, -12), (3, -11), (5, -10), (7, -8), (9, -5), (10, -1), (10, 3), (9, 6), (7, 8), (4, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6)], [(-7, -10), (-5, -11), (0, -11), (3, -10), (5, -9), (7, -7), (9, -4)], [(2, 8), (0, 8), (-6, 5), (-7, 5)], [(-10, -7), (-8, -9), (-5, -10), (0, -10), (3, -9), (5, -8), (7, -6), (9, -3), (10, 0)], [(8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7)], [(-2, -10), (-5, -7), (-6, -5), (-6, -3), (-4, 1), (-4, 3)], [(-5, -4), (-5, -3), (-4, -1), (-4, 0)], [(-5, -7), (-5, -5), (-3, -1), (-3, 1), (-4, 3), (-5, 4), (-7, 4), (-8, 3), (-8, 2)]]),
(-12, 12, [[(0, -10), (-2, -12), (-4, -12), (-6, -11), (-8, -8), (-9, -4), (-9, 0), (-8, 4), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5)], [(-6, -10), (-7, -8), (-8, -5), (-8, 0), (-7, 4), (-5, 7), (-2, 8)], [(-4, -12), (-5, -11), (-6, -9), (-7, -5), (-7, -1), (-6, 3), (-5, 5), (-3, 7), (0, 8), (3, 8), (6, 7), (9, 5)], [(3, -12), (0, -10), (-1, -9), (-2, -7), (-2, -6), (-1, -4), (2, -2), (3, 0), (3, 2)], [(-1, -7), (-1, -6), (3, -2), (3, -1)], [(-1, -9), (-1, -8), (0, -6), (3, -4), (4, -2), (4, 0), (3, 2), (1, 3), (0, 3), (-2, 2), (-3, 0)], [(3, -12), (4, -11), (6, -10), (8, -10)], [(3, -11), (4, -10), (5, -10)], [(2, -11), (4, -9), (6, -9), (8, -10), (9, -11)], [(3, -4), (7, -7)], [(7, -7), (8, -6), (10, -6)], [(6, -6), (7, -5), (8, -5)], [(5, -5), (6, -4), (8, -4), (10, -6)]]),
(-12, 12, [[(-5, -4), (-7, -5), (-8, -7), (-8, -9), (-7, -11), (-4, -12), (-1, -12), (2, -11), (6, -9)], [(-7, -10), (-5, -11), (0, -11), (3, -10)], [(-8, -7), (-7, -9), (-5, -10), (0, -10), (6, -9), (8, -9), (9, -10), (9, -11), (8, -12), (7, -12)], [(1, -10), (0, -9), (-1, -7), (-1, -5), (0, -3), (4, 1), (5, 4), (5, 7), (4, 10), (3, 11), (1, 12)], [(2, -2), (5, 1), (6, 4), (6, 7), (5, 9)], [(-1, -5), (1, -3), (4, -1), (6, 1), (7, 4), (7, 7), (6, 9), (4, 11), (1, 12), (-3, 12), (-6, 11), (-7, 10), (-8, 8), (-8, 5), (-6, 2), (-6, 0), (-7, -1)], [(-6, 10), (-7, 9), (-7, 5), (-6, 3)], [(-3, 12), (-5, 11), (-6, 9), (-6, 5), (-5, 2), (-5, 0), (-6, -1), (-8, -1), (-9, 0), (-9, 1)], [(3, -2), (7, -6)], [(7, -6), (8, -5), (10, -5)], [(6, -5), (7, -4), (8, -4)], [(5, -4), (6, -3), (8, -3), (10, -5)]]),
(-13, 13, [[(3, -8), (2, -10), (1, -11), (-1, -12), (-4, -12), (-7, -11), (-9, -8), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5), (10, 2), (10, -1), (9, -4), (7, -6)], [(-7, -10), (-8, -8), (-9, -5), (-9, 0), (-8, 3), (-7, 5)], [(8, 5), (9, 3), (9, -1), (8, -4), (7, -5)], [(-4, -12), (-6, -11), (-7, -9), (-8, -5), (-8, 0), (-7, 4), (-6, 6), (-4, 8)], [(5, 8), (7, 6), (8, 3), (8, -1), (7, -3), (5, -5)], [(3, -12), (0, -10), (-2, -8), (-3, -6), (-3, -5), (-2, -3), (1, -1), (2, 1), (2, 3)], [(-2, -6), (-2, -5), (2, -1), (2, 0)], [(-2, -8), (-2, -7), (-1, -5), (2, -3), (3, -1), (3, 1), (2, 3), (0, 4), (-1, 4), (-3, 3), (-4, 1)], [(2, -3), (7, -6), (8, -8)], [(10, -12), (8, -8)], [(7, -11), (11, -9)], [(10, -12), (9, -11), (7, -11), (8, -10), (8, -8), (9, -9), (11, -9), (10, -10), (10, -12)]]),
(-12, 13, [[(0, -12), (-2, -11), (-4, -9), (-5, -7), (-5, -5), (-4, -3), (-2, -1), (-1, 1), (-1, 3)], [(-4, -6), (-4, -5), (-1, -1), (-1, 0)], [(-4, -9), (-4, -7), (-3, -5), (-1, -3), (0, -1), (0, 1), (-1, 3), (-2, 4), (-4, 5), (-6, 5), (-8, 4), (-9, 3), (-10, 1), (-10, -1), (-9, -2), (-8, -1), (-9, 0)], [(0, -12), (2, -10), (4, -10), (6, -11)], [(-1, -11), (1, -10)], [(-2, -11), (-1, -10), (1, -9), (3, -9), (6, -11)], [(0, -2), (7, -7)], [(7, -7), (9, -4), (10, -1), (10, 2), (9, 5), (7, 7), (4, 8), (0, 9)], [(6, -6), (8, -4), (9, -1), (9, 3), (8, 5)], [(4, -5), (5, -5), (7, -3), (8, 0), (8, 4), (7, 6), (6, 7), (4, 8)], [(4, 8), (2, 8), (0, 7), (-2, 7), (-4, 8), (-5, 10), (-4, 12), (-2, 13), (0, 13), (2, 12)], [(1, 8), (-1, 8)], [(0, 9), (-2, 8), (-4, 8)]]),
(-12, 13, [[(-2, -2), (-4, -2), (-6, -3), (-7, -4), (-8, -6), (-8, -8), (-7, -10), (-6, -11), (-3, -12), (-1, -12), (2, -11), (5, -8), (7, -7)], [(-6, -10), (-4, -11), (0, -11), (2, -10), (3, -9)], [(-8, -8), (-7, -9), (-5, -10), (-1, -10), (2, -9), (4, -8), (7, -7), (9, -7), (10, -8), (10, -10), (9, -11), (7, -11)], [(-8, 6), (-7, 7), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 4), (-4, 5), (-2, 7), (0, 10), (2, 12)], [(-4, 6), (-3, 7), (-1, 10), (0, 11)], [(-6, 4), (-5, 5), (-4, 7), (-2, 10), (-1, 11), (1, 12), (4, 12), (6, 11), (7, 10), (8, 8), (8, 5), (7, 3), (5, 0), (4, -2), (4, -3)], [(7, 6), (7, 5), (4, 0), (4, -1)], [(6, 11), (7, 9), (7, 7), (6, 5), (4, 2), (3, 0), (3, -2), (5, -4), (7, -4), (8, -3), (8, -2)]]),
(-12, 13, [[(-2, -2), (-4, -2), (-6, -3), (-7, -4), (-8, -6), (-8, -8), (-7, -10), (-6, -11), (-3, -12), (-1, -12), (2, -11), (5, -8), (7, -7)], [(-6, -10), (-4, -11), (0, -11), (2, -10), (3, -9)], [(-8, -8), (-7, -9), (-5, -10), (-1, -10), (2, -9), (4, -8), (7, -7), (9, -7), (10, -8), (10, -10), (9, -11), (7, -11)], [(-8, 6), (-7, 7), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 4), (-4, 5), (-2, 7), (0, 10), (2, 12)], [(-4, 6), (-3, 7), (-1, 10), (0, 11)], [(-6, 4), (-5, 5), (-4, 7), (-2, 10), (-1, 11), (1, 12), (4, 12), (6, 11), (7, 10), (8, 8), (8, 5), (7, 3), (5, 0), (4, -2), (4, -3)], [(7, 6), (7, 5), (4, 0), (4, -1)], [(6, 11), (7, 9), (7, 7), (6, 5), (4, 2), (3, 0), (3, -2), (5, -4), (7, -4), (8, -3), (8, -2)]]),
(-13, 13, [[(9, -7), (8, -9), (6, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-6, -4), (-5, -1), (-2, 5), (-2, 7), (-4, 9)], [(-5, -4), (-5, -3), (-2, 3), (-2, 4)], [(-4, -10), (-5, -8), (-5, -5), (-4, -3), (-2, 1), (-1, 4), (-1, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8)], [(-10, 4), (-8, 8)], [(-11, 7), (-7, 5)], [(-10, 4), (-10, 6), (-11, 7), (-9, 7), (-8, 8), (-8, 6), (-7, 5), (-9, 5), (-10, 4)], [(-4, -3), (-4, -5), (-3, -7), (-1, -8), (2, -8), (4, -7), (6, -5), (7, -5)], [(3, -7), (5, -5)], [(0, -8), (2, -7), (3, -6), (4, -4)], [(7, -5), (-2, -1)], [(3, -3), (7, 6), (8, 7), (9, 7)], [(2, -2), (6, 6), (8, 8)], [(1, -2), (5, 7), (7, 9), (10, 6)]]),
(-11, 12, [[(8, 1), (7, 2), (4, 2), (3, 1), (3, -1), (4, -3), (6, -6), (7, -8), (7, -10)], [(4, -1), (4, -2), (7, -6), (7, -7)], [(5, 2), (4, 1), (4, 0), (5, -2), (7, -4), (8, -6), (8, -8), (7, -10), (6, -11), (3, -12), (-2, -12), (-5, -11), (-6, -10), (-7, -8), (-7, -6), (-6, -4), (-4, -1), (-3, 1), (-3, 2), (-4, 4)], [(-6, -7), (-6, -6), (-3, -1), (-3, 0)], [(-6, -10), (-6, -8), (-5, -6), (-3, -3), (-2, -1), (-2, 1), (-3, 3), (-5, 5), (-8, 7)], [(-5, 5), (-3, 5), (0, 7), (3, 8), (6, 8), (8, 7)], [(-4, 6), (-3, 6), (1, 8), (2, 8)], [(-8, 7), (-6, 6), (-5, 6), (-1, 8), (2, 9), (4, 9), (7, 8), (8, 7), (9, 5)]]),
(-16, 16, [[(-13, -1), (-13, 0), (-12, 1), (-10, 1), (-8, 0), (-8, -3), (-9, -5), (-11, -8), (-11, -10), (-9, -12)], [(-9, -3), (-11, -7)], [(-10, 1), (-9, 0), (-9, -2), (-11, -5), (-12, -7), (-12, -9), (-11, -11), (-9, -12), (-7, -12), (-5, -11), (-3, -9), (-2, -6), (-2, 0), (-3, 3), (-4, 5), (-6, 7), (-9, 9), (-10, 8), (-11, 8)], [(-4, -9), (-3, -6), (-3, 0), (-4, 3), (-5, 5)], [(-8, 8), (-9, 7), (-10, 7)], [(-7, -12), (-5, -10), (-4, -7), (-4, 0), (-5, 4), (-6, 6), (-7, 7), (-8, 6), (-9, 6), (-12, 9)], [(-4, -11), (-2, -12), (0, -12), (2, -11), (4, -9), (5, -6), (5, 0), (4, 3), (3, 5), (1, 7), (-1, 9), (-2, 8), (-3, 8)], [(3, -9), (4, -6), (4, 0), (3, 4)], [(0, 8), (-1, 7), (-2, 7)], [(0, -12), (2, -10), (3, -7), (3, 1), (2, 5), (1, 7), (0, 6), (-1, 6), (-4, 9)], [(3, -10), (4, -11), (6, -12), (8, -12), (10, -11), (11, -10), (12, -8), (13, -7)], [(10, -10), (11, -8)], [(8, -12), (9, -11), (10, -8), (11, -7), (13, -7)], [(13, -7), (10, -5), (9, -4), (8, -1), (8, 2), (9, 6), (11, 9), (14, 6)], [(10, -4), (9, -2), (9, 2), (10, 5), (12, 8)], [(13, -7), (11, -5), (10, -3), (10, 1), (11, 5), (13, 7)]]),
(-14, 14, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (0, -9), (1, -6), (1, 0), (0, 3), (-1, 5), (-3, 7), (-6, 9), (-7, 8), (-9, 8), (-11, 9)], [(-1, -9), (0, -7), (0, 0), (-1, 3), (-2, 5), (-3, 6)], [(-5, 8), (-7, 7), (-9, 7)], [(-4, -12), (-2, -10), (-1, -7), (-1, 0), (-2, 4), (-4, 7), (-6, 6), (-8, 6), (-11, 9)], [(0, -10), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(10, -7), (7, -5), (6, -4), (5, -1), (5, 2), (6, 6), (8, 9), (11, 6)], [(7, -4), (6, -2), (6, 2), (7, 5), (9, 8)], [(10, -7), (8, -5), (7, -3), (7, 1), (8, 5), (10, 7)]]),
(-14, 14, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-7, -5), (-5, -1), (-5, 1)], [(-6, -6), (-6, -5), (-5, -3), (-5, -2)], [(-6, -9), (-6, -7), (-4, -3), (-4, -1), (-5, 1), (-6, 2), (-8, 2), (-9, 1), (-9, 0)], [(-2, -12), (-1, -11), (5, -9), (8, -7), (9, -5), (10, -2), (10, 1), (9, 4), (8, 6), (6, 8), (3, 9), (0, 9), (-3, 8), (-9, 5), (-10, 5), (-11, 6)], [(-2, -11), (-1, -10), (5, -8), (7, -7), (8, -6)], [(-2, -12), (-2, -10), (-1, -9), (5, -7), (7, -6), (9, -4), (10, -2)], [(1, 8), (-1, 8), (-7, 5), (-8, 5)], [(7, 7), (5, 8), (2, 8), (-1, 7), (-5, 5), (-8, 4), (-10, 4), (-11, 6), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-13, 14, [[(-10, -1), (-10, 0), (-9, 1), (-7, 1), (-5, 0), (-5, -3), (-6, -5), (-8, -8), (-8, -10), (-6, -12)], [(-6, -3), (-8, -7)], [(-7, 1), (-6, 0), (-6, -2), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -10), (1, -8), (1, 3)], [(1, 5), (1, 10), (0, 12), (-2, 13), (-5, 13), (-6, 12), (-6, 10), (-5, 9), (-4, 10), (-5, 11)], [(-1, -10), (0, -8), (0, 10), (-1, 12)], [(-3, -12), (-2, -11), (-1, -8), (-1, 3)], [(-1, 5), (-1, 10), (-2, 12), (-3, 13)], [(1, -8), (6, -12)], [(6, -12), (8, -9), (9, -7), (10, -3), (10, 0), (9, 3), (7, 6), (4, 9)], [(5, -11), (8, -7), (9, -4), (9, -3)], [(4, -10), (6, -8), (8, -5), (9, -2), (9, 1), (8, 4), (7, 6)], [(5, 7), (3, 4), (1, 3)], [(-1, 3), (-3, 4), (-5, 6)], [(5, 8), (3, 5), (1, 4), (-2, 4)], [(4, 9), (2, 6), (1, 5)], [(-1, 5), (-3, 5), (-5, 6)]]),
(-14, 14, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-7, -5), (-5, -1), (-5, 1)], [(-6, -6), (-6, -5), (-5, -3), (-5, -2)], [(-6, -9), (-6, -7), (-4, -3), (-4, -1), (-5, 1), (-6, 2), (-8, 2), (-9, 1), (-9, 0)], [(-2, -12), (-1, -11), (5, -9), (8, -7), (9, -5), (10, -2), (10, 1), (9, 4), (8, 6)], [(6, 8), (3, 9), (0, 9), (-3, 8), (-9, 5), (-10, 5), (-11, 6)], [(-2, -11), (-1, -10), (5, -8), (7, -7), (8, -6)], [(-2, -12), (-2, -10), (-1, -9), (5, -7), (7, -6), (9, -4), (10, -2)], [(1, 8), (-1, 8), (-7, 5), (-8, 5)], [(6, 8), (2, 8), (-1, 7), (-5, 5), (-8, 4), (-10, 4), (-11, 6), (-11, 8), (-10, 9), (-9, 8), (-10, 7)], [(2, 6), (4, 4), (6, 4), (10, 8), (11, 8)], [(5, 5), (6, 5), (9, 8)], [(3, 5), (4, 5), (8, 9), (10, 9), (12, 7)]]),
(-14, 14, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 4), (-1, 6), (-3, 8), (-5, 9), (-7, 9), (-9, 8)], [(-2, -10), (-1, -8), (-1, 4), (-2, 6)], [(-4, -12), (-3, -11), (-2, -8), (-2, 4), (-3, 7), (-5, 9)], [(-11, 4), (-9, 8)], [(-12, 7), (-8, 5)], [(-11, 4), (-11, 6), (-12, 7), (-10, 7), (-9, 8), (-9, 6), (-8, 5), (-10, 5), (-11, 4)], [(0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(10, -7), (0, -2)], [(2, -3), (6, 7), (8, 9), (11, 6)], [(3, -3), (7, 6), (9, 8)], [(4, -4), (8, 6), (9, 7), (10, 7)]]),
(-13, 14, [[(10, -10), (9, -11), (10, -12), (11, -11), (11, -9), (10, -7), (8, -7), (4, -9), (1, -10), (-3, -10), (-7, -9), (-9, -7)], [(7, -8), (4, -10), (1, -11), (-3, -11), (-6, -10)], [(11, -9), (10, -8), (8, -8), (4, -11), (1, -12), (-3, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 7), (10, 5), (11, 2), (11, -1), (10, -3), (8, -4), (5, -4), (3, -3), (1, 0), (-1, 1), (-3, 1)], [(-6, 6), (-4, 7), (-1, 8), (3, 8), (7, 7)], [(-9, 3), (-7, 5), (-5, 6), (-2, 7), (3, 7), (7, 6), (9, 5), (10, 4), (11, 2)], [(6, -3), (5, -3), (1, 1), (0, 1)], [(11, -1), (9, -3), (7, -3), (5, -2), (3, 1), (1, 2), (-1, 2), (-3, 1), (-4, -1), (-4, -3), (-3, -5), (-1, -6)]]),
(-12, 13, [[(-6, -4), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-5, -12), (0, -12), (3, -11), (7, -8), (9, -8), (10, -9)], [(-8, -10), (-6, -11), (0, -11), (3, -10), (6, -8)], [(-9, -7), (-8, -9), (-6, -10), (0, -10), (3, -9), (7, -7), (9, -7), (10, -9), (10, -11), (9, -12), (8, -11), (9, -10)], [(3, -9), (0, -6), (-1, -4), (-1, -2), (1, 2), (1, 4)], [(0, -3), (0, -2), (1, 0), (1, 1)], [(0, -6), (0, -4), (2, 0), (2, 2), (1, 4), (0, 5), (-2, 5), (-3, 4), (-3, 2)], [(-8, 7), (-7, 8), (-8, 9), (-9, 8), (-9, 6), (-8, 4), (-6, 4), (-3, 5), (1, 7), (4, 8), (7, 8), (9, 7)], [(-6, 5), (-5, 5), (1, 8), (3, 8)], [(-9, 6), (-8, 5), (-7, 5), (-5, 6), (-1, 8), (2, 9), (5, 9), (8, 8), (10, 6)]]),
(-11, 11, [[(-8, -10), (-7, -10), (-6, -9), (-6, 5), (-8, 6)], [(-7, -11), (-5, -10), (-5, 6), (-2, 8)], [(-9, -9), (-6, -12), (-4, -10), (-4, 5), (-2, 7), (0, 7)], [(-8, 6), (-7, 6), (-5, 7), (-3, 9), (0, 7), (4, 4)], [(2, -10), (3, -10), (4, -9), (4, 7), (6, 9), (9, 6)], [(3, -11), (5, -10), (5, 7), (7, 8)], [(1, -9), (4, -12), (7, -10), (6, -9), (6, 6), (7, 7), (8, 7)]]),
(-14, 14, [[(-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12)], [(-7, -3), (-9, -7)], [(-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 0), (-1, 3), (-3, 5)], [(-2, -10), (-1, -8), (-1, 2)], [(-4, -12), (-3, -11), (-2, -8), (-2, 3), (-3, 5)], [(0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (9, -8), (10, -7)], [(7, -10), (8, -8)], [(5, -12), (6, -11), (7, -8), (8, -7), (10, -7)], [(8, -7), (6, -7), (5, -6), (5, -4), (6, -2), (9, 0), (10, 2)], [(6, -3), (9, -1)], [(5, -5), (6, -4), (9, -2), (10, 0), (10, 4), (9, 6), (7, 8), (5, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6)], [(2, 8), (0, 8), (-6, 5), (-7, 5)], [(8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7)]]),
(-16, 17, [[(-13, -1), (-13, 0), (-12, 1), (-10, 1), (-8, 0), (-8, -3), (-9, -5), (-11, -8), (-11, -10), (-9, -12)], [(-9, -3), (-11, -7)], [(-10, 1), (-9, 0), (-9, -2), (-11, -5), (-12, -7), (-12, -9), (-11, -11), (-9, -12), (-6, -12), (-4, -11), (-3, -10), (-2, -8), (-2, -4), (-3, -1), (-5, 2), (-7, 4)], [(-4, -10), (-3, -8), (-3, -3), (-4, 0)], [(-6, -12), (-5, -11), (-4, -8), (-4, -3), (-5, 1), (-7, 4)], [(-4, -11), (-2, -12), (1, -12), (3, -11)], [(5, -12), (2, -11), (1, -9), (1, -5), (2, -2), (4, 1), (5, 3), (5, 5), (4, 7)], [(2, -5), (2, -4), (5, 1), (5, 2)], [(5, -12), (3, -11), (2, -9), (2, -6), (3, -4), (5, -1), (6, 2), (6, 4), (5, 6), (3, 8), (1, 9), (-3, 9), (-5, 8), (-7, 6), (-9, 5), (-11, 5), (-12, 6)], [(-4, 8), (-7, 5), (-8, 5)], [(-1, 9), (-3, 8), (-6, 5), (-8, 4), (-11, 4), (-12, 6), (-12, 8), (-11, 9), (-10, 8), (-11, 7)], [(5, -12), (8, -12), (10, -11), (12, -8), (13, -7)], [(10, -10), (11, -8)], [(8, -12), (9, -11), (10, -8), (11, -7), (13, -7)], [(11, -7), (9, -7), (8, -6), (8, -4), (9, -2), (12, 0), (13, 2)], [(9, -3), (12, -1)], [(8, -5), (9, -4), (12, -2), (13, 0), (13, 5), (12, 7), (11, 8), (9, 9), (6, 9), (3, 8)], [(7, 8), (6, 8), (4, 7)], [(12, 7), (10, 8), (8, 8), (6, 7), (5, 6)]]),
(-12, 12, [[(-7, -10), (-5, -10), (-3, -9), (-2, -8), (-1, -5), (-1, -3)], [(-1, -1), (-1, 3), (-2, 6), (-5, 9), (-7, 8), (-9, 9)], [(-4, 8), (-6, 7), (-7, 7)], [(-3, 7), (-4, 7), (-6, 6), (-9, 9)], [(-5, -11), (-2, -10), (-1, -9), (0, -6), (0, 3), (1, 5), (3, 7), (5, 8)], [(-9, -9), (-4, -12), (-2, -11), (0, -9), (1, -6), (1, -3)], [(1, -1), (1, 2), (2, 5), (3, 6), (5, 7), (7, 7)], [(-1, 3), (0, 6), (2, 8), (4, 9), (9, 6)], [(1, -6), (2, -9), (5, -12), (7, -11), (9, -12)], [(4, -11), (6, -10), (7, -10)], [(3, -10), (4, -10), (6, -9), (9, -12)], [(-7, 1), (-5, -3), (-1, -3)], [(1, -3), (5, -3), (7, -5)], [(-5, -2), (5, -2)], [(-7, 1), (-5, -1), (-1, -1)], [(1, -1), (5, -1), (7, -5)]]),
(-13, 13, [[(-10, -1), (-10, 0), (-9, 1), (-7, 1), (-5, 0), (-5, -3), (-6, -5), (-8, -8), (-8, -10), (-6, -12)], [(-6, -3), (-8, -7)], [(-7, 1), (-6, 0), (-6, -2), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -10), (1, -8), (1, -3), (0, 0), (-1, 2), (-1, 3), (1, 5), (2, 5)], [(-1, -10), (0, -8), (0, -2), (-1, 1), (-2, 3), (1, 6)], [(-3, -12), (-2, -11), (-1, -8), (-1, -2), (-2, 2), (-3, 4), (0, 7), (3, 4)], [(1, -8), (9, -12)], [(7, -11), (7, 8), (6, 11)], [(8, -11), (8, 6), (7, 9)], [(9, -12), (9, 4), (8, 8), (7, 10), (5, 12), (2, 13), (-2, 13), (-5, 12), (-7, 10), (-8, 8), (-7, 7), (-6, 8), (-7, 9)]]),
(-12, 12, [[(-4, -9), (-3, -11), (-1, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -5), (5, -3), (4, -2), (2, -1)], [(-1, -1), (-3, -2), (-4, -4)], [(4, -10), (5, -9), (5, -4), (4, -3)], [(2, -12), (3, -11), (4, -9), (4, -4), (3, -2), (2, -1)], [(-5, 3), (-4, 1), (-3, 0), (-1, -1), (2, -1), (5, 0), (7, 2), (8, 4), (8, 8), (7, 10), (5, 12), (2, 13), (-2, 13), (-4, 12), (-7, 8), (-8, 7)], [(6, 2), (7, 4), (7, 8), (6, 10)], [(2, -1), (5, 1), (6, 3), (6, 9), (5, 11), (4, 12), (2, 13)], [(-3, 12), (-4, 11), (-6, 8), (-7, 7)], [(0, 13), (-2, 12), (-3, 11), (-5, 8), (-6, 7), (-9, 7), (-10, 8), (-10, 10), (-9, 11), (-8, 11)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-12, 12, [[(-12, 16), (12, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-8, 9, [[(2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6)], [(-4, 4), (-3, 7), (-2, 8)], [(-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8)], [(0, -4), (1, -3), (3, -2), (3, 7), (5, 9), (8, 6)], [(1, -4), (4, -2), (4, 6), (6, 8)], [(2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 6), (6, 7), (7, 7)]]),
(-8, 9, [[(-6, -10), (-5, -9), (-4, -7)], [(2, -12), (-1, -11), (-3, -9), (-4, -7), (-4, 6), (-5, 7)], [(-2, -9), (-3, -7), (-3, 6), (0, 8)], [(2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8)], [(-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-7, 6, [[(0, -4), (2, -2), (4, -3), (2, -5), (0, -4), (-3, -2), (-4, 0), (-4, 5), (-3, 7), (-1, 9), (3, 7)], [(1, -4), (3, -3)], [(-2, -2), (-3, 0), (-3, 5), (-2, 7), (-1, 8)], [(-1, -3), (-2, -1), (-2, 4), (-1, 6), (1, 8)]]),
(-8, 9, [[(-1, -12), (-4, -9), (-4, -7), (-3, -6), (1, -4), (4, -2), (5, 0), (5, 3), (4, 6), (2, 8)], [(-3, -8), (-3, -7), (1, -5), (4, -3), (5, -2)], [(-3, -10), (-3, -9), (-2, -8), (3, -5), (5, -3), (6, 0), (6, 3), (5, 6), (2, 8), (-1, 9)], [(0, -4), (-4, -2), (-4, 6), (-5, 7)], [(-3, -2), (-3, 6), (0, 8)], [(-2, -3), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9)]]),
(-7, 6, [[(-2, 3), (4, -1), (1, -5), (-3, -2), (-4, 0), (-4, 5), (-3, 7), (-1, 9), (3, 7)], [(3, -1), (0, -4)], [(-2, -2), (-3, 0), (-3, 5), (-2, 7), (-1, 8)], [(2, 0), (0, -3), (-1, -3), (-2, -1), (-2, 4), (-1, 6), (1, 8)]]),
(-6, 7, [[(6, -12), (5, -11), (3, -11), (1, -12), (-1, -12), (-2, -10), (-2, -5), (-3, -3), (-4, -2)], [(4, -10), (2, -10), (0, -11), (-1, -11)], [(6, -12), (5, -10), (4, -9), (2, -9), (0, -10), (-1, -10), (-2, -9)], [(-2, -7), (-1, -5), (0, -4), (2, -3), (4, -3), (4, -2)], [(-4, -2), (-2, -2)], [(0, -2), (4, -2)], [(-2, -2), (-2, 2), (-1, 14)], [(1, -3), (-2, -3), (-1, -4), (-1, 9)], [(0, -2), (0, 2), (-1, 14)]]),
(-8, 9, [[(2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6)], [(-4, 5), (-3, 7), (-2, 8)], [(-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8)], [(0, -4), (1, -3), (3, -2), (3, 6), (4, 9), (4, 11), (3, 13)], [(1, -4), (4, -2), (4, 8)], [(2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 10), (4, 12), (3, 13), (1, 14), (-2, 14), (-4, 13), (-5, 12), (-5, 11), (-4, 11), (-4, 12)]]),
(-8, 9, [[(-6, -10), (-5, -9), (-4, -7)], [(2, -12), (-1, -11), (-3, -9), (-4, -7), (-4, 6), (-5, 7)], [(-2, -9), (-3, -7), (-3, 7), (-2, 8)], [(2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 6), (-1, 7), (0, 7)], [(-5, 7), (-3, 8), (-2, 9), (1, 6)], [(-2, -2), (4, -5), (5, -3), (6, 1), (6, 5), (5, 8), (4, 10), (2, 12), (-1, 14)], [(3, -4), (4, -3), (5, 0)], [(2, -4), (4, -1), (5, 2), (5, 5), (4, 9), (2, 12)]]),
(-5, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -10), (1, -11), (0, -12)], [(-1, -11), (1, -10)], [(-1, -10), (1, -11)], [(-3, -3), (-2, -3), (-1, -2), (-1, 7), (1, 9), (4, 6)], [(-2, -4), (0, -3), (0, 6), (2, 8)], [(-4, -2), (-1, -5), (0, -4), (2, -3)], [(1, -2), (2, -3)], [(1, -2), (1, 6), (2, 7), (3, 7)]]),
(-5, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -10), (1, -11), (0, -12)], [(-1, -11), (1, -10)], [(-1, -10), (1, -11)], [(-3, -3), (-2, -3), (-1, -2), (-1, 9), (-2, 12), (-3, 13), (-5, 14)], [(-2, -4), (0, -3), (0, 9), (-1, 11)], [(-4, -2), (-1, -5), (0, -4), (2, -3)], [(1, -2), (2, -3)], [(1, -2), (1, 9), (0, 11), (-2, 13), (-5, 14)], [(1, 9), (2, 11), (3, 12)]]),
(-7, 7, [[(-4, -10), (-3, -9), (-2, -7)], [(3, -12), (1, -11), (-1, -9), (-2, -7), (-2, -5), (-3, -3), (-4, -2)], [(-2, -2), (-2, 6), (-3, 7)], [(0, -9), (-1, -7), (-1, -5)], [(-1, -3), (-2, -3), (-1, -5), (-1, 6), (1, 8)], [(3, -12), (1, -10), (0, -7), (0, -3)], [(0, -2), (0, 6), (1, 7), (2, 7)], [(-3, 7), (-1, 8), (0, 9), (3, 6)], [(0, -6), (4, -9), (5, -8), (5, -6), (3, -4), (1, -3)], [(3, -8), (4, -7), (4, -6), (3, -4)], [(0, -3), (5, -3), (5, -2)], [(-4, -2), (-2, -2)], [(0, -2), (5, -2)]]),
(-5, 5, [[(-3, -10), (-2, -9), (-1, -7)], [(5, -12), (2, -11), (0, -9), (-1, -7), (-1, 6), (-2, 7)], [(1, -9), (0, -7), (0, 7), (2, 8)], [(5, -12), (3, -11), (2, -10), (1, -7), (1, 6), (2, 7), (3, 7)], [(-2, 7), (0, 8), (1, 9), (4, 6)]]),
(-13, 13, [[(-11, -3), (-10, -3), (-9, -2), (-9, 6), (-10, 7), (-8, 9)], [(-10, -4), (-8, -2), (-8, 6), (-9, 7), (-8, 8), (-7, 7), (-8, 6)], [(-12, -2), (-9, -5), (-7, -3), (-7, 6), (-6, 7), (-8, 9)], [(-4, -4), (-2, -3), (-1, -1), (-1, 6), (-2, 7), (0, 9)], [(-2, -4), (-1, -3), (0, -1), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(-7, -2), (-4, -4), (-2, -5), (0, -4), (1, -2), (1, 6), (2, 7), (0, 9)], [(4, -4), (5, -3), (7, -2), (7, 7), (9, 9), (12, 6)], [(5, -4), (8, -2), (8, 6), (10, 8)], [(1, -2), (4, -4), (6, -5), (7, -4), (9, -3), (10, -3)], [(9, -2), (10, -3)], [(9, -2), (9, 6), (10, 7), (11, 7)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7), (-4, 9)], [(-6, -4), (-4, -2), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-8, -2), (-5, -5), (-3, -3), (-3, 6), (-2, 7), (-4, 9)], [(0, -4), (1, -3), (3, -2), (3, 7), (5, 9), (8, 6)], [(1, -4), (4, -2), (4, 6), (6, 8)], [(-3, -2), (0, -4), (2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 6), (6, 7), (7, 7)]]),
(-8, 9, [[(-4, -2), (-4, 6), (-5, 7)], [(-3, -2), (-3, 6), (0, 8)], [(-1, -3), (-2, -2), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8)], [(-4, -2), (-1, -3), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-8, 9, [[(-3, -8), (-5, -6), (-5, -4), (-4, -1), (-4, 6), (-6, 8)], [(-4, 7), (-3, 14)], [(-4, -5), (-4, -4), (-3, -1), (-3, 9)], [(-4, -7), (-4, -6), (-3, -4), (-2, -1), (-2, 6), (-1, 6), (1, 7), (2, 8)], [(-2, 7), (-3, 14)], [(1, 8), (-1, 7)], [(2, 8), (0, 9), (-2, 7)], [(-4, 7), (-6, 8)], [(-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-8, 9, [[(2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6)], [(-4, 5), (-3, 7), (-2, 8)], [(-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8)], [(0, -4), (1, -3), (3, -2), (3, 6), (4, 14)], [(1, -4), (4, -2), (4, 9)], [(2, -5), (3, -4), (5, -3), (6, -3)], [(5, -2), (6, -3)], [(5, -2), (5, 6), (4, 14)]]),
(-7, 7, [[(-4, -3), (-3, -3), (-2, -2), (-2, 6), (-3, 7)], [(-3, -4), (-1, -2), (-1, 7), (1, 8)], [(-5, -2), (-2, -5), (0, -3), (0, 6), (1, 7), (2, 7)], [(-3, 7), (-1, 8), (0, 9), (3, 6)], [(2, -4), (3, -2), (5, -3), (4, -5), (0, -3)], [(3, -4), (4, -3)]]),
(-6, 5, [[(6, -12), (5, -11), (3, -11), (1, -12), (-1, -12), (-2, -10), (-2, -5), (-3, -3), (-4, -2)], [(4, -10), (2, -10), (0, -11), (-1, -11)], [(6, -12), (5, -10), (4, -9), (2, -9), (0, -10), (-1, -10), (-2, -9)], [(-2, -7), (0, -2)], [(-2, -2), (-2, 2), (-1, 14)], [(-1, -3), (-2, -3), (-1, -4), (-1, 9)], [(0, -2), (0, 2), (-1, 14)], [(-4, -2), (-2, -2)]]),
(-6, 6, [[(1, -9), (0, -6), (-1, -4), (-2, -3), (-4, -2)], [(1, -9), (1, -3), (4, -3), (4, -2)], [(-4, -2), (-1, -2)], [(1, -2), (4, -2)], [(-1, -2), (-1, 6), (-2, 7)], [(0, -3), (-1, -3), (0, -5), (0, 6), (2, 8)], [(1, -2), (1, 6), (2, 7), (3, 7)], [(-2, 7), (0, 8), (1, 9), (4, 6)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7)], [(-6, -4), (-4, -2), (-4, 6), (-2, 8)], [(-8, -2), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-6, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 6)], [(4, -5), (2, -3), (3, -2), (3, 7), (5, 9), (8, 6)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 6), (6, 8)], [(4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7)]]),
(-8, 9, [[(-3, -7), (-5, -5), (-5, -3), (-4, 0), (-4, 6), (-5, 7)], [(-4, -4), (-4, -3), (-3, 0), (-3, 6), (0, 8)], [(-4, -6), (-4, -5), (-3, -3), (-2, 0), (-2, 6), (0, 7), (1, 8)], [(-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8)], [(-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8)], [(3, -4), (4, -3), (5, -1)], [(2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8)]]),
(-12, 13, [[(-7, -7), (-9, -5), (-9, -3), (-8, 0), (-8, 6), (-9, 7), (-7, 9)], [(-8, -4), (-8, -3), (-7, 0), (-7, 6), (-8, 7), (-7, 8), (-6, 7), (-7, 6)], [(-8, -6), (-8, -5), (-7, -3), (-6, 0), (-6, 6), (-5, 7), (-7, 9)], [(-3, -4), (-1, -3), (0, -1), (0, 6), (-1, 7)], [(-1, -4), (0, -3), (1, -1), (1, 6), (4, 8)], [(-6, -2), (-3, -4), (-1, -5), (1, -4), (2, -2), (2, 6), (4, 7), (5, 8)], [(-1, 7), (0, 7), (2, 8), (3, 9), (6, 8)], [(2, -2), (8, -5), (9, -3), (10, 0), (10, 2), (9, 6), (8, 7), (6, 8)], [(7, -4), (8, -3), (9, -1)], [(6, -4), (8, -2), (9, 1), (9, 3), (8, 6), (6, 8)]]),
(-7, 8, [[(-3, -3), (-2, -3), (-1, -2), (-1, 6), (-2, 6), (-4, 7), (-5, 9), (-5, 11), (-4, 13), (-2, 14), (1, 14), (4, 13), (4, 12), (3, 12), (3, 13)], [(-2, -4), (0, -2), (0, 6), (3, 8)], [(-4, -2), (-1, -5), (1, -3), (1, 6), (3, 7), (4, 8)], [(6, 7), (2, 9), (1, 8), (-1, 7), (-3, 7), (-5, 9)], [(3, -4), (4, -2), (6, -3), (5, -5), (1, -3)], [(4, -4), (5, -3)]]),
(-8, 9, [[(-3, -7), (-5, -5), (-5, -3), (-4, 0), (-4, 6), (-5, 7)], [(-4, -4), (-4, -3), (-3, 0), (-3, 7), (-1, 8)], [(-4, -6), (-4, -5), (-3, -3), (-2, 0), (-2, 6), (-1, 7), (0, 7)], [(-5, 7), (-3, 8), (-2, 9), (1, 6)], [(-2, -2), (4, -5), (5, -3), (6, 1), (6, 5), (5, 8), (4, 10), (2, 12), (-1, 14)], [(3, -4), (4, -3), (5, 0)], [(2, -4), (4, -1), (5, 2), (5, 5), (4, 9), (2, 12)]]),
(-7, 7, [[(-4, -2), (1, -5), (3, -4), (4, -2), (4, 0), (3, 2), (-1, 4)], [(1, -4), (3, -3)], [(0, -4), (2, -3), (3, -1), (3, 0), (2, 2), (1, 3)], [(1, 3), (3, 5), (4, 7), (4, 11), (3, 13), (1, 14), (-1, 14), (-3, 13), (-4, 11), (-4, 9), (-3, 7), (-1, 6), (5, 4)], [(0, 4), (2, 5), (3, 7)], [(-1, 4), (2, 6), (3, 8), (3, 11), (2, 13), (1, 14)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
GOTHICITA = [
(-8, 8, [[]]),
(-6, 6, [[(0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2)], [(0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2)], [(0, -12), (1, -11), (3, -10), (1, -9), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(6, -8), (5, -10)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, 7), (-6, 5)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(7, -4), (8, -3), (9, -3), (10, -4)], [(6, -3), (7, -2), (9, -2)], [(6, -2), (7, -1), (8, -1), (9, -2), (10, -4)], [(7, -4), (1, 2)], [(0, 3), (-6, 9), (-10, 4), (-4, -2)], [(-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-6, 8), (-9, 4)], [(0, -7), (-3, -11)], [(-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8)], [(-5, 8), (-9, 3)], [(0, -6), (-4, -11)], [(-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6)]]),
(-4, 5, [[(1, -12), (0, -11), (0, -5)], [(1, -11), (0, -5)], [(1, -12), (2, -11), (0, -5)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-6, 6, [[(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7)], [(-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8)], [(-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7)], [(-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7)]]),
(-10, 10, [[(-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10)], [(-2, -10), (0, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11)], [(4, -10), (4, -2)], [(5, -9), (5, -3)], [(6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9)], [(-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7)], [(-4, 8), (-1, 7), (4, 7), (7, 8)], [(-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7)]]),
(-10, 10, [[(-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10)], [(-3, -10), (-1, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -11)], [(4, -10), (4, -3)], [(5, -9), (5, -4)], [(6, -10), (6, -3), (4, -3), (1, -2), (-1, -1)], [(-1, -2), (1, -1), (4, 0), (6, 0), (6, 7)], [(5, 1), (5, 6)], [(4, 0), (4, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(3, -12), (-7, -2), (-7, 3), (2, 3)], [(4, 3), (8, 3), (9, 4), (9, 2), (8, 3)], [(-6, -2), (-6, 2)], [(-5, -4), (-5, 3)], [(2, -11), (2, 6), (0, 7)], [(3, -8), (4, -10), (3, -11), (3, 7), (5, 8)], [(3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7)], [(0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7)]]),
(-10, 10, [[(-6, -12), (-6, -3)], [(-6, -12), (6, -12)], [(-5, -11), (4, -11)], [(-6, -10), (3, -10), (5, -11), (6, -12)], [(4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3)], [(1, -4), (2, -4), (4, -3), (4, 7)], [(3, -5), (5, -4), (5, 6)], [(4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10)], [(1, -11), (3, -10)], [(0, -11), (2, -9), (4, -9), (6, -10)], [(-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5)], [(1, -3), (2, -3), (4, -2), (4, 7)], [(3, -4), (5, -2), (5, 6)], [(4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12)], [(-6, -11), (-3, -10), (2, -10), (5, -11)], [(-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12)], [(8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9)], [(0, -1), (-1, 2), (-1, 5), (0, 8)], [(3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9)]]),
(-10, 10, [[(-6, -9), (-6, -3)], [(-5, -8), (-5, -4)], [(-4, -9), (-4, -3)], [(-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12)], [(1, -10), (2, -10), (4, -9), (4, -3)], [(3, -11), (5, -10), (5, -4)], [(4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3)], [(-6, -3), (-4, -3), (4, 0), (6, 0)], [(6, -3), (4, -3), (-4, 0), (-6, 0)], [(-6, 0), (-6, 6), (-8, 7)], [(-5, 1), (-5, 6), (-2, 8)], [(-4, 0), (-4, 6), (-2, 7), (-1, 8)], [(4, 0), (4, 7)], [(5, 1), (5, 6)], [(6, 0), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, -1), (-8, 0)], [(-5, -9), (-5, 0), (-3, 1)], [(-4, -10), (-4, -1), (-2, 0), (-1, 0)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1)], [(-5, -8), (-4, -10)], [(4, -10), (5, -9), (5, -5), (4, -4)], [(-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1)], [(0, -1), (0, 2), (1, -1), (-1, -1), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-13, 13, [[(-4, -10), (-6, -9), (-8, -7), (-9, -5), (-10, -2), (-10, 1), (-9, 3), (-7, 4)], [(-8, -6), (-9, -3), (-9, 1), (-8, 3)], [(-4, -10), (-6, -8), (-7, -6), (-8, -3), (-8, 0), (-7, 4), (-7, 6), (-8, 8), (-10, 9)], [(4, -10), (6, -10), (6, 7), (4, 7)], [(7, -10), (7, 7)], [(8, -11), (8, 8)], [(-10, -12), (-7, -11), (-1, -10), (4, -10), (8, -11), (10, -12)], [(-8, -2), (6, -2)], [(-10, 9), (-7, 8), (-1, 7), (4, 7), (8, 8), (10, 9)]]),
(-13, 13, [[(-6, -11), (-6, 8)], [(-5, -11), (-5, 8)], [(-2, -12), (-4, -11), (-4, 8), (-2, 9)], [(-10, -8), (-8, -10), (-6, -11), (-2, -12), (3, -12), (6, -11), (8, -9), (8, -7), (7, -5)], [(6, -10), (7, -9), (7, -7), (6, -5)], [(3, -12), (5, -11), (6, -9), (6, -7), (5, -6)], [(-1, 3), (-3, 2), (-4, 0), (-4, -2), (-3, -4), (-2, -5), (1, -6), (4, -6), (7, -5), (9, -3), (10, -1), (10, 2), (9, 5), (7, 7), (5, 8), (2, 9), (-2, 9), (-6, 8), (-8, 7), (-10, 5)], [(8, -3), (9, -1), (9, 3), (8, 5)], [(4, -6), (7, -4), (8, -1), (8, 3), (7, 6), (5, 8)]]),
(-13, 13, [[(10, -12), (9, -10), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 7), (10, 9)], [(9, -10), (8, -5), (8, 2), (9, 7)], [(8, -7), (7, -8)], [(8, -4), (7, -7), (6, -9), (4, -11)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(7, 5), (8, 4)], [(4, 8), (6, 6), (7, 4), (8, 1)]]),
(-13, 13, [[(-7, -11), (-7, 8)], [(-6, -11), (-6, 8)], [(-4, -12), (-5, -11), (-5, 8), (-4, 9)], [(-10, -7), (-9, -9), (-7, -11), (-4, -12), (1, -12), (4, -11), (6, -10), (8, -8), (9, -6), (10, -3), (10, 0), (9, 3), (8, 5), (6, 7), (4, 8), (1, 9), (-4, 9), (-7, 8), (-9, 6), (-10, 4)], [(8, -7), (9, -4), (9, 1), (8, 4)], [(4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8)]]),
(-13, 13, [[(10, -12), (9, -10), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 7), (10, 9)], [(9, -10), (8, -5), (8, 2), (9, 7)], [(8, -7), (7, -8)], [(8, -5), (6, -9), (4, -11)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(7, 5), (8, 4)], [(4, 8), (6, 6), (7, 4), (8, 1)], [(-8, -2), (-7, -3), (-4, -3), (3, -1), (6, -1), (8, -2)], [(-2, -2), (0, -1), (3, 0), (5, 0), (7, -1)], [(-5, -3), (0, 0), (3, 1), (5, 1), (7, 0), (8, -2)], [(8, -5), (7, -6), (6, -6), (5, -5), (6, -4), (7, -5)]]),
(-13, 13, [[(-8, -10), (-8, 8)], [(-5, -11), (-7, -10), (-7, 7)], [(-3, -12), (-5, -11), (-6, -9), (-6, 7), (-4, 7)], [(-10, -8), (-8, -10), (-6, -11), (-3, -12), (1, -12), (4, -11), (6, -10), (7, -9), (10, -12)], [(10, -12), (9, -10), (8, -6), (8, -3), (9, 1), (10, 3)], [(8, -9), (7, -7)], [(4, -11), (6, -9), (7, -6), (8, -3)], [(-6, -2), (-5, -3), (-3, -3), (2, -2), (5, -2), (7, -3)], [(-1, -2), (2, -1), (4, -1), (6, -2)], [(-4, -3), (2, 0), (4, 0), (6, -1), (7, -3), (7, -6), (6, -7), (5, -7), (4, -6), (5, -5), (6, -6)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(10, -12), (9, -10), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 7), (7, 6), (8, 4), (9, 7), (10, 9)], [(9, -10), (8, -5), (8, 2), (9, 7)], [(8, -7), (7, -8)], [(8, -4), (7, -7), (6, -9), (4, -11)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(6, 6), (7, 4), (7, 0)], [(4, 8), (5, 7), (6, 4), (6, -1)], [(-7, 1), (-6, 0), (-5, 1), (-6, 2), (-7, 2), (-8, 1)], [(-8, -2), (-7, -4), (-5, -5), (-3, -5), (0, -4), (3, -2), (5, -1)], [(-7, -3), (-5, -4), (-3, -4), (0, -3), (2, -2)], [(-8, -2), (-6, -3), (-3, -3), (3, -1), (7, -1), (8, -2)]]),
(-13, 13, [[(-8, -11), (-8, 8), (-10, 9)], [(-7, -10), (-7, 8)], [(-4, -10), (-6, -10), (-6, 8)], [(-10, -12), (-8, -11), (-4, -10), (1, -10), (7, -11), (10, -12)], [(-6, -2), (-5, -4), (-3, -6), (0, -7), (4, -7), (7, -6), (9, -4), (10, -1), (10, 2), (9, 3), (7, 4)], [(8, -4), (9, -2), (9, 1), (8, 3)], [(4, -7), (6, -6), (7, -5), (8, -3), (8, 1), (7, 4), (7, 6), (8, 8), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(-1, -9), (-1, 7)], [(0, -8), (0, 6)], [(1, -9), (1, 7)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 9), (-7, 8), (-3, 7), (3, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(2, -9), (4, -9), (4, 6), (3, 8), (1, 9)], [(5, -9), (5, 6), (4, 7)], [(6, -10), (6, 7)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-9, -3), (-10, -1), (-10, 3), (-9, 6), (-7, 8), (-4, 9), (1, 9), (4, 8), (6, 7), (8, 5), (10, 2)], [(-9, 3), (-8, 6), (-7, 7)], [(-10, 1), (-8, 3), (-7, 6), (-6, 8), (-4, 9)]]),
(-13, 13, [[(-8, -11), (-8, 8), (-10, 9)], [(-7, -10), (-7, 8)], [(-4, -10), (-6, -10), (-6, 8)], [(-10, -12), (-8, -11), (-4, -10), (1, -10), (7, -11), (10, -12)], [(-6, -2), (-5, -4), (-3, -6), (0, -7), (3, -7), (6, -6), (7, -5), (7, -3), (6, -2), (1, 0), (-1, 1), (-2, 2), (-2, 3), (-1, 4), (0, 3), (-1, 2)], [(5, -6), (6, -5), (6, -3), (5, -2)], [(3, -7), (5, -5), (5, -3), (4, -2), (1, 0)], [(1, 0), (4, 0), (7, 1), (8, 3), (8, 5), (7, 6)], [(5, 1), (7, 3), (7, 5)], [(1, 0), (4, 1), (6, 3), (7, 6), (8, 8), (9, 9), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(-8, -11), (-8, 8)], [(-7, -10), (-7, 7)], [(-4, -10), (-6, -10), (-6, 7), (-4, 7)], [(10, -7), (8, -4), (7, -2), (6, 1), (6, 3), (7, 5), (9, 6)], [(8, -3), (7, 0), (7, 3), (8, 5)], [(10, -7), (9, -5), (8, -1), (8, 2), (9, 6), (10, 9)], [(-10, -12), (-8, -11), (-4, -10), (1, -10), (7, -11), (10, -12)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(-1, -9), (-1, 7)], [(0, -8), (0, 6)], [(1, -9), (1, 7)], [(-4, 7), (-6, 5), (-8, 4), (-9, 3), (-10, 0), (-10, -5), (-9, -8), (-7, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (7, -10), (9, -8), (10, -5), (10, 0), (9, 3), (8, 4), (6, 5), (4, 7)], [(-8, 3), (-9, 0), (-9, -5), (-8, -8)], [(-6, 5), (-7, 3), (-8, 0), (-8, -6), (-7, -9), (-5, -11)], [(8, -8), (9, -5), (9, 0), (8, 3)], [(5, -11), (7, -9), (8, -6), (8, 0), (7, 3), (6, 5)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 9), (-7, 8), (-3, 7), (3, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(-8, -10), (-8, 8), (-10, 9)], [(-6, -10), (-7, -9), (-7, 8)], [(-3, -12), (-5, -11), (-6, -9), (-6, 8)], [(-10, -8), (-8, -10), (-6, -11), (-3, -12), (1, -12), (4, -11), (6, -10), (8, -8), (9, -6), (10, -3), (10, 1), (9, 3), (7, 4)], [(8, -7), (9, -4), (9, 0), (8, 3)], [(4, -11), (6, -9), (7, -7), (8, -4), (8, 0), (7, 4), (7, 6), (8, 8), (9, 9), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -3), (9, -6), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -4), (8, -7)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11)]]),
(-13, 13, [[(-8, -9), (-8, 8)], [(-5, -10), (-7, -8), (-7, 7)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-6, 7), (-4, 7)], [(-10, -7), (-8, -9), (-4, -11), (-1, -12), (2, -12), (5, -11), (7, -10), (9, -8), (10, -5), (10, -3), (9, 0), (7, 2), (4, 3), (0, 3), (-3, 2), (-5, 0), (-6, -3)], [(8, -8), (9, -6), (9, -2), (8, 0)], [(5, -11), (7, -9), (8, -6), (8, -2), (7, 1), (4, 3)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -3), (9, -6), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -4), (8, -7)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11)], [(-8, 1), (-7, 3), (-4, 4), (2, 5), (9, 5), (10, 6), (10, 8), (9, 9), (9, 8), (10, 7)], [(-2, 5), (0, 5)], [(-7, 3), (-4, 5), (-1, 6), (1, 6), (2, 5)]]),
(-13, 13, [[(-8, -9), (-8, 8), (-10, 9)], [(-7, -9), (-7, 8)], [(-6, -10), (-6, 8)], [(-10, -7), (-8, -9), (-6, -10), (-4, -11), (-1, -12), (3, -12), (7, -11), (9, -9), (10, -7), (10, -4), (9, -2), (8, -1)], [(7, -10), (8, -9), (9, -7), (9, -4), (8, -2)], [(3, -12), (5, -11), (7, -9), (8, -7), (8, -3), (7, -1)], [(6, 0), (3, 1), (0, 1), (-2, 0), (-2, -2), (0, -3), (3, -3), (6, -2), (8, 0), (10, 3), (10, 5), (9, 6), (8, 6)], [(6, -1), (7, 0), (9, 4), (9, 5), (8, 2)], [(2, -3), (4, -2), (6, 0), (7, 2), (8, 6), (9, 8), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(2, -12), (8, -11), (10, -12), (9, -10), (9, -8), (7, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-8, -8), (-9, -5), (-9, -3), (-8, 0), (-6, 2), (-3, 3), (0, 3), (2, 2), (3, 1), (4, -1), (4, -2)], [(9, -11), (8, -10), (9, -8)], [(-8, -2), (-7, 0), (-6, 1), (-3, 2), (0, 2), (2, 1)], [(-7, -9), (-8, -7), (-8, -4), (-7, -2), (-5, 0), (-2, 1), (0, 1), (2, 0), (4, -2), (5, -3), (6, -3)], [(-6, -1), (-5, -1), (-4, -2), (-2, -4), (0, -5), (3, -5), (5, -4), (7, -2), (8, 0), (8, 3), (7, 6), (5, 8)], [(-2, -5), (0, -6), (3, -6), (6, -5), (8, -3), (9, 0), (9, 3), (8, 5)], [(-9, 5), (-8, 7), (-9, 8)], [(-4, -2), (-4, -3), (-3, -5), (-2, -6), (0, -7), (3, -7), (6, -6), (9, -3), (10, 0), (10, 2), (9, 5), (7, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 7), (-9, 5), (-9, 7), (-10, 9), (-8, 8), (-2, 9)]]),
(-13, 13, [[(-1, -10), (-5, -10), (-7, -9), (-8, -8), (-9, -6), (-10, -3), (-10, 1), (-9, 4), (-8, 6), (-7, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -4), (9, -7), (7, -9), (5, -10)], [(3, -10), (2, -9), (2, -7), (3, -6), (4, -7), (3, -8)], [(-9, 1), (-8, 4), (-6, 6), (-4, 7), (-1, 8), (2, 8), (5, 7)], [(-8, -8), (-9, -4), (-9, -1), (-8, 2), (-6, 5), (-4, 6), (-1, 7), (2, 7), (5, 6), (7, 5), (9, 2), (10, 0)], [(-10, -12), (-7, -9)], [(-7, -10), (-6, -11)], [(-9, -11), (-8, -11), (-7, -12), (-5, -11), (-1, -10), (5, -10), (8, -11), (10, -12)]]),
(-13, 13, [[(-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 7)], [(-7, -8), (-8, -6), (-9, -3), (-9, 1), (-8, 4)], [(-7, -9), (-6, -8), (-6, -7), (-7, -5), (-8, -2), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(4, -10), (6, -10), (6, 6), (5, 8), (3, 9)], [(7, -10), (7, 6), (6, 7)], [(8, -11), (8, 7), (10, 9)], [(-10, -12), (-7, -11), (-1, -10), (4, -10), (8, -11), (10, -12)]]),
(-13, 13, [[(-10, -12), (0, 9)], [(-9, -11), (-8, -10), (-1, 5), (0, 7)], [(-8, -11), (-7, -10), (0, 5), (1, 6)], [(10, -12), (0, 9)], [(5, -4), (3, 1)], [(7, -6), (3, -1), (2, 2), (2, 4)], [(-10, -12), (-8, -11), (-3, -10), (3, -10), (8, -11), (10, -12)]]),
(-13, 13, [[(-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -3), (9, -6), (8, -8), (6, -10)], [(-8, -6), (-9, -3), (-9, 0), (-8, 3), (-7, 5)], [(-8, -8), (-7, -7), (-7, -6), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8)], [(7, 5), (8, 3), (9, 0), (9, -3), (8, -6)], [(4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -6), (7, -7), (8, -8)], [(-1, -9), (-1, 9)], [(0, -8), (0, 8)], [(1, -9), (1, 9)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)]]),
(-13, 13, [[(-10, -12), (6, 7), (7, 8)], [(-9, -11), (-7, -10), (8, 8)], [(-6, -10), (10, 9)], [(10, -12), (1, -2)], [(-1, 0), (-8, 8)], [(-2, 1), (-5, 3), (-6, 5)], [(-1, 0), (-5, 2), (-6, 3), (-7, 5), (-7, 7)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(6, -10), (6, 8)], [(7, -10), (7, 7)], [(8, -11), (8, 7)], [(-7, -10), (-9, -8), (-10, -5), (-10, -2), (-9, 1), (-7, 3), (-5, 4), (-2, 5), (1, 5), (4, 4), (6, 3)], [(-6, 3), (-3, 4), (3, 4)], [(-10, -2), (-9, 0), (-7, 2), (-4, 3), (2, 3), (4, 4)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 5), (-8, 7), (-6, 8), (-2, 9), (2, 9), (6, 8), (10, 6)]]),
(-13, 13, [[(-10, -12), (-9, -11), (-7, -10), (-4, -10), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5)], [(6, -11), (7, -9), (7, -7), (6, -5)], [(4, -12), (5, -11), (6, -9), (6, -6)], [(6, -4), (2, -3), (0, -3), (-2, -4), (-2, -6), (0, -7), (2, -7), (6, -6)], [(2, -7), (4, -6), (5, -5), (4, -4), (2, -3)], [(7, -5), (9, -3), (10, 0), (10, 2), (9, 5), (7, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 7), (-9, 5), (-10, 2), (-10, 0), (-9, -3), (-8, -4), (-6, -5), (-4, -5), (-2, -4), (-2, -2), (-3, -1), (-4, -2), (-3, -3)], [(6, -5), (8, -3), (9, -1), (9, 3), (8, 5)], [(6, -4), (7, -3), (8, -1), (8, 3), (7, 6), (5, 8)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-13, 13, [[(-13, 16), (13, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-8, 9, [[(-2, -1), (-5, 2), (-5, 6), (-2, 9), (2, 7)], [(-4, 2), (-4, 6), (-2, 8)], [(-3, 0), (-3, 5), (0, 8)], [(0, 1), (-5, -4), (-4, -5), (-3, -4), (-4, -3)], [(-3, -4), (1, -4), (3, -5), (5, -3), (5, 6), (6, 7)], [(3, -4), (4, -3), (4, 6), (3, 7), (4, 8), (5, 7), (4, 6)], [(1, -4), (3, -2), (3, 6), (2, 7), (4, 9), (6, 7)]]),
(-9, 8, [[(-4, -10), (-6, -12), (-5, -8), (-5, 6), (-2, 9), (3, 7), (5, 6)], [(-4, -10), (-4, 6), (-2, 8)], [(-4, -10), (-2, -12), (-3, -8), (-3, 5), (0, 8)], [(-3, -3), (2, -5), (5, -2), (5, 6)], [(2, -4), (4, -2), (4, 6)], [(0, -4), (3, -1), (3, 7)]]),
(-7, 5, [[(-4, -2), (-4, 7), (-2, 9), (0, 7)], [(-3, -2), (-3, 7), (-2, 8)], [(-2, -3), (-2, 6), (-1, 7), (0, 7)], [(-4, -2), (2, -5), (4, -3), (2, -2), (0, -4)], [(1, -4), (3, -3)]]),
(-8, 8, [[(0, -5), (-5, -2), (-5, 6), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-2, -9), (-2, -12), (-1, -9), (5, -2), (5, 7)], [(-2, -9), (4, -2), (4, 6)], [(-2, -9), (-5, -9), (-2, -8), (3, -2), (3, 7)]]),
(-7, 6, [[(-4, -2), (-4, 7), (-2, 9), (0, 7)], [(-3, -2), (-3, 7), (-2, 8)], [(-2, -3), (-2, 6), (-1, 7), (0, 7)], [(-4, -2), (2, -5), (5, -1), (-2, 3)], [(1, -4), (4, -1)], [(0, -4), (3, 0)]]),
(-7, 5, [[(-3, -9), (-3, 6), (-4, 7), (-2, 9)], [(-2, -9), (-2, 6), (-3, 7), (-2, 8), (-1, 7), (-2, 6)], [(-1, -10), (-1, 6), (0, 7), (-2, 9)], [(-3, -9), (3, -12), (5, -10), (3, -9), (1, -11)], [(2, -11), (4, -10)], [(-6, -5), (-3, -5)], [(-1, -5), (3, -5)]]),
(-8, 9, [[(-5, -2), (-5, 6), (-2, 9), (3, 7)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-5, -2), (-3, -3), (2, -5), (5, -2), (5, 11), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-5, 15), (-3, 16), (-1, 15)], [(2, -4), (4, -2), (4, 11), (3, 13)], [(-2, 15), (-4, 15)], [(0, -4), (3, -1), (3, 12), (2, 14), (1, 15)]]),
(-9, 9, [[(-4, -10), (-6, -12), (-5, -8), (-5, 6), (-6, 7), (-4, 9)], [(-4, -10), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-4, -10), (-2, -12), (-3, -8), (-3, 6), (-2, 7), (-4, 9)], [(-3, -3), (0, -4), (2, -5), (5, -2), (5, 7), (2, 11), (2, 14), (3, 16), (4, 16), (2, 14)], [(2, -4), (4, -2), (4, 7), (3, 9)], [(0, -4), (3, -1), (3, 8), (2, 11)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -8), (2, -10), (0, -12)], [(0, -11), (-1, -10), (0, -9), (1, -10), (0, -11)], [(0, -5), (-2, -3), (-1, -2), (-1, 6), (-2, 7), (0, 9)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(0, -5), (2, -3), (1, -2), (1, 6), (2, 7), (0, 9)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -8), (2, -10), (0, -12)], [(0, -11), (-1, -10), (0, -9), (1, -10), (0, -11)], [(0, -5), (-2, -3), (-1, -2), (-1, 7), (2, 11)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 7), (1, 9)], [(0, -5), (2, -3), (1, -2), (1, 8), (2, 11), (2, 14), (0, 16), (-2, 15), (-2, 16), (0, 16)]]),
(-9, 8, [[(-4, -10), (-6, -12), (-5, -8), (-5, 6), (-6, 7), (-4, 9)], [(-4, -10), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-4, -10), (-2, -12), (-3, -8), (-3, 6), (-2, 7), (-4, 9)], [(-3, -2), (0, -4), (2, -5), (4, -2), (1, 0), (-3, 3)], [(1, -4), (3, -2)], [(0, -4), (2, -1)], [(0, 1), (1, 2), (2, 7), (4, 9), (6, 7)], [(1, 1), (2, 3), (3, 7), (4, 8)], [(1, 0), (2, 1), (4, 6), (5, 7), (6, 7)]]),
(-5, 5, [[(0, -10), (-2, -12), (-1, -8), (-1, 6), (-2, 7), (0, 9)], [(0, -10), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(0, -10), (2, -12), (1, -8), (1, 6), (2, 7), (0, 9)]]),
(-13, 13, [[(-11, -3), (-10, -3), (-9, -2), (-9, 6), (-10, 7), (-8, 9)], [(-9, -4), (-8, -3), (-8, 6), (-9, 7), (-8, 8), (-7, 7), (-8, 6)], [(-11, -3), (-9, -5), (-7, -3), (-7, 6), (-6, 7), (-8, 9)], [(-7, -3), (-4, -4), (-2, -5), (1, -3), (1, 6), (2, 7), (0, 9)], [(-2, -4), (0, -3), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(-4, -4), (-1, -2), (-1, 6), (-2, 7), (0, 9)], [(1, -3), (4, -4), (6, -5), (9, -3), (9, 6), (10, 7), (8, 9)], [(6, -4), (8, -3), (8, 6), (7, 7), (8, 8), (9, 7), (8, 6)], [(4, -4), (7, -2), (7, 6), (6, 7), (8, 9)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7), (-4, 9)], [(-5, -4), (-4, -3), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-2, 7), (-4, 9)], [(-3, -3), (0, -4), (2, -5), (5, -3), (5, 6), (6, 7), (4, 9)], [(2, -4), (4, -3), (4, 6), (3, 7), (4, 8), (5, 7), (4, 6)], [(0, -4), (3, -2), (3, 6), (2, 7), (4, 9)]]),
(-8, 8, [[(-5, -2), (-5, 6), (-2, 9), (3, 7), (5, 6)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-5, -2), (-3, -3), (2, -5), (5, -2), (5, 6)], [(2, -4), (4, -2), (4, 6)], [(0, -4), (3, -1), (3, 7)]]),
(-9, 8, [[(-6, -5), (-5, -3), (-5, 6), (-7, 7), (-5, 7), (-5, 13), (-6, 16), (-4, 14)], [(-4, -3), (-4, 14)], [(-6, -5), (-4, -4), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-4, 7), (-3, 7), (-1, 8)], [(-3, 8), (-2, 9), (3, 7), (5, 6)], [(-3, 8), (-3, 13), (-2, 16), (-4, 14)], [(-3, -3), (0, -4), (2, -5), (5, -2), (5, 6)], [(2, -4), (4, -2), (4, 6)], [(0, -4), (3, -1), (3, 7)]]),
(-8, 9, [[(-5, -2), (-5, 6), (-2, 9), (3, 7)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-5, -2), (-3, -3), (2, -5), (5, -2), (5, 13), (6, 16), (4, 14)], [(2, -4), (4, -2), (4, 14)], [(0, -4), (3, -1), (3, 13), (2, 16), (4, 14)]]),
(-7, 6, [[(-5, -3), (-4, -3), (-3, -2), (-3, 6), (-4, 7), (-2, 9)], [(-3, -4), (-2, -3), (-2, 6), (-3, 7), (-2, 8), (-1, 7), (-2, 6)], [(-5, -3), (-3, -5), (-1, -3), (-1, 6), (0, 7), (-2, 9)], [(-1, -3), (3, -5), (5, -3), (3, -2), (1, -4)], [(2, -4), (4, -3)]]),
(-8, 8, [[(-5, -2), (-5, 1), (-3, 3), (3, 0), (5, 2), (5, 6)], [(-4, -2), (-4, 1), (-3, 2)], [(-3, -3), (-3, 1), (-2, 2)], [(3, 1), (4, 2), (4, 6)], [(2, 1), (3, 2), (3, 7)], [(-5, -2), (1, -5), (4, -4), (2, -3), (-1, -4)], [(0, -4), (3, -4)], [(5, 6), (-1, 9), (-5, 7), (-3, 6), (1, 8)], [(-3, 7), (-1, 8)]]),
(-5, 5, [[(0, -10), (-2, -12), (-1, -8), (-1, 6), (-2, 7), (0, 9)], [(0, -10), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(0, -10), (2, -12), (1, -8), (1, 6), (2, 7), (0, 9)], [(-4, -5), (-1, -5)], [(1, -5), (4, -5)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 7), (-2, 9), (3, 7)], [(-5, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (0, 8)], [(4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 7), (5, 8)], [(4, -5), (2, -3), (3, -2), (3, 7), (5, 9), (7, 7)]]),
(-9, 9, [[(-6, -5), (-5, -3), (-5, 6), (-1, 9), (1, 7), (5, 5)], [(-5, -4), (-4, -3), (-4, 6), (-1, 8)], [(-6, -5), (-4, -4), (-3, -3), (-3, 5), (0, 7), (1, 7)], [(4, -5), (6, -3), (5, -2), (5, 5)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 5)], [(4, -5), (2, -3), (3, -2), (3, 6)]]),
(-13, 13, [[(-10, -5), (-9, -3), (-9, 6), (-5, 9), (-3, 7), (-1, 6)], [(-9, -4), (-8, -3), (-8, 6), (-5, 8)], [(-10, -5), (-8, -4), (-7, -3), (-7, 5), (-4, 7), (-3, 7)], [(0, -5), (-2, -3), (-1, -2), (-1, 6), (3, 9), (5, 7), (9, 5)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 6), (3, 8)], [(0, -5), (2, -3), (1, -2), (1, 5), (4, 7), (5, 7)], [(8, -5), (10, -3), (9, -2), (9, 5)], [(8, -2), (9, -3), (8, -4), (7, -3), (8, -2), (8, 5)], [(8, -5), (6, -3), (7, -2), (7, 6)]]),
(-9, 9, [[(-6, -3), (-4, -2), (3, 8), (4, 9), (6, 7)], [(-5, -4), (-3, -3), (3, 7), (5, 8)], [(-6, -3), (-4, -5), (-3, -4), (4, 6), (6, 7)], [(6, -5), (4, -5), (4, -3), (6, -3), (6, -5), (4, -3), (1, 1)], [(-1, 3), (-4, 7), (-6, 9), (-4, 9), (-4, 7), (-6, 7), (-6, 9)], [(-4, 2), (-1, 2)], [(1, 2), (4, 2)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 7), (-2, 9), (3, 7)], [(-5, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (0, 8)], [(4, -5), (6, -3), (5, -2), (5, 11), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-5, 15), (-3, 16), (-1, 15)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 12), (3, 13)], [(-2, 15), (-4, 15)], [(4, -5), (2, -3), (3, -2), (3, 12), (2, 14), (1, 15)]]),
(-6, 9, [[(0, -4), (-3, -2), (-3, -3), (0, -4), (2, -5), (5, -3), (5, 1), (0, 3)], [(2, -4), (4, -3), (4, 1)], [(0, -4), (3, -2), (3, 1), (2, 2)], [(0, 3), (5, 5), (5, 11), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-5, 15), (-3, 16), (-1, 15)], [(4, 5), (4, 12), (3, 13)], [(-2, 15), (-4, 15)], [(2, 4), (3, 5), (3, 12), (2, 14), (1, 15)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
GOTHITT = [
(-8, 8, [[]]),
(-6, 6, [[(0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2)], [(0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2)], [(0, -12), (1, -11), (3, -10), (1, -9), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(6, -8), (5, -10)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, 7), (-6, 5)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(7, -4), (8, -3), (9, -3), (10, -4)], [(6, -3), (7, -2), (9, -2)], [(6, -2), (7, -1), (8, -1), (9, -2), (10, -4)], [(7, -4), (1, 2)], [(0, 3), (-6, 9), (-10, 4), (-4, -2)], [(-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6)], [(-6, 8), (-9, 4)], [(0, -7), (-3, -11)], [(-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8)], [(-5, 8), (-9, 3)], [(0, -6), (-4, -11)], [(-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6)]]),
(-6, 6, [[(0, -6), (0, -8), (-2, -10), (0, -12), (1, -10), (1, -8), (0, -6), (-2, -5)], [(0, -11), (-1, -10), (0, -9), (0, -11)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 13, [[(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-6, 6, [[(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7)], [(-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8)], [(-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7)], [(-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7)]]),
(-10, 10, [[(-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10)], [(-2, -10), (0, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11)], [(4, -10), (4, -2)], [(5, -9), (5, -3)], [(6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9)], [(-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7)], [(-4, 8), (-1, 7), (4, 7), (7, 8)], [(-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7)]]),
(-10, 10, [[(-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10)], [(-3, -10), (-1, -11)], [(-6, -10), (-4, -9), (-2, -9), (0, -11)], [(4, -10), (4, -3)], [(5, -9), (5, -4)], [(6, -10), (6, -3), (4, -3), (1, -2), (-1, -1)], [(-1, -2), (1, -1), (4, 0), (6, 0), (6, 7)], [(5, 1), (5, 6)], [(4, 0), (4, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(3, -12), (-7, -2), (-7, 3), (2, 3)], [(4, 3), (8, 3), (9, 4), (9, 2), (8, 3)], [(-6, -2), (-6, 2)], [(-5, -4), (-5, 3)], [(2, -11), (2, 6), (0, 7)], [(3, -8), (4, -10), (3, -11), (3, 7), (5, 8)], [(3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7)], [(0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7)]]),
(-10, 10, [[(-6, -12), (-6, -3)], [(-6, -12), (6, -12)], [(-5, -11), (4, -11)], [(-6, -10), (3, -10), (5, -11), (6, -12)], [(4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3)], [(1, -4), (2, -4), (4, -3), (4, 7)], [(3, -5), (5, -4), (5, 6)], [(4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, 6), (-8, 7)], [(-5, -9), (-5, 6), (-2, 8)], [(-4, -10), (-4, 6), (-2, 7), (-1, 8)], [(-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10)], [(1, -11), (3, -10)], [(0, -11), (2, -9), (4, -9), (6, -10)], [(-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5)], [(1, -3), (2, -3), (4, -2), (4, 7)], [(3, -4), (5, -2), (5, 6)], [(4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12)], [(-6, -11), (-3, -10), (2, -10), (5, -11)], [(-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12)], [(8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9)], [(0, -1), (-1, 2), (-1, 5), (0, 8)], [(3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9)]]),
(-10, 10, [[(-6, -9), (-6, -3)], [(-5, -8), (-5, -4)], [(-4, -9), (-4, -3)], [(-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12)], [(1, -10), (2, -10), (4, -9), (4, -3)], [(3, -11), (5, -10), (5, -4)], [(4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3)], [(-6, -3), (-4, -3), (4, 0), (6, 0)], [(6, -3), (4, -3), (-4, 0), (-6, 0)], [(-6, 0), (-6, 6), (-8, 7)], [(-5, 1), (-5, 6), (-2, 8)], [(-4, 0), (-4, 6), (-2, 7), (-1, 8)], [(4, 0), (4, 7)], [(5, 1), (5, 6)], [(6, 0), (6, 7)], [(-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7)]]),
(-10, 10, [[(-6, -10), (-6, -1), (-8, 0)], [(-5, -9), (-5, 0), (-3, 1)], [(-4, -10), (-4, -1), (-2, 0), (-1, 0)], [(-6, -10), (-4, -10), (1, -11), (3, -12)], [(1, -11), (2, -10), (4, -9), (4, 7)], [(2, -11), (5, -9), (5, 6)], [(3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7)], [(-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1)], [(-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8)], [(-3, 7), (-1, 8)], [(-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-6, 6, [[(0, -5), (-2, -3), (0, -2), (2, -3), (0, -5)], [(0, -4), (-1, -3), (1, -3), (0, -4)], [(0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13)], [(0, 7), (-1, 8), (0, 9), (0, 7)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1)], [(-5, -8), (-4, -10)], [(4, -10), (5, -9), (5, -5), (4, -4)], [(-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1)], [(0, -1), (0, 2), (1, -1), (-1, -1), (0, 2)], [(0, 6), (-2, 8), (0, 9), (2, 8), (0, 6)], [(0, 7), (-1, 8), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-13, 13, [[(-4, -10), (-6, -9), (-8, -7), (-9, -5), (-10, -2), (-10, 1), (-9, 3), (-7, 4)], [(-8, -6), (-9, -3), (-9, 1), (-8, 3)], [(-4, -10), (-6, -8), (-7, -6), (-8, -3), (-8, 0), (-7, 4), (-7, 6), (-8, 8), (-10, 9)], [(4, -10), (6, -10), (6, 7), (4, 7)], [(7, -10), (7, 7)], [(8, -11), (8, 8)], [(-10, -12), (-7, -11), (-1, -10), (4, -10), (8, -11), (10, -12)], [(-8, -2), (6, -2)], [(-10, 9), (-7, 8), (-1, 7), (4, 7), (8, 8), (10, 9)]]),
(-13, 13, [[(-6, -11), (-6, 8)], [(-5, -11), (-5, 8)], [(-2, -12), (-4, -11), (-4, 8), (-2, 9)], [(-10, -8), (-8, -10), (-6, -11), (-2, -12), (3, -12), (6, -11), (8, -9), (8, -7), (7, -5)], [(6, -10), (7, -9), (7, -7), (6, -5)], [(3, -12), (5, -11), (6, -9), (6, -7), (5, -6)], [(-1, 3), (-3, 2), (-4, 0), (-4, -2), (-3, -4), (-2, -5), (1, -6), (4, -6), (7, -5), (9, -3), (10, -1), (10, 2), (9, 5), (7, 7), (5, 8), (2, 9), (-2, 9), (-6, 8), (-8, 7), (-10, 5)], [(8, -3), (9, -1), (9, 3), (8, 5)], [(4, -6), (7, -4), (8, -1), (8, 3), (7, 6), (5, 8)]]),
(-13, 13, [[(10, -12), (9, -10), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 7), (10, 9)], [(9, -10), (8, -5), (8, 2), (9, 7)], [(8, -7), (7, -8)], [(8, -4), (7, -7), (6, -9), (4, -11)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(7, 5), (8, 4)], [(4, 8), (6, 6), (7, 4), (8, 1)]]),
(-13, 13, [[(-7, -11), (-7, 8)], [(-6, -11), (-6, 8)], [(-4, -12), (-5, -11), (-5, 8), (-4, 9)], [(-10, -7), (-9, -9), (-7, -11), (-4, -12), (1, -12), (4, -11), (6, -10), (8, -8), (9, -6), (10, -3), (10, 0), (9, 3), (8, 5), (6, 7), (4, 8), (1, 9), (-4, 9), (-7, 8), (-9, 6), (-10, 4)], [(8, -7), (9, -4), (9, 1), (8, 4)], [(4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8)]]),
(-13, 13, [[(10, -12), (9, -10), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 7), (10, 9)], [(9, -10), (8, -5), (8, 2), (9, 7)], [(8, -7), (7, -8)], [(8, -5), (6, -9), (4, -11)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(7, 5), (8, 4)], [(4, 8), (6, 6), (7, 4), (8, 1)], [(-8, -2), (-7, -3), (-4, -3), (3, -1), (6, -1), (8, -2)], [(-2, -2), (0, -1), (3, 0), (5, 0), (7, -1)], [(-5, -3), (0, 0), (3, 1), (5, 1), (7, 0), (8, -2)], [(8, -5), (7, -6), (6, -6), (5, -5), (6, -4), (7, -5)]]),
(-13, 13, [[(-8, -10), (-8, 8)], [(-5, -11), (-7, -10), (-7, 7)], [(-3, -12), (-5, -11), (-6, -9), (-6, 7), (-4, 7)], [(-10, -8), (-8, -10), (-6, -11), (-3, -12), (1, -12), (4, -11), (6, -10), (7, -9), (10, -12)], [(10, -12), (9, -10), (8, -6), (8, -3), (9, 1), (10, 3)], [(8, -9), (7, -7)], [(4, -11), (6, -9), (7, -6), (8, -3)], [(-6, -2), (-5, -3), (-3, -3), (2, -2), (5, -2), (7, -3)], [(-1, -2), (2, -1), (4, -1), (6, -2)], [(-4, -3), (2, 0), (4, 0), (6, -1), (7, -3), (7, -6), (6, -7), (5, -7), (4, -6), (5, -5), (6, -6)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(10, -12), (9, -10), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 7), (7, 6), (8, 4), (9, 7), (10, 9)], [(9, -10), (8, -5), (8, 2), (9, 7)], [(8, -7), (7, -8)], [(8, -4), (7, -7), (6, -9), (4, -11)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(6, 6), (7, 4), (7, 0)], [(4, 8), (5, 7), (6, 4), (6, -1)], [(-7, 1), (-6, 0), (-5, 1), (-6, 2), (-7, 2), (-8, 1)], [(-8, -2), (-7, -4), (-5, -5), (-3, -5), (0, -4), (3, -2), (5, -1)], [(-7, -3), (-5, -4), (-3, -4), (0, -3), (2, -2)], [(-8, -2), (-6, -3), (-3, -3), (3, -1), (7, -1), (8, -2)]]),
(-13, 13, [[(-8, -11), (-8, 8), (-10, 9)], [(-7, -10), (-7, 8)], [(-4, -10), (-6, -10), (-6, 8)], [(-10, -12), (-8, -11), (-4, -10), (1, -10), (7, -11), (10, -12)], [(-6, -2), (-5, -4), (-3, -6), (0, -7), (4, -7), (7, -6), (9, -4), (10, -1), (10, 2), (9, 3), (7, 4)], [(8, -4), (9, -2), (9, 1), (8, 3)], [(4, -7), (6, -6), (7, -5), (8, -3), (8, 1), (7, 4), (7, 6), (8, 8), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(-1, -9), (-1, 7)], [(0, -8), (0, 6)], [(1, -9), (1, 7)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 9), (-7, 8), (-3, 7), (3, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(2, -9), (4, -9), (4, 6), (3, 8), (1, 9)], [(5, -9), (5, 6), (4, 7)], [(6, -10), (6, 7)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-9, -3), (-10, -1), (-10, 3), (-9, 6), (-7, 8), (-4, 9), (1, 9), (4, 8), (6, 7), (8, 5), (10, 2)], [(-9, 3), (-8, 6), (-7, 7)], [(-10, 1), (-8, 3), (-7, 6), (-6, 8), (-4, 9)]]),
(-13, 13, [[(-8, -11), (-8, 8), (-10, 9)], [(-7, -10), (-7, 8)], [(-4, -10), (-6, -10), (-6, 8)], [(-10, -12), (-8, -11), (-4, -10), (1, -10), (7, -11), (10, -12)], [(-6, -2), (-5, -4), (-3, -6), (0, -7), (3, -7), (6, -6), (7, -5), (7, -3), (6, -2), (1, 0), (-1, 1), (-2, 2), (-2, 3), (-1, 4), (0, 3), (-1, 2)], [(5, -6), (6, -5), (6, -3), (5, -2)], [(3, -7), (5, -5), (5, -3), (4, -2), (1, 0)], [(1, 0), (4, 0), (7, 1), (8, 3), (8, 5), (7, 6)], [(5, 1), (7, 3), (7, 5)], [(1, 0), (4, 1), (6, 3), (7, 6), (8, 8), (9, 9), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(-8, -11), (-8, 8)], [(-7, -10), (-7, 7)], [(-4, -10), (-6, -10), (-6, 7), (-4, 7)], [(10, -7), (8, -4), (7, -2), (6, 1), (6, 3), (7, 5), (9, 6)], [(8, -3), (7, 0), (7, 3), (8, 5)], [(10, -7), (9, -5), (8, -1), (8, 2), (9, 6), (10, 9)], [(-10, -12), (-8, -11), (-4, -10), (1, -10), (7, -11), (10, -12)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(-1, -9), (-1, 7)], [(0, -8), (0, 6)], [(1, -9), (1, 7)], [(-4, 7), (-6, 5), (-8, 4), (-9, 3), (-10, 0), (-10, -5), (-9, -8), (-7, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (7, -10), (9, -8), (10, -5), (10, 0), (9, 3), (8, 4), (6, 5), (4, 7)], [(-8, 3), (-9, 0), (-9, -5), (-8, -8)], [(-6, 5), (-7, 3), (-8, 0), (-8, -6), (-7, -9), (-5, -11)], [(8, -8), (9, -5), (9, 0), (8, 3)], [(5, -11), (7, -9), (8, -6), (8, 0), (7, 3), (6, 5)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 9), (-7, 8), (-3, 7), (3, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(-8, -10), (-8, 8), (-10, 9)], [(-6, -10), (-7, -9), (-7, 8)], [(-3, -12), (-5, -11), (-6, -9), (-6, 8)], [(-10, -8), (-8, -10), (-6, -11), (-3, -12), (1, -12), (4, -11), (6, -10), (8, -8), (9, -6), (10, -3), (10, 1), (9, 3), (7, 4)], [(8, -7), (9, -4), (9, 0), (8, 3)], [(4, -11), (6, -9), (7, -7), (8, -4), (8, 0), (7, 4), (7, 6), (8, 8), (9, 9), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -3), (9, -6), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -4), (8, -7)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11)]]),
(-13, 13, [[(-8, -9), (-8, 8)], [(-5, -10), (-7, -8), (-7, 7)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-6, 7), (-4, 7)], [(-10, -7), (-8, -9), (-4, -11), (-1, -12), (2, -12), (5, -11), (7, -10), (9, -8), (10, -5), (10, -3), (9, 0), (7, 2), (4, 3), (0, 3), (-3, 2), (-5, 0), (-6, -3)], [(8, -8), (9, -6), (9, -2), (8, 0)], [(5, -11), (7, -9), (8, -6), (8, -2), (7, 1), (4, 3)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -3), (9, -6), (8, -8), (6, -10), (4, -11), (1, -12), (-1, -12)], [(-8, -7), (-9, -4), (-9, 1), (-8, 4)], [(-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(8, 4), (9, 1), (9, -4), (8, -7)], [(4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11)], [(-8, 1), (-7, 3), (-4, 4), (2, 5), (9, 5), (10, 6), (10, 8), (9, 9), (9, 8), (10, 7)], [(-2, 5), (0, 5)], [(-7, 3), (-4, 5), (-1, 6), (1, 6), (2, 5)]]),
(-13, 13, [[(-8, -9), (-8, 8), (-10, 9)], [(-7, -9), (-7, 8)], [(-6, -10), (-6, 8)], [(-10, -7), (-8, -9), (-6, -10), (-4, -11), (-1, -12), (3, -12), (7, -11), (9, -9), (10, -7), (10, -4), (9, -2), (8, -1)], [(7, -10), (8, -9), (9, -7), (9, -4), (8, -2)], [(3, -12), (5, -11), (7, -9), (8, -7), (8, -3), (7, -1)], [(6, 0), (3, 1), (0, 1), (-2, 0), (-2, -2), (0, -3), (3, -3), (6, -2), (8, 0), (10, 3), (10, 5), (9, 6), (8, 6)], [(6, -1), (7, 0), (9, 4), (9, 5), (8, 2)], [(2, -3), (4, -2), (6, 0), (7, 2), (8, 6), (9, 8), (10, 9)], [(-10, 9), (-6, 8), (-2, 8), (3, 9)]]),
(-13, 13, [[(2, -12), (8, -11), (10, -12), (9, -10), (9, -8), (7, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-8, -8), (-9, -5), (-9, -3), (-8, 0), (-6, 2), (-3, 3), (0, 3), (2, 2), (3, 1), (4, -1), (4, -2)], [(9, -11), (8, -10), (9, -8)], [(-8, -2), (-7, 0), (-6, 1), (-3, 2), (0, 2), (2, 1)], [(-7, -9), (-8, -7), (-8, -4), (-7, -2), (-5, 0), (-2, 1), (0, 1), (2, 0), (4, -2), (5, -3), (6, -3)], [(-6, -1), (-5, -1), (-4, -2), (-2, -4), (0, -5), (3, -5), (5, -4), (7, -2), (8, 0), (8, 3), (7, 6), (5, 8)], [(-2, -5), (0, -6), (3, -6), (6, -5), (8, -3), (9, 0), (9, 3), (8, 5)], [(-9, 5), (-8, 7), (-9, 8)], [(-4, -2), (-4, -3), (-3, -5), (-2, -6), (0, -7), (3, -7), (6, -6), (9, -3), (10, 0), (10, 2), (9, 5), (7, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 7), (-9, 5), (-9, 7), (-10, 9), (-8, 8), (-2, 9)]]),
(-13, 13, [[(-1, -10), (-5, -10), (-7, -9), (-8, -8), (-9, -6), (-10, -3), (-10, 1), (-9, 4), (-8, 6), (-7, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -4), (9, -7), (7, -9), (5, -10)], [(3, -10), (2, -9), (2, -7), (3, -6), (4, -7), (3, -8)], [(-9, 1), (-8, 4), (-6, 6), (-4, 7), (-1, 8), (2, 8), (5, 7)], [(-8, -8), (-9, -4), (-9, -1), (-8, 2), (-6, 5), (-4, 6), (-1, 7), (2, 7), (5, 6), (7, 5), (9, 2), (10, 0)], [(-10, -12), (-7, -9)], [(-7, -10), (-6, -11)], [(-9, -11), (-8, -11), (-7, -12), (-5, -11), (-1, -10), (5, -10), (8, -11), (10, -12)]]),
(-13, 13, [[(-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 7)], [(-7, -8), (-8, -6), (-9, -3), (-9, 1), (-8, 4)], [(-7, -9), (-6, -8), (-6, -7), (-7, -5), (-8, -2), (-8, 1), (-7, 4), (-6, 6), (-4, 8)], [(4, -10), (6, -10), (6, 6), (5, 8), (3, 9)], [(7, -10), (7, 6), (6, 7)], [(8, -11), (8, 7), (10, 9)], [(-10, -12), (-7, -11), (-1, -10), (4, -10), (8, -11), (10, -12)]]),
(-13, 13, [[(-10, -12), (0, 9)], [(-9, -11), (-8, -10), (-1, 5), (0, 7)], [(-8, -11), (-7, -10), (0, 5), (1, 6)], [(10, -12), (0, 9)], [(5, -4), (3, 1)], [(7, -6), (3, -1), (2, 2), (2, 4)], [(-10, -12), (-8, -11), (-3, -10), (3, -10), (8, -11), (10, -12)]]),
(-13, 13, [[(-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 7), (8, 5), (9, 3), (10, 0), (10, -3), (9, -6), (8, -8), (6, -10)], [(-8, -6), (-9, -3), (-9, 0), (-8, 3), (-7, 5)], [(-8, -8), (-7, -7), (-7, -6), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8)], [(7, 5), (8, 3), (9, 0), (9, -3), (8, -6)], [(4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -6), (7, -7), (8, -8)], [(-1, -9), (-1, 9)], [(0, -8), (0, 8)], [(1, -9), (1, 9)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)]]),
(-13, 13, [[(-10, -12), (6, 7), (7, 8)], [(-9, -11), (-7, -10), (8, 8)], [(-6, -10), (10, 9)], [(10, -12), (1, -2)], [(-1, 0), (-8, 8)], [(-2, 1), (-5, 3), (-6, 5)], [(-1, 0), (-5, 2), (-6, 3), (-7, 5), (-7, 7)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 9), (-8, 8), (-4, 7), (1, 7), (7, 8), (10, 9)]]),
(-13, 13, [[(6, -10), (6, 8)], [(7, -10), (7, 7)], [(8, -11), (8, 7)], [(-7, -10), (-9, -8), (-10, -5), (-10, -2), (-9, 1), (-7, 3), (-5, 4), (-2, 5), (1, 5), (4, 4), (6, 3)], [(-6, 3), (-3, 4), (3, 4)], [(-10, -2), (-9, 0), (-7, 2), (-4, 3), (2, 3), (4, 4)], [(-10, -12), (-6, -10), (-2, -9), (2, -9), (6, -10), (10, -12)], [(-10, 5), (-8, 7), (-6, 8), (-2, 9), (2, 9), (6, 8), (10, 6)]]),
(-13, 13, [[(-10, -12), (-9, -11), (-7, -10), (-4, -10), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5)], [(6, -11), (7, -9), (7, -7), (6, -5)], [(4, -12), (5, -11), (6, -9), (6, -6)], [(6, -4), (2, -3), (0, -3), (-2, -4), (-2, -6), (0, -7), (2, -7), (6, -6)], [(2, -7), (4, -6), (5, -5), (4, -4), (2, -3)], [(7, -5), (9, -3), (10, 0), (10, 2), (9, 5), (7, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 7), (-9, 5), (-10, 2), (-10, 0), (-9, -3), (-8, -4), (-6, -5), (-4, -5), (-2, -4), (-2, -2), (-3, -1), (-4, -2), (-3, -3)], [(6, -5), (8, -3), (9, -1), (9, 3), (8, 5)], [(6, -4), (7, -3), (8, -1), (8, 3), (7, 6), (5, 8)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-6, 6, [[(2, -12), (0, -11), (-1, -9), (-1, -7), (0, -5), (2, -7), (0, -9), (0, -11)], [(0, -8), (0, -6), (1, -7), (0, -8)]]),
(-8, 9, [[(-2, -1), (-5, 2), (-5, 6), (-2, 9), (2, 7)], [(-4, 2), (-4, 6), (-2, 8)], [(-3, 0), (-3, 5), (0, 8)], [(0, 1), (-5, -4), (-4, -5), (-3, -4), (-4, -3)], [(-3, -4), (1, -4), (3, -5), (5, -3), (5, 6), (6, 7)], [(3, -4), (4, -3), (4, 6), (3, 7), (4, 8), (5, 7), (4, 6)], [(1, -4), (3, -2), (3, 6), (2, 7), (4, 9), (6, 7)]]),
(-9, 8, [[(-4, -10), (-6, -12), (-5, -8), (-5, 6), (-2, 9), (3, 7), (5, 6)], [(-4, -10), (-4, 6), (-2, 8)], [(-4, -10), (-2, -12), (-3, -8), (-3, 5), (0, 8)], [(-3, -3), (2, -5), (5, -2), (5, 6)], [(2, -4), (4, -2), (4, 6)], [(0, -4), (3, -1), (3, 7)]]),
(-7, 5, [[(-4, -2), (-4, 7), (-2, 9), (0, 7)], [(-3, -2), (-3, 7), (-2, 8)], [(-2, -3), (-2, 6), (-1, 7), (0, 7)], [(-4, -2), (2, -5), (4, -3), (2, -2), (0, -4)], [(1, -4), (3, -3)]]),
(-8, 8, [[(0, -5), (-5, -2), (-5, 6), (-2, 9), (0, 8), (3, 7), (5, 7)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-2, -9), (-2, -12), (-1, -9), (5, -2), (5, 7)], [(-2, -9), (4, -2), (4, 6)], [(-2, -9), (-5, -9), (-2, -8), (3, -2), (3, 7)]]),
(-7, 6, [[(-4, -2), (-4, 7), (-2, 9), (0, 7)], [(-3, -2), (-3, 7), (-2, 8)], [(-2, -3), (-2, 6), (-1, 7), (0, 7)], [(-4, -2), (2, -5), (5, -1), (-2, 3)], [(1, -4), (4, -1)], [(0, -4), (3, 0)]]),
(-7, 5, [[(-3, -9), (-3, 6), (-4, 7), (-2, 9)], [(-2, -9), (-2, 6), (-3, 7), (-2, 8), (-1, 7), (-2, 6)], [(-1, -10), (-1, 6), (0, 7), (-2, 9)], [(-3, -9), (3, -12), (5, -10), (3, -9), (1, -11)], [(2, -11), (4, -10)], [(-6, -5), (-3, -5)], [(-1, -5), (3, -5)]]),
(-8, 9, [[(-5, -2), (-5, 6), (-2, 9), (3, 7)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-5, -2), (-3, -3), (2, -5), (5, -2), (5, 11), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-5, 15), (-3, 16), (-1, 15)], [(2, -4), (4, -2), (4, 11), (3, 13)], [(-2, 15), (-4, 15)], [(0, -4), (3, -1), (3, 12), (2, 14), (1, 15)]]),
(-9, 9, [[(-4, -10), (-6, -12), (-5, -8), (-5, 6), (-6, 7), (-4, 9)], [(-4, -10), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-4, -10), (-2, -12), (-3, -8), (-3, 6), (-2, 7), (-4, 9)], [(-3, -3), (0, -4), (2, -5), (5, -2), (5, 7), (2, 11), (2, 14), (3, 16), (4, 16), (2, 14)], [(2, -4), (4, -2), (4, 7), (3, 9)], [(0, -4), (3, -1), (3, 8), (2, 11)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -8), (2, -10), (0, -12)], [(0, -11), (-1, -10), (0, -9), (1, -10), (0, -11)], [(0, -5), (-2, -3), (-1, -2), (-1, 6), (-2, 7), (0, 9)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(0, -5), (2, -3), (1, -2), (1, 6), (2, 7), (0, 9)]]),
(-5, 5, [[(0, -12), (-2, -10), (0, -8), (2, -10), (0, -12)], [(0, -11), (-1, -10), (0, -9), (1, -10), (0, -11)], [(0, -5), (-2, -3), (-1, -2), (-1, 7), (2, 11)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 7), (1, 9)], [(0, -5), (2, -3), (1, -2), (1, 8), (2, 11), (2, 14), (0, 16), (-2, 15), (-2, 16), (0, 16)]]),
(-9, 8, [[(-4, -10), (-6, -12), (-5, -8), (-5, 6), (-6, 7), (-4, 9)], [(-4, -10), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-4, -10), (-2, -12), (-3, -8), (-3, 6), (-2, 7), (-4, 9)], [(-3, -2), (0, -4), (2, -5), (4, -2), (1, 0), (-3, 3)], [(1, -4), (3, -2)], [(0, -4), (2, -1)], [(0, 1), (1, 2), (2, 7), (4, 9), (6, 7)], [(1, 1), (2, 3), (3, 7), (4, 8)], [(1, 0), (2, 1), (4, 6), (5, 7), (6, 7)]]),
(-5, 5, [[(0, -10), (-2, -12), (-1, -8), (-1, 6), (-2, 7), (0, 9)], [(0, -10), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(0, -10), (2, -12), (1, -8), (1, 6), (2, 7), (0, 9)]]),
(-13, 13, [[(-11, -3), (-10, -3), (-9, -2), (-9, 6), (-10, 7), (-8, 9)], [(-9, -4), (-8, -3), (-8, 6), (-9, 7), (-8, 8), (-7, 7), (-8, 6)], [(-11, -3), (-9, -5), (-7, -3), (-7, 6), (-6, 7), (-8, 9)], [(-7, -3), (-4, -4), (-2, -5), (1, -3), (1, 6), (2, 7), (0, 9)], [(-2, -4), (0, -3), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(-4, -4), (-1, -2), (-1, 6), (-2, 7), (0, 9)], [(1, -3), (4, -4), (6, -5), (9, -3), (9, 6), (10, 7), (8, 9)], [(6, -4), (8, -3), (8, 6), (7, 7), (8, 8), (9, 7), (8, 6)], [(4, -4), (7, -2), (7, 6), (6, 7), (8, 9)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7), (-4, 9)], [(-5, -4), (-4, -3), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (-2, 7), (-4, 9)], [(-3, -3), (0, -4), (2, -5), (5, -3), (5, 6), (6, 7), (4, 9)], [(2, -4), (4, -3), (4, 6), (3, 7), (4, 8), (5, 7), (4, 6)], [(0, -4), (3, -2), (3, 6), (2, 7), (4, 9)]]),
(-8, 8, [[(-5, -2), (-5, 6), (-2, 9), (3, 7), (5, 6)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-5, -2), (-3, -3), (2, -5), (5, -2), (5, 6)], [(2, -4), (4, -2), (4, 6)], [(0, -4), (3, -1), (3, 7)]]),
(-9, 8, [[(-6, -5), (-5, -3), (-5, 6), (-7, 7), (-5, 7), (-5, 13), (-6, 16), (-4, 14)], [(-4, -3), (-4, 14)], [(-6, -5), (-4, -4), (-3, -3), (-3, 6), (-1, 7), (0, 8)], [(-4, 7), (-3, 7), (-1, 8)], [(-3, 8), (-2, 9), (3, 7), (5, 6)], [(-3, 8), (-3, 13), (-2, 16), (-4, 14)], [(-3, -3), (0, -4), (2, -5), (5, -2), (5, 6)], [(2, -4), (4, -2), (4, 6)], [(0, -4), (3, -1), (3, 7)]]),
(-8, 9, [[(-5, -2), (-5, 6), (-2, 9), (3, 7)], [(-4, -2), (-4, 6), (-2, 8)], [(-3, -3), (-3, 5), (0, 8)], [(-5, -2), (-3, -3), (2, -5), (5, -2), (5, 13), (6, 16), (4, 14)], [(2, -4), (4, -2), (4, 14)], [(0, -4), (3, -1), (3, 13), (2, 16), (4, 14)]]),
(-7, 6, [[(-5, -3), (-4, -3), (-3, -2), (-3, 6), (-4, 7), (-2, 9)], [(-3, -4), (-2, -3), (-2, 6), (-3, 7), (-2, 8), (-1, 7), (-2, 6)], [(-5, -3), (-3, -5), (-1, -3), (-1, 6), (0, 7), (-2, 9)], [(-1, -3), (3, -5), (5, -3), (3, -2), (1, -4)], [(2, -4), (4, -3)]]),
(-8, 8, [[(-5, -2), (-5, 1), (-3, 3), (3, 0), (5, 2), (5, 6)], [(-4, -2), (-4, 1), (-3, 2)], [(-3, -3), (-3, 1), (-2, 2)], [(3, 1), (4, 2), (4, 6)], [(2, 1), (3, 2), (3, 7)], [(-5, -2), (1, -5), (4, -4), (2, -3), (-1, -4)], [(0, -4), (3, -4)], [(5, 6), (-1, 9), (-5, 7), (-3, 6), (1, 8)], [(-3, 7), (-1, 8)]]),
(-5, 5, [[(0, -10), (-2, -12), (-1, -8), (-1, 6), (-2, 7), (0, 9)], [(0, -10), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6)], [(0, -10), (2, -12), (1, -8), (1, 6), (2, 7), (0, 9)], [(-4, -5), (-1, -5)], [(1, -5), (4, -5)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 7), (-2, 9), (3, 7)], [(-5, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (0, 8)], [(4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 7), (5, 8)], [(4, -5), (2, -3), (3, -2), (3, 7), (5, 9), (7, 7)]]),
(-9, 9, [[(-6, -5), (-5, -3), (-5, 6), (-1, 9), (1, 7), (5, 5)], [(-5, -4), (-4, -3), (-4, 6), (-1, 8)], [(-6, -5), (-4, -4), (-3, -3), (-3, 5), (0, 7), (1, 7)], [(4, -5), (6, -3), (5, -2), (5, 5)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 5)], [(4, -5), (2, -3), (3, -2), (3, 6)]]),
(-13, 13, [[(-10, -5), (-9, -3), (-9, 6), (-5, 9), (-3, 7), (-1, 6)], [(-9, -4), (-8, -3), (-8, 6), (-5, 8)], [(-10, -5), (-8, -4), (-7, -3), (-7, 5), (-4, 7), (-3, 7)], [(0, -5), (-2, -3), (-1, -2), (-1, 6), (3, 9), (5, 7), (9, 5)], [(0, -2), (1, -3), (0, -4), (-1, -3), (0, -2), (0, 6), (3, 8)], [(0, -5), (2, -3), (1, -2), (1, 5), (4, 7), (5, 7)], [(8, -5), (10, -3), (9, -2), (9, 5)], [(8, -2), (9, -3), (8, -4), (7, -3), (8, -2), (8, 5)], [(8, -5), (6, -3), (7, -2), (7, 6)]]),
(-9, 9, [[(-6, -3), (-4, -2), (3, 8), (4, 9), (6, 7)], [(-5, -4), (-3, -3), (3, 7), (5, 8)], [(-6, -3), (-4, -5), (-3, -4), (4, 6), (6, 7)], [(6, -5), (4, -5), (4, -3), (6, -3), (6, -5), (4, -3), (1, 1)], [(-1, 3), (-4, 7), (-6, 9), (-4, 9), (-4, 7), (-6, 7), (-6, 9)], [(-4, 2), (-1, 2)], [(1, 2), (4, 2)]]),
(-9, 9, [[(-7, -3), (-6, -3), (-5, -2), (-5, 7), (-2, 9), (3, 7)], [(-5, -4), (-4, -3), (-4, 7), (-2, 8)], [(-7, -3), (-5, -5), (-3, -3), (-3, 6), (0, 8)], [(4, -5), (6, -3), (5, -2), (5, 11), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-5, 15), (-3, 16), (-1, 15)], [(4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 12), (3, 13)], [(-2, 15), (-4, 15)], [(4, -5), (2, -3), (3, -2), (3, 12), (2, 14), (1, 15)]]),
(-6, 9, [[(0, -4), (-3, -2), (-3, -3), (0, -4), (2, -5), (5, -3), (5, 1), (0, 3)], [(2, -4), (4, -3), (4, 1)], [(0, -4), (3, -2), (3, 1), (2, 2)], [(0, 3), (5, 5), (5, 11), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-5, 15), (-3, 16), (-1, 15)], [(4, 5), (4, 12), (3, 13)], [(-2, 15), (-4, 15)], [(2, 4), (3, 5), (3, 12), (2, 14), (1, 15)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)], [(-1, -12), (-4, -9), (-3, -5), (1, -4), (4, -7), (3, -11), (-1, -12)], [(1, -12), (-3, -11), (-4, -7), (-1, -4), (3, -5), (4, -9), (1, -12)]]),
]
GREEK = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-4, -5)], [(4, -12), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 7), (-10, 5), (-10, 3), (-9, 1), (-8, 0), (-1, -4), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (7, 9), (9, 9), (10, 8), (10, 7)]]),
(-5, 5, [[(0, -10), (-1, -11), (0, -12), (1, -11), (1, -9), (0, -7), (-1, -6)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-5, 2), (5, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2)], [(-7, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-7, 9)]]),
(-10, 10, [[(-7, -12), (7, 9)], [(-7, 9), (7, -12)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-8, 9), (8, 9)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)], [(-6, 9), (7, 9)]]),
(-10, 10, [[(0, -12), (0, 9)], [(-2, -7), (-5, -6), (-6, -5), (-7, -3), (-7, 0), (-6, 2), (-5, 3), (-2, 4), (2, 4), (5, 3), (6, 2), (7, 0), (7, -3), (6, -5), (5, -6), (2, -7), (-2, -7)]]),
(-10, 7, [[(-6, -12), (-6, 9)], [(-6, -12), (6, -12)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -2), (7, -2)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-2, 3, [[(0, -1), (0, 0), (1, 0), (1, -1), (0, -1)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(7, -12), (-7, 2)], [(-2, -3), (7, 9)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-8, -12), (0, 9)], [(8, -12), (0, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (7, 9)], [(7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -12), (7, -12)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(-3, -2), (3, -2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-7, -1)]]),
(-9, 9, [[(-7, -12), (0, -2), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-8, 8, [[(0, -12), (0, 9)], [(-7, -12), (7, -12)]]),
(-9, 9, [[(-7, -7), (-7, -9), (-6, -11), (-5, -12), (-3, -12), (-2, -11), (-1, -9), (0, -5), (0, 9)], [(7, -7), (7, -9), (6, -11), (5, -12), (3, -12), (2, -11), (1, -9), (0, -5)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-7, 9), (-3, 9), (-6, 2), (-7, -2), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, -2), (6, 2), (3, 9), (7, 9)]]),
(-9, 9, [[(-7, -12), (7, -12)], [(-3, -2), (3, -2)], [(-7, 9), (7, 9)]]),
(-11, 11, [[(0, -12), (0, 9)], [(-9, -6), (-8, -6), (-7, -5), (-6, -1), (-5, 1), (-4, 2), (-1, 3), (1, 3), (4, 2), (5, 1), (6, -1), (7, -5), (8, -6), (9, -6)]]),
(-10, 10, [[(7, -12), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(0, -14), (-8, 0)], [(0, -14), (8, 0)]]),
(-9, 9, [[(-9, 16), (9, 16)]]),
(-4, 4, [[(1, -7), (-1, -5), (-1, -3), (0, -2), (1, -3), (0, -4), (-1, -3)]]),
(-10, 11, [[(-1, -5), (-3, -4), (-5, -2), (-6, 0), (-7, 3), (-7, 6), (-6, 8), (-4, 9), (-2, 9), (0, 8), (3, 5), (5, 2), (7, -2), (8, -5)], [(-1, -5), (1, -5), (2, -4), (3, -2), (5, 6), (6, 8), (7, 9), (8, 9)]]),
(-9, 10, [[(3, -12), (1, -11), (-1, -9), (-3, -5), (-4, -2), (-5, 2), (-6, 8), (-7, 16)], [(3, -12), (5, -12), (7, -10), (7, -7), (6, -5), (5, -4), (3, -3), (0, -3)], [(0, -3), (2, -2), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (1, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 4)]]),
(-9, 9, [[(-7, -5), (-5, -5), (-3, -3), (3, 14), (5, 16), (7, 16)], [(8, -5), (7, -3), (5, 0), (-5, 11), (-7, 14), (-8, 16)]]),
(-9, 9, [[(2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (2, 8), (4, 6), (5, 3), (5, 0), (4, -3), (2, -5), (0, -7), (-1, -9), (-1, -11), (0, -12), (2, -12), (4, -11), (6, -9)]]),
(-8, 8, [[(5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-3, -2), (-2, 0), (1, 1)], [(1, 1), (-3, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)]]),
(-11, 11, [[(-3, -4), (-5, -3), (-7, -1), (-8, 2), (-8, 5), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (5, 6), (7, 3), (8, 0), (8, -3), (6, -5), (4, -5), (2, -3), (0, 1), (-2, 6), (-5, 16)]]),
(-9, 10, [[(-8, -2), (-6, -4), (-4, -5), (-3, -5), (-1, -4), (0, -3), (1, 0), (1, 4), (0, 9)], [(8, -5), (7, -2), (6, 0), (0, 9), (-2, 13), (-3, 16)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-4, -5), (-3, -4), (-3, -2), (-4, 2), (-6, 9)], [(-4, 2), (-2, -2), (0, -4), (2, -5), (4, -5), (6, -3), (6, 0), (5, 5), (2, 16)]]),
(-6, 5, [[(0, -5), (-2, 2), (-3, 6), (-3, 8), (-2, 9), (0, 9), (2, 7), (3, 5)]]),
(-11, 11, [[(-7, -7), (7, 7)], [(7, -7), (-7, 7)]]),
(-9, 9, [[(-3, -5), (-7, 9)], [(7, -4), (6, -5), (5, -5), (3, -4), (-1, 0), (-3, 1), (-4, 1)], [(-4, 1), (-2, 2), (-1, 3), (1, 8), (2, 9), (3, 9), (4, 8)]]),
(-8, 8, [[(-7, -12), (-5, -12), (-3, -11), (-2, -10), (6, 9)], [(0, -5), (-6, 9)]]),
(-10, 11, [[(-3, -5), (-9, 16)], [(-4, -1), (-5, 4), (-5, 7), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 2)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)]]),
(-9, 9, [[(-6, -5), (-3, -5), (-4, 1), (-5, 6), (-6, 9)], [(7, -5), (6, -2), (5, 0), (3, 3), (0, 6), (-3, 8), (-6, 9)]]),
(-8, 9, [[(0, -5), (-2, -4), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0), (5, -3), (4, -4), (2, -5), (0, -5)]]),
(-11, 11, [[(-2, -5), (-6, 9)], [(3, -5), (4, 1), (5, 6), (6, 9)], [(-9, -2), (-7, -4), (-4, -5), (9, -5)]]),
(-11, 10, [[(-10, -1), (-9, -3), (-7, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 3), (-5, 6), (-4, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 3), (5, 0), (6, -5), (6, -8), (5, -11), (3, -12), (1, -12), (0, -10), (0, -8), (1, -5), (3, -2), (5, 0), (8, 2)]]),
(-9, 9, [[(-5, 1), (-5, 4), (-4, 7), (-3, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0), (5, -3), (4, -4), (2, -5), (0, -5), (-2, -4), (-4, -2), (-5, 1), (-9, 16)]]),
(-9, 11, [[(9, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (2, 8), (4, 6), (5, 3), (5, 0), (4, -3), (3, -4), (1, -5)]]),
(-10, 10, [[(1, -5), (-2, 9)], [(-8, -2), (-6, -4), (-3, -5), (8, -5)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-4, -5), (-3, -4), (-3, -2), (-5, 4), (-5, 7), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 2), (7, -2), (7, -5)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 0), (9, 0)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-12, 11, [[(-4, -5), (-6, -4), (-8, -1), (-9, 2), (-9, 5), (-8, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 5)], [(0, 1), (-1, 5), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5), (8, 2), (8, -1), (7, -4), (6, -5)]]),
(-8, 8, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (6, -7)], [(3, -7), (0, -6), (-2, -5), (-3, -3), (-3, -1), (-1, 1), (2, 2), (4, 2)], [(2, 2), (-2, 3), (-4, 4), (-5, 6), (-5, 8), (-3, 10), (1, 12), (2, 13), (2, 15), (0, 16), (-2, 16)]]),
(-12, 11, [[(4, -12), (-4, 16)], [(-11, -1), (-10, -3), (-8, -5), (-6, -5), (-5, -4), (-5, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (8, -2), (9, -5)]]),
(-8, 7, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (6, -7)], [(6, -7), (2, -5), (-1, -3), (-4, 0), (-5, 3), (-5, 5), (-4, 7), (-2, 9), (1, 11), (2, 13), (2, 15), (1, 16), (-1, 16), (-2, 14)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
GREEKC = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (-1, -10), (0, 2), (1, -10), (0, -12)], [(0, -10), (0, -4)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(6, -9), (5, -8), (6, -7), (7, -8), (7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (7, 2)], [(-7, -7), (-5, -5), (-3, -4), (3, -2), (5, -1), (6, 0), (7, 2), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(9, -4), (8, -3), (9, -2), (10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-5, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (8, 9), (9, 9), (10, 8), (10, 7)], [(-5, 9), (-7, 8), (-8, 6), (-8, 3), (-7, 1), (-5, -1)], [(-5, -7), (-4, -5), (4, 6), (6, 8), (8, 9)]]),
(-5, 5, [[(0, -10), (-1, -11), (0, -12), (1, -11), (1, -9), (0, -7), (-1, -6)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-8, 8, [[(0, -12), (0, 0)], [(-5, -9), (5, -3)], [(5, -9), (-5, -3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-4, -10), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 5), (6, 0), (6, -3), (5, -8), (4, -10), (3, -11), (1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(0, -11), (0, 9)], [(-4, 9), (5, 9)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 8), (4, 8), (6, 7), (7, 6)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-10, 10, [[(2, -10), (2, 9)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-1, 9), (6, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2)], [(-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-5, -12), (5, -12)], [(-5, -11), (0, -11), (5, -12)]]),
(-10, 10, [[(5, -9), (4, -8), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)], [(0, -12), (-2, -11), (-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 2), (5, -1), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-6, -10), (-4, -11), (-2, -11), (3, -9)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 4), (0, 9)], [(6, -6), (1, -1), (0, 1), (-1, 4), (-1, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -3)], [(2, -3), (4, -4), (5, -6), (5, -9), (4, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 7), (6, 5), (6, 1), (5, -1), (4, -2), (2, -3)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(-1, 1), (-3, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6), (2, 8), (0, 9)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-5, -8), (-4, -7), (-5, -6), (-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(1, -12), (3, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -12), (-3, 9)], [(-7, -12), (8, -12), (8, -6), (7, -12)], [(-7, 9), (0, 9)]]),
(-10, 10, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(0, -9), (7, 9)], [(-7, 8), (7, 8)], [(-8, 9), (8, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(1, -6), (1, 2)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (1, -2)], [(-9, 9), (7, 9), (7, 3), (6, 9)]]),
(-10, 10, [[(6, -12), (-7, 9)], [(7, -12), (-6, 9)], [(-6, -12), (-7, -6), (-7, -12), (7, -12)], [(-7, 9), (7, 9), (7, 3), (6, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-6, -2), (6, -2)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)], [(-3, -5), (-3, 2)], [(3, -5), (3, 2)], [(-3, -2), (3, -2)], [(-3, -1), (3, -1)]]),
(-5, 6, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-12, 10, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(7, -12), (-6, 1)], [(-1, -3), (7, 9)], [(-2, -3), (6, 9)], [(-10, -12), (-3, -12)], [(3, -12), (9, -12)], [(-10, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-12, 13, [[(-7, -12), (-7, 9)], [(-6, -12), (0, 6)], [(-7, -12), (0, 9)], [(7, -12), (0, 9)], [(7, -12), (7, 9)], [(8, -12), (8, 9)], [(-10, -12), (-6, -12)], [(7, -12), (11, -12)], [(-10, 9), (-4, 9)], [(4, 9), (11, 9)]]),
(-11, 12, [[(-6, -12), (-6, 9)], [(-5, -12), (7, 7)], [(-5, -10), (7, 9)], [(7, -12), (7, 9)], [(-9, -12), (-5, -12)], [(4, -12), (10, -12)], [(-9, 9), (-3, 9)]]),
(-11, 11, [[(-7, -13), (-8, -8)], [(8, -13), (7, -8)], [(-3, -4), (-4, 1)], [(4, -4), (3, 1)], [(-7, 5), (-8, 10)], [(8, 5), (7, 10)], [(-7, -11), (7, -11)], [(-7, -10), (7, -10)], [(-3, -2), (3, -2)], [(-3, -1), (3, -1)], [(-7, 7), (7, 7)], [(-7, 8), (7, 8)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (10, -12)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-5, -1)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1)], [(-9, 9), (-2, 9)]]),
(-10, 11, [[(-7, -12), (0, -2), (-8, 9)], [(-8, -12), (-1, -2)], [(-8, -12), (7, -12), (8, -6), (6, -12)], [(-7, 8), (6, 8)], [(-8, 9), (7, 9), (8, 3), (6, 9)]]),
(-9, 10, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-6, -12), (-7, -6), (-7, -12), (8, -12), (8, -6), (7, -12)], [(-3, 9), (4, 9)]]),
(-9, 10, [[(-7, -7), (-7, -9), (-6, -11), (-5, -12), (-3, -12), (-2, -11), (-1, -9), (0, -5), (0, 9)], [(-7, -9), (-5, -11), (-3, -11), (-1, -9)], [(8, -7), (8, -9), (7, -11), (6, -12), (4, -12), (3, -11), (2, -9), (1, -5), (1, 9)], [(8, -9), (6, -11), (4, -11), (2, -9)], [(-3, 9), (4, 9)]]),
(-10, 11, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-2, -7), (-5, -6), (-6, -5), (-7, -3), (-7, 0), (-6, 2), (-5, 3), (-2, 4), (3, 4), (6, 3), (7, 2), (8, 0), (8, -3), (7, -5), (6, -6), (3, -7), (-2, -7)], [(-2, -7), (-4, -6), (-5, -5), (-6, -3), (-6, 0), (-5, 2), (-4, 3), (-2, 4)], [(3, 4), (5, 3), (6, 2), (7, 0), (7, -3), (6, -5), (5, -6), (3, -7)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-10, 10, [[(-7, -12), (6, 9)], [(-6, -12), (7, 9)], [(7, -12), (-7, 9)], [(-9, -12), (-3, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-11, 12, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-9, -5), (-8, -6), (-6, -5), (-5, -1), (-4, 1), (-3, 2), (-1, 3)], [(-8, -6), (-7, -5), (-6, -1), (-5, 1), (-4, 2), (-1, 3), (2, 3), (5, 2), (6, 1), (7, -1), (8, -5), (9, -6)], [(2, 3), (4, 2), (5, 1), (6, -1), (7, -5), (9, -6), (10, -5)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-11, 11, [[(-8, 6), (-7, 9), (-3, 9), (-5, 5), (-7, 1), (-8, -2), (-8, -6), (-7, -9), (-5, -11), (-2, -12), (2, -12), (5, -11), (7, -9), (8, -6), (8, -2), (7, 1), (5, 5), (3, 9), (7, 9), (8, 6)], [(-5, 5), (-6, 2), (-7, -2), (-7, -6), (-6, -9), (-4, -11), (-2, -12)], [(2, -12), (4, -11), (6, -9), (7, -6), (7, -2), (6, 2), (5, 5)], [(-7, 8), (-4, 8)], [(4, 8), (7, 8)]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 5, [[(1, -12), (0, -11), (-1, -9), (-1, -7), (0, -6), (1, -7), (0, -8)]]),
(-11, 12, [[(-1, -5), (-4, -4), (-6, -2), (-7, 0), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (-2, 9), (0, 8), (3, 5), (5, 2), (7, -2), (8, -5)], [(-1, -5), (-3, -4), (-5, -2), (-6, 0), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(-1, -5), (1, -5), (3, -4), (4, -2), (6, 6), (7, 8), (8, 9)], [(1, -5), (2, -4), (3, -2), (5, 6), (6, 8), (8, 9), (9, 9)]]),
(-11, 10, [[(2, -12), (-1, -11), (-3, -9), (-5, -5), (-6, -2), (-7, 2), (-8, 8), (-9, 16)], [(2, -12), (0, -11), (-2, -9), (-4, -5), (-5, -2), (-6, 2), (-7, 8), (-8, 16)], [(2, -12), (4, -12), (6, -11), (7, -10), (7, -7), (6, -5), (5, -4), (2, -3), (-2, -3)], [(4, -12), (6, -10), (6, -7), (5, -5), (4, -4), (2, -3)], [(-2, -3), (2, -2), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (0, 9), (-2, 9), (-4, 8), (-5, 7), (-6, 4)], [(-2, -3), (1, -2), (3, 0), (4, 2), (4, 5), (3, 7), (2, 8), (0, 9)]]),
(-10, 10, [[(-9, -2), (-7, -4), (-5, -5), (-3, -5), (-1, -4), (0, -3), (1, 0), (1, 4), (0, 8), (-3, 16)], [(-8, -3), (-6, -4), (-2, -4), (0, -3)], [(8, -5), (7, -2), (6, 0), (1, 7), (-2, 12), (-4, 16)], [(7, -5), (6, -2), (5, 0), (1, 7)]]),
(-9, 10, [[(4, -4), (2, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (1, -8), (0, -10), (0, -12), (1, -13), (3, -13), (5, -12), (7, -10)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4), (2, -7), (1, -9), (1, -11), (2, -12), (4, -12), (7, -10)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-2, -5), (-4, -4), (-4, -2), (-2, 0), (1, 1)], [(-2, -5), (-3, -4), (-3, -2), (-1, 0), (1, 1)], [(1, 1), (-4, 2), (-6, 4), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(1, 1), (-3, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-9, 9, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (8, -7), (8, -8), (5, -7), (1, -5), (-2, -3), (-5, 0), (-6, 3), (-6, 5), (-5, 7), (-2, 9), (1, 11), (2, 13), (2, 15), (1, 16), (-1, 16), (-2, 15)], [(3, -6), (-1, -3), (-4, 0), (-5, 3), (-5, 5), (-4, 7), (-2, 9)]]),
(-11, 11, [[(-10, -1), (-9, -3), (-7, -5), (-4, -5), (-3, -4), (-3, -2), (-4, 2), (-6, 9)], [(-5, -5), (-4, -4), (-4, -2), (-5, 2), (-7, 9)], [(-4, 2), (-2, -2), (0, -4), (2, -5), (4, -5), (6, -4), (7, -3), (7, 0), (6, 5), (3, 16)], [(4, -5), (6, -3), (6, 0), (5, 5), (2, 16)]]),
(-12, 11, [[(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 3), (-5, 6), (-4, 8), (-3, 9)], [(-6, -5), (-5, -4), (-5, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -5), (7, -9), (6, -11), (4, -12), (2, -12), (0, -10), (0, -8), (1, -5), (3, -2), (5, 0), (8, 2)], [(1, 8), (3, 5), (4, 3), (5, 0), (6, -5), (6, -9), (5, -11), (4, -12)]]),
(-6, 6, [[(0, -5), (-2, 2), (-3, 6), (-3, 8), (-2, 9), (1, 9), (3, 7), (4, 5)], [(1, -5), (-1, 2), (-2, 6), (-2, 8), (-1, 9)]]),
(-10, 10, [[(-4, -5), (-8, 9)], [(-3, -5), (-7, 9)], [(6, -5), (7, -4), (8, -4), (7, -5), (5, -5), (3, -4), (-1, 0), (-3, 1), (-5, 1)], [(-3, 1), (-1, 2), (1, 8), (2, 9)], [(-3, 1), (-2, 2), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5)]]),
(-10, 10, [[(-7, -12), (-5, -12), (-3, -11), (-2, -10), (-1, -8), (5, 6), (6, 8), (7, 9)], [(-5, -12), (-3, -10), (-2, -8), (4, 6), (5, 8), (7, 9), (8, 9)], [(0, -5), (-8, 9)], [(0, -5), (-7, 9)]]),
(-12, 11, [[(-5, -5), (-11, 16)], [(-4, -5), (-10, 16)], [(-5, -2), (-6, 4), (-6, 7), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 3)], [(6, -5), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(7, -5), (4, 6), (4, 8), (5, 9)]]),
(-10, 10, [[(-4, -5), (-6, 9)], [(-3, -5), (-4, 1), (-5, 6), (-6, 9)], [(7, -5), (6, -1), (4, 3)], [(8, -5), (7, -2), (6, 0), (4, 3), (2, 5), (-1, 7), (-3, 8), (-6, 9)], [(-7, -5), (-3, -5)]]),
(-9, 8, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (6, -7)], [(3, -7), (-1, -6), (-3, -5), (-4, -3), (-4, -1), (-2, 1), (1, 2), (4, 2)], [(3, -7), (0, -6), (-2, -5), (-3, -3), (-3, -1), (-1, 1), (1, 2)], [(1, 2), (-3, 3), (-5, 4), (-6, 6), (-6, 8), (-4, 10), (1, 12), (2, 13), (2, 15), (0, 16), (-2, 16)], [(1, 2), (-2, 3), (-4, 4), (-5, 6), (-5, 8), (-3, 10), (1, 12)]]),
(-9, 9, [[(0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (0, -5)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4)]]),
(-11, 11, [[(-2, -4), (-6, 9)], [(-2, -4), (-5, 9)], [(4, -4), (4, 9)], [(4, -4), (5, 9)], [(-9, -2), (-7, -4), (-4, -5), (9, -5)], [(-9, -2), (-7, -3), (-4, -4), (9, -4)]]),
(-10, 9, [[(-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-10, 16)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-9, 16)]]),
(-10, 11, [[(9, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 5), (5, 2), (5, -1), (4, -3), (3, -4), (1, -5)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)], [(-1, 9), (1, 8), (3, 5), (4, 2), (4, -2), (3, -4)], [(3, -4), (9, -4)]]),
(-10, 10, [[(1, -4), (-2, 9)], [(1, -4), (-1, 9)], [(-8, -2), (-6, -4), (-3, -5), (8, -5)], [(-8, -2), (-6, -3), (-3, -4), (8, -4)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-3, -5), (-2, -4), (-2, -2), (-4, 4), (-4, 7), (-2, 9)], [(-4, -5), (-3, -4), (-3, -2), (-5, 4), (-5, 7), (-4, 8), (-2, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (7, -3), (6, -5), (5, -4), (6, -3), (7, 0)], [(6, 3), (7, -3)]]),
(-11, 11, [[(-3, -4), (-5, -3), (-7, -1), (-8, 2), (-8, 5), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (5, 6), (7, 3), (8, 0), (8, -3), (6, -5), (4, -5), (2, -3), (0, 1), (-2, 6), (-5, 16)], [(-8, 5), (-6, 7), (-4, 8), (-1, 8), (2, 7), (5, 5), (7, 3)], [(8, -3), (6, -4), (4, -4), (2, -2), (0, 1), (-2, 7), (-4, 16)]]),
(-9, 9, [[(-7, -5), (-5, -5), (-3, -4), (-2, -2), (3, 13), (4, 15), (5, 16)], [(-5, -5), (-4, -4), (-3, -2), (2, 13), (3, 15), (5, 16), (7, 16)], [(8, -5), (7, -3), (5, 0), (-5, 11), (-7, 14), (-8, 16)]]),
(-12, 11, [[(3, -12), (-3, 16)], [(4, -12), (-4, 16)], [(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 3), (-5, 6), (-3, 8), (0, 8), (2, 7), (5, 4), (7, 1)], [(-6, -5), (-5, -4), (-5, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (0, 9), (2, 8), (4, 6), (6, 3), (7, 1), (9, -5)]]),
(-12, 11, [[(-8, -1), (-6, -3), (-3, -4), (-4, -5), (-6, -4), (-8, -1), (-9, 2), (-9, 5), (-8, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 5), (0, 2)], [(-9, 5), (-8, 7), (-7, 8), (-5, 8), (-3, 7), (-1, 5)], [(-1, 2), (-1, 5), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5), (8, 2), (8, -1), (7, -4), (6, -5), (5, -4), (7, -3), (8, -1)], [(-1, 5), (0, 7), (1, 8), (3, 8), (5, 7), (7, 5)]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
]
GREEKS = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-4, -5)], [(4, -12), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 7), (-10, 5), (-10, 3), (-9, 1), (-8, 0), (-1, -4), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (7, 9), (9, 9), (10, 8), (10, 7)]]),
(-5, 5, [[(0, -10), (-1, -11), (0, -12), (1, -11), (1, -9), (0, -7), (-1, -6)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)]]),
(-8, 8, [[(0, -12), (0, 0)], [(-5, -9), (5, -3)], [(5, -9), (-5, -3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 5, [[(1, 8), (0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(1, 8), (0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-5, 2), (5, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2)], [(-7, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-7, 9)]]),
(-10, 7, [[(-6, -12), (-6, 9)], [(-6, -12), (6, -12)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-8, 9), (8, 9)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)], [(-6, 9), (7, 9)]]),
(-10, 10, [[(7, -12), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -2), (7, -2)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(-3, -2), (3, -2)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(7, -12), (-7, 2)], [(-2, -3), (7, 9)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-8, -12), (0, 9)], [(8, -12), (0, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (7, 9)], [(7, -12), (7, 9)]]),
(-9, 9, [[(-7, -12), (7, -12)], [(-3, -2), (3, -2)], [(-7, 9), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -12), (7, -12)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-7, -1)]]),
(-9, 9, [[(-7, -12), (0, -2), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-8, 8, [[(0, -12), (0, 9)], [(-7, -12), (7, -12)]]),
(-9, 9, [[(-7, -7), (-7, -9), (-6, -11), (-5, -12), (-3, -12), (-2, -11), (-1, -9), (0, -5), (0, 9)], [(7, -7), (7, -9), (6, -11), (5, -12), (3, -12), (2, -11), (1, -9), (0, -5)]]),
(-10, 10, [[(0, -12), (0, 9)], [(-2, -7), (-5, -6), (-6, -5), (-7, -3), (-7, 0), (-6, 2), (-5, 3), (-2, 4), (2, 4), (5, 3), (6, 2), (7, 0), (7, -3), (6, -5), (5, -6), (2, -7), (-2, -7)]]),
(-10, 10, [[(-7, -12), (7, 9)], [(-7, 9), (7, -12)]]),
(-11, 11, [[(0, -12), (0, 9)], [(-9, -6), (-8, -6), (-7, -5), (-6, -1), (-5, 1), (-4, 2), (-1, 3), (1, 3), (4, 2), (5, 1), (6, -1), (7, -5), (8, -6), (9, -6)]]),
(-10, 10, [[(-7, 9), (-3, 9), (-6, 2), (-7, -2), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, -2), (6, 2), (3, 9), (7, 9)]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 5, [[(1, -12), (0, -11), (-1, -9), (-1, -7), (0, -6), (1, -7), (0, -8)]]),
(-10, 11, [[(-1, -5), (-3, -4), (-5, -2), (-6, 0), (-7, 3), (-7, 6), (-6, 8), (-4, 9), (-2, 9), (0, 8), (3, 5), (5, 2), (7, -2), (8, -5)], [(-1, -5), (1, -5), (2, -4), (3, -2), (5, 6), (6, 8), (7, 9), (8, 9)]]),
(-9, 10, [[(3, -12), (1, -11), (-1, -9), (-3, -5), (-4, -2), (-5, 2), (-6, 8), (-7, 16)], [(3, -12), (5, -12), (7, -10), (7, -7), (6, -5), (5, -4), (3, -3), (0, -3)], [(0, -3), (2, -2), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (1, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 4)]]),
(-9, 10, [[(-8, -2), (-6, -4), (-4, -5), (-3, -5), (-1, -4), (0, -3), (1, 0), (1, 4), (0, 9)], [(8, -5), (7, -2), (6, 0), (0, 9), (-2, 13), (-3, 16)]]),
(-9, 9, [[(2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (2, 8), (4, 6), (5, 3), (5, 0), (4, -3), (2, -5), (0, -7), (-1, -9), (-1, -11), (0, -12), (2, -12), (4, -11), (6, -9)]]),
(-8, 8, [[(5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-3, -2), (-2, 0), (1, 1)], [(1, 1), (-3, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)]]),
(-8, 7, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (6, -7)], [(6, -7), (2, -5), (-1, -3), (-4, 0), (-5, 3), (-5, 5), (-4, 7), (-2, 9), (1, 11), (2, 13), (2, 15), (1, 16), (-1, 16), (-2, 14)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-4, -5), (-3, -4), (-3, -2), (-4, 2), (-6, 9)], [(-4, 2), (-2, -2), (0, -4), (2, -5), (4, -5), (6, -3), (6, 0), (5, 5), (2, 16)]]),
(-11, 10, [[(-10, -1), (-9, -3), (-7, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 3), (-5, 6), (-4, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 3), (5, 0), (6, -5), (6, -8), (5, -11), (3, -12), (1, -12), (0, -10), (0, -8), (1, -5), (3, -2), (5, 0), (8, 2)]]),
(-6, 5, [[(0, -5), (-2, 2), (-3, 6), (-3, 8), (-2, 9), (0, 9), (2, 7), (3, 5)]]),
(-9, 9, [[(-3, -5), (-7, 9)], [(7, -4), (6, -5), (5, -5), (3, -4), (-1, 0), (-3, 1), (-4, 1)], [(-4, 1), (-2, 2), (-1, 3), (1, 8), (2, 9), (3, 9), (4, 8)]]),
(-8, 8, [[(-7, -12), (-5, -12), (-3, -11), (-2, -10), (6, 9)], [(0, -5), (-6, 9)]]),
(-10, 11, [[(-3, -5), (-9, 16)], [(-4, -1), (-5, 4), (-5, 7), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 2)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)]]),
(-9, 9, [[(-6, -5), (-3, -5), (-4, 1), (-5, 6), (-6, 9)], [(7, -5), (6, -2), (5, 0), (3, 3), (0, 6), (-3, 8), (-6, 9)]]),
(-8, 8, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (6, -7)], [(3, -7), (0, -6), (-2, -5), (-3, -3), (-3, -1), (-1, 1), (2, 2), (4, 2)], [(2, 2), (-2, 3), (-4, 4), (-5, 6), (-5, 8), (-3, 10), (1, 12), (2, 13), (2, 15), (0, 16), (-2, 16)]]),
(-8, 9, [[(0, -5), (-2, -4), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0), (5, -3), (4, -4), (2, -5), (0, -5)]]),
(-11, 11, [[(-2, -5), (-6, 9)], [(3, -5), (4, 1), (5, 6), (6, 9)], [(-9, -2), (-7, -4), (-4, -5), (9, -5)]]),
(-9, 9, [[(-5, 1), (-5, 4), (-4, 7), (-3, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0), (5, -3), (4, -4), (2, -5), (0, -5), (-2, -4), (-4, -2), (-5, 1), (-9, 16)]]),
(-9, 11, [[(9, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (2, 8), (4, 6), (5, 3), (5, 0), (4, -3), (3, -4), (1, -5)]]),
(-10, 10, [[(1, -5), (-2, 9)], [(-8, -2), (-6, -4), (-3, -5), (8, -5)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-4, -5), (-3, -4), (-3, -2), (-5, 4), (-5, 7), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 2), (7, -2), (7, -5)]]),
(-11, 11, [[(-3, -4), (-5, -3), (-7, -1), (-8, 2), (-8, 5), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (5, 6), (7, 3), (8, 0), (8, -3), (6, -5), (4, -5), (2, -3), (0, 1), (-2, 6), (-5, 16)]]),
(-9, 9, [[(-7, -5), (-5, -5), (-3, -3), (3, 14), (5, 16), (7, 16)], [(8, -5), (7, -3), (5, 0), (-5, 11), (-7, 14), (-8, 16)]]),
(-12, 11, [[(4, -12), (-4, 16)], [(-11, -1), (-10, -3), (-8, -5), (-6, -5), (-5, -4), (-5, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (8, -2), (9, -5)]]),
(-12, 11, [[(-4, -5), (-6, -4), (-8, -1), (-9, 2), (-9, 5), (-8, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 5)], [(0, 1), (-1, 5), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5), (8, 2), (8, -1), (7, -4), (6, -5)]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
]
JAPANESE = [
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 9), (-11, 8), (-10, 7), (-9, 8), (-9, 10), (-10, 12), (-11, 13)]]),
(-14, 13, [[(-10, -3), (-8, -1), (8, -2), (10, -1)], [(-9, -2), (10, -1)]]),
(-14, 13, [[(-5, -10), (-7, -11), (-7, 10)], [(-6, -10), (-6, 10)], [(-6, 8), (6, 8)], [(-6, -10), (6, -10)], [(5, -10), (6, -11), (8, -10), (7, -8)], [(6, -10), (6, 10)], [(7, -10), (7, 10)], [(-6, -1), (6, -1)]]),
(-14, 13, [[(-7, -11), (-9, -12), (-9, 9)], [(-8, -11), (-8, 9)], [(-8, -11), (7, -11)], [(6, -11), (7, -12), (9, -11), (8, -9)], [(7, -11), (7, 5), (6, 7), (5, 8)], [(7, 6), (7, 7), (6, 8)], [(8, -11), (8, 7), (7, 9), (6, 9), (5, 8), (3, 7)], [(-1, -11), (-1, -2)], [(0, -11), (0, -2)], [(-8, -2), (7, -2)]]),
(-14, 13, [[(-6, -12), (-8, -7), (-11, -1)], [(-6, -12), (-5, -11), (-6, -9), (-9, -4), (-11, -1)], [(-6, -9), (10, -9), (8, -11), (6, -9)], [(6, -9), (9, -10)], [(0, -9), (0, 10)], [(1, -9), (1, 10)], [(-4, -3), (-6, -4), (-6, 3)], [(-5, -3), (-5, 3)], [(-5, -3), (9, -3), (7, -5), (5, -3)], [(5, -3), (8, -4)], [(-11, 3), (11, 3), (9, 1), (7, 3)], [(7, 3), (10, 2)]]),
(-14, 13, [[(-1, -12), (-1, -6), (-2, -1), (-4, 3), (-6, 6), (-8, 8), (-11, 10)], [(0, -11), (0, -7)], [(-1, -12), (1, -11), (0, -4), (-1, 0), (-3, 4), (-6, 7), (-9, 9), (-11, 10)], [(-11, -5), (11, -5), (9, -7), (7, -5)], [(7, -5), (10, -6)], [(1, -5), (2, -1), (3, 2), (4, 4), (6, 7), (9, 10), (11, 9)], [(7, 7), (9, 9)], [(1, -5), (2, -2), (4, 2), (6, 5), (8, 7), (11, 9)]]),
(-14, 13, [[(-8, -11), (-10, -12), (-10, 10)], [(-9, -11), (-9, 10)], [(-9, -11), (9, -11)], [(8, -11), (9, -12), (11, -11), (10, -9)], [(9, -11), (9, 10)], [(10, -11), (10, 10)], [(-7, -7), (7, -7), (6, -8), (5, -7)], [(-1, -7), (-1, 5)], [(0, -7), (0, 5)], [(-6, -1), (6, -1), (5, -2), (4, -1)], [(-7, 5), (7, 5), (6, 4), (5, 5)], [(2, 1), (3, 3), (4, 3), (4, 2), (2, 1)], [(-9, 9), (9, 9)]]),
(-14, 13, [[(-1, -12), (-1, -6), (-2, -1), (-4, 3), (-6, 6), (-8, 8), (-11, 10)], [(0, -11), (0, -7)], [(-1, -12), (1, -11), (0, -4), (-1, 0), (-3, 4), (-6, 7), (-9, 9), (-11, 10)], [(1, -11), (1, -7), (2, -1), (3, 2), (4, 4), (6, 7), (9, 10), (11, 9)], [(7, 7), (9, 9)], [(1, -7), (2, -2), (4, 2), (6, 5), (8, 7), (11, 9)]]),
(-14, 13, [[(0, -11), (1, -12), (-1, -12), (-1, 10)], [(0, -11), (0, 10)], [(-11, -10), (11, -10), (9, -11), (8, -10)], [(-6, -6), (-8, -7), (-8, 3)], [(-7, -6), (-7, 3)], [(-7, -6), (6, -6)], [(5, -6), (6, -7), (8, -6), (7, -4)], [(6, -6), (6, 3)], [(7, -6), (7, 3)], [(-7, -2), (6, -2)], [(-7, 2), (6, 2)], [(-1, 2), (-4, 5), (-7, 7), (-11, 9)], [(-1, 4), (-4, 6), (-6, 7), (-11, 9)], [(0, 2), (3, 6), (6, 8), (9, 9), (11, 8)], [(0, 2), (3, 5), (7, 7), (11, 8)]]),
(-14, 13, [[(0, -10), (1, -11), (-1, -12), (-1, 11)], [(0, -11), (0, 11)], [(-8, -6), (-10, -7), (-10, 4)], [(-9, -6), (-9, 4)], [(-9, -6), (8, -6)], [(7, -6), (8, -7), (10, -6), (9, -4)], [(8, -6), (8, 4)], [(9, -6), (9, 4)], [(-9, 3), (8, 3)]]),
(-14, 13, [[(0, -10), (1, -11), (-1, -12), (-1, 10)], [(0, -11), (0, 10)], [(-11, -6), (11, -6), (9, -8), (7, -6)], [(7, -6), (10, -7)], [(-2, -6), (-5, 0), (-8, 4), (-11, 7)], [(-1, -5), (-3, -1), (-5, 2), (-7, 4), (-11, 7)], [(1, -5), (2, -2), (3, 0), (6, 4), (9, 7), (11, 6)], [(7, 4), (9, 6)], [(1, -5), (2, -3), (5, 1), (8, 4), (11, 6)], [(-5, 5), (4, 5), (3, 4), (2, 5)]]),
(-14, 13, [[(0, -11), (0, -12), (1, -13), (-1, -13), (-1, -11)], [(-11, -11), (11, -11), (9, -13), (7, -11)], [(7, -11), (10, -12)], [(-6, -7), (-8, -8), (-8, 0)], [(-7, -7), (-7, 0)], [(-7, -7), (6, -7)], [(5, -7), (6, -8), (8, -7), (7, -5)], [(6, -7), (6, 0)], [(7, -7), (7, 0)], [(-7, -1), (6, -1)], [(-1, -1), (-1, 6), (-2, 8), (-3, 9)], [(-1, 7), (-1, 8), (-2, 9)], [(0, -1), (0, 8), (-1, 10), (-2, 10), (-3, 9), (-5, 8)], [(-6, 2), (-11, 7)], [(-6, 2), (-5, 3), (-11, 7)], [(4, 2), (6, 4), (8, 7), (9, 7), (9, 6), (8, 5), (4, 2)]]),
(-14, 13, [[(-1, -12), (-1, 9)], [(-1, -12), (0, -12), (0, 9)], [(-8, -10), (-8, -2)], [(-8, -10), (-7, -10), (-7, -2)], [(-7, -3), (6, -3)], [(6, -10), (6, -2)], [(6, -10), (7, -10), (7, -2)], [(-10, 1), (-10, 10)], [(-10, 1), (-9, 1), (-9, 10)], [(-9, 9), (8, 9)], [(8, 1), (8, 10)], [(8, 1), (9, 1), (9, 10)]]),
(-14, 13, [[(-10, -12), (-10, 5)], [(-10, -12), (-9, -11), (-9, 5)], [(-9, -11), (-5, -11)], [(-5, -11), (-5, 4)], [(-6, -11), (-5, -12), (-4, -11), (-4, 4)], [(-9, -4), (-5, -4)], [(-9, 3), (-5, 3)], [(3, -11), (4, -12), (2, -12), (2, -4)], [(3, -11), (3, -4)], [(-2, -8), (9, -8), (7, -9), (6, -8)], [(-4, -4), (11, -4), (9, -5), (8, -4)], [(5, -4), (5, 8), (4, 9)], [(6, -4), (6, 8), (5, 10), (4, 9), (2, 8)], [(-4, 0), (11, 0), (9, -1), (8, 0)], [(-1, 2), (0, 3), (1, 5), (2, 5), (2, 4), (1, 3), (-1, 2)]]),
(-14, 13, [[(0, -10), (1, -11), (-1, -12), (-1, 9)], [(0, -11), (0, 9)], [(0, -2), (9, -2), (7, -4), (5, -2)], [(5, -2), (8, -3)], [(-11, 9), (11, 9), (9, 7), (7, 9)], [(7, 9), (10, 8)]]),
(-14, 13, [[(-1, -11), (0, -12), (-2, -12), (-2, -5)], [(-1, -11), (-1, -5)], [(-9, -9), (3, -9), (2, -10), (1, -9)], [(-11, -5), (11, -5), (9, -6), (8, -5)], [(6, -11), (3, -7), (0, -4), (-4, -1), (-9, 2)], [(6, -11), (7, -10), (2, -5), (-2, -2), (-5, 0), (-9, 2), (-11, 3)], [(-3, -1), (-5, -2), (-5, 10)], [(-4, -1), (-4, 10)], [(-4, -1), (6, -1)], [(5, -1), (6, -2), (8, -1), (7, 1)], [(6, -1), (6, 10)], [(7, -1), (7, 10)], [(-4, 4), (6, 4)], [(-4, 9), (6, 9)]]),
(-14, 13, [[(0, -10), (1, -11), (-1, -12), (-1, 10)], [(0, -11), (0, 10)], [(-11, -3), (11, -3), (9, -5), (7, -3)], [(7, -3), (10, -4)]]),
(-14, 13, [[(-11, -1), (11, -1), (8, -3), (6, -1)], [(6, -1), (9, -2)]]),
(-14, 13, [[(-8, -8), (8, -8), (6, -10), (4, -8)], [(4, -8), (7, -9)], [(-11, 6), (11, 6), (9, 4), (7, 6)], [(7, 6), (10, 5)]]),
(-14, 13, [[(-9, -9), (9, -9), (7, -11), (5, -9)], [(5, -9), (8, -10)], [(-7, -1), (7, -1), (5, -3), (3, -1)], [(3, -1), (6, -2)], [(-11, 8), (11, 8), (9, 6), (7, 8)], [(7, 8), (10, 7)]]),
(-14, 13, [[(-8, -9), (-10, -10), (-10, 8)], [(-9, -9), (-9, 8)], [(-9, -9), (9, -9)], [(8, -9), (9, -10), (11, -9), (10, -7)], [(9, -9), (9, 8)], [(10, -9), (10, 8)], [(-3, -9), (-3, -4), (-4, 0), (-5, 2)], [(-2, -9), (-2, -4), (-3, -1), (-5, 2), (-7, 4)], [(1, -9), (1, 1), (2, 2), (6, 2), (7, 1), (6, 0)], [(2, -9), (2, 0), (3, 1), (5, 1), (6, 0), (6, -2)], [(-9, 7), (9, 7)]]),
(-14, 13, [[(-9, -10), (8, -10), (6, -12), (4, -10)], [(4, -10), (7, -11)], [(-1, -10), (-4, 8)], [(0, -10), (-3, 8)], [(-9, -2), (4, -2)], [(3, -2), (4, -3), (6, -2), (5, 0)], [(4, -2), (3, 8)], [(5, -2), (5, 0), (4, 8)], [(-11, 8), (11, 8), (9, 6), (7, 8)], [(7, 8), (10, 7)]]),
(-14, 13, [[(0, -9), (1, -10), (-1, -11), (-1, -5)], [(0, -10), (0, -5)], [(-11, -5), (11, -5), (9, -7), (7, -5)], [(7, -5), (10, -6)], [(-5, -1), (-6, 2), (-8, 6), (-10, 9)], [(-4, 0), (-5, 2)], [(-5, -1), (-3, 0), (-5, 3), (-8, 7), (-10, 9)], [(2, -1), (4, 1), (7, 5), (8, 7), (9, 8), (10, 7), (9, 5), (6, 2), (2, -1)], [(7, 4), (9, 7)]]),
(-14, 13, [[(-5, -9), (-4, -10), (-6, -11), (-6, 8), (-5, 9), (7, 9), (8, 8), (7, 6)], [(6, 8), (7, 8), (7, 7)], [(-5, -10), (-5, 7), (-4, 8), (5, 8), (7, 6), (8, 3)], [(-10, -1), (-4, -2), (1, -3), (9, -5), (6, -6), (5, -4)], [(5, -4), (7, -5)]]),
(-14, 13, [[(0, -6), (-1, -3), (-3, 2), (-5, 5), (-8, 8), (-11, 10)], [(0, -6), (1, -5), (0, -2), (-2, 2), (-4, 5), (-6, 7), (-9, 9), (-11, 10)], [(-6, -11), (3, -11)], [(0, -11), (1, -12), (3, -11), (1, -9)], [(1, -11), (1, -6), (2, -1), (3, 2), (4, 4), (6, 7), (9, 10), (11, 9)], [(7, 7), (9, 9)], [(1, -6), (2, -2), (4, 2), (6, 5), (8, 7), (11, 9)]]),
(-14, 13, [[(-4, -9), (-3, -10), (-5, -11), (-5, 0), (-6, 4), (-8, 7), (-11, 10)], [(-4, -10), (-4, 0), (-5, 4), (-7, 7), (-11, 10)], [(-11, -4), (2, -5)], [(1, -5), (2, -6), (4, -5), (3, -3)], [(2, -5), (2, 8), (3, 9), (10, 9), (11, 8), (10, 6)], [(9, 8), (10, 8), (10, 7)], [(3, -5), (3, 7), (4, 8), (8, 8), (10, 6), (11, 3)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-3, -12), (-1, -11), (-1, -9), (-2, -6)], [(-2, -11), (-2, 0), (-1, 4)], [(-7, -7), (-5, -6), (0, -6), (3, -7), (6, -8)], [(3, -7), (4, -8), (6, -8)], [(1, 1), (2, -3), (3, -2), (1, 1), (-2, 5), (-4, 7), (-6, 8), (-8, 8), (-9, 7), (-9, 4), (-8, 2), (-6, 0), (-4, -1), (-1, -2), (4, -2), (7, -1), (9, 1), (10, 3), (10, 5), (9, 7), (7, 9), (4, 10), (2, 10)], [(-7, 8), (-8, 7), (-8, 4), (-7, 2), (-5, 0), (-1, -2)], [(4, -2), (6, -1), (8, 1), (9, 3), (9, 5), (8, 7), (6, 9), (4, 10)]]),
(-14, 13, [[(-10, -10), (-8, -9), (-8, -7), (-9, -5), (-10, -2)], [(-9, -9), (-9, -7), (-10, -2), (-10, 1), (-9, 4), (-8, 5), (-6, 6), (-5, 6), (-5, 4), (-4, 1), (-3, -1)], [(-8, 5), (-6, 5), (-5, 4)], [(5, -6), (7, -5), (9, -2), (10, 1), (10, 3), (8, 2), (5, 3)], [(9, -2), (9, 1), (8, 2)]]),
(-14, 13, [[(-4, -13), (-3, -12), (-1, -11), (3, -11)], [(-3, -12), (2, -12), (3, -11), (-1, -9)], [(-7, -5), (-7, -4), (-6, -3), (-5, -3), (-2, -5), (0, -6)], [(-7, -4), (-6, -4), (-3, -5), (0, -6), (2, -6), (5, -5), (6, -3), (6, 0), (5, 3), (3, 6), (0, 8), (-4, 10)], [(2, -6), (4, -5), (5, -3), (5, 0), (4, 3), (3, 5), (1, 7), (-2, 9)]]),
(-14, 13, [[(-4, -13), (-3, -12), (-1, -11), (3, -11)], [(-3, -12), (2, -12), (3, -11), (-1, -9)], [(-8, -5), (-8, -4), (-7, -3), (-5, -3), (0, -5), (3, -6), (4, -5)], [(-8, -4), (-5, -4), (0, -5)], [(4, -5), (0, -2), (-6, 4), (-10, 8)], [(3, -6), (0, -2)], [(-10, 8), (-10, 7), (-6, 4), (-4, 3), (0, 3), (1, 4), (2, 8), (3, 9), (10, 9)], [(5, 9), (8, 8), (9, 8), (10, 9)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-4, -5)], [(-4, -11), (-4, 9)], [(-4, 2), (-3, 8), (-4, 9), (-5, 7), (-7, 6), (-10, 5)], [(-10, -5), (-8, -4), (-4, -4), (-1, -5), (1, -6)], [(-4, -4), (-2, -5), (-1, -6), (1, -6)], [(-10, 6), (-6, 3), (-1, 0), (2, -1), (4, -1), (7, 0), (8, 2), (8, 4), (7, 6), (5, 7), (3, 7), (1, 6), (0, 4)], [(-10, 6), (-10, 5), (-6, 3)], [(4, -1), (6, 0), (7, 2), (7, 4), (6, 6), (5, 7)], [(5, -7), (7, -7), (9, -6), (10, -5), (8, -5), (7, -4)], [(7, -7), (8, -6), (8, -5)]]),
(-14, 13, [[(-4, -12), (-2, -11), (-2, -9), (-3, -6), (-5, -1), (-10, 9)], [(-3, -11), (-3, -9), (-5, -3), (-7, 2), (-10, 9)], [(-10, -5), (-10, -4), (-9, -3), (-8, -3), (-5, -5), (-3, -6), (0, -6), (2, -5), (3, -3), (3, 0), (2, 4), (0, 8), (-1, 9), (-2, 9), (-2, 8), (-3, 7), (-5, 6)], [(-10, -4), (-8, -4), (-5, -5)], [(0, -6), (2, -4), (2, 0), (1, 4), (0, 6), (-2, 8)], [(5, -5), (7, -4), (9, -2), (10, 0), (10, 2), (9, 1), (7, 2)], [(8, -3), (9, -1), (9, 1)]]),
(-14, 13, [[(-4, -12), (-1, -11), (0, -7), (1, -4), (3, 0), (6, 4), (5, 5)], [(-2, -11), (0, -7)], [(3, 0), (5, 5)], [(-6, -7), (-4, -6), (-1, -6), (2, -7)], [(-9, -3), (-8, -2), (-5, -1), (0, -1), (5, -2), (8, -3)], [(5, -2), (7, -4), (8, -3)], [(5, 5), (3, 4), (0, 3), (-4, 3), (-6, 4), (-7, 5), (-7, 7), (-6, 8), (-4, 9), (-1, 10), (5, 10)], [(-4, 9), (4, 9), (5, 10)]]),
(-14, 13, [[(2, -12), (4, -11), (4, -10), (-4, -2)], [(3, -11), (2, -9), (-4, -2), (-4, -1), (1, 4), (3, 7), (4, 9)], [(-4, -1), (4, 6), (5, 8), (4, 9)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1), (-4, -3), (-3, -4), (-1, -5), (8, -5), (10, -6)], [(-9, 3), (-8, 5), (-7, 6)], [(4, -5), (8, -6), (9, -7), (10, -6)], [(4, -12), (6, -11), (6, 3), (5, 6), (3, 8), (0, 10)], [(5, -11), (6, -8)], [(6, 0), (5, 4), (3, 7), (0, 10)]]),
(-14, 13, [[(-5, -10), (-3, -9), (0, -8), (2, -8), (5, -9)], [(-3, -9), (2, -9), (4, -10), (5, -9), (-1, -6)], [(-7, 1), (-7, 3), (-6, 5), (-4, 6), (0, 7), (7, 7)], [(-4, 6), (6, 6), (7, 7)]]),
(-14, 13, [[(-8, -7), (-7, -6), (-4, -5), (0, -5), (4, -6), (6, -7), (7, -8)], [(4, -6), (6, -8), (7, -8)], [(-2, -12), (-1, -9), (0, -7), (3, -3), (5, 0), (6, 2)], [(-2, -12), (-1, -12), (-1, -10), (0, -7)], [(3, -3), (6, 0), (7, 2), (7, 3)], [(7, 3), (6, 2), (4, 1), (0, 0), (-4, 0), (-7, 1), (-8, 3), (-8, 5), (-7, 7), (-5, 8), (-1, 9), (3, 9)], [(-8, 5), (-7, 6), (-5, 7), (-1, 8), (4, 8), (3, 9)]]),
(-14, 13, [[(-6, -12), (-4, -11), (-5, 1), (-5, 6), (-4, 8)], [(-5, -11), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (1, 9), (4, 8), (7, 6), (9, 4)]]),
(-14, 13, [[(0, -12), (2, -11), (2, 1), (1, 3), (-1, 4), (-3, 3), (-4, 1), (-4, 0), (-3, -2), (-1, -3), (1, -2), (2, 0), (2, 4), (1, 8), (-1, 10)], [(1, -11), (2, -6)], [(2, 4), (1, 7), (-1, 10)], [(-10, -8), (-8, -6), (-5, -6), (4, -7), (8, -8), (10, -7)], [(-9, -7), (-5, -6)], [(4, -7), (10, -7)]]),
(-14, 13, [[(-6, -8), (-4, -7), (-4, 4), (-3, 6), (-2, 7), (0, 8), (8, 8)], [(-5, -7), (-4, -4)], [(3, 8), (6, 7), (7, 7), (8, 8)], [(3, -11), (5, -10), (5, 2), (4, 4), (3, 3), (0, 1)], [(4, -10), (5, -7)], [(5, -1), (4, 2), (3, 3)], [(-10, -4), (-8, -2), (-6, -2), (-2, -3), (3, -4), (7, -5), (9, -5), (10, -4)], [(-9, -3), (-2, -3)], [(3, -4), (10, -4)]]),
(-14, 13, [[(-4, -11), (-2, -9), (4, -11)], [(-3, -10), (-1, -10), (4, -11), (5, -10)], [(5, -10), (2, -7), (-4, -3), (-8, -1)], [(4, -11), (3, -9), (1, -7), (-4, -3)], [(-9, -2), (-7, 0), (-3, -2)], [(-8, -1), (-3, -2), (3, -3), (8, -4), (9, -3)], [(3, -3), (9, -3)], [(3, -3), (1, -2), (-1, 0), (-2, 2), (-2, 4), (-1, 6), (0, 7), (3, 8), (7, 8)], [(-1, 6), (2, 7), (6, 7), (7, 8)]]),
(-14, 13, [[(-4, -12), (-2, -11), (-2, -9), (-4, -3), (-5, 0), (-7, 5), (-9, 9)], [(-3, -11), (-3, -8), (-4, -3)], [(-5, 0), (-7, 4), (-9, 7), (-9, 9)], [(-10, -5), (-8, -4), (-5, -4), (-2, -5), (0, -6), (2, -7)], [(0, -6), (1, -8), (2, -7)], [(3, -4), (6, -4), (9, -3), (7, -3), (5, -2)], [(6, -4), (7, -3)], [(0, 4), (1, 6), (2, 7), (4, 8), (9, 8)], [(1, 6), (3, 7), (10, 7), (9, 8)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-5, -4), (-6, 0), (-6, 2), (-5, 3)], [(-4, -11), (-4, -7)], [(-5, -4), (-5, 3)], [(-10, -8), (-7, -7), (-3, -7), (1, -8), (3, -9)], [(1, -8), (2, -10), (3, -9)], [(-5, 3), (-3, 1), (0, -1), (3, -2), (6, -2), (8, -1), (9, 1), (9, 4), (8, 6), (5, 8), (1, 9), (-3, 9)], [(6, -2), (7, -1), (8, 1), (8, 4), (7, 6), (5, 8)]]),
(-14, 13, [[(-10, -6), (-8, -4), (-3, -6), (1, -7), (5, -7), (8, -6), (9, -5), (10, -3), (10, 0), (9, 2), (8, 3), (6, 4), (3, 5), (-2, 6)], [(-9, -5), (-3, -6)], [(5, -7), (7, -6), (8, -5), (9, -3), (9, 0), (8, 2), (6, 4)]]),
(-14, 13, [[(-10, -9), (-8, -7), (-6, -7), (-2, -8), (3, -9), (7, -10), (9, -10), (10, -9)], [(-9, -8), (-2, -8)], [(3, -9), (10, -9)], [(7, -9), (4, -8), (1, -6), (-1, -3), (-2, 0), (-2, 3), (-1, 6), (0, 7), (2, 8), (6, 9), (9, 9)], [(-2, 3), (-1, 5), (0, 6), (2, 7), (6, 8), (8, 8), (9, 9)]]),
(-14, 13, [[(-3, -12), (-1, -11), (-1, -1)], [(-2, -11), (-2, -5), (-1, -1)], [(5, -4), (7, -2), (-1, -1)], [(6, -3), (2, -2), (-1, -1), (-4, 0), (-6, 1), (-7, 3), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (8, 9)], [(-6, 7), (-4, 8), (7, 8), (8, 9)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-5, -3), (-6, 0), (-8, 5), (-10, 9)], [(-4, -11), (-4, -8), (-5, -3)], [(-6, 0), (-8, 4), (-10, 7), (-10, 9)], [(-10, -5), (-8, -4), (-6, -4), (-3, -5), (-1, -6), (1, -7)], [(-1, -6), (0, -8), (1, -7)], [(4, -8), (6, -8), (8, -7), (10, -5), (8, -6), (6, -5)], [(6, -8), (8, -6)], [(4, -3), (4, -1), (5, 2), (6, 4), (6, 6), (5, 8), (3, 9), (0, 9), (-2, 8), (-3, 6), (-2, 4), (0, 3), (3, 3), (5, 4), (9, 8)], [(4, -1), (5, 4), (5, 7), (3, 9)], [(7, 6), (8, 8), (9, 8)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(1, -8), (4, -9), (7, -9), (9, -8), (7, -8), (5, -7)], [(5, -9), (7, -8)], [(-1, 1), (-1, 3), (0, 5), (3, 6), (10, 6)], [(-1, 3), (0, 4), (3, 5), (8, 5), (10, 6)]]),
(-14, 13, [[(-8, -9), (-6, -8), (-6, -3)], [(-7, -8), (-6, -3), (-5, 0), (-4, 2), (-3, 4), (-2, 5)], [(-4, 2), (-2, 4), (-2, 5)], [(0, -11), (2, -10), (2, -8), (0, -3), (-3, 4), (-5, 7), (-7, 8), (-9, 8), (-10, 6), (-10, 4), (-9, 1), (-8, -1), (-6, -3), (-3, -5), (1, -6), (4, -6), (7, -5), (9, -3), (10, 0), (10, 3), (9, 6), (8, 7), (6, 8), (4, 8), (2, 7), (1, 6), (1, 5), (2, 4), (4, 3), (6, 3), (8, 4), (10, 7)], [(1, -10), (1, -8), (0, -3)], [(-8, 8), (-9, 6), (-9, 3), (-8, 0), (-6, -3)], [(4, -6), (6, -5), (8, -3), (9, 0), (9, 4), (8, 7)], [(8, 4), (10, 6), (10, 7)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-5, 9)], [(-4, -11), (-4, 9), (-5, 9), (-6, 6), (-7, 5), (-9, 4)], [(-10, -6), (-9, -4), (-7, -4), (-3, -6), (-3, -5)], [(-9, -5), (-6, -5), (-4, -6), (-5, -2)], [(-3, -5), (-5, -2), (-7, 1), (-10, 5), (-10, 4), (-7, 1), (-3, -3), (1, -6), (4, -7), (6, -7), (8, -6), (9, -4), (9, 3), (8, 6), (7, 7), (5, 8), (3, 8), (1, 7), (0, 6), (0, 5), (1, 4), (3, 3), (5, 3), (7, 4), (8, 5), (10, 8)], [(6, -7), (7, -6), (8, -4), (8, 4), (7, 7)], [(8, 5), (10, 7), (10, 8)]]),
(-14, 13, [[(-1, -10), (0, -8), (0, -5), (-1, -2), (-2, 0), (-4, 3), (-6, 5), (-8, 5), (-9, 4), (-10, 2), (-10, -1), (-9, -4), (-7, -7), (-4, -9), (-1, -10), (2, -10), (5, -9), (7, -8), (9, -6), (10, -3), (10, 0), (9, 3), (7, 5), (5, 6), (2, 7), (-1, 7)], [(-4, 3), (-6, 4), (-8, 4), (-9, 2), (-9, -1), (-8, -5), (-7, -7)], [(5, -9), (8, -6), (9, -3), (9, 0), (8, 3), (5, 6)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(3, -11), (5, -10), (5, 5), (4, 7), (2, 8), (0, 8), (-2, 7), (-3, 5), (-2, 3), (0, 2), (2, 2), (4, 3), (9, 7)], [(4, -10), (5, -6)], [(4, 3), (9, 6), (9, 7)], [(-2, -5), (0, -4), (3, -4), (7, -5), (9, -6)], [(7, -5), (8, -7), (9, -6)]]),
(-14, 13, [[(-9, -11), (-8, -10), (-6, -9), (-2, -9)], [(-8, -10), (-3, -10), (-2, -9)], [(-2, -9), (-5, -7), (-7, -5), (-9, -2), (-10, 1), (-10, 4), (-9, 6), (-8, 7), (-6, 8), (-3, 8), (0, 7), (2, 5), (3, 3), (4, -1), (4, -5), (3, -9), (4, -9)], [(-10, 3), (-9, 5), (-8, 6), (-6, 7), (-3, 7), (0, 6), (2, 4), (3, 2), (4, -1)], [(4, -9), (6, -6), (7, -4), (9, -1), (10, 1), (8, 1), (7, 2)], [(3, -9), (6, -6)], [(7, -4), (8, -1), (8, 1)]]),
(-14, 13, [[(-2, -12), (-1, -9), (1, -8)], [(-1, -10), (1, -9), (2, -9), (2, -8)], [(2, -8), (-1, -7), (-3, -6), (-4, -5), (-4, -3), (-3, -2), (-1, -1), (1, 0), (2, 1), (3, 3), (3, 5), (2, 7), (0, 8), (-2, 8), (-5, 7), (-7, 5)], [(-1, -1), (1, 1), (2, 3), (2, 5), (1, 7), (0, 8)], [(-9, 7), (-6, 4), (-3, 2), (0, 1)], [(4, 1), (7, 2), (9, 4), (10, 6), (7, 6)], [(-9, 7), (-9, 6), (-6, 4)], [(4, 1), (6, 2), (8, 4), (9, 6)]]),
(-14, 13, [[(-10, -2), (-8, 0), (-5, -5)], [(-9, -1), (-4, -6), (-2, -6), (3, -1), (7, 2), (9, 3), (10, 4), (8, 4), (6, 5)], [(3, -1), (8, 4)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(-1, -11), (1, -10), (3, -10), (7, -11)], [(3, -10), (5, -11), (6, -12), (7, -11)], [(-2, -3), (1, -2), (4, -2), (7, -3), (9, -4)], [(7, -3), (8, -5), (9, -4)], [(3, -10), (5, -9), (5, 5), (4, 7), (2, 8), (0, 8), (-2, 7), (-3, 5), (-2, 3), (0, 2), (2, 2), (4, 3), (9, 7)], [(4, -9), (5, -5)], [(4, 3), (9, 6), (9, 7)]]),
(-14, 13, [[(0, -12), (2, -11), (2, 6), (1, 8), (-1, 9), (-3, 9), (-5, 8), (-6, 6), (-5, 4), (-3, 3), (-1, 3), (2, 4), (5, 6), (8, 9)], [(1, -11), (2, -7)], [(5, 6), (8, 8), (8, 9)], [(-10, -9), (-8, -7), (1, -7), (8, -8)], [(-9, -8), (-4, -7)], [(1, -7), (5, -8), (7, -9), (8, -8)], [(-5, -2), (-3, -1), (1, -1), (5, -2), (7, -3)], [(5, -2), (6, -4), (7, -3)]]),
(-14, 13, [[(-8, -11), (-7, -9), (-5, -9), (-2, -10), (1, -12), (2, -11)], [(-7, -10), (-2, -10)], [(2, -11), (-2, -5), (-5, 1), (-7, 4), (-8, 5), (-9, 5), (-10, 4), (-10, 2), (-9, 0), (-7, -1), (-2, -1), (2, 0), (5, 1), (10, 3)], [(1, -12), (-2, -5)], [(2, 0), (10, 2), (10, 3)], [(4, -5), (6, -4), (6, 2), (5, 5), (3, 7), (1, 8), (-2, 9)], [(5, -4), (5, 3), (4, 6)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-4, -5), (-5, -1), (-6, 2), (-7, 4), (-8, 5), (-9, 5), (-10, 4), (-10, 2), (-9, 0), (-8, -1), (-7, -1), (-6, 0), (-6, 5), (-5, 8), (-3, 9), (3, 9), (6, 8), (7, 7), (6, 6), (5, 4), (4, 0), (4, -4), (5, -5), (7, -5), (9, -4), (10, -2), (10, -1), (9, -1), (7, 0)], [(-4, -11), (-4, -5)], [(-6, 5), (-5, 7), (-3, 8), (3, 8), (5, 7), (6, 6)], [(7, -5), (9, -3), (9, -1)], [(-10, -7), (-7, -6), (-4, -6), (-1, -7), (1, -8)], [(-1, -7), (0, -9), (1, -8)]]),
(-14, 13, [[(-8, -9), (-6, -8), (-6, -3)], [(-7, -8), (-6, -3), (-5, 0), (-4, 2), (-3, 4), (-2, 5)], [(-4, 2), (-2, 4), (-2, 5)], [(1, -11), (3, -10), (3, -8), (2, -5), (0, 0), (-1, 2), (-3, 5), (-5, 7), (-7, 8), (-9, 8), (-10, 7), (-10, 5), (-9, 2), (-8, 0), (-6, -2), (-3, -4), (0, -5), (4, -5), (7, -4), (9, -2), (10, 1), (10, 4), (9, 6), (8, 7), (6, 8), (3, 9), (0, 9)], [(2, -10), (2, -8), (0, 0)], [(-8, 8), (-9, 7), (-9, 4), (-8, 1), (-6, -2)], [(4, -5), (6, -4), (8, -2), (9, 1), (9, 4), (8, 6), (6, 8)]]),
(-14, 13, [[(-3, -12), (-1, -11), (-1, -9), (-2, -5)], [(-2, -11), (-2, 2), (-1, 6), (0, 8), (2, 9), (6, 9), (8, 8), (9, 6), (9, 4), (8, 2), (6, 0), (3, -2)], [(5, 9), (7, 8), (8, 6), (8, 3), (7, 1)], [(-6, -8), (-5, -7), (-2, -6), (1, -6)], [(-5, -7), (0, -7), (1, -6)], [(1, -6), (-2, -5), (-4, -4), (-6, -2), (-7, 0), (-6, 2), (-4, 3), (1, 3)]]),
(-14, 13, [[(-2, -12), (0, -11), (1, -10), (2, -8), (1, -7), (-2, -8), (-5, -8), (-6, -7), (-6, -5), (-3, 2), (-1, 9)], [(0, -11), (1, -9), (1, -7)], [(-3, 2), (0, 8), (-1, 9)], [(-10, -4), (-9, -2), (-7, -2), (-4, -4), (0, -6), (4, -7), (7, -7), (9, -6), (10, -4), (10, -2), (9, 0), (8, 1), (5, 2), (2, 2), (-1, 1)], [(-9, -3), (-7, -3), (-4, -4)], [(7, -7), (8, -6), (9, -4), (9, -2), (8, 0), (7, 1), (5, 2)]]),
(-14, 13, [[(-10, -10), (-8, -9), (-8, -7), (-9, -5), (-10, -2)], [(-9, -9), (-9, -7), (-10, -2), (-10, 1), (-9, 4), (-8, 5), (-6, 6), (-5, 6), (-5, 4), (-4, 1), (-3, -1)], [(-8, 5), (-6, 5), (-5, 4)], [(5, -6), (7, -5), (9, -2), (10, 1), (10, 3), (8, 2), (5, 3)], [(9, -2), (9, 1), (8, 2)]]),
(-14, 13, [[(-10, -8), (-8, -7), (-8, -5), (-9, -2)], [(-9, -7), (-9, 2), (-8, 5), (-7, 6), (-7, 4), (-6, 1), (-5, -1), (-3, -4), (0, -7), (3, -8), (6, -8), (8, -7), (9, -6), (10, -4), (10, -1), (9, 1), (7, 3), (5, 4), (2, 4), (0, 3), (-2, 1), (-3, -2), (-3, -5), (-2, -9), (-1, -11), (1, -12), (3, -12), (4, -10), (4, 1), (3, 5), (2, 7), (-1, 9)], [(-9, 2), (-8, 4), (-7, 4)], [(8, -7), (9, -4), (9, -1), (8, 2)], [(4, 1), (3, 4), (2, 6), (-1, 9)]]),
(-14, 13, [[(-4, -13), (-3, -12), (-1, -11), (3, -11)], [(-3, -12), (2, -12), (3, -11), (-1, -9)], [(-8, -5), (-8, -4), (-7, -3), (-5, -3), (0, -5), (3, -6), (4, -5)], [(-8, -4), (-5, -4), (0, -5)], [(4, -5), (0, -2), (-6, 4), (-10, 8)], [(3, -6), (0, -2)], [(-10, 8), (-10, 7), (-6, 4), (-4, 3), (0, 3), (1, 4), (2, 8), (3, 9), (10, 9)], [(5, 9), (8, 8), (9, 8), (10, 9)]]),
(-14, 13, [[(-2, -12), (1, -11), (1, -9), (0, -4)], [(0, -11), (0, 6), (-1, 8), (-3, 9), (-6, 9), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 3), (-3, 3), (0, 4), (4, 6), (9, 9)], [(0, 4), (5, 6), (9, 8), (9, 9)], [(0, -4), (3, -4), (7, -5)], [(3, -4), (5, -5), (6, -6), (7, -5)]]),
(-14, 13, [[(-3, -12), (-1, -12), (1, -11), (2, -10), (0, -10), (-2, -9)], [(-1, -12), (0, -11), (0, -10)], [(-6, -6), (-7, -4), (-8, 0), (-8, 2), (-7, 3), (-3, 0), (-1, -1), (2, -2), (5, -2), (7, -1), (8, 1), (8, 3), (7, 5), (5, 7), (3, 8), (-1, 9), (-3, 9)], [(-8, 0), (-7, 2), (-6, 2)], [(5, -2), (6, -1), (7, 1), (7, 3), (6, 5), (4, 7), (2, 8), (-1, 9)]]),
(-14, 13, [[(-6, -12), (-4, -11), (-4, -9), (-6, -5)], [(-5, -11), (-5, -9), (-6, -5), (-6, -2), (-5, 1), (-4, 2), (-4, 0), (-3, -3), (-1, -6), (1, -8), (3, -9), (5, -9), (6, -8), (7, -5), (7, 0), (6, 4), (4, 7), (1, 9), (-3, 10)], [(-6, -2), (-5, 0), (-4, 0)], [(4, -9), (5, -8), (6, -5), (6, 0), (5, 4), (3, 7), (1, 9)]]),
(-14, 13, [[(-5, -11), (-4, -9), (-2, -9), (3, -11)], [(-4, -10), (-2, -10), (3, -11), (4, -10)], [(4, -10), (0, -7), (-4, -2), (-7, 3)], [(3, -11), (0, -7)], [(-4, -2), (-7, 1), (-7, 3)], [(-7, 3), (-5, 1), (-2, -1), (1, -2), (4, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (4, 9), (1, 9), (-1, 8), (-2, 7), (-2, 6), (-1, 5), (1, 5), (3, 6), (5, 8)], [(4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (4, 9)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-5, 9)], [(-4, -11), (-4, 9), (-5, 9), (-6, 6), (-7, 5), (-9, 4)], [(-10, -6), (-9, -4), (-7, -4), (-3, -6), (-3, -5)], [(-9, -5), (-6, -5), (-3, -6), (-5, -2)], [(-3, -5), (-5, -2), (-7, 1), (-10, 5), (-10, 4), (-7, 1), (-3, -3), (1, -6), (4, -7), (5, -7), (7, -6), (8, -4), (7, 6), (7, 8), (8, 9)], [(5, -7), (6, -6), (7, -4), (6, 6), (6, 8), (7, 9), (8, 9), (9, 8), (10, 6)]]),
(-14, 13, [[(-5, -11), (-4, -9), (-2, -9), (3, -11)], [(-4, -10), (-2, -10), (3, -11), (4, -10)], [(4, -10), (0, -7), (-4, -2), (-7, 3)], [(3, -11), (0, -7)], [(-4, -2), (-7, 1), (-7, 3)], [(-7, 3), (-5, 1), (-2, -1), (1, -2), (4, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (5, 9), (2, 10), (0, 10)], [(4, -2), (6, 0), (7, 2), (7, 5), (6, 8)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-5, 9)], [(-4, -11), (-4, 9), (-5, 9), (-6, 6), (-7, 5), (-9, 4)], [(-10, -6), (-9, -4), (-7, -4), (-3, -6), (-3, -5)], [(-9, -5), (-6, -5), (-3, -6), (-5, -2)], [(-3, -5), (-5, -2), (-7, 1), (-10, 5), (-10, 4), (-7, 1), (-4, -2), (-1, -4), (2, -5), (5, -5), (7, -4), (8, -3), (9, -1), (9, 2), (8, 5), (6, 7), (4, 8), (1, 9)], [(5, -5), (7, -3), (8, -1), (8, 2), (7, 5), (4, 8)]]),
(-14, 13, [[(-5, -11), (-4, -9), (-2, -9), (2, -11)], [(-4, -10), (-2, -10), (2, -11), (3, -10)], [(3, -10), (-1, -4), (-5, 4), (-6, 6), (-7, 7), (-9, 7), (-10, 5), (-10, 3), (-9, 1), (-7, -1), (-4, -3), (0, -4), (4, -4), (7, -3), (9, -1), (10, 1), (10, 4), (9, 6), (7, 8), (5, 9), (2, 9), (0, 8), (-1, 7), (-1, 6), (0, 5), (2, 5), (4, 6), (6, 8)], [(2, -11), (-1, -4)], [(-8, 7), (-9, 5), (-9, 3), (-8, 0)], [(8, -2), (9, 1), (9, 4), (8, 7)]]),
(-14, 13, [[(-4, -13), (-3, -12), (-1, -11), (3, -11)], [(-3, -12), (2, -12), (3, -11), (-1, -9)], [(-7, -5), (-7, -4), (-6, -3), (-5, -3), (-2, -5), (0, -6)], [(-7, -4), (-6, -4), (-3, -5), (0, -6), (2, -6), (5, -5), (6, -3), (6, 0), (5, 3), (3, 6), (0, 8), (-4, 10)], [(2, -6), (4, -5), (5, -3), (5, 0), (4, 3), (3, 5), (1, 7), (-2, 9)]]),
(-14, 13, [[(-6, -11), (-5, -9), (-3, -9), (-1, -10), (2, -12)], [(-5, -10), (-3, -10), (0, -11), (2, -12), (3, -11)], [(3, -11), (-1, -8), (-5, -4), (-8, 0)], [(2, -12), (-1, -8)], [(-8, 0), (-8, -2), (-5, -4), (-3, -5), (0, -6), (3, -6), (5, -5), (6, -3), (6, -1), (5, 1), (3, 2), (-2, 2), (-3, 1), (-3, -1), (-2, -2), (0, -2), (1, -1), (1, 1), (0, 2), (-4, 3), (-7, 5), (-10, 8), (-10, 9), (-9, 9), (-7, 5)], [(-8, 7), (-6, 6), (-4, 6), (-2, 8), (-1, 8), (1, 6), (4, 5), (7, 5), (9, 6), (10, 7), (10, 9), (9, 8), (7, 8)], [(-4, 6), (-2, 7), (-1, 7), (1, 6)], [(7, 5), (9, 7), (9, 8)]]),
(-14, 13, [[(-2, -12), (0, -11), (0, -10), (-2, -6), (-4, -3), (-7, 0), (-10, 3)], [(-1, -11), (-1, -10), (-2, -6)], [(-7, 0), (-10, 2), (-10, 3)], [(-5, -2), (-3, -3), (-1, -3), (1, -2), (2, 0), (2, 4)], [(-1, -3), (0, -2), (1, 0), (1, 5), (2, 4)], [(-9, -8), (-6, -7), (-3, -7), (1, -8), (5, -9)], [(1, -8), (4, -10), (5, -9)], [(9, -3), (10, -1), (2, 0), (-1, 1), (-3, 2), (-4, 4), (-4, 6), (-3, 8), (-1, 9), (7, 9)], [(9, -2), (2, 0)], [(2, 9), (6, 8), (7, 9)]]),
(-14, 13, [[(-1, -12), (1, -10), (-2, -5), (-6, 2), (-10, 9)], [(0, -11), (-2, -5)], [(-10, 9), (-10, 7), (-6, 2), (-4, 0), (-2, -1), (0, -1), (2, 0), (2, 5), (3, 7), (4, 8)], [(0, -1), (1, 0), (1, 5), (2, 7), (4, 8), (6, 8), (8, 7), (9, 5), (10, 2)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-4, -12), (-2, -11), (-2, -9), (-3, -6), (-5, -1), (-10, 9)], [(-3, -11), (-3, -9), (-5, -3), (-7, 2), (-10, 9)], [(-10, -5), (-10, -4), (-9, -3), (-8, -3), (-5, -5), (-3, -6), (0, -6), (2, -5), (3, -3), (3, 0), (2, 4), (0, 8), (-1, 9), (-2, 9), (-2, 8), (-3, 7), (-5, 6)], [(-10, -4), (-8, -4), (-5, -5)], [(0, -6), (2, -4), (2, 0), (1, 4), (0, 6), (-2, 8)], [(5, -5), (7, -4), (9, -2), (10, 0), (10, 2), (9, 1), (7, 2)], [(8, -3), (9, -1), (9, 1)], [(5, -10), (7, -8)], [(7, -12), (9, -10)]]),
(-14, 13, [[(-4, -12), (-1, -11), (0, -7), (1, -4), (3, 0), (6, 4), (5, 5)], [(-2, -11), (0, -7)], [(3, 0), (5, 5)], [(-6, -7), (-4, -6), (-1, -6), (2, -7)], [(-9, -3), (-8, -2), (-5, -1), (0, -1), (5, -2), (8, -3)], [(5, -2), (7, -4), (8, -3)], [(5, 5), (3, 4), (0, 3), (-4, 3), (-6, 4), (-7, 5), (-7, 7), (-6, 8), (-4, 9), (-1, 10), (5, 10)], [(-4, 9), (4, 9), (5, 10)], [(5, -10), (7, -8)], [(7, -12), (9, -10)]]),
(-14, 13, [[(2, -12), (4, -11), (4, -10), (-4, -2)], [(3, -11), (2, -9), (-4, -2), (-4, -1), (1, 4), (3, 7), (4, 9)], [(-4, -1), (4, 6), (5, 8), (4, 9)], [(7, -10), (9, -8)], [(9, -12), (11, -10)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1), (-4, -3), (-3, -4), (-1, -5), (8, -5), (10, -6)], [(-9, 3), (-8, 5), (-7, 6)], [(4, -5), (8, -6), (9, -7), (10, -6)], [(4, -12), (6, -11), (6, 3), (5, 6), (3, 8), (0, 10)], [(5, -11), (6, -8)], [(6, 0), (5, 4), (3, 7), (0, 10)], [(9, -11), (11, -9)], [(11, -13), (13, -11)]]),
(-14, 13, [[(-5, -10), (-3, -9), (0, -8), (2, -8), (5, -9)], [(-3, -9), (2, -9), (4, -10), (5, -9), (-1, -6)], [(-7, 1), (-7, 3), (-6, 5), (-4, 6), (0, 7), (7, 7)], [(-4, 6), (6, 6), (7, 7)], [(7, -11), (9, -9)], [(9, -13), (11, -11)]]),
(-14, 13, [[(-8, -7), (-7, -6), (-4, -5), (0, -5), (4, -6), (6, -7), (7, -8)], [(4, -6), (6, -8), (7, -8)], [(-2, -12), (-1, -9), (0, -7), (3, -3), (5, 0), (6, 2)], [(-2, -12), (-1, -12), (-1, -10), (0, -7)], [(3, -3), (6, 0), (7, 2), (7, 3)], [(7, 3), (6, 2), (4, 1), (0, 0), (-4, 0), (-7, 1), (-8, 3), (-8, 5), (-7, 7), (-5, 8), (-1, 9), (3, 9)], [(-8, 5), (-7, 6), (-5, 7), (-1, 8), (4, 8), (3, 9)], [(8, -11), (10, -9)], [(10, -13), (12, -11)]]),
(-14, 13, [[(-6, -12), (-4, -11), (-5, 1), (-5, 6), (-4, 8)], [(-5, -11), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (1, 9), (4, 8), (7, 6), (9, 4)], [(1, -10), (3, -8)], [(3, -12), (5, -10)]]),
(-14, 13, [[(0, -12), (2, -11), (2, 1), (1, 3), (-1, 4), (-3, 3), (-4, 1), (-4, 0), (-3, -2), (-1, -3), (1, -2), (2, 0), (2, 4), (1, 8), (-1, 10)], [(1, -11), (2, -6)], [(2, 4), (1, 7), (-1, 10)], [(-10, -8), (-8, -6), (-5, -6), (4, -7), (8, -8), (10, -7)], [(-9, -7), (-5, -6)], [(4, -7), (10, -7)], [(6, -12), (8, -10)], [(9, -13), (11, -11)]]),
(-14, 13, [[(-6, -8), (-4, -7), (-4, 4), (-3, 6), (-2, 7), (0, 8), (8, 8)], [(-5, -7), (-4, -4)], [(3, 8), (6, 7), (7, 7), (8, 8)], [(3, -11), (5, -10), (5, 2), (4, 4), (3, 3), (0, 1)], [(4, -10), (5, -7)], [(5, -1), (4, 2), (3, 3)], [(-10, -4), (-8, -2), (-6, -2), (-2, -3), (3, -4), (7, -5), (9, -5), (10, -4)], [(-9, -3), (-2, -3)], [(3, -4), (10, -4)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-4, -11), (-2, -9), (4, -11)], [(-3, -10), (-1, -10), (4, -11), (5, -10)], [(5, -10), (2, -7), (-4, -3), (-8, -1)], [(4, -11), (3, -9), (1, -7), (-4, -3)], [(-9, -2), (-7, 0), (-3, -2)], [(-8, -1), (-3, -2), (3, -3), (8, -4), (9, -3)], [(3, -3), (9, -3)], [(3, -3), (1, -2), (-1, 0), (-2, 2), (-2, 4), (-1, 6), (0, 7), (3, 8), (7, 8)], [(-1, 6), (2, 7), (6, 7), (7, 8)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-4, -12), (-2, -11), (-2, -9), (-4, -3), (-5, 0), (-7, 5), (-9, 9)], [(-3, -11), (-3, -8), (-4, -3)], [(-5, 0), (-7, 4), (-9, 7), (-9, 9)], [(-10, -5), (-8, -4), (-5, -4), (-2, -5), (0, -6), (2, -7)], [(0, -6), (1, -8), (2, -7)], [(3, -4), (6, -4), (9, -3), (7, -3), (5, -2)], [(6, -4), (7, -3)], [(0, 4), (1, 6), (2, 7), (4, 8), (9, 8)], [(1, 6), (3, 7), (10, 7), (9, 8)], [(6, -10), (8, -8)], [(8, -12), (10, -10)]]),
(-14, 13, [[(-5, -12), (-3, -11), (-3, -9), (-5, -4), (-6, 0), (-6, 2), (-5, 3)], [(-4, -11), (-4, -7)], [(-5, -4), (-5, 3)], [(-10, -8), (-7, -7), (-3, -7), (1, -8), (3, -9)], [(1, -8), (2, -10), (3, -9)], [(-5, 3), (-3, 1), (0, -1), (3, -2), (6, -2), (8, -1), (9, 1), (9, 4), (8, 6), (5, 8), (1, 9), (-3, 9)], [(6, -2), (7, -1), (8, 1), (8, 4), (7, 6), (5, 8)], [(6, -9), (8, -7)], [(8, -11), (10, -9)]]),
(-14, 13, [[(-10, -6), (-8, -4), (-3, -6), (1, -7), (5, -7), (8, -6), (9, -5), (10, -3), (10, 0), (9, 2), (8, 3), (6, 4), (3, 5), (-2, 6)], [(-9, -5), (-3, -6)], [(5, -7), (7, -6), (8, -5), (9, -3), (9, 0), (8, 2), (6, 4)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-10, -9), (-8, -7), (-6, -7), (-2, -8), (3, -9), (7, -10), (9, -10), (10, -9)], [(-9, -8), (-2, -8)], [(3, -9), (10, -9)], [(7, -9), (4, -8), (1, -6), (-1, -3), (-2, 0), (-2, 3), (-1, 6), (0, 7), (2, 8), (6, 9), (9, 9)], [(-2, 3), (-1, 5), (0, 6), (2, 7), (6, 8), (8, 8), (9, 9)], [(8, -5), (10, -3)], [(10, -7), (12, -5)]]),
(-14, 13, [[(-3, -12), (-1, -11), (-1, -1)], [(-2, -11), (-2, -5), (-1, -1)], [(5, -4), (7, -2), (-1, -1)], [(6, -3), (2, -2), (-1, -1), (-4, 0), (-6, 1), (-7, 3), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (8, 9)], [(-6, 7), (-4, 8), (7, 8), (8, 9)], [(6, -9), (8, -7)], [(8, -11), (10, -9)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(3, -11), (5, -10), (5, 5), (4, 7), (2, 8), (0, 8), (-2, 7), (-3, 5), (-2, 3), (0, 2), (2, 2), (4, 3), (9, 7)], [(4, -10), (5, -6)], [(4, 3), (9, 6), (9, 7)], [(-2, -5), (0, -4), (3, -4), (7, -5), (9, -6)], [(7, -5), (8, -7), (9, -6)], [(8, -11), (10, -9)], [(10, -13), (12, -11)]]),
(-14, 13, [[(-9, -11), (-8, -10), (-6, -9), (-2, -9)], [(-8, -10), (-3, -10), (-2, -9)], [(-2, -9), (-5, -7), (-7, -5), (-9, -2), (-10, 1), (-10, 4), (-9, 6), (-8, 7), (-6, 8), (-3, 8), (0, 7), (2, 5), (3, 3), (4, -1), (4, -5), (3, -9), (4, -9)], [(-10, 3), (-9, 5), (-8, 6), (-6, 7), (-3, 7), (0, 6), (2, 4), (3, 2), (4, -1)], [(4, -9), (6, -6), (7, -4), (9, -1), (10, 1), (8, 1), (7, 2)], [(3, -9), (6, -6)], [(7, -4), (8, -1), (8, 1)], [(7, -10), (9, -8)], [(9, -12), (11, -10)]]),
(-14, 13, [[(-2, -12), (-1, -9), (1, -8)], [(-1, -10), (1, -9), (2, -9), (2, -8)], [(2, -8), (-1, -7), (-3, -6), (-4, -5), (-4, -3), (-3, -2), (-1, -1), (1, 0), (2, 1), (3, 3), (3, 5), (2, 7), (0, 8), (-2, 8), (-5, 7), (-7, 5)], [(-1, -1), (1, 1), (2, 3), (2, 5), (1, 7), (0, 8)], [(-9, 7), (-6, 4), (-3, 2), (0, 1)], [(4, 1), (7, 2), (9, 4), (10, 6), (7, 6)], [(-9, 7), (-9, 6), (-6, 4)], [(4, 1), (6, 2), (8, 4), (9, 6)], [(5, -9), (7, -7)], [(7, -11), (9, -9)]]),
(-14, 13, [[(-10, -2), (-8, 0), (-5, -5)], [(-9, -1), (-4, -6), (-2, -6), (3, -1), (7, 2), (9, 3), (10, 4), (8, 4), (6, 5)], [(3, -1), (8, 4)], [(3, -8), (5, -6)], [(5, -10), (7, -8)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(-1, -11), (1, -10), (3, -10), (7, -11)], [(3, -10), (5, -11), (6, -12), (7, -11)], [(-2, -3), (1, -2), (4, -2), (7, -3), (9, -4)], [(7, -3), (8, -5), (9, -4)], [(3, -10), (5, -9), (5, 5), (4, 7), (2, 8), (0, 8), (-2, 7), (-3, 5), (-2, 3), (0, 2), (2, 2), (4, 3), (9, 7)], [(4, -9), (5, -5)], [(4, 3), (9, 6), (9, 7)], [(9, -9), (11, -7)], [(11, -11), (13, -9)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(3, -11), (5, -10), (5, 5), (4, 7), (2, 8), (0, 8), (-2, 7), (-3, 5), (-2, 3), (0, 2), (2, 2), (4, 3), (9, 7)], [(4, -10), (5, -6)], [(4, 3), (9, 6), (9, 7)], [(-2, -5), (0, -4), (3, -4), (7, -5), (9, -6)], [(7, -5), (8, -7), (9, -6)], [(9, -13), (8, -12), (8, -10), (9, -9), (11, -9), (12, -10), (12, -12), (11, -13), (9, -13)]]),
(-14, 13, [[(-9, -11), (-8, -10), (-6, -9), (-2, -9)], [(-8, -10), (-3, -10), (-2, -9)], [(-2, -9), (-5, -7), (-7, -5), (-9, -2), (-10, 1), (-10, 4), (-9, 6), (-8, 7), (-6, 8), (-3, 8), (0, 7), (2, 5), (3, 3), (4, -1), (4, -5), (3, -9), (4, -9)], [(-10, 3), (-9, 5), (-8, 6), (-6, 7), (-3, 7), (0, 6), (2, 4), (3, 2), (4, -1)], [(4, -9), (6, -6), (7, -4), (9, -1), (10, 1), (8, 1), (7, 2)], [(3, -9), (6, -6)], [(7, -4), (8, -1), (8, 1)], [(8, -12), (7, -11), (7, -9), (8, -8), (10, -8), (11, -9), (11, -11), (10, -12), (8, -12)]]),
(-14, 13, [[(-2, -12), (-1, -9), (1, -8)], [(-1, -10), (1, -9), (2, -9), (2, -8)], [(2, -8), (-1, -7), (-3, -6), (-4, -5), (-4, -3), (-3, -2), (-1, -1), (1, 0), (2, 1), (3, 3), (3, 5), (2, 7), (0, 8), (-2, 8), (-5, 7), (-7, 5)], [(-1, -1), (1, 1), (2, 3), (2, 5), (1, 7), (0, 8)], [(-9, 7), (-6, 4), (-3, 2), (0, 1)], [(4, 1), (7, 2), (9, 4), (10, 6), (7, 6)], [(-9, 7), (-9, 6), (-6, 4)], [(4, 1), (6, 2), (8, 4), (9, 6)], [(6, -11), (5, -10), (5, -8), (6, -7), (8, -7), (9, -8), (9, -10), (8, -11), (6, -11)]]),
(-14, 13, [[(-10, -2), (-8, 0), (-5, -5)], [(-9, -1), (-4, -6), (-2, -6), (3, -1), (7, 2), (9, 3), (10, 4), (8, 4), (6, 5)], [(3, -1), (8, 4)], [(4, -10), (3, -9), (3, -7), (4, -6), (6, -6), (7, -7), (7, -9), (6, -10), (4, -10)]]),
(-14, 13, [[(-9, -11), (-7, -10), (-7, -8), (-8, -5), (-9, -1)], [(-8, -10), (-8, -7), (-9, -1), (-9, 3), (-8, 7), (-7, 8), (-7, 6), (-6, 2), (-5, -1)], [(-9, 3), (-8, 5), (-7, 6)], [(-1, -11), (1, -10), (3, -10), (7, -11)], [(3, -10), (5, -11), (6, -12), (7, -11)], [(-2, -3), (1, -2), (4, -2), (7, -3), (9, -4)], [(7, -3), (8, -5), (9, -4)], [(3, -10), (5, -9), (5, 5), (4, 7), (2, 8), (0, 8), (-2, 7), (-3, 5), (-2, 3), (0, 2), (2, 2), (4, 3), (9, 7)], [(4, -9), (5, -5)], [(4, 3), (9, 6), (9, 7)], [(10, -11), (9, -10), (9, -8), (10, -7), (12, -7), (13, -8), (13, -10), (12, -11), (10, -11)]]),
(-14, 13, [[(-10, -11), (-8, -9), (-3, -10), (3, -11), (8, -12), (10, -10)], [(-9, -10), (-3, -10)], [(3, -11), (9, -11)], [(10, -10), (8, -8), (4, -5), (2, -4)], [(9, -11), (7, -8), (5, -6), (2, -4)], [(0, -5), (2, -4), (2, -1), (1, 3), (-1, 6), (-4, 9)], [(0, -5), (1, -4), (1, -1), (0, 3), (-2, 7)]]),
(-14, 13, [[(4, -12), (6, -10), (3, -6), (0, -3), (-4, 0), (-7, 2)], [(5, -11), (4, -9), (1, -5), (-3, -1), (-7, 2)], [(1, -4), (3, -3), (3, 10)], [(1, -4), (2, -3), (2, 9), (3, 10)]]),
(-14, 13, [[(-2, -12), (1, -11), (1, -9), (0, -7)], [(-2, -12), (0, -11), (0, -7)], [(-8, -9), (-7, -7), (-7, -2), (-6, -1)], [(-6, -7), (-6, -1)], [(-6, -7), (7, -7)], [(-8, -9), (-7, -8), (-3, -7)], [(3, -7), (6, -8), (8, -6)], [(8, -6), (5, 0), (3, 3), (0, 6), (-3, 8), (-5, 9)], [(7, -7), (6, -4), (4, 0), (1, 4), (-2, 7), (-5, 9)]]),
(-14, 13, [[(-1, -7), (1, -6), (1, 5)], [(0, -6), (0, 5)], [(-8, -8), (-6, -6), (6, -8), (8, -7)], [(-7, -7), (8, -7)], [(-10, 4), (-8, 6), (8, 4), (10, 5)], [(-9, 5), (10, 5)]]),
(-14, 13, [[(0, -12), (3, -11), (3, 7), (2, 9), (1, 7), (-2, 5)], [(2, -11), (2, 6), (1, 7)], [(-10, -6), (-8, -4), (-3, -5), (3, -6), (8, -7), (10, -6)], [(-9, -5), (-3, -5)], [(3, -6), (10, -6)], [(1, -5), (-2, -1), (-6, 3), (-10, 6)], [(2, -5), (0, -2), (-3, 1), (-7, 4), (-10, 6)]]),
(-14, 13, [[(-1, -12), (1, -10), (0, -7), (-2, -2), (-4, 2), (-6, 5), (-9, 9)], [(0, -11), (-1, -8), (-3, -2), (-5, 3), (-9, 9)], [(-9, -6), (-7, -4), (-3, -5), (2, -6), (6, -7), (8, -5)], [(-8, -5), (-3, -5)], [(2, -6), (7, -6)], [(8, -5), (7, 1), (6, 5), (5, 7), (3, 9), (2, 8), (0, 7)], [(7, -6), (6, 1), (5, 5), (4, 7), (2, 8)]]),
(-14, 13, [[(-3, -12), (0, -11), (2, 9)], [(-1, -11), (1, 10), (2, 9)], [(-8, -6), (-6, -4), (-2, -5), (2, -6), (6, -7), (8, -6)], [(-7, -5), (-2, -5)], [(2, -6), (8, -6)], [(-10, 0), (-8, 2), (-3, 1), (3, 0), (8, -1), (10, 0)], [(-9, 1), (-3, 1)], [(3, 0), (10, 0)]]),
(-14, 13, [[(-2, -12), (0, -10), (-2, -6), (-4, -3), (-6, -1), (-8, 1)], [(-1, -11), (-2, -8), (-4, -4), (-6, -1)], [(-1, -8), (1, -7), (6, -7)], [(3, -7), (5, -8), (7, -6)], [(7, -6), (4, 0), (1, 4), (-2, 7), (-5, 9), (-7, 10)], [(6, -7), (5, -4), (3, 0), (0, 4), (-3, 7), (-7, 10)]]),
(-14, 13, [[(-4, -12), (-2, -10), (-4, -6), (-6, -3), (-8, -1), (-10, 1)], [(-3, -11), (-4, -8), (-6, -4), (-8, -1)], [(-6, -3), (2, -4), (7, -5), (10, -4)], [(2, -4), (10, -4)], [(0, -3), (2, -1), (0, 3), (-2, 6), (-4, 8), (-6, 10)], [(1, -2), (0, 1), (-2, 5), (-4, 8)]]),
(-14, 13, [[(-8, -8), (-6, -6), (6, -8), (8, -6)], [(-7, -7), (7, -7)], [(8, -6), (7, -3), (6, 4)], [(7, -7), (6, -2), (6, 4)], [(-8, 4), (-6, 6), (6, 4), (7, 5)], [(-7, 5), (7, 5)]]),
(-14, 13, [[(-6, -9), (-4, -8), (-4, -3), (-5, 1)], [(-5, -8), (-5, 1)], [(2, -12), (5, -11), (5, -6), (4, -1), (3, 2), (2, 4), (0, 7), (-2, 9)], [(4, -11), (4, -6), (3, -1), (2, 3), (0, 7)], [(-10, -5), (-8, -3), (-3, -4), (3, -5), (8, -6), (10, -5)], [(-9, -4), (-3, -4)], [(3, -5), (10, -5)]]),
(-14, 13, [[(-5, -11), (-3, -10), (-2, -9), (-2, -8), (-3, -8), (-4, -10), (-5, -11)], [(-10, -4), (-8, -3), (-7, -2), (-7, -1), (-8, -1), (-9, -3), (-10, -4)], [(-9, 6), (-7, 8), (-3, 6), (1, 3), (5, -1), (9, -6)], [(-8, 7), (-3, 5), (1, 2), (9, -6)]]),
(-14, 13, [[(-8, -9), (-6, -7), (5, -9), (7, -7)], [(-7, -8), (6, -8)], [(7, -7), (5, -4), (2, -1), (-1, 1), (-3, 2), (-8, 4)], [(6, -8), (5, -6), (3, -3), (1, -1), (-2, 1), (-8, 4)], [(3, 1), (6, 3), (8, 5), (8, 6), (7, 6), (6, 4), (3, 1)]]),
(-14, 13, [[(-3, -11), (0, -10), (0, -8), (-1, 1)], [(-1, -10), (-1, 4), (0, 6), (2, 7), (9, 7)], [(4, 7), (8, 6), (9, 7)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -3)], [(-9, -3), (-3, -3)], [(3, -4), (9, -4)], [(10, -3), (7, -1), (4, 2)], [(9, -4), (4, 2)]]),
(-14, 13, [[(-9, -9), (-7, -8), (-6, -7), (-6, -6), (-7, -6), (-8, -8), (-9, -9)], [(6, -10), (8, -8), (5, -2), (2, 2), (-1, 5), (-4, 7), (-6, 8)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-6, 8)]]),
(-14, 13, [[(-2, -12), (0, -10), (-2, -6), (-4, -3), (-6, -1), (-8, 1)], [(-1, -11), (-2, -8), (-4, -4), (-6, -1)], [(-1, -8), (1, -7), (6, -7)], [(3, -7), (5, -8), (7, -6)], [(7, -6), (4, 0), (1, 4), (-2, 7), (-5, 9), (-7, 10)], [(6, -7), (5, -4), (3, 0), (0, 4), (-3, 7), (-7, 10)], [(-4, -2), (-1, -1), (1, 0), (4, 2), (5, 3), (5, 4), (4, 4), (3, 2), (1, 0)]]),
(-14, 13, [[(-6, -8), (-3, -8), (2, -9), (6, -11)], [(-3, -8), (0, -9), (2, -10), (5, -12), (6, -11)], [(-2, -8), (1, -7), (1, -1), (0, 3), (-2, 6), (-5, 9)], [(0, -7), (0, -1), (-1, 3), (-3, 7)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -4)], [(-9, -3), (-3, -3)], [(3, -4), (10, -4)]]),
(-14, 13, [[(-9, -9), (-7, -8), (-6, -7), (-6, -6), (-7, -6), (-8, -8), (-9, -9)], [(-3, -10), (-1, -9), (0, -8), (0, -7), (-1, -7), (-2, -9), (-3, -10)], [(6, -10), (8, -8), (5, -2), (2, 2), (-1, 5), (-4, 7), (-6, 8)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-6, 8)]]),
(-14, 13, [[(-6, -12), (-4, -10), (5, -12), (6, -11)], [(-5, -11), (6, -11)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -4)], [(-9, -3), (-3, -3)], [(3, -4), (10, -4)], [(1, -3), (1, -1), (0, 3), (-2, 6), (-5, 9)], [(0, -3), (0, -1), (-1, 3), (-3, 7)]]),
(-14, 13, [[(-5, -12), (-2, -11), (-2, 10)], [(-3, -11), (-3, 9), (-2, 10)], [(-2, -3), (0, -3), (3, -2), (4, -1), (4, 0), (3, 0), (2, -2), (0, -3)]]),
(-14, 13, [[(-1, -12), (2, -11), (2, -6), (1, -1), (0, 2), (-1, 4), (-3, 7), (-5, 9)], [(1, -11), (1, -6), (0, -1), (-1, 3), (-3, 7)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -4)], [(-9, -3), (-3, -3)], [(3, -4), (10, -4)]]),
(-14, 13, [[(-6, -8), (-4, -6), (5, -8), (6, -7)], [(-5, -7), (6, -7)], [(-10, 4), (-8, 6), (8, 4), (10, 5)], [(-9, 5), (10, 5)]]),
(-14, 13, [[(-8, -9), (-6, -7), (5, -9), (7, -7)], [(-7, -8), (6, -8)], [(7, -7), (5, -4), (2, -1), (-1, 1), (-3, 2), (-8, 4)], [(6, -8), (5, -6), (3, -3), (1, -1), (-2, 1), (-8, 4)], [(-5, -3), (-2, -2), (2, 0), (5, 2), (7, 4), (7, 5), (6, 5), (4, 2), (2, 0)]]),
(-14, 13, [[(-2, -12), (0, -11), (1, -10), (1, -9), (0, -9), (-1, -11), (-2, -12)], [(-8, -6), (-6, -4), (4, -6), (6, -4)], [(-7, -5), (5, -5)], [(6, -4), (2, 0), (-1, 2), (-3, 3), (-8, 5)], [(5, -5), (3, -2), (1, 0), (-2, 2), (-8, 5)], [(0, 1), (1, 2), (1, 10)], [(0, 1), (0, 9), (1, 10)], [(6, 3), (8, 4), (9, 5), (9, 6), (8, 6), (7, 4), (6, 3)]]),
(-14, 13, [[(5, -10), (7, -8), (4, -2), (1, 2), (-2, 5), (-5, 7), (-7, 8)], [(6, -9), (5, -6), (2, -1), (-1, 3), (-4, 6), (-7, 8)]]),
(-14, 13, [[(-6, -6), (-4, -4), (-5, -1), (-6, 1), (-8, 3), (-10, 4)], [(-5, -5), (-6, -1), (-8, 3)], [(4, -6), (6, -4), (8, -1), (10, 3), (10, 4), (9, 4), (8, 0), (6, -4)]]),
(-14, 13, [[(-9, -11), (-6, -10), (-6, -8), (-7, 1)], [(-7, -10), (-7, 4), (-6, 6), (-4, 7), (7, 7)], [(-1, 7), (3, 6), (5, 6), (7, 7)], [(-7, 0), (-3, -1), (0, -2), (6, -4)], [(0, -2), (4, -4), (6, -4)]]),
(-14, 13, [[(-8, -11), (-6, -9), (7, -9)], [(-7, -10), (-3, -9)], [(3, -9), (6, -10), (8, -8)], [(8, -8), (5, -2), (3, 1), (0, 4), (-3, 6), (-5, 7)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-5, 7)]]),
(-14, 13, [[(-11, -1), (-9, 1), (-2, -6), (-1, -6), (9, 4)], [(-10, 0), (-8, -1), (-4, -4)], [(3, -2), (8, 2), (10, 3), (9, 4)]]),
(-14, 13, [[(-2, -12), (1, -11), (1, 7), (0, 9), (-1, 7), (-3, 6)], [(0, -11), (0, 6), (-1, 7)], [(-10, -6), (-8, -4), (-3, -5), (3, -6), (8, -7), (10, -6)], [(-9, -5), (-3, -5)], [(3, -6), (10, -6)], [(-6, 1), (-8, 4), (-9, 5), (-10, 5), (-10, 4), (-8, 3), (-6, 1)], [(6, 1), (9, 3), (10, 4), (10, 5), (9, 5), (8, 3), (6, 1)]]),
(-14, 13, [[(-10, -6), (-8, -4), (-3, -5), (3, -6), (8, -7), (10, -5)], [(-9, -5), (-3, -5)], [(3, -6), (9, -6)], [(10, -5), (8, -3), (4, 0), (2, 1)], [(9, -6), (7, -3), (5, -1), (2, 1)], [(-1, 0), (2, 2), (4, 4), (4, 5), (3, 5), (2, 3), (-1, 0)]]),
(-14, 13, [[(-2, -12), (1, -11), (3, -10), (4, -9), (4, -8), (3, -8), (1, -10), (-2, -12)], [(-5, -5), (-2, -4), (0, -3), (1, -2), (1, -1), (0, -1), (-2, -3), (-5, -5)], [(-4, 4), (1, 6), (3, 7), (4, 8), (4, 9), (3, 9), (1, 7), (-2, 5), (-4, 4)]]),
(-14, 13, [[(0, -9), (2, -7), (-5, 5)], [(1, -8), (-5, 5)], [(-10, 5), (-8, 7), (7, 4)], [(-9, 6), (7, 4)], [(4, 1), (6, 3), (8, 6), (9, 6), (9, 5), (7, 3), (4, 1)]]),
(-14, 13, [[(5, -10), (7, -8), (4, -2), (1, 2), (-2, 5), (-5, 7), (-7, 8)], [(6, -9), (5, -6), (3, -2), (0, 2), (-3, 5), (-7, 8)], [(-3, -4), (1, -2), (4, 0), (6, 2), (6, 3), (5, 3), (4, 1), (2, -1), (-1, -3)]]),
(-14, 13, [[(-6, -9), (-4, -7), (5, -9), (6, -8)], [(-5, -8), (6, -8)], [(-1, -7), (-1, 4), (0, 6), (2, 7), (9, 7)], [(0, -7), (0, -5), (-1, 1)], [(4, 7), (8, 6), (9, 7)], [(-10, -1), (-8, 1), (-3, 0), (3, -1), (8, -2), (10, -1)], [(-9, 0), (-3, 0)], [(3, -1), (10, -1)]]),
(-14, 13, [[(-3, -12), (0, -11), (2, 9)], [(-1, -11), (1, 10), (2, 9)], [(-10, -6), (-8, -4), (-3, -5), (3, -6), (8, -7), (10, -5)], [(-9, -5), (-3, -5)], [(3, -6), (9, -6)], [(10, -5), (7, -2), (4, 0), (2, 1)], [(9, -6), (8, -4), (5, -1), (2, 1)]]),
(-14, 13, [[(4, -12), (6, -10), (3, -6), (0, -3), (-4, 0), (-7, 2)], [(5, -11), (4, -9), (1, -5), (-3, -1), (-7, 2)], [(1, -4), (3, -3), (3, 10)], [(1, -4), (2, -3), (2, 9), (3, 10)]]),
(-14, 13, [[(-9, -8), (-7, -6), (3, -8), (5, -6)], [(-8, -7), (4, -7)], [(5, -6), (4, -3), (3, 4)], [(4, -7), (3, -2), (3, 4)], [(-10, 4), (-8, 6), (8, 4), (10, 5)], [(-9, 5), (10, 5)]]),
(-14, 13, [[(-1, -7), (1, -6), (1, 5)], [(0, -6), (0, 5)], [(-8, -8), (-6, -6), (6, -8), (8, -7)], [(-7, -7), (8, -7)], [(-10, 4), (-8, 6), (8, 4), (10, 5)], [(-9, 5), (10, 5)]]),
(-14, 13, [[(-8, -8), (-6, -6), (6, -8), (8, -6)], [(-7, -7), (7, -7)], [(-8, -2), (-6, 0), (6, -2)], [(-7, -1), (6, -1)], [(-8, 4), (-6, 6), (6, 4)], [(-7, 5), (6, 5)], [(8, -6), (7, -3), (7, 7)], [(7, -7), (6, -2), (6, 7)]]),
(-14, 13, [[(-6, -12), (-4, -10), (5, -12), (6, -11)], [(-5, -11), (6, -11)], [(-8, -5), (-6, -3), (5, -5), (7, -3)], [(-7, -4), (6, -4)], [(7, -3), (5, 0), (2, 3), (-1, 5), (-3, 6), (-6, 7)], [(6, -4), (5, -2), (3, 1), (1, 3), (-2, 5), (-6, 7)]]),
(-14, 13, [[(-6, -9), (-4, -8), (-4, -3), (-5, 1)], [(-5, -8), (-5, 1)], [(2, -12), (5, -11), (5, -1), (4, 3), (2, 6), (-1, 9)], [(4, -11), (4, -1), (3, 3), (2, 5), (-1, 9)]]),
(-14, 13, [[(-6, -8), (-4, -7), (-4, -4), (-5, 0), (-7, 3), (-10, 6)], [(-5, -7), (-5, -4), (-6, 0), (-7, 2), (-10, 6)], [(-1, -9), (1, -8), (1, -5), (0, 1)], [(0, -8), (0, 4), (1, 6), (3, 6), (5, 5), (7, 3), (10, -1)], [(0, 4), (1, 5), (4, 5), (6, 4)]]),
(-14, 13, [[(-10, -9), (-7, -8), (-7, -5), (-8, 1)], [(-8, -8), (-8, 4), (-7, 6), (-4, 6), (-1, 5), (2, 3), (6, 0), (9, -3)], [(-8, 4), (-7, 5), (-4, 5), (-1, 4), (3, 2), (6, 0)]]),
(-14, 13, [[(-8, -8), (-6, -6), (6, -8), (8, -6)], [(-7, -7), (7, -7)], [(-7, -7), (-7, 8)], [(-6, -6), (-6, 6), (-7, 8)], [(8, -6), (7, -3), (6, 4)], [(7, -7), (6, -2), (6, 4)], [(-6, 6), (6, 4), (7, 5)], [(-6, 5), (7, 5)]]),
(-14, 13, [[(-8, -11), (-7, -9), (-7, -4), (-6, -3)], [(-6, -9), (-6, -3)], [(-6, -9), (7, -9)], [(-8, -11), (-7, -10), (-3, -9)], [(3, -9), (6, -10), (8, -8)], [(8, -8), (5, -2), (3, 1), (0, 4), (-3, 6), (-5, 7)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-5, 7)]]),
(-14, 13, [[(-1, -12), (2, -11), (2, 9)], [(1, -11), (1, 10), (2, 9)], [(-8, -8), (-6, -6), (6, -8), (8, -7)], [(-7, -7), (8, -7)], [(-6, -6), (-4, -5), (-4, 0)], [(-5, -5), (-5, 0)], [(-10, -1), (-8, 1), (8, -1), (10, 0)], [(-9, 0), (10, 0)]]),
(-14, 13, [[(-2, -12), (1, -11), (1, -9), (0, -7)], [(-2, -12), (0, -11), (0, -7)], [(-8, -9), (-7, -7), (-7, -2), (-6, -1)], [(-6, -7), (-6, -1)], [(-6, -7), (7, -7)], [(-8, -9), (-7, -8), (-3, -7)], [(3, -7), (6, -8), (8, -6)], [(8, -6), (5, 0), (3, 3), (0, 6), (-3, 8), (-5, 9)], [(7, -7), (6, -4), (4, 0), (1, 4), (-2, 7), (-5, 9)]]),
(-14, 13, [[(-8, -8), (-6, -6), (6, -8), (8, -6)], [(-7, -7), (7, -7)], [(8, -6), (5, -4), (1, -1)], [(7, -7), (1, -1)], [(-1, -2), (1, -1), (1, 5)], [(0, -1), (0, 5)], [(-10, 4), (-8, 6), (8, 4), (10, 5)], [(-9, 5), (10, 5)]]),
(-14, 13, [[(-8, -11), (-6, -9), (7, -9)], [(-7, -10), (-3, -9)], [(3, -9), (6, -10), (8, -8)], [(-6, -4), (-4, -2), (4, -3)], [(-5, -3), (4, -3)], [(8, -8), (5, -2), (3, 1), (0, 4), (-3, 6), (-5, 7)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-5, 7)]]),
(-14, 13, [[(-8, -10), (-6, -9), (-5, -8), (-5, -7), (-6, -7), (-7, -9), (-8, -10)], [(-9, 5), (-7, 7), (-3, 5), (1, 2), (5, -2), (9, -7)], [(-8, 6), (-3, 4), (1, 1), (9, -7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-10, 7), (-11, 8), (-10, 9), (-9, 8), (-10, 7)]]),
(-14, 13, [[(-1, -12), (1, -10), (0, -7), (-2, -2), (-4, 2), (-6, 5), (-9, 9)], [(0, -11), (-1, -8), (-3, -2), (-5, 3), (-9, 9)], [(-9, -6), (-7, -4), (-3, -5), (2, -6), (6, -7), (8, -5)], [(-8, -5), (-3, -5)], [(2, -6), (7, -6)], [(8, -5), (7, 1), (6, 5), (5, 7), (3, 9), (2, 8), (0, 7)], [(7, -6), (6, 1), (5, 5), (4, 7), (2, 8)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-3, -12), (0, -11), (2, 9)], [(-1, -11), (1, 10), (2, 9)], [(-8, -6), (-6, -4), (-2, -5), (2, -6), (6, -7), (8, -6)], [(-7, -5), (-2, -5)], [(2, -6), (8, -6)], [(-10, 0), (-8, 2), (-3, 1), (3, 0), (8, -1), (10, 0)], [(-9, 1), (-3, 1)], [(3, 0), (10, 0)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-2, -12), (0, -10), (-2, -6), (-4, -3), (-6, -1), (-8, 1)], [(-1, -11), (-2, -8), (-4, -4), (-6, -1)], [(-1, -8), (1, -7), (6, -7)], [(3, -7), (5, -8), (7, -6)], [(7, -6), (4, 0), (1, 4), (-2, 7), (-5, 9), (-7, 10)], [(6, -7), (5, -4), (3, 0), (0, 4), (-3, 7), (-7, 10)], [(7, -10), (9, -8)], [(9, -12), (11, -10)]]),
(-14, 13, [[(-4, -12), (-2, -10), (-4, -6), (-6, -3), (-8, -1), (-10, 1)], [(-3, -11), (-4, -8), (-6, -4), (-8, -1)], [(-6, -3), (2, -4), (7, -5), (10, -4)], [(2, -4), (10, -4)], [(0, -3), (2, -1), (0, 3), (-2, 6), (-4, 8), (-6, 10)], [(1, -2), (0, 1), (-2, 5), (-4, 8)], [(7, -10), (9, -8)], [(9, -12), (11, -10)]]),
(-14, 13, [[(-8, -8), (-6, -6), (6, -8), (8, -6)], [(-7, -7), (7, -7)], [(8, -6), (7, -3), (6, 4)], [(7, -7), (6, -2), (6, 4)], [(-8, 4), (-6, 6), (6, 4), (7, 5)], [(-7, 5), (7, 5)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-6, -9), (-4, -8), (-4, -3), (-5, 1)], [(-5, -8), (-5, 1)], [(2, -12), (5, -11), (5, -6), (4, -1), (3, 2), (2, 4), (0, 7), (-2, 9)], [(4, -11), (4, -6), (3, -1), (2, 3), (0, 7)], [(-10, -5), (-8, -3), (-3, -4), (3, -5), (8, -6), (10, -5)], [(-9, -4), (-3, -4)], [(3, -5), (10, -5)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-5, -11), (-3, -10), (-2, -9), (-2, -8), (-3, -8), (-4, -10), (-5, -11)], [(-10, -4), (-8, -3), (-7, -2), (-7, -1), (-8, -1), (-9, -3), (-10, -4)], [(-9, 6), (-7, 8), (-3, 6), (1, 3), (5, -1), (9, -6)], [(-8, 7), (-3, 5), (1, 2), (9, -6)], [(4, -10), (6, -8)], [(6, -12), (8, -10)]]),
(-14, 13, [[(-8, -9), (-6, -7), (5, -9), (7, -7)], [(-7, -8), (6, -8)], [(7, -7), (5, -4), (2, -1), (-1, 1), (-3, 2), (-8, 4)], [(6, -8), (5, -6), (3, -3), (1, -1), (-2, 1), (-8, 4)], [(3, 1), (6, 3), (8, 5), (8, 6), (7, 6), (6, 4), (3, 1)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-3, -11), (0, -10), (0, -8), (-1, 1)], [(-1, -10), (-1, 4), (0, 6), (2, 7), (9, 7)], [(4, 7), (8, 6), (9, 7)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -3)], [(-9, -3), (-3, -3)], [(3, -4), (9, -4)], [(10, -3), (7, -1), (4, 2)], [(9, -4), (4, 2)], [(7, -10), (9, -8)], [(9, -12), (11, -10)]]),
(-14, 13, [[(-9, -9), (-7, -8), (-6, -7), (-6, -6), (-7, -6), (-8, -8), (-9, -9)], [(6, -10), (8, -8), (5, -2), (2, 2), (-1, 5), (-4, 7), (-6, 8)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-6, 8)], [(9, -11), (11, -9)], [(11, -13), (13, -11)]]),
(-14, 13, [[(-2, -12), (0, -10), (-2, -6), (-4, -3), (-6, -1), (-8, 1)], [(-1, -11), (-2, -8), (-4, -4), (-6, -1)], [(-1, -8), (1, -7), (6, -7)], [(3, -7), (5, -8), (7, -6)], [(7, -6), (4, 0), (1, 4), (-2, 7), (-5, 9), (-7, 10)], [(6, -7), (5, -4), (3, 0), (0, 4), (-3, 7), (-7, 10)], [(-4, -2), (-1, -1), (1, 0), (4, 2), (5, 3), (5, 4), (4, 4), (3, 2), (1, 0)], [(7, -10), (9, -8)], [(9, -12), (11, -10)]]),
(-14, 13, [[(-6, -8), (-3, -8), (2, -9), (6, -11)], [(-3, -8), (0, -9), (2, -10), (5, -12), (6, -11)], [(-2, -8), (1, -7), (1, -1), (0, 3), (-2, 6), (-5, 9)], [(0, -7), (0, -1), (-1, 3), (-3, 7)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -4)], [(-9, -3), (-3, -3)], [(3, -4), (10, -4)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-9, -9), (-7, -8), (-6, -7), (-6, -6), (-7, -6), (-8, -8), (-9, -9)], [(-3, -10), (-1, -9), (0, -8), (0, -7), (-1, -7), (-2, -9), (-3, -10)], [(6, -10), (8, -8), (5, -2), (2, 2), (-1, 5), (-4, 7), (-6, 8)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-6, 8)], [(9, -11), (11, -9)], [(11, -13), (13, -11)]]),
(-14, 13, [[(-6, -12), (-4, -10), (5, -12), (6, -11)], [(-5, -11), (6, -11)], [(-10, -4), (-8, -2), (-3, -3), (3, -4), (8, -5), (10, -4)], [(-9, -3), (-3, -3)], [(3, -4), (10, -4)], [(1, -3), (1, -1), (0, 3), (-2, 6), (-5, 9)], [(0, -3), (0, -1), (-1, 3), (-3, 7)], [(8, -10), (10, -8)], [(10, -12), (12, -10)]]),
(-14, 13, [[(-5, -12), (-2, -11), (-2, 10)], [(-3, -11), (-3, 9), (-2, 10)], [(-2, -3), (0, -3), (3, -2), (4, -1), (4, 0), (3, 0), (2, -2), (0, -3)], [(2, -10), (4, -8)], [(4, -12), (6, -10)]]),
(-14, 13, [[(-6, -6), (-4, -4), (-5, -1), (-6, 1), (-8, 3), (-10, 4)], [(-5, -5), (-6, -1), (-8, 3)], [(4, -6), (6, -4), (8, -1), (10, 3), (10, 4), (9, 4), (8, 0), (6, -4)], [(7, -9), (9, -7)], [(9, -11), (11, -9)]]),
(-14, 13, [[(-9, -11), (-6, -10), (-6, -8), (-7, 1)], [(-7, -10), (-7, 4), (-6, 6), (-4, 7), (7, 7)], [(-1, 7), (3, 6), (5, 6), (7, 7)], [(-7, 0), (-3, -1), (0, -2), (6, -4)], [(0, -2), (4, -4), (6, -4)], [(7, -9), (9, -7)], [(9, -11), (11, -9)]]),
(-14, 13, [[(-8, -11), (-6, -9), (7, -9)], [(-7, -10), (-3, -9)], [(3, -9), (6, -10), (8, -8)], [(8, -8), (5, -2), (3, 1), (0, 4), (-3, 6), (-5, 7)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-5, 7)], [(9, -11), (11, -9)], [(11, -13), (13, -11)]]),
(-14, 13, [[(-11, -1), (-9, 1), (-2, -6), (-1, -6), (9, 4)], [(-10, 0), (-8, -1), (-4, -4)], [(3, -2), (8, 2), (10, 3), (9, 4)], [(4, -8), (6, -6)], [(6, -10), (8, -8)]]),
(-14, 13, [[(-2, -12), (1, -11), (1, 7), (0, 9), (-1, 7), (-3, 6)], [(0, -11), (0, 6), (-1, 7)], [(-10, -6), (-8, -4), (-3, -5), (3, -6), (8, -7), (10, -6)], [(-9, -5), (-3, -5)], [(3, -6), (10, -6)], [(-6, 1), (-8, 4), (-9, 5), (-10, 5), (-10, 4), (-8, 3), (-6, 1)], [(6, 1), (9, 3), (10, 4), (10, 5), (9, 5), (8, 3), (6, 1)], [(8, -11), (10, -9)], [(10, -13), (12, -11)]]),
(-14, 13, [[(-6, -6), (-4, -4), (-5, -1), (-6, 1), (-8, 3), (-10, 4)], [(-5, -5), (-6, -1), (-8, 3)], [(4, -6), (6, -4), (8, -1), (10, 3), (10, 4), (9, 4), (8, 0), (6, -4)], [(8, -11), (7, -10), (7, -8), (8, -7), (10, -7), (11, -8), (11, -10), (10, -11), (8, -11)]]),
(-14, 13, [[(-9, -11), (-6, -10), (-6, -8), (-7, 1)], [(-7, -10), (-7, 4), (-6, 6), (-4, 7), (7, 7)], [(-1, 7), (3, 6), (5, 6), (7, 7)], [(-7, 0), (-3, -1), (0, -2), (6, -4)], [(0, -2), (4, -4), (6, -4)], [(8, -11), (7, -10), (7, -8), (8, -7), (10, -7), (11, -8), (11, -10), (10, -11), (8, -11)]]),
(-14, 13, [[(-8, -11), (-6, -9), (7, -9)], [(-7, -10), (-3, -9)], [(3, -9), (6, -10), (8, -8)], [(8, -8), (5, -2), (3, 1), (0, 4), (-3, 6), (-5, 7)], [(7, -9), (6, -6), (4, -2), (1, 2), (-2, 5), (-5, 7)], [(10, -13), (9, -12), (9, -10), (10, -9), (12, -9), (13, -10), (13, -12), (12, -13), (10, -13)]]),
(-14, 13, [[(-11, -1), (-9, 1), (-2, -6), (-1, -6), (9, 4)], [(-10, 0), (-8, -1), (-4, -4)], [(3, -2), (8, 2), (10, 3), (9, 4)], [(5, -10), (4, -9), (4, -7), (5, -6), (7, -6), (8, -7), (8, -9), (7, -10), (5, -10)]]),
(-14, 13, [[(-2, -12), (1, -11), (1, 7), (0, 9), (-1, 7), (-3, 6)], [(0, -11), (0, 6), (-1, 7)], [(-10, -6), (-8, -4), (-3, -5), (3, -6), (8, -7), (10, -6)], [(-9, -5), (-3, -5)], [(3, -6), (10, -6)], [(-6, 1), (-8, 4), (-9, 5), (-10, 5), (-10, 4), (-8, 3), (-6, 1)], [(6, 1), (9, 3), (10, 4), (10, 5), (9, 5), (8, 3), (6, 1)], [(9, -13), (8, -12), (8, -10), (9, -9), (11, -9), (12, -10), (12, -12), (11, -13), (9, -13)]]),
]
MARKERS = [
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-7, 7, [[(-1, -7), (-4, -6), (-6, -4), (-7, -1), (-7, 1), (-6, 4), (-4, 6), (-1, 7), (1, 7), (4, 6), (6, 4), (7, 1), (7, -1), (6, -4), (4, -6), (1, -7), (-1, -7)]]),
(-6, 6, [[(-6, -6), (-6, 6), (6, 6), (6, -6), (-6, -6)]]),
(-7, 7, [[(0, -8), (-7, 4), (7, 4), (0, -8)]]),
(-6, 6, [[(0, -10), (-6, 0), (0, 10), (6, 0), (0, -10)]]),
(-8, 8, [[(0, -9), (-2, -3), (-8, -3), (-3, 1), (-5, 7), (0, 3), (5, 7), (3, 1), (8, -3), (2, -3), (0, -9)]]),
(-6, 6, [[(-2, -6), (-2, -2), (-6, -2), (-6, 2), (-2, 2), (-2, 6), (2, 6), (2, 2), (6, 2), (6, -2), (2, -2), (2, -6), (-2, -6)]]),
(-7, 7, [[(0, -7), (0, 7)], [(-7, 0), (7, 0)]]),
(-5, 5, [[(-5, -5), (5, 5)], [(5, -5), (-5, 5)]]),
(-5, 5, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-4, 4, [[(-1, -4), (-3, -3), (-4, -1), (-4, 1), (-3, 3), (-1, 4), (1, 4), (3, 3), (4, 1), (4, -1), (3, -3), (1, -4), (-1, -4)], [(-3, -1), (-3, 1)], [(-2, -2), (-2, 2)], [(-1, -3), (-1, 3)], [(0, -3), (0, 3)], [(1, -3), (1, 3)], [(2, -2), (2, 2)], [(3, -1), (3, 1)]]),
(-4, 4, [[(-4, -4), (-4, 4), (4, 4), (4, -4), (-4, -4)], [(-3, -3), (-3, 3)], [(-2, -3), (-2, 3)], [(-1, -3), (-1, 3)], [(0, -3), (0, 3)], [(1, -3), (1, 3)], [(2, -3), (2, 3)], [(3, -3), (3, 3)]]),
(-5, 5, [[(0, -6), (-5, 3), (5, 3), (0, -6)], [(0, -3), (-3, 2)], [(0, -3), (3, 2)], [(0, 0), (-1, 2)], [(0, 0), (1, 2)]]),
(-6, 3, [[(-6, 0), (3, 5), (3, -5), (-6, 0)], [(-3, 0), (2, 3)], [(-3, 0), (2, -3)], [(0, 0), (2, 1)], [(0, 0), (2, -1)]]),
(-5, 5, [[(0, 6), (5, -3), (-5, -3), (0, 6)], [(0, 3), (3, -2)], [(0, 3), (-3, -2)], [(0, 0), (1, -2)], [(0, 0), (-1, -2)]]),
(-3, 6, [[(6, 0), (-3, -5), (-3, 5), (6, 0)], [(3, 0), (-2, -3)], [(3, 0), (-2, 3)], [(0, 0), (-2, -1)], [(0, 0), (-2, 1)]]),
(-14, 14, [[(-14, 0), (14, 0)], [(-14, 0), (0, 16)], [(14, 0), (0, 16)]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-7, 7, [[(-1, -7), (-4, -6), (-6, -4), (-7, -1), (-7, 1), (-6, 4), (-4, 6), (-1, 7), (1, 7), (4, 6), (6, 4), (7, 1), (7, -1), (6, -4), (4, -6), (1, -7), (-1, -7)]]),
(-6, 6, [[(-6, -6), (-6, 6), (6, 6), (6, -6), (-6, -6)]]),
(-7, 7, [[(0, -8), (-7, 4), (7, 4), (0, -8)]]),
(-6, 6, [[(0, -10), (-6, 0), (0, 10), (6, 0), (0, -10)]]),
(-8, 8, [[(0, -9), (-2, -3), (-8, -3), (-3, 1), (-5, 7), (0, 3), (5, 7), (3, 1), (8, -3), (2, -3), (0, -9)]]),
(-6, 6, [[(-2, -6), (-2, -2), (-6, -2), (-6, 2), (-2, 2), (-2, 6), (2, 6), (2, 2), (6, 2), (6, -2), (2, -2), (2, -6), (-2, -6)]]),
(-7, 7, [[(0, -7), (0, 7)], [(-7, 0), (7, 0)]]),
(-5, 5, [[(-5, -5), (5, 5)], [(5, -5), (-5, 5)]]),
(-5, 5, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-4, 4, [[(-1, -4), (-3, -3), (-4, -1), (-4, 1), (-3, 3), (-1, 4), (1, 4), (3, 3), (4, 1), (4, -1), (3, -3), (1, -4), (-1, -4)], [(-3, -1), (-3, 1)], [(-2, -2), (-2, 2)], [(-1, -3), (-1, 3)], [(0, -3), (0, 3)], [(1, -3), (1, 3)], [(2, -2), (2, 2)], [(3, -1), (3, 1)]]),
(-4, 4, [[(-4, -4), (-4, 4), (4, 4), (4, -4), (-4, -4)], [(-3, -3), (-3, 3)], [(-2, -3), (-2, 3)], [(-1, -3), (-1, 3)], [(0, -3), (0, 3)], [(1, -3), (1, 3)], [(2, -3), (2, 3)], [(3, -3), (3, 3)]]),
(-5, 5, [[(0, -6), (-5, 3), (5, 3), (0, -6)], [(0, -3), (-3, 2)], [(0, -3), (3, 2)], [(0, 0), (-1, 2)], [(0, 0), (1, 2)]]),
(-6, 3, [[(-6, 0), (3, 5), (3, -5), (-6, 0)], [(-3, 0), (2, 3)], [(-3, 0), (2, -3)], [(0, 0), (2, 1)], [(0, 0), (2, -1)]]),
(-5, 5, [[(0, 6), (5, -3), (-5, -3), (0, 6)], [(0, 3), (3, -2)], [(0, 3), (-3, -2)], [(0, 0), (1, -2)], [(0, 0), (-1, -2)]]),
(-3, 6, [[(6, 0), (-3, -5), (-3, 5), (6, 0)], [(3, 0), (-2, -3)], [(3, 0), (-2, 3)], [(0, 0), (-2, -1)], [(0, 0), (-2, 1)]]),
(-14, 14, [[(-14, 0), (14, 0)], [(-14, 0), (0, 16)], [(14, 0), (0, 16)]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
(-8, 8, [[]]),
]
MATHLOW = [
(-8, 8, [[]]),
(-12, 12, [[(0, -8), (0, 9)], [(-8, 0), (8, 0)], [(-8, 9), (8, 9)]]),
(-12, 12, [[(0, -8), (0, 9)], [(-8, -8), (8, -8)], [(-8, 0), (8, 0)]]),
(-11, 11, [[(-7, -7), (7, 7)], [(7, -7), (-7, 7)]]),
(-2, 3, [[(0, -1), (0, 0), (1, 0), (1, -1), (0, -1)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 12, [[(8, -12), (-8, -5), (8, 2)], [(-8, 4), (8, 4)], [(-8, 9), (8, 9)]]),
(-12, 12, [[(-8, -12), (8, -5), (-8, 2)], [(-8, 4), (8, 4)], [(-8, 9), (8, 9)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-17, 17, [[(-10, -16), (-10, 16)], [(-9, -16), (-9, 16)], [(9, -16), (9, 16)], [(10, -16), (10, 16)], [(-14, -16), (14, -16)], [(-14, 16), (-5, 16)], [(5, 16), (14, 16)]]),
(-16, 15, [[(-11, -16), (-1, -2), (-12, 16)], [(-12, -16), (-2, -2)], [(-13, -16), (-2, -1)], [(-13, -16), (10, -16), (12, -9), (9, -16)], [(-11, 15), (10, 15)], [(-12, 16), (10, 16), (12, 9), (9, 16)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-13, 13, [[(7, -9), (-7, 9)], [(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-13, 13, [[(-9, -5), (9, -5)], [(-9, 0), (9, 0)], [(-9, 5), (9, 5)]]),
(-9, 10, [[(6, -5), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(6, -12), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-5, 7, [[(5, -12), (3, -12), (1, -11), (0, -8), (0, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(6, -5), (6, 11), (5, 14), (4, 15), (2, 16), (-1, 16), (-3, 15)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(-5, -12), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-4, 4, [[(-1, -12), (0, -11), (1, -12), (0, -13), (-1, -12)], [(0, -5), (0, 9)]]),
(-5, 5, [[(0, -12), (1, -11), (2, -12), (1, -13), (0, -12)], [(1, -5), (1, 12), (0, 15), (-2, 16), (-4, 16)]]),
(-9, 8, [[(-5, -12), (-5, 9)], [(5, -5), (-5, 5)], [(-1, 1), (6, 9)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-15, 15, [[(-11, -5), (-11, 9)], [(-11, -1), (-8, -4), (-6, -5), (-3, -5), (-1, -4), (0, -1), (0, 9)], [(0, -1), (3, -4), (5, -5), (8, -5), (10, -4), (11, -1), (11, 9)]]),
(-9, 10, [[(-5, -5), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (2, -5), (-1, -5)]]),
(-10, 9, [[(-6, -5), (-6, 16)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 10, [[(6, -5), (6, 16)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-7, 6, [[(-3, -5), (-3, 9)], [(-3, 1), (-2, -2), (0, -4), (2, -5), (5, -5)]]),
(-8, 9, [[(6, -2), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -2), (-4, 0), (-2, 1), (3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-5, 6)]]),
(-5, 7, [[(0, -12), (0, 5), (1, 8), (3, 9), (5, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(-5, -5), (-5, 5), (-4, 8), (-2, 9), (1, 9), (3, 8), (6, 5)], [(6, -5), (6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9)]]),
(-11, 11, [[(-8, -5), (-4, 9)], [(0, -5), (-4, 9)], [(0, -5), (4, 9)], [(8, -5), (4, 9)]]),
(-8, 9, [[(-5, -5), (6, 9)], [(6, -5), (-5, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16)]]),
(-8, 9, [[(6, -5), (-5, 9)], [(-5, -5), (6, -5)], [(-5, 9), (6, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-12, 13, [[(9, 5), (7, 5), (5, 4), (3, 2), (0, -2), (-1, -3), (-3, -4), (-5, -4), (-7, -3), (-8, -1), (-8, 1), (-7, 3), (-5, 4), (-3, 4), (-1, 3), (0, 2), (3, -2), (5, -4), (7, -5), (9, -5)]]),
(-12, 13, [[(10, 1), (9, 3), (7, 4), (5, 4), (3, 3), (2, 2), (-1, -2), (-2, -3), (-4, -4), (-6, -4), (-8, -3), (-9, -1), (-9, 1), (-8, 3), (-6, 4), (-4, 4), (-2, 3), (-1, 2), (2, -2), (3, -3), (5, -4), (7, -4), (9, -3), (10, -1), (10, 1)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-13, 9, [[(-10, -5), (-6, -5), (0, 7)], [(-7, -5), (0, 9)], [(9, -16), (0, 9)]]),
(-17, 16, [[(-14, -5), (-9, -5), (0, 7)], [(-10, -4), (0, 9)], [(16, -24), (0, 9)]]),
(-12, 12, [[(8, -8), (1, -8), (-3, -7), (-5, -6), (-7, -4), (-8, -1), (-8, 1), (-7, 4), (-5, 6), (-3, 7), (1, 8), (8, 8)]]),
(-12, 12, [[(-8, -8), (-8, -1), (-7, 3), (-6, 5), (-4, 7), (-1, 8), (1, 8), (4, 7), (6, 5), (7, 3), (8, -1), (8, -8)]]),
(-12, 12, [[(-8, -8), (-1, -8), (3, -7), (5, -6), (7, -4), (8, -1), (8, 1), (7, 4), (5, 6), (3, 7), (-1, 8), (-8, 8)]]),
(-12, 12, [[(-8, 8), (-8, 1), (-7, -3), (-6, -5), (-4, -7), (-1, -8), (1, -8), (4, -7), (6, -5), (7, -3), (8, 1), (8, 8)]]),
(-12, 12, [[(8, -8), (1, -8), (-3, -7), (-5, -6), (-7, -4), (-8, -1), (-8, 1), (-7, 4), (-5, 6), (-3, 7), (1, 8), (8, 8)], [(-8, 0), (4, 0)]]),
(-13, 13, [[(6, -2), (9, 0), (6, 2)], [(3, -5), (8, 0), (3, 5)], [(-9, 0), (8, 0)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-13, 13, [[(-6, -2), (-9, 0), (-6, 2)], [(-3, -5), (-8, 0), (-3, 5)], [(-8, 0), (9, 0)]]),
(-8, 8, [[(-2, 6), (0, 9), (2, 6)], [(-5, 3), (0, 8), (5, 3)], [(0, -9), (0, 8)]]),
(-9, 10, [[(6, 0), (5, -3), (4, -4), (2, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 6), (6, 3), (7, -2), (7, -7), (6, -10), (5, -11), (3, -12), (0, -12), (-2, -11), (-3, -10), (-3, -9), (-2, -9), (-2, -10)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 6), (5, 3), (6, -2), (6, -7), (5, -10), (3, -12)]]),
(-10, 10, [[(-8, -12), (0, 9)], [(-7, -12), (0, 7)], [(8, -12), (0, 9)], [(-8, -12), (8, -12)], [(-7, -11), (7, -11)]]),
(-17, 16, [[(-14, -5), (-9, -5), (0, 7)], [(-10, -4), (0, 9)], [(16, -24), (0, 9)]]),
(-12, 12, [[(9, -15), (8, -14), (9, -13), (10, -14), (10, -15), (9, -16), (7, -16), (5, -15), (3, -13), (2, -11), (1, -8), (0, -4), (-2, 8), (-3, 12), (-4, 14)], [(4, -14), (3, -12), (2, -8), (0, 4), (-1, 8), (-2, 11), (-3, 13), (-5, 15), (-7, 16), (-9, 16), (-10, 15), (-10, 14), (-9, 13), (-8, 14), (-9, 15)]]),
(-15, 15, [[(11, -36), (10, -36), (9, -35), (9, -34), (10, -33), (11, -33), (12, -34), (12, -36), (11, -38), (9, -39), (7, -39), (5, -38), (3, -36), (2, -34), (1, -31), (0, -24), (-1, -8), (-1, 24), (-2, 33), (-3, 36)], [(10, -35), (10, -34), (11, -34), (11, -35), (10, -35)], [(0, -24), (0, 24)], [(3, -36), (2, -33), (1, -24), (1, 8), (0, 24), (-1, 31), (-2, 34), (-3, 36), (-5, 38), (-7, 39), (-9, 39), (-11, 38), (-12, 36), (-12, 34), (-11, 33), (-10, 33), (-9, 34), (-9, 35), (-10, 36), (-11, 36)], [(-11, 34), (-11, 35), (-10, 35), (-10, 34), (-11, 34)]]),
(-9, 9, [[(6, -39), (3, -33), (0, -26), (-2, -21), (-3, -17), (-4, -12), (-5, -4), (-5, 4), (-4, 12), (-3, 17), (-2, 21), (0, 26), (3, 33), (6, 39)], [(3, -33), (1, -28), (-1, -22), (-2, -18), (-3, -12), (-4, -4), (-4, 4), (-3, 12), (-2, 18), (-1, 22), (1, 28), (3, 33)]]),
(-9, 9, [[(-6, -39), (-3, -33), (0, -26), (2, -21), (3, -17), (4, -12), (5, -4), (5, 4), (4, 12), (3, 17), (2, 21), (0, 26), (-3, 33), (-6, 39)], [(-3, -33), (-1, -28), (1, -22), (2, -18), (3, -12), (4, -4), (4, 4), (3, 12), (2, 18), (1, 22), (-1, 28), (-3, 33)]]),
(-9, 9, [[(-5, -39), (-5, 0), (-5, 39)], [(-4, -39), (-4, 0), (-4, 39)], [(-5, -39), (6, -39)], [(-5, 39), (6, 39)]]),
(-9, 9, [[(4, -39), (4, 0), (4, 39)], [(5, -39), (5, 0), (5, 39)], [(-6, -39), (5, -39)], [(-6, 39), (5, 39)]]),
(-9, 10, [[(6, -12), (6, 9)], [(-7, -12), (6, -12)], [(-2, -2), (6, -2)], [(-7, 9), (6, 9)]]),
(-10, 10, [[(-7, -9), (-6, -7), (6, 5), (7, 7), (7, 9)], [(-6, -6), (6, 6)], [(-7, -9), (-7, -7), (-6, -5), (6, 7), (7, 9)], [(-2, -2), (-6, 2), (-7, 4), (-7, 6), (-6, 8), (-7, 9)], [(-7, 4), (-5, 8)], [(-6, 2), (-6, 4), (-5, 6), (-5, 8), (-7, 9)], [(1, 1), (6, -4)], [(4, -9), (4, -6), (5, -4), (7, -4), (7, -6), (5, -7), (4, -9)], [(4, -9), (5, -6), (7, -4)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 0), (9, 0)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(3, -16), (3, 16)]]),
(-12, 12, [[(0, -16), (0, 9)], [(-9, 9), (9, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-12, 12, [[(9, -16), (-9, 9), (9, 9)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 7), (-10, 8), (-9, 9), (-8, 8), (-9, 7)], [(9, 7), (8, 8), (9, 9), (10, 8), (9, 7)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
]
MATHUPP = [
(-8, 8, [[]]),
(-12, 12, [[(0, -8), (0, 9)], [(-8, 0), (8, 0)], [(-8, 9), (8, 9)]]),
(-12, 12, [[(0, -8), (0, 9)], [(-8, -8), (8, -8)], [(-8, 0), (8, 0)]]),
(-11, 11, [[(-7, -7), (7, 7)], [(7, -7), (-7, 7)]]),
(-2, 3, [[(0, -1), (0, 0), (1, 0), (1, -1), (0, -1)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 12, [[(8, -12), (-8, -5), (8, 2)], [(-8, 4), (8, 4)], [(-8, 9), (8, 9)]]),
(-12, 12, [[(-8, -12), (8, -5), (-8, 2)], [(-8, 4), (8, 4)], [(-8, 9), (8, 9)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 5, [[(1, 8), (0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-17, 17, [[(-10, -16), (-10, 16)], [(-9, -16), (-9, 16)], [(9, -16), (9, 16)], [(10, -16), (10, 16)], [(-14, -16), (14, -16)], [(-14, 16), (-5, 16)], [(5, 16), (14, 16)]]),
(-16, 15, [[(-11, -16), (-1, -2), (-12, 16)], [(-12, -16), (-2, -2)], [(-13, -16), (-2, -1)], [(-13, -16), (10, -16), (12, -9), (9, -16)], [(-11, 15), (10, 15)], [(-12, 16), (10, 16), (12, 9), (9, 16)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-13, 13, [[(7, -9), (-7, 9)], [(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-13, 13, [[(-9, -5), (9, -5)], [(-9, 0), (9, 0)], [(-9, 5), (9, 5)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-5, 2), (5, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2)], [(-7, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-7, 9)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (0, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (0, 9), (-7, 9)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)], [(-6, 9), (7, 9)]]),
(-10, 8, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4), (8, 1)], [(3, 1), (8, 1)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -2), (7, -2)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-8, 8, [[(4, -12), (4, 4), (3, 7), (2, 8), (0, 9), (-2, 9), (-4, 8), (-5, 7), (-6, 4), (-6, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(7, -12), (-7, 2)], [(-2, -3), (7, 9)]]),
(-10, 7, [[(-6, -12), (-6, 9)], [(-6, 9), (6, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-8, -12), (0, 9)], [(8, -12), (0, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (7, 9)], [(7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-7, -1)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(1, 5), (7, 11)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2), (-7, -2)], [(0, -2), (7, 9)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-8, 8, [[(0, -12), (0, 9)], [(-7, -12), (7, -12)]]),
(-11, 11, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)]]),
(-9, 9, [[(-8, -12), (0, 9)], [(8, -12), (0, 9)]]),
(-12, 12, [[(-10, -12), (-5, 9)], [(0, -12), (-5, 9)], [(0, -12), (5, 9)], [(10, -12), (5, 9)]]),
(-10, 10, [[(-7, -12), (7, 9)], [(7, -12), (-7, 9)]]),
(-9, 9, [[(-8, -12), (0, -2), (0, 9)], [(8, -12), (0, -2)]]),
(-10, 10, [[(7, -12), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-12, 13, [[(9, 5), (7, 5), (5, 4), (3, 2), (0, -2), (-1, -3), (-3, -4), (-5, -4), (-7, -3), (-8, -1), (-8, 1), (-7, 3), (-5, 4), (-3, 4), (-1, 3), (0, 2), (3, -2), (5, -4), (7, -5), (9, -5)]]),
(-12, 13, [[(10, 1), (9, 3), (7, 4), (5, 4), (3, 3), (2, 2), (-1, -2), (-2, -3), (-4, -4), (-6, -4), (-8, -3), (-9, -1), (-9, 1), (-8, 3), (-6, 4), (-4, 4), (-2, 3), (-1, 2), (2, -2), (3, -3), (5, -4), (7, -4), (9, -3), (10, -1), (10, 1)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 9, [[(-10, -5), (-6, -5), (0, 7)], [(-7, -5), (0, 9)], [(9, -16), (0, 9)]]),
(-17, 16, [[(-14, -5), (-9, -5), (0, 7)], [(-10, -4), (0, 9)], [(16, -24), (0, 9)]]),
(-12, 12, [[(8, -8), (1, -8), (-3, -7), (-5, -6), (-7, -4), (-8, -1), (-8, 1), (-7, 4), (-5, 6), (-3, 7), (1, 8), (8, 8)]]),
(-12, 12, [[(-8, -8), (-8, -1), (-7, 3), (-6, 5), (-4, 7), (-1, 8), (1, 8), (4, 7), (6, 5), (7, 3), (8, -1), (8, -8)]]),
(-12, 12, [[(-8, -8), (-1, -8), (3, -7), (5, -6), (7, -4), (8, -1), (8, 1), (7, 4), (5, 6), (3, 7), (-1, 8), (-8, 8)]]),
(-12, 12, [[(-8, 8), (-8, 1), (-7, -3), (-6, -5), (-4, -7), (-1, -8), (1, -8), (4, -7), (6, -5), (7, -3), (8, 1), (8, 8)]]),
(-12, 12, [[(8, -8), (1, -8), (-3, -7), (-5, -6), (-7, -4), (-8, -1), (-8, 1), (-7, 4), (-5, 6), (-3, 7), (1, 8), (8, 8)], [(-8, 0), (4, 0)]]),
(-13, 13, [[(6, -2), (9, 0), (6, 2)], [(3, -5), (8, 0), (3, 5)], [(-9, 0), (8, 0)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-13, 13, [[(-6, -2), (-9, 0), (-6, 2)], [(-3, -5), (-8, 0), (-3, 5)], [(-8, 0), (9, 0)]]),
(-8, 8, [[(-2, 6), (0, 9), (2, 6)], [(-5, 3), (0, 8), (5, 3)], [(0, -9), (0, 8)]]),
(-9, 10, [[(6, 0), (5, -3), (4, -4), (2, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 6), (6, 3), (7, -2), (7, -7), (6, -10), (5, -11), (3, -12), (0, -12), (-2, -11), (-3, -10), (-3, -9), (-2, -9), (-2, -10)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 6), (5, 3), (6, -2), (6, -7), (5, -10), (3, -12)]]),
(-10, 10, [[(-8, -12), (0, 9)], [(-7, -12), (0, 7)], [(8, -12), (0, 9)], [(-8, -12), (8, -12)], [(-7, -11), (7, -11)]]),
(-17, 16, [[(-14, -5), (-9, -5), (0, 7)], [(-10, -4), (0, 9)], [(16, -24), (0, 9)]]),
(-12, 12, [[(9, -15), (8, -14), (9, -13), (10, -14), (10, -15), (9, -16), (7, -16), (5, -15), (3, -13), (2, -11), (1, -8), (0, -4), (-2, 8), (-3, 12), (-4, 14)], [(4, -14), (3, -12), (2, -8), (0, 4), (-1, 8), (-2, 11), (-3, 13), (-5, 15), (-7, 16), (-9, 16), (-10, 15), (-10, 14), (-9, 13), (-8, 14), (-9, 15)]]),
(-15, 15, [[(11, -36), (10, -36), (9, -35), (9, -34), (10, -33), (11, -33), (12, -34), (12, -36), (11, -38), (9, -39), (7, -39), (5, -38), (3, -36), (2, -34), (1, -31), (0, -24), (-1, -8), (-1, 24), (-2, 33), (-3, 36)], [(10, -35), (10, -34), (11, -34), (11, -35), (10, -35)], [(0, -24), (0, 24)], [(3, -36), (2, -33), (1, -24), (1, 8), (0, 24), (-1, 31), (-2, 34), (-3, 36), (-5, 38), (-7, 39), (-9, 39), (-11, 38), (-12, 36), (-12, 34), (-11, 33), (-10, 33), (-9, 34), (-9, 35), (-10, 36), (-11, 36)], [(-11, 34), (-11, 35), (-10, 35), (-10, 34), (-11, 34)]]),
(-9, 9, [[(6, -39), (3, -33), (0, -26), (-2, -21), (-3, -17), (-4, -12), (-5, -4), (-5, 4), (-4, 12), (-3, 17), (-2, 21), (0, 26), (3, 33), (6, 39)], [(3, -33), (1, -28), (-1, -22), (-2, -18), (-3, -12), (-4, -4), (-4, 4), (-3, 12), (-2, 18), (-1, 22), (1, 28), (3, 33)]]),
(-9, 9, [[(-6, -39), (-3, -33), (0, -26), (2, -21), (3, -17), (4, -12), (5, -4), (5, 4), (4, 12), (3, 17), (2, 21), (0, 26), (-3, 33), (-6, 39)], [(-3, -33), (-1, -28), (1, -22), (2, -18), (3, -12), (4, -4), (4, 4), (3, 12), (2, 18), (1, 22), (-1, 28), (-3, 33)]]),
(-9, 9, [[(-5, -39), (-5, 0), (-5, 39)], [(-4, -39), (-4, 0), (-4, 39)], [(-5, -39), (6, -39)], [(-5, 39), (6, 39)]]),
(-9, 9, [[(4, -39), (4, 0), (4, 39)], [(5, -39), (5, 0), (5, 39)], [(-6, -39), (5, -39)], [(-6, 39), (5, 39)]]),
(-9, 10, [[(6, -12), (6, 9)], [(-7, -12), (6, -12)], [(-2, -2), (6, -2)], [(-7, 9), (6, 9)]]),
(-10, 10, [[(-7, -9), (-6, -7), (6, 5), (7, 7), (7, 9)], [(-6, -6), (6, 6)], [(-7, -9), (-7, -7), (-6, -5), (6, 7), (7, 9)], [(-2, -2), (-6, 2), (-7, 4), (-7, 6), (-6, 8), (-7, 9)], [(-7, 4), (-5, 8)], [(-6, 2), (-6, 4), (-5, 6), (-5, 8), (-7, 9)], [(1, 1), (6, -4)], [(4, -9), (4, -6), (5, -4), (7, -4), (7, -6), (5, -7), (4, -9)], [(4, -9), (5, -6), (7, -4)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 0), (9, 0)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(3, -16), (3, 16)]]),
(-12, 12, [[(0, -16), (0, 9)], [(-9, 9), (9, 9)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-12, 12, [[(9, -16), (-9, 9), (9, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 7), (-10, 8), (-9, 9), (-8, 8), (-9, 7)], [(9, 7), (8, 8), (9, 9), (10, 8), (9, 7)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
]
METEOROLOGY = [
(-8, 8, [[]]),
(-2, 1, [[(1, 0), (0, 1), (-1, 1), (-2, 0), (-2, -1), (-1, -2), (0, -2), (1, -1), (1, 1), (0, 3), (-1, 4)], [(-1, -1), (-1, 0), (0, 0), (0, -1), (-1, -1)]]),
(-2, 2, [[(-1, -2), (-2, -1), (-2, 1), (-1, 2), (1, 2), (2, 1), (2, -1), (1, -2), (-1, -2)], [(0, -1), (-1, 0), (0, 1), (1, 0), (0, -1)]]),
(-4, 4, [[(-2, -3), (2, 3)], [(2, -3), (-2, 3)], [(-4, 0), (4, 0)]]),
(-5, 5, [[(0, -7), (-1, -5), (-3, -2), (-5, 0)], [(0, -7), (1, -5), (3, -2), (5, 0)], [(0, -5), (-3, -1)], [(0, -5), (3, -1)], [(0, -3), (-2, -1)], [(0, -3), (2, -1)], [(-1, -1), (1, -1)], [(-5, 0), (5, 0)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-5, 5, [[(-5, 0), (-5, -1), (-4, -3), (-3, -4), (-1, -5), (1, -5), (3, -4), (4, -3), (5, -1), (5, 0)], [(-2, -4), (2, -4)], [(-3, -3), (3, -3)], [(-4, -2), (4, -2)], [(-4, -1), (4, -1)], [(-5, 0), (5, 0)]]),
(-6, 0, [[(-6, -12), (-6, 0), (0, 0), (-6, -12)], [(-6, -9), (-2, -1)], [(-6, -6), (-3, 0)], [(-6, -3), (-5, -1)]]),
(-5, 5, [[(0, -7), (-1, -5), (-3, -2), (-5, 0)], [(0, -7), (1, -5), (3, -2), (5, 0)]]),
(-5, 5, [[(5, 0), (5, -1), (4, -3), (3, -4), (1, -5), (-1, -5), (-3, -4), (-4, -3), (-5, -1), (-5, 0)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-11, 11, [[(11, 0), (11, -2), (10, -5), (8, -8), (5, -10), (2, -11), (-2, -11), (-5, -10), (-8, -8), (-10, -5), (-11, -2), (-11, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-5, 5, [[(-5, 0), (-5, 1), (-4, 3), (-3, 4), (-1, 5), (1, 5), (3, 4), (4, 3), (5, 1), (5, 0)]]),
(-6, 6, [[(-6, -2), (-4, 0), (-1, 1), (1, 1), (4, 0), (6, -2)]]),
(0, 3, [[(0, 3), (2, 2), (3, 0), (2, -2), (0, -3)]]),
(0, 4, [[(0, 0), (3, -2), (4, -4), (4, -6), (3, -7), (2, -7)]]),
(-4, 0, [[(0, 0), (-3, -2), (-4, -4), (-4, -6), (-3, -7), (-2, -7)]]),
(-9, 9, [[(-5, -8), (-4, -7), (-5, -6), (-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(1, -12), (3, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-5, 2), (5, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2)], [(-7, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-7, 9)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (0, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (0, 9), (-7, 9)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)], [(-6, 9), (7, 9)]]),
(-10, 8, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4), (8, 1)], [(3, 1), (8, 1)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -2), (7, -2)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-8, 8, [[(4, -12), (4, 4), (3, 7), (2, 8), (0, 9), (-2, 9), (-4, 8), (-5, 7), (-6, 4), (-6, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(7, -12), (-7, 2)], [(-2, -3), (7, 9)]]),
(-10, 7, [[(-6, -12), (-6, 9)], [(-6, 9), (6, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-8, -12), (0, 9)], [(8, -12), (0, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (7, 9)], [(7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-7, -1)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(1, 5), (7, 11)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2), (-7, -2)], [(0, -2), (7, 9)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-8, 8, [[(0, -12), (0, 9)], [(-7, -12), (7, -12)]]),
(-11, 11, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)]]),
(-9, 9, [[(-8, -12), (0, 9)], [(8, -12), (0, 9)]]),
(-12, 12, [[(-10, -12), (-5, 9)], [(0, -12), (-5, 9)], [(0, -12), (5, 9)], [(10, -12), (5, 9)]]),
(-10, 10, [[(-7, -12), (7, 9)], [(7, -12), (-7, 9)]]),
(-9, 9, [[(-8, -12), (0, -2), (0, 9)], [(8, -12), (0, -2)]]),
(-10, 10, [[(7, -12), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-11, 11, [[(0, 0), (2, 3), (3, 4), (5, 5), (7, 5), (9, 4), (10, 3), (11, 1), (11, -1), (10, -3), (9, -4), (7, -5), (5, -5), (3, -4), (2, -3), (-2, 3), (-3, 4), (-5, 5), (-7, 5), (-9, 4), (-10, 3), (-11, 1), (-11, -1), (-10, -3), (-9, -4), (-7, -5), (-5, -5), (-3, -4), (-2, -3), (0, 0)]]),
(-11, 11, [[(-9, 5), (-10, 4), (-11, 2), (-11, -1), (-10, -3), (-9, -4), (-7, -5), (-5, -5), (-3, -4), (-2, -3), (2, 3), (3, 4), (5, 5), (7, 5), (9, 4), (10, 3), (11, 1), (11, -2), (10, -4), (9, -5)]]),
(-9, 10, [[(6, -5), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(6, -12), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-5, 7, [[(5, -12), (3, -12), (1, -11), (0, -8), (0, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(6, -5), (6, 11), (5, 14), (4, 15), (2, 16), (-1, 16), (-3, 15)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(-5, -12), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-4, 4, [[(-1, -12), (0, -11), (1, -12), (0, -13), (-1, -12)], [(0, -5), (0, 9)]]),
(-5, 5, [[(0, -12), (1, -11), (2, -12), (1, -13), (0, -12)], [(1, -5), (1, 12), (0, 15), (-2, 16), (-4, 16)]]),
(-9, 8, [[(-5, -12), (-5, 9)], [(5, -5), (-5, 5)], [(-1, 1), (6, 9)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-15, 15, [[(-11, -5), (-11, 9)], [(-11, -1), (-8, -4), (-6, -5), (-3, -5), (-1, -4), (0, -1), (0, 9)], [(0, -1), (3, -4), (5, -5), (8, -5), (10, -4), (11, -1), (11, 9)]]),
(-9, 10, [[(-5, -5), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (2, -5), (-1, -5)]]),
(-10, 9, [[(-6, -5), (-6, 16)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 10, [[(6, -5), (6, 16)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-7, 6, [[(-3, -5), (-3, 9)], [(-3, 1), (-2, -2), (0, -4), (2, -5), (5, -5)]]),
(-8, 9, [[(6, -2), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -2), (-4, 0), (-2, 1), (3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-5, 6)]]),
(-5, 7, [[(0, -12), (0, 5), (1, 8), (3, 9), (5, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(-5, -5), (-5, 5), (-4, 8), (-2, 9), (1, 9), (3, 8), (6, 5)], [(6, -5), (6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9)]]),
(-11, 11, [[(-8, -5), (-4, 9)], [(0, -5), (-4, 9)], [(0, -5), (4, 9)], [(8, -5), (4, 9)]]),
(-8, 9, [[(-5, -5), (6, 9)], [(6, -5), (-5, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16)]]),
(-8, 9, [[(6, -5), (-5, 9)], [(-5, -5), (6, -5)], [(-5, 9), (6, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-10, 10, [[(-7, -12), (-7, 9)], [(-10, -12), (9, -12), (-1, -2), (9, 8)], [(8, 4), (9, 7), (10, 9)], [(8, 4), (8, 7)], [(5, 7), (8, 7)], [(5, 7), (8, 8), (10, 9)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-7, 7, [[(3, -17), (0, -16), (-2, -15), (-4, -13), (-6, -10), (-7, -6), (-7, 0), (-6, 3), (-4, 5), (-1, 6), (1, 6), (4, 5), (6, 3), (7, 0)], [(-7, -2), (-6, -5), (-4, -7), (-1, -8), (1, -8), (4, -7), (6, -5), (7, -2), (7, 4), (6, 8), (4, 11), (2, 13), (0, 14), (-3, 15)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
]
MUSIC = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (-1, -10), (0, 2), (1, -10), (0, -12)], [(0, -10), (0, -4)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-5, -2), (-1, 0), (2, 2), (4, 4), (5, 7), (5, 9), (4, 11), (3, 12)], [(-5, -1), (1, 2)], [(-5, 0), (-2, 1), (2, 3), (4, 5), (5, 7)]]),
(-8, 8, [[(5, -7), (4, -5), (2, -3), (-2, -1), (-5, 0)], [(1, -2), (-5, 1)], [(3, -12), (4, -11), (5, -9), (5, -7), (4, -4), (2, -2), (-1, 0), (-5, 2)]]),
(-10, 10, [[(1, -5), (-3, -4), (-6, -2), (-7, 0), (-7, 2), (-6, 4), (-4, 5), (-1, 5), (3, 4), (6, 2), (7, 0), (7, -2), (6, -4), (4, -5), (1, -5)], [(6, -4), (1, -5)], [(4, -5), (-1, -4), (-6, -2)], [(-3, -4), (-7, 0)], [(-6, 4), (-1, 5)], [(-4, 5), (1, 4), (6, 2)], [(3, 4), (7, 0)]]),
(-10, 10, [[(1, -5), (-3, -4), (-6, -2), (-7, 0), (-7, 2), (-6, 4), (-4, 5), (-1, 5), (3, 4), (6, 2), (7, 0), (7, -2), (6, -4), (4, -5), (1, -5)], [(6, -4), (1, -5)], [(4, -5), (-1, -4), (-6, -2)], [(-3, -4), (-7, 0)], [(-6, 4), (-1, 5)], [(-4, 5), (1, 4), (6, 2)], [(3, 4), (7, 0)]]),
(-8, 9, [[(1, -5), (-2, -4), (-4, -2), (-5, 0), (-5, 2), (-4, 4), (-2, 5), (0, 5), (3, 4), (5, 2), (6, 0), (6, -2), (5, -4), (3, -5), (1, -5)], [(-3, -2), (3, -5)], [(-4, 0), (4, -4)], [(-5, 2), (5, -3)], [(-4, 3), (6, -2)], [(-3, 4), (5, 0)], [(-2, 5), (4, 2)]]),
(-8, 8, [[(-3, -11), (-3, 12)], [(3, -12), (3, 11)], [(-5, -4), (5, -6)], [(-5, -3), (5, -5)], [(-5, 5), (5, 3)], [(-5, 6), (5, 4)]]),
(-8, 8, [[(-4, -12), (-4, 6)], [(4, -6), (4, 12)], [(-4, -4), (4, -6)], [(-4, -3), (4, -5)], [(-4, 5), (4, 3)], [(-4, 6), (4, 4)]]),
(-8, 8, [[(-4, -16), (-4, 5)], [(-4, -4), (-1, -6), (2, -6), (4, -5), (5, -3), (5, -1), (4, 1), (1, 3), (-1, 4), (-4, 5)], [(-4, -4), (-1, -5), (2, -5), (4, -4)], [(3, -5), (4, -3), (4, -1), (3, 1), (1, 3)]]),
(-13, 13, [[(-10, -9), (-10, -6)], [(10, -9), (10, -6)], [(-10, -9), (10, -9)], [(-10, -8), (10, -8)], [(-10, -7), (10, -7)], [(-10, -6), (10, -6)]]),
(-8, 8, [[(-5, -4), (-5, -1)], [(5, -4), (5, -1)], [(-5, -4), (5, -4)], [(-5, -3), (5, -3)], [(-5, -2), (5, -2)], [(-5, -1), (5, -1)]]),
(-8, 8, [[(-5, -6), (5, 6)], [(-5, -6), (-3, -4), (-1, -3), (2, -3), (4, -4), (5, -5), (5, -7), (3, -7), (3, -5), (2, -3)], [(-3, -4), (2, -3)], [(-1, -3), (5, -5)], [(4, -7), (4, -4)], [(3, -6), (5, -6)], [(5, 6), (3, 4), (1, 3), (-2, 3), (-4, 4), (-5, 5), (-5, 7), (-3, 7), (-3, 5), (-2, 3)], [(3, 4), (-2, 3)], [(1, 3), (-5, 5)], [(-4, 4), (-4, 7)], [(-5, 6), (-3, 6)]]),
(-8, 8, [[(-2, -3), (-3, -5), (-3, -7), (-5, -7), (-5, -5), (-4, -4), (-2, -3), (1, -3), (3, -4), (5, -6)], [(-4, -7), (-4, -4)], [(-5, -6), (-3, -6)], [(-5, -5), (1, -3)], [(-2, -3), (3, -4)], [(5, -6), (5, 7)]]),
(-8, 8, [[(-1, -15), (4, -5), (0, 2), (0, 3)], [(3, -6), (-1, 1)], [(2, -9), (2, -7), (-2, 0), (0, 3), (3, 7)], [(5, 10), (3, 7), (1, 6), (-1, 6), (-3, 7), (-4, 9), (-4, 11), (-3, 13), (0, 15)], [(5, 10), (3, 8), (1, 7), (-3, 7), (-3, 11), (-2, 13), (0, 15)], [(1, 6), (-2, 8), (-4, 11)]]),
(-13, 20, [[(-4, 1), (-3, 3), (-1, 4), (1, 4), (3, 3), (4, 1), (4, -1), (3, -3), (1, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-2, 9), (1, 10), (4, 10), (7, 9), (9, 7), (10, 5), (11, 2), (11, -2), (10, -5), (8, -8), (6, -9), (3, -10), (0, -10), (-3, -9), (-5, -8), (-7, -6), (-9, -3), (-10, 1), (-10, 6), (-9, 11), (-7, 15), (-5, 17), (-2, 19), (2, 20), (7, 20), (11, 19), (14, 17), (16, 15)], [(-7, -6), (-8, -4), (-9, 0), (-9, 6), (-8, 10), (-6, 14), (-4, 16), (-1, 18), (3, 19), (7, 19), (11, 18), (13, 17), (16, 15)], [(-2, -3), (2, -3)], [(-3, -2), (3, -2)], [(-4, -1), (4, -1)], [(-4, 0), (4, 0)], [(-4, 1), (4, 1)], [(-3, 2), (3, 2)], [(-2, 3), (2, 3)], [(15, -6), (15, -4), (17, -4), (17, -6), (15, -6)], [(16, -6), (16, -4)], [(15, -5), (17, -5)], [(15, 4), (15, 6), (17, 6), (17, 4), (15, 4)], [(16, 4), (16, 6)], [(15, 5), (17, 5)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-4, -10), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 5), (6, 0), (6, -3), (5, -8), (4, -10), (3, -11), (1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(0, -11), (0, 9)], [(-4, 9), (5, 9)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 8), (4, 8), (6, 7), (7, 6)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-10, 10, [[(2, -10), (2, 9)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-1, 9), (6, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2)], [(-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-5, -12), (5, -12)], [(-5, -11), (0, -11), (5, -12)]]),
(-10, 10, [[(5, -9), (4, -8), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)], [(0, -12), (-2, -11), (-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 2), (5, -1), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-6, -10), (-4, -11), (-2, -11), (3, -9)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 4), (0, 9)], [(6, -6), (1, -1), (0, 1), (-1, 4), (-1, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -3)], [(2, -3), (4, -4), (5, -6), (5, -9), (4, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 7), (6, 5), (6, 1), (5, -1), (4, -2), (2, -3)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(-1, 1), (-3, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6), (2, 8), (0, 9)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-17, 12, [[(-11, 20), (-10, 20), (-9, 19), (-9, 18), (-10, 17), (-11, 17), (-12, 18), (-12, 20), (-11, 22), (-9, 23), (-7, 23), (-4, 22), (-2, 20), (-1, 18), (0, 14), (0, 3), (-1, -23), (-1, -30), (0, -35), (1, -37), (3, -38), (4, -38), (6, -37), (7, -35), (7, -31), (6, -28), (5, -26), (3, -23), (-2, -19), (-8, -15), (-10, -13), (-12, -10), (-13, -8), (-14, -4), (-14, 0), (-13, 4), (-11, 7), (-8, 9), (-4, 10), (0, 10), (4, 9), (6, 8), (8, 5), (9, 2), (9, -2), (8, -5), (7, -7), (5, -9), (2, -10), (-2, -10), (-5, -9), (-7, -7), (-8, -4), (-8, 0), (-7, 3), (-5, 5)], [(-11, 18), (-11, 19), (-10, 19), (-10, 18), (-11, 18)], [(3, -23), (-1, -19), (-6, -15), (-9, -12), (-11, -9), (-12, -7), (-13, -4), (-13, 0), (-12, 4), (-11, 6), (-8, 9)], [(0, 10), (3, 9), (5, 8), (7, 5), (8, 2), (8, -2), (7, -5), (6, -7), (4, -9), (2, -10)]]),
(-13, 20, [[(-4, 1), (-3, 3), (-1, 4), (1, 4), (3, 3), (4, 1), (4, -1), (3, -3), (1, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-2, 9), (1, 10), (4, 10), (7, 9), (9, 7), (10, 5), (11, 2), (11, -2), (10, -5), (8, -8), (6, -9), (3, -10), (0, -10), (-3, -9), (-5, -8), (-7, -6), (-9, -3), (-10, 1), (-10, 6), (-9, 11), (-7, 15), (-5, 17), (-2, 19), (2, 20), (7, 20), (11, 19), (14, 17), (16, 15)], [(-7, -6), (-8, -4), (-9, 0), (-9, 6), (-8, 10), (-6, 14), (-4, 16), (-1, 18), (3, 19), (7, 19), (11, 18), (13, 17), (16, 15)], [(-2, -3), (2, -3)], [(-3, -2), (3, -2)], [(-4, -1), (4, -1)], [(-4, 0), (4, 0)], [(-4, 1), (4, 1)], [(-3, 2), (3, 2)], [(-2, 3), (2, 3)], [(15, -6), (15, -4), (17, -4), (17, -6), (15, -6)], [(16, -6), (16, -4)], [(15, -5), (17, -5)], [(15, 4), (15, 6), (17, 6), (17, 4), (15, 4)], [(16, 4), (16, 6)], [(15, 5), (17, 5)]]),
(-9, 24, [[(-4, -1), (-3, -3), (-1, -4), (1, -4), (3, -3), (4, -1), (4, 1), (3, 3), (1, 4), (-1, 4), (-3, 3), (-4, 2), (-5, -1), (-5, -4), (-4, -7), (-2, -9), (1, -10), (5, -10), (9, -9), (12, -7), (14, -4), (15, 0), (15, 5), (14, 9), (13, 11), (11, 14), (8, 17), (4, 20), (-1, 23), (-5, 25)], [(5, -10), (8, -9), (11, -7), (13, -4), (14, 0), (14, 5), (13, 9), (12, 11), (10, 14), (7, 17), (2, 21), (-1, 23)], [(-2, -3), (2, -3)], [(-3, -2), (3, -2)], [(-4, -1), (4, -1)], [(-4, 0), (4, 0)], [(-4, 1), (4, 1)], [(-3, 2), (3, 2)], [(-2, 3), (2, 3)], [(19, -6), (19, -4), (21, -4), (21, -6), (19, -6)], [(20, -6), (20, -4)], [(19, -5), (21, -5)], [(19, 4), (19, 6), (21, 6), (21, 4), (19, 4)], [(20, 4), (20, 6)], [(19, 5), (21, 5)]]),
(-14, 14, [[(-10, -18), (-10, 18)], [(-5, -18), (-5, 18)], [(5, -18), (5, 18)], [(10, -18), (10, 18)], [(-5, -5), (5, -7)], [(-5, -4), (5, -6)], [(-5, -3), (5, -5)], [(-5, 5), (5, 3)], [(-5, 6), (5, 4)], [(-5, 7), (5, 5)]]),
(-14, 14, [[(-10, -20), (-10, 20)], [(-9, -20), (-9, 20)], [(-5, -20), (-5, 20)], [(-1, -16), (1, -16), (1, -14), (-1, -14), (-1, -17), (0, -19), (2, -20), (5, -20), (7, -19), (9, -17), (10, -14), (10, -9), (9, -6), (7, -4), (5, -3), (3, -3), (1, -4), (0, -6), (-1, -4), (-3, -1), (-4, 0), (-3, 1), (-1, 4), (0, 6), (1, 4), (3, 3), (5, 3), (7, 4), (9, 6), (10, 9), (10, 14), (9, 17), (7, 19), (5, 20), (2, 20), (0, 19), (-1, 17), (-1, 14), (1, 14), (1, 16), (-1, 16)], [(0, -16), (0, -14)], [(-1, -15), (1, -15)], [(7, -19), (8, -17), (9, -14), (9, -9), (8, -6), (7, -4)], [(0, -6), (0, -4), (-2, -1), (-4, 0), (-2, 1), (0, 4), (0, 6)], [(7, 4), (8, 6), (9, 9), (9, 14), (8, 17), (7, 19)], [(0, 14), (0, 16)], [(-1, 15), (1, 15)]]),
(-8, 8, [[(-5, -4), (-5, -1)], [(5, -4), (5, -1)], [(-5, -4), (5, -4)], [(-5, -3), (5, -3)], [(-5, -2), (5, -2)], [(-5, -1), (5, -1)]]),
(-10, 10, [[(3, -12), (-10, 9)], [(3, -12), (4, 9)], [(2, -10), (3, 9)], [(-6, 3), (3, 3)], [(-12, 9), (-6, 9)], [(0, 9), (6, 9)]]),
(-12, 12, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -4), (7, -3), (4, -2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -4), (6, -3), (4, -2)], [(-5, -2), (4, -2), (6, -1), (7, 1), (7, 3), (6, 6), (4, 8), (0, 9), (-12, 9)], [(4, -2), (5, -1), (6, 1), (6, 3), (5, 6), (3, 8), (0, 9)]]),
(-10, 11, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6), (6, 4)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (3, -12), (6, -11), (7, -10), (8, -7), (8, -3), (7, 1), (5, 5), (3, 7), (1, 8), (-3, 9), (-12, 9)], [(3, -12), (5, -11), (6, -10), (7, -7), (7, -3), (6, 1), (4, 5), (2, 7), (0, 8), (-3, 9)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(2, -6), (0, 2)], [(-6, -12), (9, -12), (8, -6), (8, -12)], [(-5, -2), (1, -2)], [(-12, 9), (3, 9), (5, 4), (2, 9)]]),
(-12, 10, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(2, -6), (0, 2)], [(-6, -12), (9, -12), (8, -6), (8, -12)], [(-5, -2), (1, -2)], [(-12, 9), (-5, 9)]]),
(-10, 12, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (0, 9), (3, 8), (5, 6), (7, 2)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9)], [(0, 9), (2, 8), (4, 6), (6, 2)], [(3, 2), (10, 2)]]),
(-13, 13, [[(-4, -12), (-10, 9)], [(-3, -12), (-9, 9)], [(9, -12), (3, 9)], [(10, -12), (4, 9)], [(-7, -12), (0, -12)], [(6, -12), (13, -12)], [(-6, -2), (6, -2)], [(-13, 9), (-6, 9)], [(0, 9), (7, 9)]]),
(-6, 7, [[(3, -12), (-3, 9)], [(4, -12), (-2, 9)], [(0, -12), (7, -12)], [(-6, 9), (1, 9)]]),
(-9, 9, [[(6, -12), (1, 5), (0, 7), (-1, 8), (-3, 9), (-5, 9), (-7, 8), (-8, 6), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(5, -12), (0, 5), (-1, 7), (-3, 9)], [(2, -12), (9, -12)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(11, -12), (-6, 1)], [(1, -3), (5, 9)], [(0, -3), (4, 9)], [(-6, -12), (1, -12)], [(7, -12), (13, -12)], [(-12, 9), (-5, 9)], [(1, 9), (7, 9)]]),
(-10, 10, [[(-1, -12), (-7, 9)], [(0, -12), (-6, 9)], [(-4, -12), (3, -12)], [(-10, 9), (5, 9), (7, 3), (4, 9)]]),
(-13, 14, [[(-4, -12), (-10, 9)], [(-4, -12), (-3, 9)], [(-3, -12), (-2, 7)], [(10, -12), (-3, 9)], [(10, -12), (4, 9)], [(11, -12), (5, 9)], [(-7, -12), (-3, -12)], [(10, -12), (14, -12)], [(-13, 9), (-7, 9)], [(1, 9), (8, 9)]]),
(-12, 13, [[(-3, -12), (-9, 9)], [(-3, -12), (4, 6)], [(-3, -9), (4, 9)], [(10, -12), (4, 9)], [(-6, -12), (-3, -12)], [(7, -12), (13, -12)], [(-12, 9), (-6, 9)]]),
(-11, 11, [[(1, -12), (-2, -11), (-4, -9), (-6, -6), (-7, -3), (-8, 1), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-4, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (6, -12), (9, -11), (10, -9), (10, -7), (9, -4), (7, -2), (3, -1), (-5, -1)], [(6, -12), (8, -11), (9, -9), (9, -7), (8, -4), (6, -2), (3, -1)], [(-12, 9), (-5, 9)]]),
(-11, 11, [[(1, -12), (-2, -11), (-4, -9), (-6, -6), (-7, -3), (-8, 1), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-4, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)], [(-6, 7), (-6, 6), (-5, 4), (-3, 3), (-2, 3), (0, 4), (1, 6), (1, 13), (2, 14), (4, 14), (5, 12), (5, 11)], [(1, 6), (2, 12), (3, 13), (4, 13), (5, 12)]]),
(-12, 12, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -4), (7, -3), (4, -2), (-5, -2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -4), (6, -3), (4, -2)], [(0, -2), (2, -1), (3, 0), (4, 8), (5, 9), (7, 9), (8, 7), (8, 6)], [(3, 0), (5, 7), (6, 8), (7, 8), (8, 7)], [(-12, 9), (-5, 9)]]),
(-11, 12, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -7), (-4, -5), (-3, -4), (4, 0), (6, 2)], [(-5, -7), (-3, -5), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-9, 9), (-8, 7), (-7, 7)]]),
(-10, 11, [[(3, -12), (-3, 9)], [(4, -12), (-2, 9)], [(-3, -12), (-6, -6), (-4, -12), (11, -12), (10, -6), (10, -12)], [(-6, 9), (1, 9)]]),
(-12, 13, [[(-4, -12), (-7, -1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (3, 8), (5, 6), (6, 3), (10, -12)], [(-3, -12), (-6, -1), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(-7, -12), (0, -12)], [(7, -12), (13, -12)]]),
(-10, 10, [[(-4, -12), (-3, 9)], [(-3, -12), (-2, 7)], [(10, -12), (-3, 9)], [(-6, -12), (0, -12)], [(6, -12), (12, -12)]]),
(-13, 13, [[(-5, -12), (-7, 9)], [(-4, -12), (-6, 7)], [(3, -12), (-7, 9)], [(3, -12), (1, 9)], [(4, -12), (2, 7)], [(11, -12), (1, 9)], [(-8, -12), (-1, -12)], [(8, -12), (14, -12)]]),
(-11, 11, [[(-4, -12), (3, 9)], [(-3, -12), (4, 9)], [(10, -12), (-10, 9)], [(-6, -12), (0, -12)], [(6, -12), (12, -12)], [(-12, 9), (-6, 9)], [(0, 9), (6, 9)]]),
(-10, 11, [[(-4, -12), (0, -2), (-3, 9)], [(-3, -12), (1, -2), (-2, 9)], [(11, -12), (1, -2)], [(-6, -12), (0, -12)], [(7, -12), (13, -12)], [(-6, 9), (1, 9)]]),
(-11, 11, [[(9, -12), (-10, 9)], [(10, -12), (-9, 9)], [(-3, -12), (-6, -6), (-4, -12), (10, -12)], [(-10, 9), (4, 9), (6, 3), (3, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-6, 6, [[(2, -12), (-3, -6)], [(2, -12), (3, -11), (-3, -6)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-10, 11, [[(6, -5), (4, 2), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)]]),
(-10, 9, [[(-2, -12), (-6, 1), (-6, 4), (-5, 7), (-4, 8)], [(-1, -12), (-5, 1)], [(-5, 1), (-4, -2), (-2, -4), (0, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 2), (5, 5), (3, 8), (0, 9), (-2, 9), (-4, 8), (-5, 5), (-5, 1)], [(4, -4), (5, -2), (5, 2), (4, 5), (2, 8), (0, 9)], [(-5, -12), (-1, -12)]]),
(-9, 9, [[(5, -2), (5, -1), (6, -1), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)]]),
(-10, 11, [[(8, -12), (4, 2), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(9, -12), (5, 2), (4, 6), (4, 8), (5, 9)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)], [(5, -12), (9, -12)]]),
(-9, 9, [[(-5, 4), (-1, 3), (2, 2), (5, 0), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 6)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)]]),
(-7, 8, [[(8, -11), (7, -10), (8, -9), (9, -10), (9, -11), (8, -12), (6, -12), (4, -11), (3, -10), (2, -8), (1, -5), (-2, 9), (-3, 13), (-4, 15)], [(6, -12), (4, -10), (3, -8), (2, -4), (0, 5), (-1, 9), (-2, 12), (-3, 14), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 14), (-8, 13), (-7, 14), (-8, 15)], [(-3, -5), (7, -5)]]),
(-10, 10, [[(7, -5), (3, 9), (2, 12), (0, 15), (-3, 16), (-6, 16), (-8, 15), (-9, 14), (-9, 13), (-8, 12), (-7, 13), (-8, 14)], [(6, -5), (2, 9), (1, 12), (-1, 15), (-3, 16)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)]]),
(-10, 11, [[(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(-5, 2), (-3, -2), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -3), (6, -1), (4, 5), (4, 8), (5, 9)], [(3, -5), (5, -3), (5, -1), (3, 5), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(-5, -12), (-1, -12)]]),
(-6, 7, [[(3, -12), (2, -11), (3, -10), (4, -11), (3, -12)], [(-5, -1), (-4, -3), (-2, -5), (1, -5), (2, -4), (2, -1), (0, 5), (0, 8), (1, 9)], [(0, -5), (1, -4), (1, -1), (-1, 5), (-1, 8), (0, 9), (3, 9), (5, 7), (6, 5)]]),
(-6, 7, [[(4, -12), (3, -11), (4, -10), (5, -11), (4, -12)], [(-4, -1), (-3, -3), (-1, -5), (2, -5), (3, -4), (3, -1), (0, 9), (-1, 12), (-2, 14), (-3, 15), (-5, 16), (-7, 16), (-8, 15), (-8, 14), (-7, 13), (-6, 14), (-7, 15)], [(1, -5), (2, -4), (2, -1), (-1, 9), (-2, 12), (-3, 14), (-5, 16)]]),
(-10, 10, [[(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(6, -4), (5, -3), (6, -2), (7, -3), (7, -4), (6, -5), (5, -5), (3, -4), (-1, 0), (-3, 1), (-5, 1)], [(-3, 1), (-1, 2), (1, 8), (2, 9)], [(-3, 1), (-2, 2), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5)], [(-5, -12), (-1, -12)]]),
(-5, 7, [[(3, -12), (-1, 2), (-2, 6), (-2, 8), (-1, 9), (2, 9), (4, 7), (5, 5)], [(4, -12), (0, 2), (-1, 6), (-1, 8), (0, 9)], [(0, -12), (4, -12)]]),
(-17, 16, [[(-16, -1), (-15, -3), (-13, -5), (-10, -5), (-9, -4), (-9, -2), (-10, 2), (-12, 9)], [(-11, -5), (-10, -4), (-10, -2), (-11, 2), (-13, 9)], [(-10, 2), (-8, -2), (-6, -4), (-4, -5), (-2, -5), (0, -4), (1, -3), (1, -1), (-2, 9)], [(-2, -5), (0, -3), (0, -1), (-3, 9)], [(0, 2), (2, -2), (4, -4), (6, -5), (8, -5), (10, -4), (11, -3), (11, -1), (9, 5), (9, 8), (10, 9)], [(8, -5), (10, -3), (10, -1), (8, 5), (8, 8), (9, 9), (12, 9), (14, 7), (15, 5)]]),
(-12, 11, [[(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 2), (-7, 9)], [(-6, -5), (-5, -4), (-5, -2), (-6, 2), (-8, 9)], [(-5, 2), (-3, -2), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -3), (6, -1), (4, 5), (4, 8), (5, 9)], [(3, -5), (5, -3), (5, -1), (3, 5), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)]]),
(-9, 9, [[(0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (0, -5)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4)]]),
(-11, 10, [[(-10, -1), (-9, -3), (-7, -5), (-4, -5), (-3, -4), (-3, -2), (-4, 2), (-8, 16)], [(-5, -5), (-4, -4), (-4, -2), (-5, 2), (-9, 16)], [(-4, 2), (-3, -1), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -3), (7, -1), (7, 2), (6, 5), (4, 8), (1, 9), (-1, 9), (-3, 8), (-4, 5), (-4, 2)], [(5, -4), (6, -2), (6, 2), (5, 5), (3, 8), (1, 9)], [(-12, 16), (-5, 16)]]),
(-10, 10, [[(6, -5), (0, 16)], [(7, -5), (1, 16)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)], [(-3, 16), (4, 16)]]),
(-9, 8, [[(-8, -1), (-7, -3), (-5, -5), (-2, -5), (-1, -4), (-1, -2), (-2, 2), (-4, 9)], [(-3, -5), (-2, -4), (-2, -2), (-3, 2), (-5, 9)], [(-2, 2), (0, -2), (2, -4), (4, -5), (6, -5), (7, -4), (7, -3), (6, -2), (5, -3), (6, -4)]]),
(-8, 9, [[(6, -3), (6, -2), (7, -2), (7, -3), (6, -4), (3, -5), (0, -5), (-3, -4), (-4, -3), (-4, -1), (-3, 0), (4, 4), (5, 5)], [(-4, -2), (-3, -1), (4, 3), (5, 4), (5, 7), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-6, 6), (-5, 6), (-5, 7)]]),
(-7, 7, [[(2, -12), (-2, 2), (-3, 6), (-3, 8), (-2, 9), (1, 9), (3, 7), (4, 5)], [(3, -12), (-1, 2), (-2, 6), (-2, 8), (-1, 9)], [(-4, -5), (5, -5)]]),
(-12, 11, [[(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -1), (-6, 5), (-6, 7), (-4, 9)], [(-6, -5), (-5, -4), (-5, -1), (-7, 5), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 2)], [(6, -5), (4, 2), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-3, -5), (-2, -4), (-2, -1), (-4, 5), (-4, 7), (-2, 9)], [(-4, -5), (-3, -4), (-3, -1), (-5, 5), (-5, 7), (-4, 8), (-2, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, -1), (7, -5), (6, -5), (7, -3)]]),
(-15, 14, [[(-14, -1), (-13, -3), (-11, -5), (-8, -5), (-7, -4), (-7, -1), (-9, 5), (-9, 7), (-7, 9)], [(-9, -5), (-8, -4), (-8, -1), (-10, 5), (-10, 7), (-9, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 6), (0, 4)], [(2, -5), (0, 4), (0, 7), (1, 8), (3, 9), (5, 9), (7, 8), (9, 6), (10, 4), (11, 0), (11, -5), (10, -5), (11, -3)], [(3, -5), (1, 4), (1, 7), (3, 9)]]),
(-10, 10, [[(-7, -1), (-5, -4), (-3, -5), (0, -5), (1, -3), (1, 0)], [(-1, -5), (0, -3), (0, 0), (-1, 4), (-2, 6), (-4, 8), (-6, 9), (-7, 9), (-8, 8), (-8, 7), (-7, 6), (-6, 7), (-7, 8)], [(-1, 4), (-1, 7), (0, 9), (3, 9), (5, 8), (7, 5)], [(7, -4), (6, -3), (7, -2), (8, -3), (8, -4), (7, -5), (6, -5), (4, -4), (2, -2), (1, 0), (0, 4), (0, 7), (1, 9)]]),
(-11, 10, [[(-10, -1), (-9, -3), (-7, -5), (-4, -5), (-3, -4), (-3, -1), (-5, 5), (-5, 7), (-3, 9)], [(-5, -5), (-4, -4), (-4, -1), (-6, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 2)], [(8, -5), (4, 9), (3, 12), (1, 15), (-2, 16), (-5, 16), (-7, 15), (-8, 14), (-8, 13), (-7, 12), (-6, 13), (-7, 14)], [(7, -5), (3, 9), (2, 12), (0, 15), (-2, 16)]]),
(-10, 10, [[(7, -5), (6, -3), (4, -1), (-4, 5), (-6, 7), (-7, 9)], [(-6, -1), (-5, -3), (-3, -5), (0, -5), (4, -3)], [(-5, -3), (-3, -4), (0, -4), (4, -3), (6, -3)], [(-6, 7), (-4, 7), (0, 8), (3, 8), (5, 7)], [(-4, 7), (0, 9), (3, 9), (5, 7), (6, 5)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
ROWMAND = [
(-8, 8, [[]]),
(-5, 6, [[(0, -12), (0, 2), (1, 2)], [(0, -12), (1, -12), (1, 2)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-9, 10, [[(0, -16), (0, 13), (1, 13)], [(0, -16), (1, -16), (1, 13)], [(5, -9), (7, -9), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-6, -7), (-5, -5), (-4, -4), (4, 0), (5, 1), (6, 3), (6, 5), (5, 7), (2, 8), (-1, 8), (-3, 7), (-4, 6)], [(5, -9), (4, -10), (2, -11), (-1, -11), (-4, -10), (-5, -9), (-5, -7), (-4, -5), (4, -1), (6, 1), (7, 3), (7, 5), (6, 7), (5, 8), (2, 9), (-1, 9), (-4, 8), (-6, 6), (-4, 6)], [(6, 6), (3, 8)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(10, -5), (8, -5), (6, -4), (5, -2), (3, 4), (2, 6), (1, 7), (-1, 8), (-5, 8), (-7, 7), (-8, 5), (-8, 3), (-7, 1), (-6, 0), (-1, -3), (1, -5), (2, -7), (2, -9), (1, -11), (-1, -12), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 5), (6, 8), (8, 9), (10, 9)], [(10, -5), (10, -4), (8, -4), (6, -3)], [(7, -4), (6, -2), (4, 4), (3, 6), (1, 8), (-1, 9), (-5, 9), (-7, 8), (-8, 7), (-9, 5), (-9, 3), (-8, 1), (-6, -1), (-1, -4), (0, -5), (1, -7), (1, -9), (0, -11)], [(1, -10), (-1, -11), (-2, -11), (-4, -10)], [(-3, -11), (-4, -9), (-4, -7), (-3, -4), (-1, -1), (4, 5), (6, 7), (8, 8), (10, 8), (10, 9)]]),
(-5, 6, [[(2, -10), (1, -9), (0, -9), (-1, -10), (-1, -11), (0, -12), (1, -12), (2, -11), (2, -8), (1, -6), (-1, -5)], [(0, -11), (0, -10), (1, -10), (1, -11), (0, -11)], [(1, -9), (2, -8)], [(2, -10), (1, -6)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16), (4, 16)], [(3, -16), (4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16), (-3, 16)], [(-4, -16), (-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-12, 13, [[(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-3, -11), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-3, 8)], [(-4, 7), (-1, 8), (1, 8), (4, 7)], [(3, 8), (5, 5), (6, 0), (6, -3), (5, -8), (3, -11)], [(4, -10), (1, -11), (-1, -11), (-4, -10)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(-4, -8), (-4, -7), (-2, -8), (0, -10), (0, 9), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-6, 9)], [(-6, -7), (-5, -7), (-5, -8), (-4, -10), (-2, -11), (2, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -1), (-7, 9)], [(-6, 8), (7, 8), (7, 9)], [(-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (-1, -3)], [(-5, -12), (-5, -11), (5, -11)], [(5, -12), (-2, -3)], [(-1, -4), (1, -4), (4, -3), (6, -1), (7, 2), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-6, 5)], [(-2, -3), (1, -3), (4, -2), (6, 1)], [(2, -3), (5, -1), (6, 2), (6, 3), (5, 6), (2, 8)], [(6, 4), (4, 7), (1, 8), (-2, 8), (-5, 7), (-6, 5)], [(-3, 8), (-6, 6)]]),
(-10, 10, [[(3, -9), (3, 9), (4, 9)], [(4, -12), (4, 9)], [(4, -12), (-7, 4), (8, 4)], [(3, -9), (-6, 4)], [(-6, 3), (8, 3), (8, 4)]]),
(-10, 10, [[(-5, -12), (-6, -3)], [(-4, -11), (-5, -4)], [(-5, -12), (5, -12), (5, -11)], [(-4, -11), (5, -11)], [(-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-6, 5)], [(-6, -3), (-5, -3), (-3, -4), (1, -4), (4, -3), (6, 0)], [(2, -4), (5, -2), (6, 1), (6, 3), (5, 6), (2, 8)], [(6, 4), (4, 7), (1, 8), (-2, 8), (-5, 7), (-6, 5)], [(-3, 8), (-6, 6)]]),
(-10, 10, [[(4, -11), (5, -9), (6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1)], [(5, -10), (2, -11), (0, -11), (-3, -10)], [(-2, -11), (-4, -8), (-5, -3), (-5, 2), (-4, 6), (-1, 8)], [(-5, 4), (-3, 7), (0, 8), (1, 8), (4, 7), (6, 4)], [(2, 8), (5, 6), (6, 3), (6, 2), (5, -1), (2, -3)], [(6, 1), (4, -2), (1, -3), (0, -3), (-3, -2), (-5, 1)], [(-1, -3), (-4, -1), (-5, 2)]]),
(-10, 10, [[(-7, -12), (7, -12), (-3, 9)], [(-7, -12), (-7, -11), (6, -11)], [(6, -12), (-4, 9), (-3, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-4, -4), (-2, -3), (2, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (2, 8), (-2, 8), (-5, 7), (-6, 5), (-6, 2), (-5, 0), (-4, -1), (-2, -2), (2, -3), (4, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-4, -11), (-5, -9), (-5, -7), (-4, -5), (-2, -4), (2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-2, -3), (2, -4), (4, -5), (5, -7), (5, -9), (4, -11)], [(5, -10), (2, -11), (-2, -11), (-5, -10)], [(-6, 6), (-3, 8)], [(3, 8), (6, 6)]]),
(-10, 10, [[(5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6), (-5, 6), (-4, 8)], [(5, -5), (4, -2), (1, 0)], [(5, -4), (3, -1), (0, 0), (-1, 0), (-4, -1), (-6, -4)], [(-2, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-2, -11)], [(-6, -7), (-4, -10), (-1, -11), (0, -11), (3, -10), (5, -7)], [(1, -11), (4, -9), (5, -5), (5, 0), (4, 5), (2, 8)], [(3, 7), (0, 8), (-2, 8), (-5, 7)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-1, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2), (0, -1)], [(-6, -7), (-5, -7), (-5, -8), (-4, -10), (-1, -11), (2, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -3), (0, -2)], [(-5, -9), (-2, -11)], [(3, -11), (6, -9)], [(6, -5), (2, -2)], [(0, -2), (0, 2), (1, 2), (1, -2)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-8, 9)], [(0, -9), (-7, 9), (-8, 9)], [(0, -9), (7, 9), (8, 9)], [(0, -12), (8, 9)], [(-5, 3), (5, 3)], [(-6, 4), (6, 4)]]),
(-10, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-6, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1)], [(-5, -11), (2, -11), (5, -10), (6, -8), (6, -5), (5, -3), (2, -2)], [(-5, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-6, 9)], [(-5, -1), (2, -1), (5, 0), (6, 2), (6, 5), (5, 7), (2, 8), (-5, 8)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4)], [(8, -7), (7, -7), (6, -9), (5, -10), (3, -11), (-1, -11), (-3, -10), (-5, -7), (-6, -4), (-6, 1), (-5, 4), (-3, 7), (-1, 8), (3, 8), (5, 7), (6, 6), (7, 4), (8, 4)]]),
(-10, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-6, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-6, 9)], [(-5, -11), (1, -11), (4, -10), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (4, 7), (1, 8), (-5, 8)]]),
(-9, 10, [[(-5, -12), (-5, 9)], [(-4, -11), (-4, 8)], [(-5, -12), (7, -12)], [(-4, -11), (7, -11), (7, -12)], [(-4, -2), (2, -2), (2, -1)], [(-4, -1), (2, -1)], [(-4, 8), (7, 8), (7, 9)], [(-5, 9), (7, 9)]]),
(-9, 9, [[(-5, -12), (-5, 9)], [(-4, -11), (-4, 9), (-5, 9)], [(-5, -12), (7, -12)], [(-4, -11), (7, -11), (7, -12)], [(-4, -2), (2, -2), (2, -1)], [(-4, -1), (2, -1)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4), (8, 0), (3, 0)], [(8, -7), (7, -7), (6, -9), (5, -10), (3, -11), (-1, -11), (-3, -10), (-4, -9), (-5, -7), (-6, -4), (-6, 1), (-5, 4), (-4, 6), (-3, 7), (-1, 8), (3, 8), (5, 7), (6, 6), (7, 4), (7, 1), (3, 1), (3, 0)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (-6, -12), (-6, 9), (-7, 9)], [(7, -12), (6, -12), (6, 9), (7, 9)], [(7, -12), (7, 9)], [(-6, -2), (6, -2)], [(-6, -1), (6, -1)]]),
(-4, 5, [[(0, -12), (0, 9), (1, 9)], [(0, -12), (1, -12), (1, 9)]]),
(-8, 9, [[(4, -12), (4, 4), (3, 7), (1, 8), (-1, 8), (-3, 7), (-4, 4), (-5, 4)], [(4, -12), (5, -12), (5, 4), (4, 7), (3, 8), (1, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 4)]]),
(-10, 11, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(8, -12), (7, -12), (-5, 0)], [(8, -12), (-5, 1)], [(-2, -3), (7, 9), (8, 9)], [(-1, -3), (8, 9)]]),
(-9, 8, [[(-5, -12), (-5, 9)], [(-5, -12), (-4, -12), (-4, 8)], [(-4, 8), (7, 8), (7, 9)], [(-5, 9), (7, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-7, -7), (-7, 9), (-8, 9)], [(-7, -7), (0, 9)], [(-8, -12), (0, 6)], [(8, -12), (0, 6)], [(7, -7), (0, 9)], [(7, -7), (7, 9), (8, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-6, -9), (-6, 9), (-7, 9)], [(-6, -9), (7, 9)], [(-7, -12), (6, 6)], [(6, -12), (6, 6)], [(6, -12), (7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(-1, -11), (-4, -10), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-4, 7), (-1, 8), (1, 8), (4, 7), (6, 4), (7, 1), (7, -4), (6, -7), (4, -10), (1, -11), (-1, -11)]]),
(-10, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 9), (-6, 9)], [(-6, -12), (3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1), (-5, -1)], [(-5, -11), (3, -11), (5, -10), (6, -8), (6, -5), (5, -3), (3, -2), (-5, -2)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(-1, -11), (-4, -10), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-4, 7), (-1, 8), (1, 8), (4, 7), (6, 4), (7, 1), (7, -4), (6, -7), (4, -10), (1, -11), (-1, -11)], [(1, 6), (6, 11), (7, 11)], [(1, 6), (2, 6), (7, 11)]]),
(-10, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 9), (-6, 9)], [(-6, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-5, -1)], [(-5, -11), (2, -11), (5, -10), (6, -8), (6, -5), (5, -3), (2, -2), (-5, -2)], [(0, -1), (6, 9), (7, 9)], [(1, -1), (7, 9)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (2, -1), (4, 0), (5, 1), (6, 3), (6, 6), (5, 7), (2, 8), (-2, 8), (-4, 7), (-5, 6), (-7, 6)], [(7, -9), (5, -9), (4, -10), (2, -11), (-2, -11), (-5, -10), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (2, -2), (4, -1), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-8, 9, [[(0, -11), (0, 9)], [(1, -11), (1, 9), (0, 9)], [(-6, -12), (7, -12), (7, -11)], [(-6, -12), (-6, -11), (7, -11)]]),
(-11, 11, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)], [(-7, -12), (-6, -12), (-6, 3), (-5, 6), (-4, 7), (-1, 8), (1, 8), (4, 7), (5, 6), (6, 3), (6, -12), (7, -12)]]),
(-10, 10, [[(-8, -12), (0, 9)], [(-8, -12), (-7, -12), (0, 6)], [(8, -12), (7, -12), (0, 6)], [(8, -12), (0, 9)]]),
(-13, 13, [[(-11, -12), (-5, 9)], [(-11, -12), (-10, -12), (-5, 6)], [(0, -12), (-5, 6)], [(0, -9), (-5, 9)], [(0, -9), (5, 9)], [(0, -12), (5, 6)], [(11, -12), (10, -12), (5, 6)], [(11, -12), (5, 9)]]),
(-10, 10, [[(-7, -12), (6, 9), (7, 9)], [(-7, -12), (-6, -12), (7, 9)], [(7, -12), (6, -12), (-7, 9)], [(7, -12), (-6, 9), (-7, 9)]]),
(-9, 10, [[(-7, -12), (0, -2), (0, 9), (1, 9)], [(-7, -12), (-6, -12), (1, -2)], [(8, -12), (7, -12), (0, -2)], [(8, -12), (1, -2), (1, 9)]]),
(-10, 10, [[(6, -12), (-7, 9)], [(7, -12), (-6, 9)], [(-7, -12), (7, -12)], [(-7, -12), (-7, -11), (6, -11)], [(-6, 8), (7, 8), (7, 9)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 6, [[(2, -12), (0, -11), (-1, -9), (-1, -6), (0, -5), (1, -5), (2, -6), (2, -7), (1, -8), (0, -8), (-1, -7)], [(0, -7), (0, -6), (1, -6), (1, -7), (0, -7)], [(0, -11), (-1, -7)], [(-1, -9), (0, -8)]]),
(-10, 10, [[(5, -5), (5, 9), (6, 9)], [(5, -5), (6, -5), (6, 9)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-10, 10, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(-5, -2), (-3, -4), (-1, -5), (2, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (2, 9), (-1, 9), (-3, 8), (-5, 6)], [(-5, -2), (-1, -4), (2, -4), (4, -3), (5, -2), (6, 1), (6, 3), (5, 6), (4, 7), (2, 8), (-1, 8), (-5, 6)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)], [(6, -2), (5, -1), (4, -3), (2, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 3), (-4, 6), (-3, 7), (-1, 8), (2, 8), (4, 7), (5, 5), (6, 6)]]),
(-10, 10, [[(5, -12), (5, 9), (6, 9)], [(5, -12), (6, -12), (6, 9)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-9, 9, [[(-5, 2), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)], [(-5, 1), (5, 1), (5, -1), (4, -3), (2, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 3), (-4, 6), (-3, 7), (-1, 8), (2, 8), (4, 7), (5, 5), (6, 6)]]),
(-6, 8, [[(5, -12), (3, -12), (1, -11), (0, -8), (0, 9), (1, 9)], [(5, -12), (5, -11), (3, -11), (1, -10)], [(2, -11), (1, -8), (1, 9)], [(-3, -5), (4, -5), (4, -4)], [(-3, -5), (-3, -4), (4, -4)]]),
(-10, 10, [[(6, -5), (5, -5), (5, 10), (4, 13), (3, 14), (1, 15), (-1, 15), (-3, 14), (-4, 13), (-6, 13)], [(6, -5), (6, 10), (5, 13), (3, 15), (1, 16), (-2, 16), (-4, 15), (-6, 13)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-10, 10, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)], [(-5, -1), (-2, -3), (0, -4), (2, -4), (4, -3), (5, -1), (5, 9), (6, 9)]]),
(-4, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -9), (2, -10), (2, -11), (1, -12), (0, -12)], [(0, -11), (0, -10), (1, -10), (1, -11), (0, -11)], [(0, -5), (0, 9), (1, 9)], [(0, -5), (1, -5), (1, 9)]]),
(-4, 5, [[(0, -12), (-1, -11), (-1, -10), (0, -9), (1, -9), (2, -10), (2, -11), (1, -12), (0, -12)], [(0, -11), (0, -10), (1, -10), (1, -11), (0, -11)], [(0, -5), (0, 16), (1, 16)], [(0, -5), (1, -5), (1, 16)]]),
(-10, 9, [[(-6, -12), (-6, 9), (-5, 9)], [(-6, -12), (-5, -12), (-5, 9)], [(6, -5), (5, -5), (-5, 5)], [(6, -5), (-5, 6)], [(-2, 2), (4, 9), (6, 9)], [(-1, 1), (6, 9)]]),
(-4, 5, [[(0, -12), (0, 9), (1, 9)], [(0, -12), (1, -12), (1, 9)]]),
(-15, 16, [[(-11, -5), (-11, 9), (-10, 9)], [(-11, -5), (-10, -5), (-10, 9)], [(-10, -1), (-7, -4), (-5, -5), (-2, -5), (0, -4), (1, -1), (1, 9)], [(-10, -1), (-7, -3), (-5, -4), (-3, -4), (-1, -3), (0, -1), (0, 9), (1, 9)], [(1, -1), (4, -4), (6, -5), (9, -5), (11, -4), (12, -1), (12, 9)], [(1, -1), (4, -3), (6, -4), (8, -4), (10, -3), (11, -1), (11, 9), (12, 9)]]),
(-10, 10, [[(-6, -5), (-6, 9), (-5, 9)], [(-6, -5), (-5, -5), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)], [(-5, -1), (-2, -3), (0, -4), (2, -4), (4, -3), (5, -1), (5, 9), (6, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (2, -5), (-1, -5)], [(-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 3), (-4, 6), (-3, 7), (-1, 8), (2, 8), (4, 7), (5, 6), (6, 3), (6, 1), (5, -2), (4, -3), (2, -4), (-1, -4)]]),
(-10, 10, [[(-6, -5), (-6, 16), (-5, 16)], [(-6, -5), (-5, -5), (-5, 16)], [(-5, -2), (-3, -4), (-1, -5), (2, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (2, 9), (-1, 9), (-3, 8), (-5, 6)], [(-5, -2), (-1, -4), (2, -4), (4, -3), (5, -2), (6, 1), (6, 3), (5, 6), (4, 7), (2, 8), (-1, 8), (-5, 6)]]),
(-10, 10, [[(5, -5), (5, 16), (6, 16)], [(5, -5), (6, -5), (6, 16)], [(5, -2), (3, -4), (1, -5), (-2, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(5, -2), (1, -4), (-2, -4), (-4, -3), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-4, 7), (-2, 8), (1, 8), (5, 6)]]),
(-7, 7, [[(-3, -5), (-3, 9), (-2, 9)], [(-3, -5), (-2, -5), (-2, 9)], [(-2, 1), (-1, -2), (1, -4), (3, -5), (6, -5)], [(-2, 1), (-1, -1), (1, -3), (3, -4), (6, -4), (6, -5)]]),
(-8, 9, [[(6, -2), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -2), (-4, 0), (-2, 1), (3, 3), (5, 4)], [(4, 3), (5, 5), (5, 6), (4, 8)], [(5, 7), (2, 8), (-1, 8), (-4, 7)], [(-3, 8), (-4, 6), (-5, 6)], [(6, -2), (5, -2), (4, -4)], [(5, -3), (2, -4), (-1, -4), (-4, -3)], [(-3, -4), (-4, -2), (-3, 0)], [(-4, -1), (-2, 0), (3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-5, 6)]]),
(-5, 6, [[(0, -12), (0, 9), (1, 9)], [(0, -12), (1, -12), (1, 9)], [(-3, -5), (4, -5), (4, -4)], [(-3, -5), (-3, -4), (4, -4)]]),
(-10, 10, [[(-6, -5), (-6, 5), (-5, 8), (-3, 9), (0, 9), (2, 8), (5, 5)], [(-6, -5), (-5, -5), (-5, 5), (-4, 7), (-2, 8), (0, 8), (2, 7), (5, 5)], [(5, -5), (5, 9), (6, 9)], [(5, -5), (6, -5), (6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(-6, -5), (-5, -5), (0, 7)], [(6, -5), (5, -5), (0, 7)], [(6, -5), (0, 9)]]),
(-12, 12, [[(-9, -5), (-4, 9)], [(-9, -5), (-8, -5), (-4, 6)], [(0, -5), (-4, 6)], [(0, -2), (-4, 9)], [(0, -2), (4, 9)], [(0, -5), (4, 6)], [(9, -5), (8, -5), (4, 6)], [(9, -5), (4, 9)]]),
(-9, 9, [[(-6, -5), (5, 9), (6, 9)], [(-6, -5), (-5, -5), (6, 9)], [(6, -5), (5, -5), (-6, 9)], [(6, -5), (-5, 9), (-6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(-6, -5), (-5, -5), (0, 7)], [(6, -5), (5, -5), (0, 7), (-4, 16)], [(6, -5), (0, 9), (-3, 16), (-4, 16)]]),
(-9, 9, [[(4, -4), (-6, 9)], [(6, -5), (-4, 8)], [(-6, -5), (6, -5)], [(-6, -5), (-6, -4), (4, -4)], [(-4, 8), (6, 8), (6, 9)], [(-6, 9), (6, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)], [(-1, -12), (-4, -9), (-3, -5), (1, -4), (4, -7), (3, -11), (-1, -12)], [(1, -12), (-3, -11), (-4, -7), (-1, -4), (3, -5), (4, -9), (1, -12)]]),
]
ROWMANS = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-4, -5)], [(4, -12), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 7), (-10, 5), (-10, 3), (-9, 1), (-8, 0), (-1, -4), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (7, 9), (9, 9), (10, 8), (10, 7)]]),
(-5, 5, [[(0, -10), (-1, -11), (0, -12), (1, -11), (1, -9), (0, -7), (-1, -6)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)]]),
(-8, 8, [[(0, -12), (0, 0)], [(-5, -9), (5, -3)], [(5, -9), (-5, -3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 5, [[(1, 8), (0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)]]),
(-10, 10, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -1), (-7, 9), (7, 9)]]),
(-10, 10, [[(-5, -12), (6, -12), (0, -4), (3, -4), (5, -3), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(3, -12), (-7, 2), (8, 2)], [(3, -12), (3, 9)]]),
(-10, 10, [[(5, -12), (-5, -12), (-6, -3), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5)]]),
(-10, 10, [[(6, -9), (5, -11), (2, -12), (0, -12), (-3, -11), (-5, -8), (-6, -3), (-6, 2), (-5, 6), (-3, 8), (0, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)]]),
(-10, 10, [[(7, -12), (-3, 9)], [(-7, -12), (7, -12)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (1, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 2), (-6, 0), (-4, -2), (-1, -3), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (2, -12), (-2, -12)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (0, -12), (3, -11), (5, -9), (6, -5), (6, 0), (5, 5), (3, 8), (0, 9), (-2, 9), (-5, 8), (-6, 6)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-5, 5, [[(0, -5), (-1, -4), (0, -3), (1, -4), (0, -5)], [(1, 8), (0, 9), (-1, 8), (0, 7), (1, 8), (1, 10), (0, 12), (-1, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-9, 9, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(-5, 2), (5, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2)], [(-7, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-7, 9)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (0, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (0, 9), (-7, 9)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)], [(-6, 9), (7, 9)]]),
(-10, 8, [[(-6, -12), (-6, 9)], [(-6, -12), (7, -12)], [(-6, -2), (2, -2)]]),
(-10, 11, [[(8, -7), (7, -9), (5, -11), (3, -12), (-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9), (3, 9), (5, 8), (7, 6), (8, 4), (8, 1)], [(3, 1), (8, 1)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(7, -12), (7, 9)], [(-7, -2), (7, -2)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-8, 8, [[(4, -12), (4, 4), (3, 7), (2, 8), (0, 9), (-2, 9), (-4, 8), (-5, 7), (-6, 4), (-6, 2)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(7, -12), (-7, 2)], [(-2, -3), (7, 9)]]),
(-10, 7, [[(-6, -12), (-6, 9)], [(-6, 9), (6, 9)]]),
(-12, 12, [[(-8, -12), (-8, 9)], [(-8, -12), (0, 9)], [(8, -12), (0, 9)], [(8, -12), (8, 9)]]),
(-11, 11, [[(-7, -12), (-7, 9)], [(-7, -12), (7, 9)], [(7, -12), (7, 9)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (2, -1), (-7, -1)]]),
(-11, 11, [[(-2, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-2, 9), (2, 9), (4, 8), (6, 6), (7, 4), (8, 1), (8, -4), (7, -7), (6, -9), (4, -11), (2, -12), (-2, -12)], [(1, 5), (7, 11)]]),
(-11, 10, [[(-7, -12), (-7, 9)], [(-7, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (2, -2), (-7, -2)], [(0, -2), (7, 9)]]),
(-10, 10, [[(7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 1), (7, 3), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6)]]),
(-8, 8, [[(0, -12), (0, 9)], [(-7, -12), (7, -12)]]),
(-11, 11, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)]]),
(-9, 9, [[(-8, -12), (0, 9)], [(8, -12), (0, 9)]]),
(-12, 12, [[(-10, -12), (-5, 9)], [(0, -12), (-5, 9)], [(0, -12), (5, 9)], [(10, -12), (5, 9)]]),
(-10, 10, [[(-7, -12), (7, 9)], [(7, -12), (-7, 9)]]),
(-9, 9, [[(-8, -12), (0, -2), (0, 9)], [(8, -12), (0, -2)]]),
(-10, 10, [[(7, -12), (-7, 9)], [(-7, -12), (7, -12)], [(-7, 9), (7, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 5, [[(1, -12), (0, -11), (-1, -9), (-1, -7), (0, -6), (1, -7), (0, -8)]]),
(-9, 10, [[(6, -5), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-10, 9, [[(-6, -12), (-6, 9)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(6, -12), (6, 9)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-5, 7, [[(5, -12), (3, -12), (1, -11), (0, -8), (0, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(6, -5), (6, 11), (5, 14), (4, 15), (2, 16), (-1, 16), (-3, 15)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-9, 10, [[(-5, -12), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-4, 4, [[(-1, -12), (0, -11), (1, -12), (0, -13), (-1, -12)], [(0, -5), (0, 9)]]),
(-5, 5, [[(0, -12), (1, -11), (2, -12), (1, -13), (0, -12)], [(1, -5), (1, 12), (0, 15), (-2, 16), (-4, 16)]]),
(-9, 8, [[(-5, -12), (-5, 9)], [(5, -5), (-5, 5)], [(-1, 1), (6, 9)]]),
(-4, 4, [[(0, -12), (0, 9)]]),
(-15, 15, [[(-11, -5), (-11, 9)], [(-11, -1), (-8, -4), (-6, -5), (-3, -5), (-1, -4), (0, -1), (0, 9)], [(0, -1), (3, -4), (5, -5), (8, -5), (10, -4), (11, -1), (11, 9)]]),
(-9, 10, [[(-5, -5), (-5, 9)], [(-5, -1), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -1), (6, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (2, -5), (-1, -5)]]),
(-10, 9, [[(-6, -5), (-6, 16)], [(-6, -2), (-4, -4), (-2, -5), (1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9), (-2, 9), (-4, 8), (-6, 6)]]),
(-9, 10, [[(6, -5), (6, 16)], [(6, -2), (4, -4), (2, -5), (-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9), (2, 9), (4, 8), (6, 6)]]),
(-7, 6, [[(-3, -5), (-3, 9)], [(-3, 1), (-2, -2), (0, -4), (2, -5), (5, -5)]]),
(-8, 9, [[(6, -2), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -2), (-4, 0), (-2, 1), (3, 2), (5, 3), (6, 5), (6, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-5, 6)]]),
(-5, 7, [[(0, -12), (0, 5), (1, 8), (3, 9), (5, 9)], [(-3, -5), (4, -5)]]),
(-9, 10, [[(-5, -5), (-5, 5), (-4, 8), (-2, 9), (1, 9), (3, 8), (6, 5)], [(6, -5), (6, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9)]]),
(-11, 11, [[(-8, -5), (-4, 9)], [(0, -5), (-4, 9)], [(0, -5), (4, 9)], [(8, -5), (4, 9)]]),
(-8, 9, [[(-5, -5), (6, 9)], [(6, -5), (-5, 9)]]),
(-8, 8, [[(-6, -5), (0, 9)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16)]]),
(-8, 9, [[(6, -5), (-5, 9)], [(-5, -5), (6, -5)], [(-5, 9), (6, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
]
ROWMANT = [
(-8, 8, [[]]),
(-5, 6, [[(0, -12), (-1, -11), (-1, -9), (0, -1)], [(0, -12), (0, 2), (1, 2)], [(0, -12), (1, -12), (1, 2)], [(1, -12), (2, -11), (2, -9), (1, -1)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(6, -7), (6, -8), (5, -8), (5, -6), (7, -6), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 3), (-5, 3), (-5, 5), (-6, 5), (-6, 4)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(9, -3), (9, -4), (8, -4), (8, -2), (10, -2), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -3), (-2, 0), (2, 5), (5, 8), (7, 9), (9, 9), (10, 7), (10, 6)], [(-7, 8), (-8, 6), (-8, 3), (-7, 1), (-6, 0)], [(0, -5), (1, -9)], [(1, -7), (0, -11)], [(-4, -11), (-5, -7)], [(-4, -4), (-2, -1), (2, 4), (5, 7), (7, 8)], [(-4, 9), (-6, 8), (-7, 6), (-7, 3), (-6, 1), (-2, -3)], [(-5, -9), (-4, -5), (-1, -1), (3, 4), (6, 7), (8, 8), (9, 8), (10, 7)]]),
(-5, 6, [[(2, -10), (1, -9), (0, -9), (-1, -10), (-1, -11), (0, -12), (1, -12), (2, -11), (2, -8), (1, -6), (-1, -5)], [(0, -11), (0, -10), (1, -10), (1, -11), (0, -11)], [(1, -9), (2, -8)], [(2, -10), (1, -6)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-12, 13, [[(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-4, -10), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-4, 7)], [(4, 7), (5, 5), (6, 1), (6, -4), (5, -8), (4, -10)], [(-1, -12), (-3, -11), (-4, -9), (-5, -4), (-5, 1), (-4, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 6), (5, 1), (5, -4), (4, -9), (3, -11), (1, -12)]]),
(-10, 10, [[(-1, -10), (-1, 9)], [(0, -10), (0, 8)], [(1, -12), (1, 9)], [(1, -12), (-2, -9), (-4, -8)], [(-5, 9), (5, 9)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-10, 10, [[(-6, -8), (-6, -7), (-5, -7), (-5, -8), (-6, -8)], [(-6, -9), (-5, -9), (-4, -8), (-4, -7), (-5, -6), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(5, -10), (6, -8), (6, -6), (5, -4)], [(2, -12), (4, -11), (5, -8), (5, -6), (4, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 7), (5, 7), (7, 6)], [(-4, 6), (1, 8), (5, 8), (6, 7)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-6, -7), (-5, -7), (-5, -8), (-6, -8)], [(-6, -9), (-5, -9), (-4, -8), (-4, -7), (-5, -6), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3)], [(4, -11), (5, -9), (5, -6), (4, -4)], [(1, -12), (3, -11), (4, -9), (4, -6), (3, -4), (1, -3)], [(-1, -3), (2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 3), (-4, 4), (-4, 5), (-5, 6), (-6, 6)], [(5, 0), (6, 2), (6, 5), (5, 7)], [(1, -3), (3, -2), (4, -1), (5, 2), (5, 5), (4, 8), (2, 9)], [(-6, 4), (-6, 5), (-5, 5), (-5, 4), (-6, 4)]]),
(-10, 10, [[(1, -9), (1, 9)], [(2, -10), (2, 8)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-2, 9), (6, 9)], [(1, 8), (-1, 9)], [(1, 7), (0, 9)], [(3, 7), (4, 9)], [(3, 8), (5, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 3), (-4, 4), (-4, 5), (-5, 6), (-6, 6)], [(5, -2), (6, 0), (6, 4), (5, 6)], [(1, -5), (3, -4), (4, -3), (5, 0), (5, 4), (4, 7), (3, 8), (1, 9)], [(-6, 4), (-6, 5), (-5, 5), (-5, 4), (-6, 4)], [(-5, -12), (5, -12)], [(-5, -11), (3, -11)], [(-5, -10), (-1, -10), (3, -11), (5, -12)]]),
(-10, 10, [[(4, -9), (4, -8), (5, -8), (5, -9), (4, -9)], [(5, -10), (4, -10), (3, -9), (3, -8), (4, -7), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 0)], [(-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-4, 7)], [(5, 6), (6, 4), (6, 1), (5, -1)], [(0, -12), (-2, -11), (-3, -10), (-4, -8), (-5, -4), (-5, 3), (-4, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 4), (5, 1), (4, -2), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 5), (0, 9)], [(1, 0), (0, 2), (-1, 5), (-1, 9)], [(6, -6), (1, -1), (-1, 2), (-2, 5), (-2, 9), (0, 9)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-5, -10), (-4, -11), (-2, -11), (0, -10)], [(-7, -8), (-6, -9), (-4, -10), (-2, -10), (3, -9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-4, -11), (-5, -9), (-5, -6), (-4, -4)], [(4, -4), (5, -6), (5, -9), (4, -11)], [(-2, -12), (-3, -11), (-4, -9), (-4, -6), (-3, -4), (-2, -3)], [(2, -3), (3, -4), (4, -6), (4, -9), (3, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-5, -1), (-6, 1), (-6, 5), (-5, 7)], [(5, 7), (6, 5), (6, 1), (5, -1)], [(-2, -3), (-4, -2), (-5, 1), (-5, 5), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 5), (5, 1), (4, -2), (2, -3)]]),
(-10, 10, [[(-5, 5), (-5, 6), (-4, 6), (-4, 5), (-5, 5)], [(5, -3), (4, -1), (3, 0), (1, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 4), (-3, 5), (-3, 6), (-4, 7), (-5, 7)], [(-5, -2), (-6, -4), (-6, -7), (-5, -9)], [(4, -10), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6)], [(-1, 1), (-3, 0), (-4, -1), (-5, -4), (-5, -7), (-4, -10), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (5, -6), (5, 1), (4, 5), (3, 7), (2, 8), (0, 9)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 10, [[(-5, -7), (-5, -8), (-4, -8), (-4, -6), (-6, -6), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (1, -1)], [(5, -10), (6, -9), (6, -5), (5, -4)], [(2, -12), (4, -11), (5, -9), (5, -5), (4, -3), (3, -2)], [(0, -1), (0, 2), (1, 2), (1, -1), (0, -1)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 8)], [(-1, -9), (5, 9)], [(0, -9), (6, 9)], [(0, -12), (7, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(2, 9), (9, 9)], [(-7, 8), (-8, 9)], [(-7, 8), (-5, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(6, 7), (8, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(6, -10), (7, -8), (7, -6), (6, -4)], [(3, -12), (5, -11), (6, -9), (6, -5), (5, -3), (3, -2)], [(-4, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(6, 0), (7, 2), (7, 5), (6, 7)], [(3, -2), (5, -1), (6, 1), (6, 6), (5, 8), (3, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 4)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-9, 9)], [(5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6)], [(1, -12), (3, -11), (5, -8), (6, -4), (6, 1), (5, 5), (3, 8), (1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (7, -12), (7, -6)], [(-4, -2), (2, -2)], [(2, -6), (2, 2)], [(-9, 9), (7, 9), (7, 3)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(2, -12), (7, -11)], [(4, -12), (7, -10)], [(5, -12), (7, -9)], [(6, -12), (7, -6)], [(2, -6), (1, -2), (2, 2)], [(2, -4), (0, -2), (2, 0)], [(2, -3), (-2, -2), (2, -1)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(2, 9), (7, 8)], [(4, 9), (7, 7)], [(5, 9), (7, 6)], [(6, 9), (7, 3)]]),
(-11, 9, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (7, -12), (7, -6)], [(-4, -2), (2, -2)], [(2, -6), (2, 2)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(2, -12), (7, -11)], [(4, -12), (7, -10)], [(5, -12), (7, -9)], [(6, -12), (7, -6)], [(2, -6), (1, -2), (2, 2)], [(2, -4), (0, -2), (2, 0)], [(2, -3), (-2, -2), (2, -1)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 12, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 8), (7, 9), (7, 1)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(6, 2), (6, 7)], [(5, 1), (5, 7), (4, 8)], [(2, 1), (10, 1)], [(3, 1), (5, 2)], [(4, 1), (5, 3)], [(8, 1), (7, 3)], [(9, 1), (7, 2)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -11), (-6, 8)], [(-5, -12), (-5, 9)], [(5, -12), (5, 9)], [(6, -11), (6, 8)], [(7, -12), (7, 9)], [(-10, -12), (-2, -12)], [(2, -12), (10, -12)], [(-5, -2), (5, -2)], [(-10, 9), (-2, 9)], [(2, 9), (10, 9)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(3, -12), (5, -11)], [(4, -12), (5, -10)], [(8, -12), (7, -10)], [(9, -12), (7, -11)], [(-7, 8), (-9, 9)], [(-7, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-5, 8), (-3, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-6, 6, [[(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(1, -12), (1, 9)], [(-4, -12), (4, -12)], [(-4, 9), (4, 9)], [(-3, -12), (-1, -11)], [(-2, -12), (-1, -10)], [(2, -12), (1, -10)], [(3, -12), (1, -11)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-8, -8, [[(1, -12), (1, 5), (0, 8), (-1, 9)], [(2, -11), (2, 5), (1, 8)], [(3, -12), (3, 5), (2, 8), (-1, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 4), (-5, 3), (-4, 3), (-3, 4), (-3, 5), (-4, 6), (-5, 6)], [(-5, 4), (-5, 5), (-4, 5), (-4, 4), (-5, 4)], [(-2, -12), (6, -12)], [(-1, -12), (1, -11)], [(0, -12), (1, -10)], [(4, -12), (3, -10)], [(5, -12), (3, -11)]]),
(-12, 10, [[(-7, -12), (-7, 9)], [(-6, -11), (-6, 8)], [(-5, -12), (-5, 9)], [(6, -11), (-5, 0)], [(-2, -2), (5, 9)], [(-1, -2), (6, 9)], [(-1, -4), (7, 9)], [(-10, -12), (-2, -12)], [(3, -12), (9, -12)], [(-10, 9), (-2, 9)], [(2, 9), (9, 9)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (6, -11)], [(8, -12), (6, -11)], [(-7, 8), (-9, 9)], [(-7, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-5, 8), (-3, 9)], [(5, 7), (3, 9)], [(5, 7), (8, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -11), (-3, 8)], [(-2, -12), (-2, 9)], [(-7, -12), (1, -12)], [(-7, 9), (8, 9), (8, 3)], [(-6, -12), (-4, -11)], [(-5, -12), (-4, -10)], [(-1, -12), (-2, -10)], [(0, -12), (-2, -11)], [(-4, 8), (-6, 9)], [(-4, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-2, 8), (0, 9)], [(3, 9), (8, 8)], [(5, 9), (8, 7)], [(6, 9), (8, 6)], [(7, 9), (8, 3)]]),
(-13, 13, [[(-8, -12), (-8, 8)], [(-8, -12), (-1, 9)], [(-7, -12), (-1, 6)], [(-6, -12), (0, 6)], [(6, -12), (-1, 9)], [(6, -12), (6, 9)], [(7, -11), (7, 8)], [(8, -12), (8, 9)], [(-11, -12), (-6, -12)], [(6, -12), (11, -12)], [(-11, 9), (-5, 9)], [(3, 9), (11, 9)], [(-10, -12), (-8, -11)], [(9, -12), (8, -10)], [(10, -12), (8, -11)], [(-8, 8), (-10, 9)], [(-8, 8), (-6, 9)], [(6, 8), (4, 9)], [(6, 7), (5, 9)], [(8, 7), (9, 9)], [(8, 8), (10, 9)]]),
(-12, 12, [[(-7, -12), (-7, 8)], [(-7, -12), (7, 9)], [(-6, -12), (6, 6)], [(-5, -12), (7, 6)], [(7, -11), (7, 9)], [(-10, -12), (-5, -12)], [(4, -12), (10, -12)], [(-10, 9), (-4, 9)], [(-9, -12), (-7, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)], [(-7, 8), (-9, 9)], [(-7, 8), (-5, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (7, 1), (7, -4), (6, -7), (5, -9)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 5), (6, 1), (6, -4), (5, -8), (3, -11), (1, -12)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-4, -1)], [(6, -10), (7, -8), (7, -5), (6, -3)], [(3, -12), (5, -11), (6, -9), (6, -4), (5, -2), (3, -1)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (7, 1), (7, -4), (6, -7), (5, -9)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 5), (6, 1), (6, -4), (5, -8), (3, -11), (1, -12)], [(-4, 6), (-3, 4), (-1, 3), (0, 3), (2, 4), (3, 6), (4, 12), (5, 14), (7, 14), (8, 12), (8, 10)], [(4, 10), (5, 12), (6, 13), (7, 13)], [(3, 6), (5, 11), (6, 12), (7, 12), (8, 11)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2), (-4, -2)], [(6, -10), (7, -8), (7, -6), (6, -4)], [(3, -12), (5, -11), (6, -9), (6, -5), (5, -3), (3, -2)], [(0, -2), (2, -1), (3, 1), (5, 7), (6, 9), (8, 9), (9, 7), (9, 5)], [(5, 5), (6, 7), (7, 8), (8, 8)], [(2, -1), (3, 0), (6, 6), (7, 7), (8, 7), (9, 6)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-10, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (1, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-1, 9), (-4, 8), (-6, 6), (-7, 3), (-7, 9), (-6, 6)]]),
(-10, 10, [[(-8, -12), (-8, -6)], [(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(1, -12), (1, 9)], [(8, -12), (8, -6)], [(-8, -12), (8, -12)], [(-4, 9), (4, 9)], [(-7, -12), (-8, -6)], [(-6, -12), (-8, -9)], [(-5, -12), (-8, -10)], [(-3, -12), (-8, -11)], [(3, -12), (8, -11)], [(5, -12), (8, -10)], [(6, -12), (8, -9)], [(7, -12), (8, -6)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-12, 12, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -11)], [(-6, -11), (-6, 4), (-5, 6)], [(-5, -12), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(-10, -12), (-2, -12)], [(4, -12), (10, -12)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)]]),
(-10, 10, [[(-7, -12), (0, 9)], [(-6, -12), (0, 6), (0, 9)], [(-5, -12), (1, 6)], [(7, -11), (0, 9)], [(-9, -12), (-2, -12)], [(3, -12), (9, -12)], [(-8, -12), (-6, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (7, -11)], [(8, -12), (7, -11)]]),
(-12, 12, [[(-8, -12), (-4, 9)], [(-7, -12), (-4, 4), (-4, 9)], [(-6, -12), (-3, 4)], [(0, -12), (-3, 4), (-4, 9)], [(0, -12), (4, 9)], [(1, -12), (4, 4), (4, 9)], [(2, -12), (5, 4)], [(8, -11), (5, 4), (4, 9)], [(-11, -12), (-3, -12)], [(0, -12), (2, -12)], [(5, -12), (11, -12)], [(-10, -12), (-7, -11)], [(-9, -12), (-7, -10)], [(-5, -12), (-6, -10)], [(-4, -12), (-6, -11)], [(6, -12), (8, -11)], [(10, -12), (8, -11)]]),
(-10, 10, [[(-7, -12), (5, 9)], [(-6, -12), (6, 9)], [(-5, -12), (7, 9)], [(6, -11), (-6, 8)], [(-9, -12), (-2, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(2, 9), (9, 9)], [(-8, -12), (-5, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(4, -12), (6, -11)], [(8, -12), (6, -11)], [(-6, 8), (-8, 9)], [(-6, 8), (-4, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(5, 7), (8, 9)]]),
(-11, 11, [[(-8, -12), (-1, -1), (-1, 9)], [(-7, -12), (0, -1), (0, 8)], [(-6, -12), (1, -1), (1, 9)], [(7, -11), (1, -1)], [(-10, -12), (-3, -12)], [(4, -12), (10, -12)], [(-4, 9), (4, 9)], [(-9, -12), (-7, -11)], [(-4, -12), (-6, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-10, 10, [[(7, -12), (-7, -12), (-7, -6)], [(5, -12), (-7, 9)], [(6, -12), (-6, 9)], [(7, -12), (-5, 9)], [(-7, 9), (7, 9), (7, 3)], [(-6, -12), (-7, -6)], [(-5, -12), (-7, -9)], [(-4, -12), (-7, -10)], [(-2, -12), (-7, -11)], [(2, 9), (7, 8)], [(4, 9), (7, 7)], [(5, 9), (7, 6)], [(6, 9), (7, 3)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 6, [[(2, -12), (0, -11), (-1, -9), (-1, -6), (0, -5), (1, -5), (2, -6), (2, -7), (1, -8), (0, -8), (-1, -7)], [(0, -7), (0, -6), (1, -6), (1, -7), (0, -7)], [(0, -11), (-1, -7)], [(-1, -9), (0, -8)]]),
(-9, 11, [[(-4, -2), (-4, -3), (-3, -3), (-3, -1), (-5, -1), (-5, -3), (-4, -4), (-2, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 6), (7, 8), (8, 9)], [(4, -3), (5, -1), (5, 6), (6, 8)], [(2, -5), (3, -4), (4, -2), (4, 6), (5, 8), (8, 9), (9, 9)], [(4, 0), (3, 1), (-2, 2), (-5, 3), (-6, 5), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (4, 6)], [(-4, 3), (-5, 5), (-5, 6), (-4, 8)], [(3, 1), (-1, 2), (-3, 3), (-4, 5), (-4, 6), (-3, 8), (-2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9), (-5, 8), (-3, 8)], [(-5, -11), (-5, 7)], [(-9, -12), (-4, -12), (-4, 8)], [(-4, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-4, 6)], [(5, -2), (6, 0), (6, 4), (5, 6)], [(1, -5), (3, -4), (4, -3), (5, 0), (5, 4), (4, 7), (3, 8), (1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)]]),
(-10, 9, [[(5, -1), (5, -2), (4, -2), (4, 0), (6, 0), (6, -2), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)]]),
(-10, 11, [[(4, -12), (4, 9), (9, 9)], [(5, -11), (5, 8)], [(1, -12), (6, -12), (6, 9)], [(4, -2), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (3, 8), (4, 6)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(2, -12), (4, -11)], [(3, -12), (4, -10)], [(6, 7), (7, 9)], [(6, 8), (8, 9)]]),
(-10, 9, [[(-5, 1), (6, 1), (6, -1), (5, -3), (4, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(5, 0), (5, -1), (4, -3)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(4, 1), (4, -2), (3, -4), (1, -5)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)]]),
(-7, 7, [[(5, -10), (5, -11), (4, -11), (4, -9), (6, -9), (6, -11), (5, -12), (2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 9)], [(0, -10), (-1, -7), (-1, 8)], [(2, -12), (1, -11), (0, -9), (0, 9)], [(-5, -5), (4, -5)], [(-5, 9), (3, 9)], [(-2, 8), (-4, 9)], [(-2, 7), (-3, 9)], [(0, 7), (1, 9)], [(0, 8), (2, 9)]]),
(-9, 10, [[(6, -4), (7, -3), (8, -4), (7, -5), (6, -5), (4, -4), (3, -3)], [(-1, -5), (-3, -4), (-4, -3), (-5, -1), (-5, 1), (-4, 3), (-3, 4), (-1, 5), (1, 5), (3, 4), (4, 3), (5, 1), (5, -1), (4, -3), (3, -4), (1, -5), (-1, -5)], [(-3, -3), (-4, -1), (-4, 1), (-3, 3)], [(3, 3), (4, 1), (4, -1), (3, -3)], [(-1, -5), (-2, -4), (-3, -2), (-3, 2), (-2, 4), (-1, 5)], [(1, 5), (2, 4), (3, 2), (3, -2), (2, -4), (1, -5)], [(-4, 3), (-5, 4), (-6, 6), (-6, 7), (-5, 9), (-4, 10), (-1, 11), (3, 11), (6, 12), (7, 13)], [(-4, 9), (-1, 10), (3, 10), (6, 11)], [(-6, 7), (-5, 8), (-2, 9), (3, 9), (6, 10), (7, 12), (7, 13), (6, 15), (3, 16), (-3, 16), (-6, 15), (-7, 13), (-7, 12), (-6, 10), (-3, 9)], [(-3, 16), (-5, 15), (-6, 13), (-6, 12), (-5, 10), (-3, 9)]]),
(-11, 12, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-9, -12), (-4, -12), (-4, 9)], [(-4, -1), (-3, -3), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -3), (7, 0), (7, 9)], [(5, -3), (6, 0), (6, 8)], [(3, -5), (4, -4), (5, -1), (5, 9)], [(-9, 9), (-1, 9)], [(2, 9), (10, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-6, 6, [[(-1, -12), (-1, -10), (1, -10), (1, -12), (-1, -12)], [(0, -12), (0, -10)], [(-1, -11), (1, -11)], [(-1, -5), (-1, 9)], [(0, -4), (0, 8)], [(-4, -5), (1, -5), (1, 9)], [(-4, 9), (4, 9)], [(-3, -5), (-1, -4)], [(-2, -5), (-1, -3)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-7, 6, [[(0, -12), (0, -10), (2, -10), (2, -12), (0, -12)], [(1, -12), (1, -10)], [(0, -11), (2, -11)], [(0, -5), (0, 12), (-1, 15), (-2, 16)], [(1, -4), (1, 11), (0, 14)], [(-3, -5), (2, -5), (2, 11), (1, 14), (0, 15), (-2, 16), (-5, 16), (-6, 15), (-6, 13), (-4, 13), (-4, 15), (-5, 15), (-5, 14)], [(-2, -5), (0, -4)], [(-1, -5), (0, -3)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-9, -12), (-4, -12), (-4, 9)], [(5, -4), (-4, 5)], [(0, 1), (7, 9)], [(0, 2), (6, 9)], [(-1, 2), (5, 9)], [(2, -5), (9, -5)], [(-9, 9), (-1, 9)], [(2, 9), (9, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(3, -5), (5, -4)], [(8, -5), (5, -4)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(5, 7), (3, 9)], [(4, 7), (8, 9)]]),
(-6, 6, [[(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(-4, -12), (1, -12), (1, 9)], [(-4, 9), (4, 9)], [(-3, -12), (-1, -11)], [(-2, -12), (-1, -10)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-17, 17, [[(-12, -5), (-12, 9)], [(-11, -4), (-11, 8)], [(-15, -5), (-10, -5), (-10, 9)], [(-10, -1), (-9, -3), (-8, -4), (-6, -5), (-3, -5), (-1, -4), (0, -3), (1, 0), (1, 9)], [(-1, -3), (0, 0), (0, 8)], [(-3, -5), (-2, -4), (-1, -1), (-1, 9)], [(1, -1), (2, -3), (3, -4), (5, -5), (8, -5), (10, -4), (11, -3), (12, 0), (12, 9)], [(10, -3), (11, 0), (11, 8)], [(8, -5), (9, -4), (10, -1), (10, 9)], [(-15, 9), (-7, 9)], [(-4, 9), (4, 9)], [(7, 9), (15, 9)], [(-14, -5), (-12, -4)], [(-13, -5), (-12, -3)], [(-12, 8), (-14, 9)], [(-12, 7), (-13, 9)], [(-10, 7), (-9, 9)], [(-10, 8), (-8, 9)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)], [(10, 8), (8, 9)], [(10, 7), (9, 9)], [(12, 7), (13, 9)], [(12, 8), (14, 9)]]),
(-11, 12, [[(-6, -5), (-6, 9)], [(-5, -4), (-5, 8)], [(-9, -5), (-4, -5), (-4, 9)], [(-4, -1), (-3, -3), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -3), (7, 0), (7, 9)], [(5, -3), (6, 0), (6, 8)], [(3, -5), (4, -4), (5, -1), (5, 9)], [(-9, 9), (-1, 9)], [(2, 9), (10, 9)], [(-8, -5), (-6, -4)], [(-7, -5), (-6, -3)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (6, 0), (5, -2)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 4), (5, 0), (4, -3), (3, -4), (1, -5)]]),
(-11, 10, [[(-6, -5), (-6, 16)], [(-5, -4), (-5, 15)], [(-9, -5), (-4, -5), (-4, 16)], [(-4, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-4, 6)], [(5, -2), (6, 0), (6, 4), (5, 6)], [(1, -5), (3, -4), (4, -3), (5, 0), (5, 4), (4, 7), (3, 8), (1, 9)], [(-9, 16), (-1, 16)], [(-8, -5), (-6, -4)], [(-7, -5), (-6, -3)], [(-6, 15), (-8, 16)], [(-6, 14), (-7, 16)], [(-4, 14), (-3, 16)], [(-4, 15), (-2, 16)]]),
(-10, 10, [[(4, -4), (4, 16)], [(5, -3), (5, 15)], [(3, -4), (5, -4), (6, -5), (6, 16)], [(4, -2), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (3, 8), (4, 6)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(1, 16), (9, 16)], [(4, 15), (2, 16)], [(4, 14), (3, 16)], [(6, 14), (7, 16)], [(6, 15), (8, 16)]]),
(-9, 8, [[(-4, -5), (-4, 9)], [(-3, -4), (-3, 8)], [(-7, -5), (-2, -5), (-2, 9)], [(5, -3), (5, -4), (4, -4), (4, -2), (6, -2), (6, -4), (5, -5), (3, -5), (1, -4), (-1, -2), (-2, 1)], [(-7, 9), (1, 9)], [(-6, -5), (-4, -4)], [(-5, -5), (-4, -3)], [(-4, 8), (-6, 9)], [(-4, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-2, 8), (0, 9)]]),
(-8, 9, [[(5, -3), (6, -5), (6, -1), (5, -3), (4, -4), (2, -5), (-2, -5), (-4, -4), (-5, -3), (-5, -1), (-4, 1), (-2, 2), (3, 3), (5, 4), (6, 7)], [(-4, -4), (-5, -1)], [(-4, 0), (-2, 1), (3, 2), (5, 3)], [(6, 4), (5, 8)], [(-5, -3), (-4, -1), (-2, 0), (3, 1), (5, 2), (6, 4), (6, 7), (5, 8), (3, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 5), (-5, 9), (-4, 7)]]),
(-7, 8, [[(-2, -10), (-2, 4), (-1, 7), (0, 8), (2, 9), (4, 9), (6, 8), (7, 6)], [(-1, -10), (-1, 5), (0, 7)], [(-2, -10), (0, -12), (0, 5), (1, 8), (2, 9)], [(-5, -5), (4, -5)]]),
(-11, 12, [[(-6, -5), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (1, 9), (3, 8), (4, 7), (5, 5)], [(-5, -4), (-5, 5), (-4, 7)], [(-9, -5), (-4, -5), (-4, 5), (-3, 8), (-2, 9)], [(5, -5), (5, 9), (10, 9)], [(6, -4), (6, 8)], [(2, -5), (7, -5), (7, 9)], [(-8, -5), (-6, -4)], [(-7, -5), (-6, -3)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-9, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(-4, -5), (1, 7)], [(6, -4), (1, 7), (0, 9)], [(-8, -5), (-1, -5)], [(2, -5), (8, -5)], [(-7, -5), (-4, -3)], [(-2, -5), (-4, -4)], [(4, -5), (6, -4)], [(7, -5), (6, -4)]]),
(-12, 12, [[(-8, -5), (-4, 9)], [(-7, -5), (-4, 6)], [(-6, -5), (-3, 6)], [(0, -5), (-3, 6), (-4, 9)], [(0, -5), (4, 9)], [(1, -5), (4, 6)], [(0, -5), (2, -5), (5, 6)], [(8, -4), (5, 6), (4, 9)], [(-11, -5), (-3, -5)], [(5, -5), (11, -5)], [(-10, -5), (-7, -4)], [(-4, -5), (-6, -4)], [(6, -5), (8, -4)], [(10, -5), (8, -4)]]),
(-10, 10, [[(-6, -5), (4, 9)], [(-5, -5), (5, 9)], [(-4, -5), (6, 9)], [(5, -4), (-5, 8)], [(-8, -5), (-1, -5)], [(2, -5), (8, -5)], [(-8, 9), (-2, 9)], [(1, 9), (8, 9)], [(-7, -5), (-5, -4)], [(-2, -5), (-4, -4)], [(3, -5), (5, -4)], [(7, -5), (5, -4)], [(-5, 8), (-7, 9)], [(-5, 8), (-3, 9)], [(4, 8), (2, 9)], [(5, 8), (7, 9)]]),
(-10, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(-4, -5), (1, 7)], [(6, -4), (1, 7), (-2, 13), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 13), (-7, 13), (-7, 15), (-8, 15), (-8, 14)], [(-8, -5), (-1, -5)], [(2, -5), (8, -5)], [(-7, -5), (-4, -3)], [(-2, -5), (-4, -4)], [(4, -5), (6, -4)], [(7, -5), (6, -4)]]),
(-9, 9, [[(4, -5), (-6, 9)], [(5, -5), (-5, 9)], [(6, -5), (-4, 9)], [(6, -5), (-6, -5), (-6, -1)], [(-6, 9), (6, 9), (6, 5)], [(-5, -5), (-6, -1)], [(-4, -5), (-6, -2)], [(-3, -5), (-6, -3)], [(-1, -5), (-6, -4)], [(1, 9), (6, 8)], [(3, 9), (6, 7)], [(4, 9), (6, 6)], [(5, 9), (6, 5)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)], [(-1, -12), (-4, -9), (-3, -5), (1, -4), (4, -7), (3, -11), (-1, -12)], [(1, -12), (-3, -11), (-4, -7), (-1, -4), (3, -5), (4, -9), (1, -12)]]),
]
SCRIPTC = [
(-8, 8, [[]]),
(-5, 6, [[(3, -12), (2, -11), (0, 1)], [(3, -11), (0, 1)], [(3, -12), (4, -11), (0, 1)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-9, 9, [[(-2, -12), (-4, -5)], [(-1, -12), (-4, -5)], [(7, -12), (5, -5)], [(8, -12), (5, -5)]]),
(-10, 11, [[(1, -12), (-6, 16)], [(7, -12), (0, 16)], [(-6, -1), (8, -1)], [(-7, 5), (7, 5)]]),
(-10, 11, [[(2, -16), (-6, 13)], [(7, -16), (-1, 13)], [(8, -8), (7, -7), (8, -6), (9, -7), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -7), (-4, -5), (-3, -4), (4, 0), (6, 2)], [(-5, -7), (-3, -5), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -4), (9, -3), (10, -2), (11, -3), (11, -4), (10, -5), (9, -5), (7, -4), (5, -2), (0, 6), (-2, 8), (-4, 9), (-7, 9), (-10, 8), (-11, 6), (-11, 4), (-10, 2), (-9, 1), (-7, 0), (-2, -2), (0, -3), (2, -5), (3, -7), (3, -9), (2, -11), (0, -12), (-2, -11), (-3, -9), (-3, -6), (-2, 0), (-1, 3), (1, 6), (3, 8), (5, 9), (7, 9), (8, 7), (8, 6)], [(-7, 9), (-9, 8), (-10, 6), (-10, 4), (-9, 2), (-8, 1), (-2, -2)], [(-3, -6), (-2, -1), (-1, 2), (1, 5), (3, 7), (5, 8), (7, 8), (8, 7)]]),
(-5, 6, [[(3, -10), (2, -11), (3, -12), (4, -11), (4, -10), (3, -8), (1, -6)]]),
(-7, 8, [[(8, -16), (4, -13), (1, -10), (-1, -7), (-3, -3), (-4, 2), (-4, 6), (-3, 11), (-2, 14), (-1, 16)], [(4, -13), (1, -9), (-1, -5), (-2, -2), (-3, 3), (-3, 8), (-2, 13), (-1, 16)]]),
(-8, 7, [[(1, -16), (2, -14), (3, -11), (4, -6), (4, -2), (3, 3), (1, 7), (-1, 10), (-4, 13), (-8, 16)], [(1, -16), (2, -13), (3, -8), (3, -3), (2, 2), (1, 5), (-1, 9), (-4, 13)]]),
(-8, 9, [[(2, -12), (2, 0)], [(-3, -9), (7, -3)], [(7, -9), (-3, -3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 6, [[(-2, 9), (-3, 8), (-2, 7), (-1, 8), (-1, 9), (-2, 11), (-4, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 6, [[(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-11, 11, [[(13, -16), (-13, 16)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-3, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)]]),
(-10, 11, [[(2, -8), (-3, 9)], [(4, -12), (-2, 9)], [(4, -12), (1, -9), (-2, -7), (-4, -6)], [(3, -9), (-1, -7), (-4, -6)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (5, -3), (2, -1), (-2, 1), (-5, 3), (-7, 5), (-9, 9)], [(4, -12), (6, -11), (7, -9), (7, -7), (6, -5), (4, -3), (-2, 1)], [(-8, 7), (-7, 6), (-5, 6), (0, 8), (3, 8), (5, 7), (6, 5)], [(-5, 6), (0, 9), (3, 9), (5, 8), (6, 5)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (4, -3), (1, -2)], [(4, -12), (6, -11), (7, -9), (7, -7), (6, -5), (4, -3)], [(-1, -2), (1, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(1, -2), (3, -1), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (1, 9)]]),
(-10, 11, [[(6, -11), (0, 9)], [(7, -12), (1, 9)], [(7, -12), (-8, 3), (8, 3)]]),
(-10, 11, [[(-1, -12), (-6, -2)], [(-1, -12), (9, -12)], [(-1, -11), (4, -11), (9, -12)], [(-6, -2), (-5, -3), (-2, -4), (1, -4), (4, -3), (5, -2), (6, 0), (6, 3), (5, 6), (3, 8), (0, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(1, -4), (3, -3), (4, -2), (5, 0), (5, 3), (4, 6), (2, 8), (0, 9)]]),
(-10, 11, [[(7, -9), (6, -8), (7, -7), (8, -8), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 1), (5, -1), (4, -2), (2, -3), (-1, -3), (-3, -2), (-5, 0), (-6, 2)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 6), (-5, 8)], [(0, 9), (2, 8), (4, 6), (5, 4), (5, 0), (4, -2)]]),
(-10, 11, [[(-4, -12), (-6, -6)], [(9, -12), (8, -9), (6, -6), (1, 0), (-1, 3), (-2, 5), (-3, 9)], [(6, -6), (0, 0), (-2, 3), (-3, 5), (-4, 9)], [(-5, -9), (-2, -12), (0, -12), (5, -9)], [(-4, -10), (-2, -11), (0, -11), (5, -9), (7, -9), (8, -10), (9, -12)]]),
(-10, 11, [[(1, -12), (-2, -11), (-3, -10), (-4, -8), (-4, -5), (-3, -3), (-1, -2), (2, -2), (6, -3), (7, -4), (8, -6), (8, -9), (7, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-2, -10), (-3, -8), (-3, -5), (-2, -3), (-1, -2)], [(2, -2), (5, -3), (6, -4), (7, -6), (7, -9), (6, -11), (4, -12)], [(-1, -2), (-5, -1), (-7, 1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (4, 8), (5, 7), (6, 5), (6, 2), (5, 0), (4, -1), (2, -2)], [(-1, -2), (-4, -1), (-6, 1), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(0, 9), (3, 8), (4, 7), (5, 5), (5, 1), (4, -1)]]),
(-10, 11, [[(7, -5), (6, -3), (4, -1), (2, 0), (-1, 0), (-3, -1), (-4, -2), (-5, -4), (-5, -7), (-4, -9), (-2, -11), (1, -12), (4, -12), (6, -11), (7, -10), (8, -8), (8, -4), (7, 0), (6, 3), (4, 6), (2, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)], [(-3, -1), (-4, -3), (-4, -7), (-3, -9), (-1, -11), (1, -12)], [(6, -11), (7, -9), (7, -4), (6, 0), (5, 3), (3, 6), (1, 8), (-1, 9)]]),
(-5, 6, [[(1, -5), (0, -4), (1, -3), (2, -4), (1, -5)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8)]]),
(-5, 6, [[(1, -5), (0, -4), (1, -3), (2, -4), (1, -5)], [(-2, 9), (-3, 8), (-2, 7), (-1, 8), (-1, 9), (-2, 11), (-4, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (1, -2), (-1, -1), (-1, 1), (0, 2), (2, 2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-13, 10, [[(6, -12), (4, -10), (2, -7), (-1, -2), (-3, 1), (-6, 5), (-9, 8), (-11, 9), (-13, 9), (-14, 8), (-14, 6), (-13, 5), (-12, 6), (-13, 7)], [(6, -12), (5, -8), (3, 2), (2, 9)], [(6, -12), (3, 9)], [(2, 9), (2, 7), (1, 4), (0, 2), (-2, 0), (-4, -1), (-6, -1), (-7, 0), (-7, 2), (-6, 5), (-3, 8), (0, 9), (4, 9), (6, 8)]]),
(-12, 12, [[(3, -11), (2, -10), (1, -8), (-1, -3), (-3, 3), (-4, 5), (-6, 8), (-8, 9)], [(2, -10), (1, -7), (-1, 1), (-2, 4), (-3, 6), (-5, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6), (-10, 5), (-9, 6), (-10, 7)], [(-3, -6), (-4, -4), (-5, -3), (-7, -3), (-8, -4), (-8, -6), (-7, -8), (-5, -10), (-3, -11), (0, -12), (6, -12), (8, -11), (9, -9), (9, -7), (8, -5), (6, -4), (2, -3), (0, -3)], [(6, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4)], [(2, -3), (5, -2), (6, -1), (7, 1), (7, 4), (6, 7), (5, 8), (3, 9), (1, 9), (0, 8), (0, 6), (1, 3)], [(2, -3), (4, -2), (5, -1), (6, 1), (6, 4), (5, 7), (3, 9)]]),
(-10, 11, [[(-7, -10), (-8, -8), (-8, -6), (-7, -4), (-4, -3), (-1, -3), (3, -4), (5, -5), (7, -7), (8, -9), (8, -11), (7, -12), (5, -12), (2, -11), (-1, -8), (-3, -5), (-5, -1), (-6, 3), (-6, 6), (-5, 8), (-2, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 2), (5, 0), (3, 0), (1, 1), (0, 3)], [(5, -12), (3, -11), (0, -8), (-2, -5), (-4, -1), (-5, 3), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 11, [[(3, -11), (2, -10), (1, -8), (-1, -3), (-3, 3), (-4, 5), (-6, 8), (-8, 9)], [(2, -10), (1, -7), (-1, 1), (-2, 4), (-3, 6), (-5, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6), (-10, 5), (-8, 5), (-6, 6), (-4, 8), (-2, 9), (1, 9), (3, 8), (5, 6), (7, 2), (8, -3), (8, -6), (7, -9), (5, -11), (3, -12), (-2, -12), (-5, -11), (-7, -9), (-8, -7), (-8, -5), (-7, -4), (-5, -4), (-4, -5), (-3, -7)]]),
(-9, 10, [[(5, -9), (4, -8), (4, -6), (5, -5), (7, -5), (8, -7), (8, -9), (7, -11), (5, -12), (2, -12), (0, -11), (-1, -10), (-2, -8), (-2, -6), (-1, -4), (1, -3)], [(2, -12), (0, -10), (-1, -8), (-1, -5), (1, -3)], [(1, -3), (-1, -3), (-4, -2), (-6, 0), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 2), (5, 0), (3, 0), (1, 1), (0, 3)], [(-1, -3), (-3, -2), (-5, 0), (-6, 2), (-6, 6), (-5, 8)]]),
(-11, 10, [[(5, -10), (4, -8), (2, -3), (0, 3), (-1, 5), (-3, 8), (-5, 9)], [(-1, -6), (-2, -4), (-4, -3), (-6, -3), (-7, -5), (-7, -7), (-6, -9), (-4, -11), (-1, -12), (9, -12), (6, -11), (5, -10), (4, -7), (2, 1), (1, 4), (0, 6), (-2, 8), (-5, 9), (-7, 9), (-9, 8), (-10, 7), (-10, 6), (-9, 5), (-8, 6), (-9, 7)], [(1, -12), (5, -11), (6, -11)], [(-3, 1), (-2, 0), (0, -1), (4, -1), (6, -2), (8, -5), (6, 2)]]),
(-11, 11, [[(-8, -9), (-9, -7), (-9, -5), (-8, -3), (-6, -2), (-3, -2), (0, -3), (2, -4), (5, -7), (6, -10), (6, -11), (5, -12), (4, -12), (2, -11), (0, -9), (-1, -7), (-2, -4), (-2, -1), (-1, 1), (1, 2), (3, 2), (5, 1), (7, -1), (8, -3)], [(5, -12), (3, -11), (1, -9), (0, -7), (-1, -4), (-1, 0), (1, 2)], [(8, -3), (7, 1), (5, 5), (3, 7), (1, 8), (-3, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 5), (-8, 4), (-7, 5), (-8, 6)], [(7, 1), (5, 4), (3, 6), (0, 8), (-3, 9)]]),
(-12, 12, [[(-6, -6), (-7, -7), (-7, -9), (-6, -11), (-3, -12), (0, -12), (-3, -1), (-5, 5), (-6, 7), (-7, 8), (-9, 9), (-11, 9), (-12, 8), (-12, 6), (-11, 5), (-10, 6), (-11, 7)], [(0, -12), (-3, -3), (-4, 0), (-6, 5), (-7, 7), (-9, 9)], [(-8, 2), (-7, 1), (-5, 0), (4, -3), (6, -4), (9, -6), (11, -8), (12, -10), (12, -11), (11, -12), (10, -12), (8, -11), (6, -8), (5, -6), (3, 0), (2, 4), (2, 7), (4, 9), (5, 9), (7, 8), (9, 6)], [(10, -12), (8, -10), (6, -6), (4, 0), (3, 4), (3, 7), (4, 9)]]),
(-9, 7, [[(5, -10), (3, -7), (1, -2), (-1, 3), (-2, 5), (-4, 8), (-6, 9)], [(7, -6), (5, -4), (2, -3), (-1, -3), (-3, -4), (-4, -6), (-4, -8), (-3, -10), (-1, -11), (3, -12), (7, -12), (5, -10), (4, -8), (2, -2), (0, 4), (-1, 6), (-3, 8), (-6, 9), (-8, 9), (-9, 8), (-9, 6), (-8, 5), (-7, 6), (-8, 7)]]),
(-9, 8, [[(7, -12), (5, -10), (3, -7), (1, -2), (-2, 7), (-4, 11)], [(7, -5), (5, -3), (2, -2), (-1, -2), (-3, -3), (-4, -5), (-4, -7), (-3, -9), (-1, -11), (3, -12), (7, -12), (5, -9), (4, -7), (1, 2), (-1, 6), (-2, 8), (-4, 11), (-5, 12), (-7, 13), (-8, 12), (-8, 10), (-7, 8), (-5, 6), (-3, 5), (0, 4), (4, 3)]]),
(-12, 12, [[(-6, -6), (-7, -7), (-7, -9), (-5, -11), (-2, -12), (0, -12), (-3, -1), (-5, 5), (-6, 7), (-7, 8), (-9, 9), (-11, 9), (-12, 8), (-12, 6), (-11, 5), (-10, 6), (-11, 7)], [(0, -12), (-3, -3), (-4, 0), (-6, 5), (-7, 7), (-9, 9)], [(8, -11), (5, -7), (3, -5), (1, -4), (-2, -3)], [(11, -11), (10, -10), (11, -9), (12, -10), (12, -11), (11, -12), (10, -12), (8, -11), (5, -6), (4, -5), (2, -4), (-2, -3)], [(-2, -3), (1, -2), (2, 0), (3, 7), (4, 9)], [(-2, -3), (0, -2), (1, 0), (2, 7), (4, 9), (5, 9), (7, 8), (9, 6)]]),
(-9, 9, [[(-5, -9), (-6, -7), (-6, -5), (-5, -3), (-3, -2), (0, -2), (3, -3), (5, -4), (8, -7), (9, -10), (9, -11), (8, -12), (7, -12), (5, -11), (4, -10), (2, -7), (-2, 3), (-3, 5), (-5, 8), (-7, 9)], [(4, -10), (2, -6), (0, 1), (-1, 4), (-2, 6), (-4, 8), (-7, 9), (-9, 9), (-10, 8), (-10, 6), (-9, 5), (-7, 5), (-5, 6), (-2, 8), (0, 9), (3, 9), (5, 8), (7, 6)]]),
(-14, 14, [[(0, -12), (-4, -3), (-7, 3), (-9, 6), (-11, 8), (-13, 9), (-15, 9), (-16, 8), (-16, 6), (-15, 5), (-14, 6), (-15, 7)], [(0, -12), (-2, -5), (-3, -1), (-4, 4), (-4, 8), (-2, 9)], [(0, -12), (-1, -8), (-2, -3), (-3, 4), (-3, 8), (-2, 9)], [(9, -12), (5, -3), (0, 6), (-2, 9)], [(9, -12), (7, -5), (6, -1), (5, 4), (5, 8), (7, 9), (8, 9), (10, 8), (12, 6)], [(9, -12), (8, -8), (7, -3), (6, 4), (6, 8), (7, 9)]]),
(-11, 12, [[(0, -12), (-1, -8), (-3, -2), (-5, 3), (-6, 5), (-8, 8), (-10, 9), (-12, 9), (-13, 8), (-13, 6), (-12, 5), (-11, 6), (-12, 7)], [(0, -12), (0, -7), (1, 4), (2, 9)], [(0, -12), (1, -7), (2, 4), (2, 9)], [(14, -11), (13, -10), (14, -9), (15, -10), (15, -11), (14, -12), (12, -12), (10, -11), (8, -8), (7, -6), (5, -1), (3, 5), (2, 9)]]),
(-10, 11, [[(1, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -4), (-7, 0), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 1), (8, -3), (8, -7), (7, -10), (6, -11), (5, -11), (3, -10), (1, -8), (-1, -4), (-2, 1), (-2, 4)], [(-1, -11), (-3, -8), (-5, -4), (-6, 0), (-6, 4), (-5, 7), (-3, 9)]]),
(-12, 11, [[(3, -11), (2, -10), (1, -8), (-1, -3), (-3, 3), (-4, 5), (-6, 8), (-8, 9)], [(2, -10), (1, -7), (-1, 1), (-2, 4), (-3, 6), (-5, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6), (-10, 5), (-9, 6), (-10, 7)], [(-3, -6), (-4, -4), (-5, -3), (-7, -3), (-8, -4), (-8, -6), (-7, -8), (-5, -10), (-3, -11), (0, -12), (4, -12), (7, -11), (8, -10), (9, -8), (9, -5), (8, -3), (7, -2), (4, -1), (2, -1), (0, -2)], [(4, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (4, -1)]]),
(-10, 11, [[(3, -8), (3, -6), (2, -4), (1, -3), (-1, -2), (-3, -2), (-4, -4), (-4, -6), (-3, -9), (-1, -11), (2, -12), (5, -12), (7, -11), (8, -9), (8, -5), (7, -2), (5, 1), (1, 5), (-2, 7), (-4, 8), (-7, 9), (-9, 9), (-10, 8), (-10, 6), (-9, 5), (-7, 5), (-5, 6), (-2, 8), (1, 9), (4, 9), (6, 8), (8, 6)], [(5, -12), (6, -11), (7, -9), (7, -5), (6, -2), (4, 1), (1, 4), (-3, 7), (-7, 9)]]),
(-12, 12, [[(3, -11), (2, -10), (1, -8), (-1, -3), (-3, 3), (-4, 5), (-6, 8), (-8, 9)], [(2, -10), (1, -7), (-1, 1), (-2, 4), (-3, 6), (-5, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6), (-10, 5), (-9, 6), (-10, 7)], [(-3, -6), (-4, -4), (-5, -3), (-7, -3), (-8, -4), (-8, -6), (-7, -8), (-5, -10), (-3, -11), (0, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (4, -3), (0, -3)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3)], [(0, -3), (3, -2), (4, 0), (5, 7), (6, 9)], [(0, -3), (2, -2), (3, 0), (4, 7), (6, 9), (7, 9), (9, 8), (11, 6)]]),
(-10, 10, [[(-4, -9), (-5, -7), (-5, -5), (-4, -3), (-2, -2), (1, -2), (4, -3), (6, -4), (9, -7), (10, -10), (10, -11), (9, -12), (8, -12), (6, -11), (5, -10), (4, -8), (3, -5), (1, 2), (0, 5), (-2, 8), (-4, 9)], [(4, -8), (3, -4), (2, 3), (1, 6), (-1, 8), (-4, 9), (-7, 9), (-9, 8), (-10, 6), (-10, 5), (-9, 4), (-8, 5), (-9, 6)]]),
(-9, 9, [[(7, -10), (6, -8), (4, -3), (2, 3), (1, 5), (-1, 8), (-3, 9)], [(1, -6), (0, -4), (-2, -3), (-4, -3), (-5, -5), (-5, -7), (-4, -9), (-2, -11), (1, -12), (10, -12), (8, -11), (7, -10), (6, -7), (4, 1), (3, 4), (2, 6), (0, 8), (-3, 9), (-5, 9), (-7, 8), (-8, 7), (-8, 6), (-7, 5), (-6, 6), (-7, 7)], [(3, -12), (7, -11), (8, -11)]]),
(-11, 11, [[(-10, -8), (-8, -11), (-6, -12), (-5, -12), (-3, -10), (-3, -7), (-4, -4), (-7, 4), (-7, 7), (-6, 9)], [(-5, -12), (-4, -10), (-4, -7), (-7, 1), (-8, 4), (-8, 7), (-6, 9), (-4, 9), (-2, 8), (1, 5), (3, 2), (4, 0)], [(8, -12), (4, 0), (3, 4), (3, 7), (5, 9), (6, 9), (8, 8), (10, 6)], [(9, -12), (5, 0), (4, 4), (4, 7), (5, 9)]]),
(-11, 10, [[(-10, -8), (-8, -11), (-6, -12), (-5, -12), (-3, -10), (-3, -7), (-4, -3), (-6, 4), (-6, 7), (-5, 9)], [(-5, -12), (-4, -10), (-4, -7), (-6, 0), (-7, 4), (-7, 7), (-5, 9), (-4, 9), (-1, 8), (2, 5), (4, 2), (6, -2), (7, -5), (8, -9), (8, -11), (7, -12), (6, -12), (5, -11), (4, -9), (4, -6), (5, -4), (7, -2), (9, -1), (11, -1)]]),
(-12, 11, [[(-9, -6), (-10, -6), (-11, -7), (-11, -9), (-10, -11), (-8, -12), (-4, -12), (-5, -10), (-6, -6), (-7, 3), (-8, 9)], [(-6, -6), (-6, 3), (-7, 9)], [(4, -12), (2, -10), (0, -6), (-3, 3), (-5, 7), (-7, 9)], [(4, -12), (3, -10), (2, -6), (1, 3), (0, 9)], [(2, -6), (2, 3), (1, 9)], [(14, -12), (12, -11), (10, -9), (8, -6), (5, 3), (3, 7), (1, 9)]]),
(-10, 10, [[(-2, -7), (-3, -6), (-5, -6), (-6, -7), (-6, -9), (-5, -11), (-3, -12), (-1, -12), (1, -11), (2, -9), (2, -6), (1, -2), (-1, 3), (-3, 6), (-5, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6), (-10, 5), (-9, 6), (-10, 7)], [(-1, -12), (0, -11), (1, -9), (1, -6), (0, -2), (-2, 3), (-4, 6), (-6, 8), (-8, 9)], [(11, -11), (10, -10), (11, -9), (12, -10), (12, -11), (11, -12), (9, -12), (7, -11), (5, -9), (3, -6), (1, -2), (0, 3), (0, 6), (1, 8), (2, 9), (3, 9), (5, 8), (7, 6)]]),
(-11, 11, [[(-8, -8), (-6, -11), (-4, -12), (-3, -12), (-1, -11), (-1, -9), (-3, -3), (-3, 0), (-2, 2)], [(-3, -12), (-2, -11), (-2, -9), (-4, -3), (-4, 0), (-2, 2), (0, 2), (3, 1), (5, -1), (7, -4), (8, -6)], [(10, -12), (8, -6), (5, 2), (3, 6)], [(11, -12), (9, -6), (7, -1), (5, 3), (3, 6), (1, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 5), (-8, 4), (-7, 5), (-8, 6)]]),
(-11, 10, [[(8, -10), (7, -8), (5, -3), (4, 0), (3, 2), (1, 5), (-1, 7), (-3, 8), (-6, 9)], [(1, -6), (0, -4), (-2, -3), (-4, -3), (-5, -5), (-5, -7), (-4, -9), (-2, -11), (1, -12), (11, -12), (9, -11), (8, -10), (7, -7), (6, -3), (4, 3), (2, 6), (-1, 8), (-6, 9), (-10, 9), (-11, 8), (-11, 6), (-10, 5), (-8, 5), (-6, 6), (-3, 8), (-1, 9), (2, 9), (5, 8), (7, 6)], [(4, -12), (8, -11), (9, -11)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 6, [[(4, -12), (2, -10), (1, -8), (1, -7), (2, -6), (3, -7), (2, -8)]]),
(-7, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6)], [(-2, 0), (-4, 2), (-5, 4), (-5, 7), (-3, 9)], [(4, 0), (2, 6), (2, 8), (4, 9), (6, 8), (7, 7), (9, 4)], [(5, 0), (3, 6), (3, 8), (4, 9)]]),
(-6, 8, [[(-6, 4), (-4, 1), (-2, -3)], [(1, -12), (-5, 6), (-5, 8), (-3, 9), (-2, 9), (0, 8), (2, 6), (3, 3), (3, 0), (4, 4), (5, 5), (6, 5), (8, 4)], [(2, -12), (-4, 6), (-4, 8), (-3, 9)]]),
(-6, 6, [[(2, 1), (1, 2), (2, 2), (2, 1), (1, 0), (-1, 0), (-3, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (1, 9), (4, 7), (6, 4)], [(-1, 0), (-3, 2), (-4, 4), (-4, 7), (-2, 9)]]),
(-7, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6)], [(-2, 0), (-4, 2), (-5, 4), (-5, 7), (-3, 9)], [(8, -12), (2, 6), (2, 8), (4, 9), (6, 8), (7, 7), (9, 4)], [(9, -12), (3, 6), (3, 8), (4, 9)]]),
(-6, 6, [[(-3, 7), (-1, 6), (0, 5), (1, 3), (1, 1), (0, 0), (-1, 0), (-3, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (1, 9), (4, 7), (6, 4)], [(-1, 0), (-3, 2), (-4, 4), (-4, 7), (-2, 9)]]),
(-3, 6, [[(0, 0), (3, -3), (5, -6), (6, -9), (6, -11), (5, -12), (3, -11), (2, -9), (-7, 18), (-7, 20), (-6, 21), (-4, 20), (-3, 17), (-2, 8), (-1, 9), (1, 9), (3, 8), (4, 7), (6, 4)], [(2, -9), (1, -4), (0, 0), (-3, 9), (-5, 14), (-7, 18)]]),
(-7, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6)], [(-2, 0), (-4, 2), (-5, 4), (-5, 7), (-3, 9)], [(4, 0), (-2, 18)], [(5, 0), (2, 9), (0, 14), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-3, 13), (0, 11), (4, 9), (7, 7), (9, 4)]]),
(-6, 9, [[(-6, 4), (-4, 1), (-2, -3)], [(1, -12), (-6, 9)], [(2, -12), (-5, 9)], [(-3, 3), (-1, 1), (1, 0), (2, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9)], [(2, 0), (3, 1), (3, 3), (2, 6), (2, 8), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-4, 4, [[(1, -6), (0, -5), (1, -4), (2, -5), (1, -6)], [(-1, 0), (-3, 6), (-3, 8), (-1, 9), (1, 8), (2, 7), (4, 4)], [(0, 0), (-2, 6), (-2, 8), (-1, 9)]]),
(-4, 4, [[(1, -6), (0, -5), (1, -4), (2, -5), (1, -6)], [(-1, 0), (-7, 18)], [(0, 0), (-3, 9), (-5, 14), (-7, 18), (-8, 20), (-10, 21), (-11, 20), (-11, 18), (-10, 15), (-8, 13), (-5, 11), (-1, 9), (2, 7), (4, 4)]]),
(-6, 8, [[(-6, 4), (-4, 1), (-2, -3)], [(1, -12), (-6, 9)], [(2, -12), (-5, 9)], [(3, 0), (3, 1), (4, 1), (3, 0), (2, 0), (0, 2), (-3, 3)], [(-3, 3), (0, 4), (1, 8), (2, 9)], [(-3, 3), (-1, 4), (0, 8), (2, 9), (3, 9), (6, 7), (8, 4)]]),
(-4, 4, [[(-4, 4), (-2, 1), (0, -3)], [(3, -12), (-3, 6), (-3, 8), (-1, 9), (1, 8), (2, 7), (4, 4)], [(4, -12), (-2, 6), (-2, 8), (-1, 9)]]),
(-13, 12, [[(-13, 4), (-11, 1), (-9, 0), (-7, 1), (-7, 3), (-9, 9)], [(-9, 0), (-8, 1), (-8, 3), (-10, 9)], [(-7, 3), (-5, 1), (-3, 0), (-2, 0), (0, 1), (0, 3), (-2, 9)], [(-2, 0), (-1, 1), (-1, 3), (-3, 9)], [(0, 3), (2, 1), (4, 0), (5, 0), (7, 1), (7, 3), (6, 6), (6, 8), (7, 9)], [(5, 0), (6, 1), (6, 3), (5, 6), (5, 8), (7, 9), (9, 8), (10, 7), (12, 4)]]),
(-9, 9, [[(-9, 4), (-7, 1), (-5, 0), (-3, 1), (-3, 3), (-5, 9)], [(-5, 0), (-4, 1), (-4, 3), (-6, 9)], [(-3, 3), (-1, 1), (1, 0), (2, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9)], [(2, 0), (3, 1), (3, 3), (2, 6), (2, 8), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-7, 7, [[(0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7), (3, 5), (3, 3), (2, 1), (0, 0), (-1, 1), (-1, 3), (0, 5), (2, 6), (4, 6), (6, 5), (7, 4)], [(-2, 0), (-4, 2), (-5, 4), (-5, 7), (-3, 9)]]),
(-6, 9, [[(-6, 4), (-4, 1), (-2, -3)], [(-1, -6), (-10, 21)], [(0, -6), (-9, 21)], [(-3, 3), (-1, 1), (1, 0), (2, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9)], [(2, 0), (3, 1), (3, 3), (2, 6), (2, 8), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-7, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8)], [(-2, 0), (-4, 2), (-5, 4), (-5, 7), (-3, 9)], [(4, 0), (-2, 18), (-2, 20), (-1, 21), (1, 20), (2, 17), (2, 9), (4, 9), (7, 7), (9, 4)], [(5, 0), (2, 9), (0, 14), (-2, 18)]]),
(-6, 8, [[(-6, 4), (-4, 1), (-2, 0), (0, 1), (0, 3), (-2, 9)], [(-2, 0), (-1, 1), (-1, 3), (-3, 9)], [(0, 3), (2, 1), (4, 0), (5, 0), (4, 3)], [(4, 0), (4, 3), (5, 5), (6, 5), (8, 4)]]),
(-4, 8, [[(-4, 4), (-2, 1), (-1, -1), (-1, 1), (2, 3), (3, 5), (3, 7), (2, 8), (0, 9)], [(-1, 1), (1, 3), (2, 5), (2, 7), (0, 9)], [(-4, 8), (-2, 9), (3, 9), (6, 7), (8, 4)]]),
(-4, 4, [[(-4, 4), (-2, 1), (0, -3)], [(3, -12), (-3, 6), (-3, 8), (-1, 9), (1, 8), (2, 7), (4, 4)], [(4, -12), (-2, 6), (-2, 8), (-1, 9)], [(-2, -4), (4, -4)]]),
(-7, 9, [[(-4, 0), (-6, 6), (-6, 8), (-4, 9), (-3, 9), (-1, 8), (1, 6), (3, 3)], [(-3, 0), (-5, 6), (-5, 8), (-4, 9)], [(4, 0), (2, 6), (2, 8), (4, 9), (6, 8), (7, 7), (9, 4)], [(5, 0), (3, 6), (3, 8), (4, 9)]]),
(-7, 8, [[(-4, 0), (-5, 2), (-6, 5), (-6, 8), (-4, 9), (-3, 9), (0, 8), (2, 6), (3, 3), (3, 0)], [(-3, 0), (-4, 2), (-5, 5), (-5, 8), (-4, 9)], [(3, 0), (4, 4), (5, 5), (6, 5), (8, 4)]]),
(-10, 11, [[(-6, 0), (-8, 2), (-9, 5), (-9, 8), (-7, 9), (-6, 9), (-4, 8), (-2, 6)], [(-5, 0), (-7, 2), (-8, 5), (-8, 8), (-7, 9)], [(0, 0), (-2, 6), (-2, 8), (0, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0)], [(1, 0), (-1, 6), (-1, 8), (0, 9)], [(6, 0), (7, 4), (8, 5), (9, 5), (11, 4)]]),
(-8, 8, [[(-8, 4), (-6, 1), (-4, 0), (-2, 0), (-1, 1), (-1, 3), (-2, 6), (-3, 8), (-5, 9), (-6, 9), (-7, 8), (-7, 7), (-6, 7), (-7, 8)], [(5, 1), (4, 2), (5, 2), (5, 1), (4, 0), (3, 0), (1, 1), (0, 3), (-1, 6), (-1, 8), (0, 9), (3, 9), (6, 7), (8, 4)], [(-1, 1), (0, 3)], [(1, 1), (-1, 3)], [(-2, 6), (-1, 8)], [(-1, 6), (-3, 8)]]),
(-7, 9, [[(-4, 0), (-6, 6), (-6, 8), (-4, 9), (-3, 9), (-1, 8), (1, 6), (3, 3)], [(-3, 0), (-5, 6), (-5, 8), (-4, 9)], [(4, 0), (-2, 18)], [(5, 0), (2, 9), (0, 14), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-3, 13), (0, 11), (4, 9), (7, 7), (9, 4)]]),
(-6, 7, [[(-6, 4), (-4, 1), (-2, 0), (0, 0), (2, 1), (2, 4), (1, 6), (-2, 8), (-4, 9)], [(0, 0), (1, 1), (1, 4), (0, 6), (-2, 8)], [(-4, 9), (-2, 10), (-1, 12), (-1, 15), (-2, 18), (-4, 20), (-6, 21), (-7, 20), (-7, 18), (-6, 15), (-3, 12), (0, 10), (4, 7), (7, 4)], [(-4, 9), (-3, 10), (-2, 12), (-2, 15), (-3, 18), (-4, 20)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 8, [[(1, -12), (-1, -11), (-2, -9), (-2, -7), (-1, -5), (1, -4), (3, -4), (5, -5), (6, -7), (6, -9), (5, -11), (3, -12), (1, -12)]]),
]
SCRIPTS = [
(-8, 8, [[]]),
(-5, 6, [[(3, -12), (2, -11), (0, 1)], [(3, -11), (0, 1)], [(3, -12), (4, -11), (0, 1)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-9, 9, [[(-2, -12), (-4, -5)], [(-1, -12), (-4, -5)], [(7, -12), (5, -5)], [(8, -12), (5, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 11, [[(2, -16), (-6, 13)], [(7, -16), (-1, 13)], [(8, -8), (7, -7), (8, -6), (9, -7), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -7), (-4, -5), (-3, -4), (4, 0), (6, 2)], [(-5, -7), (-3, -5), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -4), (9, -3), (10, -2), (11, -3), (11, -4), (10, -5), (9, -5), (7, -4), (5, -2), (0, 6), (-2, 8), (-4, 9), (-7, 9), (-10, 8), (-11, 6), (-11, 4), (-10, 2), (-9, 1), (-7, 0), (-2, -2), (0, -3), (2, -5), (3, -7), (3, -9), (2, -11), (0, -12), (-2, -11), (-3, -9), (-3, -6), (-2, 0), (-1, 3), (1, 6), (3, 8), (5, 9), (7, 9), (8, 7), (8, 6)], [(-7, 9), (-9, 8), (-10, 6), (-10, 4), (-9, 2), (-8, 1), (-2, -2)], [(-3, -6), (-2, -1), (-1, 2), (1, 5), (3, 7), (5, 8), (7, 8), (8, 7)]]),
(-5, 6, [[(3, -10), (2, -11), (3, -12), (4, -11), (4, -10), (3, -8), (1, -6)]]),
(-7, 8, [[(8, -16), (4, -13), (1, -10), (-1, -7), (-3, -3), (-4, 2), (-4, 6), (-3, 11), (-2, 14), (-1, 16)], [(4, -13), (1, -9), (-1, -5), (-2, -2), (-3, 3), (-3, 8), (-2, 13), (-1, 16)]]),
(-8, 7, [[(1, -16), (2, -14), (3, -11), (4, -6), (4, -2), (3, 3), (1, 7), (-1, 10), (-4, 13), (-8, 16)], [(1, -16), (2, -13), (3, -8), (3, -3), (2, 2), (1, 5), (-1, 9), (-4, 13)]]),
(-8, 9, [[(2, -12), (2, 0)], [(-3, -9), (7, -3)], [(7, -9), (-3, -3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 6, [[(-2, 9), (-3, 8), (-2, 7), (-1, 8), (-1, 9), (-2, 11), (-4, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 5, [[(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-11, 11, [[(13, -16), (-13, 16)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-3, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)]]),
(-10, 11, [[(2, -8), (-3, 9)], [(4, -12), (-2, 9)], [(4, -12), (1, -9), (-2, -7), (-4, -6)], [(3, -9), (-1, -7), (-4, -6)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (5, -3), (2, -1), (-2, 1), (-5, 3), (-7, 5), (-9, 9)], [(4, -12), (6, -11), (7, -9), (7, -7), (6, -5), (4, -3), (-2, 1)], [(-8, 7), (-7, 6), (-5, 6), (0, 8), (3, 8), (5, 7), (6, 5)], [(-5, 6), (0, 9), (3, 9), (5, 8), (6, 5)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (4, -3), (1, -2)], [(4, -12), (6, -11), (7, -9), (7, -7), (6, -5), (4, -3)], [(-1, -2), (1, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(1, -2), (3, -1), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (1, 9)]]),
(-10, 11, [[(6, -11), (0, 9)], [(7, -12), (1, 9)], [(7, -12), (-8, 3), (8, 3)]]),
(-10, 11, [[(-1, -12), (-6, -2)], [(-1, -12), (9, -12)], [(-1, -11), (4, -11), (9, -12)], [(-6, -2), (-5, -3), (-2, -4), (1, -4), (4, -3), (5, -2), (6, 0), (6, 3), (5, 6), (3, 8), (0, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(1, -4), (3, -3), (4, -2), (5, 0), (5, 3), (4, 6), (2, 8), (0, 9)]]),
(-10, 11, [[(7, -9), (6, -8), (7, -7), (8, -8), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 1), (5, -1), (4, -2), (2, -3), (-1, -3), (-3, -2), (-5, 0), (-6, 2)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 6), (-5, 8)], [(0, 9), (2, 8), (4, 6), (5, 4), (5, 0), (4, -2)]]),
(-10, 11, [[(-4, -12), (-6, -6)], [(9, -12), (8, -9), (6, -6), (1, 0), (-1, 3), (-2, 5), (-3, 9)], [(6, -6), (0, 0), (-2, 3), (-3, 5), (-4, 9)], [(-5, -9), (-2, -12), (0, -12), (5, -9)], [(-4, -10), (-2, -11), (0, -11), (5, -9), (7, -9), (8, -10), (9, -12)]]),
(-10, 11, [[(1, -12), (-2, -11), (-3, -10), (-4, -8), (-4, -5), (-3, -3), (-1, -2), (2, -2), (6, -3), (7, -4), (8, -6), (8, -9), (7, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-2, -10), (-3, -8), (-3, -5), (-2, -3), (-1, -2)], [(2, -2), (5, -3), (6, -4), (7, -6), (7, -9), (6, -11), (4, -12)], [(-1, -2), (-5, -1), (-7, 1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (4, 8), (5, 7), (6, 5), (6, 2), (5, 0), (4, -1), (2, -2)], [(-1, -2), (-4, -1), (-6, 1), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(0, 9), (3, 8), (4, 7), (5, 5), (5, 1), (4, -1)]]),
(-10, 11, [[(7, -5), (6, -3), (4, -1), (2, 0), (-1, 0), (-3, -1), (-4, -2), (-5, -4), (-5, -7), (-4, -9), (-2, -11), (1, -12), (4, -12), (6, -11), (7, -10), (8, -8), (8, -4), (7, 0), (6, 3), (4, 6), (2, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)], [(-3, -1), (-4, -3), (-4, -7), (-3, -9), (-1, -11), (1, -12)], [(6, -11), (7, -9), (7, -4), (6, 0), (5, 3), (3, 6), (1, 8), (-1, 9)]]),
(-5, 6, [[(1, -5), (0, -4), (1, -3), (2, -4), (1, -5)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8)]]),
(-5, 6, [[(1, -5), (0, -4), (1, -3), (2, -4), (1, -5)], [(-2, 9), (-3, 8), (-2, 7), (-1, 8), (-1, 9), (-2, 11), (-4, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (1, -2), (-1, -1), (-1, 1), (0, 2), (2, 2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-11, 9, [[(-11, 9), (-9, 8), (-6, 5), (-3, 1), (1, -6), (4, -12), (4, 9), (3, 6), (1, 3), (-1, 1), (-4, -1), (-6, -1), (-7, 0), (-7, 2), (-6, 4), (-4, 6), (-1, 8), (2, 9), (7, 9)]]),
(-12, 11, [[(1, -10), (2, -9), (2, -6), (1, -2), (0, 1), (-1, 3), (-3, 6), (-5, 8), (-7, 9), (-8, 9), (-9, 8), (-9, 5), (-8, 0), (-7, -3), (-6, -5), (-4, -8), (-2, -10), (0, -11), (3, -12), (6, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (5, -3), (2, -2)], [(1, -2), (2, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9), (0, 9), (-2, 8), (-3, 6)]]),
(-10, 10, [[(2, -6), (2, -5), (3, -4), (5, -4), (7, -5), (8, -7), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -4), (-7, 0), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (5, 4)]]),
(-11, 12, [[(2, -12), (0, -11), (-1, -9), (-2, -5), (-3, 1), (-4, 4), (-5, 6), (-7, 8), (-9, 9), (-11, 9), (-12, 8), (-12, 6), (-11, 5), (-9, 5), (-7, 6), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 6), (8, 2), (9, -3), (9, -7), (8, -10), (7, -11), (5, -12), (2, -12), (0, -10), (0, -8), (1, -5), (3, -2), (5, 0), (8, 2), (10, 3)]]),
(-10, 10, [[(4, -8), (4, -7), (5, -6), (7, -6), (8, -7), (8, -9), (7, -11), (4, -12), (0, -12), (-3, -11), (-4, -9), (-4, -6), (-3, -4), (-2, -3), (1, -2), (-2, -2), (-5, -1), (-6, 0), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 6), (7, 4)]]),
(-10, 10, [[(0, -6), (-2, -6), (-4, -7), (-5, -9), (-4, -11), (-1, -12), (2, -12), (6, -11), (9, -11), (11, -12)], [(6, -11), (4, -4), (2, 2), (0, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 4), (-8, 3), (-6, 3), (-4, 4)], [(-1, -2), (8, -2)]]),
(-11, 12, [[(-11, 9), (-9, 8), (-5, 4), (-2, -1), (-1, -4), (0, -8), (0, -11), (-1, -12), (-2, -12), (-3, -11), (-4, -9), (-4, -6), (-3, -4), (-1, -3), (3, -3), (6, -4), (7, -5), (8, -7), (8, -1), (7, 4), (6, 6), (4, 8), (1, 9), (-3, 9), (-6, 8), (-8, 6), (-9, 4), (-9, 2)]]),
(-12, 12, [[(-5, -5), (-7, -6), (-8, -8), (-8, -9), (-7, -11), (-5, -12), (-4, -12), (-2, -11), (-1, -9), (-1, -7), (-2, -3), (-4, 3), (-6, 7), (-8, 9), (-10, 9), (-11, 8), (-11, 6)], [(-5, 0), (4, -3), (6, -4), (9, -6), (11, -8), (12, -10), (12, -11), (11, -12), (10, -12), (8, -10), (6, -6), (4, 0), (3, 5), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-9, 8, [[(5, 4), (3, 2), (1, -1), (0, -3), (-1, -6), (-1, -9), (0, -11), (1, -12), (3, -12), (4, -11), (5, -9), (5, -6), (4, -1), (2, 4), (1, 6), (-1, 8), (-3, 9), (-5, 9), (-7, 8), (-8, 6), (-8, 4), (-7, 3), (-5, 3), (-3, 4)]]),
(-8, 7, [[(2, 12), (0, 9), (-2, 4), (-3, -2), (-3, -8), (-2, -11), (0, -12), (2, -12), (3, -11), (4, -8), (4, -5), (3, 0), (0, 9), (-2, 15), (-3, 18), (-4, 20), (-6, 21), (-7, 20), (-7, 18), (-6, 15), (-4, 12), (-2, 10), (1, 8), (5, 6)]]),
(-12, 12, [[(-5, -5), (-7, -6), (-8, -8), (-8, -9), (-7, -11), (-5, -12), (-4, -12), (-2, -11), (-1, -9), (-1, -7), (-2, -3), (-4, 3), (-6, 7), (-8, 9), (-10, 9), (-11, 8), (-11, 6)], [(12, -9), (12, -11), (11, -12), (10, -12), (8, -11), (6, -9), (4, -6), (2, -4), (0, -3), (-2, -3)], [(0, -3), (1, -1), (1, 6), (2, 8), (3, 9), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-9, 10, [[(-5, 0), (-3, 0), (1, -1), (4, -3), (6, -5), (7, -7), (7, -10), (6, -12), (4, -12), (3, -11), (2, -9), (1, -4), (0, 1), (-1, 4), (-2, 6), (-4, 8), (-6, 9), (-8, 9), (-9, 8), (-9, 6), (-8, 5), (-6, 5), (-4, 6), (-1, 8), (2, 9), (4, 9), (7, 8), (9, 6)]]),
(-18, 15, [[(-13, -5), (-15, -6), (-16, -8), (-16, -9), (-15, -11), (-13, -12), (-12, -12), (-10, -11), (-9, -9), (-9, -7), (-10, -2), (-11, 2), (-13, 9)], [(-11, 2), (-8, -6), (-6, -10), (-5, -11), (-3, -12), (-2, -12), (0, -11), (1, -9), (1, -7), (0, -2), (-1, 2), (-3, 9)], [(-1, 2), (2, -6), (4, -10), (5, -11), (7, -12), (8, -12), (10, -11), (11, -9), (11, -7), (10, -2), (8, 5), (8, 8), (9, 9), (10, 9), (12, 8), (13, 7), (15, 4)]]),
(-13, 11, [[(-8, -5), (-10, -6), (-11, -8), (-11, -9), (-10, -11), (-8, -12), (-7, -12), (-5, -11), (-4, -9), (-4, -7), (-5, -2), (-6, 2), (-8, 9)], [(-6, 2), (-3, -6), (-1, -10), (0, -11), (2, -12), (4, -12), (6, -11), (7, -9), (7, -7), (6, -2), (4, 5), (4, 8), (5, 9), (6, 9), (8, 8), (9, 7), (11, 4)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -4), (-7, 0), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 1), (8, -3), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12), (0, -10), (0, -7), (1, -4), (3, -1), (5, 1), (8, 3), (10, 4)]]),
(-12, 13, [[(1, -10), (2, -9), (2, -6), (1, -2), (0, 1), (-1, 3), (-3, 6), (-5, 8), (-7, 9), (-8, 9), (-9, 8), (-9, 5), (-8, 0), (-7, -3), (-6, -5), (-4, -8), (-2, -10), (0, -11), (3, -12), (8, -12), (10, -11), (11, -10), (12, -8), (12, -5), (11, -3), (10, -2), (8, -1), (5, -1), (3, -2), (2, -3)]]),
(-10, 12, [[(3, -6), (2, -4), (1, -3), (-1, -2), (-3, -2), (-4, -4), (-4, -6), (-3, -9), (-1, -11), (2, -12), (5, -12), (7, -11), (8, -9), (8, -5), (7, -2), (5, 1), (1, 5), (-2, 7), (-4, 8), (-7, 9), (-9, 9), (-10, 8), (-10, 6), (-9, 5), (-7, 5), (-5, 6), (-2, 8), (1, 9), (4, 9), (7, 8), (9, 6)]]),
(-12, 13, [[(1, -10), (2, -9), (2, -6), (1, -2), (0, 1), (-1, 3), (-3, 6), (-5, 8), (-7, 9), (-8, 9), (-9, 8), (-9, 5), (-8, 0), (-7, -3), (-6, -5), (-4, -8), (-2, -10), (0, -11), (3, -12), (7, -12), (9, -11), (10, -10), (11, -8), (11, -5), (10, -3), (9, -2), (7, -1), (4, -1), (1, -2), (2, -1), (3, 1), (3, 6), (4, 8), (6, 9), (8, 8), (9, 7), (11, 4)]]),
(-10, 10, [[(-10, 9), (-8, 8), (-6, 6), (-3, 2), (-1, -1), (1, -5), (2, -8), (2, -11), (1, -12), (0, -12), (-1, -11), (-2, -9), (-2, -7), (-1, -5), (1, -3), (4, -1), (6, 1), (7, 3), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6), (-8, 4), (-8, 2)]]),
(-10, 9, [[(0, -6), (-2, -6), (-4, -7), (-5, -9), (-4, -11), (-1, -12), (2, -12), (6, -11), (9, -11), (11, -12)], [(6, -11), (4, -4), (2, 2), (0, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 4), (-8, 3), (-6, 3), (-4, 4)]]),
(-13, 11, [[(-8, -5), (-10, -6), (-11, -8), (-11, -9), (-10, -11), (-8, -12), (-7, -12), (-5, -11), (-4, -9), (-4, -7), (-5, -3), (-6, 0), (-7, 4), (-7, 6), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (3, 3), (6, -5), (8, -12)], [(6, -5), (5, -1), (4, 5), (4, 8), (5, 9), (6, 9), (8, 8), (9, 7), (11, 4)]]),
(-12, 11, [[(-7, -5), (-9, -6), (-10, -8), (-10, -9), (-9, -11), (-7, -12), (-6, -12), (-4, -11), (-3, -9), (-3, -7), (-4, -3), (-5, 0), (-6, 4), (-6, 7), (-5, 9), (-3, 9), (-1, 8), (2, 5), (4, 2), (6, -2), (7, -5), (8, -9), (8, -11), (7, -12), (6, -12), (5, -11), (4, -9), (4, -7), (5, -4), (7, -2), (9, -1)]]),
(-15, 13, [[(-10, -5), (-12, -6), (-13, -8), (-13, -9), (-12, -11), (-10, -12), (-9, -12), (-7, -11), (-6, -9), (-6, -6), (-7, 9)], [(3, -12), (-7, 9)], [(3, -12), (1, 9)], [(15, -12), (13, -11), (10, -8), (7, -4), (4, 2), (1, 9)]]),
(-12, 12, [[(-4, -6), (-6, -6), (-7, -7), (-7, -9), (-6, -11), (-4, -12), (-2, -12), (0, -11), (1, -9), (1, -6), (-1, 3), (-1, 6), (0, 8), (2, 9), (4, 9), (6, 8), (7, 6), (7, 4), (6, 3), (4, 3)], [(11, -9), (11, -11), (10, -12), (8, -12), (6, -11), (4, -9), (2, -6), (-2, 3), (-4, 6), (-6, 8), (-8, 9), (-10, 9), (-11, 8), (-11, 6)]]),
(-12, 11, [[(-7, -5), (-9, -6), (-10, -8), (-10, -9), (-9, -11), (-7, -12), (-6, -12), (-4, -11), (-3, -9), (-3, -7), (-4, -3), (-5, 0), (-6, 4), (-6, 6), (-5, 8), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 3), (5, 1), (7, -5)], [(9, -12), (7, -5), (4, 5), (2, 11), (0, 16), (-2, 20), (-4, 21), (-5, 20), (-5, 18), (-4, 15), (-2, 12), (1, 9), (4, 7), (9, 4)]]),
(-10, 11, [[(3, -6), (2, -4), (1, -3), (-1, -2), (-3, -2), (-4, -4), (-4, -6), (-3, -9), (-1, -11), (2, -12), (5, -12), (7, -11), (8, -9), (8, -5), (7, -2), (5, 2), (2, 5), (-2, 8), (-4, 9), (-7, 9), (-8, 8), (-8, 6), (-7, 5), (-4, 5), (-2, 6), (-1, 7), (0, 9), (0, 12), (-1, 15), (-2, 17), (-4, 20), (-6, 21), (-7, 20), (-7, 18), (-6, 15), (-4, 12), (-1, 9), (2, 7), (8, 4)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-8, 8, [[(-2, -6), (0, -9), (2, -6)], [(-5, -3), (0, -8), (5, -3)], [(0, -8), (0, 9)]]),
(-8, 8, [[(-8, 11), (8, 11)]]),
(-5, 6, [[(4, -12), (2, -10), (1, -8), (1, -7), (2, -6), (3, -7), (2, -8)]]),
(-6, 10, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6), (4, 0), (3, 5), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-5, 9, [[(-5, 4), (-3, 1), (0, -4), (1, -6), (2, -9), (2, -11), (1, -12), (-1, -11), (-2, -9), (-3, -5), (-4, 2), (-4, 8), (-3, 9), (-2, 9), (0, 8), (2, 6), (3, 3), (3, 0), (4, 4), (5, 5), (7, 5), (9, 4)]]),
(-5, 6, [[(2, 2), (2, 1), (1, 0), (-1, 0), (-3, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9), (1, 9), (4, 7), (6, 4)]]),
(-6, 10, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 6), (8, -12)], [(4, 0), (3, 5), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-4, 6, [[(-3, 7), (-1, 6), (0, 5), (1, 3), (1, 1), (0, 0), (-1, 0), (-3, 1), (-4, 3), (-4, 6), (-3, 8), (-1, 9), (1, 9), (3, 8), (4, 7), (6, 4)]]),
(-3, 5, [[(-3, 4), (1, -1), (3, -4), (4, -6), (5, -9), (5, -11), (4, -12), (2, -11), (1, -9), (-1, -1), (-4, 8), (-7, 15), (-8, 18), (-8, 20), (-7, 21), (-5, 20), (-4, 17), (-3, 8), (-2, 9), (0, 9), (2, 8), (3, 7), (5, 4)]]),
(-6, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7)], [(4, 0), (2, 7), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-2, 12), (1, 10), (3, 9), (6, 7), (9, 4)]]),
(-5, 10, [[(-5, 4), (-3, 1), (0, -4), (1, -6), (2, -9), (2, -11), (1, -12), (-1, -11), (-2, -9), (-3, -5), (-4, 1), (-5, 9)], [(-5, 9), (-4, 6), (-3, 4), (-1, 1), (1, 0), (3, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-2, 5, [[(1, -5), (1, -4), (2, -4), (2, -5), (1, -5)], [(-2, 4), (0, 0), (-2, 6), (-2, 8), (-1, 9), (0, 9), (2, 8), (3, 7), (5, 4)]]),
(-2, 5, [[(1, -5), (1, -4), (2, -4), (2, -5), (1, -5)], [(-2, 4), (0, 0), (-6, 18), (-7, 20), (-9, 21), (-10, 20), (-10, 18), (-9, 15), (-6, 12), (-3, 10), (-1, 9), (2, 7), (5, 4)]]),
(-5, 9, [[(-5, 4), (-3, 1), (0, -4), (1, -6), (2, -9), (2, -11), (1, -12), (-1, -11), (-2, -9), (-3, -5), (-4, 1), (-5, 9)], [(-5, 9), (-4, 6), (-3, 4), (-1, 1), (1, 0), (3, 0), (4, 1), (4, 3), (2, 4), (-1, 4)], [(-1, 4), (1, 5), (2, 8), (3, 9), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-3, 5, [[(-3, 4), (-1, 1), (2, -4), (3, -6), (4, -9), (4, -11), (3, -12), (1, -11), (0, -9), (-1, -5), (-2, 2), (-2, 8), (-1, 9), (0, 9), (2, 8), (3, 7), (5, 4)]]),
(-13, 12, [[(-13, 4), (-11, 1), (-9, 0), (-8, 1), (-8, 2), (-9, 6), (-10, 9)], [(-9, 6), (-8, 4), (-6, 1), (-4, 0), (-2, 0), (-1, 1), (-1, 2), (-2, 6), (-3, 9)], [(-2, 6), (-1, 4), (1, 1), (3, 0), (5, 0), (6, 1), (6, 3), (5, 6), (5, 8), (6, 9), (7, 9), (9, 8), (10, 7), (12, 4)]]),
(-8, 10, [[(-8, 4), (-6, 1), (-4, 0), (-3, 1), (-3, 2), (-4, 6), (-5, 9)], [(-4, 6), (-3, 4), (-1, 1), (1, 0), (3, 0), (4, 1), (4, 3), (3, 6), (3, 8), (4, 9), (5, 9), (7, 8), (8, 7), (10, 4)]]),
(-6, 8, [[(0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7), (3, 5), (3, 3), (2, 1), (0, 0), (-1, 1), (-1, 3), (0, 5), (2, 6), (5, 6), (7, 5), (8, 4)]]),
(-7, 8, [[(-7, 4), (-5, 1), (-4, -1), (-5, 3), (-11, 21)], [(-5, 3), (-4, 1), (-2, 0), (0, 0), (2, 1), (3, 3), (3, 5), (2, 7), (1, 8), (-1, 9)], [(-5, 8), (-3, 9), (0, 9), (3, 8), (5, 7), (8, 4)]]),
(-6, 9, [[(3, 3), (2, 1), (0, 0), (-2, 0), (-4, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8)], [(4, 0), (3, 3), (1, 8), (-2, 15), (-3, 18), (-3, 20), (-2, 21), (0, 20), (1, 17), (1, 10), (3, 9), (6, 7), (9, 4)]]),
(-5, 8, [[(-5, 4), (-3, 1), (-2, -1), (-2, 1), (1, 1), (2, 2), (2, 4), (1, 7), (1, 8), (2, 9), (3, 9), (5, 8), (6, 7), (8, 4)]]),
(-4, 7, [[(-4, 4), (-2, 1), (-1, -1), (-1, 1), (1, 4), (2, 6), (2, 8), (0, 9)], [(-4, 8), (-2, 9), (2, 9), (4, 8), (5, 7), (7, 4)]]),
(-3, 6, [[(-3, 4), (-1, 1), (1, -3)], [(4, -12), (-2, 6), (-2, 8), (-1, 9), (1, 9), (3, 8), (4, 7), (6, 4)], [(-2, -4), (5, -4)]]),
(-6, 9, [[(-6, 4), (-4, 0), (-6, 6), (-6, 8), (-5, 9), (-3, 9), (-1, 8), (1, 6), (3, 3)], [(4, 0), (2, 6), (2, 8), (3, 9), (4, 9), (6, 8), (7, 7), (9, 4)]]),
(-6, 9, [[(-6, 4), (-4, 0), (-5, 5), (-5, 8), (-4, 9), (-3, 9), (0, 8), (2, 6), (3, 3), (3, 0)], [(3, 0), (4, 4), (5, 5), (7, 5), (9, 4)]]),
(-9, 12, [[(-6, 0), (-8, 2), (-9, 5), (-9, 7), (-8, 9), (-6, 9), (-4, 8), (-2, 6)], [(0, 0), (-2, 6), (-2, 8), (-1, 9), (1, 9), (3, 8), (5, 6), (6, 3), (6, 0)], [(6, 0), (7, 4), (8, 5), (10, 5), (12, 4)]]),
(-8, 8, [[(-8, 4), (-6, 1), (-4, 0), (-2, 0), (-1, 1), (-1, 8), (0, 9), (3, 9), (6, 7), (8, 4)], [(5, 1), (4, 0), (2, 0), (1, 1), (-3, 8), (-4, 9), (-6, 9), (-7, 8)]]),
(-6, 9, [[(-6, 4), (-4, 0), (-6, 6), (-6, 8), (-5, 9), (-3, 9), (-1, 8), (1, 6), (3, 3)], [(4, 0), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-2, 12), (1, 10), (3, 9), (6, 7), (9, 4)]]),
(-6, 8, [[(-6, 4), (-4, 1), (-2, 0), (0, 0), (2, 2), (2, 4), (1, 6), (-1, 8), (-4, 9), (-2, 10), (-1, 12), (-1, 15), (-2, 18), (-3, 20), (-5, 21), (-6, 20), (-6, 18), (-5, 15), (-2, 12), (1, 10), (5, 7), (8, 4)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
]
SYMBOLIC = [
(-8, 8, [[]]),
(-14, 14, [[(-14, 0), (14, 0)]]),
(-14, 14, [[(-14, 14), (14, -14)]]),
(0, 0, [[(0, -20), (0, 20)]]),
(-14, 14, [[(-14, -14), (14, 14)]]),
(-14, 14, [[(-14, 0), (14, 0)]]),
(-12, 12, [[(-12, 7), (12, -7)]]),
(-7, 7, [[(-7, 12), (7, -12)]]),
(0, 0, [[(0, -14), (0, 14)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-12, 12, [[(-12, -7), (12, 7)]]),
(-7, 7, [[(-7, 0), (7, 0)]]),
(-5, 5, [[(-5, 5), (5, -5)]]),
(0, 0, [[(0, -7), (0, 7)]]),
(-5, 5, [[(-5, -5), (5, 5)]]),
(-11, 0, [[(0, -11), (-2, -11), (-5, -10), (-8, -8), (-10, -5), (-11, -2), (-11, 0)]]),
(-11, 0, [[(-11, 0), (-11, 2), (-10, 5), (-8, 8), (-5, 10), (-2, 11), (0, 11)]]),
(0, 11, [[(0, 11), (2, 11), (5, 10), (8, 8), (10, 5), (11, 2), (11, 0)]]),
(0, 11, [[(11, 0), (11, -2), (10, -5), (8, -8), (5, -10), (2, -11), (0, -11)]]),
(-14, 14, [[(-14, -3), (-11, -1), (-7, 1), (-2, 2), (2, 2), (7, 1), (11, -1), (14, -3)]]),
(-2, 3, [[(3, -14), (1, -11), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (1, 11), (3, 14)]]),
(-3, 2, [[(-3, -14), (-1, -11), (1, -7), (2, -2), (2, 2), (1, 7), (-1, 11), (-3, 14)]]),
(-14, 14, [[(-14, 3), (-11, 1), (-7, -1), (-2, -2), (2, -2), (7, -1), (11, 1), (14, 3)]]),
(-7, 7, [[(0, -8), (7, -4), (-7, 4), (0, 8)]]),
(-8, 8, [[(-8, 0), (-4, -7), (4, 7), (8, 0)]]),
(-7, 7, [[(-7, 4), (-7, -4), (7, 4), (7, -4)]]),
(-8, 8, [[(-6, 6), (-8, -2), (8, 2), (6, -6)]]),
(-8, 8, [[(-8, 11), (-6, 11), (-3, 10), (-1, 9), (2, 6), (3, 4), (4, 1), (4, -3), (3, -6), (2, -8), (1, -9), (-1, -9), (-2, -8), (-3, -6), (-4, -3), (-4, 1), (-3, 4), (-2, 6), (1, 9), (3, 10), (6, 11), (8, 11)]]),
(-9, 11, [[(11, 8), (11, 6), (10, 3), (9, 1), (6, -2), (4, -3), (1, -4), (-3, -4), (-6, -3), (-8, -2), (-9, -1), (-9, 1), (-8, 2), (-6, 3), (-3, 4), (1, 4), (4, 3), (6, 2), (9, -1), (10, -3), (11, -6), (11, -8)]]),
(-8, 8, [[(8, -11), (6, -11), (3, -10), (1, -9), (-2, -6), (-3, -4), (-4, -1), (-4, 3), (-3, 6), (-2, 8), (-1, 9), (1, 9), (2, 8), (3, 6), (4, 3), (4, -1), (3, -4), (2, -6), (-1, -9), (-3, -10), (-6, -11), (-8, -11)]]),
(-11, 9, [[(-11, -8), (-11, -6), (-10, -3), (-9, -1), (-6, 2), (-4, 3), (-1, 4), (3, 4), (6, 3), (8, 2), (9, 1), (9, -1), (8, -2), (6, -3), (3, -4), (-1, -4), (-4, -3), (-6, -2), (-9, 1), (-10, 3), (-11, 6), (-11, 8)]]),
(-13, 9, [[(-13, -2), (-12, 0), (-10, 2), (-8, 3), (-5, 4), (-1, 4), (3, 3), (6, 1), (8, -2), (9, -4), (8, -6), (5, -6), (1, -5), (-1, -4), (-4, -2), (-6, 1), (-7, 4), (-7, 7), (-6, 10), (-5, 12)]]),
(-13, 7, [[(-13, 2), (-10, 4), (-7, 5), (-2, 5), (1, 4), (4, 2), (6, -1), (7, -4), (7, -6), (6, -7), (4, -7), (1, -6), (-2, -4), (-4, -1), (-5, 2), (-5, 7), (-4, 10), (-2, 13)]]),
(-3, 3, [[(-1, -3), (-3, -1), (-3, 1), (-1, 3), (1, 3), (3, 1), (3, -1), (1, -3), (-1, -3)], [(-1, -2), (-2, -1), (-2, 1), (-1, 2), (1, 2), (2, 1), (2, -1), (1, -2), (-1, -2)], [(0, -1), (-1, 0), (0, 1), (1, 0), (0, -1)]]),
(0, 5, [[(0, -5), (1, -5), (3, -4), (4, -3), (5, -1), (5, 1), (4, 3), (3, 4), (1, 5), (0, 5)]]),
(-14, 14, [[(-14, 0), (-8, 0)], [(-3, 0), (3, 0)], [(8, 0), (14, 0)]]),
(-14, 14, [[(-14, 3), (-14, -3), (14, -3), (14, 3)]]),
(-8, 8, [[(0, -14), (-8, 0)], [(0, -14), (8, 0)]]),
(-14, 14, [[(-14, 0), (14, 0)], [(-8, 7), (8, 7)], [(-2, 14), (2, 14)]]),
(-14, 14, [[(-14, 0), (14, 0)], [(-14, 0), (0, 16)], [(14, 0), (0, 16)]]),
(-7, 7, [[(-1, -7), (-4, -6), (-6, -4), (-7, -1), (-7, 1), (-6, 4), (-4, 6), (-1, 7), (1, 7), (4, 6), (6, 4), (7, 1), (7, -1), (6, -4), (4, -6), (1, -7), (-1, -7)]]),
(-6, 6, [[(-6, -6), (-6, 6), (6, 6), (6, -6), (-6, -6)]]),
(-7, 7, [[(0, -8), (-7, 4), (7, 4), (0, -8)]]),
(-6, 6, [[(0, -10), (-6, 0), (0, 10), (6, 0), (0, -10)]]),
(-8, 8, [[(0, -9), (-2, -3), (-8, -3), (-3, 1), (-5, 7), (0, 3), (5, 7), (3, 1), (8, -3), (2, -3), (0, -9)]]),
(-7, 7, [[(0, -7), (0, 7)], [(-7, 0), (7, 0)]]),
(-5, 5, [[(-5, -5), (5, 5)], [(5, -5), (-5, 5)]]),
(-5, 5, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-4, 4, [[(-1, -4), (-3, -3), (-4, -1), (-4, 1), (-3, 3), (-1, 4), (1, 4), (3, 3), (4, 1), (4, -1), (3, -3), (1, -4), (-1, -4)], [(-3, -1), (-3, 1)], [(-2, -2), (-2, 2)], [(-1, -3), (-1, 3)], [(0, -3), (0, 3)], [(1, -3), (1, 3)], [(2, -2), (2, 2)], [(3, -1), (3, 1)]]),
(-4, 4, [[(-4, -4), (-4, 4), (4, 4), (4, -4), (-4, -4)], [(-3, -3), (-3, 3)], [(-2, -3), (-2, 3)], [(-1, -3), (-1, 3)], [(0, -3), (0, 3)], [(1, -3), (1, 3)], [(2, -3), (2, 3)], [(3, -3), (3, 3)]]),
(-5, 5, [[(0, -6), (-5, 3), (5, 3), (0, -6)], [(0, -3), (-3, 2)], [(0, -3), (3, 2)], [(0, 0), (-1, 2)], [(0, 0), (1, 2)]]),
(-6, 3, [[(-6, 0), (3, 5), (3, -5), (-6, 0)], [(-3, 0), (2, 3)], [(-3, 0), (2, -3)], [(0, 0), (2, 1)], [(0, 0), (2, -1)]]),
(-5, 5, [[(0, 6), (5, -3), (-5, -3), (0, 6)], [(0, 3), (3, -2)], [(0, 3), (-3, -2)], [(0, 0), (1, -2)], [(0, 0), (-1, -2)]]),
(-3, 6, [[(6, 0), (-3, -5), (-3, 5), (6, 0)], [(3, 0), (-2, -3)], [(3, 0), (-2, 3)], [(0, 0), (-2, -1)], [(0, 0), (-2, 1)]]),
(0, 7, [[(0, -7), (0, 7)], [(0, -7), (7, -4), (0, -1)], [(1, -5), (4, -4), (1, -3)]]),
(-9, 9, [[(0, -11), (0, 4)], [(-5, -8), (5, -2)], [(5, -8), (-5, -2)], [(-9, 4), (-6, 10)], [(9, 4), (6, 10)], [(-9, 4), (9, 4)], [(-6, 10), (6, 10)]]),
(-5, 5, [[(0, -6), (0, 6)], [(-3, -3), (3, -3)], [(-5, 3), (-3, 5), (-1, 6), (1, 6), (3, 5), (5, 3)]]),
(-6, 6, [[(0, -6), (0, 6)], [(-6, -1), (-5, -3), (5, -3), (6, -1)], [(-2, 5), (2, 5)]]),
(-7, 7, [[(-5, -4), (5, 6)], [(5, -4), (-5, 6)], [(-3, -6), (-6, -3), (-7, -1)], [(3, -6), (6, -3), (7, -1)]]),
(-9, 9, [[(-4, -9), (-9, 9)], [(4, -9), (9, 9)], [(-5, -5), (9, 9)], [(5, -5), (-9, 9)], [(-4, -9), (4, -9)], [(-5, -5), (5, -5)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-11, 9, [[(-5, -8), (1, 4)], [(-7, -2), (1, -6)], [(-11, 10), (9, 10), (9, 0), (-11, 10)]]),
(-6, 6, [[(-2, -6), (-2, -2), (-6, -2), (-6, 2), (-2, 2), (-2, 6), (2, 6), (2, 2), (6, 2), (6, -2), (2, -2), (2, -6), (-2, -6)]]),
(-7, 7, [[(7, -2), (6, -4), (4, -6), (1, -7), (-1, -7), (-4, -6), (-6, -4), (-7, -1), (-7, 1), (-6, 4), (-4, 6), (-1, 7), (1, 7), (4, 6), (6, 4), (7, 2)], [(7, -2), (5, -4), (3, -5), (1, -5), (-1, -4), (-2, -3), (-3, -1), (-3, 1), (-2, 3), (-1, 4), (1, 5), (3, 5), (5, 4), (7, 2)]]),
(-7, 7, [[(0, -8), (-7, 4), (7, 4), (0, -8)], [(0, 8), (7, -4), (-7, -4), (0, 8)]]),
(-11, 11, [[(-2, -9), (-2, -11), (-1, -12), (1, -12), (2, -11), (2, -9)], [(-11, 8), (-10, 6), (-8, 4), (-7, 2), (-6, -2), (-6, -7), (-5, -8), (-3, -9), (3, -9), (5, -8), (6, -7), (6, -2), (7, 2), (8, 4), (10, 6), (11, 8)], [(-11, 8), (11, 8)], [(-1, 8), (-2, 9), (-1, 10), (1, 10), (2, 9), (1, 8)]]),
(-8, 8, [[(0, -5), (0, 1)], [(0, 1), (-1, 10)], [(0, 1), (1, 10)], [(-1, 10), (1, 10)], [(0, -5), (-1, -8), (-2, -10), (-4, -11)], [(-1, -8), (-4, -11)], [(0, -5), (1, -8), (2, -10), (4, -11)], [(1, -8), (4, -11)], [(0, -5), (-4, -7), (-6, -7), (-8, -5)], [(-2, -6), (-6, -6), (-8, -5)], [(0, -5), (4, -7), (6, -7), (8, -5)], [(2, -6), (6, -6), (8, -5)], [(0, -5), (-2, -4), (-3, -3), (-3, 0)], [(0, -5), (-2, -3), (-3, 0)], [(0, -5), (2, -4), (3, -3), (3, 0)], [(0, -5), (2, -3), (3, 0)]]),
(-8, 8, [[(0, -9), (0, -7)], [(0, -4), (0, -2)], [(0, 1), (0, 3)], [(0, 7), (-1, 10)], [(0, 7), (1, 10)], [(-1, 10), (1, 10)], [(0, -11), (-1, -9), (-2, -8)], [(0, -11), (1, -9), (2, -8)], [(-2, -8), (0, -9), (2, -8)], [(0, -7), (-2, -4), (-4, -3), (-5, -4)], [(0, -7), (2, -4), (4, -3), (5, -4)], [(-4, -3), (-2, -3), (0, -4), (2, -3), (4, -3)], [(0, -2), (-2, 1), (-4, 2), (-6, 2), (-7, 0), (-7, 1), (-6, 2)], [(0, -2), (2, 1), (4, 2), (6, 2), (7, 0), (7, 1), (6, 2)], [(-4, 2), (-2, 2), (0, 1), (2, 2), (4, 2)], [(0, 3), (-2, 6), (-3, 7), (-5, 8), (-6, 8), (-7, 7), (-8, 5), (-8, 7), (-6, 8)], [(0, 3), (2, 6), (3, 7), (5, 8), (6, 8), (7, 7), (8, 5), (8, 7), (6, 8)], [(-5, 8), (-3, 8), (0, 7), (3, 8), (5, 8)]]),
(-8, 8, [[(0, 7), (-1, 10)], [(0, 7), (1, 10)], [(-1, 10), (1, 10)], [(0, 7), (3, 8), (6, 8), (8, 6), (8, 3), (7, 2), (5, 2), (7, 0), (8, -3), (7, -5), (5, -6), (3, -5), (4, -8), (3, -10), (1, -11), (-1, -11), (-3, -10), (-4, -8), (-3, -5), (-5, -6), (-7, -5), (-8, -3), (-7, 0), (-5, 2), (-7, 2), (-8, 3), (-8, 6), (-6, 8), (-3, 8), (0, 7)]]),
(-8, 8, [[(0, 7), (-1, 10)], [(0, 7), (1, 10)], [(-1, 10), (1, 10)], [(0, 7), (4, 6), (4, 4), (6, 3), (6, 0), (8, -1), (8, -6), (7, -9), (6, -10), (4, -10), (2, -11), (-2, -11), (-4, -10), (-6, -10), (-7, -9), (-8, -6), (-8, -1), (-6, 0), (-6, 3), (-4, 4), (-4, 6), (0, 7)]]),
(-9, 9, [[(-9, -2), (-7, 0)], [(-6, -7), (-4, -2)], [(0, -11), (0, -3)], [(6, -7), (4, -2)], [(9, -2), (7, 0)]]),
(-11, 11, [[(-9, -9), (-8, -7), (-7, -3), (-7, 3), (-8, 7), (-9, 9)], [(9, -9), (8, -7), (7, -3), (7, 3), (8, 7), (9, 9)], [(-9, -9), (-7, -8), (-3, -7), (3, -7), (7, -8), (9, -9)], [(-9, 9), (-7, 8), (-3, 7), (3, 7), (7, 8), (9, 9)]]),
(-12, 12, [[(0, 0), (0, 9), (-1, 10)], [(0, 4), (-1, 10)], [(0, -9), (-1, -10), (-3, -10), (-4, -9), (-4, -7), (-3, -4), (0, 0)], [(0, -9), (1, -10), (3, -10), (4, -9), (4, -7), (3, -4), (0, 0)], [(0, 0), (-4, -3), (-6, -4), (-8, -4), (-9, -3), (-9, -1), (-8, 0)], [(0, 0), (4, -3), (6, -4), (8, -4), (9, -3), (9, -1), (8, 0)], [(0, 0), (-4, 3), (-6, 4), (-8, 4), (-9, 3), (-9, 1), (-8, 0)], [(0, 0), (4, 3), (6, 4), (8, 4), (9, 3), (9, 1), (8, 0)]]),
(-8, 8, [[(3, -9), (2, -8), (3, -7), (4, -8), (4, -9), (3, -11), (1, -12), (-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -3), (4, 0)], [(-3, -5), (2, -2), (4, 0), (5, 2), (5, 4), (4, 6), (2, 8)], [(-2, -4), (-4, -2), (-5, 0), (-5, 2), (-4, 4), (-2, 6), (3, 9)], [(-4, 4), (1, 7), (3, 9), (4, 11), (4, 13), (3, 15), (1, 16), (-1, 16), (-3, 15), (-4, 13), (-4, 12), (-3, 11), (-2, 12), (-3, 13)]]),
(-8, 8, [[(0, -12), (-1, -10), (0, -8), (1, -10), (0, -12)], [(0, -12), (0, 16)], [(0, -1), (-1, 2), (0, 16), (1, 2), (0, -1)], [(-6, -5), (-4, -4), (-2, -5), (-4, -6), (-6, -5)], [(-6, -5), (6, -5)], [(2, -5), (4, -4), (6, -5), (4, -6), (2, -5)]]),
(-8, 8, [[(0, -12), (-1, -10), (0, -8), (1, -10), (0, -12)], [(0, -12), (0, 2)], [(0, -2), (-1, 0), (1, 4), (0, 6), (-1, 4), (1, 0), (0, -2)], [(0, 2), (0, 16)], [(0, 12), (-1, 14), (0, 16), (1, 14), (0, 12)], [(-6, -5), (-4, -4), (-2, -5), (-4, -6), (-6, -5)], [(-6, -5), (6, -5)], [(2, -5), (4, -4), (6, -5), (4, -6), (2, -5)], [(-6, 9), (-4, 10), (-2, 9), (-4, 8), (-6, 9)], [(-6, 9), (6, 9)], [(2, 9), (4, 10), (6, 9), (4, 8), (2, 9)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 7), (-10, 8), (-9, 9), (-8, 8), (-9, 7)], [(9, 7), (8, 8), (9, 9), (10, 8), (9, 7)]]),
(-12, 12, [[(0, -10), (-4, -6), (-7, -2), (-8, 1), (-8, 3), (-7, 5), (-5, 6), (-3, 6), (-1, 5), (0, 3)], [(0, -10), (4, -6), (7, -2), (8, 1), (8, 3), (7, 5), (5, 6), (3, 6), (1, 5), (0, 3)], [(0, 3), (-1, 7), (-2, 10)], [(0, 3), (1, 7), (2, 10)], [(-2, 10), (2, 10)]]),
(-12, 12, [[(0, -4), (-1, -7), (-2, -9), (-4, -10), (-5, -10), (-7, -9), (-8, -7), (-8, -3), (-7, 0), (-6, 2), (-4, 5), (0, 10)], [(0, -4), (1, -7), (2, -9), (4, -10), (5, -10), (7, -9), (8, -7), (8, -3), (7, 0), (6, 2), (4, 5), (0, 10)]]),
(-12, 12, [[(0, -11), (-2, -8), (-6, -3), (-9, 0)], [(0, -11), (2, -8), (6, -3), (9, 0)], [(-9, 0), (-6, 3), (-2, 8), (0, 11)], [(9, 0), (6, 3), (2, 8), (0, 11)]]),
(-12, 12, [[(0, 2), (2, 5), (4, 6), (6, 6), (8, 5), (9, 3), (9, 1), (8, -1), (6, -2), (4, -2), (1, -1)], [(1, -1), (3, -3), (4, -5), (4, -7), (3, -9), (1, -10), (-1, -10), (-3, -9), (-4, -7), (-4, -5), (-3, -3), (-1, -1)], [(-1, -1), (-4, -2), (-6, -2), (-8, -1), (-9, 1), (-9, 3), (-8, 5), (-6, 6), (-4, 6), (-2, 5), (0, 2)], [(0, 2), (-1, 7), (-2, 10)], [(0, 2), (1, 7), (2, 10)], [(-2, 10), (2, 10)]]),
(-9, 9, [[(4, -39), (1, -37), (-1, -35), (-2, -33), (-3, -30), (-3, -26), (-2, -22), (2, -14), (3, -11), (3, -8), (2, -5), (0, -2)], [(1, -37), (-1, -34), (-2, -30), (-2, -26), (-1, -23), (3, -15), (4, -11), (4, -8), (3, -5), (0, -2), (-4, 0), (0, 2), (3, 5), (4, 8), (4, 11), (3, 15), (-1, 23), (-2, 26), (-2, 30), (-1, 34), (1, 37)], [(0, 2), (2, 5), (3, 8), (3, 11), (2, 14), (-2, 22), (-3, 26), (-3, 30), (-2, 33), (-1, 35), (1, 37), (4, 39)]]),
(-9, 9, [[(-4, -39), (-1, -37), (1, -35), (2, -33), (3, -30), (3, -26), (2, -22), (-2, -14), (-3, -11), (-3, -8), (-2, -5), (0, -2)], [(-1, -37), (1, -34), (2, -30), (2, -26), (1, -23), (-3, -15), (-4, -11), (-4, -8), (-3, -5), (0, -2), (4, 0), (0, 2), (-3, 5), (-4, 8), (-4, 11), (-3, 15), (1, 23), (2, 26), (2, 30), (1, 34), (-1, 37)], [(0, 2), (-2, 5), (-3, 8), (-3, 11), (-2, 14), (2, 22), (3, 26), (3, 30), (2, 33), (1, 35), (-1, 37), (-4, 39)]]),
(-9, 9, [[(4, -36), (1, -33), (-1, -30), (-3, -26), (-4, -21), (-4, -15), (-3, -9), (-2, -5), (1, 6), (2, 10), (3, 16), (3, 21), (2, 26), (1, 29), (-1, 33)], [(1, -33), (-1, -29), (-2, -26), (-3, -21), (-3, -16), (-2, -10), (-1, -6), (2, 5), (3, 9), (4, 15), (4, 21), (3, 26), (1, 30), (-1, 33), (-4, 36)]]),
(-9, 9, [[(-4, -36), (-1, -33), (1, -30), (3, -26), (4, -21), (4, -15), (3, -9), (2, -5), (-1, 6), (-2, 10), (-3, 16), (-3, 21), (-2, 26), (-1, 29), (1, 33)], [(-1, -33), (1, -29), (2, -26), (3, -21), (3, -16), (2, -10), (1, -6), (-2, 5), (-3, 9), (-4, 15), (-4, 21), (-3, 26), (-1, 30), (1, 33), (4, 36)]]),
(-27, 8, [[(-24, 0), (-17, 0), (0, 29)], [(-18, 0), (-1, 29)], [(-19, 0), (0, 32)], [(8, -48), (4, -8), (0, 32)]]),
(-9, 9, [[(2, -5), (4, -4), (6, -2), (6, -3), (5, -4), (2, -5), (-1, -5), (-4, -4), (-5, -3), (-6, -1), (-6, 1), (-5, 3), (-3, 5), (1, 8)], [(-1, -5), (-3, -4), (-4, -3), (-5, -1), (-5, 1), (-4, 3), (1, 8), (2, 10), (2, 12), (1, 13), (-1, 13)]]),
(-11, 11, [[(-6, -5), (-7, -4), (-8, -2), (-8, 0), (-7, 3), (-3, 7), (-2, 9)], [(-8, 0), (-7, 2), (-3, 6), (-2, 9), (-2, 11), (-3, 14), (-5, 16), (-6, 16), (-7, 15), (-8, 13), (-8, 10), (-7, 6), (-5, 2), (-3, -1), (0, -4), (2, -5), (4, -5), (7, -4), (8, -2), (8, 2), (7, 6), (5, 8), (3, 9), (2, 9), (1, 8), (1, 6), (2, 5), (3, 6), (2, 7)], [(4, -5), (6, -4), (7, -2), (7, 2), (6, 6), (5, 8)]]),
(-13, 13, [[(7, -11), (6, -10), (7, -9), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-4, -7), (-5, -4), (-6, 0), (-8, 9), (-9, 13), (-10, 15)], [(2, -12), (0, -11), (-2, -9), (-3, -7), (-4, -4), (-6, 5), (-7, 9), (-8, 12), (-9, 14), (-10, 15), (-12, 16), (-14, 16), (-15, 15), (-15, 14), (-14, 13), (-13, 14), (-14, 15)], [(13, -11), (12, -10), (13, -9), (14, -10), (14, -11), (13, -12), (11, -12), (9, -11), (8, -10), (7, -8), (6, -5), (3, 9), (2, 13), (1, 15)], [(11, -12), (9, -10), (8, -8), (7, -4), (5, 5), (4, 9), (3, 12), (2, 14), (1, 15), (-1, 16), (-3, 16), (-4, 15), (-4, 14), (-3, 13), (-2, 14), (-3, 15)], [(-9, -5), (12, -5)]]),
(-12, 12, [[(9, -11), (8, -10), (9, -9), (10, -10), (9, -11), (6, -12), (3, -12), (0, -11), (-2, -9), (-3, -7), (-4, -4), (-5, 0), (-7, 9), (-8, 13), (-9, 15)], [(3, -12), (1, -11), (-1, -9), (-2, -7), (-3, -4), (-5, 5), (-6, 9), (-7, 12), (-8, 14), (-9, 15), (-11, 16), (-13, 16), (-14, 15), (-14, 14), (-13, 13), (-12, 14), (-13, 15)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9), (8, 9), (10, 7), (11, 5)], [(8, -5), (6, 2), (5, 6), (5, 8), (6, 9)], [(-8, -5), (8, -5)]]),
(-12, 12, [[(7, -11), (6, -10), (7, -9), (8, -10), (8, -11), (6, -12)], [(10, -12), (3, -12), (0, -11), (-2, -9), (-3, -7), (-4, -4), (-5, 0), (-7, 9), (-8, 13), (-9, 15)], [(3, -12), (1, -11), (-1, -9), (-2, -7), (-3, -4), (-5, 5), (-6, 9), (-7, 12), (-8, 14), (-9, 15), (-11, 16), (-13, 16), (-14, 15), (-14, 14), (-13, 13), (-12, 14), (-13, 15)], [(9, -12), (5, 2), (4, 6), (4, 8), (5, 9), (8, 9), (10, 7), (11, 5)], [(10, -12), (6, 2), (5, 6), (5, 8), (6, 9)], [(-8, -5), (7, -5)]]),
(-18, 17, [[(2, -11), (1, -10), (2, -9), (3, -10), (2, -11), (0, -12), (-3, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-11, 0), (-13, 9), (-14, 13), (-15, 15)], [(-3, -12), (-5, -11), (-7, -9), (-8, -7), (-9, -4), (-11, 5), (-12, 9), (-13, 12), (-14, 14), (-15, 15), (-17, 16), (-19, 16), (-20, 15), (-20, 14), (-19, 13), (-18, 14), (-19, 15)], [(14, -11), (13, -10), (14, -9), (15, -10), (14, -11), (11, -12), (8, -12), (5, -11), (3, -9), (2, -7), (1, -4), (0, 0), (-2, 9), (-3, 13), (-4, 15)], [(8, -12), (6, -11), (4, -9), (3, -7), (2, -4), (0, 5), (-1, 9), (-2, 12), (-3, 14), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 14), (-8, 13), (-7, 14), (-8, 15)], [(12, -5), (10, 2), (9, 6), (9, 8), (10, 9), (13, 9), (15, 7), (16, 5)], [(13, -5), (11, 2), (10, 6), (10, 8), (11, 9)], [(-14, -5), (13, -5)]]),
(-18, 17, [[(2, -11), (1, -10), (2, -9), (3, -10), (2, -11), (0, -12), (-3, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-11, 0), (-13, 9), (-14, 13), (-15, 15)], [(-3, -12), (-5, -11), (-7, -9), (-8, -7), (-9, -4), (-11, 5), (-12, 9), (-13, 12), (-14, 14), (-15, 15), (-17, 16), (-19, 16), (-20, 15), (-20, 14), (-19, 13), (-18, 14), (-19, 15)], [(12, -11), (11, -10), (12, -9), (13, -10), (13, -11), (11, -12)], [(15, -12), (8, -12), (5, -11), (3, -9), (2, -7), (1, -4), (0, 0), (-2, 9), (-3, 13), (-4, 15)], [(8, -12), (6, -11), (4, -9), (3, -7), (2, -4), (0, 5), (-1, 9), (-2, 12), (-3, 14), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 14), (-8, 13), (-7, 14), (-8, 15)], [(14, -12), (10, 2), (9, 6), (9, 8), (10, 9), (13, 9), (15, 7), (16, 5)], [(15, -12), (11, 2), (10, 6), (10, 8), (11, 9)], [(-14, -5), (12, -5)]]),
(-6, 7, [[(-5, -1), (-4, -3), (-2, -5), (1, -5), (2, -4), (2, -1), (0, 5), (0, 8), (1, 9)], [(0, -5), (1, -4), (1, -1), (-1, 5), (-1, 8), (0, 9), (3, 9), (5, 7), (6, 5)]]),
(-6, 6, [[(0, -6), (-4, 5), (6, -2), (-6, -2), (4, 5), (0, -6)], [(0, 0), (0, -6)], [(0, 0), (-6, -2)], [(0, 0), (-4, 5)], [(0, 0), (4, 5)], [(0, 0), (6, -2)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
]
TIMESG = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (-1, -10), (0, 2), (1, -10), (0, -12)], [(0, -10), (0, -4)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-8, 8, [[(-4, -12), (-5, -5)], [(-3, -12), (-5, -5)], [(4, -12), (3, -5)], [(5, -12), (3, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(6, -9), (5, -8), (6, -7), (7, -8), (7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (7, 2)], [(-7, -7), (-5, -5), (-3, -4), (3, -2), (5, -1), (6, 0), (7, 2), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(9, -4), (8, -3), (9, -2), (10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-5, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (8, 9), (9, 9), (10, 8), (10, 7)], [(-5, 9), (-7, 8), (-8, 6), (-8, 3), (-7, 1), (-5, -1)], [(-5, -7), (-4, -5), (4, 6), (6, 8), (8, 9)]]),
(-4, 4, [[(0, -12), (-1, -5)], [(1, -12), (-1, -5)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16), (4, 16)], [(3, -16), (4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16), (-3, 16)], [(-4, -16), (-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-4, -10), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 5), (6, 0), (6, -3), (5, -8), (4, -10), (3, -11), (1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(0, -11), (0, 9)], [(-4, 9), (5, 9)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 8), (4, 8), (6, 7), (7, 6)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-10, 10, [[(2, -10), (2, 9)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-1, 9), (6, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2)], [(-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-5, -12), (5, -12)], [(-5, -11), (0, -11), (5, -12)]]),
(-10, 10, [[(5, -9), (4, -8), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)], [(0, -12), (-2, -11), (-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 2), (5, -1), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-6, -10), (-4, -11), (-2, -11), (3, -9)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 4), (0, 9)], [(6, -6), (1, -1), (0, 1), (-1, 4), (-1, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -3)], [(2, -3), (4, -4), (5, -6), (5, -9), (4, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 7), (6, 5), (6, 1), (5, -1), (4, -2), (2, -3)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(-1, 1), (-3, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6), (2, 8), (0, 9)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-5, -8), (-4, -7), (-5, -6), (-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(1, -12), (3, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-10, 10, [[(-7, -12), (6, 9)], [(-6, -12), (7, 9)], [(7, -12), (-7, 9)], [(-9, -12), (-3, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-10, 10, [[(0, -12), (-8, 9)], [(0, -12), (8, 9)], [(0, -9), (7, 9)], [(-7, 8), (7, 8)], [(-8, 9), (8, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(1, -6), (1, 2)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (1, -2)], [(-9, 9), (7, 9), (7, 3), (6, 9)]]),
(-10, 11, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-2, -7), (-5, -6), (-6, -5), (-7, -3), (-7, 0), (-6, 2), (-5, 3), (-2, 4), (3, 4), (6, 3), (7, 2), (8, 0), (8, -3), (7, -5), (6, -6), (3, -7), (-2, -7)], [(-2, -7), (-4, -6), (-5, -5), (-6, -3), (-6, 0), (-5, 2), (-4, 3), (-2, 4)], [(3, 4), (5, 3), (6, 2), (7, 0), (7, -3), (6, -5), (5, -6), (3, -7)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -12), (-3, 9)], [(-7, -12), (8, -12), (8, -6), (7, -12)], [(-7, 9), (0, 9)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-6, -2), (6, -2)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-5, 6, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-2, 3, [[(0, -1), (0, 0), (1, 0), (1, -1), (0, -1)]]),
(-12, 10, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(7, -12), (-6, 1)], [(-1, -3), (7, 9)], [(-2, -3), (6, 9)], [(-10, -12), (-3, -12)], [(3, -12), (9, -12)], [(-10, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-12, 13, [[(-7, -12), (-7, 9)], [(-6, -12), (0, 6)], [(-7, -12), (0, 9)], [(7, -12), (0, 9)], [(7, -12), (7, 9)], [(8, -12), (8, 9)], [(-10, -12), (-6, -12)], [(7, -12), (11, -12)], [(-10, 9), (-4, 9)], [(4, 9), (11, 9)]]),
(-11, 12, [[(-6, -12), (-6, 9)], [(-5, -12), (7, 7)], [(-5, -10), (7, 9)], [(7, -12), (7, 9)], [(-9, -12), (-5, -12)], [(4, -12), (10, -12)], [(-9, 9), (-3, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (10, -12)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)], [(-3, -5), (-3, 2)], [(3, -5), (3, 2)], [(-3, -2), (3, -2)], [(-3, -1), (3, -1)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-5, -1)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1)], [(-9, 9), (-2, 9)]]),
(-10, 11, [[(-7, -12), (0, -2), (-8, 9)], [(-8, -12), (-1, -2)], [(-8, -12), (7, -12), (8, -6), (6, -12)], [(-7, 8), (6, 8)], [(-8, 9), (7, 9), (8, 3), (6, 9)]]),
(-9, 10, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-6, -12), (-7, -6), (-7, -12), (8, -12), (8, -6), (7, -12)], [(-3, 9), (4, 9)]]),
(-9, 10, [[(-7, -7), (-7, -9), (-6, -11), (-5, -12), (-3, -12), (-2, -11), (-1, -9), (0, -5), (0, 9)], [(-7, -9), (-5, -11), (-3, -11), (-1, -9)], [(8, -7), (8, -9), (7, -11), (6, -12), (4, -12), (3, -11), (2, -9), (1, -5), (1, 9)], [(8, -9), (6, -11), (4, -11), (2, -9)], [(-3, 9), (4, 9)]]),
(-7, 7, [[(-1, -12), (-3, -11), (-4, -9), (-4, -7), (-3, -5), (-1, -4), (1, -4), (3, -5), (4, -7), (4, -9), (3, -11), (1, -12), (-1, -12)]]),
(-11, 11, [[(-8, 6), (-7, 9), (-3, 9), (-5, 5), (-7, 1), (-8, -2), (-8, -6), (-7, -9), (-5, -11), (-2, -12), (2, -12), (5, -11), (7, -9), (8, -6), (8, -2), (7, 1), (5, 5), (3, 9), (7, 9), (8, 6)], [(-5, 5), (-6, 2), (-7, -2), (-7, -6), (-6, -9), (-4, -11), (-2, -12)], [(2, -12), (4, -11), (6, -9), (7, -6), (7, -2), (6, 2), (5, 5)], [(-7, 8), (-4, 8)], [(4, 8), (7, 8)]]),
(-11, 11, [[(-7, -13), (-8, -8)], [(8, -13), (7, -8)], [(-3, -4), (-4, 1)], [(4, -4), (3, 1)], [(-7, 5), (-8, 10)], [(8, 5), (7, 10)], [(-7, -11), (7, -11)], [(-7, -10), (7, -10)], [(-3, -2), (3, -2)], [(-3, -1), (3, -1)], [(-7, 7), (7, 7)], [(-7, 8), (7, 8)]]),
(-11, 12, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-9, -5), (-8, -6), (-6, -5), (-5, -1), (-4, 1), (-3, 2), (-1, 3)], [(-8, -6), (-7, -5), (-6, -1), (-5, 1), (-4, 2), (-1, 3), (2, 3), (5, 2), (6, 1), (7, -1), (8, -5), (9, -6)], [(2, 3), (4, 2), (5, 1), (6, -1), (7, -5), (9, -6), (10, -5)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-10, 10, [[(6, -12), (-7, 9)], [(7, -12), (-6, 9)], [(-6, -12), (-7, -6), (-7, -12), (7, -12)], [(-7, 9), (7, 9), (7, 3), (6, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-10, 10, [[(-10, 16), (10, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-11, 12, [[(-1, -5), (-4, -4), (-6, -2), (-7, 0), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (-2, 9), (0, 8), (3, 5), (5, 2), (7, -2), (8, -5)], [(-1, -5), (-3, -4), (-5, -2), (-6, 0), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(-1, -5), (1, -5), (3, -4), (4, -2), (6, 6), (7, 8), (8, 9)], [(1, -5), (2, -4), (3, -2), (5, 6), (6, 8), (8, 9), (9, 9)]]),
(-11, 10, [[(2, -12), (-1, -11), (-3, -9), (-5, -5), (-6, -2), (-7, 2), (-8, 8), (-9, 16)], [(2, -12), (0, -11), (-2, -9), (-4, -5), (-5, -2), (-6, 2), (-7, 8), (-8, 16)], [(2, -12), (4, -12), (6, -11), (7, -10), (7, -7), (6, -5), (5, -4), (2, -3), (-2, -3)], [(4, -12), (6, -10), (6, -7), (5, -5), (4, -4), (2, -3)], [(-2, -3), (2, -2), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (0, 9), (-2, 9), (-4, 8), (-5, 7), (-6, 4)], [(-2, -3), (1, -2), (3, 0), (4, 2), (4, 5), (3, 7), (2, 8), (0, 9)]]),
(-9, 9, [[(-7, -5), (-5, -5), (-3, -4), (-2, -2), (3, 13), (4, 15), (5, 16)], [(-5, -5), (-4, -4), (-3, -2), (2, 13), (3, 15), (5, 16), (7, 16)], [(8, -5), (7, -3), (5, 0), (-5, 11), (-7, 14), (-8, 16)]]),
(-9, 10, [[(4, -4), (2, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (1, -8), (0, -10), (0, -12), (1, -13), (3, -13), (5, -12), (7, -10)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4), (2, -7), (1, -9), (1, -11), (2, -12), (4, -12), (7, -10)]]),
(-9, 9, [[(6, -2), (4, -4), (2, -5), (-2, -5), (-4, -4), (-4, -2), (-2, 0), (1, 1)], [(-2, -5), (-3, -4), (-3, -2), (-1, 0), (1, 1)], [(1, 1), (-4, 2), (-6, 4), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(1, 1), (-3, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-11, 11, [[(-3, -4), (-5, -3), (-7, -1), (-8, 2), (-8, 5), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (5, 6), (7, 3), (8, 0), (8, -3), (6, -5), (4, -5), (2, -3), (0, 1), (-2, 6), (-5, 16)], [(-8, 5), (-6, 7), (-4, 8), (-1, 8), (2, 7), (5, 5), (7, 3)], [(8, -3), (6, -4), (4, -4), (2, -2), (0, 1), (-2, 7), (-4, 16)]]),
(-10, 10, [[(-9, -2), (-7, -4), (-5, -5), (-3, -5), (-1, -4), (0, -3), (1, 0), (1, 4), (0, 8), (-3, 16)], [(-8, -3), (-6, -4), (-2, -4), (0, -3)], [(8, -5), (7, -2), (6, 0), (1, 7), (-2, 12), (-4, 16)], [(7, -5), (6, -2), (5, 0), (1, 7)]]),
(-11, 11, [[(-10, -1), (-9, -3), (-7, -5), (-4, -5), (-3, -4), (-3, -2), (-4, 2), (-6, 9)], [(-5, -5), (-4, -4), (-4, -2), (-5, 2), (-7, 9)], [(-4, 2), (-2, -2), (0, -4), (2, -5), (4, -5), (6, -4), (7, -3), (7, 0), (6, 5), (3, 16)], [(4, -5), (6, -3), (6, 0), (5, 5), (2, 16)]]),
(-6, 6, [[(0, -5), (-2, 2), (-3, 6), (-3, 8), (-2, 9), (1, 9), (3, 7), (4, 5)], [(1, -5), (-1, 2), (-2, 6), (-2, 8), (-1, 9)]]),
(-11, 11, [[(-7, -7), (7, 7)], [(7, -7), (-7, 7)]]),
(-10, 10, [[(-4, -5), (-8, 9)], [(-3, -5), (-7, 9)], [(6, -5), (7, -4), (8, -4), (7, -5), (5, -5), (3, -4), (-1, 0), (-3, 1), (-5, 1)], [(-3, 1), (-1, 2), (1, 8), (2, 9)], [(-3, 1), (-2, 2), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5)]]),
(-10, 10, [[(-7, -12), (-5, -12), (-3, -11), (-2, -10), (-1, -8), (5, 6), (6, 8), (7, 9)], [(-5, -12), (-3, -10), (-2, -8), (4, 6), (5, 8), (7, 9), (8, 9)], [(0, -5), (-8, 9)], [(0, -5), (-7, 9)]]),
(-12, 11, [[(-5, -5), (-11, 16)], [(-4, -5), (-10, 16)], [(-5, -2), (-6, 4), (-6, 7), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 3)], [(6, -5), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(7, -5), (4, 6), (4, 8), (5, 9)]]),
(-10, 10, [[(-4, -5), (-6, 9)], [(-3, -5), (-4, 1), (-5, 6), (-6, 9)], [(7, -5), (6, -1), (4, 3)], [(8, -5), (7, -2), (6, 0), (4, 3), (2, 5), (-1, 7), (-3, 8), (-6, 9)], [(-7, -5), (-3, -5)]]),
(-9, 9, [[(0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (0, -5)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4)]]),
(-11, 11, [[(-2, -4), (-6, 9)], [(-2, -4), (-5, 9)], [(4, -4), (4, 9)], [(4, -4), (5, 9)], [(-9, -2), (-7, -4), (-4, -5), (9, -5)], [(-9, -2), (-7, -3), (-4, -4), (9, -4)]]),
(-12, 11, [[(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 3), (-5, 6), (-4, 8), (-3, 9)], [(-6, -5), (-5, -4), (-5, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -5), (7, -9), (6, -11), (4, -12), (2, -12), (0, -10), (0, -8), (1, -5), (3, -2), (5, 0), (8, 2)], [(1, 8), (3, 5), (4, 3), (5, 0), (6, -5), (6, -9), (5, -11), (4, -12)]]),
(-10, 9, [[(-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-10, 16)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-9, 16)]]),
(-10, 11, [[(9, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 5), (5, 2), (5, -1), (4, -3), (3, -4), (1, -5)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)], [(-1, 9), (1, 8), (3, 5), (4, 2), (4, -2), (3, -4)], [(3, -4), (9, -4)]]),
(-10, 10, [[(1, -4), (-2, 9)], [(1, -4), (-1, 9)], [(-8, -2), (-6, -4), (-3, -5), (8, -5)], [(-8, -2), (-6, -3), (-3, -4), (8, -4)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-3, -5), (-2, -4), (-2, -2), (-4, 4), (-4, 7), (-2, 9)], [(-4, -5), (-3, -4), (-3, -2), (-5, 4), (-5, 7), (-4, 8), (-2, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (7, -3), (6, -5), (5, -4), (6, -3), (7, 0)], [(6, 3), (7, -3)]]),
(-13, 13, [[(0, -9), (-1, -8), (0, -7), (1, -8), (0, -9)], [(-9, 0), (9, 0)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-12, 11, [[(-8, -1), (-6, -3), (-3, -4), (-4, -5), (-6, -4), (-8, -1), (-9, 2), (-9, 5), (-8, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 5), (0, 2)], [(-9, 5), (-8, 7), (-7, 8), (-5, 8), (-3, 7), (-1, 5)], [(-1, 2), (-1, 5), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5), (8, 2), (8, -1), (7, -4), (6, -5), (5, -4), (7, -3), (8, -1)], [(-1, 5), (0, 7), (1, 8), (3, 8), (5, 7), (7, 5)]]),
(-9, 8, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (6, -7)], [(3, -7), (-1, -6), (-3, -5), (-4, -3), (-4, -1), (-2, 1), (1, 2), (4, 2)], [(3, -7), (0, -6), (-2, -5), (-3, -3), (-3, -1), (-1, 1), (1, 2)], [(1, 2), (-3, 3), (-5, 4), (-6, 6), (-6, 8), (-4, 10), (1, 12), (2, 13), (2, 15), (0, 16), (-2, 16)], [(1, 2), (-2, 3), (-4, 4), (-5, 6), (-5, 8), (-3, 10), (1, 12)]]),
(-12, 11, [[(3, -12), (-3, 16)], [(4, -12), (-4, 16)], [(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 3), (-5, 6), (-3, 8), (0, 8), (2, 7), (5, 4), (7, 1)], [(-6, -5), (-5, -4), (-5, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (0, 9), (2, 8), (4, 6), (6, 3), (7, 1), (9, -5)]]),
(-9, 9, [[(2, -12), (0, -11), (-1, -10), (-1, -9), (0, -8), (3, -7), (8, -7), (8, -8), (5, -7), (1, -5), (-2, -3), (-5, 0), (-6, 3), (-6, 5), (-5, 7), (-2, 9), (1, 11), (2, 13), (2, 15), (1, 16), (-1, 16), (-2, 15)], [(3, -6), (-1, -3), (-4, 0), (-5, 3), (-5, 5), (-4, 7), (-2, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
TIMESI = [
(-8, 8, [[]]),
(-5, 6, [[(3, -12), (2, -11), (0, 1)], [(3, -11), (0, 1)], [(3, -12), (4, -11), (0, 1)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-9, 9, [[(-2, -12), (-4, -5)], [(-1, -12), (-4, -5)], [(7, -12), (5, -5)], [(8, -12), (5, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 11, [[(2, -16), (-6, 13)], [(7, -16), (-1, 13)], [(8, -8), (7, -7), (8, -6), (9, -7), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -7), (-4, -5), (-3, -4), (4, 0), (6, 2)], [(-5, -7), (-3, -5), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(9, -4), (8, -3), (9, -2), (10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-5, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (8, 9), (9, 9), (10, 8), (10, 7)], [(-5, 9), (-7, 8), (-8, 6), (-8, 3), (-7, 1), (-5, -1)], [(-5, -7), (-4, -5), (4, 6), (6, 8), (8, 9)]]),
(-4, 5, [[(3, -12), (1, -5)], [(4, -12), (1, -5)]]),
(-7, 8, [[(8, -16), (4, -13), (1, -10), (-1, -7), (-3, -3), (-4, 2), (-4, 6), (-3, 11), (-2, 14), (-1, 16)], [(4, -13), (1, -9), (-1, -5), (-2, -2), (-3, 3), (-3, 8), (-2, 13), (-1, 16)]]),
(-8, 7, [[(1, -16), (2, -14), (3, -11), (4, -6), (4, -2), (3, 3), (1, 7), (-1, 10), (-4, 13), (-8, 16)], [(1, -16), (2, -13), (3, -8), (3, -3), (2, 2), (1, 5), (-1, 9), (-4, 13)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-5, 6, [[(-2, 9), (-3, 8), (-2, 7), (-1, 8), (-1, 9), (-2, 11), (-4, 13)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 6, [[(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-3, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)]]),
(-10, 11, [[(2, -8), (-3, 9)], [(4, -12), (-2, 9)], [(4, -12), (1, -9), (-2, -7), (-4, -6)], [(3, -9), (-1, -7), (-4, -6)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (5, -3), (2, -1), (-2, 1), (-5, 3), (-7, 5), (-9, 9)], [(4, -12), (6, -11), (7, -9), (7, -7), (6, -5), (4, -3), (-2, 1)], [(-8, 7), (-7, 6), (-5, 6), (0, 8), (3, 8), (5, 7), (6, 5)], [(-5, 6), (0, 9), (3, 9), (5, 8), (6, 5)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (4, -3), (1, -2)], [(4, -12), (6, -11), (7, -9), (7, -7), (6, -5), (4, -3)], [(-1, -2), (1, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(1, -2), (3, -1), (4, 0), (5, 2), (5, 5), (4, 7), (3, 8), (1, 9)]]),
(-10, 11, [[(6, -11), (0, 9)], [(7, -12), (1, 9)], [(7, -12), (-8, 3), (8, 3)]]),
(-10, 11, [[(-1, -12), (-6, -2)], [(-1, -12), (9, -12)], [(-1, -11), (4, -11), (9, -12)], [(-6, -2), (-5, -3), (-2, -4), (1, -4), (4, -3), (5, -2), (6, 0), (6, 3), (5, 6), (3, 8), (0, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(1, -4), (3, -3), (4, -2), (5, 0), (5, 3), (4, 6), (2, 8), (0, 9)]]),
(-10, 11, [[(7, -9), (6, -8), (7, -7), (8, -8), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 1), (5, -1), (4, -2), (2, -3), (-1, -3), (-3, -2), (-5, 0), (-6, 2)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 6), (-5, 8)], [(0, 9), (2, 8), (4, 6), (5, 4), (5, 0), (4, -2)]]),
(-10, 11, [[(-4, -12), (-6, -6)], [(9, -12), (8, -9), (6, -6), (1, 0), (-1, 3), (-2, 5), (-3, 9)], [(6, -6), (0, 0), (-2, 3), (-3, 5), (-4, 9)], [(-5, -9), (-2, -12), (0, -12), (5, -9)], [(-4, -10), (-2, -11), (0, -11), (5, -9), (7, -9), (8, -10), (9, -12)]]),
(-10, 11, [[(1, -12), (-2, -11), (-3, -10), (-4, -8), (-4, -5), (-3, -3), (-1, -2), (2, -2), (6, -3), (7, -4), (8, -6), (8, -9), (7, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-2, -10), (-3, -8), (-3, -5), (-2, -3), (-1, -2)], [(2, -2), (5, -3), (6, -4), (7, -6), (7, -9), (6, -11), (4, -12)], [(-1, -2), (-5, -1), (-7, 1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (4, 8), (5, 7), (6, 5), (6, 2), (5, 0), (4, -1), (2, -2)], [(-1, -2), (-4, -1), (-6, 1), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(0, 9), (3, 8), (4, 7), (5, 5), (5, 1), (4, -1)]]),
(-10, 11, [[(7, -5), (6, -3), (4, -1), (2, 0), (-1, 0), (-3, -1), (-4, -2), (-5, -4), (-5, -7), (-4, -9), (-2, -11), (1, -12), (4, -12), (6, -11), (7, -10), (8, -8), (8, -4), (7, 0), (6, 3), (4, 6), (2, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)], [(-3, -1), (-4, -3), (-4, -7), (-3, -9), (-1, -11), (1, -12)], [(6, -11), (7, -9), (7, -4), (6, 0), (5, 3), (3, 6), (1, 8), (-1, 9)]]),
(-5, 6, [[(1, -5), (0, -4), (1, -3), (2, -4), (1, -5)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8)]]),
(-5, 6, [[(1, -5), (0, -4), (1, -3), (2, -4), (1, -5)], [(-2, 9), (-3, 8), (-2, 7), (-1, 8), (-1, 9), (-2, 11), (-4, 13)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-10, 11, [[(-3, -8), (-2, -7), (-3, -6), (-4, -7), (-4, -8), (-3, -10), (-2, -11), (1, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (1, -2), (-1, -1), (-1, 1), (0, 2), (2, 2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3)], [(-2, 7), (-3, 8), (-2, 9), (-1, 8), (-2, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(3, -12), (-10, 9)], [(3, -12), (4, 9)], [(2, -10), (3, 9)], [(-6, 3), (3, 3)], [(-12, 9), (-6, 9)], [(0, 9), (6, 9)]]),
(-12, 12, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -4), (7, -3), (4, -2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -4), (6, -3), (4, -2)], [(-5, -2), (4, -2), (6, -1), (7, 1), (7, 3), (6, 6), (4, 8), (0, 9), (-12, 9)], [(4, -2), (5, -1), (6, 1), (6, 3), (5, 6), (3, 8), (0, 9)]]),
(-10, 11, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6), (6, 4)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (3, -12), (6, -11), (7, -10), (8, -7), (8, -3), (7, 1), (5, 5), (3, 7), (1, 8), (-3, 9), (-12, 9)], [(3, -12), (5, -11), (6, -10), (7, -7), (7, -3), (6, 1), (4, 5), (2, 7), (0, 8), (-3, 9)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(2, -6), (0, 2)], [(-6, -12), (9, -12), (8, -6), (8, -12)], [(-5, -2), (1, -2)], [(-12, 9), (3, 9), (5, 4), (2, 9)]]),
(-12, 10, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(2, -6), (0, 2)], [(-6, -12), (9, -12), (8, -6), (8, -12)], [(-5, -2), (1, -2)], [(-12, 9), (-5, 9)]]),
(-10, 12, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (0, 9), (3, 8), (5, 6), (7, 2)], [(2, -12), (0, -11), (-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 4), (-5, 7), (-4, 8), (-2, 9)], [(0, 9), (2, 8), (4, 6), (6, 2)], [(3, 2), (10, 2)]]),
(-13, 13, [[(-4, -12), (-10, 9)], [(-3, -12), (-9, 9)], [(9, -12), (3, 9)], [(10, -12), (4, 9)], [(-7, -12), (0, -12)], [(6, -12), (13, -12)], [(-6, -2), (6, -2)], [(-13, 9), (-6, 9)], [(0, 9), (7, 9)]]),
(-6, 7, [[(3, -12), (-3, 9)], [(4, -12), (-2, 9)], [(0, -12), (7, -12)], [(-6, 9), (1, 9)]]),
(-9, 9, [[(6, -12), (1, 5), (0, 7), (-1, 8), (-3, 9), (-5, 9), (-7, 8), (-8, 6), (-8, 4), (-7, 3), (-6, 4), (-7, 5)], [(5, -12), (0, 5), (-1, 7), (-3, 9)], [(2, -12), (9, -12)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(11, -12), (-6, 1)], [(1, -3), (5, 9)], [(0, -3), (4, 9)], [(-6, -12), (1, -12)], [(7, -12), (13, -12)], [(-12, 9), (-5, 9)], [(1, 9), (7, 9)]]),
(-10, 10, [[(-1, -12), (-7, 9)], [(0, -12), (-6, 9)], [(-4, -12), (3, -12)], [(-10, 9), (5, 9), (7, 3), (4, 9)]]),
(-13, 14, [[(-4, -12), (-10, 9)], [(-4, -12), (-3, 9)], [(-3, -12), (-2, 7)], [(10, -12), (-3, 9)], [(10, -12), (4, 9)], [(11, -12), (5, 9)], [(-7, -12), (-3, -12)], [(10, -12), (14, -12)], [(-13, 9), (-7, 9)], [(1, 9), (8, 9)]]),
(-12, 13, [[(-3, -12), (-9, 9)], [(-3, -12), (4, 6)], [(-3, -9), (4, 9)], [(10, -12), (4, 9)], [(-6, -12), (-3, -12)], [(7, -12), (13, -12)], [(-12, 9), (-6, 9)]]),
(-11, 11, [[(1, -12), (-2, -11), (-4, -9), (-6, -6), (-7, -3), (-8, 1), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-4, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (6, -12), (9, -11), (10, -9), (10, -7), (9, -4), (7, -2), (3, -1), (-5, -1)], [(6, -12), (8, -11), (9, -9), (9, -7), (8, -4), (6, -2), (3, -1)], [(-12, 9), (-5, 9)]]),
(-11, 11, [[(1, -12), (-2, -11), (-4, -9), (-6, -6), (-7, -3), (-8, 1), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (1, -12)], [(1, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-4, 9)], [(-1, 9), (1, 8), (3, 6), (5, 3), (6, 0), (7, -4), (7, -7), (6, -10), (4, -12)], [(-6, 7), (-6, 6), (-5, 4), (-3, 3), (-2, 3), (0, 4), (1, 6), (1, 13), (2, 14), (4, 14), (5, 12), (5, 11)], [(1, 6), (2, 12), (3, 13), (4, 13), (5, 12)]]),
(-12, 12, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -4), (7, -3), (4, -2), (-5, -2)], [(5, -12), (7, -11), (8, -9), (8, -7), (7, -4), (6, -3), (4, -2)], [(0, -2), (2, -1), (3, 0), (4, 8), (5, 9), (7, 9), (8, 7), (8, 6)], [(3, 0), (5, 7), (6, 8), (7, 8), (8, 7)], [(-12, 9), (-5, 9)]]),
(-11, 12, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -7), (-4, -5), (-3, -4), (4, 0), (6, 2)], [(-5, -7), (-3, -5), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-9, 9), (-8, 7), (-7, 7)]]),
(-10, 11, [[(3, -12), (-3, 9)], [(4, -12), (-2, 9)], [(-3, -12), (-6, -6), (-4, -12), (11, -12), (10, -6), (10, -12)], [(-6, 9), (1, 9)]]),
(-12, 13, [[(-4, -12), (-7, -1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (3, 8), (5, 6), (6, 3), (10, -12)], [(-3, -12), (-6, -1), (-7, 3), (-7, 6), (-6, 8), (-4, 9)], [(-7, -12), (0, -12)], [(7, -12), (13, -12)]]),
(-10, 10, [[(-4, -12), (-3, 9)], [(-3, -12), (-2, 7)], [(10, -12), (-3, 9)], [(-6, -12), (0, -12)], [(6, -12), (12, -12)]]),
(-13, 13, [[(-5, -12), (-7, 9)], [(-4, -12), (-6, 7)], [(3, -12), (-7, 9)], [(3, -12), (1, 9)], [(4, -12), (2, 7)], [(11, -12), (1, 9)], [(-8, -12), (-1, -12)], [(8, -12), (14, -12)]]),
(-11, 11, [[(-4, -12), (3, 9)], [(-3, -12), (4, 9)], [(10, -12), (-10, 9)], [(-6, -12), (0, -12)], [(6, -12), (12, -12)], [(-12, 9), (-6, 9)], [(0, 9), (6, 9)]]),
(-10, 11, [[(-4, -12), (0, -2), (-3, 9)], [(-3, -12), (1, -2), (-2, 9)], [(11, -12), (1, -2)], [(-6, -12), (0, -12)], [(7, -12), (13, -12)], [(-6, 9), (1, 9)]]),
(-11, 11, [[(9, -12), (-10, 9)], [(10, -12), (-9, 9)], [(-3, -12), (-6, -6), (-4, -12), (10, -12)], [(-10, 9), (4, 9), (6, 3), (3, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-10, 10, [[(-10, 16), (10, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-10, 11, [[(6, -5), (4, 2), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)]]),
(-10, 9, [[(-2, -12), (-6, 1), (-6, 4), (-5, 7), (-4, 8)], [(-1, -12), (-5, 1)], [(-5, 1), (-4, -2), (-2, -4), (0, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 2), (5, 5), (3, 8), (0, 9), (-2, 9), (-4, 8), (-5, 5), (-5, 1)], [(4, -4), (5, -2), (5, 2), (4, 5), (2, 8), (0, 9)], [(-5, -12), (-1, -12)]]),
(-9, 9, [[(5, -2), (5, -1), (6, -1), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)]]),
(-10, 11, [[(8, -12), (4, 2), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(9, -12), (5, 2), (4, 6), (4, 8), (5, 9)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)], [(5, -12), (9, -12)]]),
(-9, 9, [[(-5, 4), (-1, 3), (2, 2), (5, 0), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 6)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)]]),
(-7, 8, [[(8, -11), (7, -10), (8, -9), (9, -10), (9, -11), (8, -12), (6, -12), (4, -11), (3, -10), (2, -8), (1, -5), (-2, 9), (-3, 13), (-4, 15)], [(6, -12), (4, -10), (3, -8), (2, -4), (0, 5), (-1, 9), (-2, 12), (-3, 14), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 14), (-8, 13), (-7, 14), (-8, 15)], [(-3, -5), (7, -5)]]),
(-10, 10, [[(7, -5), (3, 9), (2, 12), (0, 15), (-3, 16), (-6, 16), (-8, 15), (-9, 14), (-9, 13), (-8, 12), (-7, 13), (-8, 14)], [(6, -5), (2, 9), (1, 12), (-1, 15), (-3, 16)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)]]),
(-10, 11, [[(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(-5, 2), (-3, -2), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -3), (6, -1), (4, 5), (4, 8), (5, 9)], [(3, -5), (5, -3), (5, -1), (3, 5), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(-5, -12), (-1, -12)]]),
(-6, 7, [[(3, -12), (2, -11), (3, -10), (4, -11), (3, -12)], [(-5, -1), (-4, -3), (-2, -5), (1, -5), (2, -4), (2, -1), (0, 5), (0, 8), (1, 9)], [(0, -5), (1, -4), (1, -1), (-1, 5), (-1, 8), (0, 9), (3, 9), (5, 7), (6, 5)]]),
(-6, 7, [[(4, -12), (3, -11), (4, -10), (5, -11), (4, -12)], [(-4, -1), (-3, -3), (-1, -5), (2, -5), (3, -4), (3, -1), (0, 9), (-1, 12), (-2, 14), (-3, 15), (-5, 16), (-7, 16), (-8, 15), (-8, 14), (-7, 13), (-6, 14), (-7, 15)], [(1, -5), (2, -4), (2, -1), (-1, 9), (-2, 12), (-3, 14), (-5, 16)]]),
(-10, 10, [[(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(6, -4), (5, -3), (6, -2), (7, -3), (7, -4), (6, -5), (5, -5), (3, -4), (-1, 0), (-3, 1), (-5, 1)], [(-3, 1), (-1, 2), (1, 8), (2, 9)], [(-3, 1), (-2, 2), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5)], [(-5, -12), (-1, -12)]]),
(-5, 7, [[(3, -12), (-1, 2), (-2, 6), (-2, 8), (-1, 9), (2, 9), (4, 7), (5, 5)], [(4, -12), (0, 2), (-1, 6), (-1, 8), (0, 9)], [(0, -12), (4, -12)]]),
(-17, 16, [[(-16, -1), (-15, -3), (-13, -5), (-10, -5), (-9, -4), (-9, -2), (-10, 2), (-12, 9)], [(-11, -5), (-10, -4), (-10, -2), (-11, 2), (-13, 9)], [(-10, 2), (-8, -2), (-6, -4), (-4, -5), (-2, -5), (0, -4), (1, -3), (1, -1), (-2, 9)], [(-2, -5), (0, -3), (0, -1), (-3, 9)], [(0, 2), (2, -2), (4, -4), (6, -5), (8, -5), (10, -4), (11, -3), (11, -1), (9, 5), (9, 8), (10, 9)], [(8, -5), (10, -3), (10, -1), (8, 5), (8, 8), (9, 9), (12, 9), (14, 7), (15, 5)]]),
(-12, 11, [[(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -2), (-5, 2), (-7, 9)], [(-6, -5), (-5, -4), (-5, -2), (-6, 2), (-8, 9)], [(-5, 2), (-3, -2), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -3), (6, -1), (4, 5), (4, 8), (5, 9)], [(3, -5), (5, -3), (5, -1), (3, 5), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)]]),
(-9, 9, [[(0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 5), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5), (6, 2), (6, -1), (5, -3), (4, -4), (2, -5), (0, -5)], [(0, -5), (-2, -4), (-4, -1), (-5, 2), (-5, 6), (-4, 8)], [(0, 9), (2, 8), (4, 5), (5, 2), (5, -2), (4, -4)]]),
(-11, 10, [[(-10, -1), (-9, -3), (-7, -5), (-4, -5), (-3, -4), (-3, -2), (-4, 2), (-8, 16)], [(-5, -5), (-4, -4), (-4, -2), (-5, 2), (-9, 16)], [(-4, 2), (-3, -1), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -3), (7, -1), (7, 2), (6, 5), (4, 8), (1, 9), (-1, 9), (-3, 8), (-4, 5), (-4, 2)], [(5, -4), (6, -2), (6, 2), (5, 5), (3, 8), (1, 9)], [(-12, 16), (-5, 16)]]),
(-10, 10, [[(6, -5), (0, 16)], [(7, -5), (1, 16)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 5), (4, 2)], [(-1, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 6), (-5, 8)], [(-3, 16), (4, 16)]]),
(-9, 8, [[(-8, -1), (-7, -3), (-5, -5), (-2, -5), (-1, -4), (-1, -2), (-2, 2), (-4, 9)], [(-3, -5), (-2, -4), (-2, -2), (-3, 2), (-5, 9)], [(-2, 2), (0, -2), (2, -4), (4, -5), (6, -5), (7, -4), (7, -3), (6, -2), (5, -3), (6, -4)]]),
(-8, 9, [[(6, -3), (6, -2), (7, -2), (7, -3), (6, -4), (3, -5), (0, -5), (-3, -4), (-4, -3), (-4, -1), (-3, 0), (4, 4), (5, 5)], [(-4, -2), (-3, -1), (4, 3), (5, 4), (5, 7), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-6, 6), (-5, 6), (-5, 7)]]),
(-7, 7, [[(2, -12), (-2, 2), (-3, 6), (-3, 8), (-2, 9), (1, 9), (3, 7), (4, 5)], [(3, -12), (-1, 2), (-2, 6), (-2, 8), (-1, 9)], [(-4, -5), (5, -5)]]),
(-12, 11, [[(-11, -1), (-10, -3), (-8, -5), (-5, -5), (-4, -4), (-4, -1), (-6, 5), (-6, 7), (-4, 9)], [(-6, -5), (-5, -4), (-5, -1), (-7, 5), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 2)], [(6, -5), (4, 2), (3, 6), (3, 8), (4, 9), (7, 9), (9, 7), (10, 5)], [(7, -5), (5, 2), (4, 6), (4, 8), (5, 9)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-3, -5), (-2, -4), (-2, -1), (-4, 5), (-4, 7), (-2, 9)], [(-4, -5), (-3, -4), (-3, -1), (-5, 5), (-5, 7), (-4, 8), (-2, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, -1), (7, -5), (6, -5), (7, -3)]]),
(-15, 14, [[(-14, -1), (-13, -3), (-11, -5), (-8, -5), (-7, -4), (-7, -1), (-9, 5), (-9, 7), (-7, 9)], [(-9, -5), (-8, -4), (-8, -1), (-10, 5), (-10, 7), (-9, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 6), (0, 4)], [(2, -5), (0, 4), (0, 7), (1, 8), (3, 9), (5, 9), (7, 8), (9, 6), (10, 4), (11, 0), (11, -5), (10, -5), (11, -3)], [(3, -5), (1, 4), (1, 7), (3, 9)]]),
(-10, 10, [[(-7, -1), (-5, -4), (-3, -5), (0, -5), (1, -3), (1, 0)], [(-1, -5), (0, -3), (0, 0), (-1, 4), (-2, 6), (-4, 8), (-6, 9), (-7, 9), (-8, 8), (-8, 7), (-7, 6), (-6, 7), (-7, 8)], [(-1, 4), (-1, 7), (0, 9), (3, 9), (5, 8), (7, 5)], [(7, -4), (6, -3), (7, -2), (8, -3), (8, -4), (7, -5), (6, -5), (4, -4), (2, -2), (1, 0), (0, 4), (0, 7), (1, 9)]]),
(-11, 10, [[(-10, -1), (-9, -3), (-7, -5), (-4, -5), (-3, -4), (-3, -1), (-5, 5), (-5, 7), (-3, 9)], [(-5, -5), (-4, -4), (-4, -1), (-6, 5), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 2)], [(8, -5), (4, 9), (3, 12), (1, 15), (-2, 16), (-5, 16), (-7, 15), (-8, 14), (-8, 13), (-7, 12), (-6, 13), (-7, 14)], [(7, -5), (3, 9), (2, 12), (0, 15), (-2, 16)]]),
(-10, 10, [[(7, -5), (6, -3), (4, -1), (-4, 5), (-6, 7), (-7, 9)], [(-6, -1), (-5, -3), (-3, -5), (0, -5), (4, -3)], [(-5, -3), (-3, -4), (0, -4), (4, -3), (6, -3)], [(-6, 7), (-4, 7), (0, 8), (3, 8), (5, 7)], [(-4, 7), (0, 9), (3, 9), (5, 7), (6, 5)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
TIMESIB = [
(-8, 8, [[]]),
(-5, 6, [[(4, -12), (3, -12), (2, -11), (0, 2)], [(4, -11), (3, -11), (0, 2)], [(4, -11), (4, -10), (0, 2)], [(4, -12), (5, -11), (5, -10), (0, 2)], [(-2, 6), (-3, 7), (-3, 8), (-2, 9), (-1, 9), (0, 8), (0, 7), (-1, 6), (-2, 6)], [(-2, 7), (-2, 8), (-1, 8), (-1, 7), (-2, 7)]]),
(-9, 9, [[(-2, -12), (-4, -5)], [(-1, -12), (-4, -5)], [(7, -12), (5, -5)], [(8, -12), (5, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 11, [[(2, -16), (-6, 13)], [(7, -16), (-1, 13)], [(8, -7), (8, -8), (7, -8), (7, -6), (9, -6), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -2), (4, 1), (5, 3), (5, 6), (4, 8)], [(-4, -6), (-3, -4), (4, 0), (5, 2)], [(-3, -11), (-4, -9), (-4, -7), (-3, -5), (3, -2), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-6, 3), (-6, 5), (-7, 5), (-7, 4)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(10, -3), (10, -4), (9, -4), (9, -2), (11, -2), (11, -4), (10, -5), (9, -5), (7, -4), (5, -2), (0, 6), (-2, 8), (-4, 9), (-7, 9), (-10, 8), (-11, 6), (-11, 4), (-10, 2), (-9, 1), (-7, 0), (-2, -2), (0, -3), (2, -5), (3, -7), (3, -9), (2, -11), (0, -12), (-2, -11), (-3, -9), (-3, -6), (-2, 0), (-1, 3), (0, 5), (2, 8), (4, 9), (6, 9), (7, 7), (7, 6)], [(-6, 9), (-10, 8)], [(-9, 8), (-10, 6), (-10, 4), (-9, 2), (-8, 1), (-6, 0)], [(-2, -2), (-1, 1), (2, 7), (4, 8)], [(-7, 9), (-8, 8), (-9, 6), (-9, 4), (-8, 2), (-7, 1), (-5, 0), (0, -3)], [(-3, -6), (-2, -3), (-1, 0), (1, 4), (3, 7), (5, 8), (6, 8), (7, 7)]]),
(-4, 5, [[(3, -12), (1, -5)], [(4, -12), (1, -5)]]),
(-8, 8, [[(8, -16), (6, -15), (3, -13), (0, -10), (-2, -7), (-4, -3), (-5, 1), (-5, 6), (-4, 10), (-3, 13), (-1, 16)], [(1, -10), (-1, -7), (-3, -3), (-4, 2), (-4, 10)], [(8, -16), (5, -14), (2, -11), (0, -8), (-1, -6), (-2, -3), (-3, 1), (-4, 10)], [(-4, 2), (-3, 11), (-2, 14), (-1, 16)]]),
(-8, 8, [[(1, -16), (3, -13), (4, -10), (5, -6), (5, -1), (4, 3), (2, 7), (0, 10), (-3, 13), (-6, 15), (-8, 16)], [(4, -10), (4, -2), (3, 3), (1, 7), (-1, 10)], [(1, -16), (2, -14), (3, -11), (4, -2)], [(4, -10), (3, -1), (2, 3), (1, 6), (0, 8), (-2, 11), (-5, 14), (-8, 16)]]),
(-8, 9, [[(2, -12), (1, -11), (3, -1), (2, 0)], [(2, -12), (2, 0)], [(2, -12), (3, -11), (1, -1), (2, 0)], [(-3, -9), (-2, -9), (6, -3), (7, -3)], [(-3, -9), (7, -3)], [(-3, -9), (-3, -8), (7, -4), (7, -3)], [(7, -9), (6, -9), (-2, -3), (-3, -3)], [(7, -9), (-3, -3)], [(7, -9), (7, -8), (-3, -4), (-3, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(-1, 9), (-2, 9), (-3, 8), (-3, 7), (-2, 6), (-1, 6), (0, 7), (0, 9), (-1, 11), (-2, 12), (-4, 13)], [(-2, 7), (-2, 8), (-1, 8), (-1, 7), (-2, 7)], [(-1, 9), (-1, 10), (-2, 12)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 6, [[(-2, 6), (-3, 7), (-3, 8), (-2, 9), (-1, 9), (0, 8), (0, 7), (-1, 6), (-2, 6)], [(-2, 7), (-2, 8), (-1, 8), (-1, 7), (-2, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 11, [[(2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (2, -12)], [(-1, -10), (-3, -8), (-4, -6), (-5, -3), (-6, 1), (-6, 5), (-5, 7)], [(2, 7), (4, 5), (5, 3), (6, 0), (7, -4), (7, -8), (6, -10)], [(2, -12), (0, -11), (-2, -8), (-3, -6), (-4, -3), (-5, 1), (-5, 6), (-4, 8), (-3, 9)], [(-1, 9), (1, 8), (3, 5), (4, 3), (5, 0), (6, -4), (6, -9), (5, -11), (4, -12)]]),
(-10, 11, [[(2, -8), (-3, 9), (-1, 9)], [(5, -12), (3, -8), (-2, 9)], [(5, -12), (-1, 9)], [(5, -12), (2, -9), (-1, -7), (-3, -6)], [(2, -8), (0, -7), (-3, -6)]]),
(-10, 11, [[(-3, -7), (-3, -8), (-2, -8), (-2, -6), (-4, -6), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (5, -3), (-5, 3), (-7, 5), (-9, 9)], [(6, -11), (7, -9), (7, -7), (6, -5), (4, -3), (1, -1)], [(4, -12), (5, -11), (6, -9), (6, -7), (5, -5), (3, -3), (-5, 3)], [(-8, 7), (-7, 6), (-5, 6), (0, 7), (5, 7), (6, 6)], [(-5, 6), (0, 8), (5, 8)], [(-5, 6), (0, 9), (3, 9), (5, 8), (6, 6), (6, 5)]]),
(-10, 11, [[(-3, -7), (-3, -8), (-2, -8), (-2, -6), (-4, -6), (-4, -8), (-3, -10), (-2, -11), (1, -12), (4, -12), (7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3), (1, -2)], [(6, -11), (7, -9), (7, -7), (6, -5), (5, -4)], [(4, -12), (5, -11), (6, -9), (6, -7), (5, -5), (3, -3), (1, -2)], [(-1, -2), (1, -2), (4, -1), (5, 0), (6, 2), (6, 5), (5, 7), (3, 8), (0, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-6, 3), (-6, 5), (-7, 5), (-7, 4)], [(4, 0), (5, 2), (5, 5), (4, 7)], [(1, -2), (3, -1), (4, 1), (4, 5), (3, 7), (2, 8), (0, 9)]]),
(-10, 11, [[(5, -8), (0, 9), (2, 9)], [(8, -12), (6, -8), (1, 9)], [(8, -12), (2, 9)], [(8, -12), (-8, 3), (8, 3)]]),
(-10, 11, [[(-1, -12), (-6, -2)], [(-1, -12), (9, -12)], [(-1, -11), (7, -11)], [(-2, -10), (3, -10), (7, -11), (9, -12)], [(-6, -2), (-5, -3), (-2, -4), (1, -4), (4, -3), (5, -2), (6, 0), (6, 3), (5, 6), (3, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-6, 3), (-6, 5), (-7, 5), (-7, 4)], [(4, -2), (5, 0), (5, 3), (4, 6), (2, 8)], [(1, -4), (3, -3), (4, -1), (4, 3), (3, 6), (1, 8), (-1, 9)]]),
(-10, 11, [[(7, -8), (7, -9), (6, -9), (6, -7), (8, -7), (8, -9), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (0, 9), (3, 8), (5, 6), (6, 4), (6, 1), (5, -1), (4, -2), (2, -3), (-1, -3), (-3, -2), (-4, -1), (-5, 1)], [(-2, -9), (-4, -6), (-5, -3), (-6, 1), (-6, 5), (-5, 7)], [(4, 6), (5, 4), (5, 1), (4, -1)], [(2, -12), (0, -11), (-2, -8), (-3, -6), (-4, -3), (-5, 1), (-5, 6), (-4, 8), (-3, 9)], [(0, 9), (2, 8), (3, 7), (4, 4), (4, 0), (3, -2), (2, -3)]]),
(-10, 11, [[(-4, -12), (-6, -6)], [(9, -12), (8, -9), (6, -6), (2, -1), (0, 2), (-1, 5), (-2, 9)], [(0, 1), (-2, 5), (-3, 9)], [(6, -6), (0, 0), (-2, 3), (-3, 5), (-4, 9), (-2, 9)], [(-5, -9), (-2, -12), (0, -12), (5, -9)], [(-3, -11), (0, -11), (5, -9)], [(-5, -9), (-3, -10), (0, -10), (5, -9), (7, -9), (8, -10), (9, -12)]]),
(-10, 11, [[(1, -12), (-2, -11), (-3, -10), (-4, -8), (-4, -5), (-3, -3), (-1, -2), (2, -2), (5, -3), (7, -4), (8, -6), (8, -9), (7, -11), (5, -12), (1, -12)], [(3, -12), (-2, -11)], [(-2, -10), (-3, -8), (-3, -4), (-2, -3)], [(-3, -3), (0, -2)], [(1, -2), (5, -3)], [(6, -4), (7, -6), (7, -9), (6, -11)], [(7, -11), (3, -12)], [(1, -12), (-1, -10), (-2, -8), (-2, -4), (-1, -2)], [(2, -2), (4, -3), (5, -4), (6, -6), (6, -10), (5, -12)], [(-1, -2), (-5, -1), (-7, 1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (4, 8), (5, 7), (6, 5), (6, 2), (5, 0), (4, -1), (2, -2)], [(0, -2), (-5, -1)], [(-4, -1), (-6, 1), (-7, 3), (-7, 6), (-6, 8)], [(-7, 8), (-2, 9), (4, 8)], [(4, 7), (5, 5), (5, 2), (4, 0)], [(4, -1), (1, -2)], [(-1, -2), (-3, -1), (-5, 1), (-6, 3), (-6, 6), (-5, 8), (-4, 9)], [(0, 9), (2, 8), (3, 7), (4, 5), (4, 1), (3, -1), (2, -2)]]),
(-10, 11, [[(6, -4), (5, -2), (4, -1), (2, 0), (-1, 0), (-3, -1), (-4, -2), (-5, -4), (-5, -7), (-4, -9), (-2, -11), (1, -12), (4, -12), (6, -11), (7, -10), (8, -7), (8, -4), (7, 0), (6, 3), (4, 6), (2, 8), (-1, 9), (-4, 9), (-6, 8), (-7, 6), (-7, 4), (-5, 4), (-5, 6), (-6, 6), (-6, 5)], [(-3, -2), (-4, -4), (-4, -7), (-3, -9)], [(6, -10), (7, -8), (7, -4), (6, 0), (5, 3), (3, 6)], [(-1, 0), (-2, -1), (-3, -3), (-3, -7), (-2, -10), (-1, -11), (1, -12)], [(4, -12), (5, -11), (6, -9), (6, -4), (5, 0), (4, 3), (3, 5), (1, 8), (-1, 9)]]),
(-5, 6, [[(1, -5), (0, -4), (0, -3), (1, -2), (2, -2), (3, -3), (3, -4), (2, -5), (1, -5)], [(1, -4), (1, -3), (2, -3), (2, -4), (1, -4)], [(-2, 6), (-3, 7), (-3, 8), (-2, 9), (-1, 9), (0, 8), (0, 7), (-1, 6), (-2, 6)], [(-2, 7), (-2, 8), (-1, 8), (-1, 7), (-2, 7)]]),
(-5, 6, [[(1, -5), (0, -4), (0, -3), (1, -2), (2, -2), (3, -3), (3, -4), (2, -5), (1, -5)], [(1, -4), (1, -3), (2, -3), (2, -4), (1, -4)], [(-1, 9), (-2, 9), (-3, 8), (-3, 7), (-2, 6), (-1, 6), (0, 7), (0, 9), (-1, 11), (-2, 12), (-4, 13)], [(-2, 7), (-2, 8), (-1, 8), (-1, 7), (-2, 7)], [(-1, 9), (-1, 10), (-2, 12)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-10, 11, [[(-3, -7), (-3, -8), (-2, -8), (-2, -6), (-4, -6), (-4, -8), (-3, -10), (-2, -11), (1, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -5), (7, -4), (5, -3), (1, -2), (-1, -1), (-1, 1), (1, 2), (2, 2)], [(3, -12), (8, -11)], [(7, -11), (8, -9), (8, -7), (7, -5), (6, -4), (4, -3)], [(5, -12), (6, -11), (7, -9), (7, -7), (6, -5), (5, -4), (1, -2), (0, -1), (0, 1), (1, 2)], [(-2, 6), (-3, 7), (-3, 8), (-2, 9), (-1, 9), (0, 8), (0, 7), (-1, 6), (-2, 6)], [(-2, 7), (-2, 8), (-1, 8), (-1, 7), (-2, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(3, -12), (-9, 8)], [(1, -8), (2, 9)], [(2, -10), (3, 8)], [(3, -12), (3, -10), (4, 7), (4, 9)], [(-6, 3), (2, 3)], [(-12, 9), (-6, 9)], [(-1, 9), (6, 9)], [(-9, 8), (-11, 9)], [(-9, 8), (-7, 9)], [(2, 8), (0, 9)], [(2, 7), (1, 9)], [(4, 7), (5, 9)]]),
(-12, 12, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(-6, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -4), (7, -3), (4, -2)], [(7, -11), (8, -9), (8, -7), (7, -4), (6, -3)], [(5, -12), (6, -11), (7, -9), (7, -7), (6, -4), (4, -2)], [(-4, -2), (4, -2), (6, -1), (7, 1), (7, 3), (6, 6), (4, 8), (0, 9), (-12, 9)], [(5, -1), (6, 1), (6, 3), (5, 6), (3, 8)], [(4, -2), (5, 0), (5, 3), (4, 6), (2, 8), (0, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)]]),
(-10, 11, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6), (6, 4)], [(-1, -10), (-3, -8), (-4, -6), (-5, -3), (-6, 1), (-6, 5), (-5, 7)], [(2, -12), (0, -11), (-2, -8), (-3, -6), (-4, -3), (-5, 1), (-5, 6), (-4, 8), (-2, 9)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(-6, -12), (3, -12), (6, -11), (7, -10), (8, -7), (8, -3), (7, 1), (5, 5), (3, 7), (1, 8), (-3, 9), (-12, 9)], [(5, -11), (6, -10), (7, -7), (7, -3), (6, 1), (4, 5), (2, 7)], [(3, -12), (5, -10), (6, -7), (6, -3), (5, 1), (3, 5), (0, 8), (-3, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(3, -6), (1, 2)], [(-6, -12), (9, -12), (8, -6)], [(-4, -2), (2, -2)], [(-12, 9), (3, 9), (5, 4)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(5, -12), (8, -11)], [(6, -12), (8, -10)], [(7, -12), (8, -9)], [(8, -12), (8, -6)], [(3, -6), (1, -2), (1, 2)], [(2, -4), (0, -2), (1, 0)], [(2, -3), (-1, -2), (1, -1)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)], [(-2, 9), (3, 8)], [(0, 9), (3, 7)], [(3, 7), (5, 4)]]),
(-12, 10, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(3, -6), (1, 2)], [(-6, -12), (9, -12), (8, -6)], [(-4, -2), (2, -2)], [(-12, 9), (-4, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(5, -12), (8, -11)], [(6, -12), (8, -10)], [(7, -12), (8, -9)], [(8, -12), (8, -6)], [(3, -6), (1, -2), (1, 2)], [(2, -4), (0, -2), (1, 0)], [(2, -3), (-1, -2), (1, -1)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)]]),
(-10, 12, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (5, -12), (2, -12), (-1, -11), (-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (0, 9), (3, 8), (5, 6), (7, 2)], [(-1, -10), (-3, -8), (-4, -6), (-5, -3), (-6, 1), (-6, 5), (-5, 7)], [(4, 6), (5, 5), (6, 2)], [(2, -12), (0, -11), (-2, -8), (-3, -6), (-4, -3), (-5, 1), (-5, 6), (-4, 8), (-2, 9)], [(0, 9), (2, 8), (4, 5), (5, 2)], [(2, 2), (10, 2)], [(3, 2), (5, 3)], [(4, 2), (5, 5)], [(8, 2), (6, 4)], [(9, 2), (6, 3)]]),
(-13, 13, [[(-4, -12), (-10, 9)], [(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(8, -12), (2, 9)], [(9, -12), (3, 9)], [(10, -12), (4, 9)], [(-7, -12), (1, -12)], [(5, -12), (13, -12)], [(-6, -2), (6, -2)], [(-13, 9), (-5, 9)], [(-1, 9), (7, 9)], [(-6, -12), (-3, -11)], [(-5, -12), (-4, -10)], [(-1, -12), (-3, -10)], [(0, -12), (-3, -11)], [(6, -12), (9, -11)], [(7, -12), (8, -10)], [(11, -12), (9, -10)], [(12, -12), (9, -11)], [(-9, 8), (-12, 9)], [(-9, 7), (-11, 9)], [(-8, 7), (-7, 9)], [(-9, 8), (-6, 9)], [(3, 8), (0, 9)], [(3, 7), (1, 9)], [(4, 7), (5, 9)], [(3, 8), (6, 9)]]),
(-7, 7, [[(2, -12), (-4, 9)], [(3, -12), (-3, 9)], [(4, -12), (-2, 9)], [(-1, -12), (7, -12)], [(-7, 9), (1, 9)], [(0, -12), (3, -11)], [(1, -12), (2, -10)], [(5, -12), (3, -10)], [(6, -12), (3, -11)], [(-3, 8), (-6, 9)], [(-3, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-3, 8), (0, 9)]]),
(-9, 10, [[(5, -12), (0, 5), (-1, 7), (-3, 9)], [(6, -12), (2, 1), (1, 4), (0, 6)], [(7, -12), (3, 1), (1, 6), (-1, 8), (-3, 9), (-5, 9), (-7, 8), (-8, 6), (-8, 4), (-7, 3), (-6, 3), (-5, 4), (-5, 5), (-6, 6), (-7, 6)], [(-7, 4), (-7, 5), (-6, 5), (-6, 4), (-7, 4)], [(2, -12), (10, -12)], [(3, -12), (6, -11)], [(4, -12), (5, -10)], [(8, -12), (6, -10)], [(9, -12), (6, -11)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(10, -11), (-5, 0)], [(-1, -3), (3, 9)], [(0, -3), (4, 9)], [(1, -4), (5, 8)], [(-6, -12), (2, -12)], [(7, -12), (13, -12)], [(-12, 9), (-4, 9)], [(0, 9), (7, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(8, -12), (10, -11)], [(12, -12), (10, -11)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)], [(3, 8), (1, 9)], [(3, 7), (2, 9)], [(4, 7), (6, 9)]]),
(-10, 10, [[(-1, -12), (-7, 9)], [(0, -12), (-6, 9)], [(1, -12), (-5, 9)], [(-4, -12), (4, -12)], [(-10, 9), (5, 9), (7, 3)], [(-3, -12), (0, -11)], [(-2, -12), (-1, -10)], [(2, -12), (0, -10)], [(3, -12), (0, -11)], [(-6, 8), (-9, 9)], [(-6, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-6, 8), (-3, 9)], [(0, 9), (5, 8)], [(2, 9), (6, 6)], [(4, 9), (7, 3)]]),
(-14, 14, [[(-5, -12), (-11, 8)], [(-5, -11), (-4, 7), (-4, 9)], [(-4, -12), (-3, 7)], [(-3, -12), (-2, 6)], [(9, -12), (-2, 6), (-4, 9)], [(9, -12), (3, 9)], [(10, -12), (4, 9)], [(11, -12), (5, 9)], [(-8, -12), (-3, -12)], [(9, -12), (14, -12)], [(-14, 9), (-8, 9)], [(0, 9), (8, 9)], [(-7, -12), (-5, -11)], [(-6, -12), (-5, -10)], [(12, -12), (10, -10)], [(13, -12), (10, -11)], [(-11, 8), (-13, 9)], [(-11, 8), (-9, 9)], [(4, 8), (1, 9)], [(4, 7), (2, 9)], [(5, 7), (6, 9)], [(4, 8), (7, 9)]]),
(-12, 13, [[(-3, -12), (-9, 8)], [(-3, -12), (4, 9)], [(-2, -12), (4, 6)], [(-1, -12), (5, 6)], [(10, -11), (5, 6), (4, 9)], [(-6, -12), (-1, -12)], [(7, -12), (13, -12)], [(-12, 9), (-6, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-2, -10)], [(8, -12), (10, -11)], [(12, -12), (10, -11)], [(-9, 8), (-11, 9)], [(-9, 8), (-7, 9)]]),
(-11, 11, [[(1, -12), (-2, -11), (-4, -9), (-6, -6), (-7, -3), (-8, 1), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (1, -12)], [(-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 5), (-6, 7)], [(3, 6), (5, 3), (6, 0), (7, -4), (7, -8), (6, -10)], [(1, -12), (-1, -11), (-3, -8), (-4, -6), (-5, -3), (-6, 1), (-6, 6), (-5, 8), (-4, 9)], [(-1, 9), (1, 8), (3, 5), (4, 3), (5, 0), (6, -4), (6, -9), (5, -11), (4, -12)]]),
(-12, 11, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(-6, -12), (6, -12), (9, -11), (10, -9), (10, -7), (9, -4), (7, -2), (3, -1), (-5, -1)], [(8, -11), (9, -9), (9, -7), (8, -4), (6, -2)], [(6, -12), (7, -11), (8, -9), (8, -7), (7, -4), (5, -2), (3, -1)], [(-12, 9), (-4, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)]]),
(-11, 11, [[(1, -12), (-2, -11), (-4, -9), (-6, -6), (-7, -3), (-8, 1), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-1, 9), (2, 8), (4, 6), (6, 3), (7, 0), (8, -4), (8, -7), (7, -10), (6, -11), (4, -12), (1, -12)], [(-3, -9), (-5, -6), (-6, -3), (-7, 1), (-7, 5), (-6, 7)], [(3, 6), (5, 3), (6, 0), (7, -4), (7, -8), (6, -10)], [(1, -12), (-1, -11), (-3, -8), (-4, -6), (-5, -3), (-6, 1), (-6, 6), (-5, 8), (-4, 9)], [(-1, 9), (1, 8), (3, 5), (4, 3), (5, 0), (6, -4), (6, -9), (5, -11), (4, -12)], [(-6, 6), (-5, 4), (-3, 3), (-2, 3), (0, 4), (1, 6), (2, 11), (3, 12), (4, 12), (5, 11)], [(2, 12), (3, 13), (4, 13)], [(1, 6), (1, 13), (2, 14), (4, 14), (5, 11), (5, 10)]]),
(-12, 12, [[(-3, -12), (-9, 9)], [(-2, -12), (-8, 9)], [(-1, -12), (-7, 9)], [(-6, -12), (5, -12), (8, -11), (9, -9), (9, -7), (8, -4), (7, -3), (4, -2), (-4, -2)], [(7, -11), (8, -9), (8, -7), (7, -4), (6, -3)], [(5, -12), (6, -11), (7, -9), (7, -7), (6, -4), (4, -2)], [(0, -2), (2, -1), (3, 0), (5, 6), (6, 7), (7, 7), (8, 6)], [(5, 7), (6, 8), (7, 8)], [(3, 0), (4, 8), (5, 9), (7, 9), (8, 6), (8, 5)], [(-12, 9), (-4, 9)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)], [(0, -12), (-2, -10)], [(1, -12), (-2, -11)], [(-8, 8), (-11, 9)], [(-8, 7), (-10, 9)], [(-7, 7), (-6, 9)], [(-8, 8), (-5, 9)]]),
(-11, 12, [[(8, -10), (9, -10), (10, -12), (9, -6), (9, -8), (8, -10), (7, -11), (4, -12), (0, -12), (-3, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -2), (4, 1), (5, 3), (5, 6), (4, 8)], [(-4, -6), (-3, -4), (4, 0), (5, 2)], [(-3, -11), (-4, -9), (-4, -7), (-3, -5), (3, -2), (5, 0), (6, 2), (6, 5), (5, 7), (4, 8), (1, 9), (-3, 9), (-6, 8), (-7, 7), (-8, 5), (-8, 3), (-9, 9), (-8, 7), (-7, 7)]]),
(-11, 11, [[(2, -12), (-4, 9)], [(3, -12), (-3, 9)], [(4, -12), (-2, 9)], [(-5, -12), (-7, -6)], [(11, -12), (10, -6)], [(-5, -12), (11, -12)], [(-7, 9), (1, 9)], [(-4, -12), (-7, -6)], [(-2, -12), (-6, -9)], [(0, -12), (-5, -11)], [(7, -12), (10, -11)], [(8, -12), (10, -10)], [(9, -12), (10, -9)], [(10, -12), (10, -6)], [(-3, 8), (-6, 9)], [(-3, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-3, 8), (0, 9)]]),
(-12, 13, [[(-4, -12), (-7, -1), (-8, 3), (-8, 6), (-7, 8), (-4, 9), (0, 9), (3, 8), (5, 6), (6, 3), (10, -11)], [(-3, -12), (-6, -1), (-7, 3), (-7, 7), (-6, 8)], [(-2, -12), (-5, -1), (-6, 3), (-6, 7), (-4, 9)], [(-7, -12), (1, -12)], [(7, -12), (13, -12)], [(-6, -12), (-3, -11)], [(-5, -12), (-4, -10)], [(-1, -12), (-3, -10)], [(0, -12), (-3, -11)], [(8, -12), (10, -11)], [(12, -12), (10, -11)]]),
(-10, 10, [[(-4, -12), (-4, -10), (-3, 7), (-3, 9)], [(-3, -11), (-2, 6)], [(-2, -12), (-1, 5)], [(9, -11), (-3, 9)], [(-6, -12), (1, -12)], [(6, -12), (12, -12)], [(-5, -12), (-4, -10)], [(-1, -12), (-2, -10)], [(0, -12), (-3, -11)], [(7, -12), (9, -11)], [(11, -12), (9, -11)]]),
(-13, 13, [[(-5, -12), (-5, -10), (-7, 7), (-7, 9)], [(-4, -11), (-6, 6)], [(-3, -12), (-5, 5)], [(3, -12), (-5, 5), (-7, 9)], [(3, -12), (3, -10), (1, 7), (1, 9)], [(4, -11), (2, 6)], [(5, -12), (3, 5)], [(11, -11), (3, 5), (1, 9)], [(-8, -12), (0, -12)], [(3, -12), (5, -12)], [(8, -12), (14, -12)], [(-7, -12), (-4, -11)], [(-6, -12), (-5, -10)], [(-2, -12), (-4, -9)], [(-1, -12), (-4, -11)], [(9, -12), (11, -11)], [(13, -12), (11, -11)]]),
(-11, 11, [[(-4, -12), (2, 9)], [(-3, -12), (3, 9)], [(-2, -12), (4, 9)], [(9, -11), (-9, 8)], [(-6, -12), (1, -12)], [(6, -12), (12, -12)], [(-12, 9), (-6, 9)], [(-1, 9), (6, 9)], [(-5, -12), (-3, -10)], [(-1, -12), (-2, -10)], [(0, -12), (-2, -11)], [(7, -12), (9, -11)], [(11, -12), (9, -11)], [(-9, 8), (-11, 9)], [(-9, 8), (-7, 9)], [(2, 8), (0, 9)], [(2, 7), (1, 9)], [(3, 7), (5, 9)]]),
(-11, 11, [[(-5, -12), (-1, -2), (-4, 9)], [(-4, -12), (0, -2), (-3, 9)], [(-3, -12), (1, -2), (-2, 9)], [(10, -11), (1, -2)], [(-7, -12), (0, -12)], [(7, -12), (13, -12)], [(-7, 9), (1, 9)], [(-6, -12), (-4, -11)], [(-2, -12), (-3, -10)], [(-1, -12), (-4, -11)], [(8, -12), (10, -11)], [(12, -12), (10, -11)], [(-3, 8), (-6, 9)], [(-3, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-3, 8), (0, 9)]]),
(-11, 11, [[(8, -12), (-10, 9)], [(9, -12), (-9, 9)], [(10, -12), (-8, 9)], [(10, -12), (-4, -12), (-6, -6)], [(-10, 9), (4, 9), (6, 3)], [(-3, -12), (-6, -6)], [(-2, -12), (-5, -9)], [(0, -12), (-4, -11)], [(0, 9), (4, 8)], [(2, 9), (5, 6)], [(3, 9), (6, 3)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-10, 10, [[(-10, 16), (10, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-11, 11, [[(5, -5), (3, 2), (3, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)], [(6, -5), (4, 2), (4, 8)], [(5, -5), (7, -5), (5, 2), (4, 6)], [(3, 2), (3, -1), (2, -4), (0, -5), (-2, -5), (-5, -4), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (2, 5), (3, 2)], [(-4, -4), (-6, -1), (-7, 2), (-7, 5), (-6, 7)], [(-2, -5), (-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 8), (-4, 9)]]),
(-9, 10, [[(-2, -12), (-4, -5), (-5, 1), (-5, 5), (-4, 7), (-3, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 2), (7, 0), (6, -3), (5, -4), (3, -5), (1, -5), (-1, -4), (-2, -3), (-3, -1), (-4, 2)], [(-1, -12), (-3, -5), (-4, -1), (-4, 5), (-3, 8)], [(4, 7), (5, 5), (6, 2), (6, -1), (5, -3)], [(-5, -12), (0, -12), (-2, -5), (-4, 2)], [(1, 9), (3, 7), (4, 5), (5, 2), (5, -1), (4, -4), (3, -5)], [(-4, -12), (-1, -11)], [(-3, -12), (-2, -10)]]),
(-9, 9, [[(5, -1), (5, -2), (4, -2), (4, 0), (6, 0), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 5)], [(-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 7)], [(0, -5), (-2, -3), (-3, -1), (-4, 2), (-4, 5), (-3, 8), (-2, 9)]]),
(-11, 11, [[(7, -12), (4, -1), (3, 3), (3, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)], [(8, -12), (5, -1), (4, 3), (4, 8)], [(4, -12), (9, -12), (5, 2), (4, 6)], [(3, 2), (3, -1), (2, -4), (0, -5), (-2, -5), (-5, -4), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (2, 5), (3, 2)], [(-5, -3), (-6, -1), (-7, 2), (-7, 5), (-6, 7)], [(-2, -5), (-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 8), (-4, 9)], [(5, -12), (8, -11)], [(6, -12), (7, -10)]]),
(-9, 9, [[(-5, 4), (-1, 3), (2, 2), (5, 0), (6, -2), (5, -4), (3, -5), (0, -5), (-3, -4), (-5, -1), (-6, 2), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (0, 9), (3, 8), (5, 6)], [(-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 7)], [(0, -5), (-2, -3), (-3, -1), (-4, 2), (-4, 5), (-3, 8), (-2, 9)]]),
(-8, 8, [[(8, -10), (8, -11), (7, -11), (7, -9), (9, -9), (9, -11), (8, -12), (6, -12), (4, -11), (2, -9), (1, -7), (0, -4), (-1, 0), (-3, 9), (-4, 12), (-5, 14), (-7, 16)], [(2, -8), (1, -5), (0, 0), (-2, 9), (-3, 12)], [(6, -12), (4, -10), (3, -8), (2, -5), (1, 0), (-1, 8), (-2, 11), (-3, 13), (-5, 15), (-7, 16), (-9, 16), (-10, 15), (-10, 13), (-8, 13), (-8, 15), (-9, 15), (-9, 14)], [(-4, -5), (7, -5)]]),
(-10, 11, [[(6, -5), (2, 9), (1, 12), (-1, 15), (-3, 16)], [(7, -5), (3, 9), (1, 13)], [(6, -5), (8, -5), (4, 9), (2, 13), (0, 15), (-3, 16), (-6, 16), (-8, 15), (-9, 14), (-9, 12), (-7, 12), (-7, 14), (-8, 14), (-8, 13)], [(4, 2), (4, -1), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 4), (-6, 7), (-5, 8), (-3, 9), (-1, 9), (1, 8), (2, 7), (3, 5), (4, 2)], [(-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 7)], [(-1, -5), (-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 8), (-3, 9)]]),
(-11, 11, [[(-3, -12), (-9, 9), (-7, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (-1, -12), (-7, 9)], [(-5, 2), (-3, -2), (-1, -4), (1, -5), (3, -5), (5, -4), (6, -2), (6, 1), (4, 6)], [(5, -4), (5, 0), (4, 4), (4, 8)], [(5, -2), (3, 3), (3, 6), (4, 8), (5, 9), (7, 9), (9, 7), (10, 5)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)]]),
(-7, 6, [[(1, -12), (1, -10), (3, -10), (3, -12), (1, -12)], [(2, -12), (2, -10)], [(1, -11), (3, -11)], [(-6, -1), (-5, -3), (-3, -5), (-1, -5), (0, -4), (1, -2), (1, 1), (-1, 6)], [(0, -4), (0, 0), (-1, 4), (-1, 8)], [(0, -2), (-2, 3), (-2, 6), (-1, 8), (0, 9), (2, 9), (4, 7), (5, 5)]]),
(-7, 6, [[(3, -12), (3, -10), (5, -10), (5, -12), (3, -12)], [(4, -12), (4, -10)], [(3, -11), (5, -11)], [(-5, -1), (-4, -3), (-2, -5), (0, -5), (1, -4), (2, -2), (2, 1), (0, 8), (-1, 11), (-2, 13), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 13), (-7, 13), (-7, 15), (-8, 15), (-8, 14)], [(1, -4), (1, 1), (-1, 8), (-2, 11), (-3, 13)], [(1, -2), (0, 2), (-2, 9), (-3, 12), (-4, 14), (-6, 16)]]),
(-11, 11, [[(-3, -12), (-9, 9), (-7, 9)], [(-2, -12), (-8, 9)], [(-6, -12), (-1, -12), (-7, 9)], [(7, -3), (7, -4), (6, -4), (6, -2), (8, -2), (8, -4), (7, -5), (5, -5), (3, -4), (-1, 0), (-3, 1)], [(-5, 1), (-3, 1), (-1, 2), (0, 3), (2, 7), (3, 8), (5, 8)], [(-1, 3), (1, 7), (2, 8)], [(-3, 1), (-2, 2), (0, 8), (1, 9), (3, 9), (5, 8), (7, 5)], [(-5, -12), (-2, -11)], [(-4, -12), (-3, -10)]]),
(-6, 6, [[(2, -12), (-1, -1), (-2, 3), (-2, 6), (-1, 8), (0, 9), (2, 9), (4, 7), (5, 5)], [(3, -12), (0, -1), (-1, 3), (-1, 8)], [(-1, -12), (4, -12), (0, 2), (-1, 6)], [(0, -12), (3, -11)], [(1, -12), (2, -10)]]),
(-18, 17, [[(-17, -1), (-16, -3), (-14, -5), (-12, -5), (-11, -4), (-10, -2), (-10, 1), (-12, 9)], [(-11, -4), (-11, 1), (-13, 9)], [(-11, -2), (-12, 2), (-14, 9), (-12, 9)], [(-10, 1), (-8, -2), (-6, -4), (-4, -5), (-2, -5), (0, -4), (1, -2), (1, 1), (-1, 9)], [(0, -4), (0, 1), (-2, 9)], [(0, -2), (-1, 2), (-3, 9), (-1, 9)], [(1, 1), (3, -2), (5, -4), (7, -5), (9, -5), (11, -4), (12, -2), (12, 1), (10, 6)], [(11, -4), (11, 0), (10, 4), (10, 8)], [(11, -2), (9, 3), (9, 6), (10, 8), (11, 9), (13, 9), (15, 7), (16, 5)]]),
(-12, 12, [[(-11, -1), (-10, -3), (-8, -5), (-6, -5), (-5, -4), (-4, -2), (-4, 1), (-6, 9)], [(-5, -4), (-5, 1), (-7, 9)], [(-5, -2), (-6, 2), (-8, 9), (-6, 9)], [(-4, 1), (-2, -2), (0, -4), (2, -5), (4, -5), (6, -4), (7, -2), (7, 1), (5, 6)], [(6, -4), (6, 0), (5, 4), (5, 8)], [(6, -2), (4, 3), (4, 6), (5, 8), (6, 9), (8, 9), (10, 7), (11, 5)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -1), (-7, 2), (-7, 4), (-6, 7), (-5, 8), (-2, 9), (1, 9), (4, 8), (6, 5), (7, 2), (7, 0), (6, -3), (5, -4), (2, -5), (-1, -5)], [(-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 7)], [(4, 7), (5, 5), (6, 2), (6, -1), (5, -3)], [(-1, -5), (-3, -3), (-4, -1), (-5, 2), (-5, 5), (-4, 8), (-2, 9)], [(1, 9), (3, 7), (4, 5), (5, 2), (5, -1), (4, -4), (2, -5)]]),
(-11, 11, [[(-10, -1), (-9, -3), (-7, -5), (-5, -5), (-4, -4), (-3, -2), (-3, 1), (-4, 5), (-7, 16)], [(-4, -4), (-4, 1), (-5, 5), (-8, 16)], [(-4, -2), (-5, 2), (-9, 16)], [(-3, 2), (-2, -1), (-1, -3), (0, -4), (2, -5), (4, -5), (6, -4), (7, -3), (8, 0), (8, 2), (7, 5), (5, 8), (2, 9), (0, 9), (-2, 8), (-3, 5), (-3, 2)], [(6, -3), (7, -1), (7, 2), (6, 5), (5, 7)], [(4, -5), (5, -4), (6, -1), (6, 2), (5, 5), (4, 7), (2, 9)], [(-12, 16), (-4, 16)], [(-8, 15), (-11, 16)], [(-8, 14), (-10, 16)], [(-7, 14), (-6, 16)], [(-8, 15), (-5, 16)]]),
(-11, 10, [[(5, -5), (-1, 16)], [(6, -5), (0, 16)], [(5, -5), (7, -5), (1, 16)], [(3, 2), (3, -1), (2, -4), (0, -5), (-2, -5), (-5, -4), (-7, -1), (-8, 2), (-8, 4), (-7, 7), (-6, 8), (-4, 9), (-2, 9), (0, 8), (1, 7), (2, 5), (3, 2)], [(-5, -3), (-6, -1), (-7, 2), (-7, 5), (-6, 7)], [(-2, -5), (-4, -3), (-5, -1), (-6, 2), (-6, 5), (-5, 8), (-4, 9)], [(-4, 16), (4, 16)], [(0, 15), (-3, 16)], [(0, 14), (-2, 16)], [(1, 14), (2, 16)], [(0, 15), (3, 16)]]),
(-9, 9, [[(-8, -1), (-7, -3), (-5, -5), (-3, -5), (-2, -4), (-1, -2), (-1, 2), (-3, 9)], [(-2, -4), (-2, 2), (-4, 9)], [(-2, -2), (-3, 2), (-5, 9), (-3, 9)], [(7, -3), (7, -4), (6, -4), (6, -2), (8, -2), (8, -4), (7, -5), (5, -5), (3, -4), (1, -2), (-1, 2)]]),
(-8, 9, [[(6, -2), (6, -3), (5, -3), (5, -1), (7, -1), (7, -3), (6, -4), (3, -5), (0, -5), (-3, -4), (-4, -3), (-4, -1), (-3, 1), (-1, 2), (2, 3), (4, 4), (5, 6)], [(-3, -4), (-4, -1)], [(-3, 0), (-1, 1), (2, 2), (4, 3)], [(5, 4), (4, 8)], [(-4, -3), (-3, -1), (-1, 0), (2, 1), (4, 2), (5, 4), (5, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-6, 5), (-4, 5), (-4, 7), (-5, 7), (-5, 6)]]),
(-7, 7, [[(2, -12), (-1, -1), (-2, 3), (-2, 6), (-1, 8), (0, 9), (2, 9), (4, 7), (5, 5)], [(3, -12), (0, -1), (-1, 3), (-1, 8)], [(2, -12), (4, -12), (0, 2), (-1, 6)], [(-4, -5), (6, -5)]]),
(-12, 12, [[(-11, -1), (-10, -3), (-8, -5), (-6, -5), (-5, -4), (-4, -2), (-4, 1), (-6, 6)], [(-5, -4), (-5, 0), (-6, 4), (-6, 8)], [(-5, -2), (-7, 3), (-7, 6), (-6, 8), (-4, 9), (-2, 9), (0, 8), (2, 6), (4, 3)], [(6, -5), (4, 3), (4, 6), (5, 8), (6, 9), (8, 9), (10, 7), (11, 5)], [(7, -5), (5, 3), (5, 8)], [(6, -5), (8, -5), (6, 2), (5, 6)]]),
(-10, 10, [[(-9, -1), (-8, -3), (-6, -5), (-4, -5), (-3, -4), (-2, -2), (-2, 1), (-4, 6)], [(-3, -4), (-3, 0), (-4, 4), (-4, 8)], [(-3, -2), (-5, 3), (-5, 6), (-4, 8), (-2, 9), (0, 9), (2, 8), (4, 6), (6, 3), (7, -1), (7, -5), (6, -5), (6, -4), (7, -2)]]),
(-15, 15, [[(-14, -1), (-13, -3), (-11, -5), (-9, -5), (-8, -4), (-7, -2), (-7, 1), (-9, 6)], [(-8, -4), (-8, 0), (-9, 4), (-9, 8)], [(-8, -2), (-10, 3), (-10, 6), (-9, 8), (-7, 9), (-5, 9), (-3, 8), (-1, 6), (0, 3)], [(2, -5), (0, 3), (0, 6), (1, 8), (3, 9), (5, 9), (7, 8), (9, 6), (11, 3), (12, -1), (12, -5), (11, -5), (11, -4), (12, -2)], [(3, -5), (1, 3), (1, 8)], [(2, -5), (4, -5), (2, 2), (1, 6)]]),
(-11, 11, [[(-8, -1), (-6, -4), (-4, -5), (-2, -5), (0, -4), (1, -2), (1, 0)], [(-2, -5), (-1, -4), (-1, 0), (-2, 4), (-3, 6), (-5, 8), (-7, 9), (-9, 9), (-10, 8), (-10, 6), (-8, 6), (-8, 8), (-9, 8), (-9, 7)], [(0, -3), (0, 0), (-1, 4), (-1, 7)], [(8, -3), (8, -4), (7, -4), (7, -2), (9, -2), (9, -4), (8, -5), (6, -5), (4, -4), (2, -2), (1, 0), (0, 4), (0, 8), (1, 9)], [(-2, 4), (-2, 6), (-1, 8), (1, 9), (3, 9), (5, 8), (7, 5)]]),
(-11, 11, [[(-10, -1), (-9, -3), (-7, -5), (-5, -5), (-4, -4), (-3, -2), (-3, 1), (-5, 6)], [(-4, -4), (-4, 0), (-5, 4), (-5, 8)], [(-4, -2), (-6, 3), (-6, 6), (-5, 8), (-3, 9), (-1, 9), (1, 8), (3, 6), (5, 2)], [(7, -5), (3, 9), (2, 12), (0, 15), (-2, 16)], [(8, -5), (4, 9), (2, 13)], [(7, -5), (9, -5), (5, 9), (3, 13), (1, 15), (-2, 16), (-5, 16), (-7, 15), (-8, 14), (-8, 12), (-6, 12), (-6, 14), (-7, 14), (-7, 13)]]),
(-10, 10, [[(7, -5), (6, -3), (4, -1), (-4, 5), (-6, 7), (-7, 9)], [(6, -3), (-3, -3), (-5, -2), (-6, 0)], [(4, -3), (0, -4), (-3, -4), (-4, -3)], [(4, -3), (0, -5), (-3, -5), (-5, -3), (-6, 0)], [(-6, 7), (3, 7), (5, 6), (6, 4)], [(-4, 7), (0, 8), (3, 8), (4, 7)], [(-4, 7), (0, 9), (3, 9), (5, 7), (6, 4)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
TIMESR = [
(-8, 8, [[]]),
(-5, 5, [[(0, -12), (-1, -10), (0, 2), (1, -10), (0, -12)], [(0, -10), (0, -4)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(6, -9), (5, -8), (6, -7), (7, -8), (7, -9), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (7, 2)], [(-7, -7), (-5, -5), (-3, -4), (3, -2), (5, -1), (6, 0), (7, 2), (7, 6), (5, 8), (2, 9), (-2, 9), (-5, 8), (-7, 6), (-7, 5), (-6, 4), (-5, 5), (-6, 6)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-12, 13, [[(9, -4), (8, -3), (9, -2), (10, -3), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-5, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -7), (-4, -4), (-2, -1), (3, 6), (5, 8), (8, 9), (9, 9), (10, 8), (10, 7)], [(-5, 9), (-7, 8), (-8, 6), (-8, 3), (-7, 1), (-5, -1)], [(-5, -7), (-4, -5), (4, 6), (6, 8), (8, 9)]]),
(-4, 4, [[(0, -12), (-1, -5)], [(1, -12), (-1, -5)]]),
(-7, 7, [[(4, -16), (2, -14), (0, -11), (-2, -7), (-3, -2), (-3, 2), (-2, 7), (0, 11), (2, 14), (4, 16)], [(2, -14), (0, -10), (-1, -7), (-2, -2), (-2, 2), (-1, 7), (0, 10), (2, 14)]]),
(-7, 7, [[(-4, -16), (-2, -14), (0, -11), (2, -7), (3, -2), (3, 2), (2, 7), (0, 11), (-2, 14), (-4, 16)], [(-2, -14), (0, -10), (1, -7), (2, -2), (2, 2), (1, 7), (0, 10), (-2, 14)]]),
(-8, 8, [[(0, -6), (0, 6)], [(-5, -3), (5, 3)], [(5, -3), (-5, 3)]]),
(-13, 13, [[(0, -9), (0, 9)], [(-9, 0), (9, 0)]]),
(-4, 4, [[(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-4, 4, [[(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-11, 11, [[(9, -16), (-9, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-4, -10), (-5, -8), (-6, -3), (-6, 0), (-5, 5), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 5), (6, 0), (6, -3), (5, -8), (4, -10), (3, -11), (1, -12)]]),
(-10, 10, [[(-4, -8), (-2, -9), (1, -12), (1, 9)], [(0, -11), (0, 9)], [(-4, 9), (5, 9)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(2, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 8), (4, 8), (6, 7), (7, 6)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-5, -7), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3), (-1, -3)], [(2, -12), (4, -11), (5, -9), (5, -6), (4, -4), (2, -3)], [(2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(5, -1), (6, 2), (6, 5), (5, 7), (4, 8), (2, 9)]]),
(-10, 10, [[(2, -10), (2, 9)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-1, 9), (6, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2)], [(-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 4), (-6, 5)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-5, -12), (5, -12)], [(-5, -11), (0, -11), (5, -12)]]),
(-10, 10, [[(5, -9), (4, -8), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (0, -4), (-3, -3), (-5, -1), (-6, 2)], [(0, -12), (-2, -11), (-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 2), (5, -1), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-6, -10), (-4, -11), (-2, -11), (3, -9)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 4), (0, 9)], [(6, -6), (1, -1), (0, 1), (-1, 4), (-1, 9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -4), (-2, -3)], [(2, -3), (4, -4), (5, -6), (5, -9), (4, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-2, -3), (-4, -2), (-5, -1), (-6, 1), (-6, 5), (-5, 7), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 7), (6, 5), (6, 1), (5, -1), (4, -2), (2, -3)]]),
(-10, 10, [[(6, -5), (5, -2), (3, 0), (0, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 5), (-5, 6)], [(-1, 1), (-3, 0), (-5, -2), (-6, -5), (-6, -6), (-5, -9), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6), (2, 8), (0, 9)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(0, 4), (-1, 5), (0, 6), (1, 5), (0, 4)]]),
(-4, 4, [[(0, -3), (-1, -2), (0, -1), (1, -2), (0, -3)], [(1, 5), (0, 6), (-1, 5), (0, 4), (1, 5), (1, 7), (-1, 9)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-13, 13, [[(-9, -3), (9, -3)], [(-9, 3), (9, 3)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 9, [[(-5, -8), (-4, -7), (-5, -6), (-6, -7), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (4, -3), (0, -1), (0, 2)], [(1, -12), (3, -11), (4, -10), (5, -8), (5, -6), (4, -4), (2, -2)], [(0, 7), (-1, 8), (0, 9), (1, 8), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 9)], [(0, -12), (7, 9)], [(0, -9), (6, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2)], [(-5, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(3, -2), (5, -1), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (3, 9)]]),
(-11, 10, [[(6, -9), (7, -6), (7, -12), (6, -9), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-9, 9)], [(1, -12), (3, -11), (5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6), (3, 8), (1, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(1, -6), (1, 2)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (1, -2)], [(-9, 9), (7, 9), (7, 3), (6, 9)]]),
(-11, 9, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(1, -6), (1, 2)], [(-9, -12), (7, -12), (7, -6), (6, -12)], [(-5, -2), (1, -2)], [(-9, 9), (-2, 9)]]),
(-11, 12, [[(6, -9), (7, -6), (7, -12), (6, -9), (4, -11), (1, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(6, 1), (6, 9)], [(7, 1), (7, 9)], [(3, 1), (10, 1)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(6, -12), (6, 9)], [(7, -12), (7, 9)], [(-10, -12), (-3, -12)], [(3, -12), (10, -12)], [(-6, -2), (6, -2)], [(-10, 9), (-3, 9)], [(3, 9), (10, 9)]]),
(-5, 6, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (4, -12)], [(-3, 9), (4, 9)]]),
(-7, 8, [[(3, -12), (3, 5), (2, 8), (0, 9), (-2, 9), (-4, 8), (-5, 6), (-5, 4), (-4, 3), (-3, 4), (-4, 5)], [(2, -12), (2, 5), (1, 8), (0, 9)], [(-1, -12), (6, -12)]]),
(-12, 10, [[(-7, -12), (-7, 9)], [(-6, -12), (-6, 9)], [(7, -12), (-6, 1)], [(-1, -3), (7, 9)], [(-2, -3), (6, 9)], [(-10, -12), (-3, -12)], [(3, -12), (9, -12)], [(-10, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -12), (-3, 9)], [(-7, -12), (0, -12)], [(-7, 9), (8, 9), (8, 3), (7, 9)]]),
(-12, 13, [[(-7, -12), (-7, 9)], [(-6, -12), (0, 6)], [(-7, -12), (0, 9)], [(7, -12), (0, 9)], [(7, -12), (7, 9)], [(8, -12), (8, 9)], [(-10, -12), (-6, -12)], [(7, -12), (11, -12)], [(-10, 9), (-4, 9)], [(4, 9), (11, 9)]]),
(-11, 12, [[(-6, -12), (-6, 9)], [(-5, -12), (7, 7)], [(-5, -10), (7, 9)], [(7, -12), (7, 9)], [(-9, -12), (-5, -12)], [(4, -12), (10, -12)], [(-9, 9), (-3, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-5, -1)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -5), (6, -3), (5, -2), (3, -1)], [(-9, 9), (-2, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-1, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 0), (-6, 4), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 4), (7, 0), (7, -3), (6, -7), (5, -9), (3, -11), (1, -12)], [(-4, 7), (-4, 6), (-3, 4), (-1, 3), (0, 3), (2, 4), (3, 6), (4, 13), (5, 14), (7, 14), (8, 12), (8, 11)], [(3, 6), (4, 10), (5, 12), (6, 13), (7, 13), (8, 12)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2), (-5, -2)], [(3, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (3, -2)], [(-9, 9), (-2, 9)], [(0, -2), (2, -1), (3, 0), (6, 7), (7, 8), (8, 8), (9, 7)], [(2, -1), (3, 1), (5, 8), (6, 9), (8, 9), (9, 7), (9, 6)]]),
(-10, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (1, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -7), (-6, -5), (-5, -4), (-3, -3), (3, -1), (5, 0), (7, 2)], [(-7, -7), (-5, -5), (-3, -4), (3, -2), (5, -1), (6, 0), (7, 2), (7, 6), (5, 8), (2, 9), (-1, 9), (-4, 8), (-6, 6), (-7, 3), (-7, 9), (-6, 6)]]),
(-9, 10, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-6, -12), (-7, -6), (-7, -12), (8, -12), (8, -6), (7, -12)], [(-3, 9), (4, 9)]]),
(-12, 12, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -12)], [(-6, -12), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(-10, -12), (-3, -12)], [(4, -12), (10, -12)]]),
(-10, 10, [[(-7, -12), (0, 9)], [(-6, -12), (0, 6)], [(7, -12), (0, 9)], [(-9, -12), (-3, -12)], [(3, -12), (9, -12)]]),
(-12, 12, [[(-8, -12), (-4, 9)], [(-7, -12), (-4, 4)], [(0, -12), (-4, 9)], [(0, -12), (4, 9)], [(1, -12), (4, 4)], [(8, -12), (4, 9)], [(-11, -12), (-4, -12)], [(5, -12), (11, -12)]]),
(-10, 10, [[(-7, -12), (6, 9)], [(-6, -12), (7, 9)], [(7, -12), (-7, 9)], [(-9, -12), (-3, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(3, 9), (9, 9)]]),
(-10, 11, [[(-7, -12), (0, -1), (0, 9)], [(-6, -12), (1, -1), (1, 9)], [(8, -12), (1, -1)], [(-9, -12), (-3, -12)], [(4, -12), (10, -12)], [(-3, 9), (4, 9)]]),
(-10, 10, [[(6, -12), (-7, 9)], [(7, -12), (-6, 9)], [(-6, -12), (-7, -6), (-7, -12), (7, -12)], [(-7, 9), (7, 9), (7, 3), (6, 9)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-10, 10, [[(-10, 16), (10, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-9, 11, [[(-4, -3), (-4, -2), (-5, -2), (-5, -3), (-4, -4), (-2, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 6), (7, 8), (8, 9)], [(5, -3), (5, 6), (6, 8), (8, 9), (9, 9)], [(5, -1), (4, 0), (-2, 1), (-5, 2), (-6, 4), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (5, 6)], [(-2, 1), (-4, 2), (-5, 4), (-5, 6), (-4, 8), (-2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-5, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-5, 6)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-9, -12), (-5, -12)]]),
(-10, 9, [[(5, -2), (4, -1), (5, 0), (6, -1), (6, -2), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)]]),
(-10, 11, [[(5, -12), (5, 9)], [(6, -12), (6, 9)], [(5, -2), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (3, 8), (5, 6)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(2, -12), (6, -12)], [(5, 9), (9, 9)]]),
(-10, 9, [[(-6, 1), (6, 1), (6, -1), (5, -3), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(5, 1), (5, -2), (4, -4)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)]]),
(-7, 6, [[(3, -11), (2, -10), (3, -9), (4, -10), (4, -11), (3, -12), (1, -12), (-1, -11), (-2, -9), (-2, 9)], [(1, -12), (0, -11), (-1, -9), (-1, 9)], [(-5, -5), (3, -5)], [(-5, 9), (2, 9)]]),
(-9, 10, [[(-1, -5), (-3, -4), (-4, -3), (-5, -1), (-5, 1), (-4, 3), (-3, 4), (-1, 5), (1, 5), (3, 4), (4, 3), (5, 1), (5, -1), (4, -3), (3, -4), (1, -5), (-1, -5)], [(-3, -4), (-4, -2), (-4, 2), (-3, 4)], [(3, 4), (4, 2), (4, -2), (3, -4)], [(4, -3), (5, -4), (7, -5), (7, -4), (5, -4)], [(-4, 3), (-5, 4), (-6, 6), (-6, 7), (-5, 9), (-2, 10), (3, 10), (6, 11), (7, 12)], [(-6, 7), (-5, 8), (-2, 9), (3, 9), (6, 10), (7, 12), (7, 13), (6, 15), (3, 16), (-3, 16), (-6, 15), (-7, 13), (-7, 12), (-6, 10), (-3, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(-5, -2), (-3, -4), (0, -5), (2, -5), (5, -4), (6, -2), (6, 9)], [(2, -5), (4, -4), (5, -2), (5, 9)], [(-9, -12), (-5, -12)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)]]),
(-5, 6, [[(0, -12), (-1, -11), (0, -10), (1, -11), (0, -12)], [(0, -5), (0, 9)], [(1, -5), (1, 9)], [(-3, -5), (1, -5)], [(-3, 9), (4, 9)]]),
(-5, 6, [[(1, -12), (0, -11), (1, -10), (2, -11), (1, -12)], [(2, -5), (2, 13), (1, 15), (-1, 16), (-3, 16), (-4, 15), (-4, 14), (-3, 13), (-2, 14), (-3, 15)], [(1, -5), (1, 13), (0, 15), (-1, 16)], [(-2, -5), (2, -5)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -12), (-5, 9)], [(5, -5), (-5, 5)], [(0, 1), (6, 9)], [(-1, 1), (5, 9)], [(-9, -12), (-5, -12)], [(2, -5), (8, -5)], [(-9, 9), (-2, 9)], [(2, 9), (8, 9)]]),
(-5, 6, [[(0, -12), (0, 9)], [(1, -12), (1, 9)], [(-3, -12), (1, -12)], [(-3, 9), (4, 9)]]),
(-16, 17, [[(-11, -5), (-11, 9)], [(-10, -5), (-10, 9)], [(-10, -2), (-8, -4), (-5, -5), (-3, -5), (0, -4), (1, -2), (1, 9)], [(-3, -5), (-1, -4), (0, -2), (0, 9)], [(1, -2), (3, -4), (6, -5), (8, -5), (11, -4), (12, -2), (12, 9)], [(8, -5), (10, -4), (11, -2), (11, 9)], [(-14, -5), (-10, -5)], [(-14, 9), (-7, 9)], [(-3, 9), (4, 9)], [(8, 9), (15, 9)]]),
(-11, 11, [[(-6, -5), (-6, 9)], [(-5, -5), (-5, 9)], [(-5, -2), (-3, -4), (0, -5), (2, -5), (5, -4), (6, -2), (6, 9)], [(2, -5), (4, -4), (5, -2), (5, 9)], [(-9, -5), (-5, -5)], [(-9, 9), (-2, 9)], [(2, 9), (9, 9)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 6), (6, 3), (6, 1), (5, -2), (3, -4), (1, -5)]]),
(-11, 10, [[(-6, -5), (-6, 16)], [(-5, -5), (-5, 16)], [(-5, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-5, 6)], [(1, -5), (3, -4), (5, -2), (6, 1), (6, 3), (5, 6), (3, 8), (1, 9)], [(-9, -5), (-5, -5)], [(-9, 16), (-2, 16)]]),
(-10, 10, [[(5, -5), (5, 16)], [(6, -5), (6, 16)], [(5, -2), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (3, 8), (5, 6)], [(-1, -5), (-3, -4), (-5, -2), (-6, 1), (-6, 3), (-5, 6), (-3, 8), (-1, 9)], [(2, 16), (9, 16)]]),
(-9, 8, [[(-4, -5), (-4, 9)], [(-3, -5), (-3, 9)], [(-3, 1), (-2, -2), (0, -4), (2, -5), (5, -5), (6, -4), (6, -3), (5, -2), (4, -3), (5, -4)], [(-7, -5), (-3, -5)], [(-7, 9), (0, 9)]]),
(-8, 9, [[(5, -3), (6, -5), (6, -1), (5, -3), (4, -4), (2, -5), (-2, -5), (-4, -4), (-5, -3), (-5, -1), (-4, 0), (-2, 1), (3, 3), (5, 4), (6, 5)], [(-5, -2), (-4, -1), (-2, 0), (3, 2), (5, 3), (6, 4), (6, 7), (5, 8), (3, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 5), (-5, 9), (-4, 7)]]),
(-7, 8, [[(-2, -12), (-2, 5), (-1, 8), (1, 9), (3, 9), (5, 8), (6, 6)], [(-1, -12), (-1, 5), (0, 8), (1, 9)], [(-5, -5), (3, -5)]]),
(-11, 11, [[(-6, -5), (-6, 6), (-5, 8), (-2, 9), (0, 9), (3, 8), (5, 6)], [(-5, -5), (-5, 6), (-4, 8), (-2, 9)], [(5, -5), (5, 9)], [(6, -5), (6, 9)], [(-9, -5), (-5, -5)], [(2, -5), (6, -5)], [(5, 9), (9, 9)]]),
(-9, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(6, -5), (0, 9)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)]]),
(-12, 12, [[(-8, -5), (-4, 9)], [(-7, -5), (-4, 6)], [(0, -5), (-4, 9)], [(0, -5), (4, 9)], [(1, -5), (4, 6)], [(8, -5), (4, 9)], [(-11, -5), (-4, -5)], [(5, -5), (11, -5)]]),
(-10, 10, [[(-6, -5), (5, 9)], [(-5, -5), (6, 9)], [(6, -5), (-6, 9)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)], [(-8, 9), (-2, 9)], [(2, 9), (8, 9)]]),
(-10, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(6, -5), (0, 9), (-2, 13), (-4, 15), (-6, 16), (-7, 16), (-8, 15), (-7, 14), (-6, 15)], [(-8, -5), (-2, -5)], [(2, -5), (8, -5)]]),
(-9, 9, [[(5, -5), (-6, 9)], [(6, -5), (-5, 9)], [(-5, -5), (-6, -1), (-6, -5), (6, -5)], [(-6, 9), (6, 9), (6, 5), (5, 9)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
TIMESRB = [
(-8, 8, [[]]),
(-5, 6, [[(0, -12), (-1, -11), (-1, -9), (0, -1)], [(0, -12), (0, 2), (1, 2)], [(0, -12), (1, -12), (1, 2)], [(1, -12), (2, -11), (2, -9), (1, -1)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-9, 9, [[(-4, -12), (-5, -11), (-5, -5)], [(-4, -11), (-5, -5)], [(-4, -12), (-3, -11), (-5, -5)], [(5, -12), (4, -11), (4, -5)], [(5, -11), (4, -5)], [(5, -12), (6, -11), (4, -5)]]),
(-10, 11, [[(1, -16), (-6, 16)], [(7, -16), (0, 16)], [(-6, -3), (8, -3)], [(-7, 3), (7, 3)]]),
(-10, 10, [[(-2, -16), (-2, 13)], [(2, -16), (2, 13)], [(6, -7), (6, -8), (5, -8), (5, -6), (7, -6), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 3), (-5, 3), (-5, 5), (-6, 5), (-6, 4)]]),
(-12, 12, [[(9, -12), (-9, 9)], [(-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12)], [(5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2)]]),
(-13, 13, [[(9, -3), (9, -4), (8, -4), (8, -2), (10, -2), (10, -4), (9, -5), (8, -5), (7, -4), (6, -2), (4, 3), (2, 6), (0, 8), (-2, 9), (-6, 9), (-8, 8), (-9, 6), (-9, 3), (-8, 1), (-2, -3), (0, -5), (1, -7), (1, -9), (0, -11), (-2, -12), (-4, -11), (-5, -9), (-5, -6), (-4, -3), (-2, 0), (2, 5), (5, 8), (7, 9), (9, 9), (10, 7), (10, 6)], [(-7, 8), (-8, 6), (-8, 3), (-7, 1), (-6, 0)], [(0, -5), (1, -9)], [(1, -7), (0, -11)], [(-4, -11), (-5, -7)], [(-4, -4), (-2, -1), (2, 4), (5, 7), (7, 8)], [(-4, 9), (-6, 8), (-7, 6), (-7, 3), (-6, 1), (-2, -3)], [(-5, -9), (-4, -5), (-1, -1), (3, 4), (6, 7), (8, 8), (9, 8), (10, 7)]]),
(-4, 5, [[(1, -12), (0, -11), (0, -5)], [(1, -11), (0, -5)], [(1, -12), (2, -11), (0, -5)]]),
(-7, 7, [[(3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16)], [(-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10)], [(1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14)]]),
(-7, 7, [[(-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16)], [(1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10)], [(-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14)]]),
(-8, 8, [[(0, -12), (-1, -11), (1, -1), (0, 0)], [(0, -12), (0, 0)], [(0, -12), (1, -11), (-1, -1), (0, 0)], [(-5, -9), (-4, -9), (4, -3), (5, -3)], [(-5, -9), (5, -3)], [(-5, -9), (-5, -8), (5, -4), (5, -3)], [(5, -9), (4, -9), (-4, -3), (-5, -3)], [(5, -9), (-5, -3)], [(5, -9), (5, -8), (-5, -4), (-5, -3)]]),
(-12, 13, [[(0, -9), (0, 8), (1, 8)], [(0, -9), (1, -9), (1, 8)], [(-8, -1), (9, -1), (9, 0)], [(-8, -1), (-8, 0), (9, 0)]]),
(-5, 6, [[(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-13, 13, [[(-9, 0), (9, 0)]]),
(-5, 6, [[(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-11, 12, [[(9, -16), (-9, 16), (-8, 16)], [(9, -16), (10, -16), (-8, 16)]]),
(-10, 10, [[(-1, -12), (-4, -11), (-6, -8), (-7, -3), (-7, 0), (-6, 5), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 5), (7, 0), (7, -3), (6, -8), (4, -11), (1, -12), (-1, -12)], [(-4, -10), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-4, 7)], [(4, 7), (5, 5), (6, 1), (6, -4), (5, -8), (4, -10)], [(-1, -12), (-3, -11), (-4, -9), (-5, -4), (-5, 1), (-4, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 6), (5, 1), (5, -4), (4, -9), (3, -11), (1, -12)]]),
(-10, 10, [[(-1, -10), (-1, 9)], [(0, -10), (0, 8)], [(1, -12), (1, 9)], [(1, -12), (-2, -9), (-4, -8)], [(-5, 9), (5, 9)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-10, 10, [[(-6, -8), (-6, -7), (-5, -7), (-5, -8), (-6, -8)], [(-6, -9), (-5, -9), (-4, -8), (-4, -7), (-5, -6), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (3, -2), (-2, 0), (-4, 1), (-6, 3), (-7, 6), (-7, 9)], [(5, -10), (6, -8), (6, -6), (5, -4)], [(2, -12), (4, -11), (5, -8), (5, -6), (4, -4), (2, -2), (-2, 0)], [(-7, 7), (-6, 6), (-4, 6), (1, 7), (5, 7), (7, 6)], [(-4, 6), (1, 8), (5, 8), (6, 7)], [(-4, 6), (1, 9), (5, 9), (6, 8), (7, 6), (7, 4)]]),
(-10, 10, [[(-6, -8), (-6, -7), (-5, -7), (-5, -8), (-6, -8)], [(-6, -9), (-5, -9), (-4, -8), (-4, -7), (-5, -6), (-6, -6), (-7, -7), (-7, -8), (-6, -10), (-5, -11), (-2, -12), (2, -12), (5, -11), (6, -9), (6, -6), (5, -4), (2, -3)], [(4, -11), (5, -9), (5, -6), (4, -4)], [(1, -12), (3, -11), (4, -9), (4, -6), (3, -4), (1, -3)], [(-1, -3), (2, -3), (4, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 3), (-4, 4), (-4, 5), (-5, 6), (-6, 6)], [(5, 0), (6, 2), (6, 5), (5, 7)], [(1, -3), (3, -2), (4, -1), (5, 2), (5, 5), (4, 8), (2, 9)], [(-6, 4), (-6, 5), (-5, 5), (-5, 4), (-6, 4)]]),
(-10, 10, [[(1, -9), (1, 9)], [(2, -10), (2, 8)], [(3, -12), (3, 9)], [(3, -12), (-8, 3), (8, 3)], [(-2, 9), (6, 9)], [(1, 8), (-1, 9)], [(1, 7), (0, 9)], [(3, 7), (4, 9)], [(3, 8), (5, 9)]]),
(-10, 10, [[(-5, -12), (-7, -2), (-5, -4), (-2, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-7, 4), (-6, 3), (-5, 3), (-4, 4), (-4, 5), (-5, 6), (-6, 6)], [(5, -2), (6, 0), (6, 4), (5, 6)], [(1, -5), (3, -4), (4, -3), (5, 0), (5, 4), (4, 7), (3, 8), (1, 9)], [(-6, 4), (-6, 5), (-5, 5), (-5, 4), (-6, 4)], [(-5, -12), (5, -12)], [(-5, -11), (3, -11)], [(-5, -10), (-1, -10), (3, -11), (5, -12)]]),
(-10, 10, [[(4, -9), (4, -8), (5, -8), (5, -9), (4, -9)], [(5, -10), (4, -10), (3, -9), (3, -8), (4, -7), (5, -7), (6, -8), (6, -9), (5, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-7, -3), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 2), (6, -1), (4, -3), (1, -4), (-1, -4), (-3, -3), (-4, -2), (-5, 0)], [(-4, -9), (-5, -7), (-6, -3), (-6, 3), (-5, 6), (-4, 7)], [(5, 6), (6, 4), (6, 1), (5, -1)], [(0, -12), (-2, -11), (-3, -10), (-4, -8), (-5, -4), (-5, 3), (-4, 6), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 4), (5, 1), (4, -2), (3, -3), (1, -4)]]),
(-10, 10, [[(-7, -12), (-7, -6)], [(7, -12), (7, -9), (6, -6), (2, -1), (1, 1), (0, 5), (0, 9)], [(1, 0), (0, 2), (-1, 5), (-1, 9)], [(6, -6), (1, -1), (-1, 2), (-2, 5), (-2, 9), (0, 9)], [(-7, -8), (-6, -10), (-4, -12), (-2, -12), (3, -9), (5, -9), (6, -10), (7, -12)], [(-5, -10), (-4, -11), (-2, -11), (0, -10)], [(-7, -8), (-6, -9), (-4, -10), (-2, -10), (3, -9)]]),
(-10, 10, [[(-2, -12), (-5, -11), (-6, -9), (-6, -6), (-5, -4), (-2, -3), (2, -3), (5, -4), (6, -6), (6, -9), (5, -11), (2, -12), (-2, -12)], [(-4, -11), (-5, -9), (-5, -6), (-4, -4)], [(4, -4), (5, -6), (5, -9), (4, -11)], [(-2, -12), (-3, -11), (-4, -9), (-4, -6), (-3, -4), (-2, -3)], [(2, -3), (3, -4), (4, -6), (4, -9), (3, -11), (2, -12)], [(-2, -3), (-5, -2), (-6, -1), (-7, 1), (-7, 5), (-6, 7), (-5, 8), (-2, 9), (2, 9), (5, 8), (6, 7), (7, 5), (7, 1), (6, -1), (5, -2), (2, -3)], [(-5, -1), (-6, 1), (-6, 5), (-5, 7)], [(5, 7), (6, 5), (6, 1), (5, -1)], [(-2, -3), (-4, -2), (-5, 1), (-5, 5), (-4, 8), (-2, 9)], [(2, 9), (4, 8), (5, 5), (5, 1), (4, -2), (2, -3)]]),
(-10, 10, [[(-5, 5), (-5, 6), (-4, 6), (-4, 5), (-5, 5)], [(5, -3), (4, -1), (3, 0), (1, 1), (-1, 1), (-4, 0), (-6, -2), (-7, -5), (-7, -6), (-6, -9), (-4, -11), (-1, -12), (1, -12), (4, -11), (6, -9), (7, -6), (7, 0), (6, 4), (5, 6), (3, 8), (0, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 5), (-5, 4), (-4, 4), (-3, 5), (-3, 6), (-4, 7), (-5, 7)], [(-5, -2), (-6, -4), (-6, -7), (-5, -9)], [(4, -10), (5, -9), (6, -6), (6, 0), (5, 4), (4, 6)], [(-1, 1), (-3, 0), (-4, -1), (-5, -4), (-5, -7), (-4, -10), (-3, -11), (-1, -12)], [(1, -12), (3, -11), (4, -9), (5, -6), (5, 1), (4, 5), (3, 7), (2, 8), (0, 9)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-5, 6, [[(0, -5), (-1, -4), (-1, -3), (0, -2), (1, -2), (2, -3), (2, -4), (1, -5), (0, -5)], [(0, -4), (0, -3), (1, -3), (1, -4), (0, -4)], [(2, 8), (1, 9), (0, 9), (-1, 8), (-1, 7), (0, 6), (1, 6), (2, 7), (2, 10), (1, 12), (-1, 13)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)], [(1, 9), (2, 10)], [(2, 8), (1, 12)]]),
(-12, 12, [[(8, -9), (-8, 0), (8, 9)]]),
(-12, 13, [[(-8, -5), (9, -5), (9, -4)], [(-8, -5), (-8, -4), (9, -4)], [(-8, 3), (9, 3), (9, 4)], [(-8, 3), (-8, 4), (9, 4)]]),
(-12, 12, [[(-8, -9), (8, 0), (-8, 9)]]),
(-9, 10, [[(-5, -7), (-5, -8), (-4, -8), (-4, -6), (-6, -6), (-6, -8), (-5, -10), (-4, -11), (-2, -12), (2, -12), (5, -11), (6, -10), (7, -8), (7, -6), (6, -4), (5, -3), (1, -1)], [(5, -10), (6, -9), (6, -5), (5, -4)], [(2, -12), (4, -11), (5, -9), (5, -5), (4, -3), (3, -2)], [(0, -1), (0, 2), (1, 2), (1, -1), (0, -1)], [(0, 6), (-1, 7), (-1, 8), (0, 9), (1, 9), (2, 8), (2, 7), (1, 6), (0, 6)], [(0, 7), (0, 8), (1, 8), (1, 7), (0, 7)]]),
(-13, 14, [[(5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1)], [(-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4)], [(5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6)], [(6, -7), (5, 1), (5, 3), (6, 4)]]),
(-10, 10, [[(0, -12), (-7, 8)], [(-1, -9), (5, 9)], [(0, -9), (6, 9)], [(0, -12), (7, 9)], [(-5, 3), (4, 3)], [(-9, 9), (-3, 9)], [(2, 9), (9, 9)], [(-7, 8), (-8, 9)], [(-7, 8), (-5, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(6, 7), (8, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2)], [(6, -10), (7, -8), (7, -6), (6, -4)], [(3, -12), (5, -11), (6, -9), (6, -5), (5, -3), (3, -2)], [(-4, -2), (3, -2), (6, -1), (7, 0), (8, 2), (8, 5), (7, 7), (6, 8), (3, 9), (-9, 9)], [(6, 0), (7, 2), (7, 5), (6, 7)], [(3, -2), (5, -1), (6, 1), (6, 6), (5, 8), (3, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 6), (7, 4)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (1, -12), (4, -11), (6, -9), (7, -7), (8, -4), (8, 1), (7, 4), (6, 6), (4, 8), (1, 9), (-9, 9)], [(5, -9), (6, -7), (7, -4), (7, 1), (6, 4), (5, 6)], [(1, -12), (3, -11), (5, -8), (6, -4), (6, 1), (5, 5), (3, 8), (1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (7, -12), (7, -6)], [(-4, -2), (2, -2)], [(2, -6), (2, 2)], [(-9, 9), (7, 9), (7, 3)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(2, -12), (7, -11)], [(4, -12), (7, -10)], [(5, -12), (7, -9)], [(6, -12), (7, -6)], [(2, -6), (1, -2), (2, 2)], [(2, -4), (0, -2), (2, 0)], [(2, -3), (-2, -2), (2, -1)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(2, 9), (7, 8)], [(4, 9), (7, 7)], [(5, 9), (7, 6)], [(6, 9), (7, 3)]]),
(-11, 9, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (7, -12), (7, -6)], [(-4, -2), (2, -2)], [(2, -6), (2, 2)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(2, -12), (7, -11)], [(4, -12), (7, -10)], [(5, -12), (7, -9)], [(6, -12), (7, -6)], [(2, -6), (1, -2), (2, 2)], [(2, -4), (0, -2), (2, 0)], [(2, -3), (-2, -2), (2, -1)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 12, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (2, -12), (-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -4), (-8, 1), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (2, 9), (4, 8), (6, 8), (7, 9), (7, 1)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(6, 2), (6, 7)], [(5, 1), (5, 7), (4, 8)], [(2, 1), (10, 1)], [(3, 1), (5, 2)], [(4, 1), (5, 3)], [(8, 1), (7, 3)], [(9, 1), (7, 2)]]),
(-12, 12, [[(-7, -12), (-7, 9)], [(-6, -11), (-6, 8)], [(-5, -12), (-5, 9)], [(5, -12), (5, 9)], [(6, -11), (6, 8)], [(7, -12), (7, 9)], [(-10, -12), (-2, -12)], [(2, -12), (10, -12)], [(-5, -2), (5, -2)], [(-10, 9), (-2, 9)], [(2, 9), (10, 9)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(3, -12), (5, -11)], [(4, -12), (5, -10)], [(8, -12), (7, -10)], [(9, -12), (7, -11)], [(-7, 8), (-9, 9)], [(-7, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-5, 8), (-3, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-6, 6, [[(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(1, -12), (1, 9)], [(-4, -12), (4, -12)], [(-4, 9), (4, 9)], [(-3, -12), (-1, -11)], [(-2, -12), (-1, -10)], [(2, -12), (1, -10)], [(3, -12), (1, -11)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-8, 8, [[(1, -12), (1, 5), (0, 8), (-1, 9)], [(2, -11), (2, 5), (1, 8)], [(3, -12), (3, 5), (2, 8), (-1, 9), (-3, 9), (-5, 8), (-6, 6), (-6, 4), (-5, 3), (-4, 3), (-3, 4), (-3, 5), (-4, 6), (-5, 6)], [(-5, 4), (-5, 5), (-4, 5), (-4, 4), (-5, 4)], [(-2, -12), (6, -12)], [(-1, -12), (1, -11)], [(0, -12), (1, -10)], [(4, -12), (3, -10)], [(5, -12), (3, -11)]]),
(-12, 10, [[(-7, -12), (-7, 9)], [(-6, -11), (-6, 8)], [(-5, -12), (-5, 9)], [(6, -11), (-5, 0)], [(-2, -2), (5, 9)], [(-1, -2), (6, 9)], [(-1, -4), (7, 9)], [(-10, -12), (-2, -12)], [(3, -12), (9, -12)], [(-10, 9), (-2, 9)], [(2, 9), (9, 9)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (6, -11)], [(8, -12), (6, -11)], [(-7, 8), (-9, 9)], [(-7, 7), (-8, 9)], [(-5, 7), (-4, 9)], [(-5, 8), (-3, 9)], [(5, 7), (3, 9)], [(5, 7), (8, 9)]]),
(-9, 9, [[(-4, -12), (-4, 9)], [(-3, -11), (-3, 8)], [(-2, -12), (-2, 9)], [(-7, -12), (1, -12)], [(-7, 9), (8, 9), (8, 3)], [(-6, -12), (-4, -11)], [(-5, -12), (-4, -10)], [(-1, -12), (-2, -10)], [(0, -12), (-2, -11)], [(-4, 8), (-6, 9)], [(-4, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-2, 8), (0, 9)], [(3, 9), (8, 8)], [(5, 9), (8, 7)], [(6, 9), (8, 6)], [(7, 9), (8, 3)]]),
(-13, 13, [[(-8, -12), (-8, 8)], [(-8, -12), (-1, 9)], [(-7, -12), (-1, 6)], [(-6, -12), (0, 6)], [(6, -12), (-1, 9)], [(6, -12), (6, 9)], [(7, -11), (7, 8)], [(8, -12), (8, 9)], [(-11, -12), (-6, -12)], [(6, -12), (11, -12)], [(-11, 9), (-5, 9)], [(3, 9), (11, 9)], [(-10, -12), (-8, -11)], [(9, -12), (8, -10)], [(10, -12), (8, -11)], [(-8, 8), (-10, 9)], [(-8, 8), (-6, 9)], [(6, 8), (4, 9)], [(6, 7), (5, 9)], [(8, 7), (9, 9)], [(8, 8), (10, 9)]]),
(-12, 12, [[(-7, -12), (-7, 8)], [(-7, -12), (7, 9)], [(-6, -12), (6, 6)], [(-5, -12), (7, 6)], [(7, -11), (7, 9)], [(-10, -12), (-5, -12)], [(4, -12), (10, -12)], [(-10, 9), (-4, 9)], [(-9, -12), (-7, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)], [(-7, 8), (-9, 9)], [(-7, 8), (-5, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (7, 1), (7, -4), (6, -7), (5, -9)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 5), (6, 1), (6, -4), (5, -8), (3, -11), (1, -12)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -5), (7, -3), (6, -2), (3, -1), (-4, -1)], [(6, -10), (7, -8), (7, -5), (6, -3)], [(3, -12), (5, -11), (6, -9), (6, -4), (5, -2), (3, -1)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-11, 11, [[(-1, -12), (-4, -11), (-6, -9), (-7, -7), (-8, -3), (-8, 0), (-7, 4), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 4), (8, 0), (8, -3), (7, -7), (6, -9), (4, -11), (1, -12), (-1, -12)], [(-5, -9), (-6, -7), (-7, -4), (-7, 1), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (7, 1), (7, -4), (6, -7), (5, -9)], [(-1, -12), (-3, -11), (-5, -8), (-6, -4), (-6, 1), (-5, 5), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (5, 5), (6, 1), (6, -4), (5, -8), (3, -11), (1, -12)], [(-4, 6), (-3, 4), (-1, 3), (0, 3), (2, 4), (3, 6), (4, 12), (5, 14), (7, 14), (8, 12), (8, 10)], [(4, 10), (5, 12), (6, 13), (7, 13)], [(3, 6), (5, 11), (6, 12), (7, 12), (8, 11)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-4, -12), (-4, 9)], [(-9, -12), (3, -12), (6, -11), (7, -10), (8, -8), (8, -6), (7, -4), (6, -3), (3, -2), (-4, -2)], [(6, -10), (7, -8), (7, -6), (6, -4)], [(3, -12), (5, -11), (6, -9), (6, -5), (5, -3), (3, -2)], [(0, -2), (2, -1), (3, 1), (5, 7), (6, 9), (8, 9), (9, 7), (9, 5)], [(5, 5), (6, 7), (7, 8), (8, 8)], [(2, -1), (3, 0), (6, 6), (7, 7), (8, 7), (9, 6)], [(-9, 9), (-1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-3, -12), (-4, -10)], [(-2, -12), (-4, -11)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)]]),
(-10, 10, [[(6, -9), (7, -12), (7, -6), (6, -9), (4, -11), (1, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8)], [(-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2)], [(-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-1, 9), (-4, 8), (-6, 6), (-7, 3), (-7, 9), (-6, 6)]]),
(-10, 10, [[(-8, -12), (-8, -6)], [(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(1, -12), (1, 9)], [(8, -12), (8, -6)], [(-8, -12), (8, -12)], [(-4, 9), (4, 9)], [(-7, -12), (-8, -6)], [(-6, -12), (-8, -9)], [(-5, -12), (-8, -10)], [(-3, -12), (-8, -11)], [(3, -12), (8, -11)], [(5, -12), (8, -10)], [(6, -12), (8, -9)], [(7, -12), (8, -6)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-12, 12, [[(-7, -12), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, -11)], [(-6, -11), (-6, 4), (-5, 6)], [(-5, -12), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(-10, -12), (-2, -12)], [(4, -12), (10, -12)], [(-9, -12), (-7, -11)], [(-8, -12), (-7, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)]]),
(-10, 10, [[(-7, -12), (0, 9)], [(-6, -12), (0, 6), (0, 9)], [(-5, -12), (1, 6)], [(7, -11), (0, 9)], [(-9, -12), (-2, -12)], [(3, -12), (9, -12)], [(-8, -12), (-6, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(5, -12), (7, -11)], [(8, -12), (7, -11)]]),
(-12, 12, [[(-8, -12), (-4, 9)], [(-7, -12), (-4, 4), (-4, 9)], [(-6, -12), (-3, 4)], [(0, -12), (-3, 4), (-4, 9)], [(0, -12), (4, 9)], [(1, -12), (4, 4), (4, 9)], [(2, -12), (5, 4)], [(8, -11), (5, 4), (4, 9)], [(-11, -12), (-3, -12)], [(0, -12), (2, -12)], [(5, -12), (11, -12)], [(-10, -12), (-7, -11)], [(-9, -12), (-7, -10)], [(-5, -12), (-6, -10)], [(-4, -12), (-6, -11)], [(6, -12), (8, -11)], [(10, -12), (8, -11)]]),
(-10, 10, [[(-7, -12), (5, 9)], [(-6, -12), (6, 9)], [(-5, -12), (7, 9)], [(6, -11), (-6, 8)], [(-9, -12), (-2, -12)], [(3, -12), (9, -12)], [(-9, 9), (-3, 9)], [(2, 9), (9, 9)], [(-8, -12), (-5, -10)], [(-4, -12), (-5, -10)], [(-3, -12), (-5, -11)], [(4, -12), (6, -11)], [(8, -12), (6, -11)], [(-6, 8), (-8, 9)], [(-6, 8), (-4, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(5, 7), (8, 9)]]),
(-11, 11, [[(-8, -12), (-1, -1), (-1, 9)], [(-7, -12), (0, -1), (0, 8)], [(-6, -12), (1, -1), (1, 9)], [(7, -11), (1, -1)], [(-10, -12), (-3, -12)], [(4, -12), (10, -12)], [(-4, 9), (4, 9)], [(-9, -12), (-7, -11)], [(-4, -12), (-6, -11)], [(5, -12), (7, -11)], [(9, -12), (7, -11)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-10, 10, [[(7, -12), (-7, -12), (-7, -6)], [(5, -12), (-7, 9)], [(6, -12), (-6, 9)], [(7, -12), (-5, 9)], [(-7, 9), (7, 9), (7, 3)], [(-6, -12), (-7, -6)], [(-5, -12), (-7, -9)], [(-4, -12), (-7, -10)], [(-2, -12), (-7, -11)], [(2, 9), (7, 8)], [(4, 9), (7, 7)], [(5, 9), (7, 6)], [(6, 9), (7, 3)]]),
(-7, 7, [[(-3, -16), (-3, 16)], [(-2, -16), (-2, 16)], [(-3, -16), (4, -16)], [(-3, 16), (4, 16)]]),
(-7, 7, [[(-7, -12), (7, 12)]]),
(-7, 7, [[(2, -16), (2, 16)], [(3, -16), (3, 16)], [(-4, -16), (3, -16)], [(-4, 16), (3, 16)]]),
(-11, 11, [[(-8, 2), (0, -3), (8, 2)], [(-8, 2), (0, -2), (8, 2)]]),
(-10, 10, [[(-10, 16), (10, 16)]]),
(-6, 6, [[(-2, -12), (3, -6)], [(-2, -12), (-3, -11), (3, -6)]]),
(-9, 11, [[(-4, -2), (-4, -3), (-3, -3), (-3, -1), (-5, -1), (-5, -3), (-4, -4), (-2, -5), (2, -5), (4, -4), (5, -3), (6, -1), (6, 6), (7, 8), (8, 9)], [(4, -3), (5, -1), (5, 6), (6, 8)], [(2, -5), (3, -4), (4, -2), (4, 6), (5, 8), (8, 9), (9, 9)], [(4, 0), (3, 1), (-2, 2), (-5, 3), (-6, 5), (-6, 6), (-5, 8), (-2, 9), (1, 9), (3, 8), (4, 6)], [(-4, 3), (-5, 5), (-5, 6), (-4, 8)], [(3, 1), (-1, 2), (-3, 3), (-4, 5), (-4, 6), (-3, 8), (-2, 9)]]),
(-11, 10, [[(-6, -12), (-6, 9), (-5, 8), (-3, 8)], [(-5, -11), (-5, 7)], [(-9, -12), (-4, -12), (-4, 8)], [(-4, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-4, 6)], [(5, -2), (6, 0), (6, 4), (5, 6)], [(1, -5), (3, -4), (4, -3), (5, 0), (5, 4), (4, 7), (3, 8), (1, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)]]),
(-10, 9, [[(5, -1), (5, -2), (4, -2), (4, 0), (6, 0), (6, -2), (4, -4), (2, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)]]),
(-10, 11, [[(4, -12), (4, 9), (9, 9)], [(5, -11), (5, 8)], [(1, -12), (6, -12), (6, 9)], [(4, -2), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (3, 8), (4, 6)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(2, -12), (4, -11)], [(3, -12), (4, -10)], [(6, 7), (7, 9)], [(6, 8), (8, 9)]]),
(-10, 9, [[(-5, 1), (6, 1), (6, -1), (5, -3), (4, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6)], [(5, 0), (5, -1), (4, -3)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(4, 1), (4, -2), (3, -4), (1, -5)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)]]),
(-7, 7, [[(5, -10), (5, -11), (4, -11), (4, -9), (6, -9), (6, -11), (5, -12), (2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 9)], [(0, -10), (-1, -7), (-1, 8)], [(2, -12), (1, -11), (0, -9), (0, 9)], [(-5, -5), (4, -5)], [(-5, 9), (3, 9)], [(-2, 8), (-4, 9)], [(-2, 7), (-3, 9)], [(0, 7), (1, 9)], [(0, 8), (2, 9)]]),
(-9, 10, [[(6, -4), (7, -3), (8, -4), (7, -5), (6, -5), (4, -4), (3, -3)], [(-1, -5), (-3, -4), (-4, -3), (-5, -1), (-5, 1), (-4, 3), (-3, 4), (-1, 5), (1, 5), (3, 4), (4, 3), (5, 1), (5, -1), (4, -3), (3, -4), (1, -5), (-1, -5)], [(-3, -3), (-4, -1), (-4, 1), (-3, 3)], [(3, 3), (4, 1), (4, -1), (3, -3)], [(-1, -5), (-2, -4), (-3, -2), (-3, 2), (-2, 4), (-1, 5)], [(1, 5), (2, 4), (3, 2), (3, -2), (2, -4), (1, -5)], [(-4, 3), (-5, 4), (-6, 6), (-6, 7), (-5, 9), (-4, 10), (-1, 11), (3, 11), (6, 12), (7, 13)], [(-4, 9), (-1, 10), (3, 10), (6, 11)], [(-6, 7), (-5, 8), (-2, 9), (3, 9), (6, 10), (7, 12), (7, 13), (6, 15), (3, 16), (-3, 16), (-6, 15), (-7, 13), (-7, 12), (-6, 10), (-3, 9)], [(-3, 16), (-5, 15), (-6, 13), (-6, 12), (-5, 10), (-3, 9)]]),
(-11, 12, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-9, -12), (-4, -12), (-4, 9)], [(-4, -1), (-3, -3), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -3), (7, 0), (7, 9)], [(5, -3), (6, 0), (6, 8)], [(3, -5), (4, -4), (5, -1), (5, 9)], [(-9, 9), (-1, 9)], [(2, 9), (10, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-6, 6, [[(-1, -12), (-1, -10), (1, -10), (1, -12), (-1, -12)], [(0, -12), (0, -10)], [(-1, -11), (1, -11)], [(-1, -5), (-1, 9)], [(0, -4), (0, 8)], [(-4, -5), (1, -5), (1, 9)], [(-4, 9), (4, 9)], [(-3, -5), (-1, -4)], [(-2, -5), (-1, -3)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-7, 6, [[(0, -12), (0, -10), (2, -10), (2, -12), (0, -12)], [(1, -12), (1, -10)], [(0, -11), (2, -11)], [(0, -5), (0, 12), (-1, 15), (-2, 16)], [(1, -4), (1, 11), (0, 14)], [(-3, -5), (2, -5), (2, 11), (1, 14), (0, 15), (-2, 16), (-5, 16), (-6, 15), (-6, 13), (-4, 13), (-4, 15), (-5, 15), (-5, 14)], [(-2, -5), (0, -4)], [(-1, -5), (0, -3)]]),
(-11, 11, [[(-6, -12), (-6, 9)], [(-5, -11), (-5, 8)], [(-9, -12), (-4, -12), (-4, 9)], [(5, -4), (-4, 5)], [(0, 1), (7, 9)], [(0, 2), (6, 9)], [(-1, 2), (5, 9)], [(2, -5), (9, -5)], [(-9, 9), (-1, 9)], [(2, 9), (9, 9)], [(-8, -12), (-6, -11)], [(-7, -12), (-6, -10)], [(3, -5), (5, -4)], [(8, -5), (5, -4)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(5, 7), (3, 9)], [(4, 7), (8, 9)]]),
(-6, 6, [[(-1, -12), (-1, 9)], [(0, -11), (0, 8)], [(-4, -12), (1, -12), (1, 9)], [(-4, 9), (4, 9)], [(-3, -12), (-1, -11)], [(-2, -12), (-1, -10)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)]]),
(-17, 17, [[(-12, -5), (-12, 9)], [(-11, -4), (-11, 8)], [(-15, -5), (-10, -5), (-10, 9)], [(-10, -1), (-9, -3), (-8, -4), (-6, -5), (-3, -5), (-1, -4), (0, -3), (1, 0), (1, 9)], [(-1, -3), (0, 0), (0, 8)], [(-3, -5), (-2, -4), (-1, -1), (-1, 9)], [(1, -1), (2, -3), (3, -4), (5, -5), (8, -5), (10, -4), (11, -3), (12, 0), (12, 9)], [(10, -3), (11, 0), (11, 8)], [(8, -5), (9, -4), (10, -1), (10, 9)], [(-15, 9), (-7, 9)], [(-4, 9), (4, 9)], [(7, 9), (15, 9)], [(-14, -5), (-12, -4)], [(-13, -5), (-12, -3)], [(-12, 8), (-14, 9)], [(-12, 7), (-13, 9)], [(-10, 7), (-9, 9)], [(-10, 8), (-8, 9)], [(-1, 8), (-3, 9)], [(-1, 7), (-2, 9)], [(1, 7), (2, 9)], [(1, 8), (3, 9)], [(10, 8), (8, 9)], [(10, 7), (9, 9)], [(12, 7), (13, 9)], [(12, 8), (14, 9)]]),
(-11, 12, [[(-6, -5), (-6, 9)], [(-5, -4), (-5, 8)], [(-9, -5), (-4, -5), (-4, 9)], [(-4, -1), (-3, -3), (-2, -4), (0, -5), (3, -5), (5, -4), (6, -3), (7, 0), (7, 9)], [(5, -3), (6, 0), (6, 8)], [(3, -5), (4, -4), (5, -1), (5, 9)], [(-9, 9), (-1, 9)], [(2, 9), (10, 9)], [(-8, -5), (-6, -4)], [(-7, -5), (-6, -3)], [(-6, 8), (-8, 9)], [(-6, 7), (-7, 9)], [(-4, 7), (-3, 9)], [(-4, 8), (-2, 9)], [(5, 8), (3, 9)], [(5, 7), (4, 9)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-10, 10, [[(-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (4, 8), (6, 6), (7, 3), (7, 1), (6, -2), (4, -4), (1, -5), (-1, -5)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(5, 6), (6, 4), (6, 0), (5, -2)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(1, 9), (3, 8), (4, 7), (5, 4), (5, 0), (4, -3), (3, -4), (1, -5)]]),
(-11, 10, [[(-6, -5), (-6, 16)], [(-5, -4), (-5, 15)], [(-9, -5), (-4, -5), (-4, 16)], [(-4, -2), (-3, -4), (-1, -5), (1, -5), (4, -4), (6, -2), (7, 1), (7, 3), (6, 6), (4, 8), (1, 9), (-1, 9), (-3, 8), (-4, 6)], [(5, -2), (6, 0), (6, 4), (5, 6)], [(1, -5), (3, -4), (4, -3), (5, 0), (5, 4), (4, 7), (3, 8), (1, 9)], [(-9, 16), (-1, 16)], [(-8, -5), (-6, -4)], [(-7, -5), (-6, -3)], [(-6, 15), (-8, 16)], [(-6, 14), (-7, 16)], [(-4, 14), (-3, 16)], [(-4, 15), (-2, 16)]]),
(-10, 10, [[(4, -4), (4, 16)], [(5, -3), (5, 15)], [(3, -4), (5, -4), (6, -5), (6, 16)], [(4, -2), (3, -4), (1, -5), (-1, -5), (-4, -4), (-6, -2), (-7, 1), (-7, 3), (-6, 6), (-4, 8), (-1, 9), (1, 9), (3, 8), (4, 6)], [(-5, -2), (-6, 0), (-6, 4), (-5, 6)], [(-1, -5), (-3, -4), (-4, -3), (-5, 0), (-5, 4), (-4, 7), (-3, 8), (-1, 9)], [(1, 16), (9, 16)], [(4, 15), (2, 16)], [(4, 14), (3, 16)], [(6, 14), (7, 16)], [(6, 15), (8, 16)]]),
(-9, 8, [[(-4, -5), (-4, 9)], [(-3, -4), (-3, 8)], [(-7, -5), (-2, -5), (-2, 9)], [(5, -3), (5, -4), (4, -4), (4, -2), (6, -2), (6, -4), (5, -5), (3, -5), (1, -4), (-1, -2), (-2, 1)], [(-7, 9), (1, 9)], [(-6, -5), (-4, -4)], [(-5, -5), (-4, -3)], [(-4, 8), (-6, 9)], [(-4, 7), (-5, 9)], [(-2, 7), (-1, 9)], [(-2, 8), (0, 9)]]),
(-8, 9, [[(5, -3), (6, -5), (6, -1), (5, -3), (4, -4), (2, -5), (-2, -5), (-4, -4), (-5, -3), (-5, -1), (-4, 1), (-2, 2), (3, 3), (5, 4), (6, 7)], [(-4, -4), (-5, -1)], [(-4, 0), (-2, 1), (3, 2), (5, 3)], [(6, 4), (5, 8)], [(-5, -3), (-4, -1), (-2, 0), (3, 1), (5, 2), (6, 4), (6, 7), (5, 8), (3, 9), (-1, 9), (-3, 8), (-4, 7), (-5, 5), (-5, 9), (-4, 7)]]),
(-7, 8, [[(-2, -10), (-2, 4), (-1, 7), (0, 8), (2, 9), (4, 9), (6, 8), (7, 6)], [(-1, -10), (-1, 5), (0, 7)], [(-2, -10), (0, -12), (0, 5), (1, 8), (2, 9)], [(-5, -5), (4, -5)]]),
(-11, 12, [[(-6, -5), (-6, 4), (-5, 7), (-4, 8), (-2, 9), (1, 9), (3, 8), (4, 7), (5, 5)], [(-5, -4), (-5, 5), (-4, 7)], [(-9, -5), (-4, -5), (-4, 5), (-3, 8), (-2, 9)], [(5, -5), (5, 9), (10, 9)], [(6, -4), (6, 8)], [(2, -5), (7, -5), (7, 9)], [(-8, -5), (-6, -4)], [(-7, -5), (-6, -3)], [(7, 7), (8, 9)], [(7, 8), (9, 9)]]),
(-9, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(-4, -5), (1, 7)], [(6, -4), (1, 7), (0, 9)], [(-8, -5), (-1, -5)], [(2, -5), (8, -5)], [(-7, -5), (-4, -3)], [(-2, -5), (-4, -4)], [(4, -5), (6, -4)], [(7, -5), (6, -4)]]),
(-12, 12, [[(-8, -5), (-4, 9)], [(-7, -5), (-4, 6)], [(-6, -5), (-3, 6)], [(0, -5), (-3, 6), (-4, 9)], [(0, -5), (4, 9)], [(1, -5), (4, 6)], [(0, -5), (2, -5), (5, 6)], [(8, -4), (5, 6), (4, 9)], [(-11, -5), (-3, -5)], [(5, -5), (11, -5)], [(-10, -5), (-7, -4)], [(-4, -5), (-6, -4)], [(6, -5), (8, -4)], [(10, -5), (8, -4)]]),
(-10, 10, [[(-6, -5), (4, 9)], [(-5, -5), (5, 9)], [(-4, -5), (6, 9)], [(5, -4), (-5, 8)], [(-8, -5), (-1, -5)], [(2, -5), (8, -5)], [(-8, 9), (-2, 9)], [(1, 9), (8, 9)], [(-7, -5), (-5, -4)], [(-2, -5), (-4, -4)], [(3, -5), (5, -4)], [(7, -5), (5, -4)], [(-5, 8), (-7, 9)], [(-5, 8), (-3, 9)], [(4, 8), (2, 9)], [(5, 8), (7, 9)]]),
(-10, 9, [[(-6, -5), (0, 9)], [(-5, -5), (0, 7)], [(-4, -5), (1, 7)], [(6, -4), (1, 7), (-2, 13), (-4, 15), (-6, 16), (-8, 16), (-9, 15), (-9, 13), (-7, 13), (-7, 15), (-8, 15), (-8, 14)], [(-8, -5), (-1, -5)], [(2, -5), (8, -5)], [(-7, -5), (-4, -3)], [(-2, -5), (-4, -4)], [(4, -5), (6, -4)], [(7, -5), (6, -4)]]),
(-9, 9, [[(4, -5), (-6, 9)], [(5, -5), (-5, 9)], [(6, -5), (-4, 9)], [(6, -5), (-6, -5), (-6, -1)], [(-6, 9), (6, 9), (6, 5)], [(-5, -5), (-6, -1)], [(-4, -5), (-6, -2)], [(-3, -5), (-6, -3)], [(-1, -5), (-6, -4)], [(1, 9), (6, 8)], [(3, 9), (6, 7)], [(4, 9), (6, 6)], [(5, 9), (6, 5)]]),
(-7, 7, [[(2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1)], [(0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15)], [(-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16)]]),
(-4, 4, [[(0, -16), (0, 16)]]),
(-7, 7, [[(-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1)], [(0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15)], [(1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16)]]),
(-12, 12, [[(-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1)], [(-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3)]]),
(-8, 8, [[(-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9)]]),
]
| 243.81139 | 1,234 | 0.233903 | 160,999 | 796,288 | 1.156858 | 0.000453 | 0.018996 | 0.009519 | 0.004746 | 0.983179 | 0.962669 | 0.947636 | 0.937767 | 0.930525 | 0.925424 | 0 | 0.298891 | 0.218398 | 796,288 | 3,265 | 1,235 | 243.886064 | 0.000368 | 0 | 0 | 0.844465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
d839abeacf5c6dbb5ffc09dec60a1aced61d074f | 8,170 | py | Python | ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py | vsosrc/ambari | e3cc898672707bedf7597f2e16d684c8a00bba3b | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py | vsosrc/ambari | e3cc898672707bedf7597f2e16d684c8a00bba3b | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py | vsosrc/ambari | e3cc898672707bedf7597f2e16d684c8a00bba3b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
'''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''
from mock.mock import MagicMock, patch
from stacks.utils.RMFTestCase import *
@patch("os.path.exists", new = MagicMock(return_value=True))
class TestZookeeperServer(RMFTestCase):
def test_configure_default(self):
self.executeScript("2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_server.py",
classname = "ZookeeperServer",
command = "configure",
config_file="default.json"
)
self.assert_configure_default()
self.assertNoMoreResources()
def test_start_default(self):
self.executeScript("2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_server.py",
classname = "ZookeeperServer",
command = "start",
config_file="default.json"
)
self.assert_configure_default()
self.assertResourceCalled('Execute', 'source /etc/zookeeper/conf/zookeeper-env.sh ; env ZOOCFGDIR=/etc/zookeeper/conf ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh start',
not_if = 'ls /var/run/zookeeper/zookeeper_server.pid >/dev/null 2>&1 && ps `cat /var/run/zookeeper/zookeeper_server.pid` >/dev/null 2>&1',
user = 'zookeeper'
)
self.assertNoMoreResources()
def test_stop_default(self):
self.executeScript("2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_server.py",
classname = "ZookeeperServer",
command = "stop",
config_file="default.json"
)
self.assertResourceCalled('Execute', 'source /etc/zookeeper/conf/zookeeper-env.sh ; env ZOOCFGDIR=/etc/zookeeper/conf ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh stop',
user = 'zookeeper',
)
self.assertResourceCalled('Execute', 'rm -f /var/run/zookeeper/zookeeper_server.pid')
self.assertNoMoreResources()
def test_configure_secured(self):
self.executeScript("2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_server.py",
classname = "ZookeeperServer",
command = "configure",
config_file="secured.json"
)
self.assert_configure_secured()
self.assertNoMoreResources()
def test_start_secured(self):
self.executeScript("2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_server.py",
classname = "ZookeeperServer",
command = "start",
config_file="secured.json"
)
self.assert_configure_secured()
self.assertResourceCalled('Execute', 'source /etc/zookeeper/conf/zookeeper-env.sh ; env ZOOCFGDIR=/etc/zookeeper/conf ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh start',
not_if = 'ls /var/run/zookeeper/zookeeper_server.pid >/dev/null 2>&1 && ps `cat /var/run/zookeeper/zookeeper_server.pid` >/dev/null 2>&1',
user = 'zookeeper'
)
self.assertNoMoreResources()
def test_stop_secured(self):
self.executeScript("2.0.6/services/ZOOKEEPER/package/scripts/zookeeper_server.py",
classname = "ZookeeperServer",
command = "stop",
config_file="secured.json"
)
self.assertResourceCalled('Execute', 'source /etc/zookeeper/conf/zookeeper-env.sh ; env ZOOCFGDIR=/etc/zookeeper/conf ZOOCFG=zoo.cfg /usr/lib/zookeeper/bin/zkServer.sh stop',
user = 'zookeeper',
)
self.assertResourceCalled('Execute', 'rm -f /var/run/zookeeper/zookeeper_server.pid')
self.assertNoMoreResources()
def assert_configure_default(self):
self.assertResourceCalled('Directory', '/etc/zookeeper/conf',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zookeeper-env.sh',
owner = 'zookeeper',
content = InlineTemplate(self.getConfig()['configurations']['zookeeper-env']['content']),
group = 'hadoop',
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zoo.cfg',
owner = 'zookeeper',
content = Template('zoo.cfg.j2'),
group = 'hadoop',
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/configuration.xsl',
owner = 'zookeeper',
content = Template('configuration.xsl.j2'),
group = 'hadoop',
)
self.assertResourceCalled('Directory', '/var/run/zookeeper',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('Directory', '/var/log/zookeeper',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('Directory', '/hadoop/zookeeper',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('File', '/hadoop/zookeeper/myid',
content = '1',
mode = 0644,
)
self.assertResourceCalled('File',
'/etc/zookeeper/conf/log4j.properties',
content='log4jproperties\nline2',
mode=0644,
group='hadoop',
owner='zookeeper'
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zoo_sample.cfg',
owner = 'zookeeper',
group = 'hadoop',
)
def assert_configure_secured(self):
self.assertResourceCalled('Directory', '/etc/zookeeper/conf',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zookeeper-env.sh',
owner = 'zookeeper',
content = InlineTemplate(self.getConfig()['configurations']['zookeeper-env']['content']),
group = 'hadoop',
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zoo.cfg',
owner = 'zookeeper',
content = Template('zoo.cfg.j2'),
group = 'hadoop',
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/configuration.xsl',
owner = 'zookeeper',
content = Template('configuration.xsl.j2'),
group = 'hadoop',
)
self.assertResourceCalled('Directory', '/var/run/zookeeper',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('Directory', '/var/log/zookeeper',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('Directory', '/hadoop/zookeeper',
owner = 'zookeeper',
group = 'hadoop',
recursive = True,
)
self.assertResourceCalled('File', '/hadoop/zookeeper/myid',
content = '1',
mode = 0644,
)
self.assertResourceCalled('File',
'/etc/zookeeper/conf/log4j.properties',
content='log4jproperties\nline2',
mode=0644,
group='hadoop',
owner='zookeeper'
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zookeeper_jaas.conf',
owner = 'zookeeper',
content = Template('zookeeper_jaas.conf.j2'),
group = 'hadoop',
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zookeeper_client_jaas.conf',
owner = 'zookeeper',
content = Template('zookeeper_client_jaas.conf.j2'),
group = 'hadoop',
)
self.assertResourceCalled('File', '/etc/zookeeper/conf/zoo_sample.cfg',
owner = 'zookeeper',
group = 'hadoop',
)
| 38.537736 | 179 | 0.632558 | 839 | 8,170 | 6.096544 | 0.196663 | 0.131378 | 0.068817 | 0.072727 | 0.833236 | 0.817595 | 0.817595 | 0.79609 | 0.79609 | 0.765591 | 0 | 0.009642 | 0.238311 | 8,170 | 211 | 180 | 38.720379 | 0.812309 | 0.002448 | 0 | 0.730337 | 0 | 0.033708 | 0.378554 | 0.210669 | 0 | 0 | 0 | 0 | 0.224719 | 0 | null | null | 0 | 0.011236 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dc29a762519122921af80abbed579d283ae63fcf | 655 | py | Python | train_covid20cases_timm-regnetx_002_random_brightness_contrast.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_covid20cases_timm-regnetx_002_random_brightness_contrast.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_covid20cases_timm-regnetx_002_random_brightness_contrast.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold0_random_brightness_contrast.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold1_random_brightness_contrast.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold2_random_brightness_contrast.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold3_random_brightness_contrast.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold4_random_brightness_contrast.yml",
]
for l in ls:
os.system(l) | 59.545455 | 125 | 0.873282 | 90 | 655 | 5.911111 | 0.288889 | 0.093985 | 0.112782 | 0.178571 | 0.851504 | 0.851504 | 0.851504 | 0.851504 | 0.851504 | 0.851504 | 0 | 0.048077 | 0.047328 | 655 | 11 | 126 | 59.545455 | 0.804487 | 0 | 0 | 0 | 0 | 0 | 0.89939 | 0.708841 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
dc6e4a6460a84ea3b543ae0a671463f485a0771b | 123 | py | Python | flockai/utils/graphics.py | unic-ailab/flockai-working | 32939202f372c9cebbfc62ce27a00e3aaf196b3f | [
"MIT"
] | null | null | null | flockai/utils/graphics.py | unic-ailab/flockai-working | 32939202f372c9cebbfc62ce27a00e3aaf196b3f | [
"MIT"
] | null | null | null | flockai/utils/graphics.py | unic-ailab/flockai-working | 32939202f372c9cebbfc62ce27a00e3aaf196b3f | [
"MIT"
] | null | null | null | class Graphics:
@staticmethod
def clamp(x, min_value, max_value):
return min(max(x, min_value), max_value)
| 24.6 | 48 | 0.674797 | 18 | 123 | 4.388889 | 0.555556 | 0.101266 | 0.227848 | 0.303797 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 123 | 4 | 49 | 30.75 | 0.822917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
f4a48eff24565fa36ee3dec8dc8ed55575027b75 | 156 | py | Python | openmmforcefields/generators/__init__.py | openmm/openmm-forcefields | 7e2c769003195089938a134c44b3c81b05aeb624 | [
"MIT"
] | 16 | 2017-09-12T14:02:00.000Z | 2019-12-16T19:29:09.000Z | openmmforcefields/generators/__init__.py | choderalab/openmm-forcefields | 7e2c769003195089938a134c44b3c81b05aeb624 | [
"MIT"
] | 75 | 2017-03-01T23:25:59.000Z | 2020-01-06T03:57:15.000Z | openmmforcefields/generators/__init__.py | choderalab/openmm-forcefields | 7e2c769003195089938a134c44b3c81b05aeb624 | [
"MIT"
] | 18 | 2017-03-01T20:09:54.000Z | 2020-01-06T21:18:51.000Z | from .template_generators import GAFFTemplateGenerator, SMIRNOFFTemplateGenerator, EspalomaTemplateGenerator
from .system_generators import SystemGenerator
| 52 | 108 | 0.910256 | 12 | 156 | 11.666667 | 0.75 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 156 | 2 | 109 | 78 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f4a739310ddeaf9228fe8804661f582405f6b264 | 11,309 | py | Python | Pattern-Problems/python/PatternProblems.py | nipun2000/algorithms-in-C-Cplusplus-Java-Python-JavaScript | 731daee49e354152cd4d26c03d3782bd3e9a31b8 | [
"MIT"
] | 30 | 2018-10-01T14:50:33.000Z | 2022-01-21T18:12:04.000Z | Pattern-Problems/python/PatternProblems.py | nipun2000/algorithms-in-C-Cplusplus-Java-Python-JavaScript | 731daee49e354152cd4d26c03d3782bd3e9a31b8 | [
"MIT"
] | 35 | 2018-10-01T15:38:37.000Z | 2019-10-04T08:58:15.000Z | Pattern-Problems/python/PatternProblems.py | nipun2000/algorithms-in-C-Cplusplus-Java-Python-JavaScript | 731daee49e354152cd4d26c03d3782bd3e9a31b8 | [
"MIT"
] | 79 | 2018-10-01T15:20:14.000Z | 2021-02-18T20:30:05.000Z | # -*- coding: utf-8 -*-
"""
Created on Sun Oct 29 19:19:48 2017
Pattern-Problems(Python)
@forked from:thedeepanshujain
@author: Vasudev
"""
def pattern1(n):
for i in range(n):
for j in range(i+1):
print('1',end=' ')
print()
return
def pattern2(n):
val=1
for i in range(n):
for j in range(i+1):
print(val,end=' ')
val=val+1
print()
return
def pattern3(n):
for i in range(n):
val=i+1
for j in range(i+1):
print(val,end=' ')
val=val+1
print()
return
def pattern4(n):
i=n
while i>=1:
for j in range(i):
print('1',end=' ')
print()
i=i-1
return
def pattern5(n):
i=n
while i>=1:
for j in range(1,i+1):
print(j,end=' ')
print()
i=i-1
return
def pattern6(n):
for i in range(n):
space=n-(i+1)
while space>0:
print(' ',end=' ')
space=space-1
for j in range(i+1):
print('1',end=' ')
print()
return
def pattern7(n):
val=1
for i in range(n):
space=n-(i+1)
while space>0:
print(' ',end=' ')
space=space-1
for j in range(i+1):
print(val,end=' ')
val=val+1
print()
return
def pattern8(n):
for i in range(n):
space=n-(i+1)
while space>0:
print(' ',end='')
space=space-1
for j in range(i+1):
print(i+j+1,end='')
print()
return
def pattern9(n):
for i in range(n):
for space in range (1,i+1):
print(' ',end=' ')
for j in range(1,n-i+1):
print('1',end=' ')
print()
return
def pattern10(n):
for i in range(n):
for space in range (1,i+1):
print(' ',end=' ')
for j in range(1,n-i+1):
print(j,end=' ')
print()
return
def pattern11(n):
for i in range(n):
for j in range(i+1):
var=(chr)(65+i)
print(var,end=" ")
print()
return
def pattern12(n):
i=n
while i>=1:
for j in range(i):
if(i%2==0):
print(1,end=' ')
else:
print(0,end=' ')
print()
i=i-1
return
def pattern13(n):
for i in range(n):
for j in range(i+1):
char=(chr)(n+64-i+j)
print(char,end=" ")
print()
return
def pattern14(n):
i=1
val=1
while(i<=n):
j=1
if(i%2==0):
val=val+i
evenRowVal=val-1
while j<=i:
print(evenRowVal,end=' ')
evenRowVal=evenRowVal-1
j=j+1
else:
while j<=i:
print(val,end=' ')
val=val+1
j=j+1
print()
i=i+1
return
def pattern15(n):
i=1
while i<=n:
j=n
val=65
space=2
while space<=i:
print(" ",end=' ')
space=space+1
while j>=i:
char=(chr)(val)
print(char,end=' ')
val=val+1
j=j-1
val=val-1
j=n
while j>=i:
char=(chr)(val)
print(char,end=' ')
val=val-1
j=j-1
print()
i=i+1
return
def pattern16(n):
i=1
while i<=n:
val=n-i+1
j=1
while j<=i:
print (val,end=' ')
val=val+1
j=j+1
while j<=n:
print(n,end=' ')
j=j+1
print()
i=i+1
return
def pattern17(n):
i=1
while i<=n:
space=n
while space>i:
print(" ",end=' ')
space=space-1
j=2
val=i-1
while j<=i:
print(val,end=' ')
val=val-1
j=j+1
print(val,end=' ')
val=val+1
j=2
while j<=i:
print(val,end=' ')
val=val+1
j=j+1
print()
i=i+1
return
def pattern18(n):
m=(int)(n/2)
k=n-m
i=1
while i<=m:
j=1
while j<=i:
print("*",end=' ')
j=j+1
print()
i=i+1
i=1
while i<=k:
j=k
while j>=i:
print("*",end=' ')
j=j-1
print()
i=i+1
return
def pattern19(n):
m=(int)(n/2)+1
k=n-m
i=1
while i<=m:
space=m
while space>i:
print(" ",end=' ')
space=space-1
j=1
while j<=2*i-1:
print("*",end=' ')
j=j+1
print()
i=i+1
i=k
while i>=1:
space=k
while space>=i:
print(" ",end=' ')
space=space-1
j=1
while j<=2*i-1:
print("*",end=' ')
j=j+1
print()
i=i-1
return
def pattern20(n):
m=(int)(n/2)+1
k=n-m
i=1
while i<=m:
space=m
while space>i:
print(" ",end=' ')
space=space-1
j=1
while j<=2*i-1:
print(j,end=' ')
j=j+1
print()
i=i+1
i=k
while i>=1:
space=k
while space>=i:
print(" ",end=' ')
space=space-1
j=1
while j<=2*i-1:
print(j,end=' ')
j=j+1
print()
i=i-1
return
def pattern21(n):
i=1
while i<=n:
space=n
while space>i:
print(" ",end=' ')
space=space-1
j=1
val=i
while(j<=2*i-1):
if j<i:
print(val,end=' ')
val=val+1
elif j==i:
print(val,end=' ')
val=val-1
elif j>i:
print(val,end=' ')
val=val-1
j=j+1
print()
i=i+1
return
def pattern22(n):
m=(int)(n/2)+1
k=n-m
i=1
while i<=m:
space=2
while space<=i:
print(" ",end=' ')
space=space+1
j=1
while(j<=i):
print("*",end=' ')
j=j+1
print()
i=i+1
i=k
while i>=1:
space=k
while space<=i:
print(" ",end=' ')
space=space+1
j=1
while j<=i:
print("*",end=' ')
j=j+1
print()
i=i-1
return
def pattern23(n):
i=1
while i<=n:
j=1
while j<=i:
if j==1 or j==i:
print(1,end=' ')
else:
print(2,end=' ')
j=j+1
print()
i=i+1
return
def pattern24(n):
print(1)
i=2
while i<=n:
j=1
while j<=i:
if j==1 or j==i:
print(i-1,end=' ')
else:
print(0,end=' ')
j=j+1
print()
i=i+1
return
def pattern25(n):
i=1
while i<=n:
space=n
while space>i:
print(" ",end=' ')
space=space-1
j=1
while j<=i:
print("*",end=' ')
j=j+1
j=2
while j<=i:
print("*",end=' ')
j=j+1
print()
i=i+1
return
def pattern26(n):
i=1
while i<=n:
space=n
while space>i:
print(" ",end=' ')
space=space-1
j=1
val=i
while j<=i:
print(val,end=' ')
val=val-1
j=j+1
j=2
val=2
while j<=i:
print(val,end=' ')
val=val+1
j=j+1
print()
i=i+1
return
def pattern27(n):
i=1
while i<=n:
j=n
val=n
while j>i:
print(val,end=' ')
val=val-1
j=j-1
print("*",end=' ')
j=1
val=i-1
while j<i:
print(val,end=' ')
val=val-1
j=j+1
print()
i=i+1
return
def pattern28(n):
i=1
while i<=n:
j=1
while j<=n:
if j==i:
print("*",end=' ')
else:
print("0",end=' ')
j=j+1
print("*",end=' ')
j=n
while j>=1:
if(j==i):
print("*",end=' ')
else:
print("0",end=' ')
j=j-1
print()
i=i+1
return
def pattern29(n):
i=1
while i<=n:
val=1
j=1
while j<=i:
print(val,end=' ')
val=val+1
j=j+1
while j<=n:
print(" ",end=' ')
j=j+1
j=1
val=i
while j<=i:
print(val,end=' ')
val=val-1
j=j+1
print()
i=i+1
return
def pattern31(n):
i=1
while i<=n-1:
j=1
while j<=n:
if j==i:
print(i,end=' ')
else:
print(" ",end=' ')
j=j+1
j=1
while j<=n-1:
if j==n-i:
print(i,end=' ')
else:
print(" ",end=' ')
j=j+1
print()
i=i+1
j=1
while j<=n-1:
print(" ",end=' ')
j=j+1
print(n,end=' ')
print()
i=1
while i<=n-1:
j=1
while j<=n:
if j==n-i:
print(j,end=' ')
else:
print(" ",end=' ')
j=j+1
j=1
while j<=n-1:
if j==i:
print(n-i,end=' ')
else:
print(" ",end=' ')
j=j+1
print()
i=i+1
return
def pattern32(n):
i=1
val=1
k=1
while i<=n:
j=1
while j<=k:
if(val==10):
val=1
print(val,end=' ')
val=val+1
j=j+1
k=k*2
print()
i=i+1
return
def pattern33(n):
i=1
while i<=n:
j=1
while j<=n+1:
if j==i:
print(i,end=' ')
elif j<i:
print(" ",end=' ')
elif j>i:
print("*",end=' ')
j=j+1
print()
i=i+1
i=1
while i<=n-1:
j=1
while j<=n+1:
if j==n-i:
print(j,end=' ')
elif j>n-i:
print("*",end=' ')
else:
print(" ",end=' ')
j=j+1
print()
i=i+1
return
| 19.667826 | 42 | 0.328411 | 1,457 | 11,309 | 2.549073 | 0.055594 | 0.043619 | 0.030695 | 0.060312 | 0.834949 | 0.812601 | 0.78433 | 0.748788 | 0.729672 | 0.71594 | 0 | 0.060243 | 0.527368 | 11,309 | 574 | 43 | 19.702091 | 0.634612 | 0.011495 | 0 | 0.869403 | 0 | 0 | 0.012268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0 | 0 | 0.119403 | 0.235075 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f4d2c94ddf2421f3dbe317a7e9ba80e9509b70f8 | 287 | py | Python | testFilePushGit.py | artanix/highschoolAdventure10 | e85592299e9f9163796088725be29575c3a66d50 | [
"MIT"
] | null | null | null | testFilePushGit.py | artanix/highschoolAdventure10 | e85592299e9f9163796088725be29575c3a66d50 | [
"MIT"
] | null | null | null | testFilePushGit.py | artanix/highschoolAdventure10 | e85592299e9f9163796088725be29575c3a66d50 | [
"MIT"
] | null | null | null | asdasda
ascii(lambda sd
ascii(sd
ascii(lambda sd
ascii(sd
ascii(sd
ascii(lambda sd
ascii(lambda sd
)))))))
asdasdasd | 22.076923 | 51 | 0.310105 | 20 | 287 | 4.45 | 0.25 | 0.47191 | 0.58427 | 0.606742 | 0.730337 | 0.730337 | 0.606742 | 0 | 0 | 0 | 0 | 0 | 0.641115 | 287 | 13 | 52 | 22.076923 | 0.864078 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4ece8f0017e0ad798dc86a8a9f89cdd686d69f9 | 5,468 | py | Python | BCM_and_Week_Report_Data/database_newclass.py | Kiritox0x/trp_assistant_bot | 9776d3b6fc6ebccb5d6b8c0ea68c9b145dc4e06a | [
"MIT"
] | null | null | null | BCM_and_Week_Report_Data/database_newclass.py | Kiritox0x/trp_assistant_bot | 9776d3b6fc6ebccb5d6b8c0ea68c9b145dc4e06a | [
"MIT"
] | null | null | null | BCM_and_Week_Report_Data/database_newclass.py | Kiritox0x/trp_assistant_bot | 9776d3b6fc6ebccb5d6b8c0ea68c9b145dc4e06a | [
"MIT"
] | null | null | null | #!/usr/bin/python
import requests
import json
import os
import sys
from datetime import *
import pytz
import django
sys.path.append("/home/khoaitaymocmam/Work/WebAPI/Topica/trm_assistant_bot/")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "trp_assistant_bot.settings")
django.setup()
from mail_sender.models import *
def user_info(userId):
url = "http://elearning.hou2.topica.vn/api/apittm/api_user_info.php"
querystring = {"userId":userId}
headers = {
'cache-control': "no-cache",
}
response = requests.request("GET", url, headers=headers, params=querystring)
response = json.loads(response.text)
return response["data"][0]
# Get list of activatingi classes
def get_activating_class(start_date, end_date):
url = "http://elearning.hou2.topica.vn/api/apittm/api_post_bcm.php"
querystring = {"start_date": start_date,"end_date": end_date}
headers = {
'cache-control': "no-cache",
}
response = requests.request("GET", url, headers=headers, params=querystring)
response = json.loads(response.text)
return response["data"]
def create_BCM(newclass_report):
if len(Bcm_room.objects.filter(subject_code = newclass_report["subject_code"])) == 0:
classroom = Bcm_room.objects.create()
# check if subject has name
if newclass_report["subject_name"] != None:
classroom.subject_name = newclass_report["subject_name"]
else:
classroom.subject_name = "No subject name"
# check if teacher exist in open_course database, if not exist return null
if newclass_report["id_gvcm"] != None:
teacher_email = user_info(newclass_report["id_gvcm"])["email"]
if len(Teacher.objects.filter(topica_email = teacher_email)) != 0:
classroom.teacher = Teacher.objects.filter(topica_email = teacher_email)[0]
# check if assistant exist in open_course database, if not exist return null
if newclass_report["id_gvhd"] != None:
assistant_email = user_info(newclass_report["id_gvhd"])["email"]
if len(Assistant.objects.filter(topica_email = assistant_email)) !=0:
classroom.assistant = Assistant.objects.filter(topica_email = assistant_email)[0]
classroom.subject_name = newclass_report["subject_name"]
classroom.subject_code = newclass_report["subject_code"]
classroom.class_link = newclass_report["class_link"]
classroom.document_link = newclass_report["document_link"]
# set_time
classroom.start_date = datetime.strptime(newclass_report["start_course"], '%m-%d-%Y')
classroom.start_date = classroom.start_date.replace(tzinfo=pytz.utc)
classroom.finish_date = datetime.strptime(newclass_report["end_course"], '%m-%d-%Y')
classroom.finish_date = classroom.finish_date.replace(tzinfo=pytz.UTC)
classroom.examination_date = datetime.strptime(newclass_report["date_exam"] , '%m-%d-%Y')
classroom.examination_date = classroom.examination_date.replace(tzinfo = pytz.UTC)
if newclass_report["date_post_bcm"] != "NF":
classroom.date_post_BCM = datetime.strptime(newclass_report["date_post_bcm"], '%d-%m-%Y')
classroom.date_post_BCM = classroom.date_post_BCM.replace(tzinfo = pytz.UTC)
# check if class have assistant
classroom.save()
else:
classroom = Bcm_room.objects.filter(subject_code = newclass_report["subject_code"])
classroom = classroom.get()
# check if subject has name
if newclass_report["subject_name"] != None:
classroom.subject_name = newclass_report["subject_name"]
else:
classroom.subject_name = "No subject name"
# check if teacher exist in open_course database, if not exist return null
if newclass_report["id_gvcm"] != None:
teacher_email = user_info(newclass_report["id_gvcm"])["email"]
if len(Teacher.objects.filter(topica_email = teacher_email)) != 0:
classroom.teacher = Teacher.objects.filter(topica_email = teacher_email)[0]
# check if assistant exist in open_course database, if not exist return null
if newclass_report["id_gvhd"] != None:
assistant_email = user_info(newclass_report["id_gvhd"])["email"]
if len(Assistant.objects.filter(topica_email = assistant_email)) !=0:
classroom.assistant = Assistant.objects.filter(topica_email = assistant_email)[0]
classroom.subject_name = newclass_report["subject_name"]
classroom.subject_code = newclass_report["subject_code"]
classroom.class_link = newclass_report["class_link"]
classroom.document_link = newclass_report["document_link"]
classroom.subject_code = newclass_report["subject_code"]
classroom.class_link = newclass_report["class_link"]
classroom.document = newclass_report["document_link"]
# set_time
classroom.start_date = datetime.strptime(newclass_report["start_course"], '%m-%d-%Y')
classroom.start_date = classroom.start_date.replace(tzinfo=pytz.utc)
classroom.finish_date = datetime.strptime(newclass_report["end_course"], '%m-%d-%Y')
classroom.finish_date = classroom.finish_date.replace(tzinfo=pytz.UTC)
classroom.examination_date = datetime.strptime(newclass_report["date_exam"] , '%m-%d-%Y')
classroom.examination_date = classroom.examination_date.replace(tzinfo = pytz.UTC)
if newclass_report["date_post_bcm"] != "NF":
classroom.date_post_BCM = datetime.strptime(newclass_report["date_post_bcm"], '%d-%m-%Y')
classroom.date_post_BCM = classroom.date_post_BCM.replace(tzinfo = pytz.UTC)
classroom.save()
now = datetime.now(pytz.utc)
now = now.strftime('%m/%d/%Y')
database = get_activating_class(now,now)
for obj in database:
create_BCM(obj)
print "Get New Class Successfully"
| 40.80597 | 92 | 0.754938 | 740 | 5,468 | 5.337838 | 0.162162 | 0.127595 | 0.058481 | 0.048608 | 0.828608 | 0.826329 | 0.826329 | 0.824051 | 0.824051 | 0.803797 | 0 | 0.002487 | 0.117593 | 5,468 | 133 | 93 | 41.112782 | 0.816166 | 0.0812 | 0 | 0.65625 | 0 | 0 | 0.165171 | 0.021145 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.010417 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
761f1071c09b68028ca8e4dda7f5ff4d32d8b770 | 286 | py | Python | Xana/XpcsAna/Xpcs.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | null | null | null | Xana/XpcsAna/Xpcs.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | null | null | null | Xana/XpcsAna/Xpcs.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | null | null | null | from .pyxpcs3 import pyxpcs
from .eventcorrelator3 import eventcorrelator
class Xpcs:
def __init__():
pass
def pyxpcs(*args, **kwargs):
return pyxpcs(*args, **kwargs)
def eventcorrelator(*args, **kwargs):
return eventcorrelator(*args, **kwargs)
| 19.066667 | 47 | 0.657343 | 29 | 286 | 6.344828 | 0.482759 | 0.217391 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.230769 | 286 | 14 | 48 | 20.428571 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.111111 | 0.222222 | 0.222222 | 0.888889 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
529376f50ffe05032da4f986046aa75f8f39f527 | 31,462 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpMfibVrfActive/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowIpMfibVrfActive/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowIpMfibVrfActive/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | expected_output= {
"vrf": {
"vrf3001": {
"groups": {
"228.1.1.1": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.10": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.2": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.3": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.4": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.5": {
"hw_rate_details": {
"hw_rate_utilized": 999,
"max_hw_rate": 3874,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.6": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.7": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.8": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.1.1.9": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.1": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.10": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.2": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.3": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.4": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.5": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.6": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.7": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.8": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"228.2.1.9": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.2",
"sw_rate_details": {
"duration": "238 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.1": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.10": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.2": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.3": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.4": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.5": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.6": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.7": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.8": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.1.1.9": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "220 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.1": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.10": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.2": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.3": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.4": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.5": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.6": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.7": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.8": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"229.2.1.9": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "RP-tree",
"sw_rate_details": {
"duration": "257 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.1": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.10": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.2": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.3": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.4": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.5": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.6": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.7": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.8": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.1.1.9": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 3875,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "161.1.1.3",
"sw_rate_details": {
"duration": "217 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.1": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.10": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.2": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.3": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.4": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.5": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.6": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.7": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.8": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
},
"232.2.1.9": {
"hw_rate_details": {
"hw_rate_utilized": 1000,
"max_hw_rate": 4000,
"max_hw_speed_type": "kbps",
"utilised_speed_type": "pps"
},
"source": "151.1.1.3",
"sw_rate_details": {
"duration": "255 sec",
"max_sw_rate": 0,
"max_sw_speed_type": "kbps",
"sw_rate_utilized": 0,
"utilised_speed_type": "pps"
}
}
}
}
}
}
| 32.468524 | 43 | 0.405441 | 3,085 | 31,462 | 3.706645 | 0.015235 | 0.188894 | 0.136423 | 0.209882 | 0.995715 | 0.995715 | 0.995715 | 0.995715 | 0.995715 | 0.993266 | 0 | 0.081166 | 0.456074 | 31,462 | 968 | 44 | 32.502066 | 0.587039 | 0 | 0 | 0.741736 | 0 | 0 | 0.410638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
870dce3f690802f8bfd71a417374afe035395334 | 17,512 | py | Python | cardpay/api/mobile_api.py | Sinkler/python-sdk-v2 | a1ad7cc9900f8adf967ca4dec0bb05d8eddc2999 | [
"MIT"
] | null | null | null | cardpay/api/mobile_api.py | Sinkler/python-sdk-v2 | a1ad7cc9900f8adf967ca4dec0bb05d8eddc2999 | [
"MIT"
] | null | null | null | cardpay/api/mobile_api.py | Sinkler/python-sdk-v2 | a1ad7cc9900f8adf967ca4dec0bb05d8eddc2999 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
CardPay REST API
Welcome to the CardPay REST API. The CardPay API uses HTTP verbs and a [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) resources endpoint structure (see more info about REST). Request and response payloads are formatted as JSON. Merchant uses API to create payments, refunds, payouts or recurrings, check or update transaction status and get information about created transactions. In API authentication process based on [OAuth 2.0](https://oauth.net/2/) standard. For recent changes see changelog section. # noqa: E501
OpenAPI spec version: 3.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from cardpay.api_client import ApiClient
class MobileApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_mobile_payment(self, authorization, request, **kwargs): # noqa: E501
"""Create mobile payment # noqa: E501
:param str authorization: Authorization (required)
:param MobilePaymentRequest request: request (required)
:return: MobilePaymentResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs["_return_http_data_only"] = True
(data) = self.create_mobile_payment_with_http_info(
authorization, request, **kwargs
) # noqa: E501
return data
def create_mobile_payment_with_http_info(
self, authorization, request, **kwargs
): # noqa: E501
"""Create mobile payment # noqa: E501
:param str authorization: Authorization (required)
:param MobilePaymentRequest request: request (required)
:return: MobilePaymentResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ["authorization", "request"] # noqa: E501
all_params.append("_return_http_data_only")
all_params.append("_preload_content")
all_params.append("_request_timeout")
params = locals()
for key, val in six.iteritems(params["kwargs"]):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_mobile_payment" % key
)
params[key] = val
del params["kwargs"]
# verify the required parameter 'authorization' is set
if "authorization" not in params or params["authorization"] is None:
raise ValueError(
"Missing the required parameter `authorization` when calling `create_mobile_payment`"
) # noqa: E501
# verify the required parameter 'request' is set
if "request" not in params or params["request"] is None:
raise ValueError(
"Missing the required parameter `request` when calling `create_mobile_payment`"
) # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if "authorization" in params:
header_params["Authorization"] = params["authorization"] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if "request" in params:
body_params = params["request"]
# HTTP header `Accept`
header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
) # noqa: E501
# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
) # noqa: E501
return self.api_client.call_api(
"/api/mobile/payment",
"POST",
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type="MobilePaymentResponse", # noqa: E501
_return_http_data_only=params.get("_return_http_data_only"),
_preload_content=params.get("_preload_content", True),
_request_timeout=params.get("_request_timeout"),
collection_formats=collection_formats,
)
def execute_card_binding(self, authorization, request, **kwargs): # noqa: E501
"""Execute card binding process # noqa: E501
:param str authorization: Authorization (required)
:param CardBindingRequest request: request (required)
:return: CardBindingResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs["_return_http_data_only"] = True
(data) = self.execute_card_binding_with_http_info(
authorization, request, **kwargs
) # noqa: E501
return data
def execute_card_binding_with_http_info(
self, authorization, request, **kwargs
): # noqa: E501
"""Execute card binding process # noqa: E501
:param str authorization: Authorization (required)
:param CardBindingRequest request: request (required)
:return: CardBindingResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ["authorization", "request"] # noqa: E501
all_params.append("_return_http_data_only")
all_params.append("_preload_content")
all_params.append("_request_timeout")
params = locals()
for key, val in six.iteritems(params["kwargs"]):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method execute_card_binding" % key
)
params[key] = val
del params["kwargs"]
# verify the required parameter 'authorization' is set
if "authorization" not in params or params["authorization"] is None:
raise ValueError(
"Missing the required parameter `authorization` when calling `execute_card_binding`"
) # noqa: E501
# verify the required parameter 'request' is set
if "request" not in params or params["request"] is None:
raise ValueError(
"Missing the required parameter `request` when calling `execute_card_binding`"
) # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if "authorization" in params:
header_params["Authorization"] = params["authorization"] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if "request" in params:
body_params = params["request"]
# HTTP header `Accept`
header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
) # noqa: E501
# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
) # noqa: E501
return self.api_client.call_api(
"/api/mobile/cardbinding",
"POST",
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type="CardBindingResponse", # noqa: E501
_return_http_data_only=params.get("_return_http_data_only"),
_preload_content=params.get("_preload_content", True),
_request_timeout=params.get("_request_timeout"),
collection_formats=collection_formats,
)
def generate_mobile_token(self, request, **kwargs): # noqa: E501
"""Generate mobile token # noqa: E501
:param MobileTokenRequest request: request (required)
:return: MobileTokenResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs["_return_http_data_only"] = True
(data) = self.generate_mobile_token_with_http_info(
request, **kwargs
) # noqa: E501
return data
def generate_mobile_token_with_http_info(self, request, **kwargs): # noqa: E501
"""Generate mobile token # noqa: E501
:param MobileTokenRequest request: request (required)
:return: MobileTokenResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ["request"] # noqa: E501
all_params.append("_return_http_data_only")
all_params.append("_preload_content")
all_params.append("_request_timeout")
params = locals()
for key, val in six.iteritems(params["kwargs"]):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method generate_mobile_token" % key
)
params[key] = val
del params["kwargs"]
# verify the required parameter 'request' is set
if "request" not in params or params["request"] is None:
raise ValueError(
"Missing the required parameter `request` when calling `generate_mobile_token`"
) # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if "request" in params:
body_params = params["request"]
# HTTP header `Accept`
header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
) # noqa: E501
# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
) # noqa: E501
return self.api_client.call_api(
"/api/mobile/token",
"POST",
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type="MobileTokenResponse", # noqa: E501
_return_http_data_only=params.get("_return_http_data_only"),
_preload_content=params.get("_preload_content", True),
_request_timeout=params.get("_request_timeout"),
collection_formats=collection_formats,
)
def get_mobile_payment(self, authorization, payment_id, **kwargs): # noqa: E501
"""get mobile payment # noqa: E501
:param str authorization: Authorization (required)
:param str payment_id: paymentId (required)
:return: MobilePaymentResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs["_return_http_data_only"] = True
(data) = self.get_mobile_payment_with_http_info(
authorization, payment_id, **kwargs
) # noqa: E501
return data
def get_mobile_payment_with_http_info(
self, authorization, payment_id, **kwargs
): # noqa: E501
"""get mobile payment # noqa: E501
:param str authorization: Authorization (required)
:param str payment_id: paymentId (required)
:return: MobilePaymentResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ["authorization", "payment_id"] # noqa: E501
all_params.append("_return_http_data_only")
all_params.append("_preload_content")
all_params.append("_request_timeout")
params = locals()
for key, val in six.iteritems(params["kwargs"]):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_mobile_payment" % key
)
params[key] = val
del params["kwargs"]
# verify the required parameter 'authorization' is set
if "authorization" not in params or params["authorization"] is None:
raise ValueError(
"Missing the required parameter `authorization` when calling `get_mobile_payment`"
) # noqa: E501
# verify the required parameter 'payment_id' is set
if "payment_id" not in params or params["payment_id"] is None:
raise ValueError(
"Missing the required parameter `payment_id` when calling `get_mobile_payment`"
) # noqa: E501
collection_formats = {}
path_params = {}
if "payment_id" in params:
path_params["paymentId"] = params["payment_id"] # noqa: E501
query_params = []
header_params = {}
if "authorization" in params:
header_params["Authorization"] = params["authorization"] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
) # noqa: E501
return self.api_client.call_api(
"/api/mobile/payments/{paymentId}",
"GET",
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type="MobilePaymentResponse", # noqa: E501
_return_http_data_only=params.get("_return_http_data_only"),
_preload_content=params.get("_preload_content", True),
_request_timeout=params.get("_request_timeout"),
collection_formats=collection_formats,
)
def get_mobile_payment_methods(self, authorization, **kwargs): # noqa: E501
"""get mobile payment methods # noqa: E501
:param str authorization: Authorization (required)
:return: MobilePaymentResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs["_return_http_data_only"] = True
(data) = self.get_mobile_payment_methods_with_http_info(
authorization, **kwargs
) # noqa: E501
return data
def get_mobile_payment_methods_with_http_info(
self, authorization, **kwargs
): # noqa: E501
"""get mobile payment methods # noqa: E501
:param str authorization: Authorization (required)
:return: MobilePaymentResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ["authorization"] # noqa: E501
all_params.append("_return_http_data_only")
all_params.append("_preload_content")
all_params.append("_request_timeout")
params = locals()
for key, val in six.iteritems(params["kwargs"]):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_mobile_payment_methods" % key
)
params[key] = val
del params["kwargs"]
# verify the required parameter 'authorization' is set
if "authorization" not in params or params["authorization"] is None:
raise ValueError(
"Missing the required parameter `authorization` when calling `get_mobile_payment_methods`"
) # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if "authorization" in params:
header_params["Authorization"] = params["authorization"] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
) # noqa: E501
return self.api_client.call_api(
"/api/mobile/payment_methods",
"GET",
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type="MobilePaymentResponse", # noqa: E501
_return_http_data_only=params.get("_return_http_data_only"),
_preload_content=params.get("_preload_content", True),
_request_timeout=params.get("_request_timeout"),
collection_formats=collection_formats,
)
| 36.256729 | 546 | 0.599646 | 1,800 | 17,512 | 5.592778 | 0.102778 | 0.047681 | 0.027814 | 0.03576 | 0.890335 | 0.884077 | 0.867786 | 0.844442 | 0.828946 | 0.818019 | 0 | 0.015915 | 0.314698 | 17,512 | 482 | 547 | 36.33195 | 0.822931 | 0.250571 | 0 | 0.718033 | 0 | 0 | 0.20899 | 0.054707 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036066 | false | 0 | 0.013115 | 0 | 0.085246 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
876b3bb1a66690dc9aede5ec1f4fd97fcaa99ef8 | 149 | py | Python | tests/detector/does_not_have_motion_class/__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 399 | 2020-08-31T21:13:07.000Z | 2022-03-31T18:54:26.000Z | tests/detector/does_not_have_motion_class/__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 157 | 2020-09-01T18:59:56.000Z | 2022-03-25T07:14:19.000Z | tests/detector/does_not_have_motion_class/__init__.py | dadaloop82/viseron | 1c6c446a4856e16c0e2ed6b9323d169fbdcae20f | [
"MIT"
] | 53 | 2020-09-01T07:35:59.000Z | 2022-03-28T23:21:16.000Z | """Dummy class that does not have ObjectDetection class."""
class objectdetection:
"""Dummy class that does not have ObjectDetection class."""
| 24.833333 | 63 | 0.738255 | 18 | 149 | 6.111111 | 0.388889 | 0.181818 | 0.254545 | 0.327273 | 0.818182 | 0.818182 | 0.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 5 | 64 | 29.8 | 0.88 | 0.718121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 10 |
5ebbca9578f93d536b75be6b0912d66cde9c2c6e | 105 | py | Python | esi_leap/objects/__init__.py | DanNiESh/esi-leap | 6e3d26f6643d2e2161ed2f7a32a2989a8b1b70ed | [
"Apache-2.0"
] | null | null | null | esi_leap/objects/__init__.py | DanNiESh/esi-leap | 6e3d26f6643d2e2161ed2f7a32a2989a8b1b70ed | [
"Apache-2.0"
] | null | null | null | esi_leap/objects/__init__.py | DanNiESh/esi-leap | 6e3d26f6643d2e2161ed2f7a32a2989a8b1b70ed | [
"Apache-2.0"
] | null | null | null | def register_all():
__import__('esi_leap.objects.contract')
__import__('esi_leap.objects.offer')
| 26.25 | 43 | 0.742857 | 13 | 105 | 5.153846 | 0.692308 | 0.268657 | 0.38806 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 44 | 35 | 0.72043 | 0 | 0 | 0 | 0 | 0 | 0.447619 | 0.447619 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
0dd8ea0ef46807201e855fe180bd89c149dc78d2 | 256 | py | Python | holobot/extensions/moderation/exceptions/role_not_found_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/moderation/exceptions/role_not_found_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/moderation/exceptions/role_not_found_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | class RoleNotFoundError(Exception):
def __init__(self, role_name: str, *args: object) -> None:
super().__init__(*args)
self.__role_name: str = role_name
@property
def role_name(self) -> str:
return self.__role_name
| 28.444444 | 62 | 0.640625 | 31 | 256 | 4.741935 | 0.483871 | 0.272109 | 0.244898 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246094 | 256 | 8 | 63 | 32 | 0.761658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
217487809cb934cd89e3a73aef83993f2a4f0274 | 103 | py | Python | grader/lib/functional.py | domesticmouse/selfie | f1079876d3d531861f7007fe2bec87449e88f084 | [
"BSD-2-Clause"
] | 1,557 | 2015-10-19T06:46:50.000Z | 2022-03-31T05:41:03.000Z | grader/lib/functional.py | domesticmouse/selfie | f1079876d3d531861f7007fe2bec87449e88f084 | [
"BSD-2-Clause"
] | 191 | 2016-02-02T19:26:00.000Z | 2022-03-23T21:42:08.000Z | grader/lib/functional.py | domesticmouse/selfie | f1079876d3d531861f7007fe2bec87449e88f084 | [
"BSD-2-Clause"
] | 430 | 2015-09-25T19:22:13.000Z | 2022-03-30T18:37:01.000Z | import itertools
def flatmap(f, iterable):
return itertools.chain.from_iterable(map(f, iterable))
| 20.6 | 58 | 0.76699 | 14 | 103 | 5.571429 | 0.714286 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 4 | 59 | 25.75 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1d09ac81269e447355cbcbb7abf9a47ea0e39cf3 | 4,555 | py | Python | tests/unit/test_identity.py | tybruno/unittest_assertions | 9968ae31bede138b57b885ca53cbcda6121b2bda | [
"MIT"
] | 2 | 2021-12-29T15:24:13.000Z | 2022-02-02T22:59:02.000Z | tests/unit/test_identity.py | tybruno/unittest_assertions | 9968ae31bede138b57b885ca53cbcda6121b2bda | [
"MIT"
] | 10 | 2021-08-03T19:00:07.000Z | 2021-12-02T15:10:55.000Z | tests/unit/test_identity.py | tybruno/unittest_assertions | 9968ae31bede138b57b885ca53cbcda6121b2bda | [
"MIT"
] | null | null | null | """ Testing unittest_assertions/identity.py """
import pytest
from pytest_builtin_types import (
equal_sequences,
non_equal_sequences,
_ALL_BASIC_TYPES_1,
_NOT_INSTANCE_TESTING_DATA,
)
from tests.base import AssertionTester
from unittest_assertions.identity import (
AssertTrue,
AssertFalse,
AssertIs,
AssertIsInstance,
AssertIsNone,
AssertIsNot,
AssertIsNotNone,
AssertNotIsInstance,
)
class TestAssertTrue(AssertionTester):
_assertion = AssertTrue
@pytest.mark.parametrize(
"testing_data", tuple(value for value in _ALL_BASIC_TYPES_1.values())
)
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(testing_data)
@pytest.mark.parametrize("testing_data", (False, 0, None, "", []))
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(testing_data)
class TestAssertFalse(AssertionTester):
_assertion = AssertFalse
@pytest.mark.parametrize("testing_data", (False, 0, None, "", []))
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(testing_data)
@pytest.mark.parametrize(
"testing_data", tuple(value for value in _ALL_BASIC_TYPES_1.values())
)
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(testing_data)
class TestIs(AssertionTester):
_assertion = AssertIs
@pytest.mark.parametrize(
"testing_data",
tuple(equal_sequences()),
)
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(*testing_data)
@pytest.mark.parametrize(
"testing_data",
tuple(non_equal_sequences()),
)
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(*testing_data)
class TestIsNot(AssertionTester):
_assertion = AssertIsNot
@pytest.mark.parametrize(
"testing_data",
tuple(non_equal_sequences()),
)
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(*testing_data)
@pytest.mark.parametrize(
"testing_data",
tuple(equal_sequences()),
)
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(*testing_data)
class TestAssertIsNone(AssertionTester):
_assertion = AssertIsNone
@pytest.mark.parametrize(
"testing_data",
((None,),),
)
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(*testing_data)
@pytest.mark.parametrize(
"testing_data",
tuple((value,) for value in _ALL_BASIC_TYPES_1.values()),
)
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(*testing_data)
class TestAssertIsNotNone(AssertionTester):
_assertion = AssertIsNotNone
@pytest.mark.parametrize(
"testing_data",
tuple((value,) for value in _ALL_BASIC_TYPES_1.values()),
)
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(*testing_data)
@pytest.mark.parametrize(
"testing_data",
((None,),),
)
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(*testing_data)
class TestAssertIsInstance(AssertionTester):
_assertion = AssertIsInstance
@pytest.mark.parametrize(
"testing_data",
tuple((value, type_) for type_, value in _ALL_BASIC_TYPES_1.items()),
)
def test_assertion_passes(self, testing_data: tuple):
super().test_assertion_passes(*testing_data)
@pytest.mark.parametrize("testing_data", tuple(_NOT_INSTANCE_TESTING_DATA))
def test_assertion_raises(self, testing_data: tuple):
obj, _type = testing_data
if not isinstance(obj, _type):
super().test_assertion_raises(obj, _type)
class TestAssertNotIsInstance(AssertionTester):
_assertion = AssertNotIsInstance
@pytest.mark.parametrize("testing_data", tuple(_NOT_INSTANCE_TESTING_DATA))
def test_assertion_passes(self, testing_data: tuple):
obj, _type = testing_data
if isinstance(obj, _type):
super().test_assertion_raises(obj, _type)
@pytest.mark.parametrize(
"testing_data",
tuple((value, type_) for type_, value in _ALL_BASIC_TYPES_1.items()),
)
def test_assertion_raises(self, testing_data: tuple):
super().test_assertion_raises(*testing_data)
| 29.198718 | 79 | 0.699012 | 500 | 4,555 | 6.002 | 0.122 | 0.186938 | 0.149284 | 0.149284 | 0.752416 | 0.752416 | 0.752416 | 0.752416 | 0.748417 | 0.679107 | 0 | 0.002459 | 0.196487 | 4,555 | 155 | 80 | 29.387097 | 0.817486 | 0.008562 | 0 | 0.6 | 0 | 0 | 0.042591 | 0 | 0 | 0 | 0 | 0 | 0.483333 | 1 | 0.133333 | false | 0.125 | 0.033333 | 0 | 0.3 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
df546b1feae7ef96572171abbf6a0f0c054000d2 | 3,153 | py | Python | conans/test/functional/hooks/test_post_package.py | matthiasng/conan | 634eadc319da928084633a344d42785edccb8d6c | [
"MIT"
] | 6,205 | 2015-12-01T13:40:05.000Z | 2022-03-31T07:30:25.000Z | conans/test/functional/hooks/test_post_package.py | matthiasng/conan | 634eadc319da928084633a344d42785edccb8d6c | [
"MIT"
] | 8,747 | 2015-12-01T16:28:48.000Z | 2022-03-31T23:34:53.000Z | conans/test/integration/hooks/test_post_package.py | Mattlk13/conan | 005fc53485557b0a570bb71670f2ca9c66082165 | [
"MIT"
] | 961 | 2015-12-01T16:56:43.000Z | 2022-03-31T13:50:52.000Z | # coding=utf-8
import os
import unittest
from mock import patch
from conans.client.hook_manager import HookManager
from conans.model.ref import ConanFileReference
from conans.paths import CONAN_MANIFEST
from conans.test.utils.tools import TurboTestClient
class PostPackageTestCase(unittest.TestCase):
def test_create_command(self):
""" Test that 'post_package' hook is called before computing the manifest
"""
t = TurboTestClient()
filename = "hook_file"
def post_package_hook(conanfile, **kwargs):
# There shouldn't be a manifest yet
post_package_hook.manifest_path = os.path.join(conanfile.package_folder, CONAN_MANIFEST)
self.assertFalse(os.path.exists(post_package_hook.manifest_path))
# Add a file
open(os.path.join(conanfile.package_folder, filename), "w").close()
def mocked_load_hooks(hook_manager):
hook_manager.hooks["post_package"] = [("_", post_package_hook)]
with patch.object(HookManager, "load_hooks", new=mocked_load_hooks):
pref = t.create(ConanFileReference.loads("name/version@user/channel"))
# Check that we are considering the same file
package_layout = t.cache.package_layout(pref.ref)
self.assertEqual(post_package_hook.manifest_path,
os.path.join(package_layout.package(pref), CONAN_MANIFEST))
# Now the file exists and contains info about created file
self.assertTrue(os.path.exists(post_package_hook.manifest_path))
with open(post_package_hook.manifest_path) as f:
content = f.read()
self.assertIn(filename, content)
def test_export_pkg_command(self):
""" Test that 'post_package' hook is called before computing the manifest
"""
t = TurboTestClient()
filename = "hook_file"
def post_package_hook(conanfile, **kwargs):
# There shouldn't be a manifest yet
post_package_hook.manifest_path = os.path.join(conanfile.package_folder, CONAN_MANIFEST)
self.assertFalse(os.path.exists(post_package_hook.manifest_path))
# Add a file
open(os.path.join(conanfile.package_folder, filename), "w").close()
def mocked_load_hooks(hook_manager):
hook_manager.hooks["post_package"] = [("_", post_package_hook)]
with patch.object(HookManager, "load_hooks", new=mocked_load_hooks):
pref = t.export_pkg(ref=ConanFileReference.loads("name/version@user/channel"),
args="--package-folder=.")
# Check that we are considering the same file
package_layout = t.cache.package_layout(pref.ref)
self.assertEqual(post_package_hook.manifest_path,
os.path.join(package_layout.package(pref), CONAN_MANIFEST))
# Now the file exists and contains info about created file
self.assertTrue(os.path.exists(post_package_hook.manifest_path))
with open(post_package_hook.manifest_path) as f:
content = f.read()
self.assertIn(filename, content)
| 42.608108 | 100 | 0.672376 | 389 | 3,153 | 5.239075 | 0.239075 | 0.097154 | 0.117763 | 0.112856 | 0.842983 | 0.842983 | 0.798822 | 0.798822 | 0.798822 | 0.798822 | 0 | 0.000414 | 0.234697 | 3,153 | 73 | 101 | 43.191781 | 0.844177 | 0.146844 | 0 | 0.711111 | 0 | 0 | 0.050206 | 0.018734 | 0 | 0 | 0 | 0 | 0.177778 | 1 | 0.133333 | false | 0 | 0.155556 | 0 | 0.311111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df71cc8960bd4843e998d5fbaa027c1d185f5591 | 48,587 | py | Python | pynetdicom/test/test_pdu.py | scaramallion/pynetdicom_legacy | 79c90268a9dba089f32c9cb710313500678eee11 | [
"MIT"
] | null | null | null | pynetdicom/test/test_pdu.py | scaramallion/pynetdicom_legacy | 79c90268a9dba089f32c9cb710313500678eee11 | [
"MIT"
] | null | null | null | pynetdicom/test/test_pdu.py | scaramallion/pynetdicom_legacy | 79c90268a9dba089f32c9cb710313500678eee11 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
a_associate_rq = b"\x01\x00\x00\x00\x00\xcd\x00\x01\x00\x00\x41\x4e\x59\x2d\x53\x43" \
b"\x50\x20\x20\x20\x20\x20\x20\x20\x20\x20\x45\x43\x48\x4f\x53\x43" \
b"\x55\x20\x20\x20\x20\x20\x20\x20\x20\x20\x00\x00\x00\x00\x00\x00" \
b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" \
b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x15\x31\x2e" \
b"\x32\x2e\x38\x34\x30\x2e\x31\x30\x30\x30\x38\x2e\x33\x2e\x31\x2e" \
b"\x31\x2e\x31\x20\x00\x00\x2e\x01\x00\x00\x00\x30\x00\x00\x11\x31" \
b"\x2e\x32\x2e\x38\x34\x30\x2e\x31\x30\x30\x30\x38\x2e\x31\x2e\x31" \
b"\x40\x00\x00\x11\x31\x2e\x32\x2e\x38\x34\x30\x2e\x31\x30\x30\x30" \
b"\x38\x2e\x31\x2e\x32\x50\x00\x00\x3a\x51\x00\x00\x04\x00\x00\x40" \
b"\x00\x52\x00\x00\x1b\x31\x2e\x32\x2e\x32\x37\x36\x2e\x30\x2e\x37" \
b"\x32\x33\x30\x30\x31\x30\x2e\x33\x2e\x30\x2e\x33\x2e\x36\x2e\x30" \
b"\x55\x00\x00\x0f\x4f\x46\x46\x49\x53\x5f\x44\x43\x4d\x54\x4b\x5f" \
b"\x33\x36\x30"
a_associate_ac = b"\x02\x00\x00\x00\x00\xb8\x00\x01\x00\x00\x41\x4e\x59\x2d\x53\x43" \
b"\x50\x20\x20\x20\x20\x20\x20\x20\x20\x20\x45\x43\x48\x4f\x53\x43" \
b"\x55\x20\x20\x20\x20\x20\x20\x20\x20\x20\x00\x00\x00\x00\x00\x00" \
b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" \
b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x15\x31\x2e" \
b"\x32\x2e\x38\x34\x30\x2e\x31\x30\x30\x30\x38\x2e\x33\x2e\x31\x2e" \
b"\x31\x2e\x31\x21\x00\x00\x19\x01\x00\x00\x00\x40\x00\x00\x11\x31" \
b"\x2e\x32\x2e\x38\x34\x30\x2e\x31\x30\x30\x30\x38\x2e\x31\x2e\x32" \
b"\x50\x00\x00\x3a\x51\x00\x00\x04\x00\x00\x40\x00\x52\x00\x00\x1b" \
b"\x31\x2e\x32\x2e\x32\x37\x36\x2e\x30\x2e\x37\x32\x33\x30\x30\x31" \
b"\x30\x2e\x33\x2e\x30\x2e\x33\x2e\x36\x2e\x30\x55\x00\x00\x0f\x4f" \
b"\x46\x46\x49\x53\x5f\x44\x43\x4d\x54\x4b\x5f\x33\x36\x30"
a_associate_rj = b"\x03\x00\x00\x00\x00\x04\x00\x01\x01\x01"
a_release_rq = b"\x05\x00\x00\x00\x00\x04\x00\x00\x00\x00"
a_release_rp = b"\x06\x00\x00\x00\x00\x04\x00\x00\x00\x00"
a_abort = b"\x07\x00\x00\x00\x00\x04\x00\x00\x00\x00"
a_p_abort = b"\x07\x00\x00\x00\x00\x04\x00\x00\x02\x04"
# This is a C-ECHO
p_data_tf = b"\x04\x00\x00\x00\x00\x54\x00\x00\x00\x50\x01\x03\x00\x00\x00\x00" \
b"\x04\x00\x00\x00\x42\x00\x00\x00\x00\x00\x02\x00\x12\x00\x00\x00" \
b"\x31\x2e\x32\x2e\x38\x34\x30\x2e\x31\x30\x30\x30\x38\x2e\x31\x2e" \
b"\x31\x00\x00\x00\x00\x01\x02\x00\x00\x00\x30\x80\x00\x00\x20\x01" \
b"\x02\x00\x00\x00\x01\x00\x00\x00\x00\x08\x02\x00\x00\x00\x01\x01" \
b"\x00\x00\x00\x09\x02\x00\x00\x00\x00\x00"
from io import BytesIO
import logging
import threading
import unittest
from unittest.mock import patch
from pydicom.uid import UID, ImplicitVRLittleEndian
from pynetdicom import AE
from pynetdicom import VerificationSOPClass, StorageSOPClassList, \
QueryRetrieveSOPClassList
from pynetdicom.PDU import *
from pynetdicom.primitives import *
from pynetdicom.utils import wrap_list
logger = logging.getLogger('pynetdicom')
#handler = logging.StreamHandler()
handler = logging.NullHandler()
for h in logger.handlers:
logger.removeHandler(h)
logger.addHandler(handler)
logger.setLevel(logging.ERROR)
class TestPDU(unittest.TestCase):
def test_length_property(self):
""" Check that the length property returns the correct value """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
self.assertEqual(pdu.length, pdu.get_length())
class TestPDU_NextItem(unittest.TestCase):
def test_unknown_item_type(self):
""" Check that an unknown item value raises ValueError """
s = BytesIO(b'\x00\x02\x03\x04\x04')
pdu = PDU()
self.assertRaises(ValueError, pdu._next_item, s)
def test_empty_stream(self):
""" Check that an empty stream returns None """
s = BytesIO(b'')
pdu = PDU()
item = pdu._next_item(s)
self.assertTrue(item is None)
def test_correct_item(self):
""" Check that stream returns correct item type """
pdu = PDU()
item = pdu._next_item(BytesIO(b'\x01'))
self.assertTrue(isinstance(item, A_ASSOCIATE_RQ_PDU))
item = pdu._next_item(BytesIO(b'\x02'))
self.assertTrue(isinstance(item, A_ASSOCIATE_AC_PDU))
item = pdu._next_item(BytesIO(b'\x10'))
self.assertTrue(isinstance(item, ApplicationContextItem))
class TestPDU_NextItemType(unittest.TestCase):
def test_empty_stream(self):
""" Check that an empty stream returns None """
s = BytesIO(b'')
pdu = PDU()
item_type = pdu._next_item_type(s)
self.assertTrue(item_type is None)
def test_normal_stream(self):
""" Check that a stream returns the value of the first byte """
s = BytesIO(b'\x01\x02\x03\x04\x04')
pdu = PDU()
item_type = pdu._next_item_type(s)
self.assertTrue(item_type == 1)
def test_return_type(self):
""" Check stream returns the value of the first byte as an int """
s = BytesIO(b'\x01\x02\x03\x04\x04')
pdu = PDU()
item_type = pdu._next_item_type(s)
self.assertTrue(isinstance(item_type, int))
class TestPDU_A_ASSOC_RQ(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding the assoc_rq stream produces the correct objects """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
self.assertEqual(pdu.pdu_type, 0x01)
self.assertEqual(pdu.pdu_length, 205)
self.assertEqual(pdu.protocol_version, 0x0001)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
self.assertTrue(isinstance(pdu.protocol_version, int))
# Check VariableItems
# The actual items will be tested separately
self.assertTrue(isinstance(pdu.variable_items[0], ApplicationContextItem))
self.assertTrue(isinstance(pdu.variable_items[1], PresentationContextItemRQ))
self.assertTrue(isinstance(pdu.variable_items[2], UserInformationItem))
def test_decode_properties(self):
""" Check decoding the assoc_rq stream produces the correct properties """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
# Check AE titles
self.assertEqual(pdu.calling_ae_title.decode('utf-8'), 'ECHOSCU ')
self.assertEqual(pdu.called_ae_title.decode('utf-8'), 'ANY-SCP ')
self.assertTrue(isinstance(pdu.calling_ae_title, bytes))
self.assertTrue(isinstance(pdu.called_ae_title, bytes))
# Check application_context_name property
app_name = pdu.application_context_name
self.assertTrue(isinstance(app_name, UID))
self.assertEqual(app_name, '1.2.840.10008.3.1.1.1')
# Check presentation_context property
contexts = pdu.presentation_context
self.assertTrue(isinstance(contexts, list))
for context in contexts:
self.assertTrue(isinstance(context, PresentationContextItemRQ))
# Check user_information property
user_info = pdu.user_information
self.assertTrue(isinstance(user_info, UserInformationItem))
def test_new_encode(self):
""" Check encoding using new generic method """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
s = pdu.encode()
self.assertEqual(s, a_associate_rq)
def test_stream_encode(self):
""" Check encoding an assoc_rq produces the correct output """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
s = pdu.Encode()
self.assertEqual(s, a_associate_rq)
def test_to_primitive(self):
""" Check converting PDU to primitive """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
primitive = pdu.ToParams()
self.assertEqual(primitive.application_context_name, UID('1.2.840.10008.3.1.1.1'))
self.assertEqual(primitive.calling_ae_title, b'ECHOSCU ')
self.assertEqual(primitive.called_ae_title, b'ANY-SCP ')
# Test User Information
for item in primitive.user_information:
# Maximum PDU Length (required)
if isinstance(item, MaximumLengthNegotiation):
self.assertEqual(item.maximum_length_received, 16384)
self.assertTrue(isinstance(item.maximum_length_received, int))
# Implementation Class UID (required)
elif isinstance(item, ImplementationClassUIDNotification):
self.assertEqual(item.implementation_class_uid, UID('1.2.276.0.7230010.3.0.3.6.0'))
self.assertTrue(isinstance(item.implementation_class_uid, UID))
# Implementation Version Name (optional)
elif isinstance(item, ImplementationVersionNameNotification):
self.assertEqual(item.implementation_version_name, b'OFFIS_DCMTK_360')
self.assertTrue(isinstance(item.implementation_version_name, bytes))
# Test Presentation Contexts
for context in primitive.presentation_context_definition_list:
self.assertEqual(context.ID, 1)
self.assertEqual(context.AbstractSyntax, UID('1.2.840.10008.1.1'))
for syntax in context.TransferSyntax:
self.assertEqual(syntax, UID('1.2.840.10008.1.2'))
self.assertTrue(isinstance(primitive.application_context_name, UID))
self.assertTrue(isinstance(primitive.calling_ae_title, bytes))
self.assertTrue(isinstance(primitive.called_ae_title, bytes))
self.assertTrue(isinstance(primitive.user_information, list))
self.assertTrue(isinstance(primitive.presentation_context_definition_list, list))
# Not used by A-ASSOCIATE-RQ or fixed value
self.assertEqual(primitive.mode, "normal")
self.assertEqual(primitive.responding_ae_title, primitive.called_ae_title)
self.assertEqual(primitive.result, None)
self.assertEqual(primitive.result_source, None)
self.assertEqual(primitive.diagnostic, None)
self.assertEqual(primitive.calling_presentation_address, None)
self.assertEqual(primitive.called_presentation_address, None)
self.assertEqual(primitive.responding_presentation_address, primitive.called_presentation_address)
self.assertEqual(primitive.presentation_context_definition_results_list, [])
self.assertEqual(primitive.presentation_requirements, "Presentation Kernel")
self.assertEqual(primitive.session_requirements, "")
def test_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = A_ASSOCIATE_RQ_PDU()
orig_pdu.Decode(a_associate_rq)
primitive = orig_pdu.ToParams()
new_pdu = A_ASSOCIATE_RQ_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_update_data(self):
""" Check that updating the PDU data works correctly """
orig_pdu = A_ASSOCIATE_RQ_PDU()
orig_pdu.Decode(a_associate_rq)
orig_pdu.user_information.user_data = [orig_pdu.user_information.user_data[1]]
orig_pdu.get_length()
primitive = orig_pdu.ToParams()
new_pdu = A_ASSOCIATE_RQ_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
class TestPDU_A_ASSOC_RQ_ApplicationContext(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding an assoc_rq produces the correct application context """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
app_context = pdu.variable_items[0]
self.assertEqual(app_context.item_type, 0x10)
self.assertEqual(app_context.item_length, 21)
self.assertEqual(app_context.application_context_name, '1.2.840.10008.3.1.1.1')
self.assertTrue(isinstance(app_context.item_type, int))
self.assertTrue(isinstance(app_context.item_length, int))
self.assertTrue(isinstance(app_context.application_context_name, UID))
self.assertEqual(app_context.application_context_name, '1.2.840.10008.3.1.1.1')
self.assertTrue(isinstance(app_context.application_context_name, UID))
class TestPDU_A_ASSOC_RQ_PresentationContext(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding an assoc_rq produces the correct presentation context """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
# Check PresentationContextItemRQ attributes
presentation_context = pdu.variable_items[1]
self.assertEqual(presentation_context.item_type, 0x20)
self.assertEqual(presentation_context.presentation_context_id, 0x001)
self.assertEqual(presentation_context.item_length, 46)
self.assertTrue(isinstance(presentation_context.item_type, int))
self.assertTrue(isinstance(presentation_context.presentation_context_id, int))
self.assertTrue(isinstance(presentation_context.item_length, int))
def test_decode_properties(self):
""" Check decoding the stream produces the correct properties """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
context = pdu.presentation_context[0]
# Check ID property
context_id = context.ID
self.assertTrue(isinstance(context_id, int))
self.assertEqual(context_id, 1)
# Check Abstract Syntax property
context = pdu.presentation_context[0]
self.assertTrue(isinstance(context.abstract_syntax, UID))
self.assertEqual(context.abstract_syntax, UID('1.2.840.10008.1.1'))
# Check TransferSyntax property is a list
self.assertTrue(isinstance(context.transfer_syntax, list))
# Check TransferSyntax list contains transfer syntax type UIDs
for syntax in pdu.presentation_context[0].transfer_syntax:
self.assertTrue(isinstance(syntax, UID))
self.assertTrue(syntax.is_transfer_syntax)
# Check first transfer syntax is little endian implicit
syntax = pdu.presentation_context[0].transfer_syntax[0]
self.assertEqual(syntax, UID('1.2.840.10008.1.2'))
class TestPDU_A_ASSOC_RQ_PresentationContext_AbstractSyntax(unittest.TestCase):
def test_decode_value_type(self):
""" Check decoding an assoc_rq produces the correct abstract syntax """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
context = pdu.presentation_context[0]
abstract_syntax = context.abstract_transfer_syntax_sub_items[0]
self.assertEqual(abstract_syntax.item_type, 0x30)
self.assertEqual(abstract_syntax.item_length, 17)
self.assertEqual(abstract_syntax.abstract_syntax_name, UID('1.2.840.10008.1.1'))
self.assertTrue(isinstance(abstract_syntax.item_type, int))
self.assertTrue(isinstance(abstract_syntax.item_length, int))
self.assertTrue(isinstance(abstract_syntax.abstract_syntax_name, UID))
class TestPDU_A_ASSOC_RQ_PresentationContext_TransferSyntax(unittest.TestCase):
def test_decode_value_type(self):
""" Check decoding an assoc_rq produces the correct transfer syntax """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
context = pdu.presentation_context[0]
transfer_syntaxes = context.transfer_syntax
# Check TransferSyntax property is a list
self.assertTrue(isinstance(transfer_syntaxes, list))
# Check TransferSyntax list contains transfer syntax type UIDs
for syntax in transfer_syntaxes:
self.assertTrue(isinstance(syntax, UID))
self.assertTrue(syntax.is_transfer_syntax)
# Check first transfer syntax is little endian implicit
syntax = transfer_syntaxes[0]
self.assertEqual(syntax, UID('1.2.840.10008.1.2'))
class TestPDU_A_ASSOC_RQ_UserInformation(unittest.TestCase):
def test_decode_value_type(self):
""" Check decoding an assoc_rq produces the correct user information """
pdu = A_ASSOCIATE_RQ_PDU()
pdu.Decode(a_associate_rq)
user_info = pdu.variable_items[2]
self.assertEqual(user_info.item_type, 0x50)
self.assertEqual(user_info.item_length, 58)
self.assertTrue(isinstance(user_info.item_type, int))
self.assertTrue(isinstance(user_info.item_length, int))
self.assertTrue(isinstance(user_info.user_data, list))
# Test user items
for item in user_info.user_data:
# Maximum PDU Length (required)
if isinstance(item, MaximumLengthSubItem):
self.assertEqual(item.maximum_length_received, 16384)
self.assertEqual(user_info.maximum_length, 16384)
self.assertTrue(isinstance(item.maximum_length_received, int))
self.assertTrue(isinstance(user_info.maximum_length, int))
# Implementation Class UID (required)
elif isinstance(item, ImplementationClassUIDSubItem):
self.assertEqual(item.item_type, 0x52)
self.assertEqual(item.item_length, 27)
self.assertEqual(item.implementation_class_uid, UID('1.2.276.0.7230010.3.0.3.6.0'))
self.assertTrue(isinstance(item.item_type, int))
self.assertTrue(isinstance(item.item_length, int))
self.assertTrue(isinstance(item.implementation_class_uid, UID))
# Implementation Version Name (optional)
elif isinstance(item, ImplementationVersionNameSubItem):
self.assertEqual(item.item_type, 0x55)
self.assertEqual(item.item_length, 15)
self.assertEqual(item.implementation_version_name, b'OFFIS_DCMTK_360')
self.assertTrue(isinstance(item.item_type, int))
self.assertTrue(isinstance(item.item_length, int))
self.assertTrue(isinstance(item.implementation_version_name, bytes))
class TestPDU_A_ASSOC_AC(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding the assoc_ac stream produces the correct objects """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
self.assertEqual(pdu.pdu_type, 0x02)
self.assertEqual(pdu.pdu_length, 184)
self.assertEqual(pdu.protocol_version, 0x0001)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
self.assertTrue(isinstance(pdu.protocol_version, int))
# Check VariableItems
# The actual items will be tested separately
self.assertTrue(isinstance(pdu.variable_items[0], ApplicationContextItem))
self.assertTrue(isinstance(pdu.variable_items[1], PresentationContextItemAC))
self.assertTrue(isinstance(pdu.variable_items[2], UserInformationItem))
def test_decode_properties(self):
""" Check decoding the assoc_ac stream produces the correct properties """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
# Check AE titles
self.assertEqual(pdu.reserved_aec.decode('utf-8'), 'ECHOSCU ')
self.assertEqual(pdu.reserved_aet.decode('utf-8'), 'ANY-SCP ')
self.assertTrue(isinstance(pdu.reserved_aec, bytes))
self.assertTrue(isinstance(pdu.reserved_aet, bytes))
# Check application_context_name property
app_name = pdu.application_context_name
self.assertTrue(isinstance(app_name, UID))
self.assertEqual(app_name, '1.2.840.10008.3.1.1.1')
# Check presentation_context property
contexts = pdu.presentation_context
self.assertTrue(isinstance(contexts, list))
for context in contexts:
self.assertTrue(isinstance(context, PresentationContextItemAC))
# Check user_information property
user_info = pdu.user_information
self.assertTrue(isinstance(user_info, UserInformationItem))
def test_stream_encode(self):
""" Check encoding an assoc_ac produces the correct output """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
s = pdu.Encode()
self.assertEqual(s, a_associate_ac)
def test_new_encode(self):
""" Check encoding using new generic method """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
s = pdu.encode()
self.assertEqual(s, a_associate_ac)
def test_to_primitive(self):
""" Check converting PDU to primitive """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
primitive = pdu.ToParams()
self.assertEqual(primitive.application_context_name, UID('1.2.840.10008.3.1.1.1'))
self.assertEqual(primitive.calling_ae_title, b'ECHOSCU ')
self.assertEqual(primitive.called_ae_title, b'ANY-SCP ')
# Test User Information
for item in primitive.user_information:
# Maximum PDU Length (required)
if isinstance(item, MaximumLengthNegotiation):
self.assertEqual(item.maximum_length_received, 16384)
self.assertTrue(isinstance(item.maximum_length_received, int))
# Implementation Class UID (required)
elif isinstance(item, ImplementationClassUIDNotification):
self.assertEqual(item.implementation_class_uid, UID('1.2.276.0.7230010.3.0.3.6.0'))
self.assertTrue(isinstance(item.implementation_class_uid, UID))
# Implementation Version Name (optional)
elif isinstance(item, ImplementationVersionNameNotification):
self.assertEqual(item.implementation_version_name, b'OFFIS_DCMTK_360')
self.assertTrue(isinstance(item.implementation_version_name, bytes))
# Test Presentation Contexts
for context in primitive.presentation_context_definition_list:
self.assertEqual(context.ID, 1)
self.assertEqual(context.TransferSyntax[0], UID('1.2.840.10008.1.2'))
self.assertTrue(isinstance(primitive.application_context_name, UID))
self.assertTrue(isinstance(primitive.calling_ae_title, bytes))
self.assertTrue(isinstance(primitive.called_ae_title, bytes))
self.assertTrue(isinstance(primitive.user_information, list))
self.assertEqual(primitive.result, 0)
self.assertEqual(len(primitive.presentation_context_definition_results_list), 1)
# Not used by A-ASSOCIATE-AC or fixed value
self.assertEqual(primitive.mode, "normal")
self.assertEqual(primitive.responding_ae_title, primitive.called_ae_title)
self.assertEqual(primitive.result_source, None)
self.assertEqual(primitive.diagnostic, None)
self.assertEqual(primitive.calling_presentation_address, None)
self.assertEqual(primitive.called_presentation_address, None)
self.assertEqual(primitive.responding_presentation_address, primitive.called_presentation_address)
self.assertEqual(primitive.presentation_context_definition_list, [])
self.assertEqual(primitive.presentation_requirements, "Presentation Kernel")
self.assertEqual(primitive.session_requirements, "")
def test_from_primitive(self):
""" Check converting PDU to primitive """
orig = A_ASSOCIATE_AC_PDU()
orig.Decode(a_associate_ac)
primitive = orig.ToParams()
new = A_ASSOCIATE_AC_PDU()
new.FromParams(primitive)
self.assertEqual(new, orig)
def test_update_data(self):
""" Check that updating the PDU data works correctly """
original = A_ASSOCIATE_AC_PDU()
original.Decode(a_associate_ac)
original.user_information.user_data = [original.user_information.user_data[1]]
original.get_length()
primitive = original.ToParams()
new = A_ASSOCIATE_AC_PDU()
new.FromParams(primitive)
self.assertEqual(original, new)
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
class TestPDU_A_ASSOC_AC_ApplicationContext(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding an assoc_ac produces the correct application context """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
app_context = pdu.variable_items[0]
self.assertEqual(app_context.item_type, 0x10)
self.assertEqual(app_context.item_length, 21)
self.assertEqual(app_context.application_context_name, '1.2.840.10008.3.1.1.1')
self.assertTrue(isinstance(app_context.item_type, int))
self.assertTrue(isinstance(app_context.item_length, int))
self.assertTrue(isinstance(app_context.application_context_name, UID))
self.assertEqual(app_context.application_context_name, '1.2.840.10008.3.1.1.1')
self.assertTrue(isinstance(app_context.application_context_name, UID))
class TestPDU_A_ASSOC_AC_PresentationContext(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding an assoc_ac produces the correct presentation context """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
# Check PresentationContextItemRQ attributes
presentation_context = pdu.variable_items[1]
self.assertEqual(presentation_context.item_type, 0x21)
self.assertEqual(presentation_context.presentation_context_id, 0x0001)
self.assertEqual(presentation_context.item_length, 25)
self.assertEqual(presentation_context.result_reason, 0)
self.assertTrue(isinstance(presentation_context.item_type, int))
self.assertTrue(isinstance(presentation_context.presentation_context_id, int))
self.assertTrue(isinstance(presentation_context.item_length, int))
def test_decode_properties(self):
""" Check decoding the stream produces the correct properties """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
context = pdu.presentation_context[0]
# Check ID property
context_id = context.ID
self.assertTrue(isinstance(context_id, int))
self.assertEqual(context_id, 1)
# Check Result
result = pdu.presentation_context[0].result_reason
self.assertEqual(result, 0)
self.assertTrue(isinstance(result, int))
# Check transfer syntax
syntax = pdu.presentation_context[0].transfer_syntax
self.assertTrue(syntax.is_transfer_syntax)
self.assertTrue(isinstance(syntax, UID))
self.assertEqual(syntax, UID('1.2.840.10008.1.2'))
class TestPDU_A_ASSOC_AC_PresentationContext_TransferSyntax(unittest.TestCase):
def test_decode_value_type(self):
""" Check decoding an assoc_ac produces the correct transfer syntax """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
context = pdu.presentation_context[0]
syntax = context.transfer_syntax
self.assertTrue(isinstance(syntax, UID))
self.assertTrue(syntax.is_transfer_syntax)
self.assertEqual(syntax, UID('1.2.840.10008.1.2'))
class TestPDU_A_ASSOC_AC_UserInformation(unittest.TestCase):
def test_decode_value_type(self):
""" Check decoding an assoc_rq produces the correct user information """
pdu = A_ASSOCIATE_AC_PDU()
pdu.Decode(a_associate_ac)
user_info = pdu.variable_items[2]
self.assertEqual(user_info.item_type, 0x50)
self.assertEqual(user_info.item_length, 58)
self.assertTrue(isinstance(user_info.item_type, int))
self.assertTrue(isinstance(user_info.item_length, int))
self.assertTrue(isinstance(user_info.user_data, list))
# Test user items
for item in user_info.user_data:
# Maximum PDU Length (required)
if isinstance(item, MaximumLengthSubItem):
self.assertEqual(item.maximum_length_received, 16384)
self.assertEqual(user_info.maximum_length, 16384)
self.assertTrue(isinstance(item.maximum_length_received, int))
self.assertTrue(isinstance(user_info.maximum_length, int))
# Implementation Class UID (required)
elif isinstance(item, ImplementationClassUIDSubItem):
self.assertEqual(item.item_type, 0x52)
self.assertEqual(item.item_length, 27)
self.assertEqual(item.implementation_class_uid, UID('1.2.276.0.7230010.3.0.3.6.0'))
self.assertTrue(isinstance(item.item_type, int))
self.assertTrue(isinstance(item.item_length, int))
self.assertTrue(isinstance(item.implementation_class_uid, UID))
# Implementation Version Name (optional)
elif isinstance(item, ImplementationVersionNameSubItem):
self.assertEqual(item.item_type, 0x55)
self.assertEqual(item.item_length, 15)
self.assertEqual(item.implementation_version_name, b'OFFIS_DCMTK_360')
self.assertTrue(isinstance(item.item_type, int))
self.assertTrue(isinstance(item.item_length, int))
self.assertTrue(isinstance(item.implementation_version_name, bytes))
class TestPDU_A_ASSOC_RJ(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding the assoc_rj stream produces the correct objects """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
self.assertEqual(pdu.pdu_type, 0x03)
self.assertEqual(pdu.pdu_length, 4)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
def test_decode_properties(self):
""" Check decoding the assoc_rj stream produces the correct properties """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
# Check reason/source/result
self.assertEqual(pdu.result, 1)
self.assertEqual(pdu.reason_diagnostic, 1)
self.assertEqual(pdu.source, 1)
self.assertTrue(isinstance(pdu.result, int))
self.assertTrue(isinstance(pdu.reason_diagnostic, int))
self.assertTrue(isinstance(pdu.source, int))
def test_stream_encode(self):
""" Check encoding an assoc_rj produces the correct output """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
s = pdu.Encode()
self.assertEqual(s, a_associate_rj)
def test_new_encode(self):
""" Check encoding using new generic method """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
s = pdu.encode()
self.assertEqual(s, a_associate_rj)
def test_to_primitive(self):
""" Check converting PDU to primitive """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
primitive = pdu.ToParams()
self.assertEqual(primitive.result, 1)
self.assertEqual(primitive.result_source, 1)
self.assertEqual(primitive.diagnostic, 1)
self.assertTrue(isinstance(primitive.result, int))
self.assertTrue(isinstance(primitive.result_source, int))
self.assertTrue(isinstance(primitive.diagnostic, int))
# Not used by A-ASSOCIATE-RJ or fixed value
self.assertEqual(primitive.mode, "normal")
self.assertEqual(primitive.application_context_name, None)
self.assertEqual(primitive.calling_ae_title, None)
self.assertEqual(primitive.called_ae_title, None)
self.assertEqual(primitive.responding_ae_title, None)
self.assertEqual(primitive.user_information, [])
self.assertEqual(primitive.calling_presentation_address, None)
self.assertEqual(primitive.called_presentation_address, None)
self.assertEqual(primitive.responding_presentation_address, primitive.called_presentation_address)
self.assertEqual(primitive.presentation_context_definition_list, [])
self.assertEqual(primitive.presentation_context_definition_results_list, [])
self.assertEqual(primitive.presentation_requirements, "Presentation Kernel")
self.assertEqual(primitive.session_requirements, "")
def test_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = A_ASSOCIATE_RJ_PDU()
orig_pdu.Decode(a_associate_rj)
primitive = orig_pdu.ToParams()
new_pdu = A_ASSOCIATE_RJ_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_update_data(self):
""" Check that updating the PDU data works correctly """
orig_pdu = A_ASSOCIATE_RJ_PDU()
orig_pdu.Decode(a_associate_rj)
orig_pdu.source = 2
orig_pdu.reason_diagnostic = 2
orig_pdu.result = 2
orig_pdu.get_length()
primitive = orig_pdu.ToParams()
new_pdu = A_ASSOCIATE_RJ_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_result_str(self):
""" Check the result str returns correct values """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
pdu.result = 0
with self.assertRaises(ValueError): pdu.result_str
pdu.result = 1
self.assertEqual(pdu.result_str, 'Rejected (Permanent)')
pdu.result = 2
self.assertEqual(pdu.result_str, 'Rejected (Transient)')
pdu.result = 3
with self.assertRaises(ValueError): pdu.result_str
def test_source_str(self):
""" Check the source str returns correct values """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
pdu.source = 0
with self.assertRaises(ValueError): pdu.source_str
pdu.source = 1
self.assertEqual(pdu.source_str, 'DUL service-user')
pdu.source = 2
self.assertEqual(pdu.source_str, 'DUL service-provider (ACSE related)')
pdu.source = 3
self.assertEqual(pdu.source_str, 'DUL service-provider (presentation related)')
pdu.source = 4
with self.assertRaises(ValueError): pdu.source_str
def test_reason_str(self):
""" Check the reason str returns correct values """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
pdu.source = 0
with self.assertRaises(ValueError): pdu.reason_str
pdu.source = 1
for ii in range(1, 11):
pdu.reason_diagnostic = ii
self.assertTrue(isinstance(pdu.reason_str, str))
pdu.reason_diagnostic = 11
with self.assertRaises(ValueError): pdu.reason_str
pdu.source = 2
for ii in range(1, 3):
pdu.reason_diagnostic = ii
self.assertTrue(isinstance(pdu.reason_str, str))
pdu.reason_diagnostic = 3
with self.assertRaises(ValueError): pdu.reason_str
pdu.source = 3
for ii in range(1, 8):
pdu.reason_diagnostic = ii
self.assertTrue(isinstance(pdu.reason_str, str))
pdu.reason_diagnostic = 8
with self.assertRaises(ValueError): pdu.reason_str
pdu.source = 4
with self.assertRaises(ValueError): pdu.reason_str
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = A_ASSOCIATE_RJ_PDU()
pdu.Decode(a_associate_rj)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
class TestPDU_P_DATA_TF(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding the p_data stream produces the correct objects """
pdu = P_DATA_TF_PDU()
pdu.Decode(p_data_tf)
self.assertEqual(pdu.pdu_type, 0x04)
self.assertEqual(pdu.pdu_length, 84)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
def test_decode_properties(self):
""" Check decoding the p_data stream produces the correct properties """
pdu = P_DATA_TF_PDU()
pdu.Decode(p_data_tf)
# Check PDVs
self.assertTrue(isinstance(pdu.PDVs, list))
def test_stream_encode(self):
""" Check encoding an p_data produces the correct output """
pdu = P_DATA_TF_PDU()
pdu.Decode(p_data_tf)
s = pdu.Encode()
self.assertEqual(s, p_data_tf)
def test_new_encode(self):
""" Check encoding using new generic method """
pdu = P_DATA_TF_PDU()
pdu.Decode(p_data_tf)
s = pdu.encode()
self.assertEqual(s, p_data_tf)
def test_to_primitive(self):
""" Check converting PDU to primitive """
pdu = P_DATA_TF_PDU()
pdu.Decode(p_data_tf)
primitive = pdu.ToParams()
self.assertEqual(primitive.presentation_data_value_list, [[1, p_data_tf[11:]]])
self.assertTrue(isinstance(primitive.presentation_data_value_list, list))
def test_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = P_DATA_TF_PDU()
orig_pdu.Decode(p_data_tf)
primitive = orig_pdu.ToParams()
new_pdu = P_DATA_TF_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = P_DATA_TF_PDU()
pdu.Decode(p_data_tf)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
class TestPDU_A_RELEASE_RQ(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding the release_rq stream produces the correct objects """
pdu = A_RELEASE_RQ_PDU()
pdu.Decode(a_release_rq)
self.assertEqual(pdu.pdu_type, 0x05)
self.assertEqual(pdu.pdu_length, 4)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
def test_stream_encode(self):
""" Check encoding an release_rq produces the correct output """
pdu = A_RELEASE_RQ_PDU()
pdu.Decode(a_release_rq)
s = pdu.Encode()
self.assertEqual(s, a_release_rq)
def test_new_encode(self):
""" Check encoding using new generic method """
pdu = A_RELEASE_RQ_PDU()
pdu.Decode(a_release_rq)
s = pdu.encode()
self.assertEqual(s, a_release_rq)
def test_to_primitive(self):
""" Check converting PDU to primitive """
pdu = A_RELEASE_RQ_PDU()
pdu.Decode(a_release_rq)
primitive = pdu.ToParams()
self.assertEqual(primitive.reason, "normal")
self.assertEqual(primitive.result, None)
def test_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = A_RELEASE_RQ_PDU()
orig_pdu.Decode(a_release_rq)
primitive = orig_pdu.ToParams()
new_pdu = A_RELEASE_RQ_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = A_RELEASE_RQ_PDU()
pdu.Decode(a_release_rq)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
class TestPDU_A_RELEASE_RP(unittest.TestCase):
def test_stream_decode_values_types(self):
""" Check decoding the release_rp stream produces the correct objects """
pdu = A_RELEASE_RP_PDU()
pdu.Decode(a_release_rp)
self.assertEqual(pdu.pdu_type, 0x06)
self.assertEqual(pdu.pdu_length, 4)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
def test_stream_encode(self):
""" Check encoding an release_rp produces the correct output """
pdu = A_RELEASE_RP_PDU()
pdu.Decode(a_release_rp)
s = pdu.Encode()
self.assertEqual(s, a_release_rp)
def test_new_encode(self):
""" Check encoding using new generic method """
pdu = A_RELEASE_RP_PDU()
pdu.Decode(a_release_rp)
s = pdu.encode()
self.assertEqual(s, a_release_rp)
def test_to_primitive(self):
""" Check converting PDU to primitive """
pdu = A_RELEASE_RP_PDU()
pdu.Decode(a_release_rp)
primitive = pdu.ToParams()
self.assertEqual(primitive.reason, "normal")
self.assertEqual(primitive.result, "affirmative")
def test_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = A_RELEASE_RP_PDU()
orig_pdu.Decode(a_release_rp)
primitive = orig_pdu.ToParams()
new_pdu = A_RELEASE_RP_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = A_RELEASE_RP_PDU()
pdu.Decode(a_release_rp)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
class TestPDU_A_ABORT(unittest.TestCase):
def test_a_abort_stream_decode_values_types(self):
""" Check decoding the a_abort stream produces the correct objects """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
self.assertEqual(pdu.pdu_type, 0x07)
self.assertEqual(pdu.pdu_length, 4)
self.assertEqual(pdu.source, 0)
self.assertEqual(pdu.reason_diagnostic, 0)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
self.assertTrue(isinstance(pdu.source, int))
self.assertTrue(isinstance(pdu.reason_diagnostic, int))
def test_a_p_abort_stream_decode_values_types(self):
""" Check decoding the a_abort stream produces the correct objects """
pdu = A_ABORT_PDU()
pdu.Decode(a_p_abort)
self.assertEqual(pdu.pdu_type, 0x07)
self.assertEqual(pdu.pdu_length, 4)
self.assertEqual(pdu.source, 2)
self.assertEqual(pdu.reason_diagnostic, 4)
self.assertTrue(isinstance(pdu.pdu_type, int))
self.assertTrue(isinstance(pdu.pdu_length, int))
self.assertTrue(isinstance(pdu.source, int))
self.assertTrue(isinstance(pdu.reason_diagnostic, int))
def test_a_abort_stream_encode(self):
""" Check encoding an a_abort produces the correct output """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
s = pdu.Encode()
self.assertEqual(s, a_abort)
def test_new_encode_a_abort(self):
""" Check encoding using new generic method """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
s = pdu.encode()
self.assertEqual(s, a_abort)
def test_a_p_abort_stream_encode(self):
""" Check encoding an a_abort produces the correct output """
pdu = A_ABORT_PDU()
pdu.Decode(a_p_abort)
s = pdu.Encode()
self.assertEqual(s, a_p_abort)
def test_new_encode_a_p_abort(self):
""" Check encoding using new generic method """
pdu = A_ABORT_PDU()
pdu.Decode(a_p_abort)
s = pdu.encode()
self.assertEqual(s, a_p_abort)
def test_to_a_abort_primitive(self):
""" Check converting PDU to a_abort primitive """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
primitive = pdu.ToParams()
self.assertTrue(isinstance(primitive, A_ABORT))
self.assertEqual(primitive.abort_source, 0)
def test_to_a_p_abort_primitive(self):
""" Check converting PDU to a_p_abort primitive """
pdu = A_ABORT_PDU()
pdu.Decode(a_p_abort)
primitive = pdu.ToParams()
self.assertTrue(isinstance(primitive, A_P_ABORT))
self.assertEqual(primitive.provider_reason, 4)
def test_a_abort_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = A_ABORT_PDU()
orig_pdu.Decode(a_abort)
primitive = orig_pdu.ToParams()
new_pdu = A_ABORT_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_a_p_abort_from_primitive(self):
""" Check converting PDU to primitive """
orig_pdu = A_ABORT_PDU()
orig_pdu.Decode(a_p_abort)
primitive = orig_pdu.ToParams()
new_pdu = A_ABORT_PDU()
new_pdu.FromParams(primitive)
self.assertEqual(new_pdu, orig_pdu)
def test_source_str(self):
""" Check the source str returns correct values """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
pdu.source = 0
self.assertEqual(pdu.source_str, 'DUL service-user')
pdu.source = 2
self.assertEqual(pdu.source_str, 'DUL service-provider')
def test_reason_str(self):
""" Check the reaspm str returns correct values """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
pdu.source = 2
pdu.reason_diagnostic = 0
self.assertEqual(pdu.reason_str, "No reason given")
pdu.reason_diagnostic = 1
self.assertEqual(pdu.reason_str, "Unrecognised PDU")
pdu.reason_diagnostic = 2
self.assertEqual(pdu.reason_str, "Unexpected PDU")
pdu.reason_diagnostic = 3
self.assertEqual(pdu.reason_str, "Reserved")
pdu.reason_diagnostic = 4
self.assertEqual(pdu.reason_str, "Unrecognised PDU parameter")
pdu.reason_diagnostic = 5
self.assertEqual(pdu.reason_str, "Unexpected PDU parameter")
pdu.reason_diagnostic = 6
self.assertEqual(pdu.reason_str, "Invalid PDU parameter value")
def test_generic_encode(self):
""" Check using the new pdu.encode produces the correct output """
pdu = A_ABORT_PDU()
pdu.Decode(a_abort)
s = pdu.Encode()
t = pdu.encode()
self.assertEqual(s, t)
if __name__ == "__main__":
unittest.main()
| 40.388196 | 106 | 0.647972 | 5,958 | 48,587 | 5.062437 | 0.054213 | 0.093992 | 0.09628 | 0.025463 | 0.904184 | 0.855646 | 0.816524 | 0.789039 | 0.76424 | 0.740932 | 0 | 0.043532 | 0.253463 | 48,587 | 1,202 | 107 | 40.421797 | 0.788018 | 0.117007 | 0 | 0.713217 | 0 | 0.037406 | 0.077591 | 0.057279 | 0 | 0 | 0.002336 | 0 | 0.407731 | 1 | 0.09601 | false | 0 | 0.013716 | 0 | 0.133416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
800d0157a67d176ff59ffdca5d364a7fcb02d153 | 206 | py | Python | nighres/segmentation/__init__.py | JuliaHuck/nighres | 9f3bd14d5ad27cc44f04569c791c8543819a1795 | [
"Apache-2.0"
] | null | null | null | nighres/segmentation/__init__.py | JuliaHuck/nighres | 9f3bd14d5ad27cc44f04569c791c8543819a1795 | [
"Apache-2.0"
] | null | null | null | nighres/segmentation/__init__.py | JuliaHuck/nighres | 9f3bd14d5ad27cc44f04569c791c8543819a1795 | [
"Apache-2.0"
] | null | null | null | from nighres.segmentation.conditional_shape import conditional_shape
from nighres.segmentation.conditional_shape import conditional_shape_atlasing
from nighres.segmentation.fuzzy_cmeans import fuzzy_cmeans
| 51.5 | 77 | 0.912621 | 25 | 206 | 7.24 | 0.36 | 0.353591 | 0.381215 | 0.375691 | 0.674033 | 0.674033 | 0.674033 | 0.674033 | 0 | 0 | 0 | 0 | 0.058252 | 206 | 3 | 78 | 68.666667 | 0.93299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8017de9ac7bcd9fc385d9c7d028ac37609ac3965 | 4,382 | py | Python | isf/apps/base/migrations/0001_initial.py | orzubalsky/isf | f663effc16c861c4cd120b8920fe61dafdeaf777 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-11-25T09:47:04.000Z | 2015-11-25T09:47:04.000Z | isf/apps/base/migrations/0001_initial.py | orzubalsky/isf | f663effc16c861c4cd120b8920fe61dafdeaf777 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | isf/apps/base/migrations/0001_initial.py | orzubalsky/isf | f663effc16c861c4cd120b8920fe61dafdeaf777 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import filebrowser.fields
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Document',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', models.DateTimeField(editable=False)),
('updated', models.DateTimeField(editable=False)),
('is_active', models.BooleanField(default=True)),
('name', models.CharField(max_length=140, null=True, blank=True)),
('media', filebrowser.fields.FileBrowseField(max_length=200, verbose_name=b'PDF')),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Image',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', models.DateTimeField(editable=False)),
('updated', models.DateTimeField(editable=False)),
('is_active', models.BooleanField(default=True)),
('name', models.CharField(max_length=140, null=True, blank=True)),
('media', filebrowser.fields.FileBrowseField(max_length=200, verbose_name=b'Image')),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Person',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', models.DateTimeField(editable=False)),
('updated', models.DateTimeField(editable=False)),
('is_active', models.BooleanField(default=True)),
('name', models.CharField(max_length=140)),
('email', models.EmailField(max_length=75)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Sound',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', models.DateTimeField(editable=False)),
('updated', models.DateTimeField(editable=False)),
('is_active', models.BooleanField(default=True)),
('name', models.CharField(max_length=140, null=True, blank=True)),
('media', filebrowser.fields.FileBrowseField(max_length=200, verbose_name=b'Audio')),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Video',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', models.DateTimeField(editable=False)),
('updated', models.DateTimeField(editable=False)),
('is_active', models.BooleanField(default=True)),
('name', models.CharField(max_length=140, null=True, blank=True)),
('media', filebrowser.fields.FileBrowseField(max_length=200, verbose_name=b'Video')),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Vimeo',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', models.DateTimeField(editable=False)),
('updated', models.DateTimeField(editable=False)),
('is_active', models.BooleanField(default=True)),
('name', models.CharField(max_length=140, null=True, blank=True)),
('media', models.TextField()),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
]
| 41.733333 | 114 | 0.535372 | 378 | 4,382 | 6.089947 | 0.166667 | 0.099044 | 0.140747 | 0.166811 | 0.87967 | 0.87967 | 0.864031 | 0.864031 | 0.864031 | 0.731538 | 0 | 0.011107 | 0.321999 | 4,382 | 104 | 115 | 42.134615 | 0.763716 | 0.004792 | 0 | 0.72449 | 0 | 0 | 0.072494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030612 | 0 | 0.061224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
803accc032c665e76c5f70ffdac3caa87f4e8d54 | 886 | py | Python | examples/bug65.py | dimanil/fast_request | 39f6769e15474aea1aa3aced6bb07a817a2df3ba | [
"MIT"
] | 857 | 2018-11-18T17:55:01.000Z | 2022-03-31T23:39:10.000Z | examples/bug65.py | dimanil/fast_request | 39f6769e15474aea1aa3aced6bb07a817a2df3ba | [
"MIT"
] | 181 | 2018-12-08T18:31:05.000Z | 2022-03-29T01:40:02.000Z | examples/bug65.py | dimanil/fast_request | 39f6769e15474aea1aa3aced6bb07a817a2df3ba | [
"MIT"
] | 92 | 2018-11-22T03:53:31.000Z | 2022-03-21T10:54:24.000Z | import faster_than_requests as requests
import time
import datetime
import urllib.request
print ("Faster")
start = datetime.datetime.now()
requests.get2str('http://localhost/sureflap-master/LockOutsite.php')
end = datetime.datetime.now()
time_taken = end - start
print('Time: ', time_taken)
start = datetime.datetime.now()
requests.get2str('http://localhost/sureflap-master/UnLock.php')
end = datetime.datetime.now()
time_taken = end - start
print('Time: ', time_taken)
print ("UrlLib")
start = datetime.datetime.now()
webUrl = urllib.request.urlopen('http://localhost/sureflap-master/LockOutsite.php')
end = datetime.datetime.now()
time_taken = end - start
print('Time: ', time_taken)
start = datetime.datetime.now()
webUrl = urllib.request.urlopen('http://localhost/sureflap-master/UnLock.php')
end = datetime.datetime.now()
time_taken = end - start
print('Time: ', time_taken)
| 28.580645 | 84 | 0.755079 | 117 | 886 | 5.632479 | 0.205128 | 0.194234 | 0.230653 | 0.145675 | 0.849772 | 0.849772 | 0.849772 | 0.849772 | 0.849772 | 0.849772 | 0 | 0.002494 | 0.094808 | 886 | 30 | 85 | 29.533333 | 0.819202 | 0 | 0 | 0.615385 | 0 | 0 | 0.24605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0.230769 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8042140f6e1486d34d63dead7a2b02f204535d82 | 16,555 | py | Python | tests/acceptance/test_branches.py | ep-linden/gitlabform | 3b1b052df5b093928fe003a17e872427e68af687 | [
"MIT"
] | 21 | 2021-12-01T18:32:45.000Z | 2022-02-20T07:29:10.000Z | tests/acceptance/test_branches.py | ep-linden/gitlabform | 3b1b052df5b093928fe003a17e872427e68af687 | [
"MIT"
] | 48 | 2021-12-01T14:27:41.000Z | 2022-03-28T11:13:43.000Z | tests/acceptance/test_branches.py | ep-linden/gitlabform | 3b1b052df5b093928fe003a17e872427e68af687 | [
"MIT"
] | 1 | 2022-02-12T00:28:42.000Z | 2022-02-12T00:28:42.000Z | import pytest
from gitlabform.gitlab import AccessLevel
from tests.acceptance import (
run_gitlabform,
DEFAULT_README,
get_gitlab,
get_random_name,
)
gl = get_gitlab()
class TestBranches:
def test__old_api(self, gitlab, group_and_project, branch):
protect_branch_but_allow_all = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
developers_can_push: true
developers_can_merge: true
"""
run_gitlabform(protect_branch_but_allow_all, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is True
assert the_branch["developers_can_push"] is True
assert the_branch["developers_can_merge"] is True
# @pytest.mark.skipif(
# gl.has_no_license(), reason="this test requires a GitLab license (Paid/Trial)"
# )
# def test__code_owners_approval(self, gitlab, group_and_project, branch):
# branch_access_levels = gitlab.get_branch_access_levels(
# group_and_project, branch
# )
# assert branch_access_levels["code_owner_approval_required"] is False
#
# protect_branch_with_code_owner_approval_required = f"""
# projects_and_groups:
# {group_and_project}:
# branches:
# {branch}:
# protected: true
# developers_can_push: false
# developers_can_merge: true
# code_owner_approval_required: true
# """
#
# run_gitlabform(
# protect_branch_with_code_owner_approval_required, group_and_project
# )
#
# branch_access_levels = gitlab.get_branch_access_levels(
# group_and_project, branch
# )
# assert branch_access_levels["code_owner_approval_required"] is True
def test__old_api_other(self, gitlab, group_and_project, branch):
protect_branch_and_disallow_all = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
developers_can_push: false
developers_can_merge: false
"""
run_gitlabform(protect_branch_and_disallow_all, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is True
assert the_branch["developers_can_push"] is False
assert the_branch["developers_can_merge"] is False
def test__mixed_old_and_new_api(
self,
gitlab,
group_and_project,
branch,
other_branch,
):
mixed_config_with_access_levels = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
developers_can_push: false
developers_can_merge: true
{other_branch}:
protected: true
push_access_level: {AccessLevel.DEVELOPER.value}
merge_access_level: {AccessLevel.DEVELOPER.value}
unprotect_access_level: {AccessLevel.MAINTAINER.value}
"""
run_gitlabform(mixed_config_with_access_levels, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is True
assert the_branch["developers_can_push"] is False
assert the_branch["developers_can_merge"] is True
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
unprotect_access_level,
) = gitlab.get_only_branch_access_levels(group_and_project, other_branch)
assert push_access_levels == [AccessLevel.DEVELOPER.value]
assert merge_access_levels == [AccessLevel.DEVELOPER.value]
assert push_access_user_ids == []
assert merge_access_user_ids == []
assert unprotect_access_level is AccessLevel.MAINTAINER.value
@pytest.mark.skipif(
gl.has_no_license(), reason="this test requires a GitLab license (Paid/Trial)"
)
def test__allow_user_ids(
self,
gitlab,
group_and_project,
branch,
make_user,
):
user_allowed_to_push = make_user(AccessLevel.DEVELOPER)
user_allowed_to_merge = make_user(AccessLevel.DEVELOPER)
user_allowed_to_push_and_merge = make_user(AccessLevel.DEVELOPER)
config_with_user_ids = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
allowed_to_push:
- user_id: {user_allowed_to_push.id}
- access_level: {AccessLevel.NO_ACCESS.value}
- user: {user_allowed_to_push_and_merge.name}
allowed_to_merge:
- access_level: {AccessLevel.DEVELOPER.value}
- user_id: {user_allowed_to_merge.id}
- user: {user_allowed_to_push_and_merge.name}
"""
run_gitlabform(config_with_user_ids, group_and_project)
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
_,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_levels == [AccessLevel.NO_ACCESS.value]
assert merge_access_levels == [AccessLevel.DEVELOPER.value]
assert push_access_user_ids == sorted(
[
user_allowed_to_push.id,
user_allowed_to_push_and_merge.id,
]
)
assert merge_access_user_ids == sorted(
[
user_allowed_to_merge.id,
user_allowed_to_push_and_merge.id,
]
)
@pytest.mark.skipif(
gl.has_no_license(), reason="this test requires a GitLab license (Paid/Trial)"
)
def test__allow_more_than_one_user_by_ids(
self,
gitlab,
group_and_project,
branch,
make_user,
):
first_user = make_user(AccessLevel.DEVELOPER)
second_user = make_user(AccessLevel.DEVELOPER)
third_user = make_user(AccessLevel.DEVELOPER)
config_with_more_user_ids = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
allowed_to_push:
- access_level: {AccessLevel.MAINTAINER.value}
- user_id: {first_user.id}
- user_id: {second_user.id}
- user: {third_user.name}
allowed_to_merge:
- access_level: {AccessLevel.MAINTAINER.value}
"""
run_gitlabform(config_with_more_user_ids, group_and_project)
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
_,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_levels == [AccessLevel.MAINTAINER.value]
assert merge_access_levels == [AccessLevel.MAINTAINER.value]
assert push_access_user_ids == sorted(
[
first_user.id,
second_user.id,
third_user.id,
]
)
assert merge_access_user_ids == []
def test__old_api_then_new_api_and_unprotect(
self, gitlab, group_and_project, branch
):
config_protect_branch_with_old_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
developers_can_push: true
developers_can_merge: true
"""
run_gitlabform(config_protect_branch_with_old_api, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is True
assert the_branch["developers_can_push"] is True
assert the_branch["developers_can_merge"] is True
config_protect_branch_with_new_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
push_access_level: {AccessLevel.NO_ACCESS.value}
merge_access_level: {AccessLevel.MAINTAINER.value}
unprotect_access_level: {AccessLevel.MAINTAINER.value}
"""
run_gitlabform(config_protect_branch_with_new_api, group_and_project)
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
unprotect_access_level,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_levels == [AccessLevel.NO_ACCESS.value]
assert merge_access_levels == [AccessLevel.MAINTAINER.value]
assert push_access_user_ids == []
assert merge_access_user_ids == []
assert unprotect_access_level is AccessLevel.MAINTAINER.value
config_protect_branch_unprotect = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: false
"""
run_gitlabform(config_protect_branch_unprotect, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is False
def test__new_api_then_old_api_and_unprotect(
self, gitlab, group_and_project, branch
):
config_protect_branch_with_new_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
push_access_level: {AccessLevel.NO_ACCESS.value}
merge_access_level: {AccessLevel.MAINTAINER.value}
unprotect_access_level: {AccessLevel.MAINTAINER.value}
"""
run_gitlabform(config_protect_branch_with_new_api, group_and_project)
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
unprotect_access_level,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_levels == [AccessLevel.NO_ACCESS.value]
assert merge_access_levels == [AccessLevel.MAINTAINER.value]
assert push_access_user_ids == []
assert merge_access_user_ids == []
assert unprotect_access_level is AccessLevel.MAINTAINER.value
config_protect_branch_with_old_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
developers_can_push: true
developers_can_merge: true
"""
run_gitlabform(config_protect_branch_with_old_api, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is True
assert the_branch["developers_can_push"] is True
assert the_branch["developers_can_merge"] is True
config_protect_branch_unprotect = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: false
"""
run_gitlabform(config_protect_branch_unprotect, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is False
def test__unprotect_when_the_rest_of_the_parameters_are_still_specified_old_api(
self, gitlab, group_and_project, branch
):
config_protect_branch_with_old_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
developers_can_push: true
developers_can_merge: true
"""
run_gitlabform(config_protect_branch_with_old_api, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is True
assert the_branch["developers_can_push"] is True
assert the_branch["developers_can_merge"] is True
config_unprotect_branch_with_old_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: false
developers_can_push: true
developers_can_merge: true
"""
run_gitlabform(config_unprotect_branch_with_old_api, group_and_project)
the_branch = gitlab.get_branch(group_and_project, branch)
assert the_branch["protected"] is False
def test__unprotect_when_the_rest_of_the_parameters_are_still_specified_new_api(
self, gitlab, group_and_project, branch
):
config_protect_branch_with_new_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
push_access_level: {AccessLevel.NO_ACCESS.value}
merge_access_level: {AccessLevel.MAINTAINER.value}
unprotect_access_level: {AccessLevel.MAINTAINER.value}
"""
run_gitlabform(config_protect_branch_with_new_api, group_and_project)
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
unprotect_access_level,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_levels == [AccessLevel.NO_ACCESS.value]
assert merge_access_levels == [AccessLevel.MAINTAINER.value]
assert push_access_user_ids == []
assert merge_access_user_ids == []
assert unprotect_access_level is AccessLevel.MAINTAINER.value
config_unprotect_branch_with_new_api = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: false
push_access_level: {AccessLevel.NO_ACCESS.value}
merge_access_level: {AccessLevel.MAINTAINER.value}
unprotect_access_level: {AccessLevel.MAINTAINER.value}
"""
run_gitlabform(config_unprotect_branch_with_new_api, group_and_project)
# old API
branch = gitlab.get_branch(group_and_project, branch)
assert branch["protected"] is False
# new API
(
push_access_levels,
merge_access_levels,
push_access_user_ids,
merge_access_user_ids,
unprotect_access_level,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_levels is None
assert merge_access_levels is None
assert push_access_user_ids is None
assert merge_access_user_ids is None
assert unprotect_access_level is None
def test__config_with_access_level_names(self, gitlab, group_and_project, branch):
config_with_access_levels_names = f"""
projects_and_groups:
{group_and_project}:
branches:
{branch}:
protected: true
push_access_level: no_access # note "_" or " " and the various
merge_access_level: Developer # case in each line. it should not
unprotect_access_level: MAINTAINER # matter as we allow any case.
"""
run_gitlabform(config_with_access_levels_names, group_and_project)
(
push_access_level,
merge_access_level,
push_access_user_ids,
merge_access_user_ids,
unprotect_access_level,
) = gitlab.get_only_branch_access_levels(group_and_project, branch)
assert push_access_level == [AccessLevel.NO_ACCESS.value]
assert merge_access_level == [AccessLevel.DEVELOPER.value]
assert push_access_user_ids == []
assert merge_access_user_ids == []
assert unprotect_access_level is AccessLevel.MAINTAINER.value
| 35.14862 | 88 | 0.625491 | 1,792 | 16,555 | 5.285156 | 0.0625 | 0.054904 | 0.102946 | 0.068736 | 0.929363 | 0.876148 | 0.831697 | 0.785661 | 0.751769 | 0.731074 | 0 | 0 | 0.308124 | 16,555 | 470 | 89 | 35.223404 | 0.826873 | 0.057505 | 0 | 0.742706 | 0 | 0 | 0.351528 | 0.06242 | 0 | 0 | 0 | 0 | 0.159151 | 1 | 0.026525 | false | 0 | 0.007958 | 0 | 0.037135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
633f2790b777b0f6e4329b4d3882cb6dca64b5ce | 6,331 | py | Python | tests/test_address_book.py | dizpers/python-address-book-assignment | 25d869887f1a069dd54c51d755c888ba6c46bbe8 | [
"MIT"
] | null | null | null | tests/test_address_book.py | dizpers/python-address-book-assignment | 25d869887f1a069dd54c51d755c888ba6c46bbe8 | [
"MIT"
] | null | null | null | tests/test_address_book.py | dizpers/python-address-book-assignment | 25d869887f1a069dd54c51d755c888ba6c46bbe8 | [
"MIT"
] | null | null | null | from unittest import TestCase
from address_book import AddressBook, Person, Group
class AddressBookTestCase(TestCase):
def test_add_person(self):
address_book = AddressBook()
person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
address_book.add_person(person)
self.assertIn(person, address_book)
def test_add_group(self):
address_book = AddressBook()
group = Group('Brozzz')
address_book.add_group(group)
self.assertIn(group, address_book)
def test_find_person_by_first_name(self):
address_book = AddressBook()
john_person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_person = Person(
'Ivan',
'Doe',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['ivan@kgb.ru']
)
address_book.add_person(john_person)
address_book.add_person(ivan_person)
found_person = address_book.find(first_name='Ivan')
self.assertEqual(found_person, ivan_person)
def test_find_person_by_last_name(self):
address_book = AddressBook()
john_person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_person = Person(
'Ivan',
'Sidorov',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['john@gmail.com']
)
address_book.add_person(john_person)
address_book.add_person(ivan_person)
found_person = address_book.find(last_name='Sidorov')
self.assertEqual(found_person, ivan_person)
def test_find_person_by_full_name(self):
address_book = AddressBook()
ivan_popov_person = Person(
'Ivan',
'Popov',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_sidorov_person = Person(
'Ivan',
'Sidorov',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['john@gmail.com']
)
address_book.add_person(ivan_popov_person)
address_book.add_person(ivan_sidorov_person)
found_person = address_book.find(first_name='Ivan', last_name='Sidorov')
self.assertEqual(found_person, ivan_sidorov_person)
def test_find_person_by_email(self):
address_book = AddressBook()
john_person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_person = Person(
'Ivan',
'Sidorov',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['ivan@kgb.ru']
)
address_book.add_person(john_person)
address_book.add_person(ivan_person)
found_person = address_book.find(email='ivan@kgb.ru')
self.assertEqual(found_person, ivan_person)
def test_find_person_by_set_of_emails(self):
address_book = AddressBook()
john_person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_person = Person(
'Ivan',
'Sidorov',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['ivan@kgb.ru']
)
address_book.add_person(john_person)
address_book.add_person(ivan_person)
found_person = address_book.find(emails=['ivan@kgb.ru', 'sn0uden@us.gov'])
self.assertIsNone(found_person)
ivan_person.add_email('sn0uden@us.gov')
found_person = address_book.find(emails=['ivan@kgb.ru', 'sn0uden@us.gov'])
self.assertEqual(found_person, ivan_person)
def test_find_person_by_prefix_email(self):
address_book = AddressBook()
john_person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_person = Person(
'Ivan',
'Sidorov',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['ivan@kgb.ru']
)
address_book.add_person(john_person)
address_book.add_person(ivan_person)
found_person = address_book.find(email='iva')
self.assertEqual(found_person, ivan_person)
def test_find_person_by_set_of_emails_prefix(self):
address_book = AddressBook()
john_person = Person(
'John',
'Doe',
['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'],
['+79834772053'],
['john@gmail.com']
)
ivan_person = Person(
'Ivan',
'Sidorov',
['Russian Federation, Kemerovo region, Belovo, Kirova street 42, apt. 13'],
['+79834771122'],
['ivan@kgb.ru']
)
address_book.add_person(john_person)
address_book.add_person(ivan_person)
found_person = address_book.find(emails=['ivan@kgb.ru', 'sn0uden@us.gov'])
self.assertIsNone(found_person)
ivan_person.add_email('sn0uden@us.gov')
found_person = address_book.find(emails=['sn0', 'iv'])
self.assertEqual(found_person, ivan_person)
| 35.567416 | 89 | 0.572579 | 656 | 6,331 | 5.282012 | 0.089939 | 0.11746 | 0.083405 | 0.134199 | 0.888889 | 0.872727 | 0.846465 | 0.840693 | 0.823377 | 0.806638 | 0 | 0.052994 | 0.311483 | 6,331 | 177 | 90 | 35.768362 | 0.741913 | 0 | 0 | 0.727273 | 0 | 0 | 0.271995 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.054545 | false | 0 | 0.012121 | 0 | 0.072727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
639b051905642afd5f6652522b5947b1342795c7 | 8,978 | py | Python | pytorch_impl/run-wikitext2.py | zivaharoni/gradual-learning-rnn | 2323a3b55f0a746e8f46a80200d616bfadce5742 | [
"MIT"
] | 10 | 2017-08-30T02:09:16.000Z | 2020-01-06T09:14:54.000Z | pytorch_impl/run-wikitext2.py | zivaharoni/gradual-learning-rnn | 2323a3b55f0a746e8f46a80200d616bfadce5742 | [
"MIT"
] | null | null | null | pytorch_impl/run-wikitext2.py | zivaharoni/gradual-learning-rnn | 2323a3b55f0a746e8f46a80200d616bfadce5742 | [
"MIT"
] | 2 | 2017-08-30T23:46:25.000Z | 2017-09-18T14:00:11.000Z | ###############################################################################
# GL-LWGC-LSTM
###############################################################################
# WikiText-2 word-level language modeling state-of-the-art training code
# code is based on open source implementation of MoS article:
# https://arxiv.org/pdf/1711.03953.pdf by Zhilin Yang et. al.
# found at https://github.com/zihangdai/mos
import os
import time
import argparse
parser = argparse.ArgumentParser(description='PyTorch PennTreeBank LSTM Language Model')
parser.add_argument('--gpu', type=str, default='0',
help='set gpu device ID (-1 for cpu)')
args = parser.parse_args()
###############################################################################
# General Settings
###############################################################################
gpu = args.gpu
dirs = 'WIKITEXT-2'
batch_size = 15
nhid = 1050
nhidlast = 1050
emsize = 300
n_experts = 15
epochs = 400
sim_name = 'EXP-' + str(int(time.time()))
###############################################################################
# Training Layer-0
###############################################################################
droph = '[0.2]'
clip = '[0.05,0.15,0.15]'
nlayers = 1
start_layer = 0
lr = 15.0
drope = 0.1
dropi = 0.55
dropl = 0.29
dropo = 0.35
seed = 28
save = sim_name
# command line
line = 'python main.py' + \
' --data=' + '../data/wiki2' + \
' --batch_size=' + str(batch_size) + \
' --clip=' + str(clip) + \
' --dropout=' + str(dropo) + \
' --dropoute=' + str(drope) + \
' --dropouti=' + str(dropi) + \
' --dropoutl=' + str(dropl) + \
' --dropouth=' + str(droph) + \
' --emsize=' + str(emsize) + \
' --epochs=' + str(epochs) + \
' --lr=' + str(lr) + \
' --lwgc=' + 'True' + \
' --n_experts=' + str(n_experts) + \
' --nhid=' + str(nhid) + \
' --nhidlast=' + str(nhidlast) + \
' --nlayers=' + str(nlayers) + \
' --gpu=' + gpu + \
' --save=' + save + \
' --seed=' + str(seed) + \
' --GL=' + 'True' + \
' --dir=' + dirs + \
' --start_layer=' + str(start_layer)
os.system(line)
###############################################################################
# Fine-tune Layer-0
###############################################################################
# command line
droph = '[0.2]'
clip = '[0.05,0.15,0.15]'
nlayers = 1
lr = 20.
drope = 0.1
dropi = 0.55
dropl = 0.29
dropo = 0.35
seed = 28
save = dirs + '/L0/' + sim_name + '/'
line = 'python finetune.py' + \
' --data=' + '../data/wiki2' + \
' --batch_size=' + str(batch_size) + \
' --clip=' + str(clip) + \
' --dropout=' + str(dropo) + \
' --dropoute=' + str(drope) + \
' --dropouti=' + str(dropi) + \
' --dropoutl=' + str(dropl) + \
' --dropouth=' + str(droph) + \
' --emsize=' + str(emsize) + \
' --epochs=' + str(epochs) + \
' --lr=' + str(lr) + \
' --lwgc=' + 'True' + \
' --n_experts=' + str(n_experts) + \
' --nhid=' + str(nhid) + \
' --nhidlast=' + str(nhidlast) + \
' --nlayers=' + str(nlayers) + \
' --gpu=' + gpu + \
' --save=' + save + \
' --seed=' + str(seed)
os.system(line)
###############################################################################
# Training Layer-1
###############################################################################
droph = '[0.24, 0.21]'
clip = '[0.035, 0.12, 0.16, 0.16]'
nlayers = 2
start_layer = 1
lr = 15.
drope = 0.1
dropi = 0.55
dropl = 0.29
dropo = 0.35
seed = 28
save = sim_name
load_prev = dirs + '/L0/' + sim_name + '/'
# command line
line = 'python main.py' + \
' --data=' + '../data/wiki2' + \
' --batch_size=' + str(batch_size) + \
' --clip=' + str(clip) + \
' --dropout=' + str(dropo) + \
' --dropoute=' + str(drope) + \
' --dropouti=' + str(dropi) + \
' --dropoutl=' + str(dropl) + \
' --dropouth=' + str(droph) + \
' --emsize=' + str(emsize) + \
' --epochs=' + str(epochs) + \
' --lr=' + str(lr) + \
' --lwgc=' + 'True' + \
' --n_experts=' + str(n_experts) + \
' --nhid=' + str(nhid) + \
' --nhidlast=' + str(nhidlast) + \
' --nlayers=' + str(nlayers) + \
' --gpu=' + gpu + \
' --save=' + save + \
' --seed=' + str(seed) + \
' --GL=' + 'True' + \
' --dir=' + dirs + \
' --load_prev=' + load_prev + \
' --start_layer=' + str(start_layer)
os.system(line)
###############################################################################
# Fine-tune Layer-1
###############################################################################
# command line
droph = '[0.24, 0.21]'
clip = '[0.035, 0.12, 0.16, 0.16]'
nlayers = 2
lr = 15.
drope = 0.1
dropi = 0.55
dropl = 0.29
dropo = 0.35
seed = 28
save = dirs + '/L1/' + sim_name + '/'
line = 'python finetune.py' + \
' --data=' + '../data/wiki2' + \
' --batch_size=' + str(batch_size) + \
' --clip=' + str(clip) + \
' --dropout=' + str(dropo) + \
' --dropoute=' + str(drope) + \
' --dropouti=' + str(dropi) + \
' --dropoutl=' + str(dropl) + \
' --dropouth=' + str(droph) + \
' --emsize=' + str(emsize) + \
' --epochs=' + str(epochs) + \
' --lr=' + str(lr) + \
' --lwgc=' + 'True' + \
' --n_experts=' + str(n_experts) + \
' --nhid=' + str(nhid) + \
' --nhidlast=' + str(nhidlast) + \
' --nlayers=' + str(nlayers) + \
' --gpu=' + gpu + \
' --save=' + save + \
' --seed=' + str(seed)
os.system(line)
###############################################################################
# Training Layer-2
###############################################################################
droph = '[0.25, 0.23, 0.22]'
clip = '[0.035, 0.13, 0.15, 0.16, 0.17]'
nlayers = 3
start_layer = 2
lr = 15.
drope = 0.1
dropi = 0.55
dropl = 0.29
dropo = 0.35
seed = 28
save = sim_name
load_prev = dirs + '/L1/' + sim_name + '/'
# command line
line = 'python main.py' + \
' --data=' + '../data/wiki2' + \
' --batch_size=' + str(batch_size) + \
' --clip=' + str(clip) + \
' --dropout=' + str(dropo) + \
' --dropoute=' + str(drope) + \
' --dropouti=' + str(dropi) + \
' --dropoutl=' + str(dropl) + \
' --dropouth=' + str(droph) + \
' --emsize=' + str(emsize) + \
' --epochs=' + str(epochs) + \
' --lr=' + str(lr) + \
' --lwgc=' + 'True' + \
' --n_experts=' + str(n_experts) + \
' --nhid=' + str(nhid) + \
' --nhidlast=' + str(nhidlast) + \
' --nlayers=' + str(nlayers) + \
' --gpu=' + gpu + \
' --save=' + save + \
' --seed=' + str(seed) + \
' --GL=' + 'True' + \
' --dir=' + dirs + \
' --load_prev=' + load_prev + \
' --start_layer=' + str(start_layer)
os.system(line)
###############################################################################
# Fine-tune Layer-2
###############################################################################
# command line
droph = '[0.25, 0.23, 0.22]'
clip = '[0.035, 0.13, 0.15, 0.16, 0.17]'
nlayers = 3
lr = 15.
drope = 0.1
dropi = 0.55
dropl = 0.29
dropo = 0.35
seed = 28
save = dirs + '/L2/' + sim_name + '/'
line = 'python finetune.py' + \
' --data=' + '../data/wiki2' + \
' --batch_size=' + str(batch_size) + \
' --clip=' + str(clip) + \
' --dropout=' + str(dropo) + \
' --dropoute=' + str(drope) + \
' --dropouti=' + str(dropi) + \
' --dropoutl=' + str(dropl) + \
' --dropouth=' + str(droph) + \
' --emsize=' + str(emsize) + \
' --epochs=' + str(epochs) + \
' --lr=' + str(lr) + \
' --lwgc=' + 'True' + \
' --n_experts=' + str(n_experts) + \
' --nhid=' + str(nhid) + \
' --nhidlast=' + str(nhidlast) + \
' --nlayers=' + str(nlayers) + \
' --gpu=' + gpu + \
' --save=' + save + \
' --seed=' + str(seed)
os.system(line)
###############################################################################
# END
###############################################################################
| 32.886447 | 88 | 0.356984 | 805 | 8,978 | 3.91677 | 0.170186 | 0.037108 | 0.013321 | 0.022835 | 0.807168 | 0.807168 | 0.807168 | 0.807168 | 0.807168 | 0.807168 | 0 | 0.041155 | 0.301738 | 8,978 | 272 | 89 | 33.007353 | 0.461796 | 0.050011 | 0 | 0.880734 | 0 | 0.009174 | 0.252434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013761 | 0 | 0.013761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
639e40cc8b8a13f0e0c7f054a99069d3b9fabebb | 129 | py | Python | pytsp/core/util/__init__.py | billsioros/pytsp | 7f3a8172bcb3bb9bec8655dcb490099b60a4c962 | [
"MIT"
] | 7 | 2020-07-09T10:26:28.000Z | 2021-06-13T06:40:30.000Z | pytsp/core/util/__init__.py | billsioros/pytsp | 7f3a8172bcb3bb9bec8655dcb490099b60a4c962 | [
"MIT"
] | null | null | null | pytsp/core/util/__init__.py | billsioros/pytsp | 7f3a8172bcb3bb9bec8655dcb490099b60a4c962 | [
"MIT"
] | null | null | null |
from pytsp.core.util.decorators import cached
from pytsp.core.util.jarvis import jarvis
from pytsp.core.util.model import Model
| 25.8 | 45 | 0.829457 | 21 | 129 | 5.095238 | 0.428571 | 0.252336 | 0.364486 | 0.476636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 4 | 46 | 32.25 | 0.922414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
89220851d04f57cf913b82c87653d8d941e0caa4 | 215 | py | Python | app/minor/__init__.py | unthinkfull/competition | 6ce327240e3e4c2ca5945f61658ec407837d2e95 | [
"Apache-2.0"
] | null | null | null | app/minor/__init__.py | unthinkfull/competition | 6ce327240e3e4c2ca5945f61658ec407837d2e95 | [
"Apache-2.0"
] | null | null | null | app/minor/__init__.py | unthinkfull/competition | 6ce327240e3e4c2ca5945f61658ec407837d2e95 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
# 两个参数分别指定蓝本的名字、蓝本所在的包或模块 国际化的 蓝本url用注释这句
# minor = Blueprint('minor', __name__, url_prefix='/<lang_code>')
minor = Blueprint('minor', __name__)
from app.minor import views, httperror
| 26.875 | 65 | 0.767442 | 26 | 215 | 5.961538 | 0.653846 | 0.180645 | 0.245161 | 0.296774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12093 | 215 | 7 | 66 | 30.714286 | 0.820106 | 0.483721 | 0 | 0 | 0 | 0 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 7 |
8935f94136b3a0cea250adcb9d58a3b20904250b | 6,409 | py | Python | nexus/meta_api/proto/documents_service_pb2_grpc.py | RobbiNespu/hyperboria | 7db858386f1a20e8d49bc16f53bfd7f1e4d03f7e | [
"Unlicense"
] | 54 | 2021-01-07T03:02:36.000Z | 2022-03-28T17:19:29.000Z | nexus/meta_api/proto/documents_service_pb2_grpc.py | the-superpirate/hyperboria | 74776166158d07b199677f9738862e5f1fa54367 | [
"Unlicense"
] | 10 | 2021-01-08T17:38:59.000Z | 2022-02-28T14:34:45.000Z | nexus/meta_api/proto/documents_service_pb2_grpc.py | the-superpirate/hyperboria | 74776166158d07b199677f9738862e5f1fa54367 | [
"Unlicense"
] | 16 | 2020-12-28T18:31:44.000Z | 2022-02-22T15:00:53.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from nexus.meta_api.proto import \
documents_service_pb2 as \
nexus_dot_meta__api_dot_proto_dot_documents__service__pb2
from nexus.models.proto import \
typed_document_pb2 as nexus_dot_models_dot_proto_dot_typed__document__pb2
class DocumentsStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.get = channel.unary_unary(
'/nexus.meta_api.proto.Documents/get',
request_serializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TypedDocumentRequest.SerializeToString,
response_deserializer=nexus_dot_models_dot_proto_dot_typed__document__pb2.TypedDocument.FromString,
)
self.roll = channel.unary_unary(
'/nexus.meta_api.proto.Documents/roll',
request_serializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.RollRequest.SerializeToString,
response_deserializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.RollResponse.FromString,
)
self.top_missed = channel.unary_unary(
'/nexus.meta_api.proto.Documents/top_missed',
request_serializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TopMissedRequest.SerializeToString,
response_deserializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TopMissedResponse.FromString,
)
class DocumentsServicer(object):
"""Missing associated documentation comment in .proto file."""
def get(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def roll(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def top_missed(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_DocumentsServicer_to_server(servicer, server):
rpc_method_handlers = {
'get': grpc.unary_unary_rpc_method_handler(
servicer.get,
request_deserializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TypedDocumentRequest.FromString,
response_serializer=nexus_dot_models_dot_proto_dot_typed__document__pb2.TypedDocument.SerializeToString,
),
'roll': grpc.unary_unary_rpc_method_handler(
servicer.roll,
request_deserializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.RollRequest.FromString,
response_serializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.RollResponse.SerializeToString,
),
'top_missed': grpc.unary_unary_rpc_method_handler(
servicer.top_missed,
request_deserializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TopMissedRequest.FromString,
response_serializer=nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TopMissedResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'nexus.meta_api.proto.Documents', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Documents(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def get(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/nexus.meta_api.proto.Documents/get',
nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TypedDocumentRequest.SerializeToString,
nexus_dot_models_dot_proto_dot_typed__document__pb2.TypedDocument.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def roll(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/nexus.meta_api.proto.Documents/roll',
nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.RollRequest.SerializeToString,
nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.RollResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def top_missed(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/nexus.meta_api.proto.Documents/top_missed',
nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TopMissedRequest.SerializeToString,
nexus_dot_meta__api_dot_proto_dot_documents__service__pb2.TopMissedResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 47.125 | 134 | 0.70167 | 678 | 6,409 | 6.146018 | 0.154867 | 0.040317 | 0.052796 | 0.057595 | 0.838013 | 0.820254 | 0.816895 | 0.785217 | 0.741301 | 0.704104 | 0 | 0.004454 | 0.229365 | 6,409 | 135 | 135 | 47.474074 | 0.839239 | 0.089249 | 0 | 0.45283 | 1 | 0 | 0.071231 | 0.044367 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.028302 | 0.028302 | 0.160377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
893f5bd5f24dda62877209e822bde617e1b007c8 | 2,920 | py | Python | NiaPy/tests/test_gso.py | lucijabrezocnik/NiaPy | 1582d1af835c022c77224ea0234178a399efc106 | [
"MIT"
] | null | null | null | NiaPy/tests/test_gso.py | lucijabrezocnik/NiaPy | 1582d1af835c022c77224ea0234178a399efc106 | [
"MIT"
] | null | null | null | NiaPy/tests/test_gso.py | lucijabrezocnik/NiaPy | 1582d1af835c022c77224ea0234178a399efc106 | [
"MIT"
] | 1 | 2018-06-13T08:10:23.000Z | 2018-06-13T08:10:23.000Z | # encoding=utf8
from NiaPy.algorithms.basic import GlowwormSwarmOptimization, GlowwormSwarmOptimizationV1, GlowwormSwarmOptimizationV2, GlowwormSwarmOptimizationV3
from NiaPy.tests.test_algorithm import AlgorithmTestCase, MyBenchmark
class GSOTestCase(AlgorithmTestCase):
def setUp(self):
AlgorithmTestCase.setUp(self)
self.algo = GlowwormSwarmOptimization
def test_custom_works_fine(self):
gso_custom = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
gso_customc = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_custom, gso_customc, MyBenchmark())
def test_griewank_works_fine(self):
gso_griewank = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
gso_griewankc = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_griewank, gso_griewankc)
class GSOv1TestCase(AlgorithmTestCase):
def setUp(self):
AlgorithmTestCase.setUp(self)
self.algo = GlowwormSwarmOptimizationV1
def test_custom_works_fine(self):
gso_custom = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
gso_customc = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_custom, gso_customc, MyBenchmark())
def test_griewank_works_fine(self):
gso_griewank = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
gso_griewankc = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_griewank, gso_griewankc)
class GSOv2TestCase(AlgorithmTestCase):
def setUp(self):
AlgorithmTestCase.setUp(self)
self.algo = GlowwormSwarmOptimizationV2
def test_custom_works_fine(self):
gso_custom = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
gso_customc = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_custom, gso_customc, MyBenchmark())
def test_griewank_works_fine(self):
gso_griewank = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
gso_griewankc = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_griewank, gso_griewankc)
class GSOv3TestCase(AlgorithmTestCase):
def setUp(self):
AlgorithmTestCase.setUp(self)
self.algo = GlowwormSwarmOptimizationV3
def test_custom_works_fine(self):
gso_custom = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
gso_customc = self.algo(NP=35, a=7, Rmin=0.1, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_custom, gso_customc, MyBenchmark())
def test_griewank_works_fine(self):
gso_griewank = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
gso_griewankc = self.algo(NP=10, a=5, Rmin=0.01, Rmax=3, seed=self.seed)
AlgorithmTestCase.test_algorithm_run(self, gso_griewank, gso_griewankc)
# vim: tabstop=3 noexpandtab shiftwidth=3 softtabstop=3
| 43.58209 | 147 | 0.769521 | 455 | 2,920 | 4.778022 | 0.112088 | 0.073597 | 0.073597 | 0.095676 | 0.809108 | 0.809108 | 0.809108 | 0.809108 | 0.809108 | 0.693192 | 0 | 0.044622 | 0.102055 | 2,920 | 66 | 148 | 44.242424 | 0.784516 | 0.022945 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8958417465d92527beed1d5083ecf5b52d4a4b48 | 160,157 | py | Python | plugins/trendmicro_apex/icon_trendmicro_apex/actions/download_rca_csv_file/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/trendmicro_apex/icon_trendmicro_apex/actions/download_rca_csv_file/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/trendmicro_apex/icon_trendmicro_apex/actions/download_rca_csv_file/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json
class Component:
DESCRIPTION = "Downloads existing RCA files from the Apex Central server"
class Input:
AGENT_GUID = "agent_guid"
HOST_IP = "host_ip"
HOST_NAME = "host_name"
SCAN_SUMMARY_GUID = "scan_summary_guid"
SERVER_GUID = "server_guid"
TASK_TYPE = "task_type"
class Output:
API_RESPONSE = "api_response"
class DownloadRcaCsvFileInput(komand.Input):
schema = json.loads("""
{
"type": "object",
"title": "Variables",
"properties": {
"agent_guid": {
"type": "string",
"title": "Agent GUID",
"description": "GUID of the target endpoint",
"order": 1
},
"host_ip": {
"type": "string",
"title": "Host IP",
"description": "Host IP address",
"order": 2
},
"host_name": {
"type": "string",
"title": "Host Name",
"description": "Host name",
"order": 3
},
"scan_summary_guid": {
"type": "string",
"title": "Scan Summary GUID",
"description": "GUID of the investigation summary to retrieve",
"order": 4
},
"server_guid": {
"type": "array",
"title": "Server GUID",
"description": "GUID of the target server",
"items": {
"type": "string"
},
"order": 5
},
"task_type": {
"type": "string",
"title": "Task Type",
"description": "Type of API request. For Endpoint Sensor, the value is always 4",
"default": "CMEF",
"enum": [
"UNKNOWN",
"INTERNAL",
"CM",
"CMEF",
"OSF_COMMAND",
"OSF_QUERY",
"OSF_NOTIFY",
"OSF_LOG",
"MDR_ATTACK_DISCOVERY",
"OSF_SYS_CALL"
],
"order": 6
}
},
"required": [
"agent_guid",
"host_ip",
"host_name",
"scan_summary_guid",
"server_guid"
]
}
""")
def __init__(self):
super(self.__class__, self).__init__(self.schema)
class DownloadRcaCsvFileOutput(komand.Output):
schema = json.loads("""
{
"type": "object",
"title": "Variables",
"properties": {
"api_response": {
"$ref": "#/definitions/api_response",
"title": "API Respnse",
"description": "Contains data returned",
"order": 1
}
},
"definitions": {
"Data": {
"type": "object",
"title": "Data",
"properties": {
"content": {
"type": "array",
"title": "Content",
"description": "Contents",
"items": {
"$ref": "#/definitions/contents"
},
"order": 1
},
"hasMore": {
"type": "boolean",
"title": "Has More",
"description": "Has more",
"order": 2
},
"lastContentId": {
"type": "string",
"title": "Last Content ID",
"description": "Last content ID",
"order": 3
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 4
},
"serverName": {
"type": "string",
"title": "Server Name",
"description": "Server name",
"order": 5
},
"taskId": {
"type": "string",
"title": "Task ID",
"description": "Task id",
"order": 6
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"FeatureCtrl": {
"type": "object",
"title": "FeatureCtrl",
"properties": {
"mode": {
"type": "string",
"title": "Mode",
"description": "Mode",
"order": 1
}
}
},
"Meta": {
"type": "object",
"title": "Meta",
"properties": {
"errorCode": {
"type": "integer",
"title": "Error Code",
"description": "The error code of the response",
"order": 1
},
"errorMessgae": {
"type": "string",
"title": "Error Message",
"description": "The error message of the response",
"order": 2
},
"result": {
"type": "integer",
"title": "Result",
"description": "The result code of the response",
"order": 3
}
}
},
"PermissionCtrl": {
"type": "object",
"title": "PermissionCtrl",
"properties": {
"elements": {
"type": "string",
"title": "Elements",
"description": "The value is always null for Custom Intelligence Automation APIs",
"order": 1
},
"permission": {
"type": "string",
"title": "Permission",
"description": "Permission",
"order": 2
}
}
},
"SystemCtrl": {
"type": "object",
"title": "SystemCtrl",
"properties": {
"TmcmSoDist_Role": {
"type": "string",
"title": "Tmcm So Dist Role",
"description": "Tmcm so dist role",
"enum": [
"none",
"hub",
"edge"
],
"order": 1
}
}
},
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"api_data": {
"type": "object",
"title": "api_data",
"properties": {
"Code": {
"type": "integer",
"title": "Code",
"description": "CMEF code related to CodeType",
"order": 1
},
"CodeType": {
"type": "integer",
"title": "Code Type",
"description": "Indicate Code is iES/CMEF error code, Apex Central error code or HTTP Code",
"order": 2
},
"Data": {
"$ref": "#/definitions/Data",
"title": "Data",
"description": "Contains the data returned from Endpoint Sensor server",
"order": 3
},
"Message": {
"type": "string",
"title": "Message",
"description": "CMEF message",
"order": 4
},
"TimeZone": {
"type": "integer",
"title": "Time Zone",
"description": "Time zone",
"order": 5
}
},
"definitions": {
"Data": {
"type": "object",
"title": "Data",
"properties": {
"content": {
"type": "array",
"title": "Content",
"description": "Contents",
"items": {
"$ref": "#/definitions/contents"
},
"order": 1
},
"hasMore": {
"type": "boolean",
"title": "Has More",
"description": "Has more",
"order": 2
},
"lastContentId": {
"type": "string",
"title": "Last Content ID",
"description": "Last content ID",
"order": 3
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 4
},
"serverName": {
"type": "string",
"title": "Server Name",
"description": "Server name",
"order": 5
},
"taskId": {
"type": "string",
"title": "Task ID",
"description": "Task id",
"order": 6
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"api_response": {
"type": "object",
"title": "api_response",
"properties": {
"Data": {
"$ref": "#/definitions/api_data",
"title": "Data",
"description": "Contains the data returned by the specific API",
"order": 1
},
"FeatureCtrl": {
"$ref": "#/definitions/FeatureCtrl",
"title": "Feature CTRL",
"description": "The Apex Central deployment model",
"order": 2
},
"Meta": {
"$ref": "#/definitions/Meta",
"title": "Meta",
"description": "Indicates the response status, including the result, error code, and error message",
"order": 3
},
"PermissionCtrl": {
"$ref": "#/definitions/PermissionCtrl",
"title": "Permission CTRL",
"description": "Indicates the permissions assigned to the logged-on user account for accessing Apex Central menu items and features",
"order": 4
},
"SystemCtrl": {
"$ref": "#/definitions/SystemCtrl",
"title": "System CTRL",
"description": "Indicates the suspicious object distribution role of the Apex Central server",
"order": 5
}
},
"definitions": {
"Data": {
"type": "object",
"title": "Data",
"properties": {
"content": {
"type": "array",
"title": "Content",
"description": "Contents",
"items": {
"$ref": "#/definitions/contents"
},
"order": 1
},
"hasMore": {
"type": "boolean",
"title": "Has More",
"description": "Has more",
"order": 2
},
"lastContentId": {
"type": "string",
"title": "Last Content ID",
"description": "Last content ID",
"order": 3
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 4
},
"serverName": {
"type": "string",
"title": "Server Name",
"description": "Server name",
"order": 5
},
"taskId": {
"type": "string",
"title": "Task ID",
"description": "Task id",
"order": 6
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"FeatureCtrl": {
"type": "object",
"title": "FeatureCtrl",
"properties": {
"mode": {
"type": "string",
"title": "Mode",
"description": "Mode",
"order": 1
}
}
},
"Meta": {
"type": "object",
"title": "Meta",
"properties": {
"errorCode": {
"type": "integer",
"title": "Error Code",
"description": "The error code of the response",
"order": 1
},
"errorMessgae": {
"type": "string",
"title": "Error Message",
"description": "The error message of the response",
"order": 2
},
"result": {
"type": "integer",
"title": "Result",
"description": "The result code of the response",
"order": 3
}
}
},
"PermissionCtrl": {
"type": "object",
"title": "PermissionCtrl",
"properties": {
"elements": {
"type": "string",
"title": "Elements",
"description": "The value is always null for Custom Intelligence Automation APIs",
"order": 1
},
"permission": {
"type": "string",
"title": "Permission",
"description": "Permission",
"order": 2
}
}
},
"SystemCtrl": {
"type": "object",
"title": "SystemCtrl",
"properties": {
"TmcmSoDist_Role": {
"type": "string",
"title": "Tmcm So Dist Role",
"description": "Tmcm so dist role",
"enum": [
"none",
"hub",
"edge"
],
"order": 1
}
}
},
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"api_data": {
"type": "object",
"title": "api_data",
"properties": {
"Code": {
"type": "integer",
"title": "Code",
"description": "CMEF code related to CodeType",
"order": 1
},
"CodeType": {
"type": "integer",
"title": "Code Type",
"description": "Indicate Code is iES/CMEF error code, Apex Central error code or HTTP Code",
"order": 2
},
"Data": {
"$ref": "#/definitions/Data",
"title": "Data",
"description": "Contains the data returned from Endpoint Sensor server",
"order": 3
},
"Message": {
"type": "string",
"title": "Message",
"description": "CMEF message",
"order": 4
},
"TimeZone": {
"type": "integer",
"title": "Time Zone",
"description": "Time zone",
"order": 5
}
},
"definitions": {
"Data": {
"type": "object",
"title": "Data",
"properties": {
"content": {
"type": "array",
"title": "Content",
"description": "Contents",
"items": {
"$ref": "#/definitions/contents"
},
"order": 1
},
"hasMore": {
"type": "boolean",
"title": "Has More",
"description": "Has more",
"order": 2
},
"lastContentId": {
"type": "string",
"title": "Last Content ID",
"description": "Last content ID",
"order": 3
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 4
},
"serverName": {
"type": "string",
"title": "Server Name",
"description": "Server name",
"order": 5
},
"taskId": {
"type": "string",
"title": "Task ID",
"description": "Task id",
"order": 6
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"contents": {
"type": "object",
"title": "contents",
"properties": {
"content": {
"$ref": "#/definitions/content",
"title": "Content",
"description": "Content",
"order": 1
},
"message": {
"type": "string",
"title": "Message",
"description": "Message",
"order": 2
},
"statusCode": {
"type": "integer",
"title": "Status Code",
"description": "Status code",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"content": {
"type": "object",
"title": "content",
"properties": {
"agentEntity": {
"type": "array",
"title": "Agent Entity",
"description": "Agent entity",
"items": {
"$ref": "#/definitions/agentEntity"
},
"order": 1
},
"agentQueryStatus": {
"$ref": "#/definitions/agentQueryStatus",
"title": "Agent Query Status",
"description": "Agent query status",
"order": 2
},
"csv": {
"type": "string",
"title": "CSV",
"description": "Contents of the CSV file",
"order": 4
},
"pagination": {
"$ref": "#/definitions/pagination",
"title": "Pagination",
"description": "Pagination",
"order": 3
}
},
"definitions": {
"agentEntity": {
"type": "object",
"title": "agentEntity",
"properties": {
"agentGuid": {
"type": "string",
"title": "Agent GUID",
"description": "Agent GUID",
"order": 1
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 2
},
"isImportant": {
"type": "boolean",
"title": "Is Important",
"description": "Is important",
"order": 3
},
"isOnline": {
"type": "boolean",
"title": "Is Online",
"description": "Is online",
"order": 4
},
"isolateStatus": {
"type": "integer",
"title": "ISO Late Status",
"description": "ISO late status",
"order": 5
},
"machineGuid": {
"type": "string",
"title": "Machine GUID",
"description": "Machine GUID",
"order": 6
},
"machineName": {
"type": "string",
"title": "Machine Name",
"description": "Machine name",
"order": 7
},
"machineOS": {
"type": "string",
"title": "Machine OS",
"description": "Machine os",
"order": 8
},
"machineType": {
"type": "string",
"title": "Machine Type",
"description": "Machine type",
"order": 9
},
"serverGuid": {
"type": "string",
"title": "Server GUID",
"description": "Server GUID",
"order": 10
}
}
},
"agentQueryStatus": {
"type": "object",
"title": "agentQueryStatus",
"properties": {
"hasFullAgents": {
"type": "boolean",
"title": "Has Full Agents",
"description": "Has full agents",
"order": 1
},
"hasFullRbac": {
"type": "boolean",
"title": "Has Full RBAC",
"description": "Has full RBAC",
"order": 2
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
},
"pagination": {
"type": "object",
"title": "pagination",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"description": "Limit",
"order": 1
},
"offset": {
"type": "integer",
"title": "Offset",
"description": "Offset",
"order": 2
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total",
"order": 3
}
}
}
}
}
""")
def __init__(self):
super(self.__class__, self).__init__(self.schema)
| 33.477634 | 143 | 0.29511 | 8,115 | 160,157 | 5.815404 | 0.023906 | 0.059756 | 0.089316 | 0.059671 | 0.969063 | 0.966117 | 0.964422 | 0.964422 | 0.961349 | 0.961349 | 0 | 0.009711 | 0.574998 | 160,157 | 4,783 | 144 | 33.484633 | 0.683606 | 0.000231 | 0 | 0.785325 | 1 | 0.000629 | 0.996396 | 0.011904 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000419 | false | 0 | 0.020545 | 0 | 0.024109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
895e3b2a0f5d89f9b41b27bb67b2ccda8e16ca52 | 5,013 | py | Python | src/eduid_userdb/tests/test_element.py | SUNET/eduid-userdb | 5970880caf0b0e2bdee6c23869ef287acc87af2a | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/eduid_userdb/tests/test_element.py | SUNET/eduid-userdb | 5970880caf0b0e2bdee6c23869ef287acc87af2a | [
"BSD-2-Clause-FreeBSD"
] | 12 | 2015-08-28T12:05:32.000Z | 2020-06-23T13:31:29.000Z | src/eduid_userdb/tests/test_element.py | SUNET/eduid-userdb | 5970880caf0b0e2bdee6c23869ef287acc87af2a | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2016-10-24T06:37:33.000Z | 2016-11-21T11:39:39.000Z | from datetime import datetime
from unittest import TestCase
from eduid_userdb.element import Element, PrimaryElement, PrimaryElementViolation, VerifiedElement
class TestElements(TestCase):
def test_create_element(self):
elem = Element(created_by='test')
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
def test_create_element_with_created_ts(self):
now = datetime.utcnow()
elem = Element(created_by='test', created_ts=now)
assert elem.created_by == 'test'
assert elem.created_ts == now
assert isinstance(elem.modified_ts, datetime)
def test_create_element_with_modified_ts(self):
now = datetime.utcnow()
elem = Element(created_by='test', modified_ts=now)
assert elem.created_by == 'test'
assert elem.modified_ts == now
assert isinstance(elem.modified_ts, datetime)
def test_create_element_with_created_and_modified_ts(self):
now = datetime.utcnow()
elem = Element(created_by='test', modified_ts=now, created_ts=now)
assert elem.created_by == 'test'
assert elem.created_ts == now
assert elem.modified_ts == now
def test_element_reset_modified_ts(self):
now = datetime.utcnow()
elem = Element(created_by='test', modified_ts=now, created_ts=now)
then = datetime.utcnow()
elem.modified_ts = then
assert elem.modified_ts == then
class TestVerifiedElements(TestCase):
def test_create_verified_element(self):
elem = VerifiedElement(created_by='test')
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
assert elem.is_verified is False
assert elem.verified_by is None
assert elem.verified_ts is None
def test_modify_verified_element(self):
elem = VerifiedElement(created_by='test')
now = datetime.utcnow()
elem.is_verified = True
elem.verified_by = 'test'
elem.verified_ts = now
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
assert elem.is_verified is True
assert elem.verified_by == 'test'
assert elem.verified_ts == now
def test_create_full_verified_element(self):
now = datetime.utcnow()
elem = VerifiedElement(
created_by='test', created_ts=now, modified_ts=now, is_verified=True, verified_by='test', verified_ts=now
)
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
assert elem.is_verified is True
assert elem.verified_by == 'test'
assert elem.verified_ts == now
class TestPrimaryElements(TestCase):
def test_create_primary_element(self):
elem = PrimaryElement(created_by='test')
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
assert elem.is_verified is False
assert elem.verified_by is None
assert elem.verified_ts is None
assert elem.is_primary is False
def test_modify_primary_element(self):
elem = PrimaryElement(created_by='test')
now = datetime.utcnow()
elem.is_verified = True
elem.verified_by = 'test'
elem.verified_ts = now
elem.is_primary = True
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
assert elem.is_verified is True
assert elem.verified_by == 'test'
assert elem.verified_ts == now
assert elem.is_primary is True
def test_create_full_primary_element(self):
now = datetime.utcnow()
elem = PrimaryElement(
created_by='test',
created_ts=now,
modified_ts=now,
is_verified=True,
verified_by='test',
verified_ts=now,
is_primary=True,
)
assert elem.created_by == 'test'
assert isinstance(elem.created_ts, datetime)
assert isinstance(elem.modified_ts, datetime)
assert elem.is_verified is True
assert elem.verified_by == 'test'
assert elem.verified_ts == now
assert elem.is_primary is True
def test_unverify_primary_element(self):
now = datetime.utcnow()
elem = PrimaryElement(
created_by='test',
created_ts=now,
modified_ts=now,
is_verified=True,
verified_by='test',
verified_ts=now,
is_primary=True,
)
with self.assertRaises(PrimaryElementViolation):
elem.is_verified = False
| 30.567073 | 117 | 0.651506 | 596 | 5,013 | 5.239933 | 0.07047 | 0.115274 | 0.091579 | 0.079091 | 0.839577 | 0.816523 | 0.806276 | 0.806276 | 0.758886 | 0.748319 | 0 | 0 | 0.265709 | 5,013 | 163 | 118 | 30.754601 | 0.848411 | 0 | 0 | 0.725 | 0 | 0 | 0.024736 | 0 | 0 | 0 | 0 | 0 | 0.441667 | 1 | 0.1 | false | 0 | 0.025 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
896a76c1cd961e7fff9ef6cf149aaa757b15b41a | 2,733 | py | Python | constant.py | U-ways/buy-my-tea | 5c1573b97c4ed021aecb5ea378df1fca7a473e3c | [
"MIT"
] | 2 | 2021-04-21T14:04:42.000Z | 2021-04-21T14:04:46.000Z | constant.py | u-ways/buy-my-tea | 5c1573b97c4ed021aecb5ea378df1fca7a473e3c | [
"MIT"
] | 1 | 2021-04-26T14:02:42.000Z | 2021-04-26T14:02:42.000Z | constant.py | u-ways/buy-my-tea | 5c1573b97c4ed021aecb5ea378df1fca7a473e3c | [
"MIT"
] | null | null | null | TEN_SECONDS = 10
DEFAULT_KEY_FILENAME = "secret.key"
DEFAULT_PASSWORD_FILENAME = "encrypted.password"
# IG PERSONAL DETAILS
IG_USERNAME_ENV = "IG_USERNAME"
IG_PASSWORD_ENV = "IG_PASSWORD"
# IG TARGET (SHOP) PROFILE
IG_TARGET_USER_ENV = "IG_TARGET_USER"
# REQUIRED DELIVERY DETAILS
FULL_NAME_ENV = "FULL_NAME"
MOBILE_ENV = "MOBILE"
DELIVERY_ADDRESS_ENV = "DELIVERY_ADDRESS"
# IG FLOW TO ACCESS TARGET USER WEBSITE URL (A Google form in our case)
IG_ENDPOINT = "https://www.instagram.com/"
IG_LOGIN_ENDPOINT = IG_ENDPOINT + "accounts/login/"
IG_COOKIE_BTN = '/html/body/div[2]/div/div/div/div[2]/button[1]'
IG_USERNAME_INPUT = '//*[@id="loginForm"]/div/div[1]/div/label/input'
IG_PASSWORD_INPUT = '//*[@id="loginForm"]/div/div[2]/div/label/input'
IG_LOGIN_BTN = '/html/body/div[1]/section/main/div/div/div[1]/div/form/div/div[3]/button'
IG_DONT_SAVE_LOGIN_BTN = '//*[@id="react-root"]/section/main/div/div/div/div/button'
IG_TARGET_USER_WEBSITE = '//*[@id="react-root"]/section/main/div/header/section/div[2]/a'
# PAGE ONE (TEA SELECTION)
# Milk tea
FORM_PG1_CHOICE_MILK = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[1]/div/div/div[2]/div/div[1]'
FORM_PG1_CHOICE_MILK_AMOUNT_1 = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[1]/div/div/div[2]/div/div[2]/div[3]'
# Chocolate hazelnut tea
FORM_PG1_CHOICE_HAZELNUT = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[9]/div/div/div[2]/div/div[1]'
FORM_PG1_CHOICE_HAZELNUT_AMOUNT_1 = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[1]/div/div/div[2]/div/div[2]/div[3]'
# Mango matcha green tea
FORM_PG1_CHOICE_MANGO = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[5]/div/div/div[2]/div/div[1]'
FORM_PG1_CHOICE_MANGO_AMOUNT_1 = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[5]/div/div/div[2]/div/div[2]/div[3]'
# Lychee jasmine green tea
FORM_PG1_CHOICE_LYCHEE = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[7]/div/div/div[2]/div/div[1]'
FORM_PG1_CHOICE_LYCHEE_AMOUNT_1 = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[7]/div/div/div[2]/div/div[2]/div[3]'
# Creamy grass jelly tea
FORM_PG1_CHOICE_CREAMY = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[11]/div/div/div[2]/div/div[1]'
FORM_PG1_CHOICE_CREAMY_AMOUNT_1 = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[11]/div/div/div[2]/div/div[2]/div[3]'
FORM_PG1_NEXT_PG_BTN = '//*[@id="mG61Hd"]/div[2]/div/div[3]/div[1]/div/div/span'
# PAGE TWO (DELIVERY DETAILS)
FORM_PG2_NAME_INPUT = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[2]/div/div/div[2]/div/div[1]/div/div[1]/input'
FORM_PG2_MOBILE_INPUT = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[3]/div/div/div[2]/div/div[1]/div/div[1]/input'
FORM_PG2_DELIVERY_ADDRESS_INPUT = '//*[@id="mG61Hd"]/div[2]/div/div[2]/div[4]/div/div/div[2]/div/div[1]/div[2]/textarea'
FORM_PG2_SUBMIT_BTN = '//*[@id="mG61Hd"]/div[2]/div/div[3]/div[1]/div/div[2]/span'
| 54.66 | 120 | 0.697036 | 516 | 2,733 | 3.5 | 0.180233 | 0.229236 | 0.189922 | 0.177187 | 0.517719 | 0.447951 | 0.420266 | 0.419712 | 0.396456 | 0.3433 | 0 | 0.055664 | 0.060007 | 2,733 | 49 | 121 | 55.77551 | 0.647334 | 0.108306 | 0 | 0 | 0 | 0.5625 | 0.639588 | 0.583505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.09375 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
8975f739e27544e3c0e203d52977af88b996fecb | 15,622 | py | Python | cmskit/recipes/migrations/0001_initial.py | ozgurgunes/django-cmskit | 19d14fbb57702a6c56b6b3a5d859c93533ff1535 | [
"MIT"
] | 1 | 2015-09-28T10:10:34.000Z | 2015-09-28T10:10:34.000Z | cmskit/recipes/migrations/0001_initial.py | ozgurgunes/django-cmskit | 19d14fbb57702a6c56b6b3a5d859c93533ff1535 | [
"MIT"
] | null | null | null | cmskit/recipes/migrations/0001_initial.py | ozgurgunes/django-cmskit | 19d14fbb57702a6c56b6b3a5d859c93533ff1535 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Recipe'
db.create_table('recipes_recipe', (
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('title', self.gf('django.db.models.fields.CharField')(max_length=216)),
('slug', self.gf('django.db.models.fields.SlugField')(max_length=216, blank=True)),
('picture', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)),
('picture_width', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True)),
('picture_height', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True)),
('ingredients', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
('directions', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
('preperation_time', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
('cooking_time', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
('publish', self.gf('django.db.models.fields.BooleanField')(default=False)),
('date_created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
('date_updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, null=True, blank=True)),
('tags', self.gf('tagging.fields.TagField')()),
('aside', self.gf('django.db.models.fields.related.ForeignKey')(related_name='recipes_recipe_aside', null=True, to=orm['cms.Placeholder'])),
('top', self.gf('django.db.models.fields.related.ForeignKey')(related_name='recipes_recipe_top', null=True, to=orm['cms.Placeholder'])),
('bottom', self.gf('django.db.models.fields.related.ForeignKey')(related_name='recipes_recipe_bottom', null=True, to=orm['cms.Placeholder'])),
))
db.send_create_signal('recipes', ['Recipe'])
# Adding M2M table for field products on 'Recipe'
db.create_table('recipes_recipe_products', (
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
('recipe', models.ForeignKey(orm['recipes.recipe'], null=False)),
('product', models.ForeignKey(orm['products.product'], null=False))
))
db.create_unique('recipes_recipe_products', ['recipe_id', 'product_id'])
# Adding model 'RecipeTeaserPlugin'
db.create_table('cmsplugin_recipeteaserplugin', (
('cmsplugin_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['cms.CMSPlugin'], unique=True, primary_key=True)),
('recipe', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['recipes.Recipe'], null=True, blank=True)),
))
db.send_create_signal('recipes', ['RecipeTeaserPlugin'])
def backwards(self, orm):
# Deleting model 'Recipe'
db.delete_table('recipes_recipe')
# Removing M2M table for field products on 'Recipe'
db.delete_table('recipes_recipe_products')
# Deleting model 'RecipeTeaserPlugin'
db.delete_table('cmsplugin_recipeteaserplugin')
models = {
'cms.cmsplugin': {
'Meta': {'object_name': 'CMSPlugin'},
'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
},
'cms.placeholder': {
'Meta': {'object_name': 'Placeholder'},
'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
},
'products.category': {
'Meta': {'ordering': "('tree_id', 'lft')", 'object_name': 'Category'},
'body': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'body_ar': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'body_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'body_tr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'bottom': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'products_category_bottom'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'parent': ('mptt.fields.TreeForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['products.Category']"}),
'picture': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'picture_height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'picture_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '216', 'blank': 'True'}),
'slug_ar': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '216', 'null': 'True', 'blank': 'True'}),
'slug_en': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '216', 'null': 'True', 'blank': 'True'}),
'slug_tr': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '216', 'null': 'True', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '216'}),
'title_ar': ('django.db.models.fields.CharField', [], {'max_length': '216', 'null': 'True', 'blank': 'True'}),
'title_en': ('django.db.models.fields.CharField', [], {'max_length': '216', 'null': 'True', 'blank': 'True'}),
'title_tr': ('django.db.models.fields.CharField', [], {'max_length': '216', 'null': 'True', 'blank': 'True'}),
'top': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'products_category_top'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
},
'products.product': {
'Meta': {'ordering': "('category', 'id')", 'object_name': 'Product'},
'body': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'body_ar': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'body_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'body_tr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'bottom': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'products_product_bottom'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
'category': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['products.Category']"}),
'cooking': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'cooking_ar': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'cooking_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'cooking_tr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}),
'energy': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'notes_ar': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'notes_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'notes_tr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'picture': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'picture_height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'picture_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'protein': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
'publish': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
'saturated_fat': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '216', 'blank': 'True'}),
'slug_ar': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '216', 'null': 'True', 'blank': 'True'}),
'slug_en': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '216', 'null': 'True', 'blank': 'True'}),
'slug_tr': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '216', 'null': 'True', 'blank': 'True'}),
'storage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'storage_ar': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'storage_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'storage_tr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '216'}),
'title_ar': ('django.db.models.fields.CharField', [], {'max_length': '216', 'null': 'True', 'blank': 'True'}),
'title_en': ('django.db.models.fields.CharField', [], {'max_length': '216', 'null': 'True', 'blank': 'True'}),
'title_tr': ('django.db.models.fields.CharField', [], {'max_length': '216', 'null': 'True', 'blank': 'True'}),
'top': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'products_product_top'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
'total_fat': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
'tricks': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'tricks_ar': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'tricks_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'tricks_tr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'})
},
'recipes.recipe': {
'Meta': {'ordering': "('title',)", 'object_name': 'Recipe'},
'aside': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipes_recipe_aside'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
'bottom': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipes_recipe_bottom'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
'cooking_time': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'date_updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}),
'directions': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'ingredients': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'picture': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'picture_height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'picture_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
'preperation_time': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
'products': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['products.Product']", 'null': 'True', 'blank': 'True'}),
'publish': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '216', 'blank': 'True'}),
'tags': ('tagging.fields.TagField', [], {}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '216'}),
'top': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipes_recipe_top'", 'null': 'True', 'to': "orm['cms.Placeholder']"})
},
'recipes.recipeteaserplugin': {
'Meta': {'object_name': 'RecipeTeaserPlugin', 'db_table': "'cmsplugin_recipeteaserplugin'", '_ormbases': ['cms.CMSPlugin']},
'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['recipes.Recipe']", 'null': 'True', 'blank': 'True'})
}
}
complete_apps = ['recipes'] | 86.788889 | 172 | 0.581936 | 1,660 | 15,622 | 5.359639 | 0.083735 | 0.104305 | 0.18096 | 0.258514 | 0.831629 | 0.813757 | 0.797797 | 0.766551 | 0.737215 | 0.681128 | 0 | 0.006978 | 0.174369 | 15,622 | 180 | 173 | 86.788889 | 0.682819 | 0.015043 | 0 | 0.341615 | 0 | 0 | 0.560598 | 0.327763 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012422 | false | 0 | 0.024845 | 0 | 0.055901 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9867cfd6b711d363d1eb87360aeff1e17fa4c932 | 117 | py | Python | wsgi.py | moeterich/docker-alerta | 613d06c041af9e792dc9a31a463ccc2454217a40 | [
"MIT"
] | null | null | null | wsgi.py | moeterich/docker-alerta | 613d06c041af9e792dc9a31a463ccc2454217a40 | [
"MIT"
] | null | null | null | wsgi.py | moeterich/docker-alerta | 613d06c041af9e792dc9a31a463ccc2454217a40 | [
"MIT"
] | null | null | null |
try:
from alerta import app # alerta >= 5.0
except ImportError:
from alerta.app import app # alerta < 5.0
| 19.5 | 46 | 0.65812 | 18 | 117 | 4.277778 | 0.5 | 0.25974 | 0.38961 | 0.415584 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.25641 | 117 | 5 | 47 | 23.4 | 0.83908 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
986c4291e2ed6c60a48e8aaebe6dfb488fea87a2 | 11,543 | py | Python | pyaz/storage/fs/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/storage/fs/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/storage/fs/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage file systems in Azure Data Lake Storage Gen2 account.
'''
from ... pyaz_utils import _call_az
from . import access, directory, file, metadata
def create(name, account_key=None, account_name=None, auth_mode=None, connection_string=None, metadata=None, public_access=None, sas_token=None, timeout=None):
'''
Create file system for Azure Data Lake Storage Gen2 account.
Required Parameters:
- name -- File system name (i.e. container name).
Optional Parameters:
- account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
- account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
- auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
- connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
- metadata -- Metadata in space-separated key=value pairs. This overwrites any existing metadata.
- public_access -- Specify whether data in the file system may be accessed publicly and the level of access.
- sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
- timeout -- Request timeout in seconds. Applies to each call to the service.
'''
return _call_az("az storage fs create", locals())
def list(account_key=None, account_name=None, auth_mode=None, connection_string=None, include_metadata=None, prefix=None, sas_token=None):
'''
List file systems in ADLS Gen2 account.
Optional Parameters:
- account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
- account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
- auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
- connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
- include_metadata -- Specify that file system metadata be returned in the response. The default value is "False".
- prefix -- Filter the results to return only file systems whose names begin with the specified prefix.
- sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
'''
return _call_az("az storage fs list", locals())
def show(name, account_key=None, account_name=None, auth_mode=None, connection_string=None, sas_token=None, timeout=None):
'''
Show properties of file system in ADLS Gen2 account.
Required Parameters:
- name -- File system name (i.e. container name).
Optional Parameters:
- account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
- account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
- auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
- connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
- sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
- timeout -- Request timeout in seconds. Applies to each call to the service.
'''
return _call_az("az storage fs show", locals())
def delete(name, account_key=None, account_name=None, auth_mode=None, connection_string=None, sas_token=None, timeout=None, yes=None):
'''
Delete a file system in ADLS Gen2 account.
Required Parameters:
- name -- File system name (i.e. container name).
Optional Parameters:
- account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
- account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
- auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
- connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
- sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
- timeout -- Request timeout in seconds. Applies to each call to the service.
- yes -- Do not prompt for confirmation.
'''
return _call_az("az storage fs delete", locals())
def exists(name, account_key=None, account_name=None, auth_mode=None, connection_string=None, sas_token=None, timeout=None):
'''
Check for the existence of a file system in ADLS Gen2 account.
Required Parameters:
- name -- File system name (i.e. container name).
Optional Parameters:
- account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
- account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
- auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
- connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
- sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
- timeout -- Request timeout in seconds. Applies to each call to the service.
'''
return _call_az("az storage fs exists", locals())
def generate_sas(name, account_key=None, account_name=None, as_user=None, auth_mode=None, cache_control=None, connection_string=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, expiry=None, full_uri=None, https_only=None, ip=None, permissions=None, policy_name=None, start=None):
'''
Generate a SAS token for file system in ADLS Gen2 account.
Required Parameters:
- name -- File system name (i.e. container name).
Optional Parameters:
- account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
- account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
- as_user -- Indicates that this command return the SAS signed with the user delegation key. The expiry parameter and '--auth-mode login' are required if this argument is specified.
- auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
- cache_control -- Response header value for Cache-Control when resource is accessedusing this shared access signature.
- connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
- content_disposition -- Response header value for Content-Disposition when resource is accessedusing this shared access signature.
- content_encoding -- Response header value for Content-Encoding when resource is accessedusing this shared access signature.
- content_language -- Response header value for Content-Language when resource is accessedusing this shared access signature.
- content_type -- Response header value for Content-Type when resource is accessedusing this shared access signature.
- expiry -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes invalid. Do not use if a stored access policy is referenced with --id that specifies this value.
- full_uri -- Indicate that this command return the full blob URI and the shared access signature token.
- https_only -- Only permit requests made with the HTTPS protocol. If omitted, requests from both the HTTP and HTTPS protocol are permitted.
- ip -- Specifies the IP address or range of IP addresses from which to accept requests. Supports only IPv4 style addresses.
- permissions -- The permissions the SAS grants. Allowed values: (d)elete (e)xecute (l)ist (p)ermissions (o)wnership (m)ove (r)ead (w)rite. Do not use if a stored access policy is referenced with --id that specifies this value. Can be combined.
- policy_name -- The name of a stored access policy.
- start -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes valid. Do not use if a stored access policy is referenced with --id that specifies this value. Defaults to the time of the request.
'''
return _call_az("az storage fs generate-sas", locals())
| 90.889764 | 365 | 0.773802 | 1,701 | 11,543 | 5.1505 | 0.127572 | 0.075106 | 0.079443 | 0.102614 | 0.80904 | 0.790321 | 0.773542 | 0.769775 | 0.757904 | 0.737701 | 0 | 0.000835 | 0.16954 | 11,543 | 126 | 366 | 91.611111 | 0.913102 | 0.841462 | 0 | 0 | 0 | 0 | 0.08339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
988c495cedb6720dde1ae8c501627b1a77effbcd | 3,655 | py | Python | docs/RFEM/BasicObjects/solidSet.py | Dlubal-Software/RFEM_Python_Client | 9e29c598dadf380d49677c463931f0be659ccc40 | [
"MIT"
] | 16 | 2021-10-13T21:00:11.000Z | 2022-03-21T11:12:09.000Z | docs/RFEM/BasicObjects/solidSet.py | Dlubal-Software/RFEM_Python_Client | 9e29c598dadf380d49677c463931f0be659ccc40 | [
"MIT"
] | 49 | 2021-10-19T13:18:51.000Z | 2022-03-30T08:20:17.000Z | docs/RFEM/BasicObjects/solidSet.py | Dlubal-Software/RFEM_Python_Client | 9e29c598dadf380d49677c463931f0be659ccc40 | [
"MIT"
] | 7 | 2021-10-13T06:06:24.000Z | 2022-03-29T17:48:39.000Z | from RFEM.initModel import Model, clearAtributes, ConvertToDlString
from RFEM.enums import SetType
class SolidSet():
def __init__(self,
no: int = 1,
solids_no: str = '1 2',
solid_set_type = SetType.SET_TYPE_GROUP,
comment: str = '',
params: dict = {}):
'''
Args:
no (int): Solid Set Tag
solids_no (str): Tags of Solids Contained Within Solid Set
solid_set_type (enum): Solid Set Type Enumeration
comment (str, optional): Comments
params (dict, optional): Parameters
'''
# Client model | Solid Set
clientObject = Model.clientModel.factory.create('ns0:solid_set')
# Clears object atributes | Sets all atributes to None
clearAtributes(clientObject)
# Solid Set No.
clientObject.no = no
# Solids number
clientObject.solids = ConvertToDlString(solids_no)
# Solid Set Type
clientObject.set_type = solid_set_type.name
# Comment
clientObject.comment = comment
# Adding optional parameters via dictionary
for key in params:
clientObject[key] = params[key]
# Add Solid Set to client model
Model.clientModel.service.set_solid_set(clientObject)
def ContinuousSolids(self,
no: int = 1,
solids_no: str = '1 2',
comment: str = '',
params: dict = {}):
'''
Args:
no (int): Solid Set Tag
solids_no (str): Tags of Solids Contained Within Continuous Solid Set
comment (str, optional): Comments
params (dict, optional): Parameters
'''
# Client model | Solid Set
clientObject = Model.clientModel.factory.create('ns0:solid_set')
# Clears object atributes | Sets all atributes to None
clearAtributes(clientObject)
# Solid Set No.
clientObject.no = no
# Solids number
clientObject.solids = ConvertToDlString(solids_no)
# Solid Set Type
clientObject.set_type = SetType.SET_TYPE_CONTINUOUS.name
# Comment
clientObject.comment = comment
# Adding optional parameters via dictionary
for key in params:
clientObject[key] = params[key]
# Add Solid Set to client model
Model.clientModel.service.set_solid_set(clientObject)
def GroupOfSolids(self,
no: int = 1,
solids_no: str = '1 2',
comment: str = '',
params: dict = {}):
'''
Args:
no (int): Solid Set Tag
solids_no (str): Tags of Solids Contained Within Group of Solids Solid Set
comment (str, optional): Comments
params (dict, optional): Parameters
'''
# Client model | Solid Set
clientObject = Model.clientModel.factory.create('ns0:solid_set')
# Clears object atributes | Sets all atributes to None
clearAtributes(clientObject)
# Solid Set No.
clientObject.no = no
# Solids number
clientObject.solids = ConvertToDlString(solids_no)
# Solid Set Type
clientObject.set_type = SetType.SET_TYPE_GROUP.name
# Comment
clientObject.comment = comment
# Adding optional parameters via dictionary
for key in params:
clientObject[key] = params[key]
# Add Solid Set to client model
Model.clientModel.service.set_solid_set(clientObject)
| 29.715447 | 86 | 0.578933 | 377 | 3,655 | 5.514589 | 0.169761 | 0.107744 | 0.040404 | 0.01443 | 0.888889 | 0.888889 | 0.873978 | 0.873978 | 0.873978 | 0.862915 | 0 | 0.005023 | 0.346375 | 3,655 | 122 | 87 | 29.959016 | 0.865216 | 0.33078 | 0 | 0.782609 | 0 | 0 | 0.021343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.043478 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
988d55c2a6e6635afc686c124608cd5751c174cc | 12,559 | py | Python | fenicsopt/exports/results.py | shongi-yd/FEniCSopt | 44c7e6a70400b5f0cc84599e20391e1e4032931d | [
"MIT"
] | null | null | null | fenicsopt/exports/results.py | shongi-yd/FEniCSopt | 44c7e6a70400b5f0cc84599e20391e1e4032931d | [
"MIT"
] | null | null | null | fenicsopt/exports/results.py | shongi-yd/FEniCSopt | 44c7e6a70400b5f0cc84599e20391e1e4032931d | [
"MIT"
] | null | null | null | from __future__ import print_function
import os
from dolfin import *
from .gnuplot import *
import numpy as np
from scipy.optimize import curve_fit
# Make All Necessary Results
def make_results(SC_EXAMPLE, NUM_CELL, V, W, uh, u_exact, tau, res, results):
V_DEGREE = V.ufl_element().degree()
W_DEGREE = W.ufl_element().degree()
V_FAMILY = V.ufl_element()._short_name
W_FAMILY = W.ufl_element()._short_name
hash = V_FAMILY + str(V_DEGREE) + W_FAMILY + str(W_DEGREE)
folder = str(SC_EXAMPLE) + '/' + hash + '/'
if not os.path.exists(folder):
os.makedirs(folder)
gnufile = open(folder + hash + '.cmd', 'w')
# Plot Solution And Exact Solution With Gnuplot
GNUPLOT_NUM_CELL = V_DEGREE * (NUM_CELL-1) + 1
gnuplot_mesh = UnitSquareMesh(GNUPLOT_NUM_CELL,GNUPLOT_NUM_CELL)
gnuplot_V = FunctionSpace(gnuplot_mesh, "CG", 1)
gnuplot_uh = project(uh, gnuplot_V)
gnuplot_nodally_exact = project(u_exact, gnuplot_V)
gnuplot_dg1(folder + hash + '.gnu', gnuplot_mesh, gnuplot_uh)
gnuplot_dg1(folder + hash + '.exact.gnu', gnuplot_mesh, gnuplot_nodally_exact)
template = """
unset logscale x
unset logscale y
set xrange [0.0:1.0]
set yrange [0.0:1.0]
set zrange [-0.2:1.2]
set ticslevel 0.0
set view 63,13
set size square
set terminal postscript eps enhanced 18
set format xy "%g"
set output "{folder}{hash}.eps"
sp "{folder}{hash}.gnu" w l title ""
set output "{folder}{hash}.exact.eps"
sp "{folder}{hash}.exact.gnu" w l title ""
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Plot Tau On Equidistant Mesh With Gnuplot
gnuplot_square_equidistant(folder + hash + '.tau.map', 600, tau)
template = """
unset logscale x
unset logscale y
set pm3d map
set xrange [0.0:1.0]
set yrange [0.0:1.0]
set cbrange [0.0:0.1]
set size square
set terminal png transparent interlace truecolor font "Helvetica,36" enhanced size 1600,1360
set output "{folder}{hash}.tau.png"
sp "{folder}{hash}.tau.map" title ""
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Print Error Indicator Of Result to a File
res_file = folder + hash + '.res'
res_file = open(res_file, 'w+')
res_file.write(str(res))
# Print process of minimization
min_file = folder + hash + '.min'
min_file = open(min_file, 'w+')
for result in results:
min_file.write('{:e} {:e}\n'.format(result[0], result[1]))
template = """
unset yrange
set yrange [*:*] noreverse
set logscale x
set logscale y
set xrange [1:100]
set size square
set terminal postscript eps enhanced 22
set format y "10^{{%L}}"
set output "{folder}{hash}.min.eps"
p "{folder}{hash}.min" w l title "{hash}"
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Call Gnuplot And Other Programs
popen1 = os.popen('gnuplot ' + folder + hash + '.cmd\n convert '
+ folder + hash + '.tau.png -crop 1280x1090+200+150 '
+ folder + hash + '.tau.png\n', 'r')
# Currently, the following is not used/not working in some cases, non-critical
popen5 = os.popen('epstool --copy --bbox ' + folder + hash + '.exact.eps '
+ folder + hash + '.exact.cropped.eps\n', 'r')
popen6 = os.popen('epstool --copy --bbox ' + folder + hash + '.eps '
+ folder + hash + '.cropped.eps\n', 'r')
def make_results_anisotrop(SC_EXAMPLE, mesh, V, W, uh, u_exact, tau, res, results):
V_DEGREE = V.ufl_element().degree()
W_DEGREE = W.ufl_element().degree()
V_FAMILY = V.ufl_element()._short_name
W_FAMILY = W.ufl_element()._short_name
hash = V_FAMILY + str(V_DEGREE) + W_FAMILY + str(W_DEGREE)
folder = str(SC_EXAMPLE) + '/' + hash + '/'
if not os.path.exists(folder):
os.makedirs(folder)
gnufile = open(folder + hash + '.cmd', 'w')
# Plot Solution And Exact Solution With Gnuplot
gnuplot_dg1(folder + hash + '.gnu', mesh, uh)
gnuplot_dg1(folder + hash + '.exact.gnu', mesh, u_exact)
template = """
unset logscale x
unset logscale y
set xrange [0.0:1.0]
set yrange [0.0:1.0]
set zrange [-0.2:1.2]
set ticslevel 0.0
set view 63,13
set size square
set terminal postscript eps enhanced 18
set format xy "%g"
set output "{folder}{hash}.eps"
sp "{folder}{hash}.gnu" w l title ""
set output "{folder}{hash}.exact.eps"
sp "{folder}{hash}.exact.gnu" w l title ""
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Plot Tau On Equidistant Mesh With Gnuplot
gnuplot_square_equidistant(folder + hash + '.tau.map', 600, tau)
template = """
unset logscale x
unset logscale y
set pm3d map
set xrange [0.0:1.0]
set yrange [0.0:1.0]
set cbrange [0.0:0.1]
set size square
set terminal png transparent interlace truecolor font "Helvetica,36" enhanced size 1600,1360
set output "{folder}{hash}.tau.png"
sp "{folder}{hash}.tau.map" title ""
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Print Error Indicator Of Result to a File
res_file = folder + hash + '.res'
res_file = open(res_file, 'w+')
res_file.write(str(res))
# Print process of minimization
min_file = folder + hash + '.min'
min_file = open(min_file, 'w+')
for result in results:
min_file.write('{:e} {:e}\n'.format(result[0], result[1]))
template = """
unset yrange
set yrange [*:*] noreverse
set logscale x
set logscale y
set xrange [1:100]
set size square
set terminal postscript eps enhanced 22
set format y "10^{{%L}}"
set output "{folder}{hash}.min.eps"
p "{folder}{hash}.min" w l title "{hash}"
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Call Gnuplot And Other Programs
popen1 = os.popen('gnuplot ' + folder + hash + '.cmd\n convert '
+ folder + hash + '.tau.png -crop 1280x1090+200+150 '
+ folder + hash + '.tau.png\n', 'r')
# Currently, the following is not used/not working in some cases, non-critical
popen5 = os.popen('epstool --copy --bbox ' + folder + hash + '.exact.eps '
+ folder + hash + '.exact.cropped.eps\n', 'r')
popen6 = os.popen('epstool --copy --bbox ' + folder + hash + '.eps '
+ folder + hash + '.cropped.eps\n', 'r')
# Make Results For SOLD Parameter
def make_results_sold_par(SC_EXAMPLE, NUM_CELL, V, W, tau):
V_DEGREE = V.ufl_element().degree()
W_DEGREE = W.ufl_element().degree()
V_FAMILY = V.ufl_element()._short_name
W_FAMILY = W.ufl_element()._short_name
hash = V_FAMILY + str(V_DEGREE) + W_FAMILY + str(W_DEGREE)
folder = str(SC_EXAMPLE) + '/' + hash + '/'
if not os.path.exists(folder):
os.makedirs(folder)
gnufile = open(folder + hash + '.cmd', 'w')
# Plot Tau On Equidistant Mesh With Gnuplot
gnuplot_square_equidistant(folder + hash + '.tau2.map', 600, tau)
template = """
unset logscale x
unset logscale y
set pm3d map
set xtics textcolor rgb "black"
set ytics textcolor rgb "black"
set xrange [0.0:1.0]
set yrange [0.0:1.0]
set cbrange [0.0:0.1]
set size square
set terminal png transparent interlace truecolor font "Helvetica,36" enhanced size 1600,1360
set output "{folder}{hash}.tau2.png"
sp "{folder}{hash}.tau2.map" title ""
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Call Gnuplot And Other Programs
popen1 = os.popen('gnuplot ' + folder + hash + '.cmd\n convert '
+ folder + hash + '.tau2.png -crop 1280x1090+200+150 '
+ folder + hash + '.tau2.png\n', 'r')
# Make h Results
def make_results_h(SC_EXAMPLE, NUM_CELL, V, W, uh, u_exact, yh, res_phi):
V_DEGREE = V.ufl_element().degree()
W_DEGREE = W.ufl_element().degree()
V_FAMILY = V.ufl_element()._short_name
W_FAMILY = W.ufl_element()._short_name
hash = V_FAMILY + str(V_DEGREE) + W_FAMILY + str(W_DEGREE) + '_' + str(NUM_CELL)
folder = str(SC_EXAMPLE) + '/' + hash + '/'
if not os.path.exists(folder):
os.makedirs(folder)
gnufile = open(folder + hash + 'h.cmd', 'w')
# Plot Solution With Gnuplot
GNUPLOT_NUM_CELL = V_DEGREE * (NUM_CELL-1) + 1
gnuplot_mesh = UnitSquareMesh(GNUPLOT_NUM_CELL,GNUPLOT_NUM_CELL)
gnuplot_V = FunctionSpace(gnuplot_mesh, "CG", 1)
gnuplot_uh = project(uh, gnuplot_V)
gnuplot_dg1(folder + hash + '.gnu', gnuplot_mesh, gnuplot_uh)
template = """
unset logscale x
unset logscale y
set xrange [0.0:1.0]
set yrange [0.0:1.0]
set zrange [-0.2:1.2]
set ticslevel 0.0
set view 63,13
set size square
set terminal postscript eps enhanced 18
set format xy "%g"
set output "{folder}{hash}.eps"
sp "{folder}{hash}.gnu" w l title ""
"""
gnufile.write(template.format(folder = folder, hash = hash))
# Call Gnuplot
popen1 = os.popen('gnuplot ' + folder + hash + 'h.cmd', 'r')
# Make Global Results
def make_global_results(SC_EXAMPLE, global_results):
folder = str(SC_EXAMPLE) + '/'
filename = folder + 'dofs.gnu'
file = open(filename, 'w+')
filename_30 = folder + 'dofs_30.gnu'
file_30 = open(filename_30, 'w+')
# Sorting
sorted_results = sorted(global_results, key=lambda k: (k['V_dofs'], k['W_dofs']))
last_V_dofs = 0
for result in sorted_results:
if last_V_dofs != result['V_dofs']:
file.write('\n')
file_30.write('\n')
last_V_dofs = result['V_dofs']
file.write('{:e} {:e} {:e}\n'.format(result['V_dofs'], result['W_dofs'], result['phi']))
file_30.write('{:e} {:e} {:e}\n'.format(result['V_dofs'], result['W_dofs'], result['phi_30']))
file.write('\n')
file_30.write('\n')
sorted_results = sorted(global_results, key=lambda k: (k['W_dofs'], k['V_dofs']))
last_W_dofs = 0
for result in sorted_results:
if last_W_dofs != result['W_dofs']:
file.write('\n')
file_30.write('\n')
last_W_dofs = result['W_dofs']
file.write('{:e} {:e} {:e}\n'.format(result['V_dofs'], result['W_dofs'], result['phi']))
file_30.write('{:e} {:e} {:e}\n'.format(result['V_dofs'], result['W_dofs'], result['phi_30']))
template = """
set size square
set xtics 0,5000,40000 offset -2, -0.1
set ytics 0,10000,40000 offset 0.5, -0.5
set terminal postscript eps enhanced 22
set output "{folder}dofs.eps"
sp "{filename}" w l title ""
set output "{folder}dofs_30.eps"
sp "{filename_30}" w l title ""
"""
gnufile = open(folder + 'gnu.cmd', 'w')
gnufile.write(template.format(folder = folder, filename = filename,
filename_30 = filename_30))
# Call Gnuplot
popen2 = os.popen('gnuplot ' + folder + 'gnu.cmd', 'r')
# Make Global Results h
def make_global_results_h(SC_EXAMPLE, global_results):
folder = str(SC_EXAMPLE) + '/'
filename = folder + 'h.gnu'
file = open(filename, 'w+')
# Sorting
sorted_results = sorted(global_results, key=lambda k: (k['h']))
h_values = np.empty([1])
error_values = np.empty([1])
for result in sorted_results:
file.write('{:e} {:e} \n'.format(result['h'], result['error_l2']))
h_values = np.append(h_values, result['h'])
error_values = np.append(error_values, result['error_l2'])
file.write('\n')
def func(x, a, b):
return a*x**b
popt, pcov = curve_fit(func, h_values, error_values)
template = """
The resulting function of h is:
f(x) = {a}*h**{b}
"""
resultsfile = open(folder + 'fit.res', 'w')
resultsfile.write(template.format(a = popt[0], b = popt[1]))
template = """
set logscale x
set logscale y
f(x) = a*x**b
a=2
b=3
fit f(x) "{filename}" us 1:2:($2*.01) via a,b
set size square
set terminal postscript eps enhanced 22
set output "{folder}h.eps"
p f(x) title "fit", "{filename}" title "data"
"""
gnufile = open(folder + 'gnu.h.cmd', 'w')
gnufile.write(template.format(folder = folder, filename = filename, example = SC_EXAMPLE))
# Call Gnuplot
popen2 = os.popen('gnuplot ' + folder + 'gnu.h.cmd\n', 'r')
popen3 = os.popen('epstool --copy --bbox ' + folder + 'h.eps '
+ folder + 'h.cropped.eps\n')
# Make the line of phi
def make_line_results(SC_EXAMPLE, V, W, results):
V_DEGREE = V.ufl_element().degree()
W_DEGREE = W.ufl_element().degree()
V_FAMILY = V.ufl_element()._short_name
W_FAMILY = W.ufl_element()._short_name
hash = V_FAMILY + str(V_DEGREE) + W_FAMILY + str(W_DEGREE)
folder = str(SC_EXAMPLE) + '/' + hash + '/'
if not os.path.exists(folder):
os.makedirs(folder)
filename = folder + 'line_results.gnu'
gnuplot_graph(filename, results)
file = open(folder + 'gnu_line.cmd', 'w+')
template = """
set terminal postscript eps enhanced 22
set output "{folder}line.eps"
p "{filename}" w l title "data"
"""
gnufile = open(folder + 'gnu_line.cmd', 'w')
gnufile.write(template.format(folder = folder, filename = filename, example = SC_EXAMPLE))
# Call Gnuplot
popen2 = os.popen('gnuplot ' + folder + 'gnu_line.cmd\n', 'r')
popen3 = os.popen('epstool --copy --bbox ' + folder + 'line.eps '
+ folder + 'line.cropped.eps\n')
| 31.086634 | 98 | 0.666773 | 1,968 | 12,559 | 4.122459 | 0.102134 | 0.076421 | 0.005547 | 0.005916 | 0.842968 | 0.828054 | 0.806237 | 0.789474 | 0.778627 | 0.738568 | 0 | 0.029695 | 0.174138 | 12,559 | 403 | 99 | 31.163772 | 0.752507 | 0.067123 | 0 | 0.73955 | 0 | 0.003215 | 0.372893 | 0.027295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025723 | false | 0 | 0.019293 | 0.003215 | 0.048232 | 0.003215 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
98b83c2de3fb29001346556f66668d397c98174e | 464,240 | py | Python | intersight/api/equipment_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 21 | 2018-03-29T14:20:35.000Z | 2021-10-13T05:11:41.000Z | intersight/api/equipment_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 14 | 2018-01-30T15:45:46.000Z | 2022-02-23T14:23:21.000Z | intersight/api/equipment_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 18 | 2018-01-03T15:09:56.000Z | 2021-07-16T02:21:54.000Z | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. # noqa: E501
The version of the OpenAPI document: 1.0.9-1295
Contact: intersight@cisco.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from intersight.api_client import ApiClient
from intersight.exceptions import (ApiTypeError, ApiValueError)
class EquipmentApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def get_equipment_chassis_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_chassis_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentChassis
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_chassis_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_chassis_by_moid_with_http_info(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_chassis_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentChassis, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_chassis_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_chassis_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Chasses/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentChassis', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_chassis_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_chassis_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentChassisList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_chassis_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_chassis_list_with_http_info(self,
**kwargs): # noqa: E501
"""Read a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_chassis_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentChassisList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_chassis_list" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Chasses',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentChassisList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_device_summary_by_moid(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.DeviceSummary' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_device_summary_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentDeviceSummary
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_device_summary_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_device_summary_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.DeviceSummary' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_device_summary_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentDeviceSummary, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_device_summary_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_device_summary_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/DeviceSummaries/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentDeviceSummary', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_device_summary_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.DeviceSummary' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_device_summary_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentDeviceSummaryList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_device_summary_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_device_summary_list_with_http_info(
self, **kwargs): # noqa: E501
"""Read a 'equipment.DeviceSummary' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_device_summary_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentDeviceSummaryList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_device_summary_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/DeviceSummaries',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentDeviceSummaryList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_fan_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFan
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_fan_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_fan_by_moid_with_http_info(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFan, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_fan_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_fan_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fans/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFan', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_fan_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFanList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_fan_list_with_http_info(**
kwargs) # noqa: E501
def get_equipment_fan_list_with_http_info(self, **kwargs): # noqa: E501
"""Read a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFanList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_fan_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fans',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFanList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_fan_module_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_module_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFanModule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_fan_module_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_fan_module_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_module_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFanModule, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_fan_module_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_fan_module_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/FanModules/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFanModule', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_fan_module_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_module_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFanModuleList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_fan_module_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_fan_module_list_with_http_info(self,
**kwargs): # noqa: E501
"""Read a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fan_module_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFanModuleList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_fan_module_list" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/FanModules',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFanModuleList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_fex_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fex_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFex
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_fex_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_fex_by_moid_with_http_info(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fex_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFex, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_fex_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_fex_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fexes/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFex', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_fex_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fex_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFexList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_fex_list_with_http_info(**
kwargs) # noqa: E501
def get_equipment_fex_list_with_http_info(self, **kwargs): # noqa: E501
"""Read a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_fex_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFexList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_fex_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fexes',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFexList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_io_card_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_card_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoCard
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_io_card_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_io_card_by_moid_with_http_info(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_card_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoCard, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_io_card_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_io_card_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoCards/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoCard', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_io_card_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_card_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoCardList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_io_card_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_io_card_list_with_http_info(self,
**kwargs): # noqa: E501
"""Read a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_card_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoCardList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_io_card_list" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoCards',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoCardList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_io_expander_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_expander_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoExpander
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_io_expander_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_io_expander_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_expander_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoExpander, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_io_expander_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_io_expander_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoExpanders/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoExpander', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_io_expander_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_expander_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoExpanderList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_io_expander_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_io_expander_list_with_http_info(self,
**kwargs): # noqa: E501
"""Read a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_io_expander_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoExpanderList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_io_expander_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoExpanders',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoExpanderList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_locator_led_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_locator_led_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentLocatorLed
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_locator_led_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_locator_led_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_locator_led_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentLocatorLed, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_locator_led_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_locator_led_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/LocatorLeds/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentLocatorLed', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_locator_led_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_locator_led_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentLocatorLedList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_locator_led_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_locator_led_list_with_http_info(self,
**kwargs): # noqa: E501
"""Read a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_locator_led_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentLocatorLedList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_locator_led_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/LocatorLeds',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentLocatorLedList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_psu_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_psu_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentPsu
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_psu_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_psu_by_moid_with_http_info(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_psu_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentPsu, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_psu_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_psu_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Psus/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentPsu', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_psu_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_psu_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentPsuList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_psu_list_with_http_info(**
kwargs) # noqa: E501
def get_equipment_psu_list_with_http_info(self, **kwargs): # noqa: E501
"""Read a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_psu_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentPsuList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_psu_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Psus',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentPsuList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_rack_enclosure_by_moid(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosure
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_rack_enclosure_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_rack_enclosure_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosure, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_rack_enclosure_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_rack_enclosure_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosures/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosure', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_rack_enclosure_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosureList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_rack_enclosure_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_rack_enclosure_list_with_http_info(
self, **kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosureList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_rack_enclosure_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosures',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosureList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_rack_enclosure_slot_by_moid(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_slot_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosureSlot
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_rack_enclosure_slot_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_rack_enclosure_slot_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_slot_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosureSlot, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_rack_enclosure_slot_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_rack_enclosure_slot_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosureSlots/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosureSlot', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_rack_enclosure_slot_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_slot_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosureSlotList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_rack_enclosure_slot_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_rack_enclosure_slot_list_with_http_info(
self, **kwargs): # noqa: E501
"""Read a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_rack_enclosure_slot_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosureSlotList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_rack_enclosure_slot_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosureSlots',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosureSlotList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_shared_io_module_by_moid(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_shared_io_module_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSharedIoModule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_shared_io_module_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_shared_io_module_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_shared_io_module_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSharedIoModule, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_shared_io_module_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_shared_io_module_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SharedIoModules/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSharedIoModule', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_shared_io_module_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_shared_io_module_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSharedIoModuleList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_shared_io_module_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_shared_io_module_list_with_http_info(
self, **kwargs): # noqa: E501
"""Read a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_shared_io_module_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSharedIoModuleList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_shared_io_module_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SharedIoModules',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSharedIoModuleList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_switch_card_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_switch_card_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSwitchCard
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_switch_card_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_switch_card_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_switch_card_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSwitchCard, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_switch_card_by_moid" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_switch_card_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SwitchCards/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSwitchCard', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_switch_card_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_switch_card_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSwitchCardList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_switch_card_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_switch_card_list_with_http_info(self,
**kwargs): # noqa: E501
"""Read a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_switch_card_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSwitchCardList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_switch_card_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SwitchCards',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSwitchCardList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_system_io_controller_by_moid(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_system_io_controller_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSystemIoController
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_system_io_controller_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_system_io_controller_by_moid_with_http_info(
self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_system_io_controller_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSystemIoController, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_system_io_controller_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_system_io_controller_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SystemIoControllers/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSystemIoController', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_system_io_controller_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_system_io_controller_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSystemIoControllerList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_system_io_controller_list_with_http_info(
**kwargs) # noqa: E501
def get_equipment_system_io_controller_list_with_http_info(
self, **kwargs): # noqa: E501
"""Read a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_system_io_controller_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSystemIoControllerList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method get_equipment_system_io_controller_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SystemIoControllers',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSystemIoControllerList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_tpm_by_moid(self, moid, **kwargs): # noqa: E501
"""Read a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_tpm_by_moid(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentTpm
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_tpm_by_moid_with_http_info(
moid, **kwargs) # noqa: E501
def get_equipment_tpm_by_moid_with_http_info(self, moid,
**kwargs): # noqa: E501
"""Read a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_tpm_by_moid_with_http_info(moid, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentTpm, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_tpm_by_moid" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `get_equipment_tpm_by_moid`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Tpms/{Moid}',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentTpm', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def get_equipment_tpm_list(self, **kwargs): # noqa: E501
"""Read a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_tpm_list(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentTpmList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_equipment_tpm_list_with_http_info(**
kwargs) # noqa: E501
def get_equipment_tpm_list_with_http_info(self, **kwargs): # noqa: E501
"""Read a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_equipment_tpm_list_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str filter: Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false).
:param str orderby: Determines what properties are used to sort the collection of resources.
:param int top: Specifies the maximum number of resources to return in the response.
:param int skip: Specifies the number of resources to skip in the response.
:param str select: Specifies a subset of properties to return.
:param str expand: Specify additional attributes or related resources to return in addition to the primary resources.
:param str apply: Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e. the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set.
:param bool count: The $count query specifies the service should return the count of the matching resources, instead of returning the resources.
:param str inlinecount: The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response.
:param str at: Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentTpmList, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = [
'filter', 'orderby', 'top', 'skip', 'select', 'expand', 'apply',
'count', 'inlinecount', 'at'
] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method get_equipment_tpm_list" % key)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'filter' in local_var_params and local_var_params[
'filter'] is not None: # noqa: E501
query_params.append(
('$filter', local_var_params['filter'])) # noqa: E501
if 'orderby' in local_var_params and local_var_params[
'orderby'] is not None: # noqa: E501
query_params.append(
('$orderby', local_var_params['orderby'])) # noqa: E501
if 'top' in local_var_params and local_var_params[
'top'] is not None: # noqa: E501
query_params.append(
('$top', local_var_params['top'])) # noqa: E501
if 'skip' in local_var_params and local_var_params[
'skip'] is not None: # noqa: E501
query_params.append(
('$skip', local_var_params['skip'])) # noqa: E501
if 'select' in local_var_params and local_var_params[
'select'] is not None: # noqa: E501
query_params.append(
('$select', local_var_params['select'])) # noqa: E501
if 'expand' in local_var_params and local_var_params[
'expand'] is not None: # noqa: E501
query_params.append(
('$expand', local_var_params['expand'])) # noqa: E501
if 'apply' in local_var_params and local_var_params[
'apply'] is not None: # noqa: E501
query_params.append(
('$apply', local_var_params['apply'])) # noqa: E501
if 'count' in local_var_params and local_var_params[
'count'] is not None: # noqa: E501
query_params.append(
('$count', local_var_params['count'])) # noqa: E501
if 'inlinecount' in local_var_params and local_var_params[
'inlinecount'] is not None: # noqa: E501
query_params.append(
('$inlinecount',
local_var_params['inlinecount'])) # noqa: E501
if 'at' in local_var_params and local_var_params[
'at'] is not None: # noqa: E501
query_params.append(('at', local_var_params['at'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept([
'application/json', 'text/csv',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
]) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Tpms',
'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentTpmList', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_chassis(self, moid, equipment_chassis,
**kwargs): # noqa: E501
"""Update a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_chassis(moid, equipment_chassis, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentChassis equipment_chassis: The 'equipment.Chassis' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentChassis
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_chassis_with_http_info(
moid, equipment_chassis, **kwargs) # noqa: E501
def patch_equipment_chassis_with_http_info(self, moid, equipment_chassis,
**kwargs): # noqa: E501
"""Update a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_chassis_with_http_info(moid, equipment_chassis, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentChassis equipment_chassis: The 'equipment.Chassis' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentChassis, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_chassis'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_chassis" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_chassis`"
) # noqa: E501
# verify the required parameter 'equipment_chassis' is set
if self.api_client.client_side_validation and (
'equipment_chassis' not in local_var_params or # noqa: E501
local_var_params['equipment_chassis'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_chassis` when calling `patch_equipment_chassis`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_chassis' in local_var_params:
body_params = local_var_params['equipment_chassis']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Chasses/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentChassis', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_fan(self, moid, equipment_fan, **kwargs): # noqa: E501
"""Update a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_fan(moid, equipment_fan, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFan equipment_fan: The 'equipment.Fan' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFan
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_fan_with_http_info(moid, equipment_fan,
**kwargs) # noqa: E501
def patch_equipment_fan_with_http_info(self, moid, equipment_fan,
**kwargs): # noqa: E501
"""Update a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_fan_with_http_info(moid, equipment_fan, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFan equipment_fan: The 'equipment.Fan' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFan, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_fan'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_fan" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_fan`"
) # noqa: E501
# verify the required parameter 'equipment_fan' is set
if self.api_client.client_side_validation and (
'equipment_fan' not in local_var_params or # noqa: E501
local_var_params['equipment_fan'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_fan` when calling `patch_equipment_fan`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_fan' in local_var_params:
body_params = local_var_params['equipment_fan']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fans/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFan', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_fan_module(self, moid, equipment_fan_module,
**kwargs): # noqa: E501
"""Update a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_fan_module(moid, equipment_fan_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFanModule equipment_fan_module: The 'equipment.FanModule' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFanModule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_fan_module_with_http_info(
moid, equipment_fan_module, **kwargs) # noqa: E501
def patch_equipment_fan_module_with_http_info(self, moid,
equipment_fan_module,
**kwargs): # noqa: E501
"""Update a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_fan_module_with_http_info(moid, equipment_fan_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFanModule equipment_fan_module: The 'equipment.FanModule' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFanModule, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_fan_module'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_fan_module" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_fan_module`"
) # noqa: E501
# verify the required parameter 'equipment_fan_module' is set
if self.api_client.client_side_validation and (
'equipment_fan_module' not in local_var_params or # noqa: E501
local_var_params['equipment_fan_module'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_fan_module` when calling `patch_equipment_fan_module`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_fan_module' in local_var_params:
body_params = local_var_params['equipment_fan_module']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/FanModules/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFanModule', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_fex(self, moid, equipment_fex, **kwargs): # noqa: E501
"""Update a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_fex(moid, equipment_fex, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFex equipment_fex: The 'equipment.Fex' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFex
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_fex_with_http_info(moid, equipment_fex,
**kwargs) # noqa: E501
def patch_equipment_fex_with_http_info(self, moid, equipment_fex,
**kwargs): # noqa: E501
"""Update a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_fex_with_http_info(moid, equipment_fex, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFex equipment_fex: The 'equipment.Fex' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFex, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_fex'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_fex" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_fex`"
) # noqa: E501
# verify the required parameter 'equipment_fex' is set
if self.api_client.client_side_validation and (
'equipment_fex' not in local_var_params or # noqa: E501
local_var_params['equipment_fex'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_fex` when calling `patch_equipment_fex`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_fex' in local_var_params:
body_params = local_var_params['equipment_fex']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fexes/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFex', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_io_card(self, moid, equipment_io_card,
**kwargs): # noqa: E501
"""Update a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_io_card(moid, equipment_io_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoCard equipment_io_card: The 'equipment.IoCard' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoCard
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_io_card_with_http_info(
moid, equipment_io_card, **kwargs) # noqa: E501
def patch_equipment_io_card_with_http_info(self, moid, equipment_io_card,
**kwargs): # noqa: E501
"""Update a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_io_card_with_http_info(moid, equipment_io_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoCard equipment_io_card: The 'equipment.IoCard' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoCard, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_io_card'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_io_card" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_io_card`"
) # noqa: E501
# verify the required parameter 'equipment_io_card' is set
if self.api_client.client_side_validation and (
'equipment_io_card' not in local_var_params or # noqa: E501
local_var_params['equipment_io_card'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_io_card` when calling `patch_equipment_io_card`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_io_card' in local_var_params:
body_params = local_var_params['equipment_io_card']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoCards/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoCard', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_io_expander(self, moid, equipment_io_expander,
**kwargs): # noqa: E501
"""Update a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_io_expander(moid, equipment_io_expander, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoExpander equipment_io_expander: The 'equipment.IoExpander' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoExpander
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_io_expander_with_http_info(
moid, equipment_io_expander, **kwargs) # noqa: E501
def patch_equipment_io_expander_with_http_info(self, moid,
equipment_io_expander,
**kwargs): # noqa: E501
"""Update a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_io_expander_with_http_info(moid, equipment_io_expander, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoExpander equipment_io_expander: The 'equipment.IoExpander' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoExpander, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_io_expander'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_io_expander" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_io_expander`"
) # noqa: E501
# verify the required parameter 'equipment_io_expander' is set
if self.api_client.client_side_validation and (
'equipment_io_expander' not in local_var_params
or # noqa: E501
local_var_params['equipment_io_expander'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_io_expander` when calling `patch_equipment_io_expander`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_io_expander' in local_var_params:
body_params = local_var_params['equipment_io_expander']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoExpanders/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoExpander', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_locator_led(self, moid, equipment_locator_led,
**kwargs): # noqa: E501
"""Update a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_locator_led(moid, equipment_locator_led, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentLocatorLed equipment_locator_led: The 'equipment.LocatorLed' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentLocatorLed
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_locator_led_with_http_info(
moid, equipment_locator_led, **kwargs) # noqa: E501
def patch_equipment_locator_led_with_http_info(self, moid,
equipment_locator_led,
**kwargs): # noqa: E501
"""Update a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_locator_led_with_http_info(moid, equipment_locator_led, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentLocatorLed equipment_locator_led: The 'equipment.LocatorLed' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentLocatorLed, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_locator_led'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_locator_led" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_locator_led`"
) # noqa: E501
# verify the required parameter 'equipment_locator_led' is set
if self.api_client.client_side_validation and (
'equipment_locator_led' not in local_var_params
or # noqa: E501
local_var_params['equipment_locator_led'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_locator_led` when calling `patch_equipment_locator_led`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_locator_led' in local_var_params:
body_params = local_var_params['equipment_locator_led']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/LocatorLeds/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentLocatorLed', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_psu(self, moid, equipment_psu, **kwargs): # noqa: E501
"""Update a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_psu(moid, equipment_psu, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentPsu equipment_psu: The 'equipment.Psu' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentPsu
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_psu_with_http_info(moid, equipment_psu,
**kwargs) # noqa: E501
def patch_equipment_psu_with_http_info(self, moid, equipment_psu,
**kwargs): # noqa: E501
"""Update a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_psu_with_http_info(moid, equipment_psu, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentPsu equipment_psu: The 'equipment.Psu' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentPsu, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_psu'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_psu" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_psu`"
) # noqa: E501
# verify the required parameter 'equipment_psu' is set
if self.api_client.client_side_validation and (
'equipment_psu' not in local_var_params or # noqa: E501
local_var_params['equipment_psu'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_psu` when calling `patch_equipment_psu`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_psu' in local_var_params:
body_params = local_var_params['equipment_psu']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Psus/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentPsu', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_rack_enclosure(self, moid, equipment_rack_enclosure,
**kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_rack_enclosure(moid, equipment_rack_enclosure, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosure equipment_rack_enclosure: The 'equipment.RackEnclosure' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosure
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_rack_enclosure_with_http_info(
moid, equipment_rack_enclosure, **kwargs) # noqa: E501
def patch_equipment_rack_enclosure_with_http_info(self, moid,
equipment_rack_enclosure,
**kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_rack_enclosure_with_http_info(moid, equipment_rack_enclosure, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosure equipment_rack_enclosure: The 'equipment.RackEnclosure' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosure, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_rack_enclosure'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method patch_equipment_rack_enclosure" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_rack_enclosure`"
) # noqa: E501
# verify the required parameter 'equipment_rack_enclosure' is set
if self.api_client.client_side_validation and (
'equipment_rack_enclosure' not in local_var_params
or # noqa: E501
local_var_params['equipment_rack_enclosure'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_rack_enclosure` when calling `patch_equipment_rack_enclosure`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_rack_enclosure' in local_var_params:
body_params = local_var_params['equipment_rack_enclosure']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosures/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosure', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_rack_enclosure_slot(self, moid,
equipment_rack_enclosure_slot,
**kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_rack_enclosure_slot(moid, equipment_rack_enclosure_slot, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosureSlot equipment_rack_enclosure_slot: The 'equipment.RackEnclosureSlot' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosureSlot
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_rack_enclosure_slot_with_http_info(
moid, equipment_rack_enclosure_slot, **kwargs) # noqa: E501
def patch_equipment_rack_enclosure_slot_with_http_info(
self, moid, equipment_rack_enclosure_slot, **kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_rack_enclosure_slot_with_http_info(moid, equipment_rack_enclosure_slot, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosureSlot equipment_rack_enclosure_slot: The 'equipment.RackEnclosureSlot' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosureSlot, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_rack_enclosure_slot'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method patch_equipment_rack_enclosure_slot" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_rack_enclosure_slot`"
) # noqa: E501
# verify the required parameter 'equipment_rack_enclosure_slot' is set
if self.api_client.client_side_validation and (
'equipment_rack_enclosure_slot' not in local_var_params
or # noqa: E501
local_var_params['equipment_rack_enclosure_slot'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_rack_enclosure_slot` when calling `patch_equipment_rack_enclosure_slot`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_rack_enclosure_slot' in local_var_params:
body_params = local_var_params['equipment_rack_enclosure_slot']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosureSlots/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosureSlot', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_shared_io_module(self, moid,
equipment_shared_io_module,
**kwargs): # noqa: E501
"""Update a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_shared_io_module(moid, equipment_shared_io_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSharedIoModule equipment_shared_io_module: The 'equipment.SharedIoModule' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSharedIoModule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_shared_io_module_with_http_info(
moid, equipment_shared_io_module, **kwargs) # noqa: E501
def patch_equipment_shared_io_module_with_http_info(
self, moid, equipment_shared_io_module, **kwargs): # noqa: E501
"""Update a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_shared_io_module_with_http_info(moid, equipment_shared_io_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSharedIoModule equipment_shared_io_module: The 'equipment.SharedIoModule' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSharedIoModule, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_shared_io_module'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method patch_equipment_shared_io_module" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_shared_io_module`"
) # noqa: E501
# verify the required parameter 'equipment_shared_io_module' is set
if self.api_client.client_side_validation and (
'equipment_shared_io_module' not in local_var_params
or # noqa: E501
local_var_params['equipment_shared_io_module'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_shared_io_module` when calling `patch_equipment_shared_io_module`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_shared_io_module' in local_var_params:
body_params = local_var_params['equipment_shared_io_module']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SharedIoModules/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSharedIoModule', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_switch_card(self, moid, equipment_switch_card,
**kwargs): # noqa: E501
"""Update a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_switch_card(moid, equipment_switch_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSwitchCard equipment_switch_card: The 'equipment.SwitchCard' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSwitchCard
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_switch_card_with_http_info(
moid, equipment_switch_card, **kwargs) # noqa: E501
def patch_equipment_switch_card_with_http_info(self, moid,
equipment_switch_card,
**kwargs): # noqa: E501
"""Update a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_switch_card_with_http_info(moid, equipment_switch_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSwitchCard equipment_switch_card: The 'equipment.SwitchCard' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSwitchCard, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_switch_card'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_switch_card" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_switch_card`"
) # noqa: E501
# verify the required parameter 'equipment_switch_card' is set
if self.api_client.client_side_validation and (
'equipment_switch_card' not in local_var_params
or # noqa: E501
local_var_params['equipment_switch_card'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_switch_card` when calling `patch_equipment_switch_card`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_switch_card' in local_var_params:
body_params = local_var_params['equipment_switch_card']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SwitchCards/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSwitchCard', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_system_io_controller(self, moid,
equipment_system_io_controller,
**kwargs): # noqa: E501
"""Update a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_system_io_controller(moid, equipment_system_io_controller, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSystemIoController equipment_system_io_controller: The 'equipment.SystemIoController' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSystemIoController
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_system_io_controller_with_http_info(
moid, equipment_system_io_controller, **kwargs) # noqa: E501
def patch_equipment_system_io_controller_with_http_info(
self, moid, equipment_system_io_controller,
**kwargs): # noqa: E501
"""Update a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_system_io_controller_with_http_info(moid, equipment_system_io_controller, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSystemIoController equipment_system_io_controller: The 'equipment.SystemIoController' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSystemIoController, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_system_io_controller'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method patch_equipment_system_io_controller" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_system_io_controller`"
) # noqa: E501
# verify the required parameter 'equipment_system_io_controller' is set
if self.api_client.client_side_validation and (
'equipment_system_io_controller' not in local_var_params
or # noqa: E501
local_var_params['equipment_system_io_controller'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_system_io_controller` when calling `patch_equipment_system_io_controller`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_system_io_controller' in local_var_params:
body_params = local_var_params['equipment_system_io_controller']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SystemIoControllers/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSystemIoController', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def patch_equipment_tpm(self, moid, equipment_tpm, **kwargs): # noqa: E501
"""Update a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_tpm(moid, equipment_tpm, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentTpm equipment_tpm: The 'equipment.Tpm' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentTpm
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.patch_equipment_tpm_with_http_info(moid, equipment_tpm,
**kwargs) # noqa: E501
def patch_equipment_tpm_with_http_info(self, moid, equipment_tpm,
**kwargs): # noqa: E501
"""Update a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_equipment_tpm_with_http_info(moid, equipment_tpm, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentTpm equipment_tpm: The 'equipment.Tpm' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentTpm, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_tpm'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method patch_equipment_tpm" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `patch_equipment_tpm`"
) # noqa: E501
# verify the required parameter 'equipment_tpm' is set
if self.api_client.client_side_validation and (
'equipment_tpm' not in local_var_params or # noqa: E501
local_var_params['equipment_tpm'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_tpm` when calling `patch_equipment_tpm`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_tpm' in local_var_params:
body_params = local_var_params['equipment_tpm']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Tpms/{Moid}',
'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentTpm', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_chassis(self, moid, equipment_chassis,
**kwargs): # noqa: E501
"""Update a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_chassis(moid, equipment_chassis, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentChassis equipment_chassis: The 'equipment.Chassis' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentChassis
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_chassis_with_http_info(
moid, equipment_chassis, **kwargs) # noqa: E501
def update_equipment_chassis_with_http_info(self, moid, equipment_chassis,
**kwargs): # noqa: E501
"""Update a 'equipment.Chassis' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_chassis_with_http_info(moid, equipment_chassis, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentChassis equipment_chassis: The 'equipment.Chassis' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentChassis, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_chassis'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_chassis" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_chassis`"
) # noqa: E501
# verify the required parameter 'equipment_chassis' is set
if self.api_client.client_side_validation and (
'equipment_chassis' not in local_var_params or # noqa: E501
local_var_params['equipment_chassis'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_chassis` when calling `update_equipment_chassis`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_chassis' in local_var_params:
body_params = local_var_params['equipment_chassis']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Chasses/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentChassis', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_fan(self, moid, equipment_fan,
**kwargs): # noqa: E501
"""Update a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_fan(moid, equipment_fan, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFan equipment_fan: The 'equipment.Fan' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFan
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_fan_with_http_info(
moid, equipment_fan, **kwargs) # noqa: E501
def update_equipment_fan_with_http_info(self, moid, equipment_fan,
**kwargs): # noqa: E501
"""Update a 'equipment.Fan' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_fan_with_http_info(moid, equipment_fan, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFan equipment_fan: The 'equipment.Fan' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFan, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_fan'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_fan" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_fan`"
) # noqa: E501
# verify the required parameter 'equipment_fan' is set
if self.api_client.client_side_validation and (
'equipment_fan' not in local_var_params or # noqa: E501
local_var_params['equipment_fan'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_fan` when calling `update_equipment_fan`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_fan' in local_var_params:
body_params = local_var_params['equipment_fan']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fans/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFan', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_fan_module(self, moid, equipment_fan_module,
**kwargs): # noqa: E501
"""Update a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_fan_module(moid, equipment_fan_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFanModule equipment_fan_module: The 'equipment.FanModule' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFanModule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_fan_module_with_http_info(
moid, equipment_fan_module, **kwargs) # noqa: E501
def update_equipment_fan_module_with_http_info(self, moid,
equipment_fan_module,
**kwargs): # noqa: E501
"""Update a 'equipment.FanModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_fan_module_with_http_info(moid, equipment_fan_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFanModule equipment_fan_module: The 'equipment.FanModule' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFanModule, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_fan_module'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_fan_module" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_fan_module`"
) # noqa: E501
# verify the required parameter 'equipment_fan_module' is set
if self.api_client.client_side_validation and (
'equipment_fan_module' not in local_var_params or # noqa: E501
local_var_params['equipment_fan_module'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_fan_module` when calling `update_equipment_fan_module`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_fan_module' in local_var_params:
body_params = local_var_params['equipment_fan_module']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/FanModules/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFanModule', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_fex(self, moid, equipment_fex,
**kwargs): # noqa: E501
"""Update a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_fex(moid, equipment_fex, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFex equipment_fex: The 'equipment.Fex' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentFex
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_fex_with_http_info(
moid, equipment_fex, **kwargs) # noqa: E501
def update_equipment_fex_with_http_info(self, moid, equipment_fex,
**kwargs): # noqa: E501
"""Update a 'equipment.Fex' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_fex_with_http_info(moid, equipment_fex, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentFex equipment_fex: The 'equipment.Fex' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentFex, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_fex'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_fex" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_fex`"
) # noqa: E501
# verify the required parameter 'equipment_fex' is set
if self.api_client.client_side_validation and (
'equipment_fex' not in local_var_params or # noqa: E501
local_var_params['equipment_fex'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_fex` when calling `update_equipment_fex`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_fex' in local_var_params:
body_params = local_var_params['equipment_fex']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Fexes/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentFex', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_io_card(self, moid, equipment_io_card,
**kwargs): # noqa: E501
"""Update a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_io_card(moid, equipment_io_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoCard equipment_io_card: The 'equipment.IoCard' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoCard
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_io_card_with_http_info(
moid, equipment_io_card, **kwargs) # noqa: E501
def update_equipment_io_card_with_http_info(self, moid, equipment_io_card,
**kwargs): # noqa: E501
"""Update a 'equipment.IoCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_io_card_with_http_info(moid, equipment_io_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoCard equipment_io_card: The 'equipment.IoCard' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoCard, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_io_card'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_io_card" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_io_card`"
) # noqa: E501
# verify the required parameter 'equipment_io_card' is set
if self.api_client.client_side_validation and (
'equipment_io_card' not in local_var_params or # noqa: E501
local_var_params['equipment_io_card'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_io_card` when calling `update_equipment_io_card`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_io_card' in local_var_params:
body_params = local_var_params['equipment_io_card']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoCards/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoCard', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_io_expander(self, moid, equipment_io_expander,
**kwargs): # noqa: E501
"""Update a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_io_expander(moid, equipment_io_expander, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoExpander equipment_io_expander: The 'equipment.IoExpander' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentIoExpander
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_io_expander_with_http_info(
moid, equipment_io_expander, **kwargs) # noqa: E501
def update_equipment_io_expander_with_http_info(self, moid,
equipment_io_expander,
**kwargs): # noqa: E501
"""Update a 'equipment.IoExpander' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_io_expander_with_http_info(moid, equipment_io_expander, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentIoExpander equipment_io_expander: The 'equipment.IoExpander' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentIoExpander, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_io_expander'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_io_expander" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_io_expander`"
) # noqa: E501
# verify the required parameter 'equipment_io_expander' is set
if self.api_client.client_side_validation and (
'equipment_io_expander' not in local_var_params
or # noqa: E501
local_var_params['equipment_io_expander'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_io_expander` when calling `update_equipment_io_expander`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_io_expander' in local_var_params:
body_params = local_var_params['equipment_io_expander']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/IoExpanders/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentIoExpander', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_locator_led(self, moid, equipment_locator_led,
**kwargs): # noqa: E501
"""Update a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_locator_led(moid, equipment_locator_led, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentLocatorLed equipment_locator_led: The 'equipment.LocatorLed' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentLocatorLed
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_locator_led_with_http_info(
moid, equipment_locator_led, **kwargs) # noqa: E501
def update_equipment_locator_led_with_http_info(self, moid,
equipment_locator_led,
**kwargs): # noqa: E501
"""Update a 'equipment.LocatorLed' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_locator_led_with_http_info(moid, equipment_locator_led, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentLocatorLed equipment_locator_led: The 'equipment.LocatorLed' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentLocatorLed, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_locator_led'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_locator_led" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_locator_led`"
) # noqa: E501
# verify the required parameter 'equipment_locator_led' is set
if self.api_client.client_side_validation and (
'equipment_locator_led' not in local_var_params
or # noqa: E501
local_var_params['equipment_locator_led'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_locator_led` when calling `update_equipment_locator_led`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_locator_led' in local_var_params:
body_params = local_var_params['equipment_locator_led']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/LocatorLeds/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentLocatorLed', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_psu(self, moid, equipment_psu,
**kwargs): # noqa: E501
"""Update a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_psu(moid, equipment_psu, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentPsu equipment_psu: The 'equipment.Psu' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentPsu
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_psu_with_http_info(
moid, equipment_psu, **kwargs) # noqa: E501
def update_equipment_psu_with_http_info(self, moid, equipment_psu,
**kwargs): # noqa: E501
"""Update a 'equipment.Psu' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_psu_with_http_info(moid, equipment_psu, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentPsu equipment_psu: The 'equipment.Psu' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentPsu, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_psu'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_psu" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_psu`"
) # noqa: E501
# verify the required parameter 'equipment_psu' is set
if self.api_client.client_side_validation and (
'equipment_psu' not in local_var_params or # noqa: E501
local_var_params['equipment_psu'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_psu` when calling `update_equipment_psu`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_psu' in local_var_params:
body_params = local_var_params['equipment_psu']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Psus/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentPsu', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_rack_enclosure(self, moid, equipment_rack_enclosure,
**kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_rack_enclosure(moid, equipment_rack_enclosure, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosure equipment_rack_enclosure: The 'equipment.RackEnclosure' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosure
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_rack_enclosure_with_http_info(
moid, equipment_rack_enclosure, **kwargs) # noqa: E501
def update_equipment_rack_enclosure_with_http_info(
self, moid, equipment_rack_enclosure, **kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosure' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_rack_enclosure_with_http_info(moid, equipment_rack_enclosure, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosure equipment_rack_enclosure: The 'equipment.RackEnclosure' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosure, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_rack_enclosure'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method update_equipment_rack_enclosure" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_rack_enclosure`"
) # noqa: E501
# verify the required parameter 'equipment_rack_enclosure' is set
if self.api_client.client_side_validation and (
'equipment_rack_enclosure' not in local_var_params
or # noqa: E501
local_var_params['equipment_rack_enclosure'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_rack_enclosure` when calling `update_equipment_rack_enclosure`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_rack_enclosure' in local_var_params:
body_params = local_var_params['equipment_rack_enclosure']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosures/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosure', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_rack_enclosure_slot(self, moid,
equipment_rack_enclosure_slot,
**kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_rack_enclosure_slot(moid, equipment_rack_enclosure_slot, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosureSlot equipment_rack_enclosure_slot: The 'equipment.RackEnclosureSlot' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentRackEnclosureSlot
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_rack_enclosure_slot_with_http_info(
moid, equipment_rack_enclosure_slot, **kwargs) # noqa: E501
def update_equipment_rack_enclosure_slot_with_http_info(
self, moid, equipment_rack_enclosure_slot, **kwargs): # noqa: E501
"""Update a 'equipment.RackEnclosureSlot' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_rack_enclosure_slot_with_http_info(moid, equipment_rack_enclosure_slot, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentRackEnclosureSlot equipment_rack_enclosure_slot: The 'equipment.RackEnclosureSlot' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentRackEnclosureSlot, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_rack_enclosure_slot'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method update_equipment_rack_enclosure_slot" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_rack_enclosure_slot`"
) # noqa: E501
# verify the required parameter 'equipment_rack_enclosure_slot' is set
if self.api_client.client_side_validation and (
'equipment_rack_enclosure_slot' not in local_var_params
or # noqa: E501
local_var_params['equipment_rack_enclosure_slot'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_rack_enclosure_slot` when calling `update_equipment_rack_enclosure_slot`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_rack_enclosure_slot' in local_var_params:
body_params = local_var_params['equipment_rack_enclosure_slot']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/RackEnclosureSlots/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentRackEnclosureSlot', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_shared_io_module(self, moid,
equipment_shared_io_module,
**kwargs): # noqa: E501
"""Update a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_shared_io_module(moid, equipment_shared_io_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSharedIoModule equipment_shared_io_module: The 'equipment.SharedIoModule' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSharedIoModule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_shared_io_module_with_http_info(
moid, equipment_shared_io_module, **kwargs) # noqa: E501
def update_equipment_shared_io_module_with_http_info(
self, moid, equipment_shared_io_module, **kwargs): # noqa: E501
"""Update a 'equipment.SharedIoModule' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_shared_io_module_with_http_info(moid, equipment_shared_io_module, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSharedIoModule equipment_shared_io_module: The 'equipment.SharedIoModule' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSharedIoModule, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_shared_io_module'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method update_equipment_shared_io_module" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_shared_io_module`"
) # noqa: E501
# verify the required parameter 'equipment_shared_io_module' is set
if self.api_client.client_side_validation and (
'equipment_shared_io_module' not in local_var_params
or # noqa: E501
local_var_params['equipment_shared_io_module'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_shared_io_module` when calling `update_equipment_shared_io_module`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_shared_io_module' in local_var_params:
body_params = local_var_params['equipment_shared_io_module']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SharedIoModules/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSharedIoModule', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_switch_card(self, moid, equipment_switch_card,
**kwargs): # noqa: E501
"""Update a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_switch_card(moid, equipment_switch_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSwitchCard equipment_switch_card: The 'equipment.SwitchCard' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSwitchCard
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_switch_card_with_http_info(
moid, equipment_switch_card, **kwargs) # noqa: E501
def update_equipment_switch_card_with_http_info(self, moid,
equipment_switch_card,
**kwargs): # noqa: E501
"""Update a 'equipment.SwitchCard' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_switch_card_with_http_info(moid, equipment_switch_card, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSwitchCard equipment_switch_card: The 'equipment.SwitchCard' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSwitchCard, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_switch_card'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_switch_card" %
key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_switch_card`"
) # noqa: E501
# verify the required parameter 'equipment_switch_card' is set
if self.api_client.client_side_validation and (
'equipment_switch_card' not in local_var_params
or # noqa: E501
local_var_params['equipment_switch_card'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_switch_card` when calling `update_equipment_switch_card`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_switch_card' in local_var_params:
body_params = local_var_params['equipment_switch_card']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SwitchCards/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSwitchCard', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_system_io_controller(self, moid,
equipment_system_io_controller,
**kwargs): # noqa: E501
"""Update a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_system_io_controller(moid, equipment_system_io_controller, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSystemIoController equipment_system_io_controller: The 'equipment.SystemIoController' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentSystemIoController
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_system_io_controller_with_http_info(
moid, equipment_system_io_controller, **kwargs) # noqa: E501
def update_equipment_system_io_controller_with_http_info(
self, moid, equipment_system_io_controller,
**kwargs): # noqa: E501
"""Update a 'equipment.SystemIoController' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_system_io_controller_with_http_info(moid, equipment_system_io_controller, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentSystemIoController equipment_system_io_controller: The 'equipment.SystemIoController' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentSystemIoController, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_system_io_controller'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method update_equipment_system_io_controller" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_system_io_controller`"
) # noqa: E501
# verify the required parameter 'equipment_system_io_controller' is set
if self.api_client.client_side_validation and (
'equipment_system_io_controller' not in local_var_params
or # noqa: E501
local_var_params['equipment_system_io_controller'] is None
): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_system_io_controller` when calling `update_equipment_system_io_controller`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_system_io_controller' in local_var_params:
body_params = local_var_params['equipment_system_io_controller']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/SystemIoControllers/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentSystemIoController', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
def update_equipment_tpm(self, moid, equipment_tpm,
**kwargs): # noqa: E501
"""Update a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_tpm(moid, equipment_tpm, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentTpm equipment_tpm: The 'equipment.Tpm' resource to update. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: EquipmentTpm
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.update_equipment_tpm_with_http_info(
moid, equipment_tpm, **kwargs) # noqa: E501
def update_equipment_tpm_with_http_info(self, moid, equipment_tpm,
**kwargs): # noqa: E501
"""Update a 'equipment.Tpm' resource. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_equipment_tpm_with_http_info(moid, equipment_tpm, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str moid: The unique Moid identifier of a resource instance. (required)
:param EquipmentTpm equipment_tpm: The 'equipment.Tpm' resource to update. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(EquipmentTpm, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['moid', 'equipment_tpm'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'"
" to method update_equipment_tpm" % key)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'moid' is set
if self.api_client.client_side_validation and (
'moid' not in local_var_params or # noqa: E501
local_var_params['moid'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `moid` when calling `update_equipment_tpm`"
) # noqa: E501
# verify the required parameter 'equipment_tpm' is set
if self.api_client.client_side_validation and (
'equipment_tpm' not in local_var_params or # noqa: E501
local_var_params['equipment_tpm'] is None): # noqa: E501
raise ApiValueError(
"Missing the required parameter `equipment_tpm` when calling `update_equipment_tpm`"
) # noqa: E501
collection_formats = {}
path_params = {}
if 'moid' in local_var_params:
path_params['Moid'] = local_var_params['moid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'equipment_tpm' in local_var_params:
body_params = local_var_params['equipment_tpm']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params[
'Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json',
'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['cookieAuth', 'oAuth2'] # noqa: E501
return self.api_client.call_api(
'/equipment/Tpms/{Moid}',
'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='EquipmentTpm', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get(
'_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)
| 58.74225 | 1,389 | 0.640001 | 54,982 | 464,240 | 5.210942 | 0.008566 | 0.03669 | 0.058539 | 0.016307 | 0.991428 | 0.991348 | 0.990988 | 0.990405 | 0.989683 | 0.989278 | 0 | 0.011854 | 0.293654 | 464,240 | 7,902 | 1,390 | 58.749684 | 0.861875 | 0.531977 | 0 | 0.893958 | 0 | 0 | 0.188502 | 0.072865 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028391 | false | 0 | 0.001213 | 0 | 0.057996 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7f98d74495f12f0643d7f9eeccbe391516a097b8 | 23,320 | py | Python | jmeter/experiment/03_PPTAM_Import/pptam-toolchain/manage.py | radon-h2020/demo-ctt-todolistapi | 06c78912508de20d89a9f3cba7c0bae5a2f2f87d | [
"Apache-2.0"
] | null | null | null | jmeter/experiment/03_PPTAM_Import/pptam-toolchain/manage.py | radon-h2020/demo-ctt-todolistapi | 06c78912508de20d89a9f3cba7c0bae5a2f2f87d | [
"Apache-2.0"
] | null | null | null | jmeter/experiment/03_PPTAM_Import/pptam-toolchain/manage.py | radon-h2020/demo-ctt-todolistapi | 06c78912508de20d89a9f3cba7c0bae5a2f2f87d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import os
import argparse
import logging
import configparser
import psycopg2
from datetime import datetime
import uuid
import sys
from tabulate import tabulate
def get_scalar(command):
connection = None
try:
connection = psycopg2.connect(host="localhost", port=5432, dbname="pptam", user="postgres", password="postgres")
with connection:
with connection.cursor() as cursor:
cursor.execute(command)
record = cursor.fetchone()
if record is not None:
record = record[0]
return record
finally:
if connection is not None:
connection.close()
def execute_query_with_result(command, headers):
connection = None
try:
connection = psycopg2.connect(host="localhost", port=5432, dbname="pptam", user="postgres", password="postgres")
with connection:
with connection.cursor() as cursor:
cursor.execute(command)
records = cursor.fetchall()
if cursor.rowcount>0:
print("\n" + tabulate(records, headers=headers) + "\n")
else:
print("No results.\n")
finally:
if connection is not None:
connection.close()
def execute_command_without_result(command):
connection = None
try:
connection = psycopg2.connect(host="localhost", port=5432, dbname="pptam", user="postgres", password="postgres")
with connection:
with connection.cursor() as cursor:
cursor.execute(command)
print(f"The command was executed successfully.")
print("")
finally:
if connection is not None:
connection.close()
def projects_list(args):
query = f"SELECT id, name FROM projects ORDER BY name"
headers = ["ID", "Name"]
execute_query_with_result(query, headers)
def project_create(args):
query = f"INSERT INTO projects(name) VALUES ('{args.name}')"
execute_command_without_result(query)
def project_delete(args):
query = f"DELETE FROM projects WHERE name = '{args.name}'"
execute_command_without_result(query)
def tests_list(args):
query = f"SELECT tests.id, projects.name, tests.name FROM tests INNER JOIN projects ON tests.project = projects.id WHERE projects.name = '{args.project}' ORDER BY projects.name, tests.name"
headers = ["ID", "Project", "Name"]
execute_query_with_result(query, headers)
def test_rename(args):
query = f"UPDATE tests SET name = '{args.name2}' WHERE name = '{args.name1}' AND project = (SELECT id FROM projects WHERE name = '{args.project}')"
execute_command_without_result(query)
def test_delete(args):
query = f"DELETE FROM tests WHERE name = '{args.name}'"
execute_command_without_result(query)
def test_link(args):
test_set_id = get_scalar(f"SELECT test_sets.id FROM test_sets INNER JOIN projects ON test_sets.project = projects.id WHERE test_sets.name = '{args.set}' AND projects.name = '{args.project}'")
if test_set_id is None:
print("Cannot find test set.")
else:
test_id = get_scalar(f"SELECT tests.id FROM tests INNER JOIN projects ON tests.project = projects.id WHERE tests.name = '{args.test}' AND projects.name = '{args.project}'")
if test_id is None:
print("Cannot find test.")
else:
query = f"INSERT INTO test_set_tests (test_set, test) VALUES ('{test_set_id}', '{test_id}')"
execute_command_without_result(query)
def profiles_list(args):
query = f"SELECT operational_profiles.id, projects.name, operational_profiles.name FROM operational_profiles INNER JOIN projects ON operational_profiles.project = projects.id WHERE projects.name = '{args.project}' ORDER BY projects.name, operational_profiles.name"
headers = ["ID", "Project", "Name"]
execute_query_with_result(query, headers)
def profile_rename(args):
query = f"UPDATE operational_profiles SET name = '{args.name2}' WHERE name = '{args.name1}' AND project = (SELECT id FROM projects WHERE name = '{args.project}')"
execute_command_without_result(query)
def profile_delete(args):
query = f"DELETE FROM operational_profiles WHERE name = '{args.name}'"
execute_command_without_result(query)
def sets_list(args):
query = f"SELECT test_sets.id, projects.name, test_sets.name, count(test_set_tests.id) FROM test_sets LEFT OUTER JOIN test_set_tests ON test_sets.id = test_set_tests.test_set INNER JOIN projects ON test_sets.project = projects.id WHERE projects.name = '{args.project}' GROUP BY test_sets.id, projects.name, test_sets.name ORDER BY test_sets.id, projects.name, test_sets.name"
headers = ["ID", "Project", "Name", "Tests"]
execute_query_with_result(query, headers)
def set_create(args):
project_id = get_scalar(f"SELECT id FROM projects WHERE name = '{args.project}'")
if project_id is None:
print("Cannot find project.")
else:
query = f"INSERT INTO test_sets (project, name) VALUES ('{project_id}', '{args.name}')"
execute_command_without_result(query)
def set_rename(args):
query = f"UPDATE test_sets SET name = '{args.name2}' WHERE name = '{args.name1}' AND project = (SELECT id FROM projects WHERE name = '{args.project}')"
execute_command_without_result(query)
def set_delete(args):
query = f"DELETE FROM test_sets WHERE name = '{args.name}'"
execute_command_without_result(query)
def set_show(args):
query = f"SELECT tests.id, tests.name FROM tests INNER JOIN projects ON tests.project = projects.id INNER JOIN test_set_tests ON test_set_tests.test = tests.id INNER JOIN test_sets ON test_set_tests.test_set = test_sets.id WHERE projects.name = '{args.project}' AND test_sets.name = '{args.set}' ORDER BY tests.name"
headers = ["ID", "Name"]
execute_query_with_result(query, headers)
def sample_addop(args):
project_id = get_scalar(f"SELECT id FROM projects WHERE name = '{args.project}'")
if project_id is None:
print("Cannot find project.")
else:
id = str(uuid.uuid4())
if args.number==1:
query = f"""
INSERT INTO operational_profiles (id, project, name) VALUES ('{id}', '{project_id}', 'Operational Profile');
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',15,3);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',16,11);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',17,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',18,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',19,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',20,8);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',25,2);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',26,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',27,2);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',28,2);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',30,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',31,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',32,8);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',33,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',34,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',35,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',36,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',37,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',38,5);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',39,1);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',40,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',41,3);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',42,3);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',43,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',45,10);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',50,13);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',55,21);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',57,10);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',60,20);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',65,12);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',70,19);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',75,25);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',80,28);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',85,26);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',90,18);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',95,16);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',120,1);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',100,17);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',105,15);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',110,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',115,1);"""
execute_command_without_result(query)
if args.number==2:
query = f"""
INSERT INTO operational_profiles (id, project, name) VALUES ('{id}', '{project_id}', 'Operational Profile');
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',0,3);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',1,11);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',2,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',3,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',4,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',5,8);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',10,2);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',11,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',12,2);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',13,2);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',15,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',16,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',17,8);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',18,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',19,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',20,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',21,7);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',22,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',23,5);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',24,1);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',25,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',26,3);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',27,3);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',28,4);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',30,10);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',35,13);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',40,21);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',42,10);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',45,20);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',50,12);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',55,19);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',60,25);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',65,28);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',70,26);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',75,18);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',80,16);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',105,1);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',85,17);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',90,15);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',95,6);
INSERT INTO operational_profile_observations (operational_profile, users, frequency) VALUES ('{id}',100,1);"""
execute_command_without_result(query)
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Organize items stored in the database")
parser.add_argument("--logging", help="Logging level from 1 (everything) to 5 (nothing)", type=int, choices=range(1, 6), default=1)
subparsers = parser.add_subparsers(dest="command", required=True, help="One of the following commands:")
subparser_projects = subparsers.add_parser("projects", help="Manage projects")
subparser_projects_subparser = subparser_projects.add_subparsers(dest="action", required=True, help="One of the following actions:")
subparser_projects_subparser_create = subparser_projects_subparser.add_parser("create", help="Create projects")
subparser_projects_subparser_create.add_argument("name", help="The name of the project")
subparser_projects_subparser_delete = subparser_projects_subparser.add_parser("delete", help="Delete projects")
subparser_projects_subparser_delete.add_argument("name", help="The name of the project")
subparser_projects_subparser_list = subparser_projects_subparser.add_parser("list", help="List projects")
subparser_profiles = subparsers.add_parser("profiles", help="Manage operational profiles")
subparser_profiles_subparser = subparser_profiles.add_subparsers(dest="action", required=True, help="One of the following actions:")
subparser_profiles_subparser_rename = subparser_profiles_subparser.add_parser("rename", help="Rename operational profiles")
subparser_profiles_subparser_rename.add_argument("project", help="The name of the project")
subparser_profiles_subparser_rename.add_argument("name1", help="The name of the operational profile to rename")
subparser_profiles_subparser_rename.add_argument("name2", help="The new name of the operational profile to rename")
subparser_profiles_subparser_delete = subparser_profiles_subparser.add_parser("delete", help="Delete operational profiles")
subparser_profiles_subparser_delete.add_argument("project", help="The name of the project")
subparser_profiles_subparser_delete.add_argument("name", help="The name of the operational profile")
subparser_profiles_subparser_list = subparser_profiles_subparser.add_parser("list", help="List operational profiles")
subparser_profiles_subparser_list.add_argument("project", help="The name of the project")
subparser_sets = subparsers.add_parser("sets", help="Manage test sets")
subparser_sets_subparser = subparser_sets.add_subparsers(dest="action", required=True, help="One of the following actions:")
subparser_sets_subparser_rename = subparser_sets_subparser.add_parser("rename", help="Rename test sets")
subparser_sets_subparser_rename.add_argument("project", help="The name of the project")
subparser_sets_subparser_rename.add_argument("name1", help="The name of the test set to rename")
subparser_sets_subparser_rename.add_argument("name2", help="The new name of the test set to rename")
subparser_sets_subparser_delete = subparser_sets_subparser.add_parser("delete", help="Delete test sets")
subparser_sets_subparser_delete.add_argument("project", help="The name of the project")
subparser_sets_subparser_delete.add_argument("name", help="The name of the test set")
subparser_sets_subparser_list = subparser_sets_subparser.add_parser("list", help="List test sets")
subparser_sets_subparser_list.add_argument("project", help="The name of the project")
subparser_sets_subparser_create = subparser_sets_subparser.add_parser("create", help="Create test sets")
subparser_sets_subparser_create.add_argument("project", help="The name of the project")
subparser_sets_subparser_create.add_argument("name", help="The name of the test set")
subparser_sets_subparser_show = subparser_sets_subparser.add_parser("show", help="Show tests within a test set")
subparser_sets_subparser_show.add_argument("project", help="The name of the project")
subparser_sets_subparser_show.add_argument("set", help="The name of the test set")
subparser_tests = subparsers.add_parser("tests", help="Manage tests")
subparser_tests_subparser = subparser_tests.add_subparsers(dest="action", required=True, help="One of the following actions:")
subparser_tests_subparser_rename = subparser_tests_subparser.add_parser("rename", help="Rename tests")
subparser_tests_subparser_rename.add_argument("project", help="The name of the project")
subparser_tests_subparser_rename.add_argument("name1", help="The name of the test to rename")
subparser_tests_subparser_rename.add_argument("name2", help="The new name of the test to rename")
subparser_tests_subparser_delete = subparser_tests_subparser.add_parser("delete", help="Delete tests")
subparser_tests_subparser_delete.add_argument("project", help="The name of the project")
subparser_tests_subparser_delete.add_argument("name", help="The name of the test")
subparser_tests_subparser_list = subparser_tests_subparser.add_parser("list", help="List tests")
subparser_tests_subparser_list.add_argument("project", help="The name of the project")
subparser_tests_subparser_link = subparser_tests_subparser.add_parser("link", help="Link tests to test sets")
subparser_tests_subparser_link.add_argument("project", help="The name of the project")
subparser_tests_subparser_link.add_argument("test", help="The name of the test")
subparser_tests_subparser_link.add_argument("set", help="The name of the test set")
subparser_sample = subparsers.add_parser("sample", help="Manage sample data")
subparser_sample_subparser = subparser_sample.add_subparsers(dest="action", required=True, help="One of the following actions:")
subparser_sample_subparser_add = subparser_sample_subparser.add_parser("op", help="Add sample operational profile")
subparser_sample_subparser_add.add_argument("project", help="The name of the project")
subparser_sample_subparser_add.add_argument("number", help="The number of the operational profile", type=int, choices=[1, 2])
args = parser.parse_args()
logging.basicConfig(format="%(message)s", level=args.logging * 10)
switcher = {
"projects_list": projects_list,
"projects_create": project_create,
"projects_delete": project_delete,
"profiles_list": profiles_list,
"profiles_rename": profile_rename,
"profiles_delete": profile_delete,
"sets_list": sets_list,
"sets_rename": set_rename,
"sets_delete": set_delete,
"sets_create": set_create,
"sets_show": set_show,
"tests_list": tests_list,
"tests_rename": test_rename,
"tests_delete": test_delete,
"tests_link": test_link,
"sample_op": sample_addop,
}
switcher.get(args.command + "_" + args.action)(args)
| 70.03003 | 379 | 0.722556 | 2,836 | 23,320 | 5.704866 | 0.073695 | 0.190247 | 0.10903 | 0.141912 | 0.842697 | 0.794363 | 0.730948 | 0.713208 | 0.707028 | 0.68935 | 0 | 0.016543 | 0.170497 | 23,320 | 332 | 380 | 70.240964 | 0.819841 | 0.000901 | 0 | 0.21875 | 0 | 0.038194 | 0.629453 | 0.193922 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065972 | false | 0.010417 | 0.03125 | 0 | 0.100694 | 0.027778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
122db84e0b1e04c0bde477bf6d5fbf2cf9efaa18 | 321 | py | Python | src/google_music_scripts/__init__.py | cqcallaw/google-music-scripts | a05e61fb2b5da677bde2489c1a845cce3b891dd2 | [
"MIT"
] | null | null | null | src/google_music_scripts/__init__.py | cqcallaw/google-music-scripts | a05e61fb2b5da677bde2489c1a845cce3b891dd2 | [
"MIT"
] | null | null | null | src/google_music_scripts/__init__.py | cqcallaw/google-music-scripts | a05e61fb2b5da677bde2489c1a845cce3b891dd2 | [
"MIT"
] | null | null | null | from .__about__ import (
__author__,
__author_email__,
__copyright__,
__license__,
__summary__,
__title__,
__url__,
__version__,
__version_info__,
)
__all__ = [
'__author__',
'__author_email__',
'__copyright__',
'__license__',
'__summary__',
'__title__',
'__url__',
'__version__',
'__version_info__'
]
| 13.375 | 24 | 0.728972 | 26 | 321 | 5.769231 | 0.5 | 0.16 | 0.226667 | 0.346667 | 0.88 | 0.88 | 0.88 | 0.88 | 0.88 | 0.88 | 0 | 0 | 0.143302 | 321 | 23 | 25 | 13.956522 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.323988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
123b38112d77cc8cff0b7aa9a5c0e56fb6a5fe06 | 1,505 | py | Python | Plugins/UnrealEnginePython/Binaries/Win64/Lib/site-packages/tensorflow/_api/v1/keras/preprocessing/image/__init__.py | JustinACoder/H22-GR3-UnrealAI | 361eb9ef1147f8a2991e5f98c4118cd823184adf | [
"MIT"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/_api/v1/keras/preprocessing/image/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/keras/preprocessing/image/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Set of tools for real-time data augmentation on image data.
"""
from __future__ import print_function
from tensorflow.python.keras.preprocessing.image import DirectoryIterator
from tensorflow.python.keras.preprocessing.image import ImageDataGenerator
from tensorflow.python.keras.preprocessing.image import Iterator
from tensorflow.python.keras.preprocessing.image import NumpyArrayIterator
from tensorflow.python.keras.preprocessing.image import apply_affine_transform
from tensorflow.python.keras.preprocessing.image import apply_brightness_shift
from tensorflow.python.keras.preprocessing.image import apply_channel_shift
from tensorflow.python.keras.preprocessing.image import array_to_img
from tensorflow.python.keras.preprocessing.image import img_to_array
from tensorflow.python.keras.preprocessing.image import load_img
from tensorflow.python.keras.preprocessing.image import random_brightness
from tensorflow.python.keras.preprocessing.image import random_channel_shift
from tensorflow.python.keras.preprocessing.image import random_rotation
from tensorflow.python.keras.preprocessing.image import random_shear
from tensorflow.python.keras.preprocessing.image import random_shift
from tensorflow.python.keras.preprocessing.image import random_zoom
from tensorflow.python.keras.preprocessing.image import save_img
del print_function
| 53.75 | 83 | 0.85515 | 194 | 1,505 | 6.494845 | 0.273196 | 0.228571 | 0.269841 | 0.337302 | 0.733333 | 0.733333 | 0.733333 | 0.5 | 0.149206 | 0 | 0 | 0 | 0.086379 | 1,505 | 27 | 84 | 55.740741 | 0.916364 | 0.123588 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.947368 | 0 | 0.947368 | 0.105263 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
89fecbec65591c2c3e0f567b9be659c126acd8f8 | 210 | py | Python | src/main/views.py | kid7960/Uni-board | 6a9525bef972a31576fc5dc190d9fe106e701c3e | [
"MIT"
] | null | null | null | src/main/views.py | kid7960/Uni-board | 6a9525bef972a31576fc5dc190d9fe106e701c3e | [
"MIT"
] | null | null | null | src/main/views.py | kid7960/Uni-board | 6a9525bef972a31576fc5dc190d9fe106e701c3e | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(response):
return render(response, "main/home.html", {})
# def home(response):
# return render(response, "main/home.html", {})
| 21 | 51 | 0.690476 | 27 | 210 | 5.37037 | 0.592593 | 0.193103 | 0.275862 | 0.386207 | 0.551724 | 0.551724 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 210 | 9 | 52 | 23.333333 | 0.823864 | 0.442857 | 0 | 0 | 0 | 0 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
c3a054418b54f6af5ce7dab26822dcf63b9b0447 | 1,992 | py | Python | pyctrl/system/__init__.py | ComplexArts/pyctrl-core | a72bd53924410c2e7f1e71c8188a0391550febdd | [
"Apache-2.0"
] | 12 | 2017-06-20T13:20:40.000Z | 2021-01-18T00:12:10.000Z | pyctrl/system/__init__.py | mcdeoliveira/beaglebone | 6c6062c6d1e9902178500abcd10be6ac0bcf043d | [
"Apache-2.0"
] | 2 | 2017-06-12T15:17:24.000Z | 2018-01-30T18:22:19.000Z | pyctrl/system/__init__.py | mcdeoliveira/beaglebone | 6c6062c6d1e9902178500abcd10be6ac0bcf043d | [
"Apache-2.0"
] | 4 | 2017-09-25T12:19:19.000Z | 2019-01-31T21:46:24.000Z | """
This module provides objects that can be used to represent time-invariant and time-varying dynamic systems.
"""
class System:
"""
Base class for dynamic time-invariant systems.
"""
def set_output(self, yk):
"""
Sets the internal state of the :py:class:`pyctrl.system.System` so
that a call to :py:meth:`pyctrl.system.System.update` with
:py:data:`uk = 0` yields :py:attr:`yk`.
:param yk: scalar desired :py:attr:`yk`
"""
raise SystemException("Method not implemented")
def shape(self):
"""
Shape of a :py:class:`pyctrl.system.System`
:return: tuple with number of inputs, number of outputs and order
"""
pass
def update(self, uk):
"""
Time update :py:class:`pyctrl.system.System` model.
:param uk: the input :py:attr:`uk`
:return: the output of the model
"""
pass
class TVSystem(System):
"""
Base class for dynamic time-varying systems.
"""
def set_output(self, tk, yk):
"""
Sets the internal state of the :py:class:`pyctrl.system.TVSystem` so
that a call to :py:meth:`pyctrl.system.System.update` with
:py:data:`uk = 0` and :py:attr:`tk` yields :py:attr:`yk`.
:param yk: scalar desired :py:attr:`yk`
"""
raise SystemException("Method not implemented")
def shape(self):
"""
Shape of a :py:class:`pyctrl.system.System`
:return: tuple with number of inputs, number of outputs and order
"""
pass
def update(self, tk, uk):
"""
Time update :py:class:`pyctrl.system.System` model.
:param tk: the time :py:attr:`tk`
:param uk: the input :py:attr:`uk`
:return: the output of the model
"""
pass
class SystemException(Exception):
"""
Exception class for module :py:mod:`pyctrl.system`.
"""
pass
| 26.56 | 107 | 0.571285 | 255 | 1,992 | 4.454902 | 0.254902 | 0.09507 | 0.110915 | 0.100352 | 0.800176 | 0.754401 | 0.703345 | 0.703345 | 0.703345 | 0.703345 | 0 | 0.001444 | 0.304719 | 1,992 | 74 | 108 | 26.918919 | 0.818773 | 0.593876 | 0 | 0.5625 | 0 | 0 | 0.088353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.3125 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
c3b14621c4571c0608367faad654a97304185d8f | 18,007 | py | Python | fart/fonts/univers.py | evdcush/fart | 82c8a5b355a0b8d2833f3583a40780862c3be0aa | [
"BSD-3-Clause"
] | 7 | 2020-03-23T13:13:36.000Z | 2022-02-26T14:46:04.000Z | fart/fonts/univers.py | evdcush/fart | 82c8a5b355a0b8d2833f3583a40780862c3be0aa | [
"BSD-3-Clause"
] | null | null | null | fart/fonts/univers.py | evdcush/fart | 82c8a5b355a0b8d2833f3583a40780862c3be0aa | [
"BSD-3-Clause"
] | null | null | null | font = {
' ' : [
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
],
'!' : [
' ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'"" ',
'aa ',
'88 ',
' ',
' ',
],
'"' : [
' ',
'88 88 ',
'88 88 ',
'"" "" ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
],
'#' : [
' ',
' 88 88 ',
' 88 88 ',
'aa88aaa88aa ',
'""88"""88"" ',
'aa88aaa88aa ',
'""88"""88"" ',
' 88 88 ',
' 88 88 ',
' ',
' ',
],
'$' : [
' 8 8 ',
' ad88888ba ',
'd8" 8 8 "8b ',
'Y8, 8 8 ',
'`Y8a8a8a, ',
' `"8"8"8b, ',
' 8 8 `8b ',
'Y8a 8 8 a8P ',
' "Y88888P" ',
' 8 8 ',
' ',
],
'%' : [
' ',
',adba, ,d8 ',
'8I I8 ,d8" ',
'"fbdP\' ,d8" ',
' ,d8" ',
' ,d8" ',
' ,d8" ,adba, ',
',d8" 8I I8 ',
'8" "fbdP\' ',
' ',
' ',
],
'&' : [
' ',
' ,adba, ',
' 8I I8 ',
' "8bdP\' ',
' ,d8"8b 88 ',
".dP' Yb,8I ",
"8P 888' ",
'8b, ,dP8b ',
'`Y8888P" Yb ',
' ',
' ',
],
"'" : [
' ',
" d8' ",
" d8' ",
'"" ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
],
'(' : [
' a8 ',
" d8' ",
" d8' ",
"d8' ",
'88 ',
'88 ',
'Y8, ',
' Y8, ',
' Y8, ',
' "8 ',
' ',
],
')' : [
'8a ',
'`8b ',
' `8b ',
' `8b ',
' 88 ',
' 88 ',
' ,8P ',
' ,8P ',
',8P ',
'8" ',
' ',
],
'*' : [
' ',
' ',
' I8a a8I ',
' "Yb,,dP" ',
'aaaa8888aaaa ',
'""""8888"""" ',
" ,dP'`Yb, ",
' I8" "8I ',
' ',
' ',
' ',
],
'+' : [
' ',
' ',
' aa ',
' 88 ',
'aaaa88aaaa ',
'""""88"""" ',
' 88 ',
' "" ',
' ',
' ',
' ',
],
',' : [
' ',
' ',
' ',
' ',
' ',
' ',
' aaa ',
' "88 ',
" d8' ",
'8" ',
' ',
],
'-' : [
' ',
' ',
' ',
' ',
' ',
'aaaaaaaa ',
'"""""""" ',
' ',
' ',
' ',
' ',
],
'.' : [
' ',
' ',
' ',
' ',
' ',
' ',
' ',
'888 ',
'888 ',
' ',
' ',
],
'/' : [
' ',
' d8 ',
" ,8P' ",
' d8" ',
" ,8P' ",
' d8" ',
" ,8P' ",
' d8" ',
"8P' ",
' ',
' ',
],
'0' : [
' ',
' ,a8888a, ',
' ,8P"\' `"Y8, ',
',8P Y8, ',
'88 88 ',
'88 88 ',
"`8b d8' ",
" `8ba, ,ad8' ",
' "Y8888P" ',
' ',
' ',
],
'1' : [
' ',
' 88 ',
' ,d88 ',
'888888 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' ',
' ',
],
'2' : [
' ',
' ad888888b, ',
'd8" "88 ',
' a8P ',
' ,d8P" ',
' a8P" ',
" a8P' ",
'd8" ',
'88888888888 ',
' ',
' ',
],
'3' : [
' ',
' ad888888b, ',
'd8" "88 ',
' a8P ',
' aad8" ',
' ""Y8, ',
' "8b ',
'Y8, a88 ',
' "Y888888P\' ',
' ',
' ',
],
'4' : [
' ',
' ,d8 ',
' ,d888 ',
' ,d8" 88 ',
' ,d8" 88 ',
',d8" 88 ',
'8888888888888 ',
' 88 ',
' 88 ',
' ',
' ',
],
'5' : [
' ',
'8888888888 ',
'88 ',
'88 ____ ',
'88a8PPPP8b, ',
'PP" `8b ',
' d8 ',
'Y8a a8P ',
' "Y88888P" ',
' ',
' ',
],
'6' : [
' ',
' ad8888ba, ',
' 8P\' "Y8 ',
'd8 ',
'88,dd888bb, ',
"88P' `8b ",
'88 d8 ',
'88a a8P ',
' "Y88888P" ',
' ',
' ',
],
'7' : [
' ',
'888888888888 ',
" ,8P' ",
' d8" ',
" ,8P' ",
' d8" ',
" ,8P' ",
' d8" ',
"8P' ",
' ',
' ',
],
'8' : [
' ',
' ad88888ba ',
'd8" "8b ',
'Y8a a8P ',
' "Y8aaa8P" ',
' ,d8"""8b, ',
'd8" "8b ',
'Y8a a8P ',
' "Y88888P" ',
' ',
' ',
],
'9' : [
' ',
' ad88888ba ',
'd8" "88 ',
'8P 88 ',
'Y8, ,d88 ',
' "PPPPPP"88 ',
' 8P ',
'8b, a8P ',
'`"Y8888P\' ',
' ',
' ',
],
':' : [
' ',
' ',
' ',
' ',
'888 ',
'888 ',
' ',
'888 ',
'888 ',
' ',
' ',
],
';' : [
' ',
' ',
' ',
' ',
' 888 ',
' """ ',
' aaa ',
' "88 ',
" d8' ",
'8" ',
' ',
],
'<' : [
' ',
' a8" ',
' a8" ',
' a8" ',
'a8" ',
'"8a ',
' "8a ',
' "8a ',
' "8a ',
' ',
' ',
],
'=' : [
' ',
' ',
' ',
'8888888888 ',
' ',
'8888888888 ',
' ',
' ',
' ',
' ',
' ',
],
'>' : [
' ',
'"8a ',
' "8a ',
' "8a ',
' "8a ',
' a8" ',
' a8" ',
' a8" ',
'a8" ',
' ',
' ',
],
'?' : [
' ',
' ad88888ba ',
'd8" "8b ',
'"" a8P ',
' ,a8P" ',
' d8" ',
' "" ',
' aa ',
' 88 ',
' ',
' ',
],
'@' : [
' ',
' ,ad88PPP88ba, ',
' d8" .ama.a "8a ',
'd8\' ,8P"88" 88 ',
'88 .8P 8P 88 ',
"88 88 8' 8P ",
"88 8B ,d8 ,ad8' ",
'"8a "88P"888P" ',
' `Y8aaaaaaaad8P ',
' """"""""" ',
' ',
],
'A' : [
' ',
' db ',
' d88b ',
" d8'`8b ",
" d8' `8b ",
' d8YaaaaY8b ',
' d8""""""""8b ',
" d8' `8b ",
"d8' `8b ",
' ',
' ',
],
'B' : [
' ',
'88888888ba ',
'88 "8b ',
'88 ,8P ',
"88aaaaaa8P' ",
'88""""""8b, ',
'88 `8b ',
'88 a8P ',
'88888888P" ',
' ',
' ',
],
'C' : [
' ',
' ,ad8888ba, ',
' d8"\' `"8b ',
"d8' ",
'88 ',
'88 ',
'Y8, ',
' Y8a. .a8P ',
' `"Y8888Y"\' ',
' ',
' ',
],
'D' : [
' ',
'88888888ba, ',
'88 `"8b ',
'88 `8b ',
'88 88 ',
'88 88 ',
'88 8P ',
'88 .a8P ',
'88888888Y"\' ',
' ',
' ',
],
'E' : [
' ',
'88888888888 ',
'88 ',
'88 ',
'88aaaaa ',
'88""""" ',
'88 ',
'88 ',
'88888888888 ',
' ',
' ',
],
'F' : [
' ',
'88888888888 ',
'88 ',
'88 ',
'88aaaaa ',
'88""""" ',
'88 ',
'88 ',
'88 ',
' ',
' ',
],
'G' : [
' ',
' ,ad8888ba, ',
' d8"\' `"8b ',
"d8' ",
'88 ',
'88 88888 ',
'Y8, 88 ',
' Y8a. .a88 ',
' `"Y88888P" ',
' ',
' ',
],
'H' : [
' ',
'88 88 ',
'88 88 ',
'88 88 ',
'88aaaaaaaa88 ',
'88""""""""88 ',
'88 88 ',
'88 88 ',
'88 88 ',
' ',
' ',
],
'I' : [
' ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
' ',
' ',
],
'J' : [
' ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
'88, ,d88 ',
' "Y8888P" ',
' ',
' ',
],
'K' : [
' ',
'88 a8P ',
"88 ,88' ",
'88 ,88" ',
"88,d88' ",
'8888"88, ',
'88P Y8b ',
'88 "88, ',
'88 Y8b ',
' ',
' ',
],
'L' : [
' ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88888888888 ',
' ',
' ',
],
'M' : [
' ',
'88b d88 ',
'888b d888 ',
"88`8b d8'88 ",
"88 `8b d8' 88 ",
"88 `8b d8' 88 ",
"88 `8b d8' 88 ",
"88 `888' 88 ",
"88 `8' 88 ",
' ',
' ',
],
'N' : [
' ',
'888b 88 ',
'8888b 88 ',
'88 `8b 88 ',
'88 `8b 88 ',
'88 `8b 88 ',
'88 `8b 88 ',
'88 `8888 ',
'88 `888 ',
' ',
' ',
],
'O' : [
' ',
' ,ad8888ba, ',
' d8"\' `"8b ',
"d8' `8b ",
'88 88 ',
'88 88 ',
'Y8, ,8P ',
' Y8a. .a8P ',
' `"Y8888Y"\' ',
' ',
' ',
],
'P' : [
' ',
'88888888ba ',
'88 "8b ',
'88 ,8P ',
"88aaaaaa8P' ",
'88""""""\' ',
'88 ',
'88 ',
'88 ',
' ',
' ',
],
'Q' : [
' ',
' ,ad8888ba, ',
' d8"\' `"8b ',
"d8' `8b ",
'88 88 ',
'88 88 ',
'Y8, "88,,8P ',
' Y8a. Y88P ',
' `"Y8888Y"Y8a ',
' ',
' ',
],
'R' : [
' ',
'88888888ba ',
'88 "8b ',
'88 ,8P ',
"88aaaaaa8P' ",
'88""""88\' ',
'88 `8b ',
'88 `8b ',
'88 `8b ',
' ',
' ',
],
'S' : [
' ',
' ad88888ba ',
'd8" "8b ',
'Y8, ',
'`Y8aaaaa, ',
' `"""""8b, ',
' `8b ',
'Y8a a8P ',
' "Y88888P" ',
' ',
' ',
],
'T' : [
' ',
'888888888888 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' ',
' ',
],
'U' : [
' ',
'88 88 ',
'88 88 ',
'88 88 ',
'88 88 ',
'88 88 ',
'88 88 ',
'Y8a. .a8P ',
' `"Y8888Y"\' ',
' ',
' ',
],
'V' : [
' ',
'8b d8 ',
"`8b d8' ",
" `8b d8' ",
" `8b d8' ",
" `8b d8' ",
" `8b d8' ",
" `888' ",
" `8' ",
' ',
' ',
],
'W' : [
' ',
'I8, 8 ,8I ',
"`8b d8b d8' ",
' "8, ,8"8, ,8" ',
' Y8 8P Y8 8P ',
" `8b d8' `8b d8' ",
" `8a a8' `8a a8' ",
" `8a8' `8a8' ",
" `8' `8' ",
' ',
' ',
],
'X' : [
' ',
'8b d8 ',
' Y8, ,8P ',
" `8b d8' ",
' Y88P ',
' d88b ',
' ,8P Y8, ',
" d8' `8b ",
'8P Y8 ',
' ',
' ',
],
'Y' : [
' ',
'8b d8 ',
' Y8, ,8P ',
' Y8, ,8P ',
' "8aa8" ',
" `88' ",
' 88 ',
' 88 ',
' 88 ',
' ',
' ',
],
'Z' : [
' ',
'888888888888 ',
' ,88 ',
' ,88" ',
' ,88" ',
' ,88" ',
' ,88" ',
'88" ',
'888888888888 ',
' ',
' ',
],
'[' : [
'88888 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88888 ',
' ',
],
'\\' : [
' ',
'8b ',
'`Y8, ',
' "8b ',
' `P8, ',
' "8b ',
' `Y8, ',
' "8b ',
' `Y8 ',
' ',
' ',
],
']' : [
'88888 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
'88888 ',
' ',
],
'^' : [
' a ',
' ,888, ',
' ,d8P"Y8b, ',
'I8" "8I ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
],
'_' : [
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
'888888888888 ',
],
'`' : [
' ',
'`8b ',
' `8b ',
' "" ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
],
'a' : [
' ',
' ',
' ',
' ',
',adPPYYba, ',
'"" `Y8 ',
',adPPPPP88 ',
'88, ,88 ',
'`"8bbdP"Y8 ',
' ',
' ',
],
'b' : [
' ',
'88 ',
'88 ',
'88 ',
'88,dPPYba, ',
'88P\' "8a ',
'88 d8 ',
'88b, ,a8" ',
'8Y"Ybbd8"\' ',
' ',
' ',
],
'c' : [
' ',
' ',
' ',
' ',
' ,adPPYba, ',
'a8" "" ',
'8b ',
'"8a, ,aa ',
' `"Ybbd8"\' ',
' ',
' ',
],
'd' : [
' ',
' 88 ',
' 88 ',
' 88 ',
' ,adPPYb,88 ',
'a8" `Y88 ',
'8b 88 ',
'"8a, ,d88 ',
' `"8bbdP"Y8 ',
' ',
' ',
],
'e' : [
' ',
' ',
' ',
' ',
' ,adPPYba, ',
'a8P_____88 ',
'8PP""""""" ',
'"8b, ,aa ',
' `"Ybbd8"\' ',
' ',
' ',
],
'f' : [
' ',
' ad88 ',
' d8" ',
' 88 ',
'MM88MMM ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' ',
' ',
],
'g' : [
' ',
' ',
' ',
' ',
' ,adPPYb,d8 ',
'a8" `Y88 ',
'8b 88 ',
'"8a, ,d88 ',
' `"YbbdP"Y8 ',
' aa, ,88 ',
' "Y8bbdP" ',
],
'h' : [
' ',
'88 ',
'88 ',
'88 ',
'88,dPPYba, ',
'88P\' "8a ',
'88 88 ',
'88 88 ',
'88 88 ',
' ',
' ',
],
'i' : [
' ',
'88 ',
'"" ',
' ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
' ',
' ',
],
'j' : [
' ',
' 88 ',
' "" ',
' ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' 88 ',
' ,88 ',
'888P" ',
],
'k' : [
' ',
'88 ',
'88 ',
'88 ',
'88 ,d8 ',
'88 ,a8" ',
'8888[ ',
'88`"Yba, ',
'88 `Y8a ',
' ',
' ',
],
'l' : [
' ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
'88 ',
' ',
' ',
],
'm' : [
' ',
' ',
' ',
' ',
'88,dPYba,,adPYba, ',
'88P\' "88" "8a ',
'88 88 88 ',
'88 88 88 ',
'88 88 88 ',
' ',
' ',
],
'n' : [
' ',
' ',
' ',
' ',
'8b,dPPYba, ',
'88P\' `"8a ',
'88 88 ',
'88 88 ',
'88 88 ',
' ',
' ',
],
'name' : [
'U',
'n',
'i',
'v',
'e',
'r',
's',
],
'o' : [
' ',
' ',
' ',
' ',
' ,adPPYba, ',
'a8" "8a ',
'8b d8 ',
'"8a, ,a8" ',
' `"YbbdP"\' ',
' ',
' ',
],
'p' : [
' ',
' ',
' ',
' ',
'8b,dPPYba, ',
'88P\' "8a ',
'88 d8 ',
'88b, ,a8" ',
'88`YbbdP"\' ',
'88 ',
'88 ',
],
'q' : [
' ',
' ',
' ',
' ',
' ,adPPYb,d8 ',
'a8" `Y88 ',
'8b 88 ',
'"8a ,d88 ',
' `"YbbdP\'88 ',
' 88 ',
' 88 ',
],
'r' : [
' ',
' ',
' ',
' ',
'8b,dPPYba, ',
'88P\' "Y8 ',
'88 ',
'88 ',
'88 ',
' ',
' ',
],
's' : [
' ',
' ',
' ',
' ',
',adPPYba, ',
'I8[ "" ',
' `"Y8ba, ',
'aa ]8I ',
'`"YbbdP"\' ',
' ',
' ',
],
't' : [
' ',
' ',
' ,d ',
' 88 ',
'MM88MMM ',
' 88 ',
' 88 ',
' 88, ',
' "Y888 ',
' ',
' ',
],
'u' : [
' ',
' ',
' ',
' ',
'88 88 ',
'88 88 ',
'88 88 ',
'"8a, ,a88 ',
' `"YbbdP\'Y8 ',
' ',
' ',
],
'v' : [
' ',
' ',
' ',
' ',
'8b d8 ',
"`8b d8' ",
" `8b d8' ",
" `8b,d8' ",
' "8" ',
' ',
' ',
],
'w' : [
' ',
' ',
' ',
' ',
'8b db d8 ',
"`8b d88b d8' ",
" `8b d8'`8b d8' ",
" `8bd8' `8bd8' ",
' YP YP ',
' ',
' ',
],
'x' : [
' ',
' ',
' ',
' ',
'8b, ,d8 ',
" `Y8, ,8P' ",
' )888( ',
' ,d8" "8b, ',
"8P' `Y8 ",
' ',
' ',
],
'y' : [
' ',
' ',
' ',
' ',
'8b d8 ',
"`8b d8' ",
" `8b d8' ",
" `8b,d8' ",
" Y88' ",
" d8' ",
" d8' ",
],
'z' : [
' ',
' ',
' ',
' ',
'888888888 ',
' a8P" ',
" ,d8P' ",
',d8" ',
'888888888 ',
' ',
' ',
],
'{' : [
' ad888 ',
" 88' ",
' 88 ',
' 88 ',
' ,8P ',
'88( ',
' "8b ',
' 88 ',
' 88 ',
' 88, ',
' "Y888 ',
],
'|' : [
' ',
'88 ',
'88 ',
'88 ',
'88 ',
' ',
'88 ',
'88 ',
'88 ',
'88 ',
' ',
],
'}' : [
'888ba ',
' `88 ',
' 88 ',
' 88 ',
' Y8, ',
' )88 ',
' d8" ',
' 88 ',
' 88 ',
' ,88 ',
'888P" ',
],
'~' : [
' ',
' ',
' ',
' ',
' ad8bba, ,aa ',
'"" ""Y8P" ',
' ',
' ',
' ',
' ',
' ',
],
} | 13.428039 | 28 | 0.153829 | 1,032 | 18,007 | 2.674419 | 0.138566 | 0.321739 | 0.332609 | 0.307246 | 0.412319 | 0.339855 | 0.302174 | 0.219203 | 0.184058 | 0.107971 | 0 | 0.235158 | 0.591215 | 18,007 | 1,341 | 29 | 13.428039 | 0.139791 | 0 | 0 | 0.76886 | 0 | 0 | 0.694191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c3cf92f683b197577be1d02c2237be4a8688e925 | 1,629 | py | Python | youtube/Error.py | MasterTuto/youtube.py | 25c8cec88849399b55f943b0810a6f4c66352738 | [
"MIT"
] | 1 | 2020-12-14T11:57:22.000Z | 2020-12-14T11:57:22.000Z | youtube/Error.py | MasterTuto/youtube.py | 25c8cec88849399b55f943b0810a6f4c66352738 | [
"MIT"
] | 41 | 2021-01-15T13:18:46.000Z | 2022-03-28T14:22:54.000Z | youtube/Error.py | MasterTuto/youtube.py | 25c8cec88849399b55f943b0810a6f4c66352738 | [
"MIT"
] | 5 | 2020-12-06T18:06:05.000Z | 2021-07-07T00:49:37.000Z | # -*- coding: utf-8 -*-
"""
This file contain all the error classes
"""
class YoutubeError(Exception):
def __init__(self, msg):
self.msg = msg
Exception.__init__(self, msg)
def __str__(self):
return self.msg
__repr__ = __str__
class ParsecError(YoutubeError):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class RegexError(Exception):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class VideoInfo(Exception):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class InvalidVideoUrl(Exception):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class GeoBlockingError(Exception):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class FFMPEG_Not_Found(Exception):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class ResolutionError(Exception):
def __init__(self, msg):
self.msg = msg
super().__init__(self.error_message)
@property
def error_message(self):
return self.msg
class GoogleReCaptchaError(Exception):
def __init__(self):
super().__init__(self.error_message)
@property
def error_message(self):
return "IP blacklisted or you might using proxy." | 19.164706 | 51 | 0.733579 | 219 | 1,629 | 4.990868 | 0.182648 | 0.16011 | 0.090576 | 0.146386 | 0.734675 | 0.734675 | 0.734675 | 0.734675 | 0.704483 | 0.704483 | 0 | 0.000721 | 0.148557 | 1,629 | 85 | 51 | 19.164706 | 0.787311 | 0.03806 | 0 | 0.774194 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0 | 0 | 0.145161 | 0.596774 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
c3fe06979410922dd4552eca320be2f8349c5c06 | 4,436 | py | Python | census_area/core.py | argo-marketplace/census_area | 48d8bc7e73c12b58e796307e36c93029b1ec0044 | [
"MIT"
] | 2 | 2018-12-21T22:34:45.000Z | 2019-01-18T23:09:01.000Z | census_area/core.py | argo-marketplace/census_area | 48d8bc7e73c12b58e796307e36c93029b1ec0044 | [
"MIT"
] | 7 | 2018-11-22T00:18:28.000Z | 2019-01-25T17:15:40.000Z | census_area/core.py | argo-marketplace/census_area | 48d8bc7e73c12b58e796307e36c93029b1ec0044 | [
"MIT"
] | 4 | 2018-12-21T22:34:49.000Z | 2019-02-01T17:57:43.000Z | import shapely.geometry
import shapely.geos
import esridump
GEO_URLS = {
'tracts' : {
1990 : 'https://gis.uspatial.umn.edu/arcgis/rest/services/nhgis/Census_Tracts_1910_2014/MapServer/8',
2000 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/Census2010/tigerWMS_Census2000/MapServer/6',
2010 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/14',
2011 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/14',
2012 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/14',
2013 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2013/MapServer/8',
2014 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2014/MapServer/8',
2015 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2015/MapServer/8',
2016 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2015/MapServer/8'},
'block groups' : {
2000 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/Census2010/tigerWMS_Census2000/MapServer/8',
2010 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/16',
2011 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/16',
2012 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/16',
2013 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2013/MapServer/10',
2014 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2014/MapServer/10',
2015 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2015/MapServer/10',
2016 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2015/MapServer/10'},
'blocks' : {
2000 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/Census2010/tigerWMS_Census2000/MapServer/10',
2010 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Current/MapServer/12'},
'incorporated places' : {
1990 : 'https://gis.uspatial.umn.edu/arcgis/rest/services/nhgis/Places_1980_2014/MapServer/1',
2000 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/Census2010/tigerWMS_Census2000/MapServer/24',
2010 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/34',
2011 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/34',
2012 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Census2010/MapServer/34',
2013 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2013/MapServer/26',
2014 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2014/MapServer/26',
2015 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2015/MapServer/26',
2016 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_ACS2016/MapServer/26'}
}
class AreaFilter(object):
def __init__(self, geojson_geometry, sub_geography_url):
self.geo = shapely.geometry.shape(geojson_geometry)
geo_query_args = {'geometry': ','.join(str(x) for x in self.geo.bounds),
'geometryType': 'esriGeometryEnvelope',
'spatialRel': 'esriSpatialRelEnvelopeIntersects',
'inSR' : '4326',
'geometryPrecision' : 9,
'orderByFields': 'OID'}
self.area_dumper = esridump.EsriDumper(sub_geography_url,
extra_query_args = geo_query_args)
def __iter__(self):
for area in self.area_dumper:
area_geo = shapely.geometry.shape(area['geometry'])
if self.geo.intersects(area_geo):
try:
intersection = self.geo.intersection(area_geo)
except shapely.geos.TopologicalError:
intersection = self.geo.buffer(0).intersection(area_geo.buffer(0))
if intersection.area/area_geo.area > 0.1:
yield area
| 69.3125 | 114 | 0.690487 | 519 | 4,436 | 5.788054 | 0.188825 | 0.093209 | 0.167776 | 0.190413 | 0.729361 | 0.729361 | 0.729361 | 0.729361 | 0.729361 | 0.729361 | 0 | 0.081949 | 0.172002 | 4,436 | 63 | 115 | 70.412698 | 0.735911 | 0 | 0 | 0 | 0 | 0.482759 | 0.621506 | 0.007214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.051724 | 0 | 0.103448 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4eed69f3857d3fa8ecd8e950ed92cf2cce389eec | 224 | py | Python | launchpadtools/__init__.py | nschloe/launchpad-tools | 20b178cd5851c6a23b95eeb957ac98fdebd8c5a1 | [
"MIT"
] | null | null | null | launchpadtools/__init__.py | nschloe/launchpad-tools | 20b178cd5851c6a23b95eeb957ac98fdebd8c5a1 | [
"MIT"
] | null | null | null | launchpadtools/__init__.py | nschloe/launchpad-tools | 20b178cd5851c6a23b95eeb957ac98fdebd8c5a1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
from launchpadtools.__about__ import __version__, __author__, __author_email__
from . import submit
from . import cli
__all__ = ["__version__", "__author__", "__author_email__", "submit", "cli"]
| 22.4 | 78 | 0.723214 | 24 | 224 | 5.333333 | 0.541667 | 0.203125 | 0.296875 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.133929 | 224 | 9 | 79 | 24.888889 | 0.654639 | 0.09375 | 0 | 0 | 0 | 0 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.