hexsha stringlengths 40 40 | size int64 5 2.06M | ext stringclasses 11 values | lang stringclasses 1 value | max_stars_repo_path stringlengths 3 251 | max_stars_repo_name stringlengths 4 130 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 251 | max_issues_repo_name stringlengths 4 130 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 116k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 251 | max_forks_repo_name stringlengths 4 130 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 1 1.05M | avg_line_length float64 1 1.02M | max_line_length int64 3 1.04M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22ad0b38c724e88cb9ecf306aa56fd0fb313ec45 | 3,325 | py | Python | features/hdf_features.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | features/hdf_features.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | features/hdf_features.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | '''
HDF-saving features
'''
import time
import tempfile
import random
import traceback
import numpy as np
import fnmatch
import os, sys
import subprocess
from riglib import calibrations, bmi
from riglib.bmi import extractor
from riglib.experiment import traits
import hdfwriter
| 31.367925 | 127 | 0.61203 |
22ad976fe4002a0a8ca1f3ab36292229eb143691 | 2,040 | py | Python | common/irma/common/exceptions.py | vaginessa/irma | 02285080b67b25ef983a99a765044683bd43296c | [
"Apache-2.0"
] | null | null | null | common/irma/common/exceptions.py | vaginessa/irma | 02285080b67b25ef983a99a765044683bd43296c | [
"Apache-2.0"
] | null | null | null | common/irma/common/exceptions.py | vaginessa/irma | 02285080b67b25ef983a99a765044683bd43296c | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2013-2018 Quarkslab.
# This file is part of IRMA project.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License in the top-level directory
# of this distribution and at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# No part of the project, including this file, may be copied,
# modified, propagated, or distributed except according to the
# terms contained in the LICENSE file.
| 21.473684 | 78 | 0.701471 |
22ad9d02328e75faf184ffbf1cc357191c9ff796 | 7,979 | py | Python | tf_crnn/libs/infer.py | sunmengnan/city_brain | 478f0b974f4491b4201956f37b83ce6860712bc8 | [
"MIT"
] | null | null | null | tf_crnn/libs/infer.py | sunmengnan/city_brain | 478f0b974f4491b4201956f37b83ce6860712bc8 | [
"MIT"
] | null | null | null | tf_crnn/libs/infer.py | sunmengnan/city_brain | 478f0b974f4491b4201956f37b83ce6860712bc8 | [
"MIT"
] | null | null | null | import time
import os
import math
import numpy as np
from libs import utils
from libs.img_dataset import ImgDataset
from nets.crnn import CRNN
from nets.cnn.paper_cnn import PaperCNN
import shutil
def calculate_accuracy(predicts, labels):
"""
:param predicts: encoded predict result
:param labels: ground true label
:return: accuracy
"""
assert len(predicts) == len(labels)
correct_count = 0
for i, p_label in enumerate(predicts):
if p_label == labels[i]:
correct_count += 1
acc = correct_count / len(predicts)
return acc, correct_count
def calculate_edit_distance_mean(edit_distences):
"""
edit_distance == 0
:param edit_distences:
:return:
"""
data = np.array(edit_distences)
data = data[data != 0]
if len(data) == 0:
return 0
return np.mean(data)
def validation(sess, feeds, fetches, dataset, converter, result_dir, name,
step=None, print_batch_info=False, copy_failed=False):
"""
Save file name: {acc}_{step}.txt
:param sess: tensorflow session
:param model: crnn network
:param result_dir:
:param name: val, test, infer. used to create sub dir in result_dir
:return:
"""
sess.run(dataset.init_op)
img_paths = []
predicts = []
trimed_predicts = []
labels = []
trimed_labels = []
edit_distances = []
total_batch_time = 0
for batch in range(dataset.num_batches):
img_batch, widths, label_batch, batch_labels, batch_img_paths = dataset.get_next_batch(sess)
if len(batch_labels) == 0:
continue
batch_start_time = time.time()
feed = {feeds['inputs']: img_batch,
feeds['labels']: label_batch,
feeds['sequence_length']: PaperCNN.get_sequence_lengths(widths),
feeds['is_training']: False}
try:
batch_predicts, edit_distance, batch_edit_distances = sess.run(fetches, feed)
except Exception:
print(batch_labels)
continue
batch_predicts = [converter.decode(p, CRNN.CTC_INVALID_INDEX) for p in batch_predicts]
trimed_batch_predicts = [utils.remove_all_symbols(txt) for txt in batch_predicts]
trimed_batch_labels = [utils.remove_all_symbols(txt) for txt in batch_labels]
img_paths.extend(batch_img_paths)
predicts.extend(batch_predicts)
labels.extend(batch_labels)
trimed_predicts.extend(trimed_batch_predicts)
trimed_labels.extend(trimed_batch_labels)
edit_distances.extend(batch_edit_distances)
acc, correct_count = calculate_accuracy(batch_predicts, batch_labels)
trimed_acc, trimed_correct_count = calculate_accuracy(trimed_batch_predicts, trimed_batch_labels)
batch_time = time.time() - batch_start_time
total_batch_time += batch_time
if print_batch_info:
print("{:.03f}s [{}/{}] acc: {:.03f}({}/{}), edit_distance: {:.03f}, trim_acc {:.03f}({}/{})"
.format(batch_time, batch, dataset.num_batches,
acc, correct_count, dataset.batch_size,
edit_distance,
trimed_acc, trimed_correct_count, dataset.batch_size))
acc, correct_count = calculate_accuracy(predicts, labels)
trimed_acc, trimed_correct_count = calculate_accuracy(trimed_predicts, trimed_labels)
edit_distance_mean = calculate_edit_distance_mean(edit_distances)
total_edit_distance = sum(edit_distances)
acc_str = "Accuracy: {:.03f} ({}/{}), Trimed Accuracy: {:.03f} ({}/{})" \
"Total edit distance: {:.03f}, " \
"Average edit distance: {:.03f}, Average batch time: {:.03f}" \
.format(acc, correct_count, dataset.size,
trimed_acc, trimed_correct_count, dataset.size,
total_edit_distance, edit_distance_mean, total_batch_time / dataset.num_batches)
print(acc_str)
save_dir = os.path.join(result_dir, name)
utils.check_dir_exist(save_dir)
result_file_path = save_txt_result(save_dir, acc, step, labels, predicts, 'acc',
edit_distances, acc_str)
save_txt_result(save_dir, acc, step, labels, predicts, 'acc', edit_distances,
acc_str, only_failed=True)
save_txt_result(save_dir, trimed_acc, step, trimed_labels, trimed_predicts, 'tacc',
edit_distances)
save_txt_result(save_dir, trimed_acc, step, trimed_labels, trimed_predicts, 'tacc',
edit_distances, only_failed=True)
save_txt_4_analyze(save_dir, labels, predicts, 'acc', step)
save_txt_4_analyze(save_dir, trimed_labels, trimed_predicts, 'tacc', step)
# Copy image not all match to a dir
# TODO: we will only save failed imgs for acc
if copy_failed:
failed_infer_img_dir = result_file_path[:-4] + "_failed"
if os.path.exists(failed_infer_img_dir) and os.path.isdir(failed_infer_img_dir):
shutil.rmtree(failed_infer_img_dir)
utils.check_dir_exist(failed_infer_img_dir)
failed_image_indices = []
for i, val in enumerate(edit_distances):
if val != 0:
failed_image_indices.append(i)
for i in failed_image_indices:
img_path = img_paths[i]
img_name = img_path.split("/")[-1]
dst_path = os.path.join(failed_infer_img_dir, img_name)
shutil.copyfile(img_path, dst_path)
failed_infer_result_file_path = os.path.join(failed_infer_img_dir, "result.txt")
with open(failed_infer_result_file_path, 'w', encoding='utf-8') as f:
for i in failed_image_indices:
p_label = predicts[i]
t_label = labels[i]
f.write("{}\n".format(img_paths[i]))
f.write("input: {:17s} length: {}\n".format(t_label, len(t_label)))
f.write("predict: {:17s} length: {}\n".format(p_label, len(p_label)))
f.write("edit distance: {}\n".format(edit_distances[i]))
f.write('-' * 30 + '\n')
return acc, trimed_acc, edit_distance_mean, total_edit_distance, correct_count, trimed_correct_count
def save_txt_4_analyze(save_dir, labels, predicts, acc_type, step):
"""
txt
"""
txt_path = os.path.join(save_dir, '%d_%s_gt_and_pred.txt' % (step, acc_type))
with open(txt_path, 'w', encoding='utf-8') as f:
for i, p_label in enumerate(predicts):
t_label = labels[i]
f.write("{}__$__{}\n".format(t_label, p_label))
def save_txt_result(save_dir, acc, step, labels, predicts, acc_type,
edit_distances=None, acc_str=None, only_failed=False):
"""
:param acc_type: 'acc' or 'tacc'
:return:
"""
failed_suffix = ''
if only_failed:
failed_suffix = 'failed'
if step is not None:
txt_path = os.path.join(save_dir, '%d_%s_%.3f_%s.txt' % (step, acc_type, acc, failed_suffix))
else:
txt_path = os.path.join(save_dir, '%s_%.3f_%s.txt' % (acc_type, acc, failed_suffix))
print("Write result to %s" % txt_path)
with open(txt_path, 'w', encoding='utf-8') as f:
for i, p_label in enumerate(predicts):
t_label = labels[i]
all_match = (t_label == p_label)
if only_failed and all_match:
continue
# f.write("{}\n".format(img_paths[i]))
f.write("input: {:17s} length: {}\n".format(t_label, len(t_label)))
f.write("predict: {:17s} length: {}\n".format(p_label, len(p_label)))
f.write("all match: {}\n".format(1 if all_match else 0))
if edit_distances:
f.write("edit distance: {}\n".format(edit_distances[i]))
f.write('-' * 30 + '\n')
if acc_str:
f.write(acc_str + "\n")
return txt_path
| 36.104072 | 105 | 0.628525 |
22ae53d11248d624a0ee5f564b8dd2e374ddaa54 | 606 | py | Python | Day 2/Day_2_Python.py | giTan7/30-Days-Of-Code | f023a2bf1b5e58e1eb5180162443b9cd4b6b2ff8 | [
"MIT"
] | 1 | 2020-10-15T14:44:08.000Z | 2020-10-15T14:44:08.000Z | Day 2/Day_2_Python.py | giTan7/30-Days-Of-Code | f023a2bf1b5e58e1eb5180162443b9cd4b6b2ff8 | [
"MIT"
] | null | null | null | Day 2/Day_2_Python.py | giTan7/30-Days-Of-Code | f023a2bf1b5e58e1eb5180162443b9cd4b6b2ff8 | [
"MIT"
] | null | null | null | #!/bin/python3
import math
import os
import random
import re
import sys
# Complete the solve function below.
if __name__ == '__main__':
meal_cost = float(input())
tip_percent = int(input())
tax_percent = int(input())
solve(meal_cost, tip_percent, tax_percent)
# Time complexity: O(1)
# Space complexity: O(1)
| 22.444444 | 76 | 0.663366 |
22ae7c79d1d1030557cb109b5f2d23a5d5fb88a4 | 5,706 | py | Python | modules/templates/RLPPTM/tools/mis.py | nursix/rlpptm | e7b50b2fdf6277aed5f198ca10ad773c5ca0b947 | [
"MIT"
] | 1 | 2022-03-21T21:58:30.000Z | 2022-03-21T21:58:30.000Z | modules/templates/RLPPTM/tools/mis.py | nursix/rlpptm | e7b50b2fdf6277aed5f198ca10ad773c5ca0b947 | [
"MIT"
] | null | null | null | modules/templates/RLPPTM/tools/mis.py | nursix/rlpptm | e7b50b2fdf6277aed5f198ca10ad773c5ca0b947 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Helper Script for Mass-Invitation of Participant Organisations
#
# RLPPTM Template Version 1.0
#
# Execute in web2py folder after code upgrade like:
# python web2py.py -S eden -M -R applications/eden/modules/templates/RLPPTM/tools/mis.py
#
import os
import sys
from core import s3_format_datetime
from templates.RLPPTM.config import SCHOOLS
from templates.RLPPTM.helpers import InviteUserOrg
# Batch limit (set to False to disable)
BATCH_LIMIT = 250
# Override auth (disables all permission checks)
auth.override = True
# Failed-flag
failed = False
# Info
log = None
# Load models for tables
otable = s3db.org_organisation
gtable = s3db.org_group
mtable = s3db.org_group_membership
utable = s3db.auth_user
oltable = s3db.org_organisation_user
pltable = s3db.pr_person_user
ctable = s3db.pr_contact
timestmp = s3_format_datetime(dtfmt="%Y%m%d%H%M%S")
LOGFILE = os.path.join(request.folder, "private", "mis_%s.log" % timestmp)
# -----------------------------------------------------------------------------
# Invite organisations
#
if not failed:
try:
with open(LOGFILE, "w", encoding="utf-8") as logfile:
log = logfile
join = [mtable.on((mtable.organisation_id == otable.id) & \
(mtable.deleted == False)),
gtable.on((gtable.id == mtable.group_id) & \
(gtable.name == SCHOOLS) & \
(gtable.deleted == False)),
]
query = (otable.deleted == False)
organisations = db(query).select(otable.id,
otable.pe_id,
otable.name,
join = join,
orderby = otable.id,
)
total = len(organisations)
infoln("Total: %s Organisations" % total)
infoln("")
skipped = sent = failures = 0
invite_org = InviteUserOrg.invite_account
for organisation in organisations:
info("%s..." % organisation.name)
# Get all accounts that are linked to this org
organisation_id = organisation.id
join = oltable.on((oltable.user_id == utable.id) & \
(oltable.deleted == False))
left = pltable.on((pltable.user_id == utable.id) & \
(pltable.deleted == False))
query = (oltable.organisation_id == organisation_id)
rows = db(query).select(utable.id,
utable.email,
utable.registration_key,
pltable.pe_id,
join = join,
left = left,
)
if rows:
# There are already accounts linked to this organisation
invited, registered = [], []
for row in rows:
username = row.auth_user.email
if row.pr_person_user.pe_id:
registered.append(username)
else:
invited.append(username)
if registered:
infoln("already registered (%s)." % ", ".join(registered))
else:
infoln("already invited (%s)." % ", ".join(invited))
skipped += 1
continue
# Find email address
query = (ctable.pe_id == organisation.pe_id) & \
(ctable.contact_method == "EMAIL") & \
(ctable.deleted == False)
contact = db(query).select(ctable.value,
orderby = ctable.priority,
limitby = (0, 1),
).first()
if contact:
email = contact.value
info("(%s)..." % email)
else:
infoln("no email address.")
skipped += 1
continue
error = invite_org(organisation, email, account=None)
if not error:
sent += 1
infoln("invited.")
db.commit()
else:
failures += 1
infoln("invitation failed (%s)." % error)
if BATCH_LIMIT and sent >= BATCH_LIMIT:
infoln("Batch limit (%s) reached" % BATCH_LIMIT)
skipped = total - (sent + failures)
break
infoln("")
infoln("%s invitations sent" % sent)
infoln("%s invitations failed" % failures)
infoln("%s organisations skipped" % skipped)
log = None
except IOError:
infoln("...failed (could not create logfile)")
failed = True
# -----------------------------------------------------------------------------
# Finishing up
#
if failed:
db.rollback()
infoln("PROCESS FAILED - Action rolled back.")
else:
db.commit()
infoln("PROCESS SUCCESSFUL.")
| 35.222222 | 88 | 0.45496 |
22aec8fbe47f7975a1e7f4a0caa5c88c56e4a03e | 1,133 | py | Python | data/train/python/22aec8fbe47f7975a1e7f4a0caa5c88c56e4a03e__init__.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/python/22aec8fbe47f7975a1e7f4a0caa5c88c56e4a03e__init__.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/python/22aec8fbe47f7975a1e7f4a0caa5c88c56e4a03e__init__.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | def save_form(form, actor=None):
"""Allows storing a form with a passed actor. Normally, Form.save() does not accept an actor, but if you require
this to be passed (is not handled by middleware), you can use this to replace form.save().
Requires you to use the audit.Model model as the actor is passed to the object's save method.
"""
obj = form.save(commit=False)
obj.save(actor=actor)
form.save_m2m()
return obj
#def intermediate_save(instance, actor=None):
# """Allows saving of an instance, without storing the changes, but keeping the history. This allows you to perform
# intermediate saves:
#
# obj.value1 = 1
# intermediate_save(obj)
# obj.value2 = 2
# obj.save()
# <value 1 and value 2 are both stored in the database>
# """
# if hasattr(instance, '_audit_changes'):
# tmp = instance._audit_changes
# if actor:
# instance.save(actor=actor)
# else:
# instance.save()
# instance._audit_changes = tmp
# else:
# if actor:
# instance.save(actor=actor)
# else:
# instance.save()
| 32.371429 | 118 | 0.634598 |
22aeec83fb0e871521d1f1a2e9afa8b18858d4b4 | 728 | py | Python | engine/test_sysctl.py | kingsd041/os-tests | 2ea57cb6f1da534633a4670ccb83d40300989886 | [
"Apache-2.0"
] | null | null | null | engine/test_sysctl.py | kingsd041/os-tests | 2ea57cb6f1da534633a4670ccb83d40300989886 | [
"Apache-2.0"
] | null | null | null | engine/test_sysctl.py | kingsd041/os-tests | 2ea57cb6f1da534633a4670ccb83d40300989886 | [
"Apache-2.0"
] | null | null | null | # coding = utf-8
# Create date: 2018-11-05
# Author :Hailong
| 36.4 | 101 | 0.68956 |
22aeecf51ba4f5585bf276df470496e100ee4eac | 3,310 | py | Python | paprika_sync/core/management/commands/import_recipes_from_file.py | grschafer/paprika-sync | 8b6fcd6246557bb79009fa9355fd4d588fb8ed90 | [
"MIT"
] | null | null | null | paprika_sync/core/management/commands/import_recipes_from_file.py | grschafer/paprika-sync | 8b6fcd6246557bb79009fa9355fd4d588fb8ed90 | [
"MIT"
] | null | null | null | paprika_sync/core/management/commands/import_recipes_from_file.py | grschafer/paprika-sync | 8b6fcd6246557bb79009fa9355fd4d588fb8ed90 | [
"MIT"
] | null | null | null | import json
import logging
from django.core.management.base import BaseCommand
from django.db import transaction
from paprika_sync.core.models import PaprikaAccount
from paprika_sync.core.serializers import RecipeSerializer, CategorySerializer
from paprika_sync.core.utils import log_start_end
logger = logging.getLogger(__name__)
| 35.978261 | 135 | 0.578248 |
22b050a05912835a15d1f775a59389484ca92826 | 142 | py | Python | scripts/update_asp_l1.py | sot/mica | 136a9b0d9521efda5208067b51cf0c8700b4def3 | [
"BSD-3-Clause"
] | null | null | null | scripts/update_asp_l1.py | sot/mica | 136a9b0d9521efda5208067b51cf0c8700b4def3 | [
"BSD-3-Clause"
] | 150 | 2015-01-23T17:09:53.000Z | 2022-01-10T00:50:54.000Z | scripts/update_asp_l1.py | sot/mica | 136a9b0d9521efda5208067b51cf0c8700b4def3 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import mica.archive.asp_l1
mica.archive.asp_l1.main()
| 20.285714 | 63 | 0.760563 |
22b2735d6e9bb2b53a0a0541af9ec0a4bc2db7e4 | 738 | py | Python | pair.py | hhgarnes/python-validity | 82b42e4fd152f10f75584de56502fd9ada299bb5 | [
"MIT"
] | null | null | null | pair.py | hhgarnes/python-validity | 82b42e4fd152f10f75584de56502fd9ada299bb5 | [
"MIT"
] | null | null | null | pair.py | hhgarnes/python-validity | 82b42e4fd152f10f75584de56502fd9ada299bb5 | [
"MIT"
] | null | null | null |
from time import sleep
from proto9x.usb import usb
from proto9x.tls import tls
from proto9x.flash import read_flash
from proto9x.init_flash import init_flash
from proto9x.upload_fwext import upload_fwext
from proto9x.calibrate import calibrate
from proto9x.init_db import init_db
#usb.trace_enabled=True
#tls.trace_enabled=True
usb.open()
print('Initializing flash...')
init_flash()
restart()
print('Uploading firmware...')
upload_fwext()
restart()
print('Calibrating...')
calibrate()
print('Init database...')
init_db()
print('That\'s it, pairing\'s finished')
| 18.45 | 47 | 0.734417 |
22b29bb3979813975d0a62cdf7e26438790eeb19 | 448 | py | Python | output/models/ms_data/element/elem_q017_xsd/elem_q017.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/element/elem_q017_xsd/elem_q017.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/element/elem_q017_xsd/elem_q017.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
| 15.448276 | 40 | 0.5 |
22b2c7ab0a465a4d5e5a4f3cd082436d406520c8 | 43,545 | py | Python | contrib_src/predict.py | modelhub-ai/mic-dkfz-brats | 4522a26442f1e323f97aa45fbd5047bfe9029b2b | [
"MIT"
] | 1 | 2020-01-09T11:45:26.000Z | 2020-01-09T11:45:26.000Z | contrib_src/predict.py | modelhub-ai/mic-dkfz-brats | 4522a26442f1e323f97aa45fbd5047bfe9029b2b | [
"MIT"
] | null | null | null | contrib_src/predict.py | modelhub-ai/mic-dkfz-brats | 4522a26442f1e323f97aa45fbd5047bfe9029b2b | [
"MIT"
] | null | null | null | import json
import os
from collections import OrderedDict
from copy import deepcopy
import SimpleITK as sitk
from batchgenerators.augmentations.utils import resize_segmentation # resize_softmax_output
from skimage.transform import resize
from torch.optim import lr_scheduler
from torch import nn
import numpy as np
import torch
from scipy.ndimage import binary_fill_holes
'''
This code is not intended to be looked at by anyone. It is messy. It is undocumented.
And the entire training pipeline is missing.
'''
max_num_filters_3d = 320
max_num_filters_2d = 480
join = os.path.join
def softmax_helper(x):
rpt = [1 for _ in range(len(x.size()))]
rpt[1] = x.size(1)
x_max = x.max(1, keepdim=True)[0].repeat(*rpt)
e_x = torch.exp(x - x_max)
return e_x / e_x.sum(1, keepdim=True).repeat(*rpt)
def soft_dice(net_output, gt, smooth=1., smooth_in_nom=1.):
axes = tuple(range(2, len(net_output.size())))
intersect = sum_tensor(net_output * gt, axes, keepdim=False)
denom = sum_tensor(net_output + gt, axes, keepdim=False)
result = (- ((2 * intersect + smooth_in_nom) / (denom + smooth))).mean()
return result
def sum_tensor(input, axes, keepdim=False):
axes = np.unique(axes)
if keepdim:
for ax in axes:
input = input.sum(ax, keepdim=True)
else:
for ax in sorted(axes, reverse=True):
input = input.sum(ax)
return input
def resize_softmax_output(softmax_output, new_shape, order=3):
'''
Resizes softmax output. Resizes each channel in c separately and fuses results back together
:param softmax_output: c x x x y x z
:param new_shape: x x y x z
:param order:
:return:
'''
tpe = softmax_output.dtype
new_shp = [softmax_output.shape[0]] + list(new_shape)
result = np.zeros(new_shp, dtype=softmax_output.dtype)
for i in range(softmax_output.shape[0]):
result[i] = resize(softmax_output[i].astype(float), new_shape, order, "constant", 0, True)
return result.astype(tpe)
def save_segmentation_nifti_softmax(softmax_output, dct, out_fname, order=3, region_class_order=None):
'''
segmentation must have the same spacing as the original nifti (for now). segmentation may have been cropped out
of the original image
:param segmentation:
:param dct:
:param out_fname:
:return:
'''
old_size = dct.get('size_before_cropping')
bbox = dct.get('brain_bbox')
if bbox is not None:
seg_old_size = np.zeros([softmax_output.shape[0]] + list(old_size))
for c in range(3):
bbox[c][1] = np.min((bbox[c][0] + softmax_output.shape[c+1], old_size[c]))
seg_old_size[:, bbox[0][0]:bbox[0][1],
bbox[1][0]:bbox[1][1],
bbox[2][0]:bbox[2][1]] = softmax_output
else:
seg_old_size = softmax_output
segmentation = resize_softmax_output(seg_old_size, np.array(dct['size'])[[2, 1, 0]], order=order)
if region_class_order is None:
segmentation = segmentation.argmax(0)
else:
seg_old_spacing_final = np.zeros(segmentation.shape[1:])
for i, c in enumerate(region_class_order):
seg_old_spacing_final[segmentation[i] > 0.5] = c
segmentation = seg_old_spacing_final
return segmentation.astype(np.uint8)
def subfiles(folder, join=True, prefix=None, suffix=None, sort=True):
if join:
l = os.path.join
else:
l = lambda x, y: y
res = [l(folder, i) for i in os.listdir(folder) if os.path.isfile(os.path.join(folder, i))
and (prefix is None or i.startswith(prefix))
and (suffix is None or i.endswith(suffix))]
if sort:
res.sort()
return res
def maybe_mkdir_p(directory):
splits = directory.split("/")[1:]
for i in range(0, len(splits)):
if not os.path.isdir(os.path.join("/", *splits[:i+1])):
os.mkdir(os.path.join("/", *splits[:i+1]))
def preprocess_image(itk_image, is_seg=False, spacing_target=(1, 0.5, 0.5), brain_mask=None, cval=0):
"""
brain mask must be a numpy array that has the same shape as itk_image's pixel array. This function is not ideal but
gets the job done
:param itk_image:
:param is_seg:
:param spacing_target:
:param brain_mask:
:return:
"""
spacing = np.array(itk_image.GetSpacing())[[2, 1, 0]]
image = sitk.GetArrayFromImage(itk_image).astype(float)
if not is_seg:
if brain_mask is None:
brain_mask = (image!=image[0,0,0]).astype(float)
if np.any([[i!=j] for i, j in zip(spacing, spacing_target)]):
image = resize_image(image, spacing, spacing_target, 3, cval).astype(np.float32)
brain_mask = resize_image(brain_mask.astype(float), spacing, spacing_target, order=0).astype(int)
image[brain_mask==0] = 0
#subtract mean, divide by std. use heuristic masking
image[brain_mask!=0] -= image[brain_mask!=0].mean()
image[brain_mask!=0] /= image[brain_mask!=0].std()
else:
new_shape = (int(np.round(spacing[0] / spacing_target[0] * float(image.shape[0]))),
int(np.round(spacing[1] / spacing_target[1] * float(image.shape[1]))),
int(np.round(spacing[2] / spacing_target[2] * float(image.shape[2]))))
image = resize_segmentation(image, new_shape, 1, cval)
return image
def create_brain_masks(data):
"""
data must be (b, c, x, y, z), brain mask is hole filled binary mask where all sequences are 0 (this is a heuristic
to recover a brain mask form brain extracted mri sequences, not an actual brain ectraction)
:param data:
:return:
"""
shp = list(data.shape)
brain_mask = np.zeros(shp, dtype=np.float32)
for b in range(data.shape[0]):
for c in range(data.shape[1]):
this_mask = data[b, c] != 0
this_mask = binary_fill_holes(this_mask)
brain_mask[b, c] = this_mask
return brain_mask
def segment(t1_file, t1ce_file, t2_file, flair_file, netLoc):
"""
Segments the passed files
"""
trainer = NetworkTrainerBraTS2018Baseline2RegionsCotrainingBraTSDecSDCE()
trainer.initialize(False)
all_data, dct = load_and_preprocess(t1_file, t1ce_file, t2_file, flair_file, None, None,
True, None)
all_softmax = []
for fold in range(5):
trainer.output_folder = join(netLoc, "%d" % fold)
trainer.load_best_checkpoint(False)
trainer.network.infer(True)
trainer.network.test_return_output = 0
softmax = trainer.predict_preprocessed_data_return_softmax(all_data[:4], True, 1, False, 1, (2, 3, 4), False,
None, None, trainer.patch_size, True)
all_softmax.append(softmax[None])
softmax_consolidated = np.vstack(all_softmax).mean(0)
output = save_segmentation_nifti_softmax(softmax_consolidated, dct,
"tumor_isen2018_class.nii.gz", 1,
trainer.regions_class_order)
return output
| 43.807847 | 206 | 0.610288 |
22b364d4334f94cc1d058ea248dee07fc3c34b86 | 982 | py | Python | plot/finderror.py | architsakhadeo/Offline-Hyperparameter-Tuning-for-RL | 94b8f205b12f0cc59ae8e19b2e6099f34be929d6 | [
"MIT"
] | null | null | null | plot/finderror.py | architsakhadeo/Offline-Hyperparameter-Tuning-for-RL | 94b8f205b12f0cc59ae8e19b2e6099f34be929d6 | [
"MIT"
] | null | null | null | plot/finderror.py | architsakhadeo/Offline-Hyperparameter-Tuning-for-RL | 94b8f205b12f0cc59ae8e19b2e6099f34be929d6 | [
"MIT"
] | null | null | null | import os
basepath = '/home/archit/scratch/cartpoles/data/hyperparam/cartpole/offline_learning/esarsa-adam/'
dirs = os.listdir(basepath)
string = ''''''
for dir in dirs:
print(dir)
subbasepath = basepath + dir + '/'
subdirs = os.listdir(subbasepath)
for subdir in subdirs:
print(subdir)
subsubbasepath = subbasepath + subdir + '/'
subsubdirs = os.listdir(subsubbasepath)
string += subsubbasepath + '\n'
content = []
for i in range(0,len(subsubdirs)-1):
for j in range(i+1, len(subsubdirs)):
a = os.system('diff ' + subsubbasepath + subsubdirs[i] + '/log_json.txt ' + subsubbasepath + subsubdirs[j] + '/log_json.txt')
content.append([a, subsubdirs[i], subsubdirs[j]])
filteredcontent = [i for i in content if i[0] == 0]
for i in range(len(filteredcontent)):
string += ' and '.join(filteredcontent[i][1:])
if i != len(filteredcontent) - 1:
string += ', '
string += '\n\n'
f = open('offlinelearningerrors.txt','w')
f.write(string)
f.close()
| 33.862069 | 129 | 0.669043 |
22b4a1c6f88314760073b0d207d79b3e4653b1cf | 4,848 | py | Python | src/pybacked/zip_handler.py | bluePlatinum/pyback | 1c12a52974232b0482981c12a9af27e52dd2190e | [
"MIT"
] | null | null | null | src/pybacked/zip_handler.py | bluePlatinum/pyback | 1c12a52974232b0482981c12a9af27e52dd2190e | [
"MIT"
] | null | null | null | src/pybacked/zip_handler.py | bluePlatinum/pyback | 1c12a52974232b0482981c12a9af27e52dd2190e | [
"MIT"
] | null | null | null | import os
import shutil
import tempfile
import zipfile
def archive_write(archivepath, data, filename, compression, compressionlevel):
"""
Create a file named filename in the archive and write data to it
:param archivepath: The path to the zip-archive
:type archivepath: str
:param data: The data to be written to the file
:type data: str
:param filename: The filename for the newly created file
:type filename: str
:param compression: The desired compression for the zip-archive
:type compression: int
:param compressionlevel: The desired compression level for the zip-archive
:type compressionlevel: int
:return: void
"""
archive = zipfile.ZipFile(archivepath, mode='a',
compression=compression,
compresslevel=compressionlevel)
archive.writestr(filename, data)
archive.close()
def create_archive(archivepath, filedict, compression, compressionlevel):
"""
Write filedict to zip-archive data subdirectory. Will check wether archive
at archivepath exists before writing. If file exists will raise a
FileExistsError.
:param archivepath: the path to the file
:param filedict: dictionary containing the filepath, filename key-value
pairs
:param compression: desired compression methods (see zipfile documentation)
:param compressionlevel: compression level (see zipfile documentation)
:return: void
"""
if os.path.isfile(archivepath):
raise FileExistsError("Specified file already exists")
else:
archive = zipfile.ZipFile(archivepath, mode='x',
compression=compression,
compresslevel=compressionlevel)
for filepath, filename in filedict.items():
archive.write(filepath, arcname="data/" + filename)
archive.close()
def extract_archdata(archivepath, filename, destination):
"""
Extract a file from a archive and write it to the destination. If the
destination path already exists extract_archdata will not overwrite but
will throw a "FileExists" error.
:param archivepath: The path to the archive containing the file
:type archivepath: str
:param filename: The archive name of the desired file.
:type filename: str
:param destination: The path at which the extracted file is to be placed.
:type destination: str
:return: void
:rtype: None
"""
# check if destination path already exists
if os.path.exists(destination):
raise FileExistsError("The specified destination is already in use")
archive = zipfile.ZipFile(archivepath, mode='r')
with tempfile.TemporaryDirectory() as tmpdir:
archive.extract(filename, path=tmpdir)
# create directories for the destination
os.makedirs(os.path.dirname(destination), exist_ok=True)
shutil.copy(os.path.abspath(tmpdir + "/" + filename), destination)
def read_bin(archivepath, filelist):
"""
Read a list of files from an archive and return the file data as a
dictionary of filename, data key-value pairs.
:param archivepath: the path to the archive
:param filelist: list of filenames to read
:return: dictionary with filename, data key-value pairs
:rtype: dict
"""
datadict = dict()
if os.path.isfile(archivepath):
archive = zipfile.ZipFile(archivepath, mode='r')
else:
raise FileNotFoundError("Specified file does not exist")
for filename in filelist:
try:
file = archive.open(filename)
datadict[filename] = file.read().decode()
file.close()
except KeyError:
datadict[filename] = None
archive.close()
return datadict
def read_diff_log(archivepath):
"""
Read the diff-log.csv from a given archive file.
:param archivepath: The path to the zip-archive
:type archivepath: str
:return: The diff-log.csv contents in ascii string form.
:rtype: str
"""
arch = zipfile.ZipFile(archivepath, mode='r')
diff_log_file = arch.open("diff-log.csv")
diff_log_bin = diff_log_file.read()
diff_log = diff_log_bin.decode()
diff_log_file.close()
arch.close()
return diff_log
def zip_extract(archivepath, filelist, extractpath):
"""
Extract a list of files to a specific location
:param archivepath: the path to the zip-archive
:param filelist: list of member filenames to extract
:param extractpath: path for the extracted files
:return: void
"""
if os.path.isfile(archivepath):
archive = zipfile.ZipFile(archivepath, mode='r')
else:
raise FileNotFoundError("Specified file does not exist")
archive.extractall(path=extractpath, members=filelist)
archive.close()
| 33.902098 | 79 | 0.679868 |
22b5613b1a36e6519fc3f676eadefe6b4b566ae1 | 968 | py | Python | src/query_planner/abstract_scan_plan.py | imvinod/Eva | 0ed9814ae89db7dce1fb734dc99d5dac69cb3c82 | [
"Apache-2.0"
] | 1 | 2019-11-06T03:30:08.000Z | 2019-11-06T03:30:08.000Z | src/query_planner/abstract_scan_plan.py | imvinod/Eva | 0ed9814ae89db7dce1fb734dc99d5dac69cb3c82 | [
"Apache-2.0"
] | 1 | 2019-11-18T03:09:56.000Z | 2019-11-18T03:09:56.000Z | src/query_planner/abstract_scan_plan.py | asrayousuf/Eva | f652e5d398556055490c146f37e7a2d7a9d091f3 | [
"Apache-2.0"
] | null | null | null | """Abstract class for all the scan planners
https://www.postgresql.org/docs/9.1/using-explain.html
https://www.postgresql.org/docs/9.5/runtime-config-query.html
"""
from src.query_planner.abstract_plan import AbstractPlan
from typing import List
| 26.162162 | 61 | 0.664256 |
22b61a63d3fab6ac5a4af3febf6a8b869aa2fb13 | 926 | py | Python | tests/tools/test-tcp4-client.py | jimmy-huang/zephyr.js | cef5c0dffaacf7d5aa3f8265626f68a1e2b32eb5 | [
"Apache-2.0"
] | null | null | null | tests/tools/test-tcp4-client.py | jimmy-huang/zephyr.js | cef5c0dffaacf7d5aa3f8265626f68a1e2b32eb5 | [
"Apache-2.0"
] | null | null | null | tests/tools/test-tcp4-client.py | jimmy-huang/zephyr.js | cef5c0dffaacf7d5aa3f8265626f68a1e2b32eb5 | [
"Apache-2.0"
] | null | null | null | # !usr/bin/python
# coding:utf-8
import time
import socket
if __name__ == "__main__" :
main()
| 20.577778 | 64 | 0.512959 |
22b65cc97460c0c9287ab847203def7abf74c5bd | 1,642 | py | Python | kinto/__main__.py | s-utsch/kinto | 5e368849a8ab652a6e1923f44febcf89afd2c78b | [
"Apache-2.0"
] | null | null | null | kinto/__main__.py | s-utsch/kinto | 5e368849a8ab652a6e1923f44febcf89afd2c78b | [
"Apache-2.0"
] | null | null | null | kinto/__main__.py | s-utsch/kinto | 5e368849a8ab652a6e1923f44febcf89afd2c78b | [
"Apache-2.0"
] | null | null | null | import argparse
import sys
from cliquet.scripts import cliquet
from pyramid.scripts import pserve
from pyramid.paster import bootstrap
def main(args=None):
"""The main routine."""
if args is None:
args = sys.argv[1:]
parser = argparse.ArgumentParser(description="Kinto commands")
subparsers = parser.add_subparsers(title='subcommands',
description='valid subcommands',
help='init/start/migrate')
parser_init = subparsers.add_parser('init')
parser_init.set_defaults(which='init')
parser_init.add_argument('--config_file', required=False,
help='Config file may be passed as argument')
parser_migrate = subparsers.add_parser('migrate')
parser_migrate.set_defaults(which='migrate')
parser_start = subparsers.add_parser('start')
parser_start.set_defaults(which='start')
args = vars(parser.parse_args())
if args['which'] == 'init':
if(args['config_file'] is None):
env = bootstrap('config/kinto.ini')
else:
config_file = format(args['config_file'])
env = bootstrap(config_file)
elif args['which'] == 'migrate':
env = bootstrap('config/kinto.ini')
cliquet.init_schema(env)
elif args['which'] == 'start':
pserve_argv = ['pserve', 'config/kinto.ini', '--reload']
pserve.main(pserve_argv)
if __name__ == "__main__":
main()
| 34.93617 | 78 | 0.563337 |
22b79c3feb3f8475ac595810daa8294a07d6c2b9 | 625 | py | Python | apis/admin.py | JumboCode/GroundWorkSomerville | 280f9cd8ea38f065c9fb113e563a4be362a7e265 | [
"MIT"
] | null | null | null | apis/admin.py | JumboCode/GroundWorkSomerville | 280f9cd8ea38f065c9fb113e563a4be362a7e265 | [
"MIT"
] | null | null | null | apis/admin.py | JumboCode/GroundWorkSomerville | 280f9cd8ea38f065c9fb113e563a4be362a7e265 | [
"MIT"
] | 1 | 2021-06-28T22:56:22.000Z | 2021-06-28T22:56:22.000Z | from django.contrib import admin
from django.contrib.auth.models import User
from .models import Vegetable, Harvest, Transaction, Merchandise, MerchandisePrice
from .models import PurchasedItem, UserProfile, VegetablePrice, StockedVegetable
from .models import MerchandisePhotos
admin.site.register(Vegetable)
admin.site.register(StockedVegetable)
admin.site.register(Harvest)
admin.site.register(VegetablePrice)
admin.site.register(PurchasedItem)
admin.site.register(Transaction)
admin.site.register(UserProfile)
admin.site.register(Merchandise)
admin.site.register(MerchandisePrice)
admin.site.register(MerchandisePhotos)
| 36.764706 | 82 | 0.8528 |
22b7e88858264b834f72f09e2cb52dba1a8d0aee | 3,423 | py | Python | tests/unit/media/test_synthesis.py | AnantTiwari-Naman/pyglet | 4774f2889057da95a78785a69372112931e6a620 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/media/test_synthesis.py | AnantTiwari-Naman/pyglet | 4774f2889057da95a78785a69372112931e6a620 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/media/test_synthesis.py | AnantTiwari-Naman/pyglet | 4774f2889057da95a78785a69372112931e6a620 | [
"BSD-3-Clause"
] | 1 | 2021-09-16T20:47:07.000Z | 2021-09-16T20:47:07.000Z | from ctypes import sizeof
from io import BytesIO
import unittest
from pyglet.media.synthesis import *
local_dir = os.path.dirname(__file__)
test_data_path = os.path.abspath(os.path.join(local_dir, '..', '..', 'data'))
del local_dir
def get_test_data_file(*file_parts):
"""Get a file from the test data directory in an OS independent way.
Supply relative file name as you would in os.path.join().
"""
return os.path.join(test_data_path, *file_parts)
| 32.6 | 96 | 0.706106 |
22b80f5d2e66e370817465d9b5b278c1f1dcbe4e | 282 | py | Python | Ejercicio/Ejercicio7.py | tavo1599/F.P2021 | a592804fb5ae30da55551d9e29819887919db041 | [
"Apache-2.0"
] | 1 | 2021-05-05T19:39:37.000Z | 2021-05-05T19:39:37.000Z | Ejercicio/Ejercicio7.py | tavo1599/F.P2021 | a592804fb5ae30da55551d9e29819887919db041 | [
"Apache-2.0"
] | null | null | null | Ejercicio/Ejercicio7.py | tavo1599/F.P2021 | a592804fb5ae30da55551d9e29819887919db041 | [
"Apache-2.0"
] | null | null | null | #Datos de entrada
num=int(input("Ingrese un numero: "))
# Proceso
if num==10:
print("Calificacion: A")
elif num==9:
print("Calificacion: B")
elif num==8:
print("Calificacion: C")
elif num==7 and num==6:
print("Calificacion: D")
elif num<=5 and num>=0:
print("Calificacion: F")
| 20.142857 | 37 | 0.673759 |
22b828cde8bc59acbcf210743592fd1c629c4095 | 417 | py | Python | 2015/day-2/part2.py | nairraghav/advent-of-code-2019 | 274a2a4a59a8be39afb323356c592af5e1921e54 | [
"MIT"
] | null | null | null | 2015/day-2/part2.py | nairraghav/advent-of-code-2019 | 274a2a4a59a8be39afb323356c592af5e1921e54 | [
"MIT"
] | null | null | null | 2015/day-2/part2.py | nairraghav/advent-of-code-2019 | 274a2a4a59a8be39afb323356c592af5e1921e54 | [
"MIT"
] | null | null | null | ribbon_needed = 0
with open("input.txt", "r") as puzzle_input:
for line in puzzle_input:
length, width, height = [int(item) for item in line.split("x")]
dimensions = [length, width, height]
smallest_side = min(dimensions)
dimensions.remove(smallest_side)
second_smallest_side = min(dimensions)
ribbon_needed += 2*smallest_side + 2*second_smallest_side + length*width*height
print(ribbon_needed)
| 26.0625 | 81 | 0.736211 |
22b916a799056741ecb2a3c045e0fdb664033699 | 11,424 | py | Python | Algorithm.Python/Alphas/GreenblattMagicFormulaAlgorithm.py | aaronwJordan/Lean | 3486a6de56a739e44af274f421ac302cbbc98f8d | [
"Apache-2.0"
] | null | null | null | Algorithm.Python/Alphas/GreenblattMagicFormulaAlgorithm.py | aaronwJordan/Lean | 3486a6de56a739e44af274f421ac302cbbc98f8d | [
"Apache-2.0"
] | null | null | null | Algorithm.Python/Alphas/GreenblattMagicFormulaAlgorithm.py | aaronwJordan/Lean | 3486a6de56a739e44af274f421ac302cbbc98f8d | [
"Apache-2.0"
] | null | null | null | # QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from clr import AddReference
AddReference("System")
AddReference("QuantConnect.Common")
AddReference("QuantConnect.Algorithm")
AddReference("QuantConnect.Indicators")
AddReference("QuantConnect.Algorithm.Framework")
from System import *
from QuantConnect import *
from QuantConnect.Orders.Fees import ConstantFeeModel
from QuantConnect.Data.UniverseSelection import *
from QuantConnect.Indicators import *
from Selection.FundamentalUniverseSelectionModel import FundamentalUniverseSelectionModel
from datetime import timedelta, datetime
from math import ceil
from itertools import chain
#
# This alpha picks stocks according to Joel Greenblatt's Magic Formula.
# First, each stock is ranked depending on the relative value of the ratio EV/EBITDA. For example, a stock
# that has the lowest EV/EBITDA ratio in the security universe receives a score of one while a stock that has
# the tenth lowest EV/EBITDA score would be assigned 10 points.
#
# Then, each stock is ranked and given a score for the second valuation ratio, Return on Capital (ROC).
# Similarly, a stock that has the highest ROC value in the universe gets one score point.
# The stocks that receive the lowest combined score are chosen for insights.
#
# Source: Greenblatt, J. (2010) The Little Book That Beats the Market
#
# This alpha is part of the Benchmark Alpha Series created by QuantConnect which are open
# sourced so the community and client funds can see an example of an alpha.
#
class GreenBlattMagicFormulaUniverseSelectionModel(FundamentalUniverseSelectionModel):
'''Defines a universe according to Joel Greenblatt's Magic Formula, as a universe selection model for the framework algorithm.
From the universe QC500, stocks are ranked using the valuation ratios, Enterprise Value to EBITDA (EV/EBITDA) and Return on Assets (ROA).
'''
def __init__(self,
filterFineData = True,
universeSettings = None,
securityInitializer = None):
'''Initializes a new default instance of the MagicFormulaUniverseSelectionModel'''
super().__init__(filterFineData, universeSettings, securityInitializer)
# Number of stocks in Coarse Universe
self.NumberOfSymbolsCoarse = 500
# Number of sorted stocks in the fine selection subset using the valuation ratio, EV to EBITDA (EV/EBITDA)
self.NumberOfSymbolsFine = 20
# Final number of stocks in security list, after sorted by the valuation ratio, Return on Assets (ROA)
self.NumberOfSymbolsInPortfolio = 10
self.lastMonth = -1
self.dollarVolumeBySymbol = {}
self.symbols = []
def SelectCoarse(self, algorithm, coarse):
'''Performs coarse selection for constituents.
The stocks must have fundamental data
The stock must have positive previous-day close price
The stock must have positive volume on the previous trading day'''
month = algorithm.Time.month
if month == self.lastMonth:
return self.symbols
self.lastMonth = month
# The stocks must have fundamental data
# The stock must have positive previous-day close price
# The stock must have positive volume on the previous trading day
filtered = [x for x in coarse if x.HasFundamentalData
and x.Volume > 0
and x.Price > 0]
# sort the stocks by dollar volume and take the top 1000
top = sorted(filtered, key=lambda x: x.DollarVolume, reverse=True)[:self.NumberOfSymbolsCoarse]
self.dollarVolumeBySymbol = { i.Symbol: i.DollarVolume for i in top }
self.symbols = list(self.dollarVolumeBySymbol.keys())
return self.symbols
def SelectFine(self, algorithm, fine):
'''QC500: Performs fine selection for the coarse selection constituents
The company's headquarter must in the U.S.
The stock must be traded on either the NYSE or NASDAQ
At least half a year since its initial public offering
The stock's market cap must be greater than 500 million
Magic Formula: Rank stocks by Enterprise Value to EBITDA (EV/EBITDA)
Rank subset of previously ranked stocks (EV/EBITDA), using the valuation ratio Return on Assets (ROA)'''
# QC500:
## The company's headquarter must in the U.S.
## The stock must be traded on either the NYSE or NASDAQ
## At least half a year since its initial public offering
## The stock's market cap must be greater than 500 million
filteredFine = [x for x in fine if x.CompanyReference.CountryId == "USA"
and (x.CompanyReference.PrimaryExchangeID == "NYS" or x.CompanyReference.PrimaryExchangeID == "NAS")
and (algorithm.Time - x.SecurityReference.IPODate).days > 180
and x.EarningReports.BasicAverageShares.ThreeMonths * x.EarningReports.BasicEPS.TwelveMonths * x.ValuationRatios.PERatio > 5e8]
count = len(filteredFine)
if count == 0: return []
myDict = dict()
percent = float(self.NumberOfSymbolsFine / count)
# select stocks with top dollar volume in every single sector
for key in ["N", "M", "U", "T", "B", "I"]:
value = [x for x in filteredFine if x.CompanyReference.IndustryTemplateCode == key]
value = sorted(value, key=lambda x: self.dollarVolumeBySymbol[x.Symbol], reverse = True)
myDict[key] = value[:ceil(len(value) * percent)]
# stocks in QC500 universe
topFine = list(chain.from_iterable(myDict.values()))[:self.NumberOfSymbolsCoarse]
# Magic Formula:
## Rank stocks by Enterprise Value to EBITDA (EV/EBITDA)
## Rank subset of previously ranked stocks (EV/EBITDA), using the valuation ratio Return on Assets (ROA)
# sort stocks in the security universe of QC500 based on Enterprise Value to EBITDA valuation ratio
sortedByEVToEBITDA = sorted(topFine, key=lambda x: x.ValuationRatios.EVToEBITDA , reverse=True)
# sort subset of stocks that have been sorted by Enterprise Value to EBITDA, based on the valuation ratio Return on Assets (ROA)
sortedByROA = sorted(sortedByEVToEBITDA[:self.NumberOfSymbolsFine], key=lambda x: x.ValuationRatios.ForwardROA, reverse=False)
# retrieve list of securites in portfolio
top = sortedByROA[:self.NumberOfSymbolsInPortfolio]
self.symbols = [f.Symbol for f in top]
return self.symbols
| 44.8 | 167 | 0.68785 |
22b976d4af390f9c20bc3dedbfcb6376fdbf0308 | 5,277 | py | Python | hw2/deeplearning/style_transfer.py | axelbr/berkeley-cs182-deep-neural-networks | 2bde27d9d5361d48dce7539d00b136209c1cfaa1 | [
"MIT"
] | null | null | null | hw2/deeplearning/style_transfer.py | axelbr/berkeley-cs182-deep-neural-networks | 2bde27d9d5361d48dce7539d00b136209c1cfaa1 | [
"MIT"
] | null | null | null | hw2/deeplearning/style_transfer.py | axelbr/berkeley-cs182-deep-neural-networks | 2bde27d9d5361d48dce7539d00b136209c1cfaa1 | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.nn.functional as F
def content_loss(content_weight, content_current, content_target):
"""
Compute the content loss for style transfer.
Inputs:
- content_weight: Scalar giving the weighting for the content loss.
- content_current: features of the current image; this is a PyTorch Tensor of shape
(1, C_l, H_l, W_l).
- content_target: features of the content image, Tensor with shape (1, C_l, H_l, W_l).
Returns:
- scalar content loss
"""
##############################################################################
# YOUR CODE HERE #
##############################################################################
_, C, H, W = content_current.shape
current_features = content_current.view(C, H*W)
target_features = content_target.view(C, H*W)
loss = content_weight * torch.sum(torch.square(current_features - target_features))
return loss
##############################################################################
# END OF YOUR CODE #
##############################################################################
def gram_matrix(features, normalize=True):
"""
Compute the Gram matrix from features.
Inputs:
- features: PyTorch Variable of shape (N, C, H, W) giving features for
a batch of N images.
- normalize: optional, whether to normalize the Gram matrix
If True, divide the Gram matrix by the number of neurons (H * W * C)
Returns:
- gram: PyTorch Variable of shape (N, C, C) giving the
(optionally normalized) Gram matrices for the N input images.
"""
##############################################################################
# YOUR CODE HERE #
##############################################################################
C, H, W = features.shape[-3], features.shape[-2], features.shape[-1]
reshaped = features.view(-1, C, H*W)
G = reshaped @ reshaped.transpose(dim0=1, dim1=2)
if normalize:
G = G / (H*W*C)
return G
##############################################################################
# END OF YOUR CODE #
##############################################################################
def style_loss(feats, style_layers, style_targets, style_weights):
"""
Computes the style loss at a set of layers.
Inputs:
- feats: list of the features at every layer of the current image, as produced by
the extract_features function.
- style_layers: List of layer indices into feats giving the layers to include in the
style loss.
- style_targets: List of the same length as style_layers, where style_targets[i] is
a PyTorch Variable giving the Gram matrix the source style image computed at
layer style_layers[i].
- style_weights: List of the same length as style_layers, where style_weights[i]
is a scalar giving the weight for the style loss at layer style_layers[i].
Returns:
- style_loss: A PyTorch Variable holding a scalar giving the style loss.
"""
# Hint: you can do this with one for loop over the style layers, and should
# not be very much code (~5 lines). You will need to use your gram_matrix function.
##############################################################################
# YOUR CODE HERE #
##############################################################################
loss = 0
for i, l in enumerate(style_layers):
A, G = style_targets[i], gram_matrix(feats[l])
loss += style_weights[i] * torch.sum(torch.square(G - A))
return loss
##############################################################################
# END OF YOUR CODE #
##############################################################################
def tv_loss(img, tv_weight):
"""
Compute total variation loss.
Inputs:
- img: PyTorch Variable of shape (1, 3, H, W) holding an input image.
- tv_weight: Scalar giving the weight w_t to use for the TV loss.
Returns:
- loss: PyTorch Variable holding a scalar giving the total variation loss
for img weighted by tv_weight.
"""
# Your implementation should be vectorized and not require any loops!
##############################################################################
# YOUR CODE HERE #
##############################################################################
tv = torch.square(img[..., 1:, :-1] - img[..., :-1, :-1]) + torch.square(img[..., :-1, 1:] - img[..., :-1, :-1])
return tv_weight * torch.sum(tv)
##############################################################################
# END OF YOUR CODE #
##############################################################################
| 45.886957 | 116 | 0.437938 |
22b997fa793710eae107fad9390bbdd1f1c77572 | 495 | py | Python | submissions/available/Johnson-CausalTesting/Holmes/fuzzers/Peach/Transformers/Encode/HTMLDecode.py | brittjay0104/rose6icse | 7b24743b7a805b9ed094b67e4a08bad7894f0e84 | [
"Unlicense"
] | null | null | null | submissions/available/Johnson-CausalTesting/Holmes/fuzzers/Peach/Transformers/Encode/HTMLDecode.py | brittjay0104/rose6icse | 7b24743b7a805b9ed094b67e4a08bad7894f0e84 | [
"Unlicense"
] | null | null | null | submissions/available/Johnson-CausalTesting/Holmes/fuzzers/Peach/Transformers/Encode/HTMLDecode.py | brittjay0104/rose6icse | 7b24743b7a805b9ed094b67e4a08bad7894f0e84 | [
"Unlicense"
] | null | null | null | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import xml.sax.saxutils
from Peach.transformer import Transformer
| 29.117647 | 69 | 0.717172 |
22be5667afd253d36e99d23282612d6ddbb78c15 | 2,132 | py | Python | src/archive/greatcircle.py | AuraUAS/aura-core | 4711521074db72ba9089213e14455d89dc5306c0 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 8 | 2016-08-03T19:35:03.000Z | 2019-12-15T06:25:05.000Z | src/archive/greatcircle.py | jarilq/aura-core | 7880ed265396bf8c89b783835853328e6d7d1589 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 4 | 2018-09-27T15:48:56.000Z | 2018-11-05T12:38:10.000Z | src/archive/greatcircle.py | jarilq/aura-core | 7880ed265396bf8c89b783835853328e6d7d1589 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 5 | 2017-06-28T19:15:36.000Z | 2020-02-19T19:31:24.000Z | # From: http://williams.best.vwh.net/avform.htm#GCF
import math
EPS = 0.0001
d2r = math.pi / 180.0
r2d = 180.0 / math.pi
rad2nm = (180.0 * 60.0) / math.pi
nm2rad = 1.0 / rad2nm
nm2meter = 1852
meter2nm = 1.0 / nm2meter
# p1 = (lat1(deg), lon1(deg))
# p2 = (lat2(deg), lon2(deg))
| 29.611111 | 138 | 0.560976 |
22be826c96db32727162b13681b36634865339c6 | 1,195 | py | Python | app/__init__.py | JoeCare/flask_geolocation_api | ad9ea0d22b738a7af8421cc57c972bd0e0fa80da | [
"Apache-2.0"
] | null | null | null | app/__init__.py | JoeCare/flask_geolocation_api | ad9ea0d22b738a7af8421cc57c972bd0e0fa80da | [
"Apache-2.0"
] | 2 | 2021-03-14T03:55:49.000Z | 2021-03-14T04:01:32.000Z | app/__init__.py | JoeCare/flask_geolocation_api | ad9ea0d22b738a7af8421cc57c972bd0e0fa80da | [
"Apache-2.0"
] | null | null | null | import connexion, os
from connexion.resolver import RestyResolver
from flask import json
from flask_sqlalchemy import SQLAlchemy
from flask_marshmallow import Marshmallow
# Globally accessible libraries
db = SQLAlchemy()
mm = Marshmallow()
def init_app():
"""Initialize the Connexion application."""
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
openapi_path = os.path.join(BASE_DIR, "../")
conn_app = connexion.FlaskApp(
__name__, specification_dir=openapi_path, options={
"swagger_ui": True,
"serve_spec": True
}
)
conn_app.add_api("openapi.yaml", resolver=RestyResolver('run'),
strict_validation=True)
# Flask app and getting into app_context
app = conn_app.app
# Load application config
app.config.from_object('config.ProdConfig')
app.json_encoder = json.JSONEncoder
# Initialize Plugins
db.init_app(app)
mm.init_app(app)
with app.app_context():
# Include our Routes/views
import run
# Register Blueprints
# app.register_blueprint(auth.auth_bp)
# app.register_blueprint(admin.admin_bp)
return app
| 26.555556 | 67 | 0.672803 |
22c02d3ee15e860f429769f7b7700c393718fcdc | 29,893 | py | Python | RIPv2-Simulation/Router.py | vkmanojk/Networks-VirtualLAN | 52c6546da611a7a7b9fdea65c567b284664a99b4 | [
"MIT"
] | null | null | null | RIPv2-Simulation/Router.py | vkmanojk/Networks-VirtualLAN | 52c6546da611a7a7b9fdea65c567b284664a99b4 | [
"MIT"
] | null | null | null | RIPv2-Simulation/Router.py | vkmanojk/Networks-VirtualLAN | 52c6546da611a7a7b9fdea65c567b284664a99b4 | [
"MIT"
] | null | null | null | '''
Summary: Program that implements a routing deamon based on the
RIP version 2 protocol from RFC2453.
Usage: python3 Router.py <router_config_file>
Configuration File:
The user supplies a router configuration file of the format:
[Settings]
router-id = <router_number>
input-ports = <input> [, <input>, ...]
outputs = <output>-<metric>-<destination_router>
[, <output>-<metric>-<destination_router>, ...]
where,
router_number: ID of router between 1 - 64000.
input: port number between 1024 - 64000.
output: port number between 1024 - 6400,
not equal to any inputs.
metric: metric of output between 1 - 16.
destination_router: ID of destination router.
Description:
This program implements a basic RIPv2 routing protocol from RFC2453
for routing computations in computer networks. It takes a configuration
file as shown above and sets up a router with a new socket for each
input-port.
The RIPv2 protocol uses a routing table to keep track of all reachable
routers on the network along with their metric/cost and the direct
next hop router ID along the route to that destination router. However,
it can only send messages to the direct neighbours specified in outputs.
The protocol uses the Bellman-Ford distance vector algorithm to compute
the lowest cost route to each router in the network. If the metric is
16 or greater, the router is considered unreachable.
The routing table initially starts with a single route entry (RTE) for
itself with a metric of zero. The routing table is periodically
transmitted too each of its direct output ports via an unsolicited
response message as defined in RFC2453 section 3.9.2 and 4. This is
performed on a separate thread so it does not interfere with other
operations
The receives messages from other routers by using the python select()
function which blocks until a message is ready to be read. Once a
message is received the header and contents are validated.
If the message is valid each RTE is processed according to RFC2453
section 3.9.2.
If a new router is found the RTE is added
to the routing table, adding the cost to the metric for the output
the message was received on.
If the RTE already exists, but the metric is smaller, the metric
is updated to the lower metric.
If the lower metric is from a different next hop router, change the
next hop.
If nothing has changed, restart the timeout timer.
If RTE metric >= max metric of 16, mark the entry for
garbage collection and update the metric in the table.
If any change has occurred in the routing table as a result of a
received message, a triggered update (RFC2453 section 3.10.1) is sent
to all outputs with the updated entries. Triggered updates are sent with
a random delay between 1 - 5 seconds to prevent synchronized updates.
Request messages are not implemented in this program.
Timers (all timers are on separate threads) (RFC2453 section 3.8):
Update timer - Periodic unsolicited response message sent to all
outputs. The period is adjusted each time to a random value
between 0.8 * BASE_TIMER and 1.2 * BASE_TIMER to prevent
synchronized updates.
Timeout - used to check the routing table for RTEs which have
have not been updated within the ROUTE_TIMEOUT interval. If
a router has not been heard from within this time, then set the
metric to the max metric of 16 and start the garbage collection
timer.
Garbage timer - used to check the routing table for RTEs set
for garbage collection. If the timeout >= DELETE_TIMEOUT,
mark the RTE for deletion.
Garbage Collection - used to check the routing table for RTEs
marked for deletion, and removes those entries from the table.
'''
import configparser
import select
import socket
import sys
import time
import threading
import struct
import datetime
from random import randint, randrange
DEBUG = False
HOST = '127.0.0.1' # localhost
BASE_TIMER = 5
MAX_METRIC = 16
ROUTE_TIMEOUT = BASE_TIMER * 6
DELETE_TIMEOUT = BASE_TIMER * 4
AF_INET = 2
# ===========================================================================
# TRANSITIONS
# ===========================================================================
# STATES
# ===========================================================================
# FINITE STATE MACHINE
# ===========================================================================
# IMPLEMENTATION
# RUN THE PROGRAM
def print_message(message):
'''Print the given message with the current time before it'''
if DEBUG:
print("[" + time.strftime("%H:%M:%S") + "]: " + message)
def main():
'''Main function to run the program.'''
if __name__ == "__main__":
router = Router(str(sys.argv[-1]))
router.start_timers()
router.main_loop()
main()
| 35.12691 | 95 | 0.544174 |
22c090ce75cc118c533814274bbfc243abbfc79a | 5,669 | py | Python | atlaselectrophysiology/extract_files.py | alowet/iblapps | 9be936cd6806153dde0cbff1b6f2180191de3aeb | [
"MIT"
] | null | null | null | atlaselectrophysiology/extract_files.py | alowet/iblapps | 9be936cd6806153dde0cbff1b6f2180191de3aeb | [
"MIT"
] | null | null | null | atlaselectrophysiology/extract_files.py | alowet/iblapps | 9be936cd6806153dde0cbff1b6f2180191de3aeb | [
"MIT"
] | null | null | null | from ibllib.io import spikeglx
import numpy as np
import ibllib.dsp as dsp
from scipy import signal
from ibllib.misc import print_progress
from pathlib import Path
import alf.io as aio
import logging
import ibllib.ephys.ephysqc as ephysqc
from phylib.io import alf
_logger = logging.getLogger('ibllib')
RMS_WIN_LENGTH_SECS = 3
WELCH_WIN_LENGTH_SAMPLES = 1024
def rmsmap(fbin, spectra=True):
"""
Computes RMS map in time domain and spectra for each channel of Neuropixel probe
:param fbin: binary file in spike glx format (will look for attached metatdata)
:type fbin: str or pathlib.Path
:param spectra: whether to compute the power spectrum (only need for lfp data)
:type: bool
:return: a dictionary with amplitudes in channeltime space, channelfrequency space, time
and frequency scales
"""
if not isinstance(fbin, spikeglx.Reader):
sglx = spikeglx.Reader(fbin)
rms_win_length_samples = 2 ** np.ceil(np.log2(sglx.fs * RMS_WIN_LENGTH_SECS))
# the window generator will generates window indices
wingen = dsp.WindowGenerator(ns=sglx.ns, nswin=rms_win_length_samples, overlap=0)
# pre-allocate output dictionary of numpy arrays
win = {'TRMS': np.zeros((wingen.nwin, sglx.nc)),
'nsamples': np.zeros((wingen.nwin,)),
'fscale': dsp.fscale(WELCH_WIN_LENGTH_SAMPLES, 1 / sglx.fs, one_sided=True),
'tscale': wingen.tscale(fs=sglx.fs)}
win['spectral_density'] = np.zeros((len(win['fscale']), sglx.nc))
# loop through the whole session
for first, last in wingen.firstlast:
D = sglx.read_samples(first_sample=first, last_sample=last)[0].transpose()
# remove low frequency noise below 1 Hz
D = dsp.hp(D, 1 / sglx.fs, [0, 1])
iw = wingen.iw
win['TRMS'][iw, :] = dsp.rms(D)
win['nsamples'][iw] = D.shape[1]
if spectra:
# the last window may be smaller than what is needed for welch
if last - first < WELCH_WIN_LENGTH_SAMPLES:
continue
# compute a smoothed spectrum using welch method
_, w = signal.welch(D, fs=sglx.fs, window='hanning', nperseg=WELCH_WIN_LENGTH_SAMPLES,
detrend='constant', return_onesided=True, scaling='density',
axis=-1)
win['spectral_density'] += w.T
# print at least every 20 windows
if (iw % min(20, max(int(np.floor(wingen.nwin / 75)), 1))) == 0:
print_progress(iw, wingen.nwin)
return win
def extract_rmsmap(fbin, out_folder=None, spectra=True):
"""
Wrapper for rmsmap that outputs _ibl_ephysRmsMap and _ibl_ephysSpectra ALF files
:param fbin: binary file in spike glx format (will look for attached metatdata)
:param out_folder: folder in which to store output ALF files. Default uses the folder in which
the `fbin` file lives.
:param spectra: whether to compute the power spectrum (only need for lfp data)
:type: bool
:return: None
"""
_logger.info(f"Computing QC for {fbin}")
sglx = spikeglx.Reader(fbin)
# check if output ALF files exist already:
if out_folder is None:
out_folder = Path(fbin).parent
else:
out_folder = Path(out_folder)
alf_object_time = f'_iblqc_ephysTimeRms{sglx.type.upper()}'
alf_object_freq = f'_iblqc_ephysSpectralDensity{sglx.type.upper()}'
# crunch numbers
rms = rmsmap(fbin, spectra=spectra)
# output ALF files, single precision with the optional label as suffix before extension
if not out_folder.exists():
out_folder.mkdir()
tdict = {'rms': rms['TRMS'].astype(np.single), 'timestamps': rms['tscale'].astype(np.single)}
aio.save_object_npy(out_folder, object=alf_object_time, dico=tdict)
if spectra:
fdict = {'power': rms['spectral_density'].astype(np.single),
'freqs': rms['fscale'].astype(np.single)}
aio.save_object_npy(out_folder, object=alf_object_freq, dico=fdict)
def _sample2v(ap_file):
"""
Convert raw ephys data to Volts
"""
md = spikeglx.read_meta_data(ap_file.with_suffix('.meta'))
s2v = spikeglx._conversion_sample2v_from_meta(md)
return s2v['ap'][0]
def ks2_to_alf(ks_path, bin_path, out_path, bin_file=None, ampfactor=1, label=None, force=True):
"""
Convert Kilosort 2 output to ALF dataset for single probe data
:param ks_path:
:param bin_path: path of raw data
:param out_path:
:return:
"""
m = ephysqc.phy_model_from_ks2_path(ks2_path=ks_path, bin_path=bin_path, bin_file=bin_file)
ephysqc.spike_sorting_metrics_ks2(ks_path, m, save=True)
ac = alf.EphysAlfCreator(m)
ac.convert(out_path, label=label, force=force, ampfactor=ampfactor)
# if __name__ == '__main__':
#
# ephys_path = Path('C:/Users/Mayo/Downloads/raw_ephys_data')
# ks_path = Path('C:/Users/Mayo/Downloads/KS2')
# out_path = Path('C:/Users/Mayo/Downloads/alf')
# extract_data(ks_path, ephys_path, out_path)
| 40.492857 | 99 | 0.657259 |
22c0a198d3ffbdb90c8a504d310e057f35103de5 | 2,740 | py | Python | site_settings/models.py | shervinbdndev/Django-Shop | baa4e7b91fbdd01ee591049c12cd9fbfaa434379 | [
"MIT"
] | 13 | 2022-02-25T05:04:58.000Z | 2022-03-15T10:55:24.000Z | site_settings/models.py | iTsSobhan/Django-Shop | 9eb6a08c6e93e5401d6bc2eeb30f2ef35adec730 | [
"MIT"
] | null | null | null | site_settings/models.py | iTsSobhan/Django-Shop | 9eb6a08c6e93e5401d6bc2eeb30f2ef35adec730 | [
"MIT"
] | 1 | 2022-03-03T09:21:49.000Z | 2022-03-03T09:21:49.000Z | from django.db import models
| 36.052632 | 110 | 0.670073 |
22c0aad467733eae25b9c32e9a7eb9d1b86f8921 | 9,955 | py | Python | examples/basics/visuals/line_prototype.py | 3DAlgoLab/vispy | 91972307cf336674aad58198fb26b9e46f8f9ca1 | [
"BSD-3-Clause"
] | 2,617 | 2015-01-02T07:52:18.000Z | 2022-03-29T19:31:15.000Z | examples/basics/visuals/line_prototype.py | 3DAlgoLab/vispy | 91972307cf336674aad58198fb26b9e46f8f9ca1 | [
"BSD-3-Clause"
] | 1,674 | 2015-01-01T00:36:08.000Z | 2022-03-31T19:35:56.000Z | examples/basics/visuals/line_prototype.py | 3DAlgoLab/vispy | 91972307cf336674aad58198fb26b9e46f8f9ca1 | [
"BSD-3-Clause"
] | 719 | 2015-01-10T14:25:00.000Z | 2022-03-02T13:24:56.000Z | # -*- coding: utf-8 -*-
# vispy: gallery 10
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
import sys
import numpy as np
from vispy import app, gloo, visuals
from vispy.visuals.filters import Clipper, ColorFilter
from vispy.visuals.shaders import MultiProgram
from vispy.visuals.collections import PointCollection
from vispy.visuals.transforms import STTransform
from vispy.scene import SceneCanvas
from vispy.scene.visuals import create_visual_node
canvas = app.Canvas(keys='interactive', size=(900, 600), show=True,
title="Visual Canvas")
pos = np.random.normal(size=(1000, 2), loc=0, scale=50).astype('float32')
pos[0] = [0, 0]
# Make a line visual
line = LineVisual(pos=pos)
line.transforms.canvas = canvas
line.transform = STTransform(scale=(2, 1), translate=(20, 20))
panzoom = PanZoomTransform(canvas)
line.transforms.scene_transform = panzoom
panzoom.changed.connect(lambda ev: canvas.update())
# Attach color filter to all views (current and future) of the visual
line.attach(ColorFilter((1, 1, 0.5, 0.7)))
# Attach a clipper just to this view. The Clipper filter requires a
# transform that maps from the framebuffer coordinate system to the
# clipping coordinates.
tr = line.transforms.get_transform('framebuffer', 'canvas')
line.attach(Clipper((20, 20, 260, 260), transform=tr), view=line)
# Make a view of the line that will draw its shadow
shadow = line.view()
shadow.transforms.canvas = canvas
shadow.transform = STTransform(scale=(2, 1), translate=(25, 25))
shadow.transforms.scene_transform = panzoom
shadow.attach(ColorFilter((0, 0, 0, 0.6)), view=shadow)
tr = shadow.transforms.get_transform('framebuffer', 'canvas')
shadow.attach(Clipper((20, 20, 260, 260), transform=tr), view=shadow)
# And make a second view of the line with different clipping bounds
view = line.view()
view.transforms.canvas = canvas
view.transform = STTransform(scale=(2, 0.5), translate=(450, 150))
tr = view.transforms.get_transform('framebuffer', 'canvas')
view.attach(Clipper((320, 20, 260, 260), transform=tr), view=view)
# Make a compound visual
plot = PlotLineVisual(pos, (0.5, 1, 0.5, 0.2), (0.5, 1, 1, 0.3))
plot.transforms.canvas = canvas
plot.transform = STTransform(translate=(80, 450), scale=(1.5, 1))
tr = plot.transforms.get_transform('framebuffer', 'canvas')
plot.attach(Clipper((20, 320, 260, 260), transform=tr), view=plot)
# And make a view on the compound
view2 = plot.view()
view2.transforms.canvas = canvas
view2.transform = STTransform(scale=(1.5, 1), translate=(450, 400))
tr = view2.transforms.get_transform('framebuffer', 'canvas')
view2.attach(Clipper((320, 320, 260, 260), transform=tr), view=view2)
# And a shadow for the view
shadow2 = plot.view()
shadow2.transforms.canvas = canvas
shadow2.transform = STTransform(scale=(1.5, 1), translate=(455, 405))
shadow2.attach(ColorFilter((0, 0, 0, 0.6)), view=shadow2)
tr = shadow2.transforms.get_transform('framebuffer', 'canvas')
shadow2.attach(Clipper((320, 320, 260, 260), transform=tr), view=shadow2)
# Example of a collection visual
collection = PointCollectionVisual()
collection.transforms.canvas = canvas
collection.transform = STTransform(translate=(750, 150))
collection.append(np.random.normal(loc=0, scale=20, size=(10000, 3)),
itemsize=5000)
collection.color = (1, 0.5, 0.5, 1), (0.5, 0.5, 1, 1)
shadow3 = collection.view()
shadow3.transforms.canvas = canvas
shadow3.transform = STTransform(scale=(1, 1), translate=(752, 152))
shadow3.attach(ColorFilter((0, 0, 0, 0.6)), view=shadow3)
# tr = shadow3.transforms.get_transform('framebuffer', 'canvas')
# shadow3.attach(Clipper((320, 320, 260, 260), transform=tr), view=shadow2)
order = [shadow, line, view, plot, shadow2, view2, shadow3, collection]
canvas.events.resize.connect(on_resize)
on_resize(None)
Line = create_visual_node(LineVisual)
canvas2 = SceneCanvas(keys='interactive', title='Scene Canvas', show=True)
v = canvas2.central_widget.add_view(margin=10)
v.border_color = (1, 1, 1, 1)
v.bgcolor = (0.3, 0.3, 0.3, 1)
v.camera = 'panzoom'
line2 = Line(pos, parent=v.scene)
v.events.mouse_press.connect(mouse)
if __name__ == '__main__':
if sys.flags.interactive != 1:
app.run()
| 34.209622 | 79 | 0.668609 |
22c0b1d42f5e6f6bbd43886632ceb253dedae7b6 | 4,243 | py | Python | h1st/tests/core/test_schemas_inferrer.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | 2 | 2020-08-21T07:49:08.000Z | 2020-08-21T07:49:13.000Z | h1st/tests/core/test_schemas_inferrer.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | 3 | 2020-11-13T19:06:07.000Z | 2022-02-10T02:06:03.000Z | h1st/tests/core/test_schemas_inferrer.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from datetime import datetime
import pyarrow as pa
import numpy as np
import pandas as pd
from h1st.schema import SchemaInferrer
| 27.732026 | 82 | 0.418572 |
22c0ccfce68cfbaf9d19c13daf2d7c341cf47746 | 373 | py | Python | c_core_librairies/exercise_a.py | nicolasessisbreton/pyzehe | 7497a0095d974ac912ce9826a27e21fd9d513942 | [
"Apache-2.0"
] | 1 | 2018-05-31T19:36:36.000Z | 2018-05-31T19:36:36.000Z | c_core_librairies/exercise_a.py | nicolasessisbreton/pyzehe | 7497a0095d974ac912ce9826a27e21fd9d513942 | [
"Apache-2.0"
] | 1 | 2018-05-31T01:10:51.000Z | 2018-05-31T01:10:51.000Z | c_core_librairies/exercise_a.py | nicolasessisbreton/pyzehe | 7497a0095d974ac912ce9826a27e21fd9d513942 | [
"Apache-2.0"
] | null | null | null | """
# refactoring
Refactoring is the key to successfull projects.
Refactor:
1) annuity_factor such that:
conversion to integer is handled,
no extra printing
2) policy_book into a class such that:
a function generates the book and the premium
stats and visualizations functions are avalaible
3) book_report such that:
it uses all the previous improvements
""" | 21.941176 | 50 | 0.772118 |
22c0e10976672b4523dad7b6dd7cde8c3d5b7c7b | 6,272 | py | Python | util/util.py | harshitAgr/vess2ret | 5702175bcd9ecde34d4fedab45a7cd2878a0184c | [
"MIT"
] | 111 | 2017-01-30T17:49:15.000Z | 2022-03-28T05:53:51.000Z | util/util.py | engineerlion/vess2ret | 5702175bcd9ecde34d4fedab45a7cd2878a0184c | [
"MIT"
] | 19 | 2017-03-06T10:28:16.000Z | 2020-12-09T12:25:22.000Z | util/util.py | engineerlion/vess2ret | 5702175bcd9ecde34d4fedab45a7cd2878a0184c | [
"MIT"
] | 46 | 2017-02-10T18:39:25.000Z | 2022-03-05T21:39:46.000Z | """Auxiliary methods."""
import os
import json
from errno import EEXIST
import numpy as np
import seaborn as sns
import cPickle as pickle
import matplotlib.pyplot as plt
sns.set()
DEFAULT_LOG_DIR = 'log'
ATOB_WEIGHTS_FILE = 'atob_weights.h5'
D_WEIGHTS_FILE = 'd_weights.h5'
def convert_to_rgb(img, is_binary=False):
"""Given an image, make sure it has 3 channels and that it is between 0 and 1."""
if len(img.shape) != 3:
raise Exception("""Image must have 3 dimensions (channels x height x width). """
"""Given {0}""".format(len(img.shape)))
img_ch, _, _ = img.shape
if img_ch != 3 and img_ch != 1:
raise Exception("""Unsupported number of channels. """
"""Must be 1 or 3, given {0}.""".format(img_ch))
imgp = img
if img_ch == 1:
imgp = np.repeat(img, 3, axis=0)
if not is_binary:
imgp = imgp * 127.5 + 127.5
imgp /= 255.
return np.clip(imgp.transpose((1, 2, 0)), 0, 1)
def compose_imgs(a, b, is_a_binary=True, is_b_binary=False):
"""Place a and b side by side to be plotted."""
ap = convert_to_rgb(a, is_binary=is_a_binary)
bp = convert_to_rgb(b, is_binary=is_b_binary)
if ap.shape != bp.shape:
raise Exception("""A and B must have the same size. """
"""{0} != {1}""".format(ap.shape, bp.shape))
# ap.shape and bp.shape must have the same size here
h, w, ch = ap.shape
composed = np.zeros((h, 2*w, ch))
composed[:, :w, :] = ap
composed[:, w:, :] = bp
return composed
def get_log_dir(log_dir, expt_name):
"""Compose the log_dir with the experiment name."""
if log_dir is None:
raise Exception('log_dir can not be None.')
if expt_name is not None:
return os.path.join(log_dir, expt_name)
return log_dir
def mkdir(mypath):
"""Create a directory if it does not exist."""
try:
os.makedirs(mypath)
except OSError as exc:
if exc.errno == EEXIST and os.path.isdir(mypath):
pass
else:
raise
def create_expt_dir(params):
"""Create the experiment directory and return it."""
expt_dir = get_log_dir(params.log_dir, params.expt_name)
# Create directories if they do not exist
mkdir(params.log_dir)
mkdir(expt_dir)
# Save the parameters
json.dump(params, open(os.path.join(expt_dir, 'params.json'), 'wb'),
indent=4, sort_keys=True)
return expt_dir
def plot_loss(loss, label, filename, log_dir):
"""Plot a loss function and save it in a file."""
plt.figure(figsize=(5, 4))
plt.plot(loss, label=label)
plt.legend()
plt.savefig(os.path.join(log_dir, filename))
plt.clf()
def log(losses, atob, it_val, N=4, log_dir=DEFAULT_LOG_DIR, expt_name=None,
is_a_binary=True, is_b_binary=False):
"""Log losses and atob results."""
log_dir = get_log_dir(log_dir, expt_name)
# Save the losses for further inspection
pickle.dump(losses, open(os.path.join(log_dir, 'losses.pkl'), 'wb'))
###########################################################################
# PLOT THE LOSSES #
###########################################################################
plot_loss(losses['d'], 'discriminator', 'd_loss.png', log_dir)
plot_loss(losses['d_val'], 'discriminator validation', 'd_val_loss.png', log_dir)
plot_loss(losses['p2p'], 'Pix2Pix', 'p2p_loss.png', log_dir)
plot_loss(losses['p2p_val'], 'Pix2Pix validation', 'p2p_val_loss.png', log_dir)
###########################################################################
# PLOT THE A->B RESULTS #
###########################################################################
plt.figure(figsize=(10, 6))
for i in range(N*N):
a, _ = next(it_val)
bp = atob.predict(a)
img = compose_imgs(a[0], bp[0], is_a_binary=is_a_binary, is_b_binary=is_b_binary)
plt.subplot(N, N, i+1)
plt.imshow(img)
plt.axis('off')
plt.savefig(os.path.join(log_dir, 'atob.png'))
plt.clf()
# Make sure all the figures are closed.
plt.close('all')
def save_weights(models, log_dir=DEFAULT_LOG_DIR, expt_name=None):
"""Save the weights of the models into a file."""
log_dir = get_log_dir(log_dir, expt_name)
models.atob.save_weights(os.path.join(log_dir, ATOB_WEIGHTS_FILE), overwrite=True)
models.d.save_weights(os.path.join(log_dir, D_WEIGHTS_FILE), overwrite=True)
def load_weights(atob, d, log_dir=DEFAULT_LOG_DIR, expt_name=None):
"""Load the weights into the corresponding models."""
log_dir = get_log_dir(log_dir, expt_name)
atob.load_weights(os.path.join(log_dir, ATOB_WEIGHTS_FILE))
d.load_weights(os.path.join(log_dir, D_WEIGHTS_FILE))
def load_weights_of(m, weights_file, log_dir=DEFAULT_LOG_DIR, expt_name=None):
"""Load the weights of the model m."""
log_dir = get_log_dir(log_dir, expt_name)
m.load_weights(os.path.join(log_dir, weights_file))
def load_losses(log_dir=DEFAULT_LOG_DIR, expt_name=None):
"""Load the losses of the given experiment."""
log_dir = get_log_dir(log_dir, expt_name)
losses = pickle.load(open(os.path.join(log_dir, 'losses.pkl'), 'rb'))
return losses
def load_params(params):
"""
Load the parameters of an experiment and return them.
The params passed as argument will be merged with the new params dict.
If there is a conflict with a key, the params passed as argument prevails.
"""
expt_dir = get_log_dir(params.log_dir, params.expt_name)
expt_params = json.load(open(os.path.join(expt_dir, 'params.json'), 'rb'))
# Update the loaded parameters with the current parameters. This will
# override conflicting keys as expected.
expt_params.update(params)
return expt_params
| 30.745098 | 89 | 0.603795 |
22c1ccef20d9d7a1d41049e783b9575459b18d70 | 834 | py | Python | services/apiRequests.py | CakeCrusher/voon-video_processing | 6ecaacf4e36baa72d713a92101b445885b3d95ef | [
"MIT"
] | null | null | null | services/apiRequests.py | CakeCrusher/voon-video_processing | 6ecaacf4e36baa72d713a92101b445885b3d95ef | [
"MIT"
] | null | null | null | services/apiRequests.py | CakeCrusher/voon-video_processing | 6ecaacf4e36baa72d713a92101b445885b3d95ef | [
"MIT"
] | null | null | null | from github import Github
# parsedUrl = parseGithubURL('https://github.com/CakeCrusher/restock_emailer')
# filePaths = fetchRepoFiles(parsedUrl['owner'], parsedUrl['repo'])
# files = [path.split('/')[-1] for path in filePaths]
# print(files)
| 29.785714 | 78 | 0.642686 |
22c3df00575427d7293f54af4b1eb86f32f1ea11 | 995 | py | Python | utils/tricks.py | HouchangX-AI/Dialog-Solution | 1f68f847d9c9c4a46ef0b5fc6a78014402a4dd7a | [
"MIT"
] | 3 | 2020-03-12T06:28:01.000Z | 2020-03-27T20:15:53.000Z | utils/tricks.py | HouchangX-AI/Dialog-Solution | 1f68f847d9c9c4a46ef0b5fc6a78014402a4dd7a | [
"MIT"
] | null | null | null | utils/tricks.py | HouchangX-AI/Dialog-Solution | 1f68f847d9c9c4a46ef0b5fc6a78014402a4dd7a | [
"MIT"
] | 2 | 2020-03-19T02:47:37.000Z | 2021-12-14T02:26:40.000Z | #-*- coding: utf-8 -*-
import codecs
import random
from utils.global_names import GlobalNames, get_file_path
| 26.184211 | 57 | 0.501508 |
22c52f6029df65fcd8fa5837d73e5ae4e6fb61e1 | 1,087 | py | Python | test/functional/test_device.py | Jagadambass/Graph-Neural-Networks | c8f1d87f8cd67d645c2f05f370be039acf05ca52 | [
"MIT"
] | null | null | null | test/functional/test_device.py | Jagadambass/Graph-Neural-Networks | c8f1d87f8cd67d645c2f05f370be039acf05ca52 | [
"MIT"
] | null | null | null | test/functional/test_device.py | Jagadambass/Graph-Neural-Networks | c8f1d87f8cd67d645c2f05f370be039acf05ca52 | [
"MIT"
] | null | null | null | from graphgallery.functional import device
import tensorflow as tf
import torch
if __name__ == "__main__":
test_device()
| 26.512195 | 68 | 0.596136 |
22c745e9fe90945bd78c2b0b4951b89a65ce5057 | 3,482 | py | Python | py_hanabi/card.py | krinj/hanabi-simulator | b77b04aa09bab8bd8d7b784e04bf8b9d5d76d1a6 | [
"MIT"
] | 1 | 2018-09-28T00:47:52.000Z | 2018-09-28T00:47:52.000Z | py_hanabi/card.py | krinj/hanabi-simulator | b77b04aa09bab8bd8d7b784e04bf8b9d5d76d1a6 | [
"MIT"
] | null | null | null | py_hanabi/card.py | krinj/hanabi-simulator | b77b04aa09bab8bd8d7b784e04bf8b9d5d76d1a6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
A card (duh).
"""
import random
import uuid
from enum import Enum
from typing import List
from py_hanabi.settings import CARD_DECK_DISTRIBUTION
__author__ = "Jakrin Juangbhanich"
__email__ = "juangbhanich.k@gmail.com"
| 24.871429 | 72 | 0.587881 |
22c76b57ffb3eeb2695ac101001d7de50b9a816d | 4,344 | py | Python | facetools/test/testcases.py | bigsassy/django-facetools | aeedaea81ab0007ee8e96b2f81f1404dc8bddb3c | [
"MIT"
] | 2 | 2018-01-24T20:41:27.000Z | 2019-06-27T13:24:18.000Z | facetools/test/testcases.py | bigsassy/django-facetools | aeedaea81ab0007ee8e96b2f81f1404dc8bddb3c | [
"MIT"
] | null | null | null | facetools/test/testcases.py | bigsassy/django-facetools | aeedaea81ab0007ee8e96b2f81f1404dc8bddb3c | [
"MIT"
] | null | null | null | import types
import django.test.testcases
from django.conf import settings
from facetools.models import TestUser
from facetools.common import _create_signed_request
from facetools.test import TestUserNotLoaded
from facetools.signals import sync_facebook_test_user, setup_facebook_test_client
from facetools.common import _get_facetools_test_fixture_name
def get_app_name_from_test_case(module_path_string):
"""
Gets thet Django app from the __class__ attribute of a TestCase in a Django app.
class_string should look something like this: 'facetools_tests.tests.test_test_module'
"""
packages = module_path_string.split(".")
try:
tests_location = packages.index("tests")
except ValueError:
raise ValueError("Couldn't find tests module in %s (are you running this test from tests.py or a tests package in your Django app?)" % module_path_string)
if tests_location == 0:
raise ValueError("Facetools doesn't support Django app's with a name of 'tests', or it failed to find the Django app name out of %s" % module_path_string)
app_name = packages[tests_location - 1]
if app_name not in settings.INSTALLED_APPS:
raise ValueError("Facetools didn't find %s among INSTALLED_APPS. (app name pulled from %s)" % (app_name, module_path_string))
return app_name
# -----------------------------------------------------------------------------
# Test Cases
# -----------------------------------------------------------------------------
if 'LiveServerTestCase' in dir(django.test.testcases):
| 51.714286 | 162 | 0.69268 |
22c78686c8b8a763f3206d86fcbc87e20d6ea1aa | 1,186 | py | Python | setup.py | d2gex/distpickymodel | 7acd4ffafbe592d6336d91d6e7411cd45357e41c | [
"MIT"
] | null | null | null | setup.py | d2gex/distpickymodel | 7acd4ffafbe592d6336d91d6e7411cd45357e41c | [
"MIT"
] | null | null | null | setup.py | d2gex/distpickymodel | 7acd4ffafbe592d6336d91d6e7411cd45357e41c | [
"MIT"
] | null | null | null | import setuptools
import distpickymodel
setuptools.setup(
name="distpickymodel",
version=distpickymodel.__version__,
author="Dan G",
author_email="daniel.garcia@d2garcia.com",
description="A shared Mongoengine-based model library",
long_description=get_long_desc(),
url="https://github.com/d2gex/distpickymodel",
# Exclude 'tests' and 'docs'
packages=['distpickymodel'],
python_requires='>=3.6',
install_requires=['pymongo>=3.7.2', 'mongoengine>=0.17.0', 'six'],
tests_require=['pytest>=4.4.0', 'PyYAML>=5.1'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| 32.944444 | 71 | 0.636594 |
22c7a70f2a69982c24184228f6ed64f2bdc7679e | 1,948 | py | Python | credentials_test.py | tinatasha/passwordgenerator | ad161e14779e975e98ad989c5df976ac3662f8d8 | [
"MIT"
] | null | null | null | credentials_test.py | tinatasha/passwordgenerator | ad161e14779e975e98ad989c5df976ac3662f8d8 | [
"MIT"
] | null | null | null | credentials_test.py | tinatasha/passwordgenerator | ad161e14779e975e98ad989c5df976ac3662f8d8 | [
"MIT"
] | null | null | null | import unittest
from password import Credentials
def test_init(self):
"""
Test for correct initialization
"""
self.assertEqual(self.new_credentials.account_name,"Github")
self.assertEqual(self.new_credentials.username,"tinatasga")
self.assertEqual(self.new_credentials.password,"@#tinatasha")
def test_save_credentials(self):
"""
Test to check whether app saves account credentials
"""
self.new_credentials.save_credentials()
self.assertEqual(len(Credentials.credentials_list),1)
"""
Test for saving multiple credentials
"""
self.new_credentials.save_credentials()
test_credentials = Credentials("AllFootball","Kibet","messithegoat")
test_credentials.save_credentials()
self.assertEqual(len(Credentials.credentials_list),2)
def test_view_credentials(self):
"""
Test to view an account credential
"""
self.assertEqual(Credentials.display_credentials(),Credentials.credentials_list)
def test_delete_credentials(self):
"""
Test to delete account credentials
"""
self.new_credentials.save_credentials()
test_credentials = Credentials("i","love","cats")
test_credentials.save_credentials()
self.new_credentials.delete_credentials()
self.assertEqual(len(Credentials.credentials_list),1)
if __name__ == '__main__':
unittest.main() | 31.419355 | 88 | 0.658624 |
22c82577ce9bb70304bc0ff3dee27fa81b62e25c | 564 | py | Python | homework_08/calc_fitness.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | homework_08/calc_fitness.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | homework_08/calc_fitness.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null |
# populacao = [[0,0],[-3,1]]
# calc_fitness(pop=populacao)
# print(populacao)
| 25.636364 | 87 | 0.546099 |
22c8357e530d1406b6c30aa5078c53db167737b2 | 128 | py | Python | pichetprofile/__init__.py | jamenor/pichetprofile | 6633ea6eaa7473af9e10f34f6a19428c2db92465 | [
"MIT"
] | 2 | 2021-04-20T01:54:40.000Z | 2022-01-31T10:00:04.000Z | pichetprofile/__init__.py | jamenor/pichetprofile | 6633ea6eaa7473af9e10f34f6a19428c2db92465 | [
"MIT"
] | null | null | null | pichetprofile/__init__.py | jamenor/pichetprofile | 6633ea6eaa7473af9e10f34f6a19428c2db92465 | [
"MIT"
] | 2 | 2021-12-12T08:17:42.000Z | 2022-02-13T21:04:44.000Z | # -*- coding: utf-8 -*-
from oopschool.school import Student,Tesla,SpecialStudent,Teacher
from oopschool.newschool import Test | 42.666667 | 66 | 0.78125 |
22cc300c5aa21f713c2ef3f3b60722cc7d238f97 | 1,163 | py | Python | rdl/data_sources/DataSourceFactory.py | pageuppeople-opensource/relational-data-loader | 0bac7036d65636d06eacca4e68e09d6e1c506ea4 | [
"MIT"
] | 2 | 2019-03-11T12:45:23.000Z | 2019-04-05T05:22:43.000Z | rdl/data_sources/DataSourceFactory.py | pageuppeople-opensource/relational-data-loader | 0bac7036d65636d06eacca4e68e09d6e1c506ea4 | [
"MIT"
] | 5 | 2019-02-08T03:23:25.000Z | 2019-04-11T01:29:45.000Z | rdl/data_sources/DataSourceFactory.py | PageUpPeopleOrg/relational-data-loader | 0bac7036d65636d06eacca4e68e09d6e1c506ea4 | [
"MIT"
] | 1 | 2019-03-04T04:08:49.000Z | 2019-03-04T04:08:49.000Z | import logging
from rdl.data_sources.MsSqlDataSource import MsSqlDataSource
from rdl.data_sources.AWSLambdaDataSource import AWSLambdaDataSource
| 35.242424 | 83 | 0.674979 |
22cc9cf5c82866cdbb6751a30f5964a624debd38 | 2,753 | py | Python | ch05/ch05-02-timeseries.py | alexmalins/kagglebook | 260f6634b6bbaa94c2e989770e75dc7101f5c614 | [
"BSD-3-Clause"
] | 13 | 2021-02-20T08:57:28.000Z | 2022-03-31T12:47:08.000Z | ch05/ch05-02-timeseries.py | Tharunkumar01/kagglebook | 260f6634b6bbaa94c2e989770e75dc7101f5c614 | [
"BSD-3-Clause"
] | null | null | null | ch05/ch05-02-timeseries.py | Tharunkumar01/kagglebook | 260f6634b6bbaa94c2e989770e75dc7101f5c614 | [
"BSD-3-Clause"
] | 2 | 2021-07-15T03:56:39.000Z | 2021-07-29T00:53:54.000Z | # ---------------------------------
# Prepare the data etc.
# ----------------------------------
import numpy as np
import pandas as pd
# train_x is the training data, train_y is the target values, and test_x is the test data
# stored in pandas DataFrames and Series (numpy arrays also used)
train = pd.read_csv('../input/sample-data/train_preprocessed.csv')
train_x = train.drop(['target'], axis=1)
train_y = train['target']
test_x = pd.read_csv('../input/sample-data/test_preprocessed.csv')
# As time-series data assume a period variable is set that changes with time
train_x['period'] = np.arange(0, len(train_x)) // (len(train_x) // 4)
train_x['period'] = np.clip(train_x['period'], 0, 3)
test_x['period'] = 4
# -----------------------------------
# Hold-out method for time-series data
# -----------------------------------
# Partition using the period variable as the basis (0 to 3 are the training data, 4 is the test data)
# Here for within the training data period 3 is used for validation and periods 0 to 2 are used for training
is_tr = train_x['period'] < 3
is_va = train_x['period'] == 3
tr_x, va_x = train_x[is_tr], train_x[is_va]
tr_y, va_y = train_y[is_tr], train_y[is_va]
# -----------------------------------
# Cross validation for time-series data (use method that follows time)
# -----------------------------------
# Partition using the period variable as the basis (0 to 3 are the training data, 4 is the test data)
# Periods 1, 2 and 3 are each used for cross-validation, and the preceding periods are used for training
va_period_list = [1, 2, 3]
for va_period in va_period_list:
is_tr = train_x['period'] < va_period
is_va = train_x['period'] == va_period
tr_x, va_x = train_x[is_tr], train_x[is_va]
tr_y, va_y = train_y[is_tr], train_y[is_va]
# (For reference) Using TimeSeriesSplit() function is difficult as only the order of the data can be used
from sklearn.model_selection import TimeSeriesSplit
tss = TimeSeriesSplit(n_splits=4)
for tr_idx, va_idx in tss.split(train_x):
tr_x, va_x = train_x.iloc[tr_idx], train_x.iloc[va_idx]
tr_y, va_y = train_y.iloc[tr_idx], train_y.iloc[va_idx]
# -----------------------------------
# Cross validation for time-series data (method to simply partition by time)
# -----------------------------------
# Partition using the period variable as the basis (0 to 3 are the training data, 4 is the test data)
# Periods 1, 2 and 3 are each used for cross-validation, and the preceding periods are used for training
va_period_list = [0, 1, 2, 3]
for va_period in va_period_list:
is_tr = train_x['period'] != va_period
is_va = train_x['period'] == va_period
tr_x, va_x = train_x[is_tr], train_x[is_va]
tr_y, va_y = train_y[is_tr], train_y[is_va]
| 43.698413 | 108 | 0.653106 |
22cd87f92115b6affd305877641e7e519dbd0eb4 | 476 | py | Python | server/WitClient.py | owo/jitalk | 2db2782282a2302b4cf6049030822734a6856982 | [
"MIT"
] | 1 | 2020-06-22T14:28:41.000Z | 2020-06-22T14:28:41.000Z | server/WitClient.py | owo/jitalk | 2db2782282a2302b4cf6049030822734a6856982 | [
"MIT"
] | null | null | null | server/WitClient.py | owo/jitalk | 2db2782282a2302b4cf6049030822734a6856982 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wit
import json
if __name__ == "__main__":
print "You ran the Wit client, nothing will happen. Exiting..." | 20.695652 | 65 | 0.707983 |
22ce1c9c1c8f77ccd4520e195e541c2a19150619 | 268 | py | Python | HackerRank/Python/Easy/E0036.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 54 | 2019-05-13T12:13:09.000Z | 2022-02-27T02:59:00.000Z | HackerRank/Python/Easy/E0036.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 2 | 2020-10-02T07:16:43.000Z | 2020-10-19T04:36:19.000Z | HackerRank/Python/Easy/E0036.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 20 | 2020-05-26T09:48:13.000Z | 2022-03-18T15:18:27.000Z | # Problem Statement: https://www.hackerrank.com/challenges/itertools-combinations-with-replacement/problem
from itertools import combinations_with_replacement
S, k = input().split()
for comb in combinations_with_replacement(sorted(S), int(k)):
print(''.join(comb)) | 33.5 | 106 | 0.791045 |
22cecf207eb3150281c5d9ddc72a0ab1531e7bdb | 5,341 | py | Python | visual_genome/models.py | hayyubi/visual-genome-driver | 412223bf1552b1927fb1219cfcf90dcd2599bf34 | [
"MIT"
] | null | null | null | visual_genome/models.py | hayyubi/visual-genome-driver | 412223bf1552b1927fb1219cfcf90dcd2599bf34 | [
"MIT"
] | null | null | null | visual_genome/models.py | hayyubi/visual-genome-driver | 412223bf1552b1927fb1219cfcf90dcd2599bf34 | [
"MIT"
] | null | null | null | """
Visual Genome Python API wrapper, models
"""
| 24.058559 | 74 | 0.52874 |
22cf451d04e0bf782f9148035e8ed296f046dac4 | 2,152 | py | Python | python-scripts/plot_delay.py | GayashanNA/my-scripts | d865e828c833d6b54c787ce9475da512f8488278 | [
"Apache-2.0"
] | null | null | null | python-scripts/plot_delay.py | GayashanNA/my-scripts | d865e828c833d6b54c787ce9475da512f8488278 | [
"Apache-2.0"
] | null | null | null | python-scripts/plot_delay.py | GayashanNA/my-scripts | d865e828c833d6b54c787ce9475da512f8488278 | [
"Apache-2.0"
] | null | null | null | import csv
import matplotlib.pyplot as plt
import time
PLOT_PER_WINDOW = False
WINDOW_LENGTH = 60000
BINS = 1000
delay_store = {}
perwindow_delay_store = {}
plotting_delay_store = {}
filename = "output-large.csv"
# filename = "output.csv"
# filename = "output-medium.csv"
# filename = "output-small.csv"
# filename = "output-tiny.csv"
with open(filename, "rU") as dataFile:
csvreader = csv.reader(dataFile)
for row in csvreader:
if len(row) > 2 and str(row[0]).isdigit():
delay_store[long(row[1])] = long(row[2])
window_begin = min(delay_store.keys())
window_end = max(delay_store.keys())
if PLOT_PER_WINDOW:
window_end = window_begin + WINDOW_LENGTH
# find the time delays that are within the window of choice
for (tapp, delay) in delay_store.iteritems():
if window_begin <= tapp <= window_end:
perwindow_delay_store[tapp] = delay
plotting_delay_store = perwindow_delay_store
else:
plotting_delay_store = delay_store
# the histogram of the data
n, bins, patches = plt.hist(plotting_delay_store.values(), BINS, histtype='stepfilled',
normed=True, cumulative=False, facecolor='blue', alpha=0.9)
# plt.axhline(y=0.95, color='red', label='0.95')
max_delay = max(plotting_delay_store.values())
min_delay = min(plotting_delay_store.values())
count = len(plotting_delay_store.values())
# format epoch time to date time to be shown in the plot figure
window_begin_in_datetime = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(window_begin / 1000))
window_end_in_datetime = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(window_end / 1000))
title = "Window begin: %s\n" % window_begin_in_datetime
title += "Window end: %s\n" % window_end_in_datetime
# title += "Window length: %dms\n" % WINDOW_LENGTH
title += "Window length: ~%dmins\n" % ((window_end - window_begin)/60000)
title += "Maximum delay: %dms\n" % max_delay
title += "Minimum delay: %dms\n" % min_delay
title += "Count: %d" % count
# start plotting
plt.xlabel('Delay (ms)')
plt.ylabel('Probability')
plt.grid(True)
plt.legend()
plt.suptitle(title)
plt.subplots_adjust(top=0.8)
plt.show()
| 33.107692 | 98 | 0.703067 |
22cf943746c3603f630cb274d2c1d26e36acc1fd | 3,472 | py | Python | python_scripts/BUSCO_phylogenetics/rename_all_fa_seq.py | peterthorpe5/Methods_M.cerasi_R.padi_genome_assembly | c6cb771afaf40f5def47e33ff11cd8867ec528e0 | [
"MIT"
] | 4 | 2019-04-01T02:08:21.000Z | 2022-02-04T08:37:47.000Z | python_scripts/BUSCO_phylogenetics/rename_all_fa_seq.py | peterthorpe5/Methods_M.cerasi_R.padi_genome_assembly | c6cb771afaf40f5def47e33ff11cd8867ec528e0 | [
"MIT"
] | 1 | 2018-09-30T00:29:43.000Z | 2018-10-01T07:51:16.000Z | python_scripts/BUSCO_phylogenetics/rename_all_fa_seq.py | peterthorpe5/Methods_M.cerasi_R.padi_genome_assembly | c6cb771afaf40f5def47e33ff11cd8867ec528e0 | [
"MIT"
] | 1 | 2019-12-05T09:04:38.000Z | 2019-12-05T09:04:38.000Z | #!/usr/bin/env python
# author: Peter Thorpe September 2015. The James Hutton Insitute, Dundee, UK.
# title rename single copy busco genes
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord
from Bio import SeqIO
import os
from sys import stdin,argv
import sys
from optparse import OptionParser
########################################################################
# functions
def parse_busco_file(busco):
"""this is a function to open busco full ouput
and get a list of duplicated genes. This list is required
so we can ignore these genes later. Takes file,
return list"""
duplicated_list = []
with open(busco) as handle:
for line in handle:
if not line.strip():
continue # if the last line is blank
if line.startswith("#"):
continue
if not line:
print ("your file is empty")
return False
line_info = line.rstrip().split("\t")
# first element
Busco_name = line_info[0]
# second element
status = line_info[1]
if status == "Duplicated" or status == "Fragmented":
duplicated_list.append(Busco_name)
return duplicated_list
def reformat_as_fasta(filename,prefix,outfile):
"this function re-write a file as a fasta file"
f= open(outfile, 'w')
fas = open(filename, "r")
for line in fas:
if not line.strip():
continue # if the last line is blank
if line.startswith("#"):
continue
if not line:
return False
if not line.startswith(">"):
seq = line
title = ">" + prefix + "_" + filename.replace("BUSCOa", "").split(".fas")[0]
data = "%s\n%s\n" %(title, seq)
f.write(data)
f.close()
if "-v" in sys.argv or "--version" in sys.argv:
print "v0.0.1"
sys.exit(0)
usage = """Use as follows:
converts
$ python renaem....py -p Mce -b full_table_BUSCO_output
script to walk through all files in a folder and rename the seq id
to start with Prefix.
Used for Busco output.
give it the busco full ouput table. The script will only return
complete single copy gene. Duplicate gene will be ignored.
"""
parser = OptionParser(usage=usage)
parser.add_option("-p", "--prefix", dest="prefix",
default=None,
help="Output filename",
metavar="FILE")
parser.add_option("-b", "--busco", dest="busco",
default=None,
help="full_table_*_BUSCO output from BUSCO",
metavar="FILE")
(options, args) = parser.parse_args()
prefix = options.prefix
busco = options.busco
# Run as script
if __name__ == '__main__':
#call function to get a list of dupicated gene.
#these genes will be ignored
duplicated_list = parse_busco_file(busco)
#iterate through the dir
for filename in os.listdir("."):
count = 1
if not filename.endswith(".fas"):
continue
#filter out the ones we dont want
if filename.split(".fa")[0] in duplicated_list:
continue
out_file = "../"+prefix+filename
out_file = out_file.replace("BUSCOa", "")
#out_file = "../"+filename
try:
#print filename
reformat_as_fasta(filename, prefix, out_file)
except:
ValueError
continue
| 26.707692 | 84 | 0.579781 |
22cfe37b118c380f98097dbe5e6dfaa75be99d71 | 427 | py | Python | video/rest/compositionhooks/delete-hook/delete-hook.6.x.py | afeld/api-snippets | d77456c387c9471d36aa949e2cf785d8a534a370 | [
"MIT"
] | 3 | 2020-05-05T10:01:02.000Z | 2021-02-06T14:23:13.000Z | video/rest/compositionhooks/delete-hook/delete-hook.6.x.py | afeld/api-snippets | d77456c387c9471d36aa949e2cf785d8a534a370 | [
"MIT"
] | null | null | null | video/rest/compositionhooks/delete-hook/delete-hook.6.x.py | afeld/api-snippets | d77456c387c9471d36aa949e2cf785d8a534a370 | [
"MIT"
] | null | null | null | # Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import Client
# Your Account Sid and Auth Token from twilio.com/console
api_key_sid = 'SKXXXX'
api_key_secret = 'your_api_key_secret'
client = Client(api_key_sid, api_key_secret)
did_delete = client.video\
.compositionHooks('HKXXXX')\
.delete()
if(did_delete):
print('Composition removed')
| 28.466667 | 72 | 0.709602 |
22d061bf4dd94ca94a7f507ce7fe9f9a517f47a3 | 274 | py | Python | global_info.py | AkagiYui/AzurLaneTool | f00fa6e5c6371db72ee399d7bd178a81f39afd8b | [
"Apache-2.0"
] | null | null | null | global_info.py | AkagiYui/AzurLaneTool | f00fa6e5c6371db72ee399d7bd178a81f39afd8b | [
"Apache-2.0"
] | null | null | null | global_info.py | AkagiYui/AzurLaneTool | f00fa6e5c6371db72ee399d7bd178a81f39afd8b | [
"Apache-2.0"
] | null | null | null | from time import sleep
debug_mode = False
time_to_exit = False
exiting = False
exit_code = 0
| 14.421053 | 34 | 0.729927 |
22d06d326dbc942db8f36ca27ac8dc094685d70b | 6,924 | py | Python | advesarial_text/data/data_utils_test.py | slowy07/tensorflow-model-research | 48ba4ba6240452eb3e3350fe7099f2b045acc530 | [
"MIT"
] | null | null | null | advesarial_text/data/data_utils_test.py | slowy07/tensorflow-model-research | 48ba4ba6240452eb3e3350fe7099f2b045acc530 | [
"MIT"
] | null | null | null | advesarial_text/data/data_utils_test.py | slowy07/tensorflow-model-research | 48ba4ba6240452eb3e3350fe7099f2b045acc530 | [
"MIT"
] | null | null | null | from __future__ import absoulte_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
from data import data_utils
data = data_utils
if __name__ == "__main__":
tf.test.main()
| 36.0625 | 88 | 0.608897 |
22d0777e1db496026b52bc09fc63aa81f467b3e2 | 105 | py | Python | headlesspreview/apps.py | arush15june/wagtail-torchbox | c4d06e096c72bd8007975dc016133024f9d27fab | [
"MIT"
] | null | null | null | headlesspreview/apps.py | arush15june/wagtail-torchbox | c4d06e096c72bd8007975dc016133024f9d27fab | [
"MIT"
] | null | null | null | headlesspreview/apps.py | arush15june/wagtail-torchbox | c4d06e096c72bd8007975dc016133024f9d27fab | [
"MIT"
] | null | null | null | from django.apps import AppConfig
| 17.5 | 39 | 0.790476 |
22d0f53b1d93eab616a976b47567e50595d96288 | 3,546 | py | Python | LipSDP/solve_sdp.py | revbucket/LipSDP | 39f2ffe65cb656440e055e4e86a750bc7e77e357 | [
"MIT"
] | 1 | 2021-07-21T12:19:01.000Z | 2021-07-21T12:19:01.000Z | LipSDP/solve_sdp.py | revbucket/LipSDP | 39f2ffe65cb656440e055e4e86a750bc7e77e357 | [
"MIT"
] | null | null | null | LipSDP/solve_sdp.py | revbucket/LipSDP | 39f2ffe65cb656440e055e4e86a750bc7e77e357 | [
"MIT"
] | null | null | null | import argparse
import numpy as np
import matlab.engine
from scipy.io import savemat
import os
from time import time
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--form',
default='neuron',
const='neuron',
nargs='?',
choices=('neuron', 'network', 'layer', 'network-rand', 'network-dec-vars'),
help='LipSDP formulation to use')
parser.add_argument('-v', '--verbose',
action='store_true',
help='prints CVX output from solve if supplied')
parser.add_argument('--alpha',
type=float,
default=0,
nargs=1,
help='lower bound for slope restriction bound')
parser.add_argument('--beta',
type=float,
default=1,
nargs=1,
help='lower bound for slope restriction bound')
parser.add_argument('--num-neurons',
type=int,
default=100,
nargs=1,
help='number of neurons to couple for LipSDP-Network-rand formulation')
parser.add_argument('--split',
action='store_true',
help='splits network into subnetworks for more efficient solving if supplied')
parser.add_argument('--parallel',
action='store_true',
help='parallelizes solving for split formulations if supplied')
parser.add_argument('--split-size',
type=int,
default=2,
nargs=1,
help='number of layers in each subnetwork for splitting formulations')
parser.add_argument('--num-workers',
type=int,
default=0,
nargs=1,
help='number of workers for parallelization of splitting formulations')
parser.add_argument('--num-decision-vars',
type=int,
default=10,
nargs=1,
help='specify number of decision variables to be used for LipSDP')
parser.add_argument('--weight-path',
type=str,
required=True,
nargs=1,
help='path of weights corresponding to trained neural network model')
args = parser.parse_args()
if args.parallel is True and args.num_workers[0] < 1:
raise ValueError('When you use --parallel, --num-workers must be an integer >= 1.')
if args.split is True and args.split_size[0] < 1:
raise ValueError('When you use --split, --split-size must be an integer >= 1.')
main(args)
| 30.834783 | 91 | 0.631416 |
22d1e9715d6acd537e633072609ca037ec95ec12 | 805 | py | Python | stockprophet/__init__.py | chihyi-liao/stockprophet | 891c91b2a446e3bd30bb56b88be3874d7dda1b8d | [
"BSD-3-Clause"
] | 1 | 2021-11-15T13:07:19.000Z | 2021-11-15T13:07:19.000Z | stockprophet/__init__.py | chihyi-liao/stockprophet | 891c91b2a446e3bd30bb56b88be3874d7dda1b8d | [
"BSD-3-Clause"
] | null | null | null | stockprophet/__init__.py | chihyi-liao/stockprophet | 891c91b2a446e3bd30bb56b88be3874d7dda1b8d | [
"BSD-3-Clause"
] | 1 | 2021-09-15T09:25:39.000Z | 2021-09-15T09:25:39.000Z | from stockprophet.cli import entry_point
from stockprophet.crawler import (
init_stock_type, init_stock_category
)
from stockprophet.db import init_db
from .utils import read_db_settings
| 22.361111 | 49 | 0.645963 |
22d210de31752ef0c139ecd0a2fcb3a182d83a41 | 216 | py | Python | 2021/day_25.py | mpcjanssen/Advent-of-Code | 06c5257d038bfcd3d4790f3213afecb5c36d5c61 | [
"Unlicense"
] | 1 | 2022-02-06T08:33:08.000Z | 2022-02-06T08:33:08.000Z | 2021/day_25.py | mpcjanssen/Advent-of-Code | 06c5257d038bfcd3d4790f3213afecb5c36d5c61 | [
"Unlicense"
] | null | null | null | 2021/day_25.py | mpcjanssen/Advent-of-Code | 06c5257d038bfcd3d4790f3213afecb5c36d5c61 | [
"Unlicense"
] | null | null | null | import aoc_helper
RAW = aoc_helper.day(25)
print(RAW)
DATA = parse_raw()
aoc_helper.submit(25, part_one)
aoc_helper.submit(25, part_two)
| 11.368421 | 31 | 0.652778 |
22d23a29cb139320e7b38591cd284a89f2406142 | 475 | py | Python | 6/6.2.py | Hunter1753/adventofcode | 962df52af01f6ab575e8f00eb2d1c1335dba5430 | [
"CC0-1.0"
] | 1 | 2020-12-08T21:53:19.000Z | 2020-12-08T21:53:19.000Z | 6/6.2.py | Hunter1753/adventofcode | 962df52af01f6ab575e8f00eb2d1c1335dba5430 | [
"CC0-1.0"
] | null | null | null | 6/6.2.py | Hunter1753/adventofcode | 962df52af01f6ab575e8f00eb2d1c1335dba5430 | [
"CC0-1.0"
] | null | null | null |
groupList = []
tempGroup = []
with open("./6/input.txt") as inputFile:
for line in inputFile:
line = line.replace("\n","")
if len(line) > 0:
tempGroup.append(set(line))
else:
groupList.append(tempGroup)
tempGroup = []
if len(tempGroup) > 0:
groupList.append(tempGroup)
groupList = list(map(setIntersectionCount,groupList))
print("{} common options in groups".format(sum(groupList))) | 25 | 59 | 0.703158 |
22d2adc9a61d389ca50d1c98a9058e597ec58a82 | 2,964 | py | Python | demo/gpnas/CVPR2021_NAS_competition_gpnas_demo.py | ZichaoGuo/PaddleSlim | 2550fb4ec86aee6155c1c8a2c9ab174e239918a3 | [
"Apache-2.0"
] | 926 | 2019-12-16T05:06:56.000Z | 2022-03-31T07:22:10.000Z | demo/gpnas/CVPR2021_NAS_competition_gpnas_demo.py | ZichaoGuo/PaddleSlim | 2550fb4ec86aee6155c1c8a2c9ab174e239918a3 | [
"Apache-2.0"
] | 327 | 2019-12-16T06:04:31.000Z | 2022-03-30T11:08:18.000Z | demo/gpnas/CVPR2021_NAS_competition_gpnas_demo.py | ZichaoGuo/PaddleSlim | 2550fb4ec86aee6155c1c8a2c9ab174e239918a3 | [
"Apache-2.0"
] | 234 | 2019-12-16T03:12:08.000Z | 2022-03-27T12:59:39.000Z | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import json
import copy
import numpy as np
from paddleslim.nas import GPNAS
# GP-NAS[CVPR 2021 NAS](https://www.cvpr21-nas.com/competition) Track2 demo
# [CVPR 2021 NASTrack2 studio](https://aistudio.baidu.com/aistudio/competition/detail/71?lang=en)
# [AI studio GP-NAS demo](https://aistudio.baidu.com/aistudio/projectdetail/1824958)
# demo paddleslimNASGP-NAS:Gaussian Process based Neural Architecture Search
# demo
if __name__ == '__main__':
stage1_file = './datasets/Track2_stage1_trainning.json'
stage2_file = './datasets/Track2_stage2_few_show_trainning.json'
X_train_stage1, Y_train_stage1, X_test_stage1, Y_test_stage1 = preprare_trainning_data(
stage1_file, 1)
X_train_stage2, Y_train_stage2, X_test_stage2, Y_test_stage2 = preprare_trainning_data(
stage2_file, 2)
gpnas = GPNAS()
w = gpnas.get_initial_mean(X_test_stage1, Y_test_stage1)
init_cov = gpnas.get_initial_cov(X_train_stage1)
error_list = np.array(
Y_test_stage2.reshape(len(Y_test_stage2), 1) - gpnas.get_predict(
X_test_stage2))
print('RMSE trainning on stage1 testing on stage2:',
np.sqrt(np.dot(error_list.T, error_list) / len(error_list)))
gpnas.get_posterior_mean(X_train_stage2[0::3], Y_train_stage2[0::3])
gpnas.get_posterior_mean(X_train_stage2[1::3], Y_train_stage2[1::3])
gpnas.get_posterior_cov(X_train_stage2[1::3], Y_train_stage2[1::3])
error_list = np.array(
Y_test_stage2.reshape(len(Y_test_stage2), 1) - gpnas.get_predict_jiont(
X_test_stage2, X_train_stage2[::1], Y_train_stage2[::1]))
print('RMSE using stage1 as prior:',
np.sqrt(np.dot(error_list.T, error_list) / len(error_list)))
| 44.909091 | 103 | 0.721323 |
22d2e5e3c594615ca7c099c59610e2d90de239db | 403 | py | Python | pages/migrations/0004_auto_20181102_0944.py | yogeshprasad/spa-development | 1bee9ca64da5815e1c9a2f7af43b44b59ee2ca7b | [
"Apache-2.0"
] | null | null | null | pages/migrations/0004_auto_20181102_0944.py | yogeshprasad/spa-development | 1bee9ca64da5815e1c9a2f7af43b44b59ee2ca7b | [
"Apache-2.0"
] | 7 | 2020-06-05T19:11:22.000Z | 2022-03-11T23:30:57.000Z | pages/migrations/0004_auto_20181102_0944.py | yogeshprasad/spa-development | 1bee9ca64da5815e1c9a2f7af43b44b59ee2ca7b | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.6 on 2018-11-02 09:44
from django.db import migrations, models
| 21.210526 | 63 | 0.602978 |
22d31dc3511cd477901e03ecc8f042e8c0f688bf | 1,119 | py | Python | imageclassification/src/sample/splitters/_StratifiedSplitter.py | waikato-datamining/keras-imaging | f044f883242895c18cfdb31a827bc32bdb0405ed | [
"MIT"
] | null | null | null | imageclassification/src/sample/splitters/_StratifiedSplitter.py | waikato-datamining/keras-imaging | f044f883242895c18cfdb31a827bc32bdb0405ed | [
"MIT"
] | null | null | null | imageclassification/src/sample/splitters/_StratifiedSplitter.py | waikato-datamining/keras-imaging | f044f883242895c18cfdb31a827bc32bdb0405ed | [
"MIT"
] | 1 | 2020-04-16T15:29:28.000Z | 2020-04-16T15:29:28.000Z | from collections import OrderedDict
from random import Random
from typing import Set
from .._types import Dataset, Split, LabelIndices
from .._util import per_label
from ._RandomSplitter import RandomSplitter
from ._Splitter import Splitter
| 28.692308 | 128 | 0.671135 |
22d37205c7c002b3538af8a7bcaeddcf556d57d9 | 315 | py | Python | revenuecat_python/enums.py | YuraHavrylko/revenuecat_python | a25b234933b6e80e1ff09b6a82d73a0e3df91caa | [
"MIT"
] | 1 | 2020-12-11T09:31:02.000Z | 2020-12-11T09:31:02.000Z | revenuecat_python/enums.py | YuraHavrylko/revenuecat_python | a25b234933b6e80e1ff09b6a82d73a0e3df91caa | [
"MIT"
] | null | null | null | revenuecat_python/enums.py | YuraHavrylko/revenuecat_python | a25b234933b6e80e1ff09b6a82d73a0e3df91caa | [
"MIT"
] | null | null | null | from enum import Enum
| 17.5 | 35 | 0.634921 |
22d53110de1903196c37bd847b098f2456b54f16 | 1,441 | py | Python | windows_packages_gpu/torch/nn/intrinsic/qat/modules/linear_relu.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 353 | 2020-12-10T10:47:17.000Z | 2022-03-31T23:08:29.000Z | windows_packages_gpu/torch/nn/intrinsic/qat/modules/linear_relu.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 80 | 2020-12-10T09:54:22.000Z | 2022-03-30T22:08:45.000Z | windows_packages_gpu/torch/nn/intrinsic/qat/modules/linear_relu.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 63 | 2020-12-10T17:10:34.000Z | 2022-03-28T16:27:07.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
import torch.nn.qat as nnqat
import torch.nn.intrinsic
import torch.nn.functional as F
| 34.309524 | 89 | 0.66898 |
22d6fda860ed01e0cc3ade5c2a2e95bc621ae7ac | 992 | py | Python | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/EXT/draw_buffers2.py | temelkirci/Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | 1 | 2022-03-02T17:07:20.000Z | 2022-03-02T17:07:20.000Z | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/EXT/draw_buffers2.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/EXT/draw_buffers2.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | '''OpenGL extension EXT.draw_buffers2
This module customises the behaviour of the
OpenGL.raw.GL.EXT.draw_buffers2 to provide a more
Python-friendly API
Overview (from the spec)
This extension builds upon the ARB_draw_buffers extension and provides
separate blend enables and color write masks for each color output. In
ARB_draw_buffers (part of OpenGL 2.0), separate values can be written to
each color buffer, but the blend enable and color write mask are global
and apply to all color outputs.
While this extension does provide separate blend enables, it does not
provide separate blend functions or blend equations per color output.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/draw_buffers2.txt
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions, wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.GL.EXT.draw_buffers2 import *
### END AUTOGENERATED SECTION | 36.740741 | 73 | 0.803427 |
22d789885783516e44018b1a27dcbc9e0ec012e0 | 6,443 | py | Python | pymemcache/client/retrying.py | liquidpele/pymemcache | 0001f94a06b91078ed7b7708729ef0d1aaa73a68 | [
"Apache-2.0"
] | null | null | null | pymemcache/client/retrying.py | liquidpele/pymemcache | 0001f94a06b91078ed7b7708729ef0d1aaa73a68 | [
"Apache-2.0"
] | null | null | null | pymemcache/client/retrying.py | liquidpele/pymemcache | 0001f94a06b91078ed7b7708729ef0d1aaa73a68 | [
"Apache-2.0"
] | null | null | null | """ Module containing the RetryingClient wrapper class. """
from time import sleep
def _ensure_tuple_argument(argument_name, argument_value):
"""
Helper function to ensure the given arguments are tuples of Exceptions (or
subclasses), or can at least be converted to such.
Args:
argument_name: str, name of the argument we're checking, only used for
raising meaningful exceptions.
argument: any, the argument itself.
Returns:
tuple[Exception]: A tuple with the elements from the argument if they are
valid.
Exceptions:
ValueError: If the argument was not None, tuple or Iterable.
ValueError: If any of the elements of the argument is not a subclass of
Exception.
"""
# Ensure the argument is a tuple, set or list.
if argument_value is None:
return tuple()
elif not isinstance(argument_value, (tuple, set, list)):
raise ValueError("%s must be either a tuple, a set or a list." % argument_name)
# Convert the argument before checking contents.
argument_tuple = tuple(argument_value)
# Check that all the elements are actually inherited from Exception.
# (Catchable)
if not all([issubclass(arg, Exception) for arg in argument_tuple]):
raise ValueError(
"%s is only allowed to contain elements that are subclasses of "
"Exception." % argument_name
)
return argument_tuple
| 35.994413 | 87 | 0.60298 |
22d92edfa8963f3c42a5dc829d7d8e2eae0773ab | 461 | py | Python | 8.1.py | HuaichenOvO/EIE3280HW | e1424abb8baf715a4e9372e2ca6b0bed1e62f3d6 | [
"MIT"
] | null | null | null | 8.1.py | HuaichenOvO/EIE3280HW | e1424abb8baf715a4e9372e2ca6b0bed1e62f3d6 | [
"MIT"
] | null | null | null | 8.1.py | HuaichenOvO/EIE3280HW | e1424abb8baf715a4e9372e2ca6b0bed1e62f3d6 | [
"MIT"
] | null | null | null | import numpy as np
import numpy.linalg as lg
A_mat = np.matrix([
[0, 1, 1, 1, 0],
[1, 0, 0, 0, 1],
[1, 0, 0, 1, 1],
[1, 0, 1, 0, 1],
[0, 1, 1, 1, 0]
])
eigen = lg.eig(A_mat) # return Arr[5] with 5 different linear independent eigen values
vec = eigen[1][:, 0] # the column (eigen vector) with the largest eigen value
value = eigen[0][0] # the largest eigen value
print(vec)
print(A_mat * vec)
print(value * vec)
| 20.043478 | 87 | 0.566161 |
22d9ab4bf21ea11b6c751dd2350676d79a0f46d5 | 397 | py | Python | classroom/migrations/0025_myfile_file.py | Abulhusain/E-learing | 65cfe3125f1b6794572ef2daf89917976f0eac09 | [
"MIT"
] | 5 | 2019-06-19T03:47:17.000Z | 2020-06-11T17:46:50.000Z | classroom/migrations/0025_myfile_file.py | Abulhusain/E-learing | 65cfe3125f1b6794572ef2daf89917976f0eac09 | [
"MIT"
] | 3 | 2021-03-19T01:23:12.000Z | 2021-09-08T01:05:25.000Z | classroom/migrations/0025_myfile_file.py | seeej/digiwiz | 96ddfc22fe4c815feec3d75c30576fec5f344154 | [
"MIT"
] | 1 | 2021-06-04T05:58:15.000Z | 2021-06-04T05:58:15.000Z | # Generated by Django 2.2.2 on 2019-08-25 09:29
from django.db import migrations, models
| 20.894737 | 63 | 0.602015 |
22da304d7553bb5adf64e1d52f39170a3b5aca59 | 249 | py | Python | jumbo_api/objects/profile.py | rolfberkenbosch/python-jumbo-api | 9ca35cbea6225dcc6108093539e76f110b1840b0 | [
"MIT"
] | 3 | 2020-07-24T08:44:13.000Z | 2021-09-05T06:24:01.000Z | jumbo_api/objects/profile.py | rolfberkenbosch/python-jumbo-api | 9ca35cbea6225dcc6108093539e76f110b1840b0 | [
"MIT"
] | 6 | 2020-04-30T19:12:24.000Z | 2021-03-23T19:21:19.000Z | jumbo_api/objects/profile.py | rolfberkenbosch/python-jumbo-api | 9ca35cbea6225dcc6108093539e76f110b1840b0 | [
"MIT"
] | 2 | 2020-04-30T14:59:12.000Z | 2020-08-30T19:15:57.000Z | from jumbo_api.objects.store import Store
| 22.636364 | 45 | 0.634538 |
22da72ceaa2598d408165e577728716dec2eb71a | 11,928 | py | Python | tmp/real_time_log_analy/logWatcher.py | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 7 | 2017-07-16T15:09:26.000Z | 2021-09-01T02:13:15.000Z | tmp/real_time_log_analy/logWatcher.py | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | null | null | null | tmp/real_time_log_analy/logWatcher.py | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 3 | 2017-09-13T09:54:49.000Z | 2019-03-18T01:29:15.000Z | #!/usr/bin/env python
import os
import sys
import time
import errno
import stat
import datetime
import socket
import struct
import atexit
import logging
#from lru import LRUCacheDict
from logging import handlers
from task_manager import Job, taskManage
from ctypes import *
from urlparse import *
from multiprocessing import Process,Lock
from log_obj import CLog
from parse_conf import cConfParser
log_file = "timelog.log"
log_fmt = '%(asctime)s: %(message)s'
config_file = 'test.config'
domain_white_dict = {}
pps_ip_list = []
pps_port = 0
domain_sfx_err_count = 0
domain_sfx_err_rate = 0
ats_ip = ''
once_flag = 0
txn_idx = 0
d1 = {}
mutex = Lock()
version_message = '1.0.1'
#1.0.1: Add conf obj; Add log obj
#1.0.2: More pps. add tool config
if __name__ == '__main__':
help_message = 'Usage: python %s' % sys.argv[0]
if len(sys.argv) == 2 and (sys.argv[1] in '--version'):
print version_message
exit(1)
if len(sys.argv) == 2 and (sys.argv[1] in '--help'):
print help_message
exit(1)
if len(sys.argv) != 1:
print help_message
exit(1)
cp = config_parse()
get_domain_white(cp.get('common', 'domain_white_list'))
loger = CLog(log_file, log_fmt, 12, 5, cp.get('common', 'debug'))
print 'Start ok'
daemonize()
tmg = taskManage()
tmg.run()
pull_pps_job = Job(txn_idx, period_check_task, time.time(), int(cp.get('common', 'interval')), '', '', callback_routine, '', '')
tmg.task_add(pull_pps_job)
l = LogWatcher("/opt/ats/var/log/trafficserver", callback)
l.loop()
#https://docs.python.org/2/library/ctypes.html
#https://blog.csdn.net/u012611644/article/details/80529746
| 29.021898 | 132 | 0.550889 |
22db31f9f12a464c13a70cead5b1a18013bd0add | 365 | py | Python | lazyblacksmith/views/ajax/__init__.py | jonathonfletcher/LazyBlacksmith | f244f0a15c795707b64e7cc53f82c6d6270691b5 | [
"BSD-3-Clause"
] | 49 | 2016-10-24T13:51:56.000Z | 2022-02-18T06:07:47.000Z | lazyblacksmith/views/ajax/__init__.py | jonathonfletcher/LazyBlacksmith | f244f0a15c795707b64e7cc53f82c6d6270691b5 | [
"BSD-3-Clause"
] | 84 | 2015-04-29T10:24:51.000Z | 2022-02-17T19:18:01.000Z | lazyblacksmith/views/ajax/__init__.py | jonathonfletcher/LazyBlacksmith | f244f0a15c795707b64e7cc53f82c6d6270691b5 | [
"BSD-3-Clause"
] | 34 | 2017-01-23T13:19:17.000Z | 2022-02-02T17:32:08.000Z | # -*- encoding: utf-8 -*-
from flask import request
from lazyblacksmith.utils.request import is_xhr
import logging
logger = logging.getLogger('lb.ajax')
def is_not_ajax():
"""
Return True if request is not ajax
This function is used in @cache annotation
to not cache direct call (http 403)
"""
return not is_xhr(request)
| 21.470588 | 48 | 0.665753 |
22dbcb72dc9b6914e75bad92c8d92d61083088a7 | 6,145 | py | Python | src/automata_learning_with_policybank/Traces.py | logic-and-learning/AdvisoRL | 3bbd741e681e6ea72562fec142d54e9d781d097d | [
"MIT"
] | 4 | 2021-02-04T17:33:07.000Z | 2022-01-24T10:29:39.000Z | src/automata_learning_with_policybank/Traces.py | logic-and-learning/AdvisoRL | 3bbd741e681e6ea72562fec142d54e9d781d097d | [
"MIT"
] | null | null | null | src/automata_learning_with_policybank/Traces.py | logic-and-learning/AdvisoRL | 3bbd741e681e6ea72562fec142d54e9d781d097d | [
"MIT"
] | null | null | null | import os
| 36.577381 | 127 | 0.479414 |
22dbf84787aba6cdbf21c855e5dcbb4cff617bd6 | 1,758 | py | Python | example/comp/urls.py | edwilding/django-comments-xtd | c3a335b6345b52c75cce69c66b7cf0ef72439d35 | [
"BSD-2-Clause"
] | null | null | null | example/comp/urls.py | edwilding/django-comments-xtd | c3a335b6345b52c75cce69c66b7cf0ef72439d35 | [
"BSD-2-Clause"
] | null | null | null | example/comp/urls.py | edwilding/django-comments-xtd | c3a335b6345b52c75cce69c66b7cf0ef72439d35 | [
"BSD-2-Clause"
] | 1 | 2021-06-01T20:35:25.000Z | 2021-06-01T20:35:25.000Z | import django
from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
if django.VERSION[:2] > (1, 9):
from django.views.i18n import JavaScriptCatalog
else:
from django.views.i18n import javascript_catalog
from django_comments_xtd import LatestCommentFeed
from django_comments_xtd.views import XtdCommentListView
from comp import views
admin.autodiscover()
urlpatterns = [
url(r'^$', views.HomepageView.as_view(), name='homepage'),
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^admin/', include(admin.site.urls)),
url(r'^articles/', include('comp.articles.urls')),
url(r'^quotes/', include('comp.quotes.urls')),
url(r'^comments/', include('django_comments_xtd.urls')),
url(r'^comments/$', XtdCommentListView.as_view(
content_types=["articles.article", "quotes.quote"],
paginate_by=10, page_range=5),
name='comments-xtd-list'),
url(r'^feeds/comments/$', LatestCommentFeed(), name='comments-feed'),
url(r'^api-auth/', include('rest_framework.urls',
namespace='rest_framework')),
]
if django.VERSION[:2] > (1, 9):
urlpatterns.append(
url(r'^jsi18n/$', JavaScriptCatalog.as_view(),
name='javascript-catalog')
)
else:
js_info_dict = {
'packages': ('django_comments_xtd',)
}
urlpatterns.append(
url(r'^jsi18n/$', javascript_catalog, js_info_dict,
name='javascript-catalog')
)
if settings.DEBUG:
urlpatterns += staticfiles_urlpatterns()
if 'rosetta' in settings.INSTALLED_APPS:
urlpatterns += [url(r'^rosetta/', include('rosetta.urls'))]
| 31.392857 | 77 | 0.67463 |
22de394896bd7be748b49ef5d7072349cfcc8ff2 | 1,770 | py | Python | 09_multiprocessing/prime_validation/primes_factor_test.py | jumploop/high_performance_python | da5b11735601b51f141975f9d59f14293cab16bb | [
"MIT"
] | null | null | null | 09_multiprocessing/prime_validation/primes_factor_test.py | jumploop/high_performance_python | da5b11735601b51f141975f9d59f14293cab16bb | [
"MIT"
] | null | null | null | 09_multiprocessing/prime_validation/primes_factor_test.py | jumploop/high_performance_python | da5b11735601b51f141975f9d59f14293cab16bb | [
"MIT"
] | null | null | null | import math
import time
if __name__ == "__main__":
primes = []
t1 = time.time()
# 100109100129100151 big prime
# http://primes.utm.edu/curios/page.php/100109100129100151.html
# number_range = xrange(100109100129100153, 100109100129101238, 2)
number_range = range(100109100129101237, 100109100129201238, 2)
# new expensive near-primes
# [(95362951, (100109100129100369, 7.254560947418213))
# (171656941, (100109100129101027, 13.052711009979248))
# (121344023, (100109100129101291, 8.994053840637207)
# note these two lines of timings look really wrong, they're about 4sec
# each really
# [(265687139, (100109100129102047, 19.642582178115845)), (219609683, (100109100129102277, 16.178056001663208)), (121344023, (100109100129101291, 8.994053840637207))]
# [(316096873, (100109100129126653, 23.480671882629395)), (313994287, (100109100129111617, 23.262380123138428)), (307151363, (100109100129140177, 22.80288815498352))]
# primes
# 100109100129162907
# 100109100129162947
highest_factors = {}
for possible_prime in number_range:
t2 = time.time()
is_prime, factor = check_prime(possible_prime)
if is_prime:
primes.append(possible_prime)
print("GOT NEW PRIME", possible_prime)
else:
highest_factors[factor] = (possible_prime, time.time() - t2)
hf = highest_factors.items()
hf = sorted(hf, reverse=True)
print(hf[:3])
print("Took:", time.time() - t1)
print(len(primes), primes[:10], primes[-10:])
| 36.122449 | 170 | 0.654802 |
22df608412513a1bf5e311a4eae60aa3f6a7a737 | 1,609 | py | Python | python/test/test_dynamic_bitset.py | hagabb/katana | a52a688b90315a79aa95cf8d279fd7f949a3b94b | [
"BSD-3-Clause"
] | null | null | null | python/test/test_dynamic_bitset.py | hagabb/katana | a52a688b90315a79aa95cf8d279fd7f949a3b94b | [
"BSD-3-Clause"
] | null | null | null | python/test/test_dynamic_bitset.py | hagabb/katana | a52a688b90315a79aa95cf8d279fd7f949a3b94b | [
"BSD-3-Clause"
] | null | null | null | import pytest
from katana.dynamic_bitset import DynamicBitset
__all__ = []
SIZE = 50
| 14.898148 | 47 | 0.580485 |
22df9e5579ccb8577b1f37196d5e862a47aa496e | 1,026 | py | Python | tests/basic/test_basic.py | kopp/python-astar | 642dd4bcef9829776614dc0f12681ac94634a3bc | [
"BSD-3-Clause"
] | 133 | 2017-05-05T03:40:13.000Z | 2022-03-30T06:37:23.000Z | src/test/basic/basic.py | ReznicencuBogdan/python-astar | 48d1caedd6e839c51315555f85ced567f7f166a7 | [
"BSD-3-Clause"
] | 6 | 2019-01-17T20:46:34.000Z | 2021-12-23T22:59:57.000Z | src/test/basic/basic.py | ReznicencuBogdan/python-astar | 48d1caedd6e839c51315555f85ced567f7f166a7 | [
"BSD-3-Clause"
] | 61 | 2017-03-17T14:05:34.000Z | 2022-02-18T21:27:40.000Z | import unittest
import astar
if __name__ == '__main__':
unittest.main()
| 30.176471 | 87 | 0.522417 |
22e090fdaf1d3e3871f2d87d1370e0c27a711e78 | 2,623 | py | Python | potions.py | abdza/skyrim_formulas | bf6be3c82715cfde89810d6e6183c95a55a4414c | [
"MIT"
] | null | null | null | potions.py | abdza/skyrim_formulas | bf6be3c82715cfde89810d6e6183c95a55a4414c | [
"MIT"
] | null | null | null | potions.py | abdza/skyrim_formulas | bf6be3c82715cfde89810d6e6183c95a55a4414c | [
"MIT"
] | null | null | null | #!/bin/env python3
import csv
effects = {}
ingredients = {}
print("Formulating formulas")
with open('ingredients.csv') as csvfile:
aff = csv.reader(csvfile, delimiter=',')
for row in aff:
if row[0] not in effects.keys():
effects[row[0]] = row[1]
with open('skyrim-ingredients.csv', newline='') as csvfile:
ingre = csv.reader(csvfile, delimiter=',')
for row in ingre:
if row[0] not in ingredients.keys():
ingredients[row[0]] = [row[1],row[2],row[3],row[4]]
multieffects = {}
for ce in effects:
curing = []
for ing in ingredients:
if ce in ingredients[ing]:
curing.append(ing)
for k,curi in enumerate(curing):
for i in range(k+1,len(curing)):
cureff = intersect(ingredients[curi],ingredients[curing[i]])
cureff.sort()
if len(cureff)>1:
if curi>curing[i]:
curname = curing[i] + ':' + curi
else:
curname = curi + ':' + curing[i]
multieffects[curname] = cureff
finallist = {}
for me in multieffects:
curing = me.split(":")
for ing in ingredients:
if ing!=curing[0] and ing!=curing[1]:
eff1 = intersect(ingredients[curing[0]],ingredients[ing])
eff2 = intersect(ingredients[curing[1]],ingredients[ing])
if len(eff1)>0 or len(eff2)>0:
tmpname = [ val for val in curing ]
tmpname.append(ing)
tmpname.sort()
finalname = ":".join(tmpname)
finallist[finalname] = list(set(multieffects[me] + eff1 + eff2))
finallist[finalname].sort()
with open('formulas.csv',mode='w') as formula_file:
formula_writer = csv.writer(formula_file, delimiter=',')
formula_writer.writerow(['Category','Ingredient 1','Ingredient 2','Ingredient 3','Effect 1','Effect 2','Effect 3','Effect 4','Effect 5'])
for fl in finallist:
formula_writer.writerow([category(finallist[fl],effects)] + fl.split(":") + finallist[fl])
for fl in multieffects:
formula_writer.writerow([category(multieffects[fl],effects)] + fl.split(":") + [''] + multieffects[fl])
| 31.60241 | 141 | 0.569577 |
22e1bc52c4e28d18d68ad09f117367db41946c7e | 5,679 | py | Python | src/clients/ctm_api_client/models/user_additional_properties.py | IceT-M/ctm-python-client | 0ef1d8a3c9a27a01c088be1cdf5d177d25912bac | [
"BSD-3-Clause"
] | 5 | 2021-12-01T18:40:00.000Z | 2022-03-04T10:51:44.000Z | src/clients/ctm_api_client/models/user_additional_properties.py | IceT-M/ctm-python-client | 0ef1d8a3c9a27a01c088be1cdf5d177d25912bac | [
"BSD-3-Clause"
] | 3 | 2022-02-21T20:08:32.000Z | 2022-03-16T17:41:03.000Z | src/clients/ctm_api_client/models/user_additional_properties.py | IceT-M/ctm-python-client | 0ef1d8a3c9a27a01c088be1cdf5d177d25912bac | [
"BSD-3-Clause"
] | 7 | 2021-12-01T11:59:16.000Z | 2022-03-01T18:16:40.000Z | # coding: utf-8
"""
Control-M Services
Provides access to BMC Control-M Services # noqa: E501
OpenAPI spec version: 9.20.215
Contact: customer_support@bmc.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
from clients.ctm_api_client.configuration import Configuration
def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())
def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, UserAdditionalProperties):
return False
return self.to_dict() == other.to_dict()
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, UserAdditionalProperties):
return True
return self.to_dict() != other.to_dict()
| 30.207447 | 101 | 0.611727 |
22e2114d0da96fc447264d248b0ab2d8a5d86656 | 3,469 | py | Python | Tests/Methods/Mesh/Interpolation/test_interpolation.py | harshasunder-1/pyleecan | 32ae60f98b314848eb9b385e3652d7fc50a77420 | [
"Apache-2.0"
] | 2 | 2020-08-28T14:54:55.000Z | 2021-03-13T19:34:45.000Z | Tests/Methods/Mesh/Interpolation/test_interpolation.py | harshasunder-1/pyleecan | 32ae60f98b314848eb9b385e3652d7fc50a77420 | [
"Apache-2.0"
] | null | null | null | Tests/Methods/Mesh/Interpolation/test_interpolation.py | harshasunder-1/pyleecan | 32ae60f98b314848eb9b385e3652d7fc50a77420 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import numpy as np
from unittest import TestCase
from pyleecan.Classes.CellMat import CellMat
from pyleecan.Classes.MeshSolution import MeshSolution
from pyleecan.Classes.PointMat import PointMat
from pyleecan.Classes.MeshMat import MeshMat
from pyleecan.Classes.ScalarProductL2 import ScalarProductL2
from pyleecan.Classes.Interpolation import Interpolation
from pyleecan.Classes.RefSegmentP1 import RefSegmentP1
from pyleecan.Classes.FPGNSeg import FPGNSeg
| 38.544444 | 86 | 0.618622 |
22e2925cc3811ca52e0058f9e3c1868295f2875f | 13,863 | py | Python | lib/models.py | ecarg/grace | 8c1540116c07648f7d8852ee5e9edff33b6ae2f6 | [
"BSD-2-Clause"
] | 7 | 2017-11-20T03:30:46.000Z | 2021-06-10T15:33:07.000Z | lib/models.py | ecarg/grace | 8c1540116c07648f7d8852ee5e9edff33b6ae2f6 | [
"BSD-2-Clause"
] | 47 | 2017-09-08T07:02:42.000Z | 2017-11-04T13:50:50.000Z | lib/models.py | ecarg/grace | 8c1540116c07648f7d8852ee5e9edff33b6ae2f6 | [
"BSD-2-Clause"
] | 2 | 2018-10-19T05:05:23.000Z | 2019-10-31T06:27:24.000Z | # -*- coding: utf-8 -*-
"""
Pytorch models
__author__ = 'Jamie (krikit@naver.com)'
__copyright__ = 'No copyright. Just copyleft!'
"""
# pylint: disable=no-member
# pylint: disable=invalid-name
###########
# imports #
###########
import torch
import torch.nn as nn
from embedder import Embedder
from pos_models import PosTagger, FnnTagger, CnnTagger # pylint: disable=unused-import
#############
# Ner Class #
#############
#################
# Encoder Class #
#################
#################
# Decoder Class #
#################
| 31.506818 | 89 | 0.549592 |
22e519a060ec94aa77f57c2992012dba58e6efff | 221 | py | Python | pyseqlogo/__init__.py | BioGeek/pyseqlogo | e41d9645c7a9fa5baf3deab281acf40ea5357f64 | [
"MIT"
] | 24 | 2017-10-23T16:06:18.000Z | 2022-03-04T14:09:25.000Z | pyseqlogo/__init__.py | BioGeek/pyseqlogo | e41d9645c7a9fa5baf3deab281acf40ea5357f64 | [
"MIT"
] | 7 | 2020-11-19T13:55:54.000Z | 2021-11-30T03:16:33.000Z | pyseqlogo/__init__.py | BioGeek/pyseqlogo | e41d9645c7a9fa5baf3deab281acf40ea5357f64 | [
"MIT"
] | 16 | 2018-02-01T16:12:07.000Z | 2021-09-28T03:53:11.000Z | # -*- coding: utf-8 -*-
"""Top-level package for pyseqlogo."""
__author__ = """Saket Choudhary"""
__email__ = 'saketkc@gmail.com'
__version__ = '0.1.0'
from .pyseqlogo import draw_logo
from .pyseqlogo import setup_axis
| 22.1 | 38 | 0.705882 |
22e5c3b42de15feed5e29aa272f135d23d064ab1 | 1,274 | py | Python | setup.py | edulix/apscheduler | 8030e0fc7e1845a15861e649988cc73a1aa624ec | [
"MIT"
] | null | null | null | setup.py | edulix/apscheduler | 8030e0fc7e1845a15861e649988cc73a1aa624ec | [
"MIT"
] | null | null | null | setup.py | edulix/apscheduler | 8030e0fc7e1845a15861e649988cc73a1aa624ec | [
"MIT"
] | null | null | null | # coding: utf-8
import os.path
try:
from setuptools import setup
extras = dict(zip_safe=False, test_suite='nose.collector', tests_require=['nose'])
except ImportError:
from distutils.core import setup
extras = {}
import apscheduler
here = os.path.dirname(__file__)
readme_path = os.path.join(here, 'README.rst')
readme = open(readme_path).read()
setup(
name='APScheduler',
version=apscheduler.release,
description='In-process task scheduler with Cron-like capabilities',
long_description=readme,
author='Alex Gronholm',
author_email='apscheduler@nextday.fi',
url='http://pypi.python.org/pypi/APScheduler/',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3'
],
keywords='scheduling cron',
license='MIT',
packages=('apscheduler', 'apscheduler.jobstores', 'apscheduler.triggers', 'apscheduler.triggers.cron'),
)
| 31.073171 | 107 | 0.663265 |
22e6c10685bc8e3a610b18ebd720a7487a124de6 | 9,576 | py | Python | object_detection/exporter_test.py | travisyates81/object-detection | 931bebfa54798c08d2c401e9c1bad39015d8c832 | [
"MIT"
] | 1 | 2019-09-19T18:24:55.000Z | 2019-09-19T18:24:55.000Z | object_detection/exporter_test.py | travisyates81/object-detection | 931bebfa54798c08d2c401e9c1bad39015d8c832 | [
"MIT"
] | null | null | null | object_detection/exporter_test.py | travisyates81/object-detection | 931bebfa54798c08d2c401e9c1bad39015d8c832 | [
"MIT"
] | null | null | null | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Travis Yates
"""Tests for object_detection.export_inference_graph."""
import os
import mock
import numpy as np
import tensorflow as tf
from object_detection import exporter
from object_detection.builders import model_builder
from object_detection.core import model
from object_detection.protos import pipeline_pb2
if __name__ == '__main__':
tf.test.main()
| 44.539535 | 77 | 0.680138 |
22e9a24e177b5cc9ead771b6359f5209ebe42377 | 543 | py | Python | run.py | matthewyoung28/macmentum | af1a26903e25b4a4f278388d7be1e638e071c0a8 | [
"MIT"
] | null | null | null | run.py | matthewyoung28/macmentum | af1a26903e25b4a4f278388d7be1e638e071c0a8 | [
"MIT"
] | null | null | null | run.py | matthewyoung28/macmentum | af1a26903e25b4a4f278388d7be1e638e071c0a8 | [
"MIT"
] | null | null | null | import os
import sys
import random
main()
| 18.724138 | 93 | 0.662983 |
22eae5e579a412e845c5851038ebc3ce5e3c9735 | 2,099 | py | Python | noxfile.py | dolfno/mlops_demo | 52a04525f1655a32d45002384a972a1920fd517a | [
"MIT"
] | null | null | null | noxfile.py | dolfno/mlops_demo | 52a04525f1655a32d45002384a972a1920fd517a | [
"MIT"
] | null | null | null | noxfile.py | dolfno/mlops_demo | 52a04525f1655a32d45002384a972a1920fd517a | [
"MIT"
] | null | null | null | """Automated CI tools to run with Nox"""
import nox
from nox import Session
locations = "src", "noxfile.py", "docs/conf.py"
nox.options.sessions = "lint", "tests"
package = "hypermodern_python"
| 28.364865 | 68 | 0.636494 |
22ecf4bdf03fca4f671513bb4a4ebe6ea6f1152b | 225 | py | Python | cocotb_test/run.py | canerbulduk/cocotb-test | ece092446a1e5de932db12dfb60441d6f322d5f1 | [
"BSD-2-Clause"
] | null | null | null | cocotb_test/run.py | canerbulduk/cocotb-test | ece092446a1e5de932db12dfb60441d6f322d5f1 | [
"BSD-2-Clause"
] | null | null | null | cocotb_test/run.py | canerbulduk/cocotb-test | ece092446a1e5de932db12dfb60441d6f322d5f1 | [
"BSD-2-Clause"
] | null | null | null |
import cocotb_test.simulator
# For partial back compatibility
| 17.307692 | 43 | 0.648889 |
22ed999c1f1e8e891adad2dd4f4e9520b2e7dd4f | 267 | py | Python | kanban_backend/project_management/apps.py | hamzabouissi/kanban_backend | 549d8c2711313011f3186b5b3a3ac969481df3f7 | [
"MIT"
] | null | null | null | kanban_backend/project_management/apps.py | hamzabouissi/kanban_backend | 549d8c2711313011f3186b5b3a3ac969481df3f7 | [
"MIT"
] | null | null | null | kanban_backend/project_management/apps.py | hamzabouissi/kanban_backend | 549d8c2711313011f3186b5b3a3ac969481df3f7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
| 20.538462 | 60 | 0.666667 |
22eecf1d05ffdd487202a1266800927ab92af76d | 1,098 | py | Python | src/framework/tracing.py | davidhozic/Discord-Shiller | ff22bb1ceb7b4128ee0d27f3c9c9dd0a5279feb9 | [
"MIT"
] | 12 | 2022-02-20T20:50:24.000Z | 2022-03-24T17:15:15.000Z | src/framework/tracing.py | davidhozic/Discord-Shiller | ff22bb1ceb7b4128ee0d27f3c9c9dd0a5279feb9 | [
"MIT"
] | 3 | 2022-02-21T15:17:43.000Z | 2022-03-17T22:36:23.000Z | src/framework/tracing.py | davidhozic/discord-advertisement-framework | ff22bb1ceb7b4128ee0d27f3c9c9dd0a5279feb9 | [
"MIT"
] | 1 | 2022-03-31T01:04:01.000Z | 2022-03-31T01:04:01.000Z | """
~ Tracing ~
This modules containes functions and classes
related to the console debug long or trace.
"""
from enum import Enum, auto
import time
__all__ = (
"TraceLEVELS",
"trace"
)
m_use_debug = None
def trace(message: str,
level: TraceLEVELS = TraceLEVELS.NORMAL):
""""
Name : trace
Param:
- message : str = Trace message
- level : TraceLEVELS = Level of the trace
"""
if m_use_debug:
timestruct = time.localtime()
timestamp = "Date: {:02d}.{:02d}.{:04d} Time:{:02d}:{:02d}"
timestamp = timestamp.format(timestruct.tm_mday,
timestruct.tm_mon,
timestruct.tm_year,
timestruct.tm_hour,
timestruct.tm_min)
l_trace = f"{timestamp}\nTrace level: {level.name}\nMessage: {message}\n"
print(l_trace)
| 25.534884 | 81 | 0.528233 |
22f2bda6c50ac4fe1d32522345090972ebb7ad66 | 728 | py | Python | sunkit_image/__init__.py | jeffreypaul15/sunkit-image | 0987db8fcd38c79a83d7d890e407204e63a05c4f | [
"BSD-2-Clause-NetBSD",
"BSD-2-Clause"
] | null | null | null | sunkit_image/__init__.py | jeffreypaul15/sunkit-image | 0987db8fcd38c79a83d7d890e407204e63a05c4f | [
"BSD-2-Clause-NetBSD",
"BSD-2-Clause"
] | null | null | null | sunkit_image/__init__.py | jeffreypaul15/sunkit-image | 0987db8fcd38c79a83d7d890e407204e63a05c4f | [
"BSD-2-Clause-NetBSD",
"BSD-2-Clause"
] | null | null | null | """
sunkit-image
============
A image processing toolbox for Solar Physics.
* Homepage: https://sunpy.org
* Documentation: https://sunkit-image.readthedocs.io/en/latest/
"""
import sys
from .version import version as __version__ # NOQA
# Enforce Python version check during package import.
__minimum_python_version__ = "3.7"
if sys.version_info < tuple(int(val) for val in __minimum_python_version__.split(".")):
# This has to be .format to keep backwards compatibly.
raise UnsupportedPythonError(
"sunkit_image does not support Python < {}".format(__minimum_python_version__)
)
__all__ = []
| 23.483871 | 87 | 0.717033 |
22f32d963c063df45b4e85b0c4f01e4ea1ea6369 | 26,004 | py | Python | app/view.py | lucasblazzi/stocker | 52cdec481ed84a09d97369ee4da229e169f99f51 | [
"MIT"
] | null | null | null | app/view.py | lucasblazzi/stocker | 52cdec481ed84a09d97369ee4da229e169f99f51 | [
"MIT"
] | null | null | null | app/view.py | lucasblazzi/stocker | 52cdec481ed84a09d97369ee4da229e169f99f51 | [
"MIT"
] | null | null | null | import plotly.graph_objects as go
import plotly.express as px
import pandas as pd | 46.352941 | 153 | 0.543916 |
22f3312bdb283b4ef7d6f8aa9f88ddb5c8c89e30 | 662 | py | Python | ch_4/stopping_length.py | ProhardONE/python_primer | 211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0 | [
"MIT"
] | 51 | 2016-04-05T16:56:11.000Z | 2022-02-08T00:08:47.000Z | ch_4/stopping_length.py | zhangxiao921207/python_primer | 211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0 | [
"MIT"
] | null | null | null | ch_4/stopping_length.py | zhangxiao921207/python_primer | 211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0 | [
"MIT"
] | 47 | 2016-05-02T07:51:37.000Z | 2022-02-08T01:28:15.000Z | # Exercise 4.11
# Author: Noah Waterfield Price
import sys
g = 9.81 # acceleration due to gravity
try:
# initial velocity (convert to m/s)
v0 = (1000. / 3600) * float(sys.argv[1])
mu = float(sys.argv[2]) # coefficient of friction
except IndexError:
print 'Both v0 (in km/s) and mu must be supplied on the command line'
v0 = (1000. / 3600) * float(raw_input('v0 = ?\n'))
mu = float(raw_input('mu = ?\n'))
except ValueError:
print 'v0 and mu must be pure numbers'
sys.exit(1)
d = 0.5 * v0 ** 2 / mu / g
print d
"""
Sample run:
python stopping_length.py 120 0.3
188.771850342
python stopping_length.py 50 0.3
32.7728906843
"""
| 22.827586 | 73 | 0.649547 |
22f35b16a60f939a7ee519533639ecb4ccd48d47 | 866 | py | Python | TestFiles/volumioTest.py | GeorgeIoak/Oden | 9bb6a5811e2ea40ceef67e46bc56eab1be9ce06c | [
"MIT"
] | null | null | null | TestFiles/volumioTest.py | GeorgeIoak/Oden | 9bb6a5811e2ea40ceef67e46bc56eab1be9ce06c | [
"MIT"
] | null | null | null | TestFiles/volumioTest.py | GeorgeIoak/Oden | 9bb6a5811e2ea40ceef67e46bc56eab1be9ce06c | [
"MIT"
] | null | null | null | # Testing code to check update status on demand
from socketIO_client import SocketIO, LoggingNamespace
from threading import Thread
socketIO = SocketIO('localhost', 3000)
status = 'pause'
receive_thread = Thread(target=_receive_thread, daemon=True)
receive_thread.start()
socketIO.on('pushState', on_push_state)
# issue this and the socketIO.wait in the background will push the reply
socketIO.emit('getState', '', on_push_state) | 29.862069 | 72 | 0.674365 |
22f3a0221d0e140933a57d7b71e0a66cb6793a2d | 5,761 | py | Python | examples/DeepWisdom/Auto_NLP/deepWisdom/transformers_/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 3 | 2020-12-15T02:40:43.000Z | 2021-01-14T02:32:13.000Z | examples/DeepWisdom/Auto_NLP/deepWisdom/transformers_/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | null | null | null | examples/DeepWisdom/Auto_NLP/deepWisdom/transformers_/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 4 | 2021-01-07T05:41:38.000Z | 2021-04-07T08:02:22.000Z | __version__ = "2.1.1"
# Work around to update TensorFlow's absl.logging threshold which alters the
# default Python logging output behavior when present.
# see: https://github.com/abseil/abseil-py/issues/99
# and: https://github.com/tensorflow/tensorflow/issues/26691#issuecomment-500369493
try:
import absl.logging
absl.logging.set_verbosity('info')
absl.logging.set_stderrthreshold('info')
absl.logging._warn_preinit_stderr = False
except:
pass
import logging
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
# Files and general utilities
from .file_utils import (TRANSFORMERS_CACHE, PYTORCH_TRANSFORMERS_CACHE, PYTORCH_PRETRAINED_BERT_CACHE,
cached_path, add_start_docstrings, add_end_docstrings,
WEIGHTS_NAME, TF2_WEIGHTS_NAME, TF_WEIGHTS_NAME, CONFIG_NAME,
is_tf_available, is_torch_available)
# Tokenizers
from .tokenization_utils import (PreTrainedTokenizer)
from .tokenization_auto import AutoTokenizer
from .tokenization_bert import BertTokenizer, BasicTokenizer, WordpieceTokenizer
from .tokenization_openai import OpenAIGPTTokenizer
from .tokenization_transfo_xl import (TransfoXLTokenizer, TransfoXLCorpus)
from .tokenization_gpt2 import GPT2Tokenizer
from .tokenization_ctrl import CTRLTokenizer
from .tokenization_xlnet import XLNetTokenizer, SPIECE_UNDERLINE
from .tokenization_xlm import XLMTokenizer
from .tokenization_roberta import RobertaTokenizer
from .tokenization_distilbert import DistilBertTokenizer
# Configurations
from .configuration_utils import PretrainedConfig
from .configuration_auto import AutoConfig
from .configuration_bert import BertConfig, BERT_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_openai import OpenAIGPTConfig, OPENAI_GPT_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_transfo_xl import TransfoXLConfig, TRANSFO_XL_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_gpt2 import GPT2Config, GPT2_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_ctrl import CTRLConfig, CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_xlnet import XLNetConfig, XLNET_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_ctrl import CTRLConfig, CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_xlm import XLMConfig, XLM_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_roberta import RobertaConfig, ROBERTA_PRETRAINED_CONFIG_ARCHIVE_MAP
from .configuration_distilbert import DistilBertConfig, DISTILBERT_PRETRAINED_CONFIG_ARCHIVE_MAP
# Modeling
if is_torch_available():
from .modeling_utils import (PreTrainedModel, prune_layer, Conv1D)
from .modeling_auto import (AutoModel, AutoModelForSequenceClassification, AutoModelForQuestionAnswering,
AutoModelWithLMHead)
from .modeling_bert import (BertPreTrainedModel, BertModel, BertForPreTraining,
BertForMaskedLM, BertForNextSentencePrediction,
BertForSequenceClassification, BertForMultipleChoice,
BertForTokenClassification, BertForQuestionAnswering,
load_tf_weights_in_bert, BERT_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_openai import (OpenAIGPTPreTrainedModel, OpenAIGPTModel,
OpenAIGPTLMHeadModel, OpenAIGPTDoubleHeadsModel,
load_tf_weights_in_openai_gpt, OPENAI_GPT_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_transfo_xl import (TransfoXLPreTrainedModel, TransfoXLModel, TransfoXLLMHeadModel,
load_tf_weights_in_transfo_xl, TRANSFO_XL_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_gpt2 import (GPT2PreTrainedModel, GPT2Model,
GPT2LMHeadModel, GPT2DoubleHeadsModel,
load_tf_weights_in_gpt2, GPT2_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_ctrl import (CTRLPreTrainedModel, CTRLModel,
CTRLLMHeadModel,
CTRL_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_xlnet import (XLNetPreTrainedModel, XLNetModel, XLNetLMHeadModel,
XLNetForSequenceClassification, XLNetForMultipleChoice,
XLNetForQuestionAnsweringSimple, XLNetForQuestionAnswering,
load_tf_weights_in_xlnet, XLNET_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_xlm import (XLMPreTrainedModel , XLMModel,
XLMWithLMHeadModel, XLMForSequenceClassification,
XLMForQuestionAnswering, XLMForQuestionAnsweringSimple,
XLM_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_roberta import (RobertaForMaskedLM, RobertaModel,
RobertaForSequenceClassification, RobertaForMultipleChoice,
ROBERTA_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_distilbert import (DistilBertForMaskedLM, DistilBertModel,
DistilBertForSequenceClassification, DistilBertForQuestionAnswering,
DISTILBERT_PRETRAINED_MODEL_ARCHIVE_MAP)
from .modeling_albert import AlbertForSequenceClassification
# Optimization
from .optimization import (AdamW, ConstantLRSchedule, WarmupConstantSchedule, WarmupCosineSchedule,
WarmupCosineWithHardRestartsSchedule, WarmupLinearSchedule)
if not is_tf_available() and not is_torch_available():
logger.warning("Neither PyTorch nor TensorFlow >= 2.0 have been found."
"Models won't be available and only tokenizers, configuration"
"and file/data utilities can be used.")
| 59.391753 | 109 | 0.740844 |
22f3df9c130fc202edc44714de04e929f4e7eab3 | 91,430 | py | Python | test/model/data/all_foreground_valid_data.py | TiankunZhou/dials | bd5c95b73c442cceb1c61b1690fd4562acf4e337 | [
"BSD-3-Clause"
] | 2 | 2021-03-17T11:25:46.000Z | 2021-11-18T04:20:54.000Z | test/model/data/all_foreground_valid_data.py | TiankunZhou/dials | bd5c95b73c442cceb1c61b1690fd4562acf4e337 | [
"BSD-3-Clause"
] | 2 | 2020-07-31T22:37:30.000Z | 2020-07-31T23:08:55.000Z | test/model/data/all_foreground_valid_data.py | TiankunZhou/dials | bd5c95b73c442cceb1c61b1690fd4562acf4e337 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
data = r"""cdials_array_family_flex_ext
shoebox
p1
(tRp2
(cscitbx_array_family_flex_ext
grid
p3
((I0
t(I8
tI01
tRp4
(I8
tbS'\x02\x01\x02\x08\x00\x03\\\x01\x03m\x01\x03\x04\x06\x03\x15\x06\x00\x02\x01\x02\x03\x02\x01\x02\x11\x02\x11\x02\x9c\x02\x06\x02\x80\x02\x06\x02\xe8\x02\x05\x02\x86\x02\x07\x02\xe0\x02\x03\x02\xa0\x02\x04\x02\x80\x02\x03\x02\x80\x02\x05\x02\xf4\x02\x06\x02\x88\x02\x06\x02\xe8\x02\x06\x02\xdc\x02\x06\x02\x85\x02\x08\x02\xc8\x02\x05\x02\x84\x02\x06\x02\xf0\x02\x04\x02\x90\x02\x06\x00\x02\x84\x02\x06\x02\x84\x02\x06\x02\xf0\x02\x06\x02\xf0\x02\x05\x02\x82\x02\x07\x02\xd8\x02\x05\x02\xd8\x02\x06\x02\x80\x02\x02\x02\xa0\x02\x04\x02\xa2\x02\x07\x02\xc0\x02\x04\x02\xe8\x02\x06\x02\xe0\x02\x03\x02\xa0\x02\x03\x02\x8c\x02\x06\x02\xac\x02\x06\x02\x9c\x02\x06\x02\xb8\x02\x06\x02\xc0\x02\x03\x02\xb4\x02\x06\x02\xc8\x02\x06\x02\xe0\x02\x03\x02\x90\x02\x04\x02\x88\x02\x06\x02\xc8\x02\x06\x02\xba\x02\x07\x82\xc0\x02\x02\x02\xb6\x02\x07\x02\x80\x02\x06\x02\x80\x02\x05\x02\xa0\x02\x04\x02\xf0\x02\x06\x02\xfc\x02\x06\x02\xc8\x02\x05\x02\xf4\x02\x06\x02\xb6\x02\x07\x02\x80\x02\x06\x02\x80\x02\x03\x02\xd8\x02\x05\x02\xf0\x02\x06\x02\x88\x02\x05\x02\xec\x02\x06\x00\x02\xc0\x02\x03\x02\xc0\x02\x04\x02\xe0\x02\x03\x02\xe0\x02\x04\x02\xd4\x02\x06\x02\xa2\x02\x07\x02\xa0\x02\x03\x02\xfc\x02\x07\x02\xc0\x02\x03\x02\x9c\x02\x07\x02\xe0\x02\x05\x02\xe0\x02\x05\x02\x8c\x02\x06\x02\xe0\x02\x03\x02\x80\x02\x07\x02\xe0\x02\x06\x02\xa4\x02\x06\x02\xf8\x02\x06\x02\xb8\x02\x05\x02\xee\x02\x07\x02\xe0\x02\x06\x02\xc4\x02\x06\x02\xc0\x02\x05\x02\xd0\x02\x06\x02\xc2\x02\x07\x02\xa0\x02\x03\x02\x90\x02\x05\x02\x9a\x02\x07\x02\xd0\x02\x05\x02\xd8\x02\x05\x02\x80\x02\x06\x02\xac\x02\x06\x02\x88\x02\x07\x02\xb0\x02\x04\x02\xa6\x02\x07\x02\xa0\x02\x05\x02\xa0\x02\x04\x02\x92\x02\x07\x02\xe2\x02\x07\x02\x94\x02\x06\x02\x90\x02\x04\x02\xc0\x02\x04\x02\x98\x02\x05\x02\xd4\x02\x06\x02\xb8\x02\x05\x02\xd0\x02\x05\x02\x90\x02\x06\x02\xd4\x02\x06\x02\xdc\x02\x06\x02\x90\x02\x04\x02\x90\x02\x06\x02\xa4\x02\x06\x02\xa0\x02\x07\x02\xe8\x02\x07\x02\xe0\x02\x06\x02\x96\x02\x07\x02\x98\x02\x06\x02\xd4\x02\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x03\x02\x01\x02\x11\x02\x11\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x02\x01\x02\x11\x02\x11\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x04\x98UU\x02\x06\x00\x02\xb5\x02\xc6\x03\xab\x05\x03\xbc\x05\x00\x02\x01\x02\x03\x02\x01\x02\x11\x02\x11\x02\xc0\x02\x02\x02\xa0\x02\x05\x82\x80\x02\x01\x02\xd0\x02\x05\x02\xa0\x02\x06\x02\x84\x02\x06\x02\xd0\x02\x06\x02\xa0\x02\x03\x02\x80\x02\x01\x02\xa0\x02\x03\x02\x80\x02\x01\x02\xf0\x02\x05\x02\xa8\x02\x06\x02\xd4\x02\x06\x02\xbc\x02\x06\x02\x8a\x02\x07\x02\xe4\x02\x06\x00\x82\x80\x02\x03\x02\xc0\x02\x02\x02\x90\x02\x04\x02\xaa\x02\x07\x02\xc0\x02\x05\x02\xa0\x02\x06\x02\xf0\x02\x04\x02\xe0\x02\x03\x82\x80\x02\x01\x02\xa0\x02\x03\x02\xe0\x02\x04\x02\xd8\x02\x05\x02\xc4\x02\x06\x83\xc3P\x02\x11\x02\x80\x02\x04\x02\x92\x02\x07\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\xc0\x02\x03\x82\x80\x02\x02\x02\xf4\x02\x06\x02\xa4\x02\x06\x02\xf0\x02\x04\x02\x80\x02\x06\x02\x80\x02\x04\x02\xe6\x02\x07\x02\x94\x02\x07\x02\x98\x02\x06\x02\xb0\x02\x04\x02\xa8\x02\x07\x02\x98\x02\x06\x02\xa0\x02\x05\x02\xa4\x02\x07\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\xc0\x02\x02\x00\x02\xd0\x02\x04\x02\xf0\x02\x05\x02\x80\x02\x02\x02\xf8\x02\x05\x02\x94\x02\x06\x02\x96\x02\x07\x02\x80\x02\x01\x00\x02\xc0\x02\x04\x02\xc0\x02\x02\x02\xf0\x02\x06\x02\x80\x02\x06\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x82\xe0\x02\x03\x82\x80\x02\x01\x02\x80\x02\x02\x02\xc0\x02\x02\x02\xdc\x02\x06\x02\xf8\x02\x06\x02\xb8\x02\x05\x02\xa8\x02\x05\x02\x80\x02\x02\x02\x80\x02\x01\x82\xc0\x02\x02\x82\x80\x02\x02\x02\xb0\x02\x04\x02\xda\x02\x07\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x82\x80\x02\x02\x82\x80\x02\x01\x02\xd0\x02\x05\x02\x80\x02\x03\x02\x88\x02\x06\x02\x80\x02\x02\x02\x80\x02\x01\x82\x80\x02\x01\x00\x02\x88\x02\x05\x02\xf0\x02\x06\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x00\x82\xc0\x02\x02\x82\xc0\x02\x03\x02\xe8\x02\x05\x02\xa8\x02\x07\x02\x96\x02\x07\x02\x8e\x02\x07\x02\xbc\x02\x07\x02\xa8\x02\x05\x02\xb0\x02\x04\x82\x80\x02\x03\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\xc0\x02\x03\x02\xd0\x02\x05\x02\x80\x02\x07\x02\xc0\x02\x03\x02\xc4\x02\x07\x02\xc8\x02\x05\x02\xdc\x02\x06\x02\xc8\x02\x06\x02\xc0\x02\x02\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\xa0\x02\x03\x02\xf0\x02\x05\x02\xe8\x02\x05\x02\xa8\x02\x05\x02\xe8\x02\x05\x02\xa8\x02\x05\x02\xe0\x02\x03\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x00\x02\x98\x02\x05\x82\x80\x02\x01\x02\x80\x02\x02\x02\xb0\x02\x05\x02\x90\x02\x04\x02\xc0\x02\x04\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x82\xc0\x02\x02\x83\xc3P\x02\x11\x02\x80\x02\x02\x82\x80\x02\x01\x02\xb8\x02\x05\x02\xc8\x02\x05\x02\xc8\x02\x05\x02\x84\x02\x06\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x82\x80\x02\x02\x02\xc0\x02\x02\x02\xe0\x02\x05\x02\x88\x02\x06\x02\xd0\x02\x06\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\xa0\x02\x03\x02\xc0\x02\x02\x02\x9e\x02\x07\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\xe0\x02\x03\x83\xc3P\x02\x11\x02\xa0\x02\x04\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x82\x80\x02\x02\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x83\xc3P\x02\x11\x02\x03\x02\x01\x02\x11\x02\x11\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x13\x02\x13\x02\x02\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x05\x02\x04\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x13\x02\x02\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x02\x01\x02\x11\x02\x11\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x04\xbc\xf2\xfc\x02\x05\x00\x03\x1f\x02\x03-\x02\x03\r\x06\x03\x1d\x06\x00\x02\x01\x02\x03\x02\x01\x02\x10\x02\x0e\x02\xc0\x02\x05\x02\xa0\x02\x07\x02\xb8\x02\x05\x02\xaa\x02\x07\x02\x9c\x02\x06\x02\xf8\x02\x06\x02\xd0\x02\x05\x02\x90\x02\x06\x02\x90\x02\x05\x02\xf0\x02\x05\x02\xc0\x02\x02\x02\xdc\x02\x06\x02\xd0\x02\x06\x02\xe8\x02\x06\x02\x80\x02\x05\x02\x90\x02\x06\x02\x9c\x02\x07\x02\x82\x02\x07\x02\x90\x02\x06\x02\xcc\x02\x06\x02\xd0\x02\x06\x02\x8a\x02\x07\x02\xe0\x02\x05\x02\x98\x02\x06\x02\xa0\x02\x06\x02\xd0\x02\x04\x82\xa0\x02\x03\x02\xc8\x02\x05\x02\xe0\x02\x05\x02\xc0\x02\x02\x02\xa8\x02\x05\x02\xb4\x02\x06\x02\xd8\x02\x07\x02\x86\x02\x07\x02\xb2\x02\x07\x02\x9c\x02\x06\x02\xf8\x02\x05\x02\xe4\x02\x06\x02\xd8\x02\x06\x02\x8a\x02\x07\x02\xf8\x02\x05\x02\x94\x02\x06\x02\x90\x02\x07\x02\xc8\x02\x05\x02\xf0\x02\x05\x02\xd0\x02\x04\x02\x8c\x02\x07\x02\x80\x02\x07\x02\x80\x02\x03\x02\xd8\x02\x05\x02\xe8\x02\x05\x02\x90\x02\x07\x02\x8c\x02\x07\x02\xe0\x02\x03\x02\x9c\x02\x06\x02\xdc\x02\x06\x02\x94\x02\x06\x02\x90\x02\x04\x02\x98\x02\x06\x02\xb8\x02\x05\x02\xf8\x02\x06\x02\xbc\x02\x06\x02\x80\x02\x04\x02\xc0\x02\x06\x02\xe4\x02\x06\x02\x90\x02\x06\x02\x80\x02\x05\x02\xec\x02\x06\x02\x8a\x02\x07\x02\x94\x02\x07\x02\x80\x02\x05\x02\xe0\x02\x04\x02\xb2\x02\x07\x02\x80\x02\x02\x82\x80\x02\x02\x02\xd0\x02\x04\x02\x80\x02\x04\x02\xd0\x02\x05\x02\xf0\x02\x05\x02\x80\x02\x04\x02\xb2\x02\x07\x02\xb0\x02\x06\x02\xf0\x02\x04\x02\x80\x02\x05\x02\x80\x02\x02\x02\x80\x02\x02\x02\xde\x02\x07\x02\xbc\x02\x06\x02\x8e\x02\x07\x02\xe0\x02\x06\x02\xc0\x02\x04\x02\xf0\x02\x04\x02\xe8\x02\x05\x02\xa0\x02\x03\x02\x8a\x02\x07\x02\xc0\x02\x05\x02\xec\x02\x06\x02\x9c\x02\x06\x02\xd0\x02\x05\x02\xb4\x02\x07\x02\x8e\x02\x07\x02\xca\x02\x07\x02\x86\x02\x07\x02\x80\x02\x02\x02\xa4\x02\x06\x02\x80\x02\x02\x02\xe8\x02\x05\x02\xa6\x02\x07\x02\x80\x02\x06\x02\xd8\x02\x06\x02\x9c\x02\x07\x02\x88\x02\x07\x02\xb8\x02\x05\x02\xf4\x02\x06\x02\xa4\x02\x06\x02\xcc\x02\x06\x02\xd0\x02\x04\x02\x88\x02\x07\x02\xbc\x02\x06\x02\xa0\x02\x06\x02\x84\x02\x06\x02\xcc\x02\x06\x02\xc0\x02\x06\x02\xc6\x02\x07\x02\xd4\x02\x06\x02\xec\x02\x06\x02\xa8\x02\x07\x02\x8a\x02\x08\x02\xf0\x02\x07\x02\x98\x02\x06\x02\x80\x02\x08\x02\xf8\x02\x07\x02\x8b\x02\x08\x02\x94\x02\x06\x02\xae\x02\x07\x02\xa8\x02\x05\x02\xbe\x02\x07\x02\x8a\x02\x08\x02\x91\x02\x08\x02\xfc\x02\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\xa0\x02\x07\x02\xbb\x02\x08\x02\xfe\x02\x07\x02\x81\x02\x08\x02\xa0\x02\x06\x02\x8c\x02\x07\x02\xf0\x02\x06\x02\xfc\x02\x06\x02\xce\x02\x07\x02\x84\x02\x07\x02\xb0\x02\x08\x02\x8a\x02\x08\x02\x8c\x02\x07\x02\x96\x02\x07\x02\x90\x02\x06\x02\xa6\x02\x07\x02\x80\x02\x06\x02\xd0\x02\x06\x82\x80\x02\x01\x02\xd8\x02\x06\x82\x80\x02\x03\x02\xc8\x02\x05\x02\xae\x02\x07\x02\xe0\x02\x06\x02\x82\x02\x07\x02\xfc\x02\x06\x02\xf8\x02\x06\x02\xb4\x02\x06\x02\x98\x02\x06\x02\xb0\x02\x06\x02\xd6\x02\x07\x02\x80\x02\x06\x02\xb8\x02\x05\x02\xde\x02\x07\x02\xae\x02\x07\x02\x90\x02\x06\x02\xb0\x02\x04\x02\xa0\x02\x05\x02\x9c\x02\x06\x02\x94\x02\x06\x02\x80\x02\x05\x02\xa6\x02\x07\x02\x03\x02\x01\x02\x10\x02\x0e\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x04\x02\x04\x02\x04\x02\x04\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x01\x02\x10\x02\x0e\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x04\xb5Eu\x02\x06\x00\x03\x90\x01\x03\xa0\x01\x03\xb6\x05\x03\xc6\x05\x00\x02\x01\x02\x03\x02\x01\x02\x10\x02\x10\x02\x94\x02\x07\x02\xb4\x02\x06\x83\xc3P\x02\x11\x02\xa0\x02\x06\x02\xac\x02\x06\x02\x84\x02\x07\x02\xa2\x02\x07\x02\x94\x02\x06\x02\x9c\x02\x07\x02\xe8\x02\x05\x02\xb8\x02\x05\x02\xd0\x02\x06\x02\x94\x02\x06\x02\xec\x02\x06\x02\xd0\x02\x04\x02\x98\x02\x07\x02\xac\x02\x06\x02\xac\x02\x07\x02\xec\x02\x06\x02\xb0\x02\x06\x02\xa6\x02\x07\x02\xa8\x02\x06\x02\xf0\x02\x04\x02\x80\x02\x06\x02\x80\x02\x03\x02\x94\x02\x06\x02\xdc\x02\x06\x02\xe4\x02\x06\x02\xc0\x02\x05\x02\xa4\x02\x06\x02\xc0\x02\x05\x02\x98\x02\x06\x02\xa0\x02\x04\x02\x9c\x02\x06\x02\x9e\x02\x07\x02\xd8\x02\x06\x02\x85\x02\x08\x02\xa4\x02\x06\x02\xf4\x02\x06\x02\x88\x02\x06\x02\xc0\x02\x03\x02\xe8\x02\x05\x02\xa2\x02\x07\x02\xe8\x02\x05\x02\x88\x02\x07\x02\xa0\x02\x07\x02\xc4\x02\x06\x02\xb8\x02\x06\x02\x94\x02\x06\x02\xc8\x02\x06\x02\xf8\x02\x05\x02\xe0\x02\x07\x02\x80\x02\x03\x02\xc0\x02\x03\x02\x90\x02\x05\x02\xb0\x02\x04\x82\x80\x02\x01\x02\x80\x02\x02\x02\x98\x02\x07\x02\xa0\x02\x07\x02\xec\x02\x06\x02\x80\x02\x04\x02\xd4\x02\x06\x02\xac\x02\x07\x02\xc0\x02\x02\x02\xf0\x02\x06\x02\xc0\x02\x05\x02\xe0\x02\x05\x02\xd8\x02\x05\x02\xe0\x02\x05\x02\xbc\x02\x06\x02\xb8\x02\x05\x02\xf0\x02\x06\x02\x84\x02\x06\x02\xc8\x02\x05\x02\x8e\x02\x07\x02\x8c\x02\x07\x02\x82\x02\x07\x02\xe8\x02\x05\x02\x88\x02\x06\x02\x94\x02\x06\x02\x98\x02\x06\x02\x80\x02\x06\x02\xe0\x02\x03\x02\x90\x02\x05\x02\xb0\x02\x05\x02\x8d\x02\x08\x02\xa4\x02\x06\x02\xc0\x02\x07\x02\x94\x02\x07\x02\xb0\x02\x04\x02\xa8\x02\x07\x02\xb0\x02\x04\x02\xac\x02\x06\x02\x98\x02\x05\x02\xdc\x02\x06\x02\x98\x02\x06\x02\xf0\x02\x06\x02\x98\x02\x06\x02\xcc\x02\x06\x02\xbc\x02\x06\x02\xc8\x02\x07\x02\xc0\x02\x07\x02\x9c\x02\x07\x02\xc0\x02\x02\x02\xc8\x02\x07\x02\x80\x02\x06\x02\xa0\x02\x06\x02\xf0\x02\x05\x02\x98\x02\x05\x82\x80\x02\x01\x02\xd0\x02\x06\x02\x86\x02\x07\x02\x90\x02\x05\x02\xae\x02\x07\x02\xa4\x02\x07\x02\xbc\x02\x07\x02\x94\x02\x07\x02\x82\x02\x07\x02\x80\x02\x01\x02\xfc\x02\x06\x02\xd0\x02\x04\x02\xe0\x02\x05\x02\x84\x02\x08\x02\xd0\x02\x04\x02\x86\x02\x07\x02\x80\x02\x03\x02\xe0\x02\x07\x02\xc0\x02\x07\x02\x80\x02\x02\x02\xf4\x02\x06\x02\xc0\x02\x02\x02\xc0\x02\x05\x02\x82\x02\x08\x02\xd0\x02\x04\x83\xc3P\x02\x11\x02\xd6\x02\x07\x02\x90\x02\x08\x02\xc8\x02\x06\x02\xb4\x02\x07\x02\xf0\x02\x05\x02\xd4\x02\x07\x02\xf8\x02\x05\x02\x80\x02\x03\x02\xe8\x02\x06\x02\xc0\x02\x02\x02\xa0\x02\x05\x02\xf0\x02\x06\x02\xe8\x02\x05\x00\x02\xf0\x02\x04\x02\xd4\x02\x06\x02\xaa\x02\x07\x02\xf8\x02\x05\x02\xc8\x02\x05\x02\x8d\x02\x08\x02\xa4\x02\x06\x02\xf8\x02\x05\x02\xd0\x02\x06\x02\x86\x02\x07\x02\xe0\x02\x04\x02\xb4\x02\x07\x02\x80\x02\x07\x02\x84\x02\x07\x02\xe8\x02\x05\x02\xe0\x02\x04\x02\xdc\x02\x06\x02\xb6\x02\t\x02\xe8\x02\x07\x02\x80\x02\x02\x02\xb4\x02\x06\x02\x9a\x02\x07\x83\xc3P\x02\x11\x02\xb0\x02\x04\x02\x80\x02\x06\x02\xe0\x02\x03\x02\x80\x02\x01\x02\xd0\x02\x05\x02\xb0\x02\x05\x02\xa8\x02\x06\x02\xba\x02\x07\x02\x84\x02\x06\x02\x9c\x02\x06\x02\xb5\x02\x08\x02\xd0\x02\x06\x02\x9c\x02\x06\x02\xa0\x02\x06\x02\xf0\x02\x05\x02\xe0\x02\x05\x02\x80\x02\x03\x02\xb0\x02\x04\x02\xf2\x02\x07\x02\x80\x02\x01\x02\x9c\x02\x06\x02\xe8\x02\x05\x02\x80\x02\x01\x02\x82\x02\x07\x02\xa8\x02\x06\x02\xfe\x02\x07\x02\xd0\x02\x05\x02\xc0\x02\x02\x02\xd0\x02\x04\x02\x90\x02\x05\x02\xd0\x02\x05\x02\xd0\x02\x06\x02\xd8\x02\x06\x02\x80\x02\x03\x02\xd0\x02\x05\x02\xb8\x02\x05\x02\xf0\x02\x05\x02\x8c\x02\x07\x02\xe8\x02\x05\x02\xe6\x02\x07\x02\xf0\x02\x07\x02\xb0\x02\x05\x02\x96\x02\x07\x02\xb0\x02\x04\x02\xc4\x02\x06\x02\xa4\x02\x06\x00\x02\x86\x02\x07\x02\xe0\x02\x06\x02\x94\x02\x06\x02\xe8\x02\x05\x02\x80\x02\x04\x02\xe0\x02\x05\x00\x02\xb8\x02\x05\x02\xc0\x02\x06\x00\x02\x9c\x02\x06\x02\x80\x02\x06\x02\xd6\x02\x07\x02\xa4\x02\x06\x02\xec\x02\x07\x02\x84\x02\x07\x02\x92\x02\x07\x02\xb0\x02\x04\x02\xc8\x02\x06\x02\xa0\x02\x04\x02\xe4\x02\x06\x02\x98\x02\x05\x02\xd4\x02\x06\x02\x80\x02\x06\x02\xe0\x02\x03\x02\x80\x02\x05\x02\xdc\x02\x07\x02\xd8\x02\x05\x02\x84\x02\x07\x02\xba\x02\x07\x02\xd0\x02\x07\x02\xc8\x02\x05\x02\xc0\x02\x06\x02\x86\x02\x07\x02\x90\x02\x04\x02\xc0\x02\x03\x02\x03\x02\x01\x02\x10\x02\x10\x02\x13\x02\x13\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x04\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x02\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x01\x02\x10\x02\x10\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x04\xaf\xfb^\x02\x06\x00\x03\xbb\x01\x03\xcb\x01\x03I\x06\x03Z\x06\x00\x02\x01\x02\x03\x02\x01\x02\x11\x02\x10\x02\xe0\x02\x03\x02\xe8\x02\x05\x02\xb4\x02\x06\x02\xf8\x02\x05\x02\xd8\x02\x05\x02\x80\x02\x05\x02\xf0\x02\x05\x02\x84\x02\x06\x02\xe8\x02\x06\x02\xb0\x02\x05\x02\xa4\x02\x06\x82\x80\x02\x02\x02\x8c\x02\x07\x82\xa0\x02\x03\x02\xa2\x02\x07\x02\xf0\x02\x04\x02\xe8\x02\x05\x02\x80\x02\x04\x02\x80\x02\x02\x02\x84\x02\x06\x02\xd8\x02\x05\x02\x80\x02\x03\x02\x80\x02\x05\x02\xe0\x02\x05\x02\x8c\x02\x07\x02\xa0\x02\x04\x02\xb2\x02\x07\x02\xa8\x02\x05\x02\xe6\x02\x07\x02\xe8\x02\x06\x02\x80\x02\x03\x02\xe8\x02\x05\x02\xf0\x02\x04\x02\x88\x02\x05\x02\xa8\x02\x06\x02\xb4\x02\x06\x02\xb2\x02\x07\x02\x88\x02\x05\x02\xa8\x02\x06\x02\x88\x02\x05\x02\xac\x02\x06\x02\xf0\x02\x06\x02\x94\x02\x06\x02\xb0\x02\x05\x02\x9c\x02\x07\x02\xc6\x02\x07\x02\xb6\x02\x07\x02\x9e\x02\x07\x02\x88\x02\x06\x02\xc8\x02\x05\x02\x88\x02\x06\x02\xe6\x02\x07\x02\xac\x02\x07\x02\xc4\x02\x07\x02\xb8\x02\x06\x02\x8c\x02\x06\x02\xe0\x02\x06\x02\x90\x02\x04\x02\xe0\x02\x06\x02\xf0\x02\x05\x02\x8c\x02\x06\x02\xfc\x02\x06\x02\x80\x02\x01\x02\xd4\x02\x06\x02\x94\x02\x06\x02\xaa\x02\x07\x02\x8c\x02\x06\x02\x88\x02\x05\x02\x8a\x02\x07\x02\xd4\x02\x07\x02\xe0\x02\x04\x02\x88\x02\x06\x02\x8e\x02\x07\x02\xae\x02\x07\x02\x80\x02\x04\x02\x98\x02\x05\x02\xf4\x02\x06\x02\x84\x02\x07\x02\xe0\x02\x03\x02\xc4\x02\x06\x02\xa0\x02\x04\x02\x95\x02\x08\x02\xf8\x02\x05\x02\xa0\x02\x05\x02\x80\x02\x05\x02\x84\x02\x06\x02\xa8\x02\x05\x02\xe0\x02\x03\x02\xc0\x02\x04\x02\xe0\x02\x03\x02\x96\x02\x07\x02\x8f\x02\x08\x02\x90\x02\x05\x02\xe0\x02\x04\x02\xb0\x02\x06\x02\xf8\x02\x05\x02\xa0\x02\x03\x02\xe8\x02\x06\x02\x84\x02\x08\x02\xd0\x02\x06\x02\xc2\x02\x07\x02\xa4\x02\x07\x02\x96\x02\x07\x02\xf4\x02\x06\x02\xb4\x02\x07\x02\xbc\x02\x06\x02\xa0\x02\x03\x02\x98\x02\x07\x02\x98\x02\x05\x02\xc0\x02\x02\x02\xac\x02\x06\x02\xc0\x02\x05\x02\xc0\x02\x05\x02\xf0\x02\x05\x02\xf4\x02\x06\x02\xc8\x02\x05\x02\xd0\x02\x05\x02\x82\x02\x07\x02\xd0\x02\x04\x02\xec\x02\x06\x02\xc0\x02\x05\x02\x90\x02\x07\x02\x90\x02\x05\x02\xa2\x02\x07\x02\xe8\x02\x05\x02\xc0\x02\x03\x02\xd4\x02\x06\x02\x90\x02\x05\x02\x94\x02\x06\x82\xc0\x02\x02\x02\x80\x02\x02\x02\x80\x02\x02\x02\x8c\x02\x07\x02\x98\x02\x06\x02\xa0\x02\x06\x02\xe0\x02\x04\x02\xb4\x02\x06\x02\xf4\x02\x06\x02\x8c\x02\x07\x02\xd4\x02\x06\x02\xec\x02\x06\x02\xe0\x02\x05\x82\x80\x02\x02\x02\xc0\x02\x02\x02\xb8\x02\x05\x02\x80\x02\x04\x02\xd8\x02\x05\x02\xb4\x02\x06\x02\xc0\x02\x05\x02\x90\x02\x05\x02\xa8\x02\x07\x02\x84\x02\x06\x02\xc8\x02\x05\x02\x88\x02\x06\x02\x88\x02\x06\x02\x96\x02\x07\x02\xb8\x02\x06\x00\x02\x80\x02\x03\x02\xe0\x02\x03\x02\x88\x02\x07\x02\xb0\x02\x04\x02\xc0\x02\x04\x02\x80\x02\x07\x02\xbc\x02\x06\x02\xc4\x02\x07\x02\xa0\x02\x03\x02\xe0\x02\x04\x02\x90\x02\x06\x02\x9c\x02\x07\x02\xf8\x02\x05\x02\x98\x02\x07\x02\xc0\x02\x04\x02\x80\x02\x03\x02\xc0\x02\x05\x02\xc8\x02\x05\x02\x94\x02\x07\x02\xf8\x02\x05\x02\xf0\x02\x05\x02\xd4\x02\x06\x02\xc0\x02\x04\x02\xa0\x02\x04\x02\xac\x02\x07\x02\xc0\x02\x04\x02\x80\x02\x02\x02\xa0\x02\x03\x02\xd0\x02\x05\x02\x9c\x02\x07\x02\xd0\x02\x05\x02\xb2\x02\x07\x02\xc0\x02\x05\x02\xf0\x02\x04\x02\xc0\x02\x04\x02\xea\x02\x07\x02\xcc\x02\x06\x02\xac\x02\x06\x02\x90\x02\x04\x02\x88\x02\x06\x02\xa8\x02\x06\x02\xc8\x02\x05\x02\xf0\x02\x05\x02\x80\x02\x01\x02\xf8\x02\x05\x02\xe8\x02\x05\x02\x84\x02\x07\x02\x90\x02\x06\x02\x9c\x02\x07\x02\x94\x02\x06\x02\xf8\x02\x06\x02\xa0\x02\x04\x02\xa8\x02\x05\x02\xc8\x02\x05\x02\x88\x02\x06\x02\xf4\x02\x06\x02\xea\x02\x07\x02\x82\x02\x07\x02\x80\x02\x04\x02\xe4\x02\x06\x02\x94\x02\x06\x02\x80\x02\x02\x02\x80\x02\x01\x02\x84\x02\x06\x02\xc0\x02\x06\x02\xa8\x02\x05\x02\xf8\x02\x05\x02\xe0\x02\x04\x02\x80\x02\x03\x02\x80\x02\x06\x02\xf0\x02\x06\x02\x98\x02\x05\x02\xf8\x02\x06\x02\xf0\x02\x06\x02\xa0\x02\x03\x82\x80\x02\x01\x02\xd0\x02\x05\x02\xb8\x02\x06\x02\xa2\x02\x07\x02\x80\x02\x03\x02\xe8\x02\x05\x02\xe8\x02\x05\x02\x98\x02\x05\x02\xf0\x02\x05\x02\xd0\x02\x05\x02\x80\x02\x07\x02\x88\x02\x05\x02\x82\x02\x07\x02\xa2\x02\x07\x02\xa0\x02\x07\x02\xa8\x02\x07\x02\xd8\x02\x05\x02\xe2\x02\x07\x02\xd4\x02\x06\x02\xc8\x02\x05\x02\xcc\x02\x06\x02\xc0\x02\x04\x02\x98\x02\x07\x02\x84\x02\x06\x02\x8c\x02\x07\x02\x80\x02\x03\x02\x80\x02\x08\x02\xa8\x02\x06\x02\xd8\x02\x05\x02\x80\x02\x04\x02\xf0\x02\x06\x02\x8c\x02\x06\x02\x9a\x02\x07\x02\x8c\x02\x06\x02\xc4\x02\x06\x02\xb0\x02\x06\x02\x84\x02\x06\x02\xc0\x02\x05\x02\xc8\x02\x05\x02\x03\x02\x01\x02\x11\x02\x10\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x01\x02\x11\x02\x10\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x04\x9a\x1a|\x02\x06\x00\x03e\x02\x03t\x02\x03m\x06\x03}\x06\x00\x02\x01\x02\x03\x02\x01\x02\x10\x02\x0f\x02\xdc\x02\x06\x02\xc0\x02\x02\x02\xd8\x02\x05\x02\xac\x02\x06\x02\xc0\x02\x02\x82\x80\x02\x01\x02\xa0\x02\x04\x02\xdc\x02\x06\x02\xf8\x02\x06\x02\xe0\x02\x03\x02\xcc\x02\x06\x02\xe8\x02\x06\x02\xe0\x02\x04\x02\xa6\x02\x07\x02\x90\x02\x06\x02\xb0\x02\x05\x02\x84\x02\x07\x02\x86\x02\x08\x02\xd8\x02\x05\x02\xa0\x02\x06\x02\xe0\x02\x05\x02\x93\x02\x08\x02\xb8\x02\x05\x02\xd4\x02\x06\x02\xc0\x02\x04\x02\x94\x02\x07\x02\xa6\x02\x07\x02\xe4\x02\x06\x02\xd4\x02\x06\x02\xe8\x02\x05\x02\xe8\x02\x05\x02\x80\x02\x03\x02\xd8\x02\x05\x02\xd4\x02\x06\x02\x84\x02\x06\x02\xd6\x02\x07\x02\xf8\x02\x05\x02\xfc\x02\x06\x02\xb4\x02\x06\x02\xb0\x02\x05\x02\xe8\x02\x05\x02\xf0\x02\x06\x02\xe8\x02\x05\x02\x84\x02\x06\x02\xdc\x02\x06\x02\x8c\x02\x06\x02\xa6\x02\x07\x02\xb6\x02\x07\x02\xec\x02\x06\x02\xc4\x02\x07\x02\x8a\x02\x07\x02\x86\x02\x07\x02\xe0\x02\x03\x02\xa0\x02\x03\x02\xa8\x02\x07\x02\xd0\x02\x07\x02\x84\x02\x06\x02\xbc\x02\x06\x02\xb8\x02\x05\x02\x80\x02\x02\x02\xa0\x02\x05\x02\x98\x02\x05\x02\xe0\x02\x05\x02\xf0\x02\x06\x02\xe8\x02\x05\x02\xcc\x02\x06\x02\xc0\x02\x05\x02\xd4\x02\x06\x02\xf8\x02\x06\x02\x8a\x02\x07\x02\xca\x02\x07\x02\x81\x02\x08\x82\x80\x02\x02\x02\x84\x02\x06\x02\xe0\x02\x05\x02\xe0\x02\x06\x02\xf8\x02\x05\x02\x92\x02\x07\x02\x84\x02\x08\x02\x80\x02\x04\x02\x84\x02\x06\x02\x82\x02\x07\x02\xb8\x02\x05\x02\xb8\x02\x05\x02\xa8\x02\x06\x02\xbe\x02\x07\x02\xd8\x02\x05\x02\x9c\x02\x06\x02\xd4\x02\x06\x02\xe0\x02\x05\x02\x90\x02\x04\x02\xb4\x02\x06\x02\x8e\x02\x07\x02\xb8\x02\x05\x02\x88\x02\x06\x02\xd4\x02\x06\x02\xe0\x02\x06\x02\x81\x02\x08\x02\x84\x02\x08\x02\x80\x02\x07\x02\xa0\x02\x06\x02\x86\x02\x07\x02\x86\x02\x07\x02\xb8\x02\x06\x02\x80\x02\x01\x02\x80\x02\x02\x02\xb8\x02\x06\x02\x80\x02\x03\x02\xa4\x02\x06\x02\x80\x02\x03\x02\xa4\x02\x06\x02\xb7\x02\x08\x02\xef\x02\t\x02\xbe\x02\x07\x02\x9a\x02\x07\x02\xb6\x02\x07\x82\x80\x02\x01\x02\xb4\x02\x06\x02\xe8\x02\x05\x02\x80\x02\x01\x02\xb8\x02\x07\x02\x8a\x02\x07\x02\x8c\x02\x07\x02\xb2\x02\x07\x02\x80\x02\x07\x02\x8c\x02\x06\x02\xb1\x02\t\x03\x9b@\x02\n\x02\xbc\x02\x06\x02\xe0\x02\x04\x02\x88\x02\x05\x02\x90\x02\x05\x02\xb2\x02\x07\x02\x9c\x02\x06\x02\xf0\x02\x04\x02\xf0\x02\x06\x02\xe4\x02\x06\x02\x84\x02\x06\x02\x80\x02\x08\x02\x80\x02\x07\x02\xe0\x02\x05\x02\xf0\x02\x07\x02\x84\x02\x07\x02\xf8\x02\x06\x02\xa4\x02\x06\x02\xb0\x02\x04\x02\x90\x02\x06\x02\x9c\x02\x06\x02\xc8\x02\x05\x02\xc0\x02\x06\x02\x94\x02\x06\x02\xe0\x02\x04\x02\xf0\x02\x07\x02\xd6\x02\x07\x02\xa0\x02\x03\x02\xac\x02\x07\x02\xd8\x02\x06\x02\x88\x02\x05\x02\xf0\x02\x05\x02\x9c\x02\x07\x02\xa0\x02\x03\x02\x88\x02\x06\x02\xe8\x02\x06\x02\xa0\x02\x03\x02\xd4\x02\x06\x02\xd8\x02\x06\x02\xda\x02\x07\x02\x9c\x02\x07\x02\xa8\x02\x06\x02\xa0\x02\x04\x02\xf8\x02\x06\x02\x80\x02\x06\x02\xb8\x02\x06\x02\x9c\x02\x06\x02\xd0\x02\x05\x02\xec\x02\x06\x02\x80\x02\x07\x02\xdc\x02\x06\x02\xa8\x02\x06\x02\xca\x02\x07\x02\xc0\x02\x05\x02\xa0\x02\x06\x02\x92\x02\x07\x00\x02\x94\x02\x07\x02\xc0\x02\x05\x02\xa0\x02\x03\x02\xc0\x02\x05\x02\xc8\x02\x05\x02\xae\x02\x07\x02\x9c\x02\x06\x02\x8c\x02\x07\x02\xe4\x02\x06\x02\x86\x02\x07\x02\xd8\x02\x06\x02\xa0\x02\x04\x02\xf4\x02\x06\x02\xf0\x02\x06\x02\xd8\x02\x05\x02\xa8\x02\x05\x02\xc0\x02\x05\x02\x80\x02\x01\x02\xe0\x02\x05\x02\x9e\x02\x07\x02\xc4\x02\x06\x02\xf0\x02\x05\x02\xf4\x02\x06\x02\xc4\x02\x06\x02\x84\x02\x06\x02\xf0\x02\x05\x02\xe0\x02\x05\x02\xa6\x02\x07\x02\xb8\x02\x06\x02\xa4\x02\x06\x02\x86\x02\x08\x02\x80\x02\x07\x02\xd8\x02\x06\x02\x80\x02\x01\x02\x9c\x02\x07\x02\xa0\x02\x04\x02\x80\x02\x03\x02\xc0\x02\x03\x02\xc4\x02\x07\x02\xaa\x02\x07\x82\x80\x02\x01\x02\xf0\x02\x05\x02\xdc\x02\x06\x02\x90\x02\x08\x02\xf8\x02\x05\x02\xd0\x02\x05\x02\xc0\x02\x05\x02\xa4\x02\x07\x02\x80\x02\x05\x02\xb8\x02\x06\x02\x84\x02\x06\x02\x84\x02\x06\x02\x94\x02\x07\x02\xa8\x02\x06\x02\xb0\x02\x04\x02\x80\x02\x03\x02\x03\x02\x01\x02\x10\x02\x0f\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x01\x02\x10\x02\x0f\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x04\xb3\xafJ\x02\x06\x00\x034\x01\x03E\x01\x03\xd4\x05\x03\xe5\x05\x00\x02\x01\x02\x03\x02\x01\x02\x11\x02\x11\x00\x02\xf0\x02\x06\x02\xc0\x02\x05\x82\x80\x02\x02\x02\x8c\x02\x06\x02\x88\x02\x06\x02\x80\x02\x02\x02\xa4\x02\x06\x02\x8c\x02\x06\x02\xf0\x02\x06\x02\xf2\x02\x07\x02\x80\x02\x07\x02\x90\x02\x06\x02\x80\x02\x02\x02\xe8\x02\x05\x02\xc0\x02\x05\x02\x84\x02\x06\x02\xd0\x02\x04\x02\xa8\x02\x05\x02\xaa\x02\x07\x02\x84\x02\x07\x02\xc4\x02\x06\x02\xa4\x02\x07\x02\xf0\x02\x05\x02\xb4\x02\x06\x02\xd0\x02\x05\x02\xb4\x02\x06\x02\x8c\x02\x06\x02\xa4\x02\x07\x02\xd0\x02\x05\x02\xa8\x02\x05\x02\xbc\x02\x06\x02\x88\x02\x05\x02\x8e\x02\x07\x02\xa8\x02\x05\x02\x84\x02\x06\x02\x84\x02\x06\x02\x82\x02\x07\x02\x82\x02\x07\x02\x80\x02\x03\x02\xc8\x02\x05\x02\x80\x02\x01\x02\x82\x02\x07\x02\x92\x02\x07\x02\xd0\x02\x05\x02\x8c\x02\x06\x02\x80\x02\x04\x02\x90\x02\x04\x02\xf4\x02\x06\x02\xc4\x02\x06\x02\xe0\x02\x05\x02\xb0\x02\x04\x02\xf0\x02\x05\x02\x82\x02\x07\x02\x98\x02\x06\x02\xcc\x02\x06\x02\xd0\x02\x05\x02\x80\x02\x03\x02\x98\x02\x06\x02\xb8\x02\x05\x02\xf0\x02\x04\x02\xa0\x02\x03\x02\xc0\x02\x05\x02\x8c\x02\x06\x02\xc0\x02\x02\x02\x8c\x02\x07\x02\xa8\x02\x07\x02\xc0\x02\x02\x02\xd8\x02\x06\x02\xf8\x02\x05\x02\xf8\x02\x06\x02\xe4\x02\x06\x02\x80\x02\x03\x02\xc0\x02\x02\x02\x88\x02\x05\x02\x80\x02\x04\x02\xe0\x02\x03\x02\x80\x02\x03\x02\xa8\x02\x05\x02\xc8\x02\x05\x00\x02\x88\x02\x06\x02\xd0\x02\x07\x02\xb0\x02\x05\x02\xd8\x02\x05\x02\xb4\x02\x06\x02\x98\x02\x05\x02\x80\x02\x03\x82\x80\x02\x01\x02\xb0\x02\x06\x02\xa8\x02\x05\x02\xe0\x02\x03\x02\xe0\x02\x05\x02\xe8\x02\x05\x02\xe0\x02\x06\x02\xc0\x02\x03\x02\x80\x02\x05\x02\x9c\x02\x06\x02\xf0\x02\x04\x02\x92\x02\x08\x02\xe0\x02\x07\x02\xf8\x02\x06\x02\xe4\x02\x06\x02\x8c\x02\x06\x02\x88\x02\x06\x02\xd0\x02\x06\x02\xc0\x02\x05\x02\x84\x02\x06\x02\x80\x02\x02\x02\xc0\x02\x06\x02\x80\x02\x03\x02\xc0\x02\x02\x02\x9e\x02\x07\x02\xb0\x02\x04\x02\xc0\x02\x05\x02\xc0\x02\x06\x02\xa0\x02\x06\x02\x80\x02\x05\x02\xc8\x02\x05\x02\x90\x02\x07\x82\x80\x02\x02\x82\xc0\x02\x02\x82\xc0\x02\x03\x02\xd0\x02\x05\x02\xf0\x02\x06\x02\xd0\x02\x07\x02\xac\x02\x07\x02\xb0\x02\x06\x02\x86\x02\x07\x02\xa4\x02\x07\x02\x8e\x02\x07\x02\xd4\x02\x06\x02\xba\x02\x07\x02\xa0\x02\x05\x02\x88\x02\x06\x02\xb0\x02\x05\x02\xb6\x02\x07\x02\x90\x02\x06\x02\xb8\x02\x05\x02\xf0\x02\x04\x02\xa0\x02\x04\x02\xe4\x02\x06\x02\xc0\x02\x03\x02\x90\x02\x04\x02\xdc\x02\x06\x02\xac\x02\x07\x02\xdc\x02\x06\x02\xc0\x02\x04\x02\xf0\x02\x06\x02\xe0\x02\x05\x02\xdc\x02\x06\x02\xc8\x02\x05\x02\xc0\x02\x04\x02\xb8\x02\x06\x02\xc0\x02\x06\x02\x80\x02\x02\x02\x80\x02\x02\x02\x9c\x02\x06\x02\xf0\x02\x04\x02\xc0\x02\x03\x02\xf0\x02\x05\x02\x80\x02\x04\x02\x80\x02\x02\x02\xb0\x02\x04\x02\xe8\x02\x05\x02\xf8\x02\x05\x02\x90\x02\x05\x02\xf8\x02\x05\x02\xaa\x02\x07\x02\x88\x02\x05\x02\xa8\x02\x06\x02\xd8\x02\x05\x02\xe0\x02\x03\x02\xa4\x02\x06\x02\x80\x02\x06\x02\xf4\x02\x06\x02\xdc\x02\x07\x02\xb6\x02\x07\x02\xe8\x02\x05\x00\x02\x88\x02\x05\x02\x85\x02\x08\x02\x88\x02\x06\x02\xf8\x02\x06\x02\x94\x02\x06\x02\xa0\x02\x05\x02\xa0\x02\x04\x02\xf0\x02\x05\x02\x9a\x02\x07\x02\xc6\x02\x07\x02\xf0\x02\x05\x02\xc0\x02\x06\x02\xcc\x02\x06\x02\xb0\x02\x06\x02\x92\x02\x07\x02\x90\x02\x05\x02\xc0\x02\x04\x02\x9e\x02\x07\x02\x86\x02\x07\x02\xb0\x02\x04\x02\x98\x02\x05\x02\xf8\x02\x05\x02\xd0\x02\x05\x02\xc0\x02\x05\x02\xc0\x02\x02\x02\x9e\x02\x07\x02\x90\x02\x04\x02\xc4\x02\x06\x02\x8c\x02\x06\x02\xc8\x02\x06\x02\xb9\x02\x08\x02\x98\x02\x05\x02\xf0\x02\x06\x02\x84\x02\x06\x02\x80\x02\x06\x02\x94\x02\x06\x02\xbc\x02\x06\x02\x8c\x02\x06\x02\xe0\x02\x05\x02\xd8\x02\x05\x02\xc0\x02\x06\x02\x84\x02\x06\x02\x90\x02\x06\x02\xb0\x02\x04\x02\x84\x02\x06\x02\x84\x02\x07\x02\x98\x02\x07\x02\xee\x02\x07\x02\xc4\x02\x07\x02\xf8\x02\x05\x02\x84\x02\x06\x02\x98\x02\x05\x02\xbc\x02\x06\x02\x98\x02\x06\x02\x80\x02\x04\x02\xf0\x02\x05\x02\xa4\x02\x06\x02\xd8\x02\x05\x02\xa8\x02\x05\x02\x80\x02\x06\x02\xac\x02\x06\x02\xd0\x02\x06\x02\x9d\x02\x08\x02\xdc\x02\x06\x02\x94\x02\x06\x02\x90\x02\x06\x02\xa0\x02\x04\x02\xd8\x02\x05\x02\xb2\x02\x07\x02\x80\x02\x06\x02\x84\x02\x07\x02\x80\x02\x03\x02\xc0\x02\x02\x02\xe0\x02\x07\x02\xdc\x02\x06\x02\xb0\x02\x06\x02\x88\x02\x06\x02\xd8\x02\x07\x02\x84\x02\x06\x02\xc0\x02\x05\x02\xc0\x02\x04\x02\xea\x02\x07\x02\xa0\x02\x03\x82\x80\x02\x01\x02\xe4\x02\x06\x02\xc0\x02\x07\x02\x80\x02\x05\x02\xd8\x02\x06\x02\xa8\x02\x05\x82\x80\x02\x03\x02\xf0\x02\x06\x02\xd0\x02\x06\x02\x8c\x02\x06\x02\xda\x02\x07\x02\xd4\x02\x06\x02\xd4\x02\x06\x02\x84\x02\x06\x02\x88\x02\x06\x02\xe8\x02\x05\x02\x88\x02\x06\x02\xd8\x02\x05\x02\x84\x02\x06\x02\xe0\x02\x05\x02\x84\x02\x08\x02\x84\x02\x06\x02\x80\x02\x02\x02\x90\x02\x05\x02\xa0\x02\x05\x02\xe0\x02\x05\x02\x03\x02\x01\x02\x11\x02\x11\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x01\x02\x11\x02\x11\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x04\x91\xf3\x83\x02\x06\x00\x03\xa4\x02\x03\xb1\x02\x03h\x06\x03w\x06\x00\x02\x01\x02\x03\x02\x01\x02\x0f\x02\r\x02\x88\x02\x06\x02\x90\x02\x05\x02\xa0\x02\x03\x02\xf0\x02\x06\x02\xaa\x02\x07\x02\xe0\x02\x06\x02\xb0\x02\x07\x02\xe0\x02\x04\x02\xac\x02\x06\x02\xb4\x02\x06\x02\xd0\x02\x06\x02\xa8\x02\x06\x02\x8a\x02\x07\x02\xba\x02\x07\x02\xb8\x02\x05\x02\x80\x02\x02\x02\xf8\x02\x05\x02\xf0\x02\x06\x02\xf0\x02\x05\x02\xf8\x02\x06\x02\xa0\x02\x07\x02\x8c\x02\x06\x02\x80\x02\x06\x02\x80\x02\x07\x82\xa0\x02\x03\x02\x80\x02\x01\x02\x80\x02\x05\x02\x98\x02\x07\x02\xf0\x02\x05\x02\xc0\x02\x07\x02\xd4\x02\x06\x02\xe0\x02\x07\x02\x90\x02\x04\x02\x98\x02\x06\x02\xd8\x02\x06\x02\xf4\x02\x06\x02\xe8\x02\x06\x02\xd0\x02\x05\x02\xb0\x02\x06\x02\xa8\x02\x05\x02\x88\x02\x06\x02\xac\x02\x06\x02\xf4\x02\x06\x02\x84\x02\x06\x02\x88\x02\x07\x02\x98\x02\x06\x02\x96\x02\x08\x02\xae\x02\x07\x02\xfc\x02\x06\x02\xa8\x02\x06\x02\xc8\x02\x06\x02\xd8\x02\x06\x02\x84\x02\x07\x02\x96\x02\x07\x02\x80\x02\x06\x02\xd8\x02\x05\x02\xf0\x02\x06\x02\x80\x02\x01\x02\xf8\x02\x05\x02\x80\x02\x03\x02\xe2\x02\x07\x02\xf8\x02\x07\x02\x9c\x02\x06\x02\x9c\x02\x06\x02\x80\x02\x01\x02\x94\x02\x07\x02\xc0\x02\x04\x02\xa0\x02\x07\x02\xdc\x02\x06\x02\xec\x02\x06\x02\x94\x02\x06\x02\x94\x02\x07\x02\x94\x02\x06\x02\xc8\x02\x05\x02\x80\x02\x01\x02\xc0\x02\x03\x02\xa6\x02\x07\x02\x8c\x02\x06\x02\xf0\x02\x05\x02\x88\x02\x07\x02\xa0\x02\x05\x02\xf0\x02\x06\x02\xd8\x02\x06\x02\x89\x02\x08\x03\xba\xc0\x02\n\x02\xd0\x02\x06\x02\x90\x02\x06\x02\xa0\x02\x05\x02\xac\x02\x07\x02\xa0\x02\x03\x00\x02\x84\x02\x07\x02\xe0\x02\x05\x02\xe0\x02\x03\x02\xe8\x02\x05\x02\xe0\x02\x05\x03\xab\x80\x02\t\x02\xe1\x02\n\x02\xec\x02\x06\x02\x80\x02\x02\x02\xe4\x02\x07\x02\x8c\x02\x06\x02\xd4\x02\x06\x00\x02\x90\x02\x07\x02\xd4\x02\x06\x02\x98\x02\x05\x02\x98\x02\x05\x02\x90\x02\x07\x02\xa2\x02\x07\x02\xcf\x02\x08\x02\xf0\x02\x05\x02\x80\x02\x01\x02\xec\x02\x06\x02\x80\x02\x07\x02\x84\x02\x06\x02\xe4\x02\x06\x02\xe0\x02\x03\x02\x88\x02\x07\x02\xa0\x02\x06\x02\xae\x02\x07\x02\xe8\x02\x05\x02\x84\x02\x07\x02\x94\x02\x06\x02\xb0\x02\x06\x02\x80\x02\x03\x02\xf0\x02\x05\x02\xa0\x02\x07\x02\xd4\x02\x07\x02\xe0\x02\x05\x02\xd0\x02\x04\x02\xe0\x02\x06\x02\xb4\x02\x06\x02\xc0\x02\x03\x02\x80\x02\x02\x02\xdc\x02\x06\x02\xa8\x02\x05\x02\xd8\x02\x05\x02\xe8\x02\x05\x02\xb6\x02\x07\x02\x98\x02\x05\x02\xc0\x02\x05\x02\xc8\x02\x06\x02\xc6\x02\x07\x02\xdc\x02\x06\x02\xd0\x02\x06\x02\xd0\x02\x06\x02\x84\x02\x06\x02\xf8\x02\x05\x02\x80\x02\x06\x02\xf0\x02\x05\x02\xe0\x02\x04\x02\x80\x02\x06\x02\xb0\x02\x05\x02\xdc\x02\x06\x02\x84\x02\x07\x02\xc0\x02\x02\x02\xa8\x02\x06\x02\x90\x02\x05\x02\xf0\x02\x05\x02\xac\x02\x06\x02\xbc\x02\x07\x02\xac\x02\x07\x02\xd0\x02\x05\x02\xd4\x02\x07\x02\xaa\x02\x07\x02\xac\x02\x06\x02\x84\x02\x06\x02\xf8\x02\x05\x02\xb0\x02\x04\x02\x88\x02\x06\x02\x84\x02\x06\x02\x88\x02\x07\x02\x9c\x02\x06\x02\xa0\x02\x03\x02\xb4\x02\x07\x02\xd0\x02\x06\x02\xa0\x02\x06\x02\x94\x02\x06\x02\x90\x02\x05\x02\xb0\x02\x06\x02\xf0\x02\x06\x02\xc0\x02\x04\x82\x80\x02\x02\x02\xe0\x02\x03\x02\xc0\x02\x02\x02\xb4\x02\x07\x02\xdc\x02\x06\x02\xc0\x02\x05\x02\xfc\x02\x06\x02\xd4\x02\x06\x02\xb0\x02\x06\x00\x82\x80\x02\x01\x02\x80\x02\x05\x02\x03\x02\x01\x02\x0f\x02\r\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x05\x02\x05\x02\x05\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x13\x02\x03\x02\x01\x02\x0f\x02\r\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06\x04\xaf\x03>\x02\x06'
tb."""
| 5,378.235294 | 91,236 | 0.747971 |
22f43bae0fb833bc9d376660819fab38bbd38d60 | 11,830 | py | Python | src/use-model.py | sofieditmer/self-assigned | 3033b64d2848fcf73c44dd79ad4e7f07f8387c65 | [
"MIT"
] | null | null | null | src/use-model.py | sofieditmer/self-assigned | 3033b64d2848fcf73c44dd79ad4e7f07f8387c65 | [
"MIT"
] | null | null | null | src/use-model.py | sofieditmer/self-assigned | 3033b64d2848fcf73c44dd79ad4e7f07f8387c65 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Info: This script loads the model trained in the cnn-asl.py script and enables the user to use it for classifying unseen ASL letters. It also visualizes the feature map of the last convolutional layer of the network to enable the user to get an insight into exactly which parts of the original image that the model is paying attention to when classifying the image.
Parameters:
(optional) model_name: str <name-of-the-model-to-load>, default = "saved_model.json"
(optional) train_data: str <name-of-training-data>, default = "asl_alphabet_train_subset"
(optional) unseen_image: str <name-of-unseen-image>, default = "unseen_img_test1.png"
Usage:
$ python use-model.py
Output:
- unseen_image_superimposed_heatmap.png: superimposed heatmap on unseen image.
- unseen_image_prediction.txt: model prediction of unseen image.
"""
### DEPENDENCIES ###
# Core libraries
import os
import sys
sys.path.append(os.path.join(".."))
# Matplotlib, numpy, OpenCV
import matplotlib.pyplot as plt
import numpy as np
import cv2
# TensorFlow
import tensorflow as tf
from tensorflow.keras.preprocessing.image import (load_img, img_to_array)
from tensorflow.keras.applications.resnet import preprocess_input
from tensorflow.keras.models import model_from_json
from tensorflow.keras import backend as K
# argparse
import argparse
### MAIN FUNCTION ###
# Creating classifier class
# Define behaviour when called from command line
if __name__=="__main__":
main() | 42.707581 | 421 | 0.623331 |
22f45d29bee95fa69837bee8b207676703b1cb59 | 844 | py | Python | examples/hello_world/src/Algorithm.py | algorithmiaio/algorithmia-adk-python | 1e5c6b9de08fe34260f3b4c03eb4596cccb4d070 | [
"MIT"
] | 4 | 2021-03-15T16:51:27.000Z | 2021-07-25T16:47:00.000Z | examples/hello_world/src/Algorithm.py | algorithmiaio/algorithmia-adk-python | 1e5c6b9de08fe34260f3b4c03eb4596cccb4d070 | [
"MIT"
] | 2 | 2021-02-25T21:13:30.000Z | 2021-05-03T14:49:41.000Z | examples/hello_world/src/Algorithm.py | algorithmiaio/algorithmia-adk-python | 1e5c6b9de08fe34260f3b4c03eb4596cccb4d070 | [
"MIT"
] | 1 | 2021-03-02T00:06:55.000Z | 2021-03-02T00:06:55.000Z | from Algorithmia import ADK
# API calls will begin at the apply() method, with the request body passed as 'input'
# For more details, see algorithmia.com/developers/algorithm-development/languages
# This turns your library code into an algorithm that can run on the platform.
# If you intend to use loading operations, remember to pass a `load` function as a second variable.
algorithm = ADK(apply)
# The 'init()' function actually starts the algorithm, you can follow along in the source code
# to see how everything works.
algorithm.init("Algorithmia")
| 44.421053 | 120 | 0.761848 |
22f53ccd69bc56b9aef660e968f36d2013f14d05 | 7,899 | py | Python | src/gluonts/nursery/autogluon_tabular/estimator.py | Xiaoxiong-Liu/gluon-ts | 097c492769258dd70b7f223f826b17b0051ceee9 | [
"Apache-2.0"
] | 2,648 | 2019-06-03T17:18:27.000Z | 2022-03-31T08:29:22.000Z | src/gluonts/nursery/autogluon_tabular/estimator.py | Xiaoxiong-Liu/gluon-ts | 097c492769258dd70b7f223f826b17b0051ceee9 | [
"Apache-2.0"
] | 1,220 | 2019-06-04T09:00:14.000Z | 2022-03-31T10:45:43.000Z | src/gluonts/nursery/autogluon_tabular/estimator.py | Xiaoxiong-Liu/gluon-ts | 097c492769258dd70b7f223f826b17b0051ceee9 | [
"Apache-2.0"
] | 595 | 2019-06-04T01:04:31.000Z | 2022-03-30T10:40:26.000Z | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license" file accompanying this file. This file is distributed
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.
import logging
from typing import Callable, Optional, List, Tuple
import pandas as pd
from autogluon.tabular import TabularPredictor as AutogluonTabularPredictor
from gluonts.core.component import validated
from gluonts.dataset.common import Dataset
from gluonts.dataset.util import to_pandas
from gluonts.model.estimator import Estimator
from gluonts.time_feature import (
TimeFeature,
get_lags_for_frequency,
time_features_from_frequency_str,
)
from .predictor import (
TabularPredictor,
mean_abs_scaling,
get_features_dataframe,
)
logger = logging.getLogger(__name__)
| 36.233945 | 122 | 0.613622 |
22f548488d990977359fc60d27c5b1e982176596 | 1,032 | py | Python | src/dcar/errors.py | andreas19/dcar | 31118ac5924b7cb01f8b7da5a84480824c046df2 | [
"BSD-3-Clause"
] | 1 | 2020-11-25T15:04:39.000Z | 2020-11-25T15:04:39.000Z | src/dcar/errors.py | andreas19/dcar | 31118ac5924b7cb01f8b7da5a84480824c046df2 | [
"BSD-3-Clause"
] | null | null | null | src/dcar/errors.py | andreas19/dcar | 31118ac5924b7cb01f8b7da5a84480824c046df2 | [
"BSD-3-Clause"
] | null | null | null | """Errors module."""
__all__ = [
'Error',
'AddressError',
'AuthenticationError',
'TransportError',
'ValidationError',
'RegisterError',
'MessageError',
'DBusError',
'SignatureError',
'TooLongError',
]
| 18.763636 | 67 | 0.671512 |
22f66223b5c0420ba407f0ba73a5510c6ae72923 | 31,006 | py | Python | Packs/CortexXDR/Integrations/XDR_iocs/XDR_iocs_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 1 | 2022-03-05T02:23:32.000Z | 2022-03-05T02:23:32.000Z | Packs/CortexXDR/Integrations/XDR_iocs/XDR_iocs_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 42 | 2022-03-11T10:52:26.000Z | 2022-03-31T01:50:42.000Z | Packs/CortexXDR/Integrations/XDR_iocs/XDR_iocs_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 2 | 2021-12-13T13:07:21.000Z | 2022-03-05T02:23:34.000Z | from XDR_iocs import *
import pytest
from freezegun import freeze_time
Client.severity = 'INFO'
client = Client({'url': 'test'})
def test_create_file_sync_all_types(self, mocker):
"""
Given:
- Sync command
When:
- iocs as all types
Then:
- Verify sync file data.
"""
all_iocs, expected_data = self.get_all_iocs(self.data_test_create_file_sync, 'txt')
mocker.patch.object(demisto, 'searchIndicators', return_value=all_iocs)
create_file_sync(TestCreateFile.path)
data = self.get_file(TestCreateFile.path)
assert data == expected_data, f'create_file_sync with all iocs\n\tcreates: {data}\n\tinstead: {expected_data}'
data_test_create_file_with_empty_indicators = [
{},
{'value': '11.11.11.11'},
{'indicator_type': 'IP'}
]
def test_create_file_iocs_to_keep_without_iocs(self, mocker):
"""
Given:
- iocs to keep command
When:
- there is no iocs
Then:
- Verify iocs to keep file data.
"""
mocker.patch.object(demisto, 'searchIndicators', return_value={})
create_file_iocs_to_keep(TestCreateFile.path)
data = self.get_file(TestCreateFile.path)
expected_data = ''
assert data == expected_data, f'create_file_iocs_to_keep with no iocs\n\tcreates: {data}\n\tinstead: {expected_data}'
def test_create_file_iocs_to_keep_all_types(self, mocker):
"""
Given:
- iocs to keep command
When:
- iocs as all types
Then:
- Verify iocs to keep file data.
"""
all_iocs, expected_data = self.get_all_iocs(self.data_test_create_file_iocs_to_keep, 'txt')
mocker.patch.object(demisto, 'searchIndicators', return_value=all_iocs)
create_file_iocs_to_keep(TestCreateFile.path)
data = self.get_file(TestCreateFile.path)
assert data == expected_data, f'create_file_iocs_to_keep with all iocs\n\tcreates: {data}\n\tinstead: {expected_data}'
class TestDemistoIOCToXDR:
data_test_demisto_expiration_to_xdr = [
(None, -1),
('', -1),
('0001-01-01T00:00:00Z', -1),
('2020-06-03T00:00:00Z', 1591142400000)
]
data_test_demisto_reliability_to_xdr = [
(None, 'F'),
('A - Completely reliable', 'A'),
('B - Usually reliable', 'B'),
('C - Fairly reliable', 'C'),
('D - Not usually reliable', 'D'),
('E - Unreliable', 'E'),
('F - Reliability cannot be judged', 'F')
]
data_test_demisto_types_to_xdr = [
('File', 'HASH'),
('IP', 'IP'),
('Domain', 'DOMAIN_NAME')
]
data_test_demisto_vendors_to_xdr = [
(
{'moduleID': {'sourceBrand': 'test', 'reliability': 'A - Completely reliable', 'score': 2}},
{'vendor_name': 'test', 'reputation': 'SUSPICIOUS', 'reliability': 'A'}
),
(
{'moduleID': {'reliability': 'A - Completely reliable', 'score': 2}},
{'vendor_name': 'moduleID', 'reputation': 'SUSPICIOUS', 'reliability': 'A'}
),
(
{'moduleID': {'sourceBrand': 'test', 'score': 2}},
{'vendor_name': 'test', 'reputation': 'SUSPICIOUS', 'reliability': 'F'}
),
(
{'moduleID': {'reliability': 'A - Completely reliable', 'score': 0}},
{'vendor_name': 'moduleID', 'reputation': 'UNKNOWN', 'reliability': 'A'}
)
]
data_test_demisto_ioc_to_xdr = [
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'score': 2},
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'SUSPICIOUS', 'severity': 'INFO',
'type': 'IP'}
),
(
{'value': '11.11.11.11', 'indicator_type': 100, 'score': 2},
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'SUSPICIOUS', 'severity': 'INFO', 'type': '100'}
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP'},
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP'}
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'expiration': '2020-06-03T00:00:00Z'},
{'expiration_date': 1591142400000, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP'} # noqa: E501
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'comments': [{'type': 'IndicatorCommentTimeLine', 'content': 'test'}]}, # noqa: E501
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP'}
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'comments': [{'type': 'IndicatorCommentRegular', 'content': 'test'}]}, # noqa: E501
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP', 'comment': 'test'} # noqa: E501
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'comments': [{'type': 'IndicatorCommentRegular', 'content': 'test'}, {'type': 'IndicatorCommentRegular', 'content': 'this is the comment'}]}, # noqa: E501
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP', 'comment': 'this is the comment'} # noqa: E501
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'aggregatedReliability': 'A - Completely reliable'},
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP', 'reliability': 'A'} # noqa: E501
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'CustomFields': {'threattypes': {'threatcategory': 'Malware'}}}, # noqa: E501
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP', 'class': 'Malware'} # noqa: E501
),
(
{'value': '11.11.11.11', 'indicator_type': 'IP', 'moduleToFeedMap': {'module': {'sourceBrand': 'test', 'score': 2}}}, # noqa: E501
{'expiration_date': -1, 'indicator': '11.11.11.11', 'reputation': 'UNKNOWN', 'severity': 'INFO', 'type': 'IP', 'vendors': [{'vendor_name': 'test', 'reputation': 'SUSPICIOUS', 'reliability': 'F'}]} # noqa: E501
)
]
class TestXDRIOCToDemisto:
data_test_xdr_expiration_to_demisto = [
(-1, 'Never'),
(1591142400000, '2020-06-03T00:00:00Z'),
(1592142400000, '2020-06-14T13:46:40Z')
]
data_test_xdr_ioc_to_demisto = [
(
{
'RULE_ID': 863, 'RULE_INSERT_TIME': 1591165763753, 'RULE_MODIFY_TIME': 1591166095668,
'RULE_SEVERITY': 'SEV_010_INFO', 'NUMBER_OF_HITS': 0, 'RULE_SOURCE': 'XSOAR TIM', 'RULE_COMMENT': '',
'RULE_STATUS': 'DISABLED', 'BS_STATUS': 'DONE', 'BS_TS': 1591165801230, 'BS_RETRIES': 1,
'RULE_EXPIRATION_TIME': -1, 'IOC_TYPE': 'HASH',
'RULE_INDICATOR': 'fa66f1e0e318b6d7b595b6cee580dc0d8e4ac38fbc8dbfcac6ad66dbe282832e', 'REPUTATION': 'GOOD', # noqa: E501
'RELIABILITY': None, 'VENDORS': None, 'KLASS': None, 'IS_DEFAULT_TTL': False, 'RULE_TTL': -1,
'MARKED_DELETED': 0
},
{
'value': 'fa66f1e0e318b6d7b595b6cee580dc0d8e4ac38fbc8dbfcac6ad66dbe282832e',
'type': 'File',
'score': 1,
'fields': {
'expirationdate': 'Never',
'tags': 'Cortex XDR',
'xdrstatus': 'disabled'
}
}
),
(
{
'RULE_ID': 861, 'RULE_INSERT_TIME': 1591165763753, 'RULE_MODIFY_TIME': 1591166095668,
'RULE_SEVERITY': 'SEV_010_INFO', 'NUMBER_OF_HITS': 0, 'RULE_SOURCE': 'XSOAR TIM', 'RULE_COMMENT': '',
'RULE_STATUS': 'DISABLED', 'BS_STATUS': 'DONE', 'BS_TS': 1591165801784, 'BS_RETRIES': 1,
'RULE_EXPIRATION_TIME': -1, 'IOC_TYPE': 'DOMAIN_NAME', 'RULE_INDICATOR': 'test.com', 'REPUTATION': 'GOOD', # noqa: E501
'RELIABILITY': None, 'VENDORS': None, 'KLASS': None, 'IS_DEFAULT_TTL': False, 'RULE_TTL': -1,
'MARKED_DELETED': 0
},
{
'value': 'test.com',
'type': 'Domain',
'score': 1,
'fields': {
'expirationdate': 'Never',
'tags': 'Cortex XDR',
'xdrstatus': 'disabled'
}
}
),
(
{
'RULE_ID': 862, 'RULE_INSERT_TIME': 1591165763753, 'RULE_MODIFY_TIME': 1591166095668,
'RULE_SEVERITY': 'SEV_010_INFO', 'NUMBER_OF_HITS': 0, 'RULE_SOURCE': 'XSOAR TIM', 'RULE_COMMENT': '',
'RULE_STATUS': 'ENABLED', 'BS_STATUS': 'DONE', 'BS_TS': 1591165801784, 'BS_RETRIES': 1,
'RULE_EXPIRATION_TIME': -1, 'IOC_TYPE': 'DOMAIN_NAME', 'RULE_INDICATOR': 'test.co.il',
'REPUTATION': 'SUSPICIOUS', 'RELIABILITY': 'A',
'VENDORS': [{'vendor_name': 'Cortex XDR - IOC', 'reputation': 'SUSPICIOUS', 'reliability': 'A'}],
'KLASS': None,
'IS_DEFAULT_TTL': False, 'RULE_TTL': -1, 'MARKED_DELETED': 0
},
{
'value': 'test.co.il',
'type': 'Domain',
'score': 2,
'fields': {
'expirationdate': 'Never',
'tags': 'Cortex XDR',
'xdrstatus': 'enabled'
}
}
)
]
| 44.042614 | 224 | 0.591111 |
22f68910ff9dfaa421812c8e74e6090e44df810d | 1,797 | py | Python | project/users/models.py | rchdlps/django-docker | 2c12732264c1f17cd62e20927b5956db498c30b7 | [
"MIT"
] | null | null | null | project/users/models.py | rchdlps/django-docker | 2c12732264c1f17cd62e20927b5956db498c30b7 | [
"MIT"
] | null | null | null | project/users/models.py | rchdlps/django-docker | 2c12732264c1f17cd62e20927b5956db498c30b7 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
from django.db.models import CharField
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _
from django.db import models
from PIL import Image
| 41.790698 | 82 | 0.673901 |
22f898eb9c872bebbb74a0dcd35cbd3eb8f475a0 | 4,444 | py | Python | cloudify_terminal_sdk/netconf_connection.py | cloudify-incubator/cloudify-plugins-sdk | 9805008e739d31e5f9fe3184411648f9be5e6214 | [
"Apache-2.0"
] | 1 | 2019-04-23T03:06:52.000Z | 2019-04-23T03:06:52.000Z | cloudify_terminal_sdk/netconf_connection.py | cloudify-incubator/cloudify-plugins-sdk | 9805008e739d31e5f9fe3184411648f9be5e6214 | [
"Apache-2.0"
] | 9 | 2018-12-17T14:08:29.000Z | 2022-01-16T17:52:54.000Z | cloudify_terminal_sdk/netconf_connection.py | cloudify-incubator/cloudify-plugins-sdk | 9805008e739d31e5f9fe3184411648f9be5e6214 | [
"Apache-2.0"
] | 3 | 2021-12-13T20:53:37.000Z | 2022-01-20T09:01:47.000Z | # Copyright (c) 2015-2020 Cloudify Platform Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from cloudify_common_sdk import exceptions
from cloudify_terminal_sdk import base_connection
# final of any package
NETCONF_1_0_END = "]]>]]>"
# base level of communication
NETCONF_1_0_CAPABILITY = 'urn:ietf:params:netconf:base:1.0'
# package based communication
NETCONF_1_1_CAPABILITY = 'urn:ietf:params:netconf:base:1.1'
| 35.552 | 74 | 0.605761 |
22f9659775a0befbb80b23123b166ed4d7384748 | 15,411 | py | Python | Seismic_Conv1D_dec.py | dyt1990/Seis_DCEC | 6cc56a7db10dd87b0ef39ece73578fca8b23c55f | [
"MIT"
] | 1 | 2021-04-05T06:03:16.000Z | 2021-04-05T06:03:16.000Z | Seismic_Conv1D_dec.py | dyt1990/Seis_DCEC | 6cc56a7db10dd87b0ef39ece73578fca8b23c55f | [
"MIT"
] | null | null | null | Seismic_Conv1D_dec.py | dyt1990/Seis_DCEC | 6cc56a7db10dd87b0ef39ece73578fca8b23c55f | [
"MIT"
] | 2 | 2019-06-13T03:34:20.000Z | 2019-12-16T05:57:30.000Z | # -*- coding: utf-8 -*-
"""
Created on Sun Aug 19 17:48:13 2018
@author: Sediment
"""
# -*- coding: utf-8 -*-
'''
Keras implementation of deep embedder to improve clustering, inspired by:
"Unsupervised Deep Embedding for Clustering Analysis" (Xie et al, ICML 2016)
Definition can accept somewhat custom neural networks. Defaults are from paper.
'''
import sys
import numpy as np
import pandas as pd
import keras.backend as K
from keras.initializers import RandomNormal
from keras.engine.topology import Layer, InputSpec
from keras.models import Model, Sequential
from keras.layers import Dense, Dropout, Input, Conv1D, MaxPooling1D, BatchNormalization, Activation, Flatten, UpSampling1D, Reshape
from keras.optimizers import SGD, RMSprop, Adagrad, Adadelta, Adam, Nadam
from keras.regularizers import l2
from sklearn.preprocessing import normalize
from keras.callbacks import LearningRateScheduler
from sklearn.utils.linear_assignment_ import linear_assignment
from sklearn.metrics import normalized_mutual_info_score, adjusted_rand_score
from sklearn import manifold
from sklearn.cluster import KMeans
from sklearn.decomposition import PCA
from matplotlib import pyplot as plt
if (sys.version[0] == 2):
import cPickle as pickle
else:
import pickle
| 43.78125 | 138 | 0.594251 |