content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
# Generated by the protocol buffer compiler. DO NOT EDIT!
from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
DESCRIPTOR = descriptor.FileDescriptor(
name='plaso/proto/plaso_storage.proto',
package='plaso_storage',
serialized_pb='\n\x1fplaso/proto/plaso_storage.proto\x12\rplaso_storage\"\xbd\x01\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x02(\t\x12\x0e\n\x06string\x18\x02 \x01(\t\x12\x0f\n\x07integer\x18\x03 \x01(\x03\x12#\n\x05\x61rray\x18\x04 \x01(\x0b\x32\x14.plaso_storage.Array\x12!\n\x04\x64ict\x18\x05 \x01(\x0b\x32\x13.plaso_storage.Dict\x12\x0f\n\x07\x62oolean\x18\x06 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x07 \x01(\x0c\x12\r\n\x05\x66loat\x18\x08 \x01(\x02\x12\x0c\n\x04none\x18\t \x01(\x08\"4\n\x04\x44ict\x12,\n\nattributes\x18\x01 \x03(\x0b\x32\x18.plaso_storage.Attribute\"\xac\x01\n\x05Value\x12\x0f\n\x07integer\x18\x01 \x01(\x03\x12\x0e\n\x06string\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12#\n\x05\x61rray\x18\x04 \x01(\x0b\x32\x14.plaso_storage.Array\x12!\n\x04\x64ict\x18\x05 \x01(\x0b\x32\x13.plaso_storage.Dict\x12\x0f\n\x07\x62oolean\x18\x06 \x01(\x08\x12\r\n\x05\x66loat\x18\x07 \x01(\x02\x12\x0c\n\x04none\x18\x08 \x01(\x08\"-\n\x05\x41rray\x12$\n\x06values\x18\x01 \x03(\x0b\x32\x14.plaso_storage.Value\"\xfa\x08\n\x0b\x45ventObject\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12\x16\n\x0etimestamp_desc\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x02(\t\x12,\n\nattributes\x18\x04 \x03(\x0b\x32\x18.plaso_storage.Attribute\x12\x10\n\x08timezone\x18\x05 \x01(\t\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x07 \x01(\t\x12\x10\n\x08pathspec\x18\x08 \x01(\x0c\x12\x0e\n\x06offset\x18\t \x01(\x03\x12\x14\n\x0cstore_number\x18\n \x01(\x03\x12\x13\n\x0bstore_index\x18\x0b \x01(\x03\x12(\n\x03tag\x18\x0c \x01(\x0b\x32\x1b.plaso_storage.EventTagging\x12<\n\x0csource_short\x18\r \x01(\x0e\x32&.plaso_storage.EventObject.SourceShort\x12\x13\n\x0bsource_long\x18\x0e \x01(\t\x12\x0e\n\x06parser\x18\x0f \x01(\t\x12\r\n\x05inode\x18\x10 \x01(\x03\x12\x10\n\x08hostname\x18\x11 \x01(\t\x12\x0e\n\x06plugin\x18\x12 \x01(\t\x12\x1a\n\x12registry_file_type\x18\x13 \x01(\t\x12\x11\n\tallocated\x18\x14 \x01(\x08\x12\x0f\n\x07\x66s_type\x18\x15 \x01(\t\x12\x11\n\trecovered\x18\x16 \x01(\x08\x12\x15\n\rrecord_number\x18\x17 \x01(\x03\x12\x13\n\x0bsource_name\x18\x18 \x01(\t\x12\x15\n\rcomputer_name\x18\x19 \x01(\t\x12\x18\n\x10\x65vent_identifier\x18\x1a \x01(\x03\x12\x13\n\x0b\x65vent_level\x18\x1b \x01(\x03\x12\x12\n\nxml_string\x18\x1c \x01(\t\x12%\n\x07strings\x18\x1d \x01(\x0b\x32\x14.plaso_storage.Array\x12\x10\n\x08username\x18\x1e \x01(\t\x12\x10\n\x08user_sid\x18\x1f \x01(\t\x12\x18\n\x10\x63\x61\x63hed_file_size\x18 \x01(\x03\x12\x16\n\x0enumber_of_hits\x18! \x01(\x03\x12\x1d\n\x15\x63\x61\x63he_directory_index\x18\" \x01(\x03\x12\r\n\x05title\x18# \x01(\t\x12%\n\x08metadata\x18$ \x01(\x0b\x32\x13.plaso_storage.Dict\x12\x0b\n\x03url\x18% \x01(\t\x12\x0f\n\x07keyname\x18& \x01(\t\x12%\n\x08regvalue\x18\' \x01(\x0b\x32\x13.plaso_storage.Dict\x12\x0c\n\x04text\x18( \x01(\t\x12\x0c\n\x04uuid\x18) \x01(\t\"\xad\x01\n\x0bSourceShort\x12\x06\n\x02\x41V\x10\x01\x12\x08\n\x04\x42\x41\x43K\x10\x02\x12\x07\n\x03\x45VT\x10\x03\x12\x08\n\x04\x45XIF\x10\x04\x12\x08\n\x04\x46ILE\x10\x05\x12\x07\n\x03LOG\x10\x06\x12\x07\n\x03LNK\x10\x07\x12\x07\n\x03LSO\x10\x08\x12\x08\n\x04META\x10\t\x12\t\n\x05PLIST\x10\n\x12\x07\n\x03RAM\x10\x0b\x12\n\n\x06RECBIN\x10\x0c\x12\x07\n\x03REG\x10\r\x12\x0b\n\x07WEBHIST\x10\x0e\x12\x0b\n\x07TORRENT\x10\x0f\x12\x07\n\x03JOB\x10\x10\"\xb2\x01\n\x0c\x45ventTagging\x12\x14\n\x0cstore_number\x18\x01 \x01(\x03\x12\x13\n\x0bstore_index\x18\x02 \x01(\x03\x12\x0f\n\x07\x63omment\x18\x03 \x01(\t\x12\r\n\x05\x63olor\x18\x04 \x01(\t\x12-\n\x04tags\x18\x05 \x03(\x0b\x32\x1f.plaso_storage.EventTagging.Tag\x12\x12\n\nevent_uuid\x18\x06 \x01(\t\x1a\x14\n\x03Tag\x12\r\n\x05value\x18\x01 \x02(\t\"\xfc\x01\n\nEventGroup\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x17\n\x0f\x66irst_timestamp\x18\x03 \x01(\x03\x12\x16\n\x0elast_timestamp\x18\x04 \x01(\x03\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x06 \x01(\t\x12:\n\x06\x65vents\x18\x07 \x03(\x0b\x32*.plaso_storage.EventGroup.EventDescription\x1a=\n\x10\x45ventDescription\x12\x14\n\x0cstore_number\x18\x01 \x02(\x03\x12\x13\n\x0bstore_index\x18\x02 \x02(\x03\"\xed\x01\n\nPreProcess\x12\x33\n\x16\x63ollection_information\x18\x01 \x01(\x0b\x32\x13.plaso_storage.Dict\x12$\n\x07\x63ounter\x18\x02 \x01(\x0b\x32\x13.plaso_storage.Dict\x12)\n\x0bstore_range\x18\x03 \x01(\x0b\x32\x14.plaso_storage.Array\x12,\n\nattributes\x18\x04 \x03(\x0b\x32\x18.plaso_storage.Attribute\x12+\n\x0eplugin_counter\x18\x05 \x01(\x0b\x32\x13.plaso_storage.Dict\"\xc7\x01\n\x0e\x41nalysisReport\x12\x13\n\x0bplugin_name\x18\x01 \x01(\t\x12\x15\n\rtime_compiled\x18\x02 \x01(\x03\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x0e\n\x06images\x18\x04 \x03(\x0c\x12(\n\x0breport_dict\x18\x05 \x01(\x0b\x32\x13.plaso_storage.Dict\x12*\n\x0creport_array\x18\x06 \x01(\x0b\x32\x14.plaso_storage.Array\x12\x15\n\rfilter_string\x18\x07 \x01(\t')
_EVENTOBJECT_SOURCESHORT = descriptor.EnumDescriptor(
name='SourceShort',
full_name='plaso_storage.EventObject.SourceShort',
filename=None,
file=DESCRIPTOR,
values=[
descriptor.EnumValueDescriptor(
name='AV', index=0, number=1,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='BACK', index=1, number=2,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='EVT', index=2, number=3,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='EXIF', index=3, number=4,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='FILE', index=4, number=5,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='LOG', index=5, number=6,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='LNK', index=6, number=7,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='LSO', index=7, number=8,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='META', index=8, number=9,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='PLIST', index=9, number=10,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='RAM', index=10, number=11,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='RECBIN', index=11, number=12,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='REG', index=12, number=13,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='WEBHIST', index=13, number=14,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='TORRENT', index=14, number=15,
options=None,
type=None),
descriptor.EnumValueDescriptor(
name='JOB', index=15, number=16,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=1492,
serialized_end=1665,
)
_ATTRIBUTE = descriptor.Descriptor(
name='Attribute',
full_name='plaso_storage.Attribute',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='key', full_name='plaso_storage.Attribute.key', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='string', full_name='plaso_storage.Attribute.string', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='integer', full_name='plaso_storage.Attribute.integer', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='array', full_name='plaso_storage.Attribute.array', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='dict', full_name='plaso_storage.Attribute.dict', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='boolean', full_name='plaso_storage.Attribute.boolean', index=5,
number=6, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='data', full_name='plaso_storage.Attribute.data', index=6,
number=7, type=12, cpp_type=9, label=1,
has_default_value=False, default_value="",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='float', full_name='plaso_storage.Attribute.float', index=7,
number=8, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='none', full_name='plaso_storage.Attribute.none', index=8,
number=9, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=51,
serialized_end=240,
)
_DICT = descriptor.Descriptor(
name='Dict',
full_name='plaso_storage.Dict',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='attributes', full_name='plaso_storage.Dict.attributes', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=242,
serialized_end=294,
)
_VALUE = descriptor.Descriptor(
name='Value',
full_name='plaso_storage.Value',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='integer', full_name='plaso_storage.Value.integer', index=0,
number=1, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='string', full_name='plaso_storage.Value.string', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='data', full_name='plaso_storage.Value.data', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value="",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='array', full_name='plaso_storage.Value.array', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='dict', full_name='plaso_storage.Value.dict', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='boolean', full_name='plaso_storage.Value.boolean', index=5,
number=6, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='float', full_name='plaso_storage.Value.float', index=6,
number=7, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='none', full_name='plaso_storage.Value.none', index=7,
number=8, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=297,
serialized_end=469,
)
_ARRAY = descriptor.Descriptor(
name='Array',
full_name='plaso_storage.Array',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='values', full_name='plaso_storage.Array.values', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=471,
serialized_end=516,
)
_EVENTOBJECT = descriptor.Descriptor(
name='EventObject',
full_name='plaso_storage.EventObject',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='timestamp', full_name='plaso_storage.EventObject.timestamp', index=0,
number=1, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='timestamp_desc', full_name='plaso_storage.EventObject.timestamp_desc', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='data_type', full_name='plaso_storage.EventObject.data_type', index=2,
number=3, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='attributes', full_name='plaso_storage.EventObject.attributes', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='timezone', full_name='plaso_storage.EventObject.timezone', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='filename', full_name='plaso_storage.EventObject.filename', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='display_name', full_name='plaso_storage.EventObject.display_name', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='pathspec', full_name='plaso_storage.EventObject.pathspec', index=7,
number=8, type=12, cpp_type=9, label=1,
has_default_value=False, default_value="",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='offset', full_name='plaso_storage.EventObject.offset', index=8,
number=9, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='store_number', full_name='plaso_storage.EventObject.store_number', index=9,
number=10, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='store_index', full_name='plaso_storage.EventObject.store_index', index=10,
number=11, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='tag', full_name='plaso_storage.EventObject.tag', index=11,
number=12, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='source_short', full_name='plaso_storage.EventObject.source_short', index=12,
number=13, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='source_long', full_name='plaso_storage.EventObject.source_long', index=13,
number=14, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='parser', full_name='plaso_storage.EventObject.parser', index=14,
number=15, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='inode', full_name='plaso_storage.EventObject.inode', index=15,
number=16, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='hostname', full_name='plaso_storage.EventObject.hostname', index=16,
number=17, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='plugin', full_name='plaso_storage.EventObject.plugin', index=17,
number=18, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='registry_file_type', full_name='plaso_storage.EventObject.registry_file_type', index=18,
number=19, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='allocated', full_name='plaso_storage.EventObject.allocated', index=19,
number=20, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='fs_type', full_name='plaso_storage.EventObject.fs_type', index=20,
number=21, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='recovered', full_name='plaso_storage.EventObject.recovered', index=21,
number=22, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='record_number', full_name='plaso_storage.EventObject.record_number', index=22,
number=23, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='source_name', full_name='plaso_storage.EventObject.source_name', index=23,
number=24, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='computer_name', full_name='plaso_storage.EventObject.computer_name', index=24,
number=25, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='event_identifier', full_name='plaso_storage.EventObject.event_identifier', index=25,
number=26, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='event_level', full_name='plaso_storage.EventObject.event_level', index=26,
number=27, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='xml_string', full_name='plaso_storage.EventObject.xml_string', index=27,
number=28, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='strings', full_name='plaso_storage.EventObject.strings', index=28,
number=29, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='username', full_name='plaso_storage.EventObject.username', index=29,
number=30, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='user_sid', full_name='plaso_storage.EventObject.user_sid', index=30,
number=31, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='cached_file_size', full_name='plaso_storage.EventObject.cached_file_size', index=31,
number=32, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='number_of_hits', full_name='plaso_storage.EventObject.number_of_hits', index=32,
number=33, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='cache_directory_index', full_name='plaso_storage.EventObject.cache_directory_index', index=33,
number=34, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='title', full_name='plaso_storage.EventObject.title', index=34,
number=35, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='metadata', full_name='plaso_storage.EventObject.metadata', index=35,
number=36, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='url', full_name='plaso_storage.EventObject.url', index=36,
number=37, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='keyname', full_name='plaso_storage.EventObject.keyname', index=37,
number=38, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='regvalue', full_name='plaso_storage.EventObject.regvalue', index=38,
number=39, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='text', full_name='plaso_storage.EventObject.text', index=39,
number=40, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='uuid', full_name='plaso_storage.EventObject.uuid', index=40,
number=41, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
_EVENTOBJECT_SOURCESHORT,
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=519,
serialized_end=1665,
)
_EVENTTAGGING_TAG = descriptor.Descriptor(
name='Tag',
full_name='plaso_storage.EventTagging.Tag',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='value', full_name='plaso_storage.EventTagging.Tag.value', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=1826,
serialized_end=1846,
)
_EVENTTAGGING = descriptor.Descriptor(
name='EventTagging',
full_name='plaso_storage.EventTagging',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='store_number', full_name='plaso_storage.EventTagging.store_number', index=0,
number=1, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='store_index', full_name='plaso_storage.EventTagging.store_index', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='comment', full_name='plaso_storage.EventTagging.comment', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='color', full_name='plaso_storage.EventTagging.color', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='tags', full_name='plaso_storage.EventTagging.tags', index=4,
number=5, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='event_uuid', full_name='plaso_storage.EventTagging.event_uuid', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_EVENTTAGGING_TAG, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=1668,
serialized_end=1846,
)
_EVENTGROUP_EVENTDESCRIPTION = descriptor.Descriptor(
name='EventDescription',
full_name='plaso_storage.EventGroup.EventDescription',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='store_number', full_name='plaso_storage.EventGroup.EventDescription.store_number', index=0,
number=1, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='store_index', full_name='plaso_storage.EventGroup.EventDescription.store_index', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=2040,
serialized_end=2101,
)
_EVENTGROUP = descriptor.Descriptor(
name='EventGroup',
full_name='plaso_storage.EventGroup',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='name', full_name='plaso_storage.EventGroup.name', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='description', full_name='plaso_storage.EventGroup.description', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='first_timestamp', full_name='plaso_storage.EventGroup.first_timestamp', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='last_timestamp', full_name='plaso_storage.EventGroup.last_timestamp', index=3,
number=4, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='color', full_name='plaso_storage.EventGroup.color', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='category', full_name='plaso_storage.EventGroup.category', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='events', full_name='plaso_storage.EventGroup.events', index=6,
number=7, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_EVENTGROUP_EVENTDESCRIPTION, ],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=1849,
serialized_end=2101,
)
_PREPROCESS = descriptor.Descriptor(
name='PreProcess',
full_name='plaso_storage.PreProcess',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='collection_information', full_name='plaso_storage.PreProcess.collection_information', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='counter', full_name='plaso_storage.PreProcess.counter', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='store_range', full_name='plaso_storage.PreProcess.store_range', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='attributes', full_name='plaso_storage.PreProcess.attributes', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='plugin_counter', full_name='plaso_storage.PreProcess.plugin_counter', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=2104,
serialized_end=2341,
)
_ANALYSISREPORT = descriptor.Descriptor(
name='AnalysisReport',
full_name='plaso_storage.AnalysisReport',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
descriptor.FieldDescriptor(
name='plugin_name', full_name='plaso_storage.AnalysisReport.plugin_name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='time_compiled', full_name='plaso_storage.AnalysisReport.time_compiled', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='text', full_name='plaso_storage.AnalysisReport.text', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='images', full_name='plaso_storage.AnalysisReport.images', index=3,
number=4, type=12, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='report_dict', full_name='plaso_storage.AnalysisReport.report_dict', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='report_array', full_name='plaso_storage.AnalysisReport.report_array', index=5,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
descriptor.FieldDescriptor(
name='filter_string', full_name='plaso_storage.AnalysisReport.filter_string', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=2344,
serialized_end=2543,
)
_ATTRIBUTE.fields_by_name['array'].message_type = _ARRAY
_ATTRIBUTE.fields_by_name['dict'].message_type = _DICT
_DICT.fields_by_name['attributes'].message_type = _ATTRIBUTE
_VALUE.fields_by_name['array'].message_type = _ARRAY
_VALUE.fields_by_name['dict'].message_type = _DICT
_ARRAY.fields_by_name['values'].message_type = _VALUE
_EVENTOBJECT.fields_by_name['attributes'].message_type = _ATTRIBUTE
_EVENTOBJECT.fields_by_name['tag'].message_type = _EVENTTAGGING
_EVENTOBJECT.fields_by_name['source_short'].enum_type = _EVENTOBJECT_SOURCESHORT
_EVENTOBJECT.fields_by_name['strings'].message_type = _ARRAY
_EVENTOBJECT.fields_by_name['metadata'].message_type = _DICT
_EVENTOBJECT.fields_by_name['regvalue'].message_type = _DICT
_EVENTOBJECT_SOURCESHORT.containing_type = _EVENTOBJECT;
_EVENTTAGGING_TAG.containing_type = _EVENTTAGGING;
_EVENTTAGGING.fields_by_name['tags'].message_type = _EVENTTAGGING_TAG
_EVENTGROUP_EVENTDESCRIPTION.containing_type = _EVENTGROUP;
_EVENTGROUP.fields_by_name['events'].message_type = _EVENTGROUP_EVENTDESCRIPTION
_PREPROCESS.fields_by_name['collection_information'].message_type = _DICT
_PREPROCESS.fields_by_name['counter'].message_type = _DICT
_PREPROCESS.fields_by_name['store_range'].message_type = _ARRAY
_PREPROCESS.fields_by_name['attributes'].message_type = _ATTRIBUTE
_PREPROCESS.fields_by_name['plugin_counter'].message_type = _DICT
_ANALYSISREPORT.fields_by_name['report_dict'].message_type = _DICT
_ANALYSISREPORT.fields_by_name['report_array'].message_type = _ARRAY
DESCRIPTOR.message_types_by_name['Attribute'] = _ATTRIBUTE
DESCRIPTOR.message_types_by_name['Dict'] = _DICT
DESCRIPTOR.message_types_by_name['Value'] = _VALUE
DESCRIPTOR.message_types_by_name['Array'] = _ARRAY
DESCRIPTOR.message_types_by_name['EventObject'] = _EVENTOBJECT
DESCRIPTOR.message_types_by_name['EventTagging'] = _EVENTTAGGING
DESCRIPTOR.message_types_by_name['EventGroup'] = _EVENTGROUP
DESCRIPTOR.message_types_by_name['PreProcess'] = _PREPROCESS
DESCRIPTOR.message_types_by_name['AnalysisReport'] = _ANALYSISREPORT
# @@protoc_insertion_point(module_scope)
| [
2,
2980,
515,
416,
262,
8435,
11876,
17050,
13,
220,
8410,
5626,
48483,
0,
198,
198,
6738,
23645,
13,
11235,
672,
3046,
1330,
43087,
198,
6738,
23645,
13,
11235,
672,
3046,
1330,
3275,
198,
6738,
23645,
13,
11235,
672,
3046,
1330,
14580,
198,
6738,
23645,
13,
11235,
672,
3046,
1330,
43087,
62,
40842,
17,
198,
2,
25248,
11235,
420,
62,
28463,
295,
62,
4122,
7,
320,
3742,
8,
628,
198,
198,
30910,
36584,
32961,
796,
43087,
13,
8979,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
489,
292,
78,
14,
1676,
1462,
14,
489,
292,
78,
62,
35350,
13,
1676,
1462,
3256,
198,
220,
5301,
11639,
489,
292,
78,
62,
35350,
3256,
198,
220,
11389,
1143,
62,
40842,
11639,
59,
77,
59,
87,
16,
69,
489,
292,
78,
14,
1676,
1462,
14,
489,
292,
78,
62,
35350,
13,
1676,
1462,
59,
87,
1065,
59,
81,
489,
292,
78,
62,
35350,
7879,
59,
87,
17457,
59,
87,
486,
59,
77,
59,
83,
33682,
59,
87,
1065,
59,
87,
15,
65,
59,
77,
59,
87,
3070,
2539,
59,
87,
1507,
59,
87,
486,
3467,
87,
2999,
38016,
83,
59,
87,
1065,
59,
87,
15,
68,
59,
77,
59,
87,
3312,
8841,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
41433,
59,
87,
1507,
59,
87,
3070,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
2,
59,
77,
59,
87,
2713,
59,
87,
5333,
81,
2433,
59,
87,
1507,
59,
87,
3023,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1415,
13,
489,
292,
78,
62,
35350,
13,
19182,
59,
87,
1065,
0,
59,
77,
59,
87,
3023,
59,
87,
2414,
713,
59,
87,
1507,
59,
87,
2713,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
59,
87,
5237,
2238,
13087,
59,
87,
1507,
59,
87,
3312,
3467,
87,
486,
38016,
87,
2919,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
59,
87,
2414,
59,
87,
5333,
8326,
59,
87,
1507,
59,
87,
2998,
3467,
87,
486,
38016,
87,
15,
66,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
59,
87,
2791,
5439,
265,
59,
87,
1507,
59,
87,
2919,
3467,
87,
486,
38016,
87,
2999,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
23108,
59,
87,
1507,
59,
83,
3467,
87,
486,
38016,
87,
2919,
7879,
19,
59,
77,
59,
87,
3023,
59,
87,
2598,
713,
59,
87,
1065,
11,
59,
77,
59,
77,
1078,
7657,
59,
87,
1507,
59,
87,
486,
3467,
87,
3070,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1507,
13,
489,
292,
78,
62,
35350,
13,
33682,
7879,
59,
87,
330,
59,
87,
486,
59,
77,
59,
87,
2713,
11395,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
41433,
59,
87,
1507,
59,
87,
486,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
15,
68,
59,
77,
59,
87,
3312,
8841,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
59,
87,
2414,
59,
87,
5333,
8326,
59,
87,
1507,
59,
87,
3070,
3467,
87,
486,
38016,
87,
15,
66,
59,
87,
1065,
2,
59,
77,
59,
87,
2713,
59,
87,
5333,
81,
2433,
59,
87,
1507,
59,
87,
3023,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1415,
13,
489,
292,
78,
62,
35350,
13,
19182,
59,
87,
1065,
0,
59,
77,
59,
87,
3023,
59,
87,
2414,
713,
59,
87,
1507,
59,
87,
2713,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
59,
87,
5237,
2238,
13087,
59,
87,
1507,
59,
87,
3312,
3467,
87,
486,
38016,
87,
2919,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
59,
87,
2791,
5439,
265,
59,
87,
1507,
59,
87,
2998,
3467,
87,
486,
38016,
87,
2999,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
23108,
59,
87,
1507,
59,
87,
2919,
3467,
87,
486,
38016,
87,
2919,
7879,
12,
59,
77,
59,
87,
2713,
59,
87,
3901,
81,
2433,
59,
87,
1065,
3,
59,
77,
59,
87,
3312,
27160,
59,
87,
1507,
59,
87,
486,
3467,
87,
3070,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1415,
13,
489,
292,
78,
62,
35350,
13,
11395,
7879,
59,
87,
13331,
59,
87,
2919,
59,
77,
59,
87,
15,
65,
59,
87,
2231,
1151,
10267,
59,
87,
1065,
59,
87,
1157,
59,
77,
59,
926,
320,
27823,
59,
87,
1507,
59,
87,
486,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1433,
59,
77,
59,
87,
15,
316,
320,
27823,
62,
20147,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1157,
59,
77,
59,
83,
7890,
62,
4906,
59,
87,
1507,
59,
87,
3070,
3467,
87,
2999,
38016,
83,
59,
87,
1065,
11,
59,
77,
59,
77,
1078,
7657,
59,
87,
1507,
59,
87,
3023,
3467,
87,
3070,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1507,
13,
489,
292,
78,
62,
35350,
13,
33682,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
2435,
11340,
59,
87,
1507,
59,
87,
2713,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
59,
87,
2791,
346,
12453,
59,
87,
1507,
59,
87,
3312,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1415,
59,
77,
59,
87,
15,
66,
59,
87,
2414,
271,
1759,
62,
3672,
59,
87,
1507,
59,
87,
2998,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
6978,
16684,
59,
87,
1507,
59,
87,
2919,
3467,
87,
486,
38016,
87,
15,
66,
59,
87,
1065,
59,
87,
15,
68,
59,
77,
59,
87,
3312,
28968,
59,
87,
1507,
59,
83,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1415,
59,
77,
59,
87,
15,
66,
8095,
62,
17618,
59,
87,
1507,
59,
77,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
65,
8095,
62,
9630,
59,
87,
1507,
59,
87,
15,
65,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
38016,
77,
59,
87,
3070,
12985,
59,
87,
1507,
59,
87,
15,
66,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
16,
65,
13,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
59,
87,
1065,
27,
59,
77,
59,
87,
15,
6359,
1668,
62,
19509,
59,
87,
1507,
59,
81,
3467,
87,
486,
38016,
87,
15,
68,
59,
87,
2624,
5,
13,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
7416,
16438,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
1443,
1668,
62,
6511,
59,
87,
1507,
59,
87,
15,
68,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
68,
59,
77,
59,
87,
3312,
48610,
59,
87,
1507,
59,
87,
15,
69,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
259,
1098,
59,
87,
1507,
59,
87,
940,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
4774,
3672,
59,
87,
1507,
59,
87,
1157,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
68,
59,
77,
59,
87,
3312,
33803,
59,
87,
1507,
59,
87,
1065,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
16,
64,
59,
77,
59,
87,
1065,
2301,
4592,
62,
7753,
62,
4906,
59,
87,
1507,
59,
87,
1485,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1157,
59,
77,
59,
35429,
10533,
59,
87,
1507,
59,
87,
1415,
3467,
87,
486,
38016,
87,
2919,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
59,
87,
2791,
82,
62,
4906,
59,
87,
1507,
59,
87,
1314,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1157,
59,
77,
59,
83,
8344,
2557,
59,
87,
1507,
59,
87,
1433,
3467,
87,
486,
38016,
87,
2919,
59,
87,
1065,
59,
87,
1314,
59,
77,
59,
81,
22105,
62,
17618,
59,
87,
1507,
59,
87,
1558,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
1443,
1668,
62,
3672,
59,
87,
1507,
59,
87,
1507,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1314,
59,
77,
59,
81,
33215,
62,
3672,
59,
87,
1507,
59,
87,
1129,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1507,
59,
77,
59,
87,
940,
59,
87,
2996,
1151,
62,
738,
7483,
59,
87,
1507,
59,
87,
16,
64,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
65,
59,
87,
2996,
1151,
62,
5715,
59,
87,
1507,
59,
87,
16,
65,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1065,
59,
77,
59,
77,
19875,
62,
8841,
59,
87,
1507,
59,
87,
16,
66,
3467,
87,
486,
38016,
83,
59,
87,
1065,
4,
59,
77,
59,
87,
2998,
37336,
59,
87,
1507,
59,
87,
16,
67,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1415,
13,
489,
292,
78,
62,
35350,
13,
19182,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
29460,
59,
87,
1507,
59,
87,
16,
68,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
7220,
62,
30255,
59,
87,
1507,
59,
87,
16,
69,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1507,
59,
77,
59,
87,
940,
59,
87,
5066,
59,
87,
5333,
59,
87,
5066,
704,
62,
7753,
62,
7857,
59,
87,
1507,
220,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1433,
59,
77,
59,
87,
15,
268,
4494,
62,
1659,
62,
71,
896,
59,
87,
1507,
0,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
16,
67,
59,
77,
59,
87,
1314,
59,
87,
5066,
59,
87,
5333,
59,
87,
5066,
258,
62,
34945,
62,
9630,
59,
87,
1507,
7879,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
7839,
59,
87,
1507,
2,
3467,
87,
486,
38016,
83,
59,
87,
1065,
4,
59,
77,
59,
87,
2919,
38993,
59,
87,
1507,
3,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
59,
87,
15,
65,
59,
77,
59,
87,
3070,
6371,
59,
87,
1507,
4,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
365,
2047,
480,
59,
87,
1507,
5,
3467,
87,
486,
38016,
83,
59,
87,
1065,
4,
59,
77,
59,
87,
2919,
2301,
8367,
59,
87,
1507,
43054,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
5239,
59,
87,
1507,
7,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
12303,
312,
59,
87,
1507,
8,
3467,
87,
486,
38016,
83,
7879,
59,
87,
324,
59,
87,
486,
59,
77,
59,
87,
15,
65,
7416,
16438,
59,
87,
1065,
59,
87,
3312,
59,
77,
59,
87,
2999,
59,
87,
3901,
53,
59,
87,
940,
59,
87,
486,
59,
87,
1065,
59,
87,
2919,
59,
77,
59,
87,
3023,
59,
87,
3682,
59,
87,
3901,
59,
87,
3559,
42,
59,
87,
940,
59,
87,
2999,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
59,
87,
2231,
36392,
59,
87,
940,
59,
87,
3070,
59,
87,
1065,
59,
87,
2919,
59,
77,
59,
87,
3023,
59,
87,
2231,
55,
5064,
59,
87,
940,
59,
87,
3023,
59,
87,
1065,
59,
87,
2919,
59,
77,
59,
87,
3023,
59,
87,
3510,
41119,
59,
87,
940,
59,
87,
2713,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
25294,
59,
87,
940,
59,
87,
3312,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
43,
46888,
59,
87,
940,
59,
87,
2998,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
6561,
46,
59,
87,
940,
59,
87,
2919,
59,
87,
1065,
59,
87,
2919,
59,
77,
59,
87,
3023,
44,
20892,
59,
87,
940,
59,
83,
59,
87,
1065,
59,
83,
59,
77,
59,
87,
2713,
6489,
8808,
59,
87,
940,
59,
77,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
24115,
59,
87,
940,
59,
87,
15,
65,
59,
87,
1065,
59,
77,
59,
77,
59,
87,
3312,
2200,
23199,
1268,
59,
87,
940,
59,
87,
15,
66,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
31553,
59,
87,
940,
59,
81,
59,
87,
1065,
59,
87,
15,
65,
59,
77,
59,
87,
2998,
8845,
33,
39,
8808,
59,
87,
940,
59,
87,
15,
68,
59,
87,
1065,
59,
87,
15,
65,
59,
77,
59,
87,
2998,
32961,
49,
3525,
59,
87,
940,
59,
87,
15,
69,
59,
87,
1065,
59,
87,
2998,
59,
77,
59,
87,
3070,
41,
9864,
59,
87,
940,
59,
87,
940,
7879,
59,
30894,
17,
59,
87,
486,
59,
77,
59,
87,
15,
66,
59,
87,
2231,
1151,
51,
16406,
59,
87,
1065,
59,
87,
1415,
59,
77,
59,
87,
15,
66,
8095,
62,
17618,
59,
87,
1507,
59,
87,
486,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
65,
8095,
62,
9630,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
15,
69,
59,
77,
59,
87,
2998,
59,
87,
5066,
296,
434,
59,
87,
1507,
59,
87,
3070,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
59,
87,
5066,
45621,
59,
87,
1507,
59,
87,
3023,
3467,
87,
486,
38016,
83,
59,
87,
1065,
12,
59,
77,
59,
87,
3023,
31499,
59,
87,
1507,
59,
87,
2713,
3467,
87,
3070,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
16,
69,
13,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
24835,
59,
87,
1065,
59,
87,
1065,
59,
77,
59,
710,
1151,
62,
12303,
312,
59,
87,
1507,
59,
87,
3312,
3467,
87,
486,
38016,
83,
59,
87,
16,
64,
59,
87,
1415,
59,
77,
59,
87,
3070,
24835,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
8367,
59,
87,
1507,
59,
87,
486,
3467,
87,
2999,
38016,
83,
7879,
59,
87,
16072,
59,
87,
486,
59,
77,
59,
77,
9237,
13247,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
3672,
59,
87,
1507,
59,
87,
486,
3467,
87,
2999,
38016,
83,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
65,
59,
87,
2414,
59,
87,
2996,
33584,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1558,
59,
77,
59,
87,
15,
69,
59,
87,
2791,
667,
62,
16514,
27823,
59,
87,
1507,
59,
87,
3070,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1433,
59,
77,
59,
87,
15,
417,
459,
62,
16514,
27823,
59,
87,
1507,
59,
87,
3023,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
81,
59,
77,
59,
87,
2713,
59,
87,
5066,
45621,
59,
87,
1507,
59,
87,
2713,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
940,
59,
77,
59,
87,
2919,
59,
87,
5066,
59,
87,
5333,
660,
70,
652,
59,
87,
1507,
59,
87,
3312,
3467,
87,
486,
38016,
83,
59,
87,
1065,
7479,
77,
59,
87,
3312,
59,
87,
2996,
85,
658,
59,
87,
1507,
59,
87,
2998,
3467,
87,
3070,
38016,
87,
15,
65,
59,
87,
2624,
24620,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
9237,
11828,
59,
87,
16,
64,
28,
59,
77,
59,
87,
940,
59,
87,
2231,
1151,
11828,
59,
87,
1065,
59,
87,
1415,
59,
77,
59,
87,
15,
66,
8095,
62,
17618,
59,
87,
1507,
59,
87,
486,
3467,
87,
2999,
38016,
87,
3070,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
65,
8095,
62,
9630,
59,
87,
1507,
59,
87,
2999,
3467,
87,
2999,
38016,
87,
3070,
7879,
59,
87,
276,
59,
87,
486,
59,
77,
59,
77,
6719,
18709,
59,
87,
1065,
59,
87,
2091,
59,
77,
59,
87,
1433,
59,
87,
5066,
349,
1564,
62,
17018,
59,
87,
1507,
59,
87,
486,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
3,
59,
77,
59,
87,
2998,
59,
87,
5066,
6828,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
19415,
77,
59,
87,
15,
65,
8095,
62,
9521,
59,
87,
1507,
59,
87,
3070,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1415,
13,
489,
292,
78,
62,
35350,
13,
19182,
59,
87,
1065,
11,
59,
77,
59,
77,
1078,
7657,
59,
87,
1507,
59,
87,
3023,
3467,
87,
3070,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1507,
13,
489,
292,
78,
62,
35350,
13,
33682,
59,
87,
1065,
10,
59,
77,
59,
87,
15,
68,
33803,
62,
24588,
59,
87,
1507,
59,
87,
2713,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
7879,
59,
25306,
22,
59,
87,
486,
59,
77,
59,
87,
15,
68,
59,
87,
3901,
77,
8767,
19100,
59,
87,
1065,
59,
87,
1485,
59,
77,
59,
87,
15,
65,
33803,
62,
3672,
59,
87,
1507,
59,
87,
486,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
1314,
59,
77,
59,
81,
2435,
62,
5589,
3902,
59,
87,
1507,
59,
87,
2999,
3467,
87,
486,
38016,
87,
3070,
59,
87,
1065,
59,
87,
15,
66,
59,
77,
59,
87,
3023,
5239,
59,
87,
1507,
59,
87,
3070,
3467,
87,
486,
38016,
83,
59,
87,
1065,
59,
87,
15,
68,
59,
77,
59,
87,
3312,
17566,
59,
87,
1507,
59,
87,
3023,
3467,
87,
3070,
38016,
87,
15,
66,
59,
87,
1065,
38016,
77,
59,
87,
15,
4679,
634,
62,
11600,
59,
87,
1507,
59,
87,
2713,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1485,
13,
489,
292,
78,
62,
35350,
13,
35,
713,
59,
87,
1065,
9,
59,
77,
59,
87,
15,
7513,
634,
62,
18747,
59,
87,
1507,
59,
87,
3312,
3467,
87,
486,
38016,
87,
15,
65,
59,
87,
2624,
59,
87,
1415,
13,
489,
292,
78,
62,
35350,
13,
19182,
59,
87,
1065,
59,
87,
1314,
59,
77,
59,
81,
24455,
62,
8841,
59,
87,
1507,
59,
87,
2998,
3467,
87,
486,
38016,
83,
11537,
628,
198,
198,
62,
20114,
3525,
9864,
23680,
62,
50,
2606,
7397,
44011,
9863,
796,
43087,
13,
4834,
388,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
7416,
16438,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
7416,
16438,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
3815,
41888,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
10116,
3256,
6376,
28,
15,
11,
1271,
28,
16,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
31098,
3256,
6376,
28,
16,
11,
1271,
28,
17,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
20114,
51,
3256,
6376,
28,
17,
11,
1271,
28,
18,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
6369,
5064,
3256,
6376,
28,
18,
11,
1271,
28,
19,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
25664,
3256,
6376,
28,
19,
11,
1271,
28,
20,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
25294,
3256,
6376,
28,
20,
11,
1271,
28,
21,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
43,
46888,
3256,
6376,
28,
21,
11,
1271,
28,
22,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
6561,
46,
3256,
6376,
28,
22,
11,
1271,
28,
23,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
44,
20892,
3256,
6376,
28,
23,
11,
1271,
28,
24,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
6489,
8808,
3256,
6376,
28,
24,
11,
1271,
28,
940,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
24115,
3256,
6376,
28,
940,
11,
1271,
28,
1157,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2200,
23199,
1268,
3256,
6376,
28,
1157,
11,
1271,
28,
1065,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
31553,
3256,
6376,
28,
1065,
11,
1271,
28,
1485,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8845,
33,
39,
8808,
3256,
6376,
28,
1485,
11,
1271,
28,
1415,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
32961,
49,
3525,
3256,
6376,
28,
1415,
11,
1271,
28,
1314,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
4834,
388,
11395,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
41,
9864,
3256,
6376,
28,
1314,
11,
1271,
28,
1433,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
2099,
28,
14202,
828,
198,
220,
16589,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
3689,
28,
14202,
11,
198,
220,
11389,
1143,
62,
9688,
28,
1415,
5892,
11,
198,
220,
11389,
1143,
62,
437,
28,
1433,
2996,
11,
198,
8,
628,
198,
62,
1404,
5446,
9865,
37780,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
33682,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2539,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
2539,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
17,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8841,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
8841,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
41433,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
41433,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
18747,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
18747,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
11600,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
11600,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2127,
21052,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
2127,
21052,
3256,
6376,
28,
20,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
21,
11,
2099,
28,
23,
11,
269,
381,
62,
4906,
28,
22,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
7890,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
7890,
3256,
6376,
28,
21,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
22,
11,
2099,
28,
1065,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
2625,
1600,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
22468,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
22468,
3256,
6376,
28,
22,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
23,
11,
2099,
28,
17,
11,
269,
381,
62,
4906,
28,
21,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
23108,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
33682,
13,
23108,
3256,
6376,
28,
23,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
24,
11,
2099,
28,
23,
11,
269,
381,
62,
4906,
28,
22,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
4349,
11,
198,
220,
11389,
1143,
62,
437,
28,
16102,
11,
198,
8,
628,
198,
62,
35,
18379,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
35,
713,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
35,
713,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
1078,
7657,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
35,
713,
13,
1078,
7657,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
27877,
11,
198,
220,
11389,
1143,
62,
437,
28,
27696,
11,
198,
8,
628,
198,
62,
39488,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
11395,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
41433,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
41433,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8841,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
8841,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
7890,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
7890,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
1065,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
2625,
1600,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
18747,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
18747,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
11600,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
11600,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2127,
21052,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
2127,
21052,
3256,
6376,
28,
20,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
21,
11,
2099,
28,
23,
11,
269,
381,
62,
4906,
28,
22,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
22468,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
22468,
3256,
6376,
28,
21,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
22,
11,
2099,
28,
17,
11,
269,
381,
62,
4906,
28,
21,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
23108,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
11395,
13,
23108,
3256,
6376,
28,
22,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
23,
11,
2099,
28,
23,
11,
269,
381,
62,
4906,
28,
22,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
26561,
11,
198,
220,
11389,
1143,
62,
437,
28,
42947,
11,
198,
8,
628,
198,
62,
1503,
30631,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
19182,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
19182,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
27160,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
19182,
13,
27160,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
38339,
11,
198,
220,
11389,
1143,
62,
437,
28,
47493,
11,
198,
8,
628,
198,
62,
20114,
3525,
9864,
23680,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
9237,
10267,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
16514,
27823,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
16514,
27823,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
16514,
27823,
62,
20147,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
16514,
27823,
62,
20147,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
7890,
62,
4906,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
7890,
62,
4906,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
17,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
1078,
7657,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
1078,
7657,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2435,
11340,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
2435,
11340,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
34345,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
34345,
3256,
6376,
28,
20,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
21,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
13812,
62,
3672,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
13812,
62,
3672,
3256,
6376,
28,
21,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
22,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
6978,
16684,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
6978,
16684,
3256,
6376,
28,
22,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
23,
11,
2099,
28,
1065,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
2625,
1600,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
28968,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
28968,
3256,
6376,
28,
23,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
24,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
17618,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
8095,
62,
17618,
3256,
6376,
28,
24,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
940,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
9630,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
8095,
62,
9630,
3256,
6376,
28,
940,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1157,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
12985,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
12985,
3256,
6376,
28,
1157,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1065,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
10459,
62,
19509,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
10459,
62,
19509,
3256,
6376,
28,
1065,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1485,
11,
2099,
28,
1415,
11,
269,
381,
62,
4906,
28,
23,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
16,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
10459,
62,
6511,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
10459,
62,
6511,
3256,
6376,
28,
1485,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1415,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
48610,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
48610,
3256,
6376,
28,
1415,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1314,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
259,
1098,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
259,
1098,
3256,
6376,
28,
1314,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1433,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
4774,
3672,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
4774,
3672,
3256,
6376,
28,
1433,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1558,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
33803,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
33803,
3256,
6376,
28,
1558,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1507,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2301,
4592,
62,
7753,
62,
4906,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
2301,
4592,
62,
7753,
62,
4906,
3256,
6376,
28,
1507,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1129,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
439,
10533,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
439,
10533,
3256,
6376,
28,
1129,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1238,
11,
2099,
28,
23,
11,
269,
381,
62,
4906,
28,
22,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
9501,
62,
4906,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
9501,
62,
4906,
3256,
6376,
28,
1238,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2481,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8344,
2557,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
8344,
2557,
3256,
6376,
28,
2481,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1828,
11,
2099,
28,
23,
11,
269,
381,
62,
4906,
28,
22,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
22105,
62,
17618,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
22105,
62,
17618,
3256,
6376,
28,
1828,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1954,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
10459,
62,
3672,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
10459,
62,
3672,
3256,
6376,
28,
1954,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1731,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
33215,
62,
3672,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
33215,
62,
3672,
3256,
6376,
28,
1731,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1495,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
15596,
62,
738,
7483,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
15596,
62,
738,
7483,
3256,
6376,
28,
1495,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2075,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
15596,
62,
5715,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
15596,
62,
5715,
3256,
6376,
28,
2075,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1983,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
19875,
62,
8841,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
19875,
62,
8841,
3256,
6376,
28,
1983,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2078,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
37336,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
37336,
3256,
6376,
28,
2078,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1959,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
29460,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
29460,
3256,
6376,
28,
1959,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1270,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
7220,
62,
30255,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
7220,
62,
30255,
3256,
6376,
28,
1270,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
3132,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
66,
2317,
62,
7753,
62,
7857,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
66,
2317,
62,
7753,
62,
7857,
3256,
6376,
28,
3132,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2624,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
17618,
62,
1659,
62,
71,
896,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
17618,
62,
1659,
62,
71,
896,
3256,
6376,
28,
2624,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2091,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
23870,
62,
34945,
62,
9630,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
23870,
62,
34945,
62,
9630,
3256,
6376,
28,
2091,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2682,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
7839,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
7839,
3256,
6376,
28,
2682,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2327,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
38993,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
38993,
3256,
6376,
28,
2327,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2623,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
6371,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
6371,
3256,
6376,
28,
2623,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2718,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
365,
2047,
480,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
365,
2047,
480,
3256,
6376,
28,
2718,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2548,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2301,
8367,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
2301,
8367,
3256,
6376,
28,
2548,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
2670,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
5239,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
5239,
3256,
6376,
28,
2670,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
1821,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
12303,
312,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
10267,
13,
12303,
312,
3256,
6376,
28,
1821,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
3901,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
220,
220,
4808,
20114,
3525,
9864,
23680,
62,
50,
2606,
7397,
44011,
9863,
11,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
47785,
11,
198,
220,
11389,
1143,
62,
437,
28,
1433,
2996,
11,
198,
8,
628,
198,
62,
20114,
3525,
42197,
38,
2751,
62,
42197,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
24835,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
24835,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8367,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
24835,
13,
8367,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
17,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
1507,
2075,
11,
198,
220,
11389,
1143,
62,
437,
28,
1507,
3510,
11,
198,
8,
198,
198,
62,
20114,
3525,
42197,
38,
2751,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
9237,
51,
16406,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
17618,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
8095,
62,
17618,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
9630,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
8095,
62,
9630,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
23893,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
23893,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8043,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
8043,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
31499,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
31499,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
15596,
62,
12303,
312,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
51,
16406,
13,
15596,
62,
12303,
312,
3256,
6376,
28,
20,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
21,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
28,
29795,
20114,
3525,
42197,
38,
2751,
62,
42197,
11,
16589,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
1433,
3104,
11,
198,
220,
11389,
1143,
62,
437,
28,
1507,
3510,
11,
198,
8,
628,
198,
62,
20114,
3525,
46846,
62,
20114,
3525,
30910,
40165,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
9237,
11828,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
9237,
11828,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
17618,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
9237,
11828,
13,
8095,
62,
17618,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
17,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
9630,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
9237,
11828,
13,
8095,
62,
9630,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
17,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
1238,
1821,
11,
198,
220,
11389,
1143,
62,
437,
28,
2481,
486,
11,
198,
8,
198,
198,
62,
20114,
3525,
46846,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
9237,
13247,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
3672,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
3672,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
17,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
11213,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
11213,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
11085,
62,
16514,
27823,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
11085,
62,
16514,
27823,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
12957,
62,
16514,
27823,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
12957,
62,
16514,
27823,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8043,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
8043,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
22872,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
22872,
3256,
6376,
28,
20,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
21,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
31534,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
9237,
13247,
13,
31534,
3256,
6376,
28,
21,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
22,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
28,
29795,
20114,
3525,
46846,
62,
20114,
3525,
30910,
40165,
11,
16589,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
1507,
2920,
11,
198,
220,
11389,
1143,
62,
437,
28,
2481,
486,
11,
198,
8,
628,
198,
62,
46437,
4805,
4503,
7597,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
6719,
18709,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
6719,
18709,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
43681,
62,
17018,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
6719,
18709,
13,
43681,
62,
17018,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
24588,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
6719,
18709,
13,
24588,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
8095,
62,
9521,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
6719,
18709,
13,
8095,
62,
9521,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
1078,
7657,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
6719,
18709,
13,
1078,
7657,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
33803,
62,
24588,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
6719,
18709,
13,
33803,
62,
24588,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
17,
13464,
11,
198,
220,
11389,
1143,
62,
437,
28,
1954,
3901,
11,
198,
8,
628,
198,
62,
1565,
1847,
16309,
1797,
2200,
15490,
796,
43087,
13,
24564,
1968,
273,
7,
198,
220,
1438,
11639,
32750,
19100,
3256,
198,
220,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
3256,
198,
220,
29472,
28,
14202,
11,
198,
220,
2393,
28,
30910,
36584,
32961,
11,
198,
220,
7268,
62,
4906,
28,
14202,
11,
198,
220,
7032,
41888,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
33803,
62,
3672,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
33803,
62,
3672,
3256,
6376,
28,
15,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
16,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
2435,
62,
5589,
3902,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
2435,
62,
5589,
3902,
3256,
6376,
28,
16,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
17,
11,
2099,
28,
18,
11,
269,
381,
62,
4906,
28,
17,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
15,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
5239,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
5239,
3256,
6376,
28,
17,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
18,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
17566,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
17566,
3256,
6376,
28,
18,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
19,
11,
2099,
28,
1065,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
18,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
41888,
4357,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
13116,
62,
11600,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
13116,
62,
11600,
3256,
6376,
28,
19,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
20,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
13116,
62,
18747,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
13116,
62,
18747,
3256,
6376,
28,
20,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
21,
11,
2099,
28,
1157,
11,
269,
381,
62,
4906,
28,
940,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
220,
220,
43087,
13,
15878,
24564,
1968,
273,
7,
198,
220,
220,
220,
220,
220,
1438,
11639,
24455,
62,
8841,
3256,
1336,
62,
3672,
11639,
489,
292,
78,
62,
35350,
13,
32750,
19100,
13,
24455,
62,
8841,
3256,
6376,
28,
21,
11,
198,
220,
220,
220,
220,
220,
1271,
28,
22,
11,
2099,
28,
24,
11,
269,
381,
62,
4906,
28,
24,
11,
6167,
28,
16,
11,
198,
220,
220,
220,
220,
220,
468,
62,
12286,
62,
8367,
28,
25101,
11,
4277,
62,
8367,
28,
46903,
1098,
7203,
1600,
366,
40477,
12,
23,
12340,
198,
220,
220,
220,
220,
220,
3275,
62,
4906,
28,
14202,
11,
33829,
62,
4906,
28,
14202,
11,
7268,
62,
4906,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
318,
62,
2302,
3004,
28,
25101,
11,
7552,
62,
29982,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
3689,
28,
14202,
828,
198,
220,
16589,
198,
220,
18366,
41888,
198,
220,
16589,
198,
220,
28376,
62,
19199,
41888,
4357,
198,
220,
33829,
62,
19199,
41888,
198,
220,
16589,
198,
220,
3689,
28,
14202,
11,
198,
220,
318,
62,
2302,
437,
540,
28,
25101,
11,
198,
220,
7552,
62,
81,
6231,
41888,
4357,
198,
220,
11389,
1143,
62,
9688,
28,
1954,
2598,
11,
198,
220,
11389,
1143,
62,
437,
28,
1495,
3559,
11,
198,
8,
198,
198,
62,
1404,
5446,
9865,
37780,
13,
25747,
62,
1525,
62,
3672,
17816,
18747,
6,
4083,
20500,
62,
4906,
796,
4808,
1503,
30631,
198,
62,
1404,
5446,
9865,
37780,
13,
25747,
62,
1525,
62,
3672,
17816,
11600,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
35,
18379,
13,
25747,
62,
1525,
62,
3672,
17816,
1078,
7657,
6,
4083,
20500,
62,
4906,
796,
4808,
1404,
5446,
9865,
37780,
198,
62,
39488,
13,
25747,
62,
1525,
62,
3672,
17816,
18747,
6,
4083,
20500,
62,
4906,
796,
4808,
1503,
30631,
198,
62,
39488,
13,
25747,
62,
1525,
62,
3672,
17816,
11600,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
1503,
30631,
13,
25747,
62,
1525,
62,
3672,
17816,
27160,
6,
4083,
20500,
62,
4906,
796,
4808,
39488,
198,
62,
20114,
3525,
9864,
23680,
13,
25747,
62,
1525,
62,
3672,
17816,
1078,
7657,
6,
4083,
20500,
62,
4906,
796,
4808,
1404,
5446,
9865,
37780,
198,
62,
20114,
3525,
9864,
23680,
13,
25747,
62,
1525,
62,
3672,
17816,
12985,
6,
4083,
20500,
62,
4906,
796,
4808,
20114,
3525,
42197,
38,
2751,
198,
62,
20114,
3525,
9864,
23680,
13,
25747,
62,
1525,
62,
3672,
17816,
10459,
62,
19509,
6,
4083,
44709,
62,
4906,
796,
4808,
20114,
3525,
9864,
23680,
62,
50,
2606,
7397,
44011,
9863,
198,
62,
20114,
3525,
9864,
23680,
13,
25747,
62,
1525,
62,
3672,
17816,
37336,
6,
4083,
20500,
62,
4906,
796,
4808,
1503,
30631,
198,
62,
20114,
3525,
9864,
23680,
13,
25747,
62,
1525,
62,
3672,
17816,
38993,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
20114,
3525,
9864,
23680,
13,
25747,
62,
1525,
62,
3672,
17816,
2301,
8367,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
20114,
3525,
9864,
23680,
62,
50,
2606,
7397,
44011,
9863,
13,
38301,
62,
4906,
796,
4808,
20114,
3525,
9864,
23680,
26,
198,
62,
20114,
3525,
42197,
38,
2751,
62,
42197,
13,
38301,
62,
4906,
796,
4808,
20114,
3525,
42197,
38,
2751,
26,
198,
62,
20114,
3525,
42197,
38,
2751,
13,
25747,
62,
1525,
62,
3672,
17816,
31499,
6,
4083,
20500,
62,
4906,
796,
4808,
20114,
3525,
42197,
38,
2751,
62,
42197,
198,
62,
20114,
3525,
46846,
62,
20114,
3525,
30910,
40165,
13,
38301,
62,
4906,
796,
4808,
20114,
3525,
46846,
26,
198,
62,
20114,
3525,
46846,
13,
25747,
62,
1525,
62,
3672,
17816,
31534,
6,
4083,
20500,
62,
4906,
796,
4808,
20114,
3525,
46846,
62,
20114,
3525,
30910,
40165,
198,
62,
46437,
4805,
4503,
7597,
13,
25747,
62,
1525,
62,
3672,
17816,
43681,
62,
17018,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
46437,
4805,
4503,
7597,
13,
25747,
62,
1525,
62,
3672,
17816,
24588,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
46437,
4805,
4503,
7597,
13,
25747,
62,
1525,
62,
3672,
17816,
8095,
62,
9521,
6,
4083,
20500,
62,
4906,
796,
4808,
1503,
30631,
198,
62,
46437,
4805,
4503,
7597,
13,
25747,
62,
1525,
62,
3672,
17816,
1078,
7657,
6,
4083,
20500,
62,
4906,
796,
4808,
1404,
5446,
9865,
37780,
198,
62,
46437,
4805,
4503,
7597,
13,
25747,
62,
1525,
62,
3672,
17816,
33803,
62,
24588,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
1565,
1847,
16309,
1797,
2200,
15490,
13,
25747,
62,
1525,
62,
3672,
17816,
13116,
62,
11600,
6,
4083,
20500,
62,
4906,
796,
4808,
35,
18379,
198,
62,
1565,
1847,
16309,
1797,
2200,
15490,
13,
25747,
62,
1525,
62,
3672,
17816,
13116,
62,
18747,
6,
4083,
20500,
62,
4906,
796,
4808,
1503,
30631,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
33682,
20520,
796,
4808,
1404,
5446,
9865,
37780,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
35,
713,
20520,
796,
4808,
35,
18379,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
11395,
20520,
796,
4808,
39488,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
19182,
20520,
796,
4808,
1503,
30631,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
9237,
10267,
20520,
796,
4808,
20114,
3525,
9864,
23680,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
9237,
51,
16406,
20520,
796,
4808,
20114,
3525,
42197,
38,
2751,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
9237,
13247,
20520,
796,
4808,
20114,
3525,
46846,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
6719,
18709,
20520,
796,
4808,
46437,
4805,
4503,
7597,
198,
30910,
36584,
32961,
13,
20500,
62,
19199,
62,
1525,
62,
3672,
17816,
32750,
19100,
20520,
796,
4808,
1565,
1847,
16309,
1797,
2200,
15490,
198,
198,
2,
25248,
11235,
420,
62,
28463,
295,
62,
4122,
7,
21412,
62,
29982,
8,
198
] | 2.306651 | 19,051 |
from django.db import models
| [
6738,
42625,
14208,
13,
9945,
1330,
4981,
628
] | 3.75 | 8 |
import psycopg
import elasticsearch
import psycopg.extras
from datetime import datetime
from elasticsearch import helpers, Elasticsearch
start = datetime.now()
postgres_client = psycopg.connect("postgres://username:[email protected]")
elasticsearch_client = Elasticsearch("http://username:[email protected]:9200")
cursor = postgres_client.cursor()
elasticsearch_client.indices.create('index_name')
_id = 0
cursor.execute("""SELECT * FROM table_name""")
many = cursor.fetchmany(10000)
while many:
package = [{
'_index': 'index_name',
'_id': (_id := _id + 1),
'_source': {
'name': name,
'description': description
}
} for name, description in many]
helpers.bulk(elasticsearch_client, package, max_retries=10)
many = cursor.fetchmany(1000)
print(elasticsearch_client.count(index='index_name'))
elasticsearch_client.indices.delete('index_name')
cursor.close()
postgres_client.close()
print(datetime.now() - start) | [
11748,
17331,
22163,
70,
198,
11748,
27468,
12947,
198,
11748,
17331,
22163,
70,
13,
2302,
8847,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
27468,
12947,
1330,
49385,
11,
48567,
12947,
198,
198,
9688,
796,
4818,
8079,
13,
2197,
3419,
198,
198,
7353,
34239,
62,
16366,
796,
17331,
22163,
70,
13,
8443,
7203,
7353,
34239,
1378,
29460,
25,
28712,
31,
16799,
13,
15,
13,
15,
13,
16,
4943,
198,
417,
3477,
12947,
62,
16366,
796,
48567,
12947,
7203,
4023,
1378,
29460,
25,
28712,
31,
16799,
13,
15,
13,
15,
13,
16,
25,
24,
2167,
4943,
198,
198,
66,
21471,
796,
1281,
34239,
62,
16366,
13,
66,
21471,
3419,
198,
198,
417,
3477,
12947,
62,
16366,
13,
521,
1063,
13,
17953,
10786,
9630,
62,
3672,
11537,
198,
198,
62,
312,
796,
657,
198,
198,
66,
21471,
13,
41049,
7203,
15931,
46506,
1635,
16034,
3084,
62,
3672,
15931,
4943,
198,
21834,
796,
23493,
13,
69,
7569,
21834,
7,
49388,
8,
198,
198,
4514,
867,
25,
198,
220,
5301,
796,
685,
90,
198,
220,
220,
220,
705,
62,
9630,
10354,
705,
9630,
62,
3672,
3256,
198,
220,
220,
220,
705,
62,
312,
10354,
44104,
312,
19039,
4808,
312,
1343,
352,
828,
198,
220,
220,
220,
705,
62,
10459,
10354,
1391,
198,
220,
220,
220,
220,
220,
705,
3672,
10354,
1438,
11,
198,
220,
220,
220,
220,
220,
705,
11213,
10354,
6764,
198,
220,
220,
220,
1782,
198,
220,
1782,
329,
1438,
11,
6764,
287,
867,
60,
628,
220,
49385,
13,
65,
12171,
7,
417,
3477,
12947,
62,
16366,
11,
5301,
11,
3509,
62,
1186,
1678,
28,
940,
8,
198,
220,
220,
198,
220,
867,
796,
23493,
13,
69,
7569,
21834,
7,
12825,
8,
198,
198,
4798,
7,
417,
3477,
12947,
62,
16366,
13,
9127,
7,
9630,
11639,
9630,
62,
3672,
6,
4008,
198,
198,
417,
3477,
12947,
62,
16366,
13,
521,
1063,
13,
33678,
10786,
9630,
62,
3672,
11537,
198,
198,
66,
21471,
13,
19836,
3419,
198,
7353,
34239,
62,
16366,
13,
19836,
3419,
198,
198,
4798,
7,
19608,
8079,
13,
2197,
3419,
532,
923,
8
] | 2.796512 | 344 |
import pandas as pd
import os
import logging
from pathlib import Path
import sys
#
# Configure the path
#FILE_PATH = Path(__file__).resolve().parent
FILE_PATH = '/home/emi/unipd/Sartori_CBSD/project/cbsdproject'
DATA_PATH = FILE_PATH + '/data'
DATA_FILE = DATA_PATH + '/tweets_cleaned.csv'
UTILS_PATH = FILE_PATH + '/utils'
MODELS_PATH = FILE_PATH + '/models'
#DATA_PATH = FILE_PATH / 'data'
#DATA_FILE = DATA_PATH / 'tweets_cleaned.csv'
#UTILS_PATH = FILE_PATH / 'utils'
sys.path.append(str(UTILS_PATH))
import clustering_embeddings
CLASSIFIER_FILE = 'classifier_umlfit_parties_exported.pkl'
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger('Clustering Embeddings')
df = pd.read_csv(DATA_FILE, nrows=300)
party = 1
df_party = df[df['party']==party]
OUTPUT_EMBEDDINGS_FILE = f'umlfit_embeddings_party{party}.pkl'
clustering_embeddings.get_save_embeddings(CLASSIFIER_FILE, df_party, 'full_text', embeddings_filename=OUTPUT_EMBEDDINGS_FILE)
party=1
OUTPUT_EMBEDDINGS_FILE = f'umlfit_embeddings_party{party}.pkl'
OUTPUT_KMEANS_EMBEDDINGS_FILE = f'labels_kmeanstfidf_party{party}.pkl'
clustering_embeddings.get_clusters(OUTPUT_EMBEDDINGS_FILE, OUTPUT_KMEANS_EMBEDDINGS_FILE)
| [
11748,
19798,
292,
355,
279,
67,
198,
11748,
28686,
198,
11748,
18931,
198,
6738,
3108,
8019,
1330,
10644,
198,
11748,
25064,
198,
2,
198,
2,
17056,
495,
262,
3108,
198,
2,
25664,
62,
34219,
796,
10644,
7,
834,
7753,
834,
737,
411,
6442,
22446,
8000,
198,
198,
25664,
62,
34219,
796,
31051,
11195,
14,
43967,
14,
403,
541,
67,
14,
50,
433,
10145,
62,
34,
21800,
14,
16302,
14,
66,
1443,
67,
16302,
6,
198,
198,
26947,
62,
34219,
796,
45811,
62,
34219,
1343,
31051,
7890,
6,
198,
26947,
62,
25664,
796,
42865,
62,
34219,
1343,
31051,
83,
732,
1039,
62,
2375,
22739,
13,
40664,
6,
198,
3843,
45484,
62,
34219,
796,
45811,
62,
34219,
1343,
31051,
26791,
6,
198,
33365,
37142,
62,
34219,
796,
45811,
62,
34219,
1343,
31051,
27530,
6,
198,
198,
2,
26947,
62,
34219,
796,
45811,
62,
34219,
1220,
705,
7890,
6,
198,
2,
26947,
62,
25664,
796,
42865,
62,
34219,
1220,
705,
83,
732,
1039,
62,
2375,
22739,
13,
40664,
6,
198,
2,
3843,
45484,
62,
34219,
796,
45811,
62,
34219,
1220,
705,
26791,
6,
198,
17597,
13,
6978,
13,
33295,
7,
2536,
7,
3843,
45484,
62,
34219,
4008,
198,
198,
11748,
32966,
1586,
62,
20521,
67,
654,
220,
628,
198,
31631,
5064,
38311,
62,
25664,
796,
705,
4871,
7483,
62,
388,
1652,
270,
62,
3911,
444,
62,
1069,
9213,
13,
79,
41582,
6,
198,
198,
6404,
2667,
13,
35487,
16934,
7,
5715,
28,
6404,
2667,
13,
10778,
8,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
10786,
2601,
436,
1586,
13302,
6048,
654,
11537,
628,
198,
7568,
796,
279,
67,
13,
961,
62,
40664,
7,
26947,
62,
25664,
11,
299,
8516,
28,
6200,
8,
198,
10608,
796,
352,
198,
7568,
62,
10608,
796,
47764,
58,
7568,
17816,
10608,
20520,
855,
10608,
60,
220,
198,
198,
2606,
7250,
3843,
62,
3620,
33,
1961,
35,
20754,
62,
25664,
796,
277,
6,
388,
1652,
270,
62,
20521,
67,
654,
62,
10608,
90,
10608,
27422,
79,
41582,
6,
198,
198,
565,
436,
1586,
62,
20521,
67,
654,
13,
1136,
62,
21928,
62,
20521,
67,
654,
7,
31631,
5064,
38311,
62,
25664,
11,
47764,
62,
10608,
11,
705,
12853,
62,
5239,
3256,
11525,
67,
654,
62,
34345,
28,
2606,
7250,
3843,
62,
3620,
33,
1961,
35,
20754,
62,
25664,
8,
198,
198,
10608,
28,
16,
198,
198,
2606,
7250,
3843,
62,
3620,
33,
1961,
35,
20754,
62,
25664,
796,
277,
6,
388,
1652,
270,
62,
20521,
67,
654,
62,
10608,
90,
10608,
27422,
79,
41582,
6,
198,
198,
2606,
7250,
3843,
62,
42,
11682,
15037,
62,
3620,
33,
1961,
35,
20754,
62,
25664,
796,
277,
6,
23912,
1424,
62,
74,
32604,
301,
69,
312,
69,
62,
10608,
90,
10608,
27422,
79,
41582,
6,
198,
198,
565,
436,
1586,
62,
20521,
67,
654,
13,
1136,
62,
565,
13654,
7,
2606,
7250,
3843,
62,
3620,
33,
1961,
35,
20754,
62,
25664,
11,
16289,
30076,
62,
42,
11682,
15037,
62,
3620,
33,
1961,
35,
20754,
62,
25664,
8,
198
] | 2.421687 | 498 |
from datetime import datetime, timedelta
from django.db import models
from django.utils.timezone import utc
from django.contrib.auth.models import AbstractUser
from django.conf import settings
| [
6738,
4818,
8079,
1330,
4818,
8079,
11,
28805,
12514,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
4981,
198,
6738,
42625,
14208,
13,
26791,
13,
2435,
11340,
1330,
3384,
66,
198,
6738,
42625,
14208,
13,
3642,
822,
13,
18439,
13,
27530,
1330,
27741,
12982,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
628,
628
] | 3.648148 | 54 |
#!/usr/bin/env python3
import os
import sys
import logging
import csv
import argparse
from signal import signal, SIGPIPE, SIG_DFL
logger = logging.getLogger()
signal(SIGPIPE, SIG_DFL)
FILTER_MAP = {
'ufo-states': unidentified_states,
'no-title': no_title,
'no-group': no_group,
'multi-cat': multiple_categories
}
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Filters a CSV file using a custom set of predefined filters')
parser.add_argument('infile', nargs='?',
type=argparse.FileType('r'), default=sys.stdin,
help='Path to the CSV file to search on')
parser.add_argument('--columns', type=str, nargs='+',
help='Column names to output')
parser.add_argument('--filter', type=str,
choices=sorted(FILTER_MAP.keys()),
help='Specify a predefined filter to run on the CSV')
args = parser.parse_args()
main(args)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
18931,
198,
11748,
269,
21370,
198,
11748,
1822,
29572,
198,
6738,
6737,
1330,
6737,
11,
33993,
47,
4061,
36,
11,
33993,
62,
35,
3697,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
3419,
198,
12683,
282,
7,
50,
3528,
47,
4061,
36,
11,
33993,
62,
35,
3697,
8,
628,
628,
628,
198,
46700,
5781,
62,
33767,
796,
1391,
198,
220,
220,
220,
705,
3046,
78,
12,
27219,
10354,
27022,
62,
27219,
11,
198,
220,
220,
220,
705,
3919,
12,
7839,
10354,
645,
62,
7839,
11,
198,
220,
220,
220,
705,
3919,
12,
8094,
10354,
645,
62,
8094,
11,
198,
220,
220,
220,
705,
41684,
12,
9246,
10354,
3294,
62,
66,
26129,
198,
92,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
11639,
11928,
1010,
257,
44189,
2393,
1262,
257,
2183,
900,
286,
2747,
18156,
16628,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
259,
7753,
3256,
299,
22046,
11639,
30,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
28,
853,
29572,
13,
8979,
6030,
10786,
81,
33809,
4277,
28,
17597,
13,
19282,
259,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
15235,
284,
262,
44189,
2393,
284,
2989,
319,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
28665,
82,
3256,
2099,
28,
2536,
11,
299,
22046,
11639,
10,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
39470,
3891,
284,
5072,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
24455,
3256,
2099,
28,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7747,
28,
82,
9741,
7,
46700,
5781,
62,
33767,
13,
13083,
3419,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
22882,
1958,
257,
2747,
18156,
8106,
284,
1057,
319,
262,
44189,
11537,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
1388,
7,
22046,
8,
198
] | 2.302752 | 436 |
#-*- coding: utf-8 -*-
'''
evaluate AHDE
'''
import csv
from AHDE_Model import *
from AHDE_process_data import *
from AHDE_evaluation import *
import os
import time
import argparse
from random import shuffle
from params import Params
if __name__ == '__main__':
p = argparse.ArgumentParser()
p.add_argument('--model_path', type=str, default="")
p.add_argument('--batch_size', type=int, default=256)
p.add_argument('--encoder_size', type=int, default=80)
p.add_argument('--context_size', type=int, default=10)
p.add_argument('--encoderR_size', type=int, default=80)
# siaseme RNN
p.add_argument('--num_layer', type=int, default=2)
p.add_argument('--hidden_dim', type=int, default=300)
# context RNN
p.add_argument('--num_layer_con', type=int, default=2)
p.add_argument('--hidden_dim_con', type=int, default=300)
p.add_argument('--embed_size', type=int, default=200)
p.add_argument('--num_train_steps', type=int, default=10000)
p.add_argument('--lr', type=float, default=1e-1)
p.add_argument('--valid_freq', type=int, default=500)
p.add_argument('--is_save', type=int, default=0)
p.add_argument('--graph_prefix', type=str, default="default")
p.add_argument('--is_test', type=int, default=0)
p.add_argument('--use_glove', type=int, default=0)
p.add_argument('--fix_embed', type=int, default=0)
# latent topic
p.add_argument('--memory_dim', type=int, default=32)
p.add_argument('--topic_size', type=int, default=0)
args = p.parse_args()
main(
model_path=args.model_path,
batch_size=args.batch_size,
encoder_size=args.encoder_size,
context_size=args.context_size,
encoderR_size=args.encoderR_size,
num_layer=args.num_layer,
hidden_dim=args.hidden_dim,
num_layer_con=args.num_layer_con,
hidden_dim_con=args.hidden_dim_con,
embed_size=args.embed_size,
num_train_steps=args.num_train_steps,
lr=args.lr,
valid_freq=args.valid_freq,
is_save=args.is_save,
is_test=args.is_test,
use_glove=args.use_glove,
fix_embed=args.fix_embed,
memory_dim=args.memory_dim,
topic_size=args.topic_size
) | [
2,
12,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
7061,
6,
198,
49786,
28159,
7206,
198,
7061,
6,
198,
11748,
269,
21370,
198,
6738,
28159,
7206,
62,
17633,
1330,
1635,
198,
6738,
28159,
7206,
62,
14681,
62,
7890,
1330,
1635,
198,
6738,
28159,
7206,
62,
18206,
2288,
1330,
1635,
198,
198,
11748,
28686,
198,
11748,
640,
198,
11748,
1822,
29572,
198,
6738,
4738,
1330,
36273,
198,
6738,
42287,
1330,
2547,
4105,
628,
198,
220,
220,
220,
220,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
19849,
62,
6978,
3256,
2099,
28,
2536,
11,
4277,
2625,
4943,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
43501,
62,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
11645,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
12685,
12342,
62,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
1795,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
22866,
62,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
940,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
12685,
12342,
49,
62,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
1795,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
264,
4448,
34755,
371,
6144,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
22510,
62,
29289,
3256,
2099,
28,
600,
11,
4277,
28,
17,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
30342,
62,
27740,
3256,
2099,
28,
600,
11,
4277,
28,
6200,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
4732,
371,
6144,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
22510,
62,
29289,
62,
1102,
3256,
2099,
28,
600,
11,
4277,
28,
17,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
30342,
62,
27740,
62,
1102,
3256,
2099,
28,
600,
11,
4277,
28,
6200,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
20521,
62,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
2167,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
22510,
62,
27432,
62,
20214,
3256,
2099,
28,
600,
11,
4277,
28,
49388,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
14050,
3256,
2099,
28,
22468,
11,
4277,
28,
16,
68,
12,
16,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
12102,
62,
19503,
80,
3256,
2099,
28,
600,
11,
4277,
28,
4059,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
271,
62,
21928,
3256,
2099,
28,
600,
11,
4277,
28,
15,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
34960,
62,
40290,
3256,
2099,
28,
2536,
11,
4277,
2625,
12286,
4943,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
271,
62,
9288,
3256,
2099,
28,
600,
11,
4277,
28,
15,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
1904,
62,
4743,
659,
3256,
2099,
28,
600,
11,
4277,
28,
15,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
13049,
62,
20521,
3256,
2099,
28,
600,
11,
4277,
28,
15,
8,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
41270,
7243,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
31673,
62,
27740,
3256,
2099,
28,
600,
11,
4277,
28,
2624,
8,
198,
220,
220,
220,
279,
13,
2860,
62,
49140,
10786,
438,
26652,
62,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
15,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
26498,
796,
279,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1388,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
6978,
28,
22046,
13,
19849,
62,
6978,
11,
198,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
22046,
13,
43501,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2207,
12342,
62,
7857,
28,
22046,
13,
12685,
12342,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4732,
62,
7857,
28,
22046,
13,
22866,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2207,
12342,
49,
62,
7857,
28,
22046,
13,
12685,
12342,
49,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
29289,
28,
22046,
13,
22510,
62,
29289,
11,
198,
220,
220,
220,
220,
220,
220,
220,
7104,
62,
27740,
28,
22046,
13,
30342,
62,
27740,
11,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
29289,
62,
1102,
28,
22046,
13,
22510,
62,
29289,
62,
1102,
11,
198,
220,
220,
220,
220,
220,
220,
220,
7104,
62,
27740,
62,
1102,
28,
22046,
13,
30342,
62,
27740,
62,
1102,
11,
198,
220,
220,
220,
220,
220,
220,
220,
11525,
62,
7857,
28,
22046,
13,
20521,
62,
7857,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
997,
62,
27432,
62,
20214,
28,
22046,
13,
22510,
62,
27432,
62,
20214,
11,
198,
220,
220,
220,
220,
220,
220,
220,
300,
81,
28,
22046,
13,
14050,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4938,
62,
19503,
80,
28,
22046,
13,
12102,
62,
19503,
80,
11,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
21928,
28,
22046,
13,
271,
62,
21928,
11,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
9288,
28,
22046,
13,
271,
62,
9288,
11,
198,
220,
220,
220,
220,
220,
220,
220,
779,
62,
4743,
659,
28,
22046,
13,
1904,
62,
4743,
659,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4259,
62,
20521,
28,
22046,
13,
13049,
62,
20521,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4088,
62,
27740,
28,
22046,
13,
31673,
62,
27740,
11,
198,
220,
220,
220,
220,
220,
220,
220,
7243,
62,
7857,
28,
22046,
13,
26652,
62,
7857,
198,
220,
220,
220,
220,
220,
220,
220,
1267
] | 2.189215 | 1,057 |
# -*- coding: utf-8 -*-
from app import *
from functools import wraps
from datetime import datetime
# Decorators
# ----------------------------------------------------------------------------------------------------------------------
# TODO: Müssen Decorators in jedem .py - File vorkommen - oder kann man die nicht zentral ausgliedern?
def login_erforderlich(f):
"""Der Decorator fragt ab ob der Benutzer eingeloggt ist, wenn nicht leitet er zum login um"""
@wraps(f)
return decorated_function
def admin_erforderlich(f):
"""Der Decorator fragt ab ob der Benutzerstatus kleiner zwei ist und leitet sonst zur Startseite"""
@wraps(f)
return decorated_function
# ----------------------------------------------------------------------------------------------------------------------
# Standardabfragemethode zum Ausführen von Datenbankqueries
# Usermethoden
def get_user_id(username):
"""Convenience method to look up the id for a username."""
r = query_db('select user_id from user where user_name = ?',
[username], one=True)
return r if r else None
def get_user_name(userid):
"""Convenience method to look up the name for a userid."""
rv = query_db('select user_name from user where user_id = ?',
[userid], one=True)
return rv[0] if rv else None
# Userrouting
@app.route('/userlist')
def user_list():
""" Gibt eine Liste von allen Benutzern aus die registriert sind"""
rv = query_db('select user_name from user')
if rv is None:
abort(404)
return render_template('userlist.htm', users=query_db('''select user_name, user_id, user_email, user_land,
user_status, user_points from user order by user_points desc'''))
@app.route('/userinfo')
@login_erforderlich
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
6738,
598,
1330,
1635,
198,
6738,
1257,
310,
10141,
1330,
27521,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
198,
2,
4280,
273,
2024,
198,
2,
16529,
3880,
19351,
438,
198,
2,
16926,
46,
25,
40790,
824,
268,
4280,
273,
2024,
287,
474,
276,
368,
764,
9078,
532,
9220,
410,
967,
2002,
268,
532,
267,
1082,
479,
1236,
582,
4656,
299,
30830,
1976,
298,
1373,
257,
385,
4743,
798,
1142,
30,
198,
198,
4299,
17594,
62,
263,
69,
2875,
33467,
7,
69,
2599,
198,
220,
220,
220,
37227,
28532,
4280,
273,
1352,
7956,
83,
450,
909,
4587,
3932,
315,
9107,
304,
278,
417,
10332,
83,
318,
83,
11,
266,
1697,
299,
30830,
443,
270,
316,
1931,
1976,
388,
17594,
23781,
37811,
198,
220,
220,
220,
2488,
29988,
862,
7,
69,
8,
198,
220,
220,
220,
1441,
24789,
62,
8818,
628,
198,
4299,
13169,
62,
263,
69,
2875,
33467,
7,
69,
2599,
198,
220,
220,
220,
37227,
28532,
4280,
273,
1352,
7956,
83,
450,
909,
4587,
3932,
315,
9107,
13376,
479,
293,
7274,
1976,
42990,
318,
83,
3318,
443,
270,
316,
3367,
301,
1976,
333,
7253,
325,
578,
37811,
198,
220,
220,
220,
2488,
29988,
862,
7,
69,
8,
198,
220,
220,
220,
1441,
24789,
62,
8818,
198,
2,
16529,
3880,
19351,
438,
198,
198,
2,
8997,
397,
8310,
363,
368,
2788,
1098,
1976,
388,
27545,
69,
9116,
71,
918,
18042,
16092,
268,
17796,
421,
10640,
628,
198,
2,
11787,
24396,
268,
198,
4299,
651,
62,
7220,
62,
312,
7,
29460,
2599,
198,
220,
220,
220,
37227,
3103,
574,
1240,
2446,
284,
804,
510,
262,
4686,
329,
257,
20579,
526,
15931,
198,
220,
220,
220,
374,
796,
12405,
62,
9945,
10786,
19738,
2836,
62,
312,
422,
2836,
810,
2836,
62,
3672,
796,
5633,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
29460,
4357,
530,
28,
17821,
8,
198,
220,
220,
220,
1441,
374,
611,
374,
2073,
6045,
628,
198,
4299,
651,
62,
7220,
62,
3672,
7,
7220,
312,
2599,
198,
220,
220,
220,
37227,
3103,
574,
1240,
2446,
284,
804,
510,
262,
1438,
329,
257,
2836,
312,
526,
15931,
198,
220,
220,
220,
374,
85,
796,
12405,
62,
9945,
10786,
19738,
2836,
62,
3672,
422,
2836,
810,
2836,
62,
312,
796,
5633,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
7220,
312,
4357,
530,
28,
17821,
8,
198,
220,
220,
220,
1441,
374,
85,
58,
15,
60,
611,
374,
85,
2073,
6045,
628,
198,
2,
11787,
81,
13660,
198,
198,
31,
1324,
13,
38629,
10786,
14,
7220,
4868,
11537,
198,
4299,
2836,
62,
4868,
33529,
198,
220,
220,
220,
37227,
12488,
83,
304,
500,
7343,
68,
18042,
477,
268,
3932,
27839,
1142,
257,
385,
4656,
4214,
380,
861,
264,
521,
37811,
198,
220,
220,
220,
374,
85,
796,
12405,
62,
9945,
10786,
19738,
2836,
62,
3672,
422,
2836,
11537,
198,
220,
220,
220,
611,
374,
85,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
26429,
8,
198,
220,
220,
220,
1441,
8543,
62,
28243,
10786,
7220,
4868,
13,
19211,
3256,
2985,
28,
22766,
62,
9945,
7,
7061,
6,
19738,
2836,
62,
3672,
11,
2836,
62,
312,
11,
2836,
62,
12888,
11,
2836,
62,
1044,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
13376,
11,
2836,
62,
13033,
422,
2836,
1502,
416,
2836,
62,
13033,
1715,
7061,
6,
4008,
628,
198,
31,
1324,
13,
38629,
10786,
14,
7220,
10951,
11537,
198,
31,
38235,
62,
263,
69,
2875,
33467,
198
] | 2.774242 | 660 |
from .basic_led_strip_proxy import BasicLedStripProxy
| [
6738,
764,
35487,
62,
992,
62,
36311,
62,
36436,
1330,
14392,
42416,
1273,
5528,
44148,
198
] | 3.375 | 16 |
import image_sectioner
import video_capture
import video_feed_test
import pyueye_main
import video_capture_with_IDS
if __name__=="__main__":
main() | [
11748,
2939,
62,
5458,
263,
201,
198,
11748,
2008,
62,
27144,
495,
201,
198,
11748,
2008,
62,
12363,
62,
9288,
201,
198,
11748,
12972,
518,
5948,
62,
12417,
201,
198,
11748,
2008,
62,
27144,
495,
62,
4480,
62,
14255,
201,
198,
201,
198,
361,
11593,
3672,
834,
855,
1,
834,
12417,
834,
1298,
201,
198,
220,
220,
220,
1388,
3419
] | 2.65 | 60 |
import unittest
| [
11748,
555,
715,
395,
628
] | 3.4 | 5 |
from cuschess.logic import *
import pygame
import time
LIGHTPINK = "#FFC0CB"
PINK = "#FF69B4"
RED = "#FF0000"
WHITE = "#FFFFFF"
BLACK = "#000000"
| [
198,
198,
6738,
269,
385,
2395,
824,
13,
6404,
291,
1330,
1635,
198,
11748,
12972,
6057,
198,
11748,
640,
198,
198,
43,
9947,
47,
17248,
796,
25113,
37,
4851,
15,
23199,
1,
198,
47,
17248,
796,
25113,
5777,
3388,
33,
19,
1,
198,
22083,
796,
25113,
5777,
2388,
1,
198,
12418,
12709,
796,
25113,
29312,
5777,
1,
198,
9148,
8120,
796,
25113,
10535,
1,
628
] | 2.307692 | 65 |
import argparse
import os
import numpy as np
import autosklearn
import autosklearn.data
import autosklearn.data.data_manager
import autosklearn.models.evaluator
from ParamSklearn.classification import ParamSklearnClassifier
parser = argparse.ArgumentParser()
parser.add_argument('input')
parser.add_argument('output')
args = parser.parse_args()
input = args.input
dataset = 'madeline'
output = args.output
D = autosklearn.data.data_manager.DataManager(dataset, input)
X = D.data['X_train']
y = D.data['Y_train']
X_valid = D.data['X_valid']
X_test = D.data['X_test']
# Subset of features found with RFE. Feature with least importance in sklearn
# RF removed. Afterwards, trained RF on remaining features with 5CV. In the
# end, choose feature set with lowest error
features = [52, 70, 74, 83, 85, 135, 162, 183, 184, 185, 191, 197, 232, 237,
239, 252]
X = X[:, features]
X_valid = X_valid[:, features]
X_test = X_test[:, features]
# Weights of the ensemble members as determined by Ensemble Selection
weights = np.array([0.100000, 0.080000, 0.080000, 0.060000, 0.060000,
0.060000, 0.060000, 0.040000, 0.040000, 0.040000,
0.040000, 0.040000, 0.020000, 0.020000, 0.020000,
0.020000, 0.020000, 0.020000, 0.020000, 0.020000,
0.020000, 0.020000, 0.020000, 0.020000, 0.020000,
0.020000, 0.020000])
# Ensemble members found by SMAC
configurations = [
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'median',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '4.0',
'k_nearest_neighbors:p': '1.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'standard',
'select_rates:alpha': '0.124513266268',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'weighting',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.802981892271',
'kitchen_sinks:n_components': '704.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '7.66537661987',
'qda:tol': '0.000779904033875',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.658527701661',
'kitchen_sinks:n_components': '499.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '4.13193776587',
'qda:tol': '0.0026677961139',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.658527701661',
'kitchen_sinks:n_components': '498.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '7.39545021165',
'qda:tol': '0.00116251661342',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.758771699267',
'kitchen_sinks:n_components': '794.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '4.57263430441',
'qda:tol': '0.00284918317943',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'most_frequent',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '5.0',
'k_nearest_neighbors:p': '1.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'min/max',
'select_rates:alpha': '0.0683198728939',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.773869494191',
'kitchen_sinks:n_components': '608.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '5.34388968302',
'qda:tol': '0.000118437687463',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'mean',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '4.0',
'k_nearest_neighbors:p': '1.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'min/max',
'select_rates:alpha': '0.0953909302386',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'chi2'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.722743897655',
'kitchen_sinks:n_components': '952.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '3.61200930387',
'qda:tol': '0.000911935213882',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'most_frequent',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '3.0',
'k_nearest_neighbors:p': '2.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'standard',
'select_rates:alpha': '0.12499749257',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'most_frequent',
'kitchen_sinks:gamma': '0.521009778754',
'kitchen_sinks:n_components': '581.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '0.570532656005',
'qda:tol': '0.00759604479274',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'median',
'kitchen_sinks:gamma': '0.736334496442',
'kitchen_sinks:n_components': '590.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '8.78913455152',
'qda:tol': '0.0417125881025',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'median',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '10.0',
'k_nearest_neighbors:p': '2.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'min/max',
'select_rates:alpha': '0.065583595323',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.725282605688',
'kitchen_sinks:n_components': '591.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '4.32023431675',
'qda:tol': '2.95483713232e-05',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.686955501206',
'kitchen_sinks:n_components': '646.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '9.58493774318',
'qda:tol': '0.00612419830773',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'median',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '6.0',
'k_nearest_neighbors:p': '2.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'min/max',
'select_rates:alpha': '0.276130352686',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'most_frequent',
'kitchen_sinks:gamma': '0.549862378472',
'kitchen_sinks:n_components': '591.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '1.11536443906',
'qda:tol': '4.98941924261e-05',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'median',
'kitchen_sinks:gamma': '0.551878628115',
'kitchen_sinks:n_components': '913.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '2.80643663684',
'qda:tol': '0.0030955537468',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.797948222068',
'kitchen_sinks:n_components': '856.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '0.753439507859',
'qda:tol': '0.000179635997544',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'median',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '6.0',
'k_nearest_neighbors:p': '2.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'standard',
'select_rates:alpha': '0.121674691962',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'median',
'kitchen_sinks:gamma': '0.870787144807',
'kitchen_sinks:n_components': '591.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '3.25265485261',
'qda:tol': '0.000232802336471',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.725282605688',
'kitchen_sinks:n_components': '469.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '4.32023431675',
'qda:tol': '6.11461737038e-05',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.742290491524',
'kitchen_sinks:n_components': '699.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '1.80605719583',
'qda:tol': '0.00759903394814',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'mean',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '4.0',
'k_nearest_neighbors:p': '2.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'min/max',
'select_rates:alpha': '0.0556366440458',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.69436212216',
'kitchen_sinks:n_components': '477.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '7.19343875838',
'qda:tol': '0.00130430743783',
'rescaling:strategy': 'standard'},
{'balancing:strategy': 'weighting',
'classifier': 'k_nearest_neighbors',
'imputation:strategy': 'median',
'k_nearest_neighbors:algorithm': 'auto',
'k_nearest_neighbors:leaf_size': '30.0',
'k_nearest_neighbors:n_neighbors': '8.0',
'k_nearest_neighbors:p': '1.0',
'k_nearest_neighbors:weights': 'distance',
'preprocessor': 'select_rates',
'rescaling:strategy': 'standard',
'select_rates:alpha': '0.0962781949808',
'select_rates:mode': 'fdr',
'select_rates:score_func': 'f_classif'},
{'balancing:strategy': 'none',
'classifier': 'qda',
'imputation:strategy': 'mean',
'kitchen_sinks:gamma': '0.680526800011',
'kitchen_sinks:n_components': '627.0',
'preprocessor': 'kitchen_sinks',
'qda:reg_param': '3.3758872613',
'qda:tol': '0.0025551077682',
'rescaling:strategy': 'standard'},
]
classifiers = []
predictions_valid = []
predictions_test = []
# Make predictions and weight them
for weight, configuration in zip(weights, configurations):
for param in configuration:
try:
configuration[param] = int(configuration[param])
except Exception:
try:
configuration[param] = float(configuration[param])
except Exception:
pass
classifier = ParamSklearnClassifier(configuration, 1)
classifiers.append(classifier)
try:
classifier.fit(X.copy(), y.copy())
predictions_valid.append(
classifier.predict_proba(X_valid.copy()) * weight)
predictions_test.append(
classifier.predict_proba(X_test.copy()) * weight)
except Exception as e:
print e
print configuration
# Output the predictions
for name, predictions in [('valid', predictions_valid),
('test', predictions_test)]:
predictions = np.array(predictions)
predictions = np.sum(predictions, axis=0)
predictions = predictions[:, 1].reshape((-1, 1))
filepath = os.path.join(output, '%s_%s_000.predict' % (dataset, name))
np.savetxt(filepath, predictions, delimiter=' ') | [
11748,
1822,
29572,
198,
11748,
28686,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
11748,
44619,
74,
35720,
198,
11748,
44619,
74,
35720,
13,
7890,
198,
11748,
44619,
74,
35720,
13,
7890,
13,
7890,
62,
37153,
198,
11748,
44619,
74,
35720,
13,
27530,
13,
18206,
84,
1352,
198,
6738,
25139,
15739,
35720,
13,
4871,
2649,
1330,
25139,
15739,
35720,
9487,
7483,
628,
198,
48610,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
48610,
13,
2860,
62,
49140,
10786,
15414,
11537,
198,
48610,
13,
2860,
62,
49140,
10786,
22915,
11537,
198,
22046,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
198,
15414,
796,
26498,
13,
15414,
198,
19608,
292,
316,
796,
705,
9937,
4470,
6,
198,
22915,
796,
26498,
13,
22915,
198,
198,
35,
796,
44619,
74,
35720,
13,
7890,
13,
7890,
62,
37153,
13,
6601,
13511,
7,
19608,
292,
316,
11,
5128,
8,
198,
55,
796,
360,
13,
7890,
17816,
55,
62,
27432,
20520,
198,
88,
796,
360,
13,
7890,
17816,
56,
62,
27432,
20520,
198,
55,
62,
12102,
796,
360,
13,
7890,
17816,
55,
62,
12102,
20520,
198,
55,
62,
9288,
796,
360,
13,
7890,
17816,
55,
62,
9288,
20520,
198,
198,
2,
3834,
2617,
286,
3033,
1043,
351,
371,
15112,
13,
27018,
351,
1551,
6817,
287,
1341,
35720,
198,
2,
20445,
4615,
13,
39063,
11,
8776,
20445,
319,
5637,
3033,
351,
642,
33538,
13,
554,
262,
198,
2,
886,
11,
3853,
3895,
900,
351,
9016,
4049,
198,
40890,
796,
685,
4309,
11,
4317,
11,
8915,
11,
9698,
11,
7600,
11,
17501,
11,
25090,
11,
28551,
11,
28598,
11,
22855,
11,
31009,
11,
29903,
11,
31773,
11,
34385,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32817,
11,
25264,
60,
198,
198,
55,
796,
1395,
58,
45299,
3033,
60,
198,
55,
62,
12102,
796,
1395,
62,
12102,
58,
45299,
3033,
60,
198,
55,
62,
9288,
796,
1395,
62,
9288,
58,
45299,
3033,
60,
198,
198,
2,
775,
2337,
286,
262,
34549,
1866,
355,
5295,
416,
2039,
15140,
29538,
198,
43775,
796,
45941,
13,
18747,
26933,
15,
13,
3064,
830,
11,
657,
13,
2919,
2388,
11,
657,
13,
2919,
2388,
11,
657,
13,
3312,
2388,
11,
657,
13,
3312,
2388,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
3312,
2388,
11,
657,
13,
3312,
2388,
11,
657,
13,
3023,
2388,
11,
657,
13,
3023,
2388,
11,
657,
13,
3023,
2388,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
3023,
2388,
11,
657,
13,
3023,
2388,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
657,
13,
44613,
405,
11,
657,
13,
44613,
405,
12962,
198,
198,
2,
2039,
15140,
1866,
1043,
416,
9447,
2246,
198,
11250,
20074,
796,
685,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
19,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
16,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
1065,
2231,
1485,
25540,
25022,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
1795,
27728,
23362,
1828,
4869,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
32869,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
22,
13,
36879,
2718,
2791,
27301,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
830,
3324,
34155,
1821,
28460,
2425,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
2996,
5332,
27019,
486,
47159,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
28324,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
19,
13,
1485,
1129,
26514,
2996,
5774,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
2075,
3134,
41060,
1157,
2670,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
2996,
5332,
27019,
486,
47159,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
36260,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
22,
13,
2670,
4051,
1120,
21895,
2996,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
18298,
1495,
23055,
1485,
3682,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
38569,
3324,
1433,
2079,
25674,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
50242,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
19,
13,
3553,
2075,
2682,
1270,
39710,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
2078,
2920,
24839,
21738,
3559,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1712,
62,
69,
46018,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
20,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
16,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
1084,
14,
9806,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
15,
47521,
27301,
27693,
2670,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
3324,
2548,
3388,
39449,
26492,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
28688,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
20,
13,
2682,
2548,
4531,
3104,
22709,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
18005,
22883,
2718,
39925,
38380,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
19,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
16,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
1084,
14,
9806,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
2931,
20,
2670,
2931,
1270,
1954,
4521,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
11072,
17,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
22,
1828,
4524,
29769,
4304,
2816,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
49234,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
18,
13,
21,
27550,
45418,
32220,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
830,
6420,
1129,
2327,
26427,
42980,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1712,
62,
69,
46018,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
18,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
17,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
17464,
39647,
2920,
28676,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1712,
62,
69,
46018,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
20,
2481,
28694,
3324,
31360,
19,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
48630,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
15,
13,
39254,
4310,
2075,
3980,
22544,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
38314,
1899,
2598,
3720,
28857,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
49150,
2091,
31911,
2414,
3682,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
36993,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
23,
13,
40401,
1485,
30505,
17827,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
3023,
1558,
1065,
39118,
940,
1495,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
940,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
17,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
1084,
14,
9806,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
3312,
40486,
2327,
3865,
32637,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
45151,
2078,
21719,
20,
34427,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
48952,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
19,
13,
19504,
1954,
3559,
1433,
2425,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
17,
13,
3865,
2780,
2718,
1485,
24339,
68,
12,
2713,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
3104,
3388,
31046,
486,
22136,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
27720,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
24,
13,
3365,
2920,
26514,
3559,
1507,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
28041,
17464,
22337,
1270,
46871,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
21,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
17,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
1084,
14,
9806,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
1983,
5333,
1270,
2327,
2075,
4521,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1712,
62,
69,
46018,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
44966,
4521,
1954,
3695,
37856,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
48952,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
16,
13,
1157,
4310,
29173,
2670,
3312,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
19,
13,
4089,
5824,
1129,
1731,
30057,
68,
12,
2713,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
2816,
1507,
46302,
2078,
15363,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
24,
1485,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
17,
13,
1795,
2414,
32459,
2623,
5705,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
26895,
31046,
31020,
3104,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
3720,
3720,
2780,
1828,
1238,
3104,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
23,
3980,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
15,
13,
2425,
2682,
2670,
1120,
3695,
3270,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
18005,
41060,
2327,
2079,
2425,
2598,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
21,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
17,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
1065,
1433,
4524,
3388,
1129,
5237,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
46951,
41019,
18444,
36928,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
48952,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
18,
13,
1495,
22980,
32642,
30057,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
830,
1954,
21033,
25429,
2414,
4869,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
45151,
2078,
21719,
20,
34427,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
42947,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
19,
13,
19504,
1954,
3559,
1433,
2425,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
21,
13,
1157,
3510,
1558,
20167,
2548,
68,
12,
2713,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
4524,
1828,
3829,
2920,
1314,
1731,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
47325,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
16,
13,
1795,
1899,
3553,
1129,
46239,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
2425,
34155,
29626,
2780,
1415,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
19,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
17,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
1084,
14,
9806,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
2713,
3980,
2623,
2414,
1821,
29334,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
45214,
35667,
18376,
1433,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
32883,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
22,
13,
1129,
2682,
2548,
38569,
2548,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
8298,
21288,
1270,
4524,
2718,
5999,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
6551,
278,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
1150,
666,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
282,
42289,
10354,
705,
23736,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
33201,
62,
7857,
10354,
705,
1270,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
77,
62,
710,
394,
32289,
10354,
705,
23,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
79,
10354,
705,
16,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
74,
62,
710,
12423,
62,
710,
394,
32289,
25,
43775,
10354,
705,
30246,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
19738,
62,
9700,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26591,
10354,
705,
15,
13,
2931,
21,
25870,
1129,
2920,
28362,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
14171,
10354,
705,
69,
7109,
3256,
198,
220,
220,
220,
220,
705,
19738,
62,
9700,
25,
26675,
62,
20786,
10354,
705,
69,
62,
4871,
361,
6,
5512,
198,
220,
220,
220,
1391,
6,
6893,
5077,
25,
2536,
4338,
10354,
705,
23108,
3256,
198,
220,
220,
220,
220,
705,
4871,
7483,
10354,
705,
80,
6814,
3256,
198,
220,
220,
220,
220,
705,
320,
1996,
341,
25,
2536,
4338,
10354,
705,
32604,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
28483,
2611,
10354,
705,
15,
13,
21,
28256,
2075,
7410,
28555,
3256,
198,
220,
220,
220,
220,
705,
15813,
6607,
62,
82,
2973,
25,
77,
62,
5589,
3906,
10354,
705,
49856,
13,
15,
3256,
198,
220,
220,
220,
220,
705,
3866,
41341,
10354,
705,
15813,
6607,
62,
82,
2973,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
2301,
62,
17143,
10354,
705,
18,
13,
22318,
46660,
2075,
1485,
3256,
198,
220,
220,
220,
220,
705,
80,
6814,
25,
83,
349,
10354,
705,
15,
13,
405,
1495,
2816,
940,
3324,
43950,
3256,
198,
220,
220,
220,
220,
705,
411,
66,
4272,
25,
2536,
4338,
10354,
705,
20307,
6,
5512,
198,
60,
198,
198,
4871,
13350,
796,
17635,
198,
28764,
9278,
62,
12102,
796,
17635,
198,
28764,
9278,
62,
9288,
796,
17635,
198,
198,
2,
6889,
16277,
290,
3463,
606,
198,
1640,
3463,
11,
8398,
287,
19974,
7,
43775,
11,
25412,
2599,
198,
220,
220,
220,
329,
5772,
287,
8398,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8398,
58,
17143,
60,
796,
493,
7,
11250,
3924,
58,
17143,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8398,
58,
17143,
60,
796,
12178,
7,
11250,
3924,
58,
17143,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
1398,
7483,
796,
25139,
15739,
35720,
9487,
7483,
7,
11250,
3924,
11,
352,
8,
198,
220,
220,
220,
1398,
13350,
13,
33295,
7,
4871,
7483,
8,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1398,
7483,
13,
11147,
7,
55,
13,
30073,
22784,
331,
13,
30073,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
16277,
62,
12102,
13,
33295,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
7483,
13,
79,
17407,
62,
1676,
7012,
7,
55,
62,
12102,
13,
30073,
28955,
1635,
3463,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16277,
62,
9288,
13,
33295,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1398,
7483,
13,
79,
17407,
62,
1676,
7012,
7,
55,
62,
9288,
13,
30073,
28955,
1635,
3463,
8,
198,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
304,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
8398,
198,
198,
2,
25235,
262,
16277,
198,
1640,
1438,
11,
16277,
287,
685,
10786,
12102,
3256,
16277,
62,
12102,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19203,
9288,
3256,
16277,
62,
9288,
8,
5974,
198,
220,
220,
220,
16277,
796,
45941,
13,
18747,
7,
28764,
9278,
8,
198,
220,
220,
220,
16277,
796,
45941,
13,
16345,
7,
28764,
9278,
11,
16488,
28,
15,
8,
198,
220,
220,
220,
16277,
796,
16277,
58,
45299,
352,
4083,
3447,
1758,
19510,
12,
16,
11,
352,
4008,
628,
220,
220,
220,
2393,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
22915,
11,
705,
4,
82,
62,
4,
82,
62,
830,
13,
79,
17407,
6,
4064,
357,
19608,
292,
316,
11,
1438,
4008,
198,
220,
220,
220,
45941,
13,
21928,
14116,
7,
7753,
6978,
11,
16277,
11,
46728,
2676,
11639,
705,
8
] | 2.147119 | 6,403 |
print('登陆中...')
a = 0
b = 1
c = 2
d = 3
| [
4798,
10786,
163,
247,
119,
165,
247,
228,
40792,
986,
11537,
198,
64,
796,
657,
198,
65,
796,
352,
198,
66,
796,
362,
198,
67,
796,
513,
198
] | 1.428571 | 28 |
import os
import torch
from torch.utils.tensorboard.writer import SummaryWriter
from detection.src.loaders.data_manager import DetectionSetDataManager
from detection.src.yolo_maml import YOLOMAML
from utils import configs
from utils.io_utils import set_and_print_random_seed
from detection.src.yolov3.model import Darknet
from detection.src.yolov3.utils.parse_config import parse_data_config
class YOLOMAMLTraining():
"""
This step handles the training of the algorithm on the base dataset
"""
def __init__(
self,
dataset_config='yolov3/config/black.data',
model_config='yolov3/config/yolov3.cfg',
pretrained_weights=None,
n_way=5,
n_shot=5,
n_query=16,
optimizer='Adam',
learning_rate=0.001,
approx=True,
task_update_num=3,
print_freq=100,
validation_freq=1000,
n_epoch=100,
n_episode=100,
objectness_threshold=0.8,
nms_threshold=0.4,
iou_threshold=0.2,
image_size=416,
random_seed=None,
output_dir=configs.save_dir,
):
"""
Args:
dataset_config (str): path to data config file
model_config (str): path to model definition file
pretrained_weights (str): path to a file containing pretrained weights for the model
n_way (int): number of labels in a detection task
n_shot (int): number of support data in each class in an episode
n_query (int): number of query data in each class in an episode
optimizer (str): must be a valid class of torch.optim (Adam, SGD, ...)
learning_rate (float): learning rate fed to the optimizer
approx (bool): whether to use an approximation of the meta-backpropagation
task_update_num (int): number of updates inside each episode
print_freq (int): inside an epoch, print status update every print_freq episodes
validation_freq (int): inside an epoch, frequency with which we evaluate the model on the validation set
n_epoch (int): number of meta-training epochs
n_episode (int): number of episodes per epoch during meta-training
objectness_threshold (float): at evaluation time, only keep boxes with objectness above this threshold
nms_threshold (float): threshold for non maximum suppression, at evaluation time
iou_threshold (float): threshold for intersection over union
image_size (int): size of images (square)
random_seed (int): seed for random instantiations ; if none is provided, a seed is randomly defined
output_dir (str): path to experiments output directory
"""
self.dataset_config = dataset_config
self.model_config = model_config
self.pretrained_weights = pretrained_weights
self.n_way = n_way
self.n_shot = n_shot
self.n_query = n_query
self.optimizer = optimizer
self.learning_rate = learning_rate
self.approx = approx
self.task_update_num = task_update_num
self.print_freq = print_freq
self.validation_freq = validation_freq
self.n_epoch = n_epoch
self.n_episode = n_episode
self.objectness_threshold = objectness_threshold
self.nms_threshold = nms_threshold
self.iou_threshold = iou_threshold
self.image_size = image_size
self.random_seed = random_seed
self.checkpoint_dir = output_dir
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
self.writer = SummaryWriter(log_dir=output_dir)
def apply(self):
"""
Execute the YOLOMAMLTraining step
Returns:
dict: a dictionary containing the whole state of the model that gave the higher validation accuracy
"""
set_and_print_random_seed(self.random_seed, True, self.checkpoint_dir)
data_config = parse_data_config(self.dataset_config)
train_path = data_config["train"]
train_dict_path = data_config.get("train_dict_path", None)
valid_path = data_config.get("valid", None)
valid_dict_path = data_config.get("valid_dict_path", None)
base_loader = self._get_data_loader(train_path, train_dict_path)
val_loader = self._get_data_loader(valid_path, valid_dict_path)
model = self._get_model()
return self._train(base_loader, val_loader, model)
def _train(self, base_loader, val_loader, model):
"""
Trains the model on the base set
Args:
base_loader (torch.utils.data.DataLoader): data loader for base set
val_loader (torch.utils.data.DataLoader): data loader for validation set
model (YOLOMAML): neural network model to train
Returns:
dict: a dictionary containing the whole state of the model that gave the higher validation accuracy
"""
optimizer = self._get_optimizer(model)
for epoch in range(self.n_epoch):
loss_dict = model.train_loop(base_loader, optimizer)
self.plot_tensorboard(loss_dict, epoch)
if epoch % self.print_freq == 0:
print(
'Epoch {epoch}/{n_epochs} | Loss {loss}'.format(
epoch=epoch,
n_epochs=self.n_epoch,
loss=loss_dict['query_total_loss'],
)
)
if epoch % self.validation_freq == self.validation_freq - 1:
precision, recall, average_precision, f1, ap_class = model.eval_loop(val_loader)
self.writer.add_scalar('precision', precision.mean(), epoch)
self.writer.add_scalar('recall', recall.mean(), epoch)
self.writer.add_scalar('mAP', average_precision.mean(), epoch)
self.writer.add_scalar('F1', f1.mean(), epoch)
self.writer.close()
model.base_model.save_darknet_weights(os.path.join(self.checkpoint_dir, 'final.weights'))
return {'epoch': self.n_epoch, 'state': model.state_dict()}
def _get_optimizer(self, model):
"""
Get the optimizer from string self.optimizer
Args:
model (torch.nn.Module): the model to be trained
Returns: a torch.optim.Optimizer object parameterized with model parameters
"""
assert hasattr(torch.optim, self.optimizer), "The optimization method is not a torch.optim object"
optimizer = getattr(torch.optim, self.optimizer)(model.parameters(), lr=self.learning_rate)
return optimizer
def _get_data_loader(self, path_to_data_file, path_to_images_per_label):
"""
Args:
path_to_data_file (str): path to file containing paths to images
path_to_images_per_label (str): path to pickle file containing the dictionary of images per label
Returns:
torch.utils.data.DataLoader: samples data in the shape of a detection task
"""
data_manager = DetectionSetDataManager(self.n_way, self.n_shot, self.n_query, self.n_episode, self.image_size)
return data_manager.get_data_loader(path_to_data_file, path_to_images_per_label)
def _get_model(self):
"""
Returns:
YOLOMAML: meta-model
"""
base_model = Darknet(self.model_config, self.image_size, self.pretrained_weights)
model = YOLOMAML(
base_model,
self.n_way,
self.n_shot,
self.n_query,
self.image_size,
approx=self.approx,
task_update_num=self.task_update_num,
train_lr=self.learning_rate,
objectness_threshold=self.objectness_threshold,
nms_threshold=self.nms_threshold,
iou_threshold=self.iou_threshold,
device=self.device,
)
return model
def plot_tensorboard(self, loss_dict, epoch):
"""
Writes into summary the values present in loss_dict
Args:
loss_dict (dict): contains the different parts of the average loss on one epoch. Each key describes
a part of the loss (ex: query_classification_loss) and each value is a 0-dim tensor. This dictionary is
required to contain the keys 'support_total_loss' and 'query_total_loss' which contains respectively the
total loss on the support set, and the total meta-loss on the query set
epoch (int): global step value in the summary
Returns:
"""
for key, value in loss_dict.items():
self.writer.add_scalar(key, value, epoch)
return
| [
11748,
28686,
628,
198,
11748,
28034,
198,
6738,
28034,
13,
26791,
13,
83,
22854,
3526,
13,
16002,
1330,
21293,
34379,
198,
198,
6738,
13326,
13,
10677,
13,
2220,
364,
13,
7890,
62,
37153,
1330,
46254,
7248,
6601,
13511,
198,
6738,
13326,
13,
10677,
13,
88,
14057,
62,
76,
43695,
1330,
575,
3535,
2662,
2390,
43,
198,
6738,
3384,
4487,
1330,
4566,
82,
198,
6738,
3384,
4487,
13,
952,
62,
26791,
1330,
900,
62,
392,
62,
4798,
62,
25120,
62,
28826,
198,
6738,
13326,
13,
10677,
13,
88,
349,
709,
18,
13,
19849,
1330,
3801,
3262,
198,
6738,
13326,
13,
10677,
13,
88,
349,
709,
18,
13,
26791,
13,
29572,
62,
11250,
1330,
21136,
62,
7890,
62,
11250,
628,
198,
4871,
575,
3535,
2662,
2390,
43,
44357,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
770,
2239,
17105,
262,
3047,
286,
262,
11862,
319,
262,
2779,
27039,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
62,
11250,
11639,
88,
349,
709,
18,
14,
11250,
14,
13424,
13,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
11250,
11639,
88,
349,
709,
18,
14,
11250,
14,
88,
349,
709,
18,
13,
37581,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2181,
13363,
62,
43775,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
1014,
28,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
9442,
28,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
22766,
28,
1433,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
11639,
23159,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4673,
62,
4873,
28,
15,
13,
8298,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5561,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4876,
62,
19119,
62,
22510,
28,
18,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
19503,
80,
28,
3064,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21201,
62,
19503,
80,
28,
12825,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
538,
5374,
28,
3064,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
38668,
28,
3064,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2134,
1108,
62,
400,
10126,
28,
15,
13,
23,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
907,
62,
400,
10126,
28,
15,
13,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
280,
62,
400,
10126,
28,
15,
13,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7857,
28,
35218,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4738,
62,
28826,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
15908,
28,
11250,
82,
13,
21928,
62,
15908,
11,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
62,
11250,
357,
2536,
2599,
3108,
284,
1366,
4566,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
11250,
357,
2536,
2599,
3108,
284,
2746,
6770,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2181,
13363,
62,
43775,
357,
2536,
2599,
3108,
284,
257,
2393,
7268,
2181,
13363,
19590,
329,
262,
2746,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
1014,
357,
600,
2599,
1271,
286,
14722,
287,
257,
13326,
4876,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
9442,
357,
600,
2599,
1271,
286,
1104,
1366,
287,
1123,
1398,
287,
281,
4471,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
22766,
357,
600,
2599,
1271,
286,
12405,
1366,
287,
1123,
1398,
287,
281,
4471,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
357,
2536,
2599,
1276,
307,
257,
4938,
1398,
286,
28034,
13,
40085,
357,
23159,
11,
26147,
35,
11,
2644,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4673,
62,
4873,
357,
22468,
2599,
4673,
2494,
11672,
284,
262,
6436,
7509,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5561,
357,
30388,
2599,
1771,
284,
779,
281,
40874,
286,
262,
13634,
12,
1891,
22930,
363,
341,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4876,
62,
19119,
62,
22510,
357,
600,
2599,
1271,
286,
5992,
2641,
1123,
4471,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
62,
19503,
80,
357,
600,
2599,
2641,
281,
36835,
11,
3601,
3722,
4296,
790,
3601,
62,
19503,
80,
8640,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21201,
62,
19503,
80,
357,
600,
2599,
2641,
281,
36835,
11,
8373,
351,
543,
356,
13446,
262,
2746,
319,
262,
21201,
900,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
538,
5374,
357,
600,
2599,
1271,
286,
13634,
12,
34409,
36835,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
38668,
357,
600,
2599,
1271,
286,
8640,
583,
36835,
1141,
13634,
12,
34409,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2134,
1108,
62,
400,
10126,
357,
22468,
2599,
379,
12660,
640,
11,
691,
1394,
10559,
351,
2134,
1108,
2029,
428,
11387,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
907,
62,
400,
10126,
357,
22468,
2599,
11387,
329,
1729,
5415,
22711,
11,
379,
12660,
640,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
280,
62,
400,
10126,
357,
22468,
2599,
11387,
329,
16246,
625,
6441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7857,
357,
600,
2599,
2546,
286,
4263,
357,
23415,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4738,
62,
28826,
357,
600,
2599,
9403,
329,
4738,
9113,
40356,
2162,
611,
4844,
318,
2810,
11,
257,
9403,
318,
15456,
5447,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
15908,
357,
2536,
2599,
3108,
284,
10256,
5072,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19608,
292,
316,
62,
11250,
796,
27039,
62,
11250,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19849,
62,
11250,
796,
2746,
62,
11250,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
5310,
13363,
62,
43775,
796,
2181,
13363,
62,
43775,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
1014,
796,
299,
62,
1014,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
9442,
796,
299,
62,
9442,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
22766,
796,
299,
62,
22766,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40085,
7509,
796,
6436,
7509,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40684,
62,
4873,
796,
4673,
62,
4873,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1324,
13907,
796,
5561,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35943,
62,
19119,
62,
22510,
796,
4876,
62,
19119,
62,
22510,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
4798,
62,
19503,
80,
796,
3601,
62,
19503,
80,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12102,
341,
62,
19503,
80,
796,
21201,
62,
19503,
80,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
538,
5374,
796,
299,
62,
538,
5374,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
38668,
796,
299,
62,
38668,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15252,
1108,
62,
400,
10126,
796,
2134,
1108,
62,
400,
10126,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
907,
62,
400,
10126,
796,
299,
907,
62,
400,
10126,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
72,
280,
62,
400,
10126,
796,
1312,
280,
62,
400,
10126,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9060,
62,
7857,
796,
2939,
62,
7857,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25120,
62,
28826,
796,
4738,
62,
28826,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9122,
4122,
62,
15908,
796,
5072,
62,
15908,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25202,
796,
28034,
13,
25202,
7203,
66,
15339,
1,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
366,
36166,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
796,
21293,
34379,
7,
6404,
62,
15908,
28,
22915,
62,
15908,
8,
628,
220,
220,
220,
825,
4174,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8393,
1133,
262,
575,
3535,
2662,
2390,
43,
44357,
2239,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
257,
22155,
7268,
262,
2187,
1181,
286,
262,
2746,
326,
2921,
262,
2440,
21201,
9922,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
900,
62,
392,
62,
4798,
62,
25120,
62,
28826,
7,
944,
13,
25120,
62,
28826,
11,
6407,
11,
2116,
13,
9122,
4122,
62,
15908,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
11250,
796,
21136,
62,
7890,
62,
11250,
7,
944,
13,
19608,
292,
316,
62,
11250,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
6978,
796,
1366,
62,
11250,
14692,
27432,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
11600,
62,
6978,
796,
1366,
62,
11250,
13,
1136,
7203,
27432,
62,
11600,
62,
6978,
1600,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4938,
62,
6978,
796,
1366,
62,
11250,
13,
1136,
7203,
12102,
1600,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4938,
62,
11600,
62,
6978,
796,
1366,
62,
11250,
13,
1136,
7203,
12102,
62,
11600,
62,
6978,
1600,
6045,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
29356,
796,
2116,
13557,
1136,
62,
7890,
62,
29356,
7,
27432,
62,
6978,
11,
4512,
62,
11600,
62,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1188,
62,
29356,
796,
2116,
13557,
1136,
62,
7890,
62,
29356,
7,
12102,
62,
6978,
11,
4938,
62,
11600,
62,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
2116,
13557,
1136,
62,
19849,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
27432,
7,
8692,
62,
29356,
11,
1188,
62,
29356,
11,
2746,
8,
628,
220,
220,
220,
825,
4808,
27432,
7,
944,
11,
2779,
62,
29356,
11,
1188,
62,
29356,
11,
2746,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
833,
1299,
262,
2746,
319,
262,
2779,
900,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
29356,
357,
13165,
354,
13,
26791,
13,
7890,
13,
6601,
17401,
2599,
1366,
40213,
329,
2779,
900,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1188,
62,
29356,
357,
13165,
354,
13,
26791,
13,
7890,
13,
6601,
17401,
2599,
1366,
40213,
329,
21201,
900,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
357,
56,
3535,
2662,
2390,
43,
2599,
17019,
3127,
2746,
284,
4512,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
25,
257,
22155,
7268,
262,
2187,
1181,
286,
262,
2746,
326,
2921,
262,
2440,
21201,
9922,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
796,
2116,
13557,
1136,
62,
40085,
7509,
7,
19849,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
36835,
287,
2837,
7,
944,
13,
77,
62,
538,
5374,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
11600,
796,
2746,
13,
27432,
62,
26268,
7,
8692,
62,
29356,
11,
6436,
7509,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29487,
62,
83,
22854,
3526,
7,
22462,
62,
11600,
11,
36835,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36835,
4064,
2116,
13,
4798,
62,
19503,
80,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13807,
5374,
1391,
538,
5374,
92,
14,
90,
77,
62,
538,
5374,
82,
92,
930,
22014,
1391,
22462,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36835,
28,
538,
5374,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
538,
5374,
82,
28,
944,
13,
77,
62,
538,
5374,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
28,
22462,
62,
11600,
17816,
22766,
62,
23350,
62,
22462,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36835,
4064,
2116,
13,
12102,
341,
62,
19503,
80,
6624,
2116,
13,
12102,
341,
62,
19503,
80,
532,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15440,
11,
10014,
11,
2811,
62,
3866,
16005,
11,
277,
16,
11,
2471,
62,
4871,
796,
2746,
13,
18206,
62,
26268,
7,
2100,
62,
29356,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
13,
2860,
62,
1416,
282,
283,
10786,
3866,
16005,
3256,
15440,
13,
32604,
22784,
36835,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
13,
2860,
62,
1416,
282,
283,
10786,
8344,
439,
3256,
10014,
13,
32604,
22784,
36835,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
13,
2860,
62,
1416,
282,
283,
10786,
76,
2969,
3256,
2811,
62,
3866,
16005,
13,
32604,
22784,
36835,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
13,
2860,
62,
1416,
282,
283,
10786,
37,
16,
3256,
277,
16,
13,
32604,
22784,
36835,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
13,
19836,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
8692,
62,
19849,
13,
21928,
62,
21953,
3262,
62,
43775,
7,
418,
13,
6978,
13,
22179,
7,
944,
13,
9122,
4122,
62,
15908,
11,
705,
20311,
13,
43775,
6,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
6,
538,
5374,
10354,
2116,
13,
77,
62,
538,
5374,
11,
705,
5219,
10354,
2746,
13,
5219,
62,
11600,
3419,
92,
628,
220,
220,
220,
825,
4808,
1136,
62,
40085,
7509,
7,
944,
11,
2746,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
262,
6436,
7509,
422,
4731,
2116,
13,
40085,
7509,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
357,
13165,
354,
13,
20471,
13,
26796,
2599,
262,
2746,
284,
307,
8776,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
257,
28034,
13,
40085,
13,
27871,
320,
7509,
2134,
11507,
1143,
351,
2746,
10007,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
468,
35226,
7,
13165,
354,
13,
40085,
11,
2116,
13,
40085,
7509,
828,
366,
464,
23989,
2446,
318,
407,
257,
28034,
13,
40085,
2134,
1,
198,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
796,
651,
35226,
7,
13165,
354,
13,
40085,
11,
2116,
13,
40085,
7509,
5769,
19849,
13,
17143,
7307,
22784,
300,
81,
28,
944,
13,
40684,
62,
4873,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
6436,
7509,
628,
220,
220,
220,
825,
4808,
1136,
62,
7890,
62,
29356,
7,
944,
11,
3108,
62,
1462,
62,
7890,
62,
7753,
11,
3108,
62,
1462,
62,
17566,
62,
525,
62,
18242,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
1462,
62,
7890,
62,
7753,
357,
2536,
2599,
3108,
284,
2393,
7268,
13532,
284,
4263,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
1462,
62,
17566,
62,
525,
62,
18242,
357,
2536,
2599,
3108,
284,
2298,
293,
2393,
7268,
262,
22155,
286,
4263,
583,
6167,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28034,
13,
26791,
13,
7890,
13,
6601,
17401,
25,
8405,
1366,
287,
262,
5485,
286,
257,
13326,
4876,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
37153,
796,
46254,
7248,
6601,
13511,
7,
944,
13,
77,
62,
1014,
11,
2116,
13,
77,
62,
9442,
11,
2116,
13,
77,
62,
22766,
11,
2116,
13,
77,
62,
38668,
11,
2116,
13,
9060,
62,
7857,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
1366,
62,
37153,
13,
1136,
62,
7890,
62,
29356,
7,
6978,
62,
1462,
62,
7890,
62,
7753,
11,
3108,
62,
1462,
62,
17566,
62,
525,
62,
18242,
8,
628,
220,
220,
220,
825,
4808,
1136,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
575,
3535,
2662,
2390,
43,
25,
13634,
12,
19849,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
19849,
796,
3801,
3262,
7,
944,
13,
19849,
62,
11250,
11,
2116,
13,
9060,
62,
7857,
11,
2116,
13,
5310,
13363,
62,
43775,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
575,
3535,
2662,
2390,
43,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2779,
62,
19849,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
1014,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
9442,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
62,
22766,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9060,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5561,
28,
944,
13,
1324,
13907,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4876,
62,
19119,
62,
22510,
28,
944,
13,
35943,
62,
19119,
62,
22510,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
14050,
28,
944,
13,
40684,
62,
4873,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2134,
1108,
62,
400,
10126,
28,
944,
13,
15252,
1108,
62,
400,
10126,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
907,
62,
400,
10126,
28,
944,
13,
77,
907,
62,
400,
10126,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
280,
62,
400,
10126,
28,
944,
13,
72,
280,
62,
400,
10126,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3335,
28,
944,
13,
25202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
2746,
628,
220,
220,
220,
825,
7110,
62,
83,
22854,
3526,
7,
944,
11,
2994,
62,
11600,
11,
36835,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
12257,
274,
656,
10638,
262,
3815,
1944,
287,
2994,
62,
11600,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
11600,
357,
11600,
2599,
4909,
262,
1180,
3354,
286,
262,
2811,
2994,
319,
530,
36835,
13,
5501,
1994,
8477,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
636,
286,
262,
2994,
357,
1069,
25,
12405,
62,
4871,
2649,
62,
22462,
8,
290,
1123,
1988,
318,
257,
657,
12,
27740,
11192,
273,
13,
770,
22155,
318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
284,
3994,
262,
8251,
705,
11284,
62,
23350,
62,
22462,
6,
290,
705,
22766,
62,
23350,
62,
22462,
6,
543,
4909,
8148,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
2994,
319,
262,
1104,
900,
11,
290,
262,
2472,
13634,
12,
22462,
319,
262,
12405,
900,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36835,
357,
600,
2599,
3298,
2239,
1988,
287,
262,
10638,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
11,
1988,
287,
2994,
62,
11600,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16002,
13,
2860,
62,
1416,
282,
283,
7,
2539,
11,
1988,
11,
36835,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
198
] | 2.29392 | 3,865 |
from contextlib import contextmanager
import pytest
from typing_extensions import Annotated, Protocol, runtime_checkable
from antidote._internal.utils import enforce_subclass_if_possible, enforce_type_if_possible
@contextmanager
does_raise = pytest.raises(TypeError, match="(?i).*(isinstance|subclass|implement).*")
@runtime_checkable
@pytest.mark.parametrize(
"expectation, obj, tpe",
[
(does_raise, object(), int),
(does_not_raise(), object(), Annotated[ValidDummy, object()]),
(does_not_raise(), 1, int),
(does_not_raise(), 1, DummyProtocol),
(does_raise, 1, DummyRuntimeProtocol),
(does_not_raise(), InvalidDummy(), DummyProtocol),
(does_raise, InvalidDummy(), DummyRuntimeProtocol),
(does_not_raise(), ValidDummy(), DummyProtocol),
(does_not_raise(), ValidDummy(), DummyRuntimeProtocol),
(does_not_raise(), SubDummy(), DummyProtocol),
(does_not_raise(), SubDummy(), DummyRuntimeProtocol),
(does_not_raise(), SubDummy(), ValidDummy),
(does_raise, InvalidDummy(), ValidDummy),
],
)
@pytest.mark.parametrize(
"expectation, sub, tpe",
[
(does_not_raise(), ValidDummy, DummyProtocol),
(does_not_raise(), ValidDummy, DummyRuntimeProtocol),
(does_not_raise(), InvalidDummy, DummyProtocol),
(does_raise, InvalidDummy, DummyRuntimeProtocol),
(does_raise, InvalidDummy, ValidDummy),
(does_not_raise(), SubDummy, ValidDummy),
(does_not_raise(), 1, 1),
(does_not_raise(), 1, int),
(does_not_raise(), int, 1),
],
)
| [
6738,
4732,
8019,
1330,
4732,
37153,
198,
198,
11748,
12972,
9288,
198,
6738,
19720,
62,
2302,
5736,
1330,
1052,
1662,
515,
11,
20497,
11,
19124,
62,
9122,
540,
198,
198,
6738,
50131,
13557,
32538,
13,
26791,
1330,
4605,
62,
7266,
4871,
62,
361,
62,
79,
4733,
11,
4605,
62,
4906,
62,
361,
62,
79,
4733,
628,
198,
31,
22866,
37153,
628,
198,
22437,
62,
40225,
796,
12972,
9288,
13,
430,
2696,
7,
6030,
12331,
11,
2872,
2625,
7,
30,
72,
737,
9,
7,
271,
39098,
91,
7266,
4871,
91,
320,
26908,
737,
9,
4943,
628,
198,
198,
31,
43282,
62,
9122,
540,
628,
628,
198,
198,
31,
9078,
9288,
13,
4102,
13,
17143,
316,
380,
2736,
7,
198,
220,
220,
220,
366,
1069,
806,
341,
11,
26181,
11,
256,
431,
1600,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
40225,
11,
2134,
22784,
493,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
2134,
22784,
1052,
1662,
515,
58,
47139,
35,
13513,
11,
2134,
3419,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
352,
11,
493,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
352,
11,
360,
13513,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
40225,
11,
352,
11,
360,
13513,
41006,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
17665,
35,
13513,
22784,
360,
13513,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
40225,
11,
17665,
35,
13513,
22784,
360,
13513,
41006,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
48951,
35,
13513,
22784,
360,
13513,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
48951,
35,
13513,
22784,
360,
13513,
41006,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
3834,
35,
13513,
22784,
360,
13513,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
3834,
35,
13513,
22784,
360,
13513,
41006,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
3834,
35,
13513,
22784,
48951,
35,
13513,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
40225,
11,
17665,
35,
13513,
22784,
48951,
35,
13513,
828,
198,
220,
220,
220,
16589,
198,
8,
628,
198,
31,
9078,
9288,
13,
4102,
13,
17143,
316,
380,
2736,
7,
198,
220,
220,
220,
366,
1069,
806,
341,
11,
850,
11,
256,
431,
1600,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
48951,
35,
13513,
11,
360,
13513,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
48951,
35,
13513,
11,
360,
13513,
41006,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
17665,
35,
13513,
11,
360,
13513,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
40225,
11,
17665,
35,
13513,
11,
360,
13513,
41006,
19703,
4668,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
40225,
11,
17665,
35,
13513,
11,
48951,
35,
13513,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
3834,
35,
13513,
11,
48951,
35,
13513,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
352,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
352,
11,
493,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
22437,
62,
1662,
62,
40225,
22784,
493,
11,
352,
828,
198,
220,
220,
220,
16589,
198,
8,
198
] | 2.400888 | 676 |
import numpy as np
import time
from abc import abstractmethod
| [
11748,
299,
32152,
355,
45941,
198,
11748,
640,
198,
198,
6738,
450,
66,
1330,
12531,
24396,
198
] | 3.705882 | 17 |
# -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html
import os
import sys
import django
from scrapy import signals
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
sys.path.append(os.path.join(BASE_DIR, 'store'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'store.settings'
django.setup()
from goods.tasks import save_goods_to_db
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
2,
2896,
500,
534,
2378,
31108,
994,
198,
2,
198,
2,
2094,
470,
6044,
284,
751,
534,
11523,
284,
262,
7283,
3620,
62,
47,
4061,
3698,
1268,
1546,
4634,
198,
2,
4091,
25,
3740,
1378,
15390,
13,
1416,
2416,
88,
13,
2398,
14,
268,
14,
42861,
14,
4852,
873,
14,
9186,
12,
79,
541,
4470,
13,
6494,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
42625,
14208,
198,
6738,
15881,
88,
1330,
10425,
198,
198,
33,
11159,
62,
34720,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198,
17597,
13,
6978,
13,
33295,
7,
418,
13,
6978,
13,
22179,
7,
33,
11159,
62,
34720,
11,
705,
8095,
6,
4008,
198,
418,
13,
268,
2268,
17816,
35028,
1565,
11230,
62,
28480,
51,
20754,
62,
33365,
24212,
20520,
796,
705,
8095,
13,
33692,
6,
198,
28241,
14208,
13,
40406,
3419,
198,
198,
6738,
7017,
13,
83,
6791,
1330,
3613,
62,
11274,
82,
62,
1462,
62,
9945,
628,
628
] | 2.601093 | 183 |
from app import app
from flask import jsonify,render_template,json, request
from services import LinksServices
@app.route("/links",methods=['GET'])
@app.route("/link/getTopLinks",methods=['GET'])
@app.route("/link/getTotalLinks",methods=['GET'])
@app.route("/link/getMentionHistory",methods=['GET']) | [
6738,
598,
1330,
598,
198,
6738,
42903,
1330,
33918,
1958,
11,
13287,
62,
28243,
11,
17752,
11,
2581,
198,
6738,
2594,
1330,
21691,
31007,
198,
198,
31,
1324,
13,
38629,
7203,
14,
28751,
1600,
24396,
82,
28,
17816,
18851,
6,
12962,
198,
198,
31,
1324,
13,
38629,
7203,
14,
8726,
14,
1136,
9126,
31815,
1600,
24396,
82,
28,
17816,
18851,
6,
12962,
198,
198,
31,
1324,
13,
38629,
7203,
14,
8726,
14,
1136,
14957,
31815,
1600,
24396,
82,
28,
17816,
18851,
6,
12962,
198,
198,
31,
1324,
13,
38629,
7203,
14,
8726,
14,
1136,
44,
1463,
18122,
1600,
24396,
82,
28,
17816,
18851,
6,
12962
] | 2.885714 | 105 |
from utils_rouge import rouge_eval, rouge_log
rouge_ref_dir = './output/reference'
rouge_dec_dir = './output/decoded'
print("Decoder has finished reading dataset for single_pass.")
print("Now starting ROUGE eval...")
results_dict = rouge_eval(rouge_ref_dir, rouge_dec_dir)
rouge_log(results_dict, './output')
| [
6738,
3384,
4487,
62,
472,
469,
1330,
13805,
469,
62,
18206,
11,
13805,
469,
62,
6404,
628,
198,
472,
469,
62,
5420,
62,
15908,
796,
705,
19571,
22915,
14,
35790,
6,
198,
472,
469,
62,
12501,
62,
15908,
796,
705,
19571,
22915,
14,
12501,
9043,
6,
198,
4798,
7203,
10707,
12342,
468,
5201,
3555,
27039,
329,
2060,
62,
6603,
19570,
198,
4798,
7203,
3844,
3599,
371,
2606,
8264,
5418,
9313,
8,
198,
43420,
62,
11600,
796,
13805,
469,
62,
18206,
7,
472,
469,
62,
5420,
62,
15908,
11,
13805,
469,
62,
12501,
62,
15908,
8,
198,
472,
469,
62,
6404,
7,
43420,
62,
11600,
11,
705,
19571,
22915,
11537,
198
] | 2.827273 | 110 |
from cached_property import cached_property
from sqlalchemy import text
from sqlalchemy import orm
from sqlalchemy.orm import selectinload
from sqlalchemy.sql.expression import func
from sqlalchemy.orm import deferred
from sqlalchemy.orm import foreign, remote
from collections import defaultdict
from time import sleep
import datetime
import json
from app import db
from util import normalize_title_like_sql
# alter table recordthresher_record add column started_label text;
# alter table recordthresher_record add column started datetime;
# alter table recordthresher_record add column finished datetime;
# alter table recordthresher_record add column work_id bigint
work_type_strings = """
lookup_string,work_type,doc_type
conference,proceedings,Conference
proceedings-series,proceedings-series,
journal-volume,journal-volume,
book-series,book-series,
dataset,dataset,Dataset
info:eu-repo/semantics/report,report,
guideline,other,
preprint,posted-content,Repository
report,report,
thesis/dissertation,dissertation,Thesis
corrected and republished article,journal-article,Journal
observational study,journal-article,Journal
systematic review,journal-article,Journal
info:eu-repo/semantics/workingpaper,report,
video-audio media,other,
english abstract,other,
personal narrative,other,
info:eu-repo/semantics/other,other,
letter,posted-content,Repository
proceedings,proceedings,Conference
technical report,report,
peer-review,peer-review,
program document,other,
info:eu-repo/semantics/doctoralthesis,dissertation,Thesis
info:eu-repo/semantics/masterthesis,dissertation,Thesis
other,other,
book,book,Book
dissertation,dissertation,Thesis
info:eu-repo/semantics/article,journal-article,Journal
monograph,monograph,Book
proceedings-article,proceedings-article,Conference
data,dataset,Dataset
info:eu-repo/semantics/conferencepaper,proceedings,Conference
info:eu-repo/semantics/patent,other,
info:eu-repo/semantics/preprint,posted-content,Repository
journal,journal,
practice guideline,other,
book-set,book-set,
grant,grant,
congress,other,
info:eu-repo/semantics/conferenceobject,proceedings-article,Conference
journal article: accepted manuscript,journal-article,Journal
report-series,report-series,
news,posted-content,Repository
reference-entry,reference-entry,
book-part,book-part,
clinical trial,journal-article,Journal
editorial,journal-article,Journal
info:eu-repo/semantics/book,book,Book
journal article: publisher's accepted manuscript,journal-article,Journal
posted-content,posted-content,Repository
published erratum,other,
reference-book,reference-book,
retraction of publication,other,
standard,standard,
info:eu-repo/semantics/bookpart,book-chapter,BookChapter
journal-issue,journal-issue,
book-chapter,book-chapter,BookChapter
interview,other,
introductory journal article,journal-article,Journal
historical article,journal-article,Journal
journal article,journal-article,Journal
journal-article,journal-article,Journal
meta-analysis,journal-article,Journal
article,journal-article,Journal
case reports,journal-article,Journal
component,component,
info:eu-repo/semantics/lecture,other,
journal article: published article,journal-article,Journal
patient education handout,other,
"""
work_type_lines = work_type_strings.split("\n")
work_type_lookup = dict()
for line in work_type_lines:
if line:
(lookup, work_type, doc_type) = line.split(",")
work_type_lookup[lookup.strip()] = {"work_type": work_type if work_type else None,
"doc_type": doc_type if doc_type else None}
| [
6738,
39986,
62,
26745,
1330,
39986,
62,
26745,
198,
6738,
44161,
282,
26599,
1330,
2420,
198,
6738,
44161,
282,
26599,
1330,
393,
76,
198,
6738,
44161,
282,
26599,
13,
579,
1330,
2922,
259,
2220,
198,
6738,
44161,
282,
26599,
13,
25410,
13,
38011,
1330,
25439,
198,
6738,
44161,
282,
26599,
13,
579,
1330,
28651,
198,
6738,
44161,
282,
26599,
13,
579,
1330,
3215,
11,
6569,
198,
6738,
17268,
1330,
4277,
11600,
198,
6738,
640,
1330,
3993,
198,
11748,
4818,
8079,
198,
11748,
33918,
198,
198,
6738,
598,
1330,
20613,
198,
6738,
7736,
1330,
3487,
1096,
62,
7839,
62,
2339,
62,
25410,
628,
198,
2,
8343,
3084,
1700,
400,
411,
372,
62,
22105,
751,
5721,
2067,
62,
18242,
2420,
26,
198,
2,
8343,
3084,
1700,
400,
411,
372,
62,
22105,
751,
5721,
2067,
4818,
8079,
26,
198,
2,
8343,
3084,
1700,
400,
411,
372,
62,
22105,
751,
5721,
5201,
4818,
8079,
26,
198,
2,
8343,
3084,
1700,
400,
411,
372,
62,
22105,
751,
5721,
670,
62,
312,
1263,
600,
628,
628,
198,
198,
1818,
62,
4906,
62,
37336,
796,
37227,
198,
220,
220,
220,
35847,
62,
8841,
11,
1818,
62,
4906,
11,
15390,
62,
4906,
198,
220,
220,
220,
4495,
11,
1676,
2707,
654,
11,
3103,
4288,
198,
220,
220,
220,
13106,
12,
25076,
11,
1676,
2707,
654,
12,
25076,
11,
198,
220,
220,
220,
3989,
12,
29048,
11,
24891,
12,
29048,
11,
198,
220,
220,
220,
1492,
12,
25076,
11,
2070,
12,
25076,
11,
198,
220,
220,
220,
27039,
11,
19608,
292,
316,
11,
27354,
292,
316,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
13116,
11,
13116,
11,
198,
220,
220,
220,
40888,
11,
847,
11,
198,
220,
220,
220,
662,
4798,
11,
40578,
12,
11299,
11,
6207,
13264,
198,
220,
220,
220,
989,
11,
13116,
11,
198,
220,
220,
220,
21554,
14,
67,
747,
42245,
11,
67,
747,
42245,
11,
464,
13429,
198,
220,
220,
220,
19267,
290,
1128,
33286,
2708,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
40118,
2050,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
17895,
2423,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
16090,
20189,
11,
13116,
11,
198,
220,
220,
220,
2008,
12,
24051,
2056,
11,
847,
11,
198,
220,
220,
220,
46932,
12531,
11,
847,
11,
198,
220,
220,
220,
2614,
8689,
11,
847,
11,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
847,
11,
847,
11,
198,
220,
220,
220,
3850,
11,
40578,
12,
11299,
11,
6207,
13264,
198,
220,
220,
220,
13106,
11,
1676,
2707,
654,
11,
3103,
4288,
198,
220,
220,
220,
6276,
989,
11,
13116,
11,
198,
220,
220,
220,
12720,
12,
19023,
11,
33350,
12,
19023,
11,
198,
220,
220,
220,
1430,
3188,
11,
847,
11,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
35580,
2501,
8497,
11,
67,
747,
42245,
11,
464,
13429,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
9866,
83,
8497,
11,
67,
747,
42245,
11,
464,
13429,
198,
220,
220,
220,
584,
11,
847,
11,
198,
220,
220,
220,
1492,
11,
2070,
11,
10482,
198,
220,
220,
220,
46793,
11,
67,
747,
42245,
11,
464,
13429,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
20205,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
937,
2384,
11,
2144,
2384,
11,
10482,
198,
220,
220,
220,
13106,
12,
20205,
11,
1676,
2707,
654,
12,
20205,
11,
3103,
4288,
198,
220,
220,
220,
1366,
11,
19608,
292,
316,
11,
27354,
292,
316,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
41124,
20189,
11,
1676,
2707,
654,
11,
3103,
4288,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
8071,
298,
11,
847,
11,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
3866,
4798,
11,
40578,
12,
11299,
11,
6207,
13264,
198,
220,
220,
220,
3989,
11,
24891,
11,
198,
220,
220,
220,
3357,
40888,
11,
847,
11,
198,
220,
220,
220,
1492,
12,
2617,
11,
2070,
12,
2617,
11,
198,
220,
220,
220,
7264,
11,
2164,
415,
11,
198,
220,
220,
220,
8681,
11,
847,
11,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
41124,
15252,
11,
1676,
2707,
654,
12,
20205,
11,
3103,
4288,
198,
220,
220,
220,
3989,
2708,
25,
6292,
17116,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
989,
12,
25076,
11,
13116,
12,
25076,
11,
198,
220,
220,
220,
1705,
11,
40578,
12,
11299,
11,
6207,
13264,
198,
220,
220,
220,
4941,
12,
13000,
11,
35790,
12,
13000,
11,
198,
220,
220,
220,
1492,
12,
3911,
11,
2070,
12,
3911,
11,
198,
220,
220,
220,
8668,
4473,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
13684,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
2070,
11,
2070,
11,
10482,
198,
220,
220,
220,
3989,
2708,
25,
9991,
338,
6292,
17116,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
4481,
12,
11299,
11,
40578,
12,
11299,
11,
6207,
13264,
198,
220,
220,
220,
3199,
1931,
10366,
388,
11,
847,
11,
198,
220,
220,
220,
4941,
12,
2070,
11,
35790,
12,
2070,
11,
198,
220,
220,
220,
1005,
7861,
286,
9207,
11,
847,
11,
198,
220,
220,
220,
3210,
11,
20307,
11,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
2070,
3911,
11,
2070,
12,
43582,
11,
10482,
14126,
198,
220,
220,
220,
3989,
12,
21949,
11,
24891,
12,
21949,
11,
198,
220,
220,
220,
1492,
12,
43582,
11,
2070,
12,
43582,
11,
10482,
14126,
198,
220,
220,
220,
2720,
11,
847,
11,
198,
220,
220,
220,
33982,
3989,
2708,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
6754,
2708,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
3989,
2708,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
3989,
12,
20205,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
13634,
12,
20930,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
2708,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
1339,
3136,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
7515,
11,
42895,
11,
198,
220,
220,
220,
7508,
25,
12496,
12,
260,
7501,
14,
43616,
29320,
14,
801,
495,
11,
847,
11,
198,
220,
220,
220,
3989,
2708,
25,
3199,
2708,
11,
24891,
12,
20205,
11,
25296,
198,
220,
220,
220,
5827,
3707,
1021,
448,
11,
847,
11,
198,
37811,
198,
198,
1818,
62,
4906,
62,
6615,
796,
670,
62,
4906,
62,
37336,
13,
35312,
7203,
59,
77,
4943,
198,
1818,
62,
4906,
62,
5460,
929,
796,
8633,
3419,
198,
1640,
1627,
287,
670,
62,
4906,
62,
6615,
25,
198,
220,
220,
220,
611,
1627,
25,
198,
220,
220,
220,
220,
220,
220,
220,
357,
5460,
929,
11,
670,
62,
4906,
11,
2205,
62,
4906,
8,
796,
1627,
13,
35312,
7,
2430,
8,
198,
220,
220,
220,
220,
220,
220,
220,
670,
62,
4906,
62,
5460,
929,
58,
5460,
929,
13,
36311,
3419,
60,
796,
19779,
1818,
62,
4906,
1298,
670,
62,
4906,
611,
670,
62,
4906,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15390,
62,
4906,
1298,
2205,
62,
4906,
611,
2205,
62,
4906,
2073,
6045,
92,
628
] | 2.95843 | 1,299 |
NAME='ldap'
CFLAGS = []
LDFLAGS = []
LIBS = ['-lldap']
GCC_LIST = ['ldap']
| [
198,
20608,
11639,
335,
499,
6,
198,
34,
38948,
50,
796,
17635,
198,
11163,
38948,
50,
796,
17635,
198,
31271,
4462,
796,
685,
29001,
297,
67,
499,
20520,
198,
198,
38,
4093,
62,
45849,
796,
37250,
335,
499,
20520,
198
] | 1.925 | 40 |
import argparse
import wcxf
import sys
import logging
import os
import yaml
import pylha
| [
11748,
1822,
29572,
198,
11748,
266,
66,
26152,
198,
11748,
25064,
198,
11748,
18931,
198,
11748,
28686,
198,
11748,
331,
43695,
198,
11748,
279,
2645,
3099,
628,
628,
628,
628,
628
] | 3.16129 | 31 |
# -*- coding: UTF-8 -*-
from django.http import HttpResponseRedirect
from datetime import datetime
from django.core.urlresolvers import reverse
from django.core.paginator import Paginator
from meregistro.shortcuts import my_render
from apps.seguridad.decorators import login_required, credential_required
from apps.seguridad.models import Usuario, Perfil
from apps.registro.models.Establecimiento import Establecimiento
from apps.registro.models.ExtensionAulica import ExtensionAulica
from apps.registro.models.EstadoExtensionAulica import EstadoExtensionAulica
from apps.registro.models.ExtensionAulicaMatricula import ExtensionAulicaMatricula
from apps.registro.forms.ExtensionAulicaMatriculaForm import ExtensionAulicaMatriculaForm
from apps.registro.forms.ExtensionAulicaFormFilters import ExtensionAulicaFormFilters
from apps.registro.forms.ExtensionAulicaMatriculaFormFilters import ExtensionAulicaMatriculaFormFilters
from apps.backend.models import ConfiguracionSolapasExtensionAulica
from apps.registro.forms.VerificacionDatosExtensionAulicaForm import VerificacionDatosExtensionAulicaForm
ITEMS_PER_PAGE = 50
@login_required
def __extension_aulica_dentro_del_ambito(request, extension_aulica):
"""
El extension_aulica está dentro del ámbito?
"""
try:
extension_aulica = ExtensionAulica.objects.get(id=extension_aulica.id, ambito__path__istartswith=request.get_perfil().ambito.path)
except extension_aulica.DoesNotExist:
return False
return True
@login_required
@login_required
@credential_required('reg_extension_aulica_consulta')
def build_query(filters, page, request):
"""
Construye el query de búsqueda a partir de los filtros.
"""
return filters.buildQuery().order_by('establecimiento__nombre', 'cue').filter(ambito__path__istartswith=request.get_perfil().ambito.path)
@login_required
@credential_required('reg_extension_aulica_consulta')
def build_query_matricula(filters, page, request):
"""
Construye el query de búsqueda a partir de los filtros.
"""
return filters.buildQuery().order_by('anio')
@login_required
@credential_required('reg_extension_aulica_modificar')
@login_required
@credential_required('reg_extension_aulica_modificar')
def edit(request, matricula_id):
"""
Edición de los datos de una matricula.
"""
matricula = ExtensionAulicaMatricula.objects.get(pk=matricula_id)
extension_aulica = __get_extension_aulica(request, matricula.extension_aulica_id)
if request.method == 'POST':
form = ExtensionAulicaMatriculaForm(request.POST, instance=matricula, extension_aulica=extension_aulica)
if form.is_valid():
matricula = form.save(commit=False)
matricula.set_formacion_continua()
matricula.set_formacion_docente()
matricula.save()
request.set_flash('success', 'Datos actualizados correctamente.')
return HttpResponseRedirect(reverse('extensionAulicaMatriculaIndexExtensionAulica', args=[matricula.extension_aulica_id]))
else:
request.set_flash('warning', 'Ocurrió un error actualizando los datos.')
else:
form = ExtensionAulicaMatriculaForm(instance=matricula, extension_aulica=extension_aulica)
return my_render(request, 'registro/extension_aulica/matricula/edit.html', {
'form': form,
'matricula': matricula,
'extension_aulica': extension_aulica,
})
@login_required
@credential_required('reg_extension_aulica_modificar')
| [
2,
532,
9,
12,
19617,
25,
41002,
12,
23,
532,
9,
12,
198,
198,
6738,
42625,
14208,
13,
4023,
1330,
367,
29281,
31077,
7738,
1060,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
42625,
14208,
13,
7295,
13,
6371,
411,
349,
690,
1330,
9575,
198,
6738,
42625,
14208,
13,
7295,
13,
79,
363,
20900,
1330,
31525,
20900,
198,
6738,
502,
2301,
396,
305,
13,
19509,
23779,
1330,
616,
62,
13287,
198,
6738,
6725,
13,
325,
45073,
32482,
13,
12501,
273,
2024,
1330,
17594,
62,
35827,
11,
49920,
62,
35827,
198,
6738,
6725,
13,
325,
45073,
32482,
13,
27530,
1330,
471,
2385,
4982,
11,
2448,
10379,
198,
6738,
6725,
13,
2301,
396,
305,
13,
27530,
13,
22362,
540,
66,
320,
1153,
78,
1330,
10062,
540,
66,
320,
1153,
78,
198,
6738,
6725,
13,
2301,
396,
305,
13,
27530,
13,
11627,
3004,
32,
377,
3970,
1330,
27995,
32,
377,
3970,
198,
6738,
6725,
13,
2301,
396,
305,
13,
27530,
13,
22362,
4533,
11627,
3004,
32,
377,
3970,
1330,
10062,
4533,
11627,
3004,
32,
377,
3970,
198,
6738,
6725,
13,
2301,
396,
305,
13,
27530,
13,
11627,
3004,
32,
377,
3970,
19044,
1173,
4712,
1330,
27995,
32,
377,
3970,
19044,
1173,
4712,
198,
6738,
6725,
13,
2301,
396,
305,
13,
23914,
13,
11627,
3004,
32,
377,
3970,
19044,
1173,
4712,
8479,
1330,
27995,
32,
377,
3970,
19044,
1173,
4712,
8479,
198,
6738,
6725,
13,
2301,
396,
305,
13,
23914,
13,
11627,
3004,
32,
377,
3970,
8479,
11928,
1010,
1330,
27995,
32,
377,
3970,
8479,
11928,
1010,
198,
6738,
6725,
13,
2301,
396,
305,
13,
23914,
13,
11627,
3004,
32,
377,
3970,
19044,
1173,
4712,
8479,
11928,
1010,
1330,
27995,
32,
377,
3970,
19044,
1173,
4712,
8479,
11928,
1010,
198,
6738,
6725,
13,
1891,
437,
13,
27530,
1330,
17056,
333,
49443,
36949,
499,
292,
11627,
3004,
32,
377,
3970,
198,
6738,
6725,
13,
2301,
396,
305,
13,
23914,
13,
13414,
811,
49443,
27354,
418,
11627,
3004,
32,
377,
3970,
8479,
1330,
4643,
811,
49443,
27354,
418,
11627,
3004,
32,
377,
3970,
8479,
198,
198,
2043,
39201,
62,
18973,
62,
4537,
8264,
796,
2026,
198,
198,
31,
38235,
62,
35827,
198,
4299,
11593,
2302,
3004,
62,
2518,
3970,
62,
67,
298,
305,
62,
12381,
62,
321,
2545,
78,
7,
25927,
11,
7552,
62,
2518,
3970,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2574,
7552,
62,
2518,
3970,
1556,
6557,
18794,
305,
1619,
6184,
94,
2022,
10094,
30,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7552,
62,
2518,
3970,
796,
27995,
32,
377,
3970,
13,
48205,
13,
1136,
7,
312,
28,
2302,
3004,
62,
2518,
3970,
13,
312,
11,
716,
2545,
78,
834,
6978,
834,
396,
433,
2032,
342,
28,
25927,
13,
1136,
62,
525,
10379,
22446,
321,
2545,
78,
13,
6978,
8,
198,
220,
220,
220,
2845,
7552,
62,
2518,
3970,
13,
13921,
3673,
3109,
396,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
198,
220,
220,
220,
1441,
6407,
198,
198,
31,
38235,
62,
35827,
628,
198,
31,
38235,
62,
35827,
198,
31,
66,
445,
1843,
62,
35827,
10786,
2301,
62,
2302,
3004,
62,
2518,
3970,
62,
5936,
586,
64,
11537,
628,
198,
4299,
1382,
62,
22766,
7,
10379,
1010,
11,
2443,
11,
2581,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4757,
622,
5948,
1288,
12405,
390,
275,
21356,
16485,
18082,
257,
636,
343,
390,
22346,
1226,
83,
4951,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
16628,
13,
11249,
20746,
22446,
2875,
62,
1525,
10786,
395,
540,
66,
320,
1153,
78,
834,
77,
2381,
260,
3256,
705,
15509,
27691,
24455,
7,
321,
2545,
78,
834,
6978,
834,
396,
433,
2032,
342,
28,
25927,
13,
1136,
62,
525,
10379,
22446,
321,
2545,
78,
13,
6978,
8,
628,
198,
31,
38235,
62,
35827,
198,
31,
66,
445,
1843,
62,
35827,
10786,
2301,
62,
2302,
3004,
62,
2518,
3970,
62,
5936,
586,
64,
11537,
628,
198,
4299,
1382,
62,
22766,
62,
6759,
1173,
4712,
7,
10379,
1010,
11,
2443,
11,
2581,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4757,
622,
5948,
1288,
12405,
390,
275,
21356,
16485,
18082,
257,
636,
343,
390,
22346,
1226,
83,
4951,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
16628,
13,
11249,
20746,
22446,
2875,
62,
1525,
10786,
272,
952,
11537,
628,
198,
31,
38235,
62,
35827,
198,
31,
66,
445,
1843,
62,
35827,
10786,
2301,
62,
2302,
3004,
62,
2518,
3970,
62,
4666,
811,
283,
11537,
628,
198,
31,
38235,
62,
35827,
198,
31,
66,
445,
1843,
62,
35827,
10786,
2301,
62,
2302,
3004,
62,
2518,
3970,
62,
4666,
811,
283,
11537,
198,
4299,
4370,
7,
25927,
11,
2603,
1173,
4712,
62,
312,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1717,
44070,
18840,
390,
22346,
4818,
418,
390,
555,
64,
2603,
1173,
4712,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2603,
1173,
4712,
796,
27995,
32,
377,
3970,
19044,
1173,
4712,
13,
48205,
13,
1136,
7,
79,
74,
28,
6759,
1173,
4712,
62,
312,
8,
198,
220,
220,
220,
7552,
62,
2518,
3970,
796,
11593,
1136,
62,
2302,
3004,
62,
2518,
3970,
7,
25927,
11,
2603,
1173,
4712,
13,
2302,
3004,
62,
2518,
3970,
62,
312,
8,
628,
220,
220,
220,
611,
2581,
13,
24396,
6624,
705,
32782,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
27995,
32,
377,
3970,
19044,
1173,
4712,
8479,
7,
25927,
13,
32782,
11,
4554,
28,
6759,
1173,
4712,
11,
7552,
62,
2518,
3970,
28,
2302,
3004,
62,
2518,
3970,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1296,
13,
271,
62,
12102,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2603,
1173,
4712,
796,
1296,
13,
21928,
7,
41509,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2603,
1173,
4712,
13,
2617,
62,
687,
49443,
62,
18487,
6413,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2603,
1173,
4712,
13,
2617,
62,
687,
49443,
62,
15390,
21872,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2603,
1173,
4712,
13,
21928,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
13,
2617,
62,
34167,
10786,
13138,
3256,
705,
27354,
418,
4036,
528,
22484,
3376,
3263,
68,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
367,
29281,
31077,
7738,
1060,
7,
50188,
10786,
2302,
3004,
32,
377,
3970,
19044,
1173,
4712,
15732,
11627,
3004,
32,
377,
3970,
3256,
26498,
41888,
6759,
1173,
4712,
13,
2302,
3004,
62,
2518,
3970,
62,
312,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
13,
2617,
62,
34167,
10786,
43917,
3256,
705,
46,
22019,
380,
10205,
555,
4049,
4036,
528,
25440,
22346,
4818,
418,
2637,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
27995,
32,
377,
3970,
19044,
1173,
4712,
8479,
7,
39098,
28,
6759,
1173,
4712,
11,
7552,
62,
2518,
3970,
28,
2302,
3004,
62,
2518,
3970,
8,
628,
220,
220,
220,
1441,
616,
62,
13287,
7,
25927,
11,
705,
2301,
396,
305,
14,
2302,
3004,
62,
2518,
3970,
14,
6759,
1173,
4712,
14,
19312,
13,
6494,
3256,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
687,
10354,
1296,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6759,
1173,
4712,
10354,
2603,
1173,
4712,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
2302,
3004,
62,
2518,
3970,
10354,
7552,
62,
2518,
3970,
11,
198,
220,
220,
220,
32092,
628,
198,
31,
38235,
62,
35827,
198,
31,
66,
445,
1843,
62,
35827,
10786,
2301,
62,
2302,
3004,
62,
2518,
3970,
62,
4666,
811,
283,
11537,
198
] | 2.66062 | 1,323 |
"""
Load a model
Derek van Tilborg, Eindhoven University of Technology, March 2022
"""
from MoleculeACE.benchmark.utils.const import Algorithms
from .model import Model
def load_model(data, algorithm: Algorithms, model_file: str):
""" Train a machine learning model
Args:
data: MoleculeACE.benchmark.Data object containing train x and y data
algorithm: MoleculeACE.benchmark.utils.Algorithms object - algorithm to use
model_path: string path to file with model. All models use pickle files except CNN, MLP, and LSTM which use .h5
Returns: MoleculeACE.benchmark.Model
"""
model = Model(data, algorithm=algorithm, descriptor=data.descriptor)
model.load_model(model_file)
return model | [
37811,
198,
8912,
257,
2746,
198,
35,
18238,
5719,
40422,
23297,
11,
412,
521,
8873,
574,
2059,
286,
8987,
11,
2805,
33160,
198,
37811,
198,
198,
6738,
25726,
23172,
11598,
13,
26968,
4102,
13,
26791,
13,
9979,
1330,
978,
7727,
907,
198,
6738,
764,
19849,
1330,
9104,
628,
198,
4299,
3440,
62,
19849,
7,
7890,
11,
11862,
25,
978,
7727,
907,
11,
2746,
62,
7753,
25,
965,
2599,
198,
220,
220,
220,
37227,
16835,
257,
4572,
4673,
2746,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
25,
25726,
23172,
11598,
13,
26968,
4102,
13,
6601,
2134,
7268,
4512,
2124,
290,
331,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
11862,
25,
25726,
23172,
11598,
13,
26968,
4102,
13,
26791,
13,
2348,
7727,
907,
2134,
532,
11862,
284,
779,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
6978,
25,
4731,
3108,
284,
2393,
351,
2746,
13,
1439,
4981,
779,
2298,
293,
3696,
2845,
8100,
11,
10373,
47,
11,
290,
406,
2257,
44,
543,
779,
764,
71,
20,
628,
220,
220,
220,
16409,
25,
25726,
23172,
11598,
13,
26968,
4102,
13,
17633,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
2746,
796,
9104,
7,
7890,
11,
11862,
28,
282,
42289,
11,
43087,
28,
7890,
13,
20147,
1968,
273,
8,
198,
220,
220,
220,
2746,
13,
2220,
62,
19849,
7,
19849,
62,
7753,
8,
628,
220,
220,
220,
1441,
2746
] | 3.096234 | 239 |
import pickle
import pathlib as pl
from typing import List
# XMC imports
from xmc.tools import dynamicImport, splitOneListIntoTwo
from xmc.methodDefs_xmcAlgorithm import checkInitialisation
# Import ExaQUte API
from exaqute import get_value_from_remote
class XMCAlgorithm:
"""
This top-level class handles the overall algorithm: initialisation as well as everything
related to error, tolerance and iterations. It also possesses the necessary methods and
attributes to create new types of algorithms. However, the export of results is to be
handled outside.
This documentation is not yet complete.
* Methods
- runXMC: run an algorithm with generic structure. It is the method to call to run the
algorithm.
- runAsynchronousXMC: run an algorithm with generic structure exploiting the asynchronous
framework. It is the method to call to run the asynchronous algorithm.
* Attributes
- estimatorsForHierarchy: List[List]. This is a list of instructions for the indexwise
estimations to be sent to the hierarchy optimiser. estimatorsForHierarchy[0] contains
instructions for the first estimation to be sent (estimatorsForHierarchy[1] the second,
etc.). estimatorsForHierarchy[0][0] is the index of the estimator concerned, as ordered in
MonteCarloIndex.qoiEstimator; estimatorsForHierarchy[0][1] is the list of arguments to be
passed to the value method of this estimator. These values are used in
XMCAlgorithm.optimalHierarchy and eventually result in a call of the form
StatisticalEstimator.value(estimatorsForHierarchy[0], *estimatorsForHierarchy[1]).
"""
def hierarchy(self):
"""
Returns current hierarchy of the MC estimator.
"""
return self.monteCarloSampler.hierarchy()
def splitTolerance(self, splittingParameter):
"""
Method that interfaces with the MultiCriterion class to apply tolerance
splitting
"""
self.stoppingCriterion.splitTolerance(splittingParameter)
def optimalHierarchy(self):
"""
Method that interfaces with the HierarchyOptimiser class to compute
the optimal hierarchy
"""
input_dict = self.hierarchyOptimiser.inputDictionaryTemplate()
# No optimisation at first iteration
if self.iterationCounter < 1:
newHierarchy = self.hierarchyOptimiser.defaultHierarchy
splittingParameter = input_dict.get("splittingParameter", None)
return newHierarchy, splittingParameter
# Else, assemble data for hierarchy optimiser
# Random variables of interest
# Indexwise estimations
if self.estimatorsForHierarchy:
input_dict["estimations"] = [
get_value_from_remote(self.indexEstimation(c[0], c[1]))
for c in self.estimatorsForHierarchy
]
# Predictors
if self.predictorsForHierarchy:
input_dict["models"] = []
input_dict["parametersForModel"] = []
for coord in self.predictorsForHierarchy:
input_dict["models"].append(self.predictor(coord)._valueForParameters)
# TODO This should get self.predictor(coord).oldParameters
# and default to self.predictor(coord).parameters if they are None
params = get_value_from_remote(self.predictor(coord).parameters)
input_dict["parametersForModel"].append(params)
# Sample cost
# Indexwise estimation
if self.costEstimatorForHierarchy is not None:
input_dict["costEstimations"] = self.indexCostEstimation(
self.costEstimatorForHierarchy
)
# Predictor
if self.costPredictor() is not None:
input_dict["costModel"] = self.costPredictor()._valueForParameters
# TODO This should get self.costPredictor().oldParameters
# and default to self.costPredictor().parameters if they are None
input_dict["costParameters"] = get_value_from_remote(
self.costPredictor().parameters
)
# Error parameters
# TODO - Triple dereference below!! Add method to get errorEstimator parameters
# or errorEstimator objects themselves from monteCarloSampler
if self.errorParametersForHierarchy is not None:
input_dict["errorParameters"] = [
self.monteCarloSampler.errorEstimators[c].parameters
for c in self.errorParametersForHierarchy
]
# Miscellaneous parameters
input_dict["newSampleNumber"] = 25 # TODO configurable, not hard-coded
input_dict["oldHierarchy"] = self.hierarchy()
input_dict["defaultHierarchy"] = self.hierarchyOptimiser.defaultHierarchy
# Synchronisation
input_dict = get_value_from_remote(input_dict)
# Compute new hierarchy
newHierarchy = self.hierarchyOptimiser.optimalHierarchy(input_dict)
splittingParameter = input_dict.get("splittingParameter", None)
return newHierarchy, splittingParameter
def updateHierarchy(self, newHierarchy):
"""
Method that interfaces with the monteCarloSample class to execute
a given hierarchy
"""
# TODO could be confused with optimalHierarchy. Rename updateSampler or updateSamplerHierarchy?
self.monteCarloSampler.update(newHierarchy)
def estimation(self, assemblerCoordinates=None):
"""
Method that calls the estimation method of monteCarloSampler
"""
return self.monteCarloSampler.estimation(assemblerCoordinates)
def errorEstimation(self, errorEstimatorCoordinates=None):
"""
Method that calls the errorEstimation method of monteCarloSampler
"""
return self.monteCarloSampler.errorEstimation(errorEstimatorCoordinates)
def updateHierarchySpace(self, *args):
"""
Method that interfaces with the HierarchyOptimiser class to compute
the hierarchy space in which to search for the optimal hierarchy
"""
self.hierarchyOptimiser.updateHierarchySpace(args)
def stoppingCriterionFlag(self, currentCost=None):
"""
Call stoppingCriterion.flag with the proper arguments and return its output
(a.k.a flag).
Input argument: currentCost is an indication of the cost the algorithm has entailed
so far; we usually use the number of iterations.
Output argument: criterion flag structure as define in the MultiCriterion class.
"""
# Get errors required for stopping criterion
errors = self.errorEstimation(self.errorsForStoppingCriterion)
# Set up dictionary required for stoppingCriterion.flag
input_dictionary = {}
for i in range(len(errors)):
input_dictionary["error" + str(i)] = get_value_from_remote(errors[i])
input_dictionary["hierarchy"] = self.hierarchy()
input_dictionary["algorithmCost"] = currentCost
# Compute flag from dictionary and return
flag = self.stoppingCriterion.flag(input_dictionary)
return flag
def runXMC(self):
"""
Run an algorithm with generic structure.
"""
self.checkInitialisation(self)
# Iteration Loop will start here
flag = self.stoppingCriterion.flagStructure()
self.iterationCounter = 0
# print("Beginning Iterations for tolerance ", self.tolerances(self.errorsForStoppingCriterion)) #TODO not very robust
while not flag["stop"]:
# TODO Mostly outdated. Must be thoroughly checked.
newHierarchy, splittingParameter = self.optimalHierarchy()
self.splitTolerance(splittingParameter)
self.updateHierarchy(newHierarchy)
# synchronization point needed to launch new tasks if convergence is false
# put the synchronization point as in the end as possible
# TODO: remove from here the synchronization point to more hidden places
flag = self.stoppingCriterionFlag(self.iterationCounter)
flag = get_value_from_remote(flag)
# TODO Display selection is mostly guesswork here (very fragile)
errors = get_value_from_remote(
self.errorEstimation(self.errorsForStoppingCriterion)
)
dErrors = " ".join(["{err:.3e}".format(err=float(error)) for error in errors])
dHierarchy = " ".join([str(i[1]) for i in self.hierarchy()])
dTol = "None"
tols = self.tolerances(splittingParameter)
if tols:
dTol = " ".join(["{t:.3e}".format(t=tol) for tol in tols])
print(
f"Iteration — {self.iterationCounter}",
f"Tolerances — {dTol}",
f"Errors — {dErrors}",
f"Hierarchy — {dHierarchy}",
sep="\t",
)
if flag["updateTolerance"]:
self.updateTolerance()
if flag["updateIndexSpace"]:
self.updateHierarchySpace()
self.iterationCounter += 1
#### DATA DUMP ##########
if self.isDataDumped is True:
pathObject = pl.Path(self.outputFolderPath)
pathObject.mkdir(parents=True, exist_ok=True)
filename = (
self.outputFolderPath
+ "/iteration_"
+ str(self.iterationCounter)
+ ".pickle"
)
output_file = open(filename, "wb")
output_dict = {}
hier = self.hierarchy()
output_dict["predictedHierarchy"] = newHierarchy
output_dict["hierarchy"] = hier
if len(self.predictorsForHierarchy) != 0:
qoip = self.predictor()
costp = self.costPredictor()
output_dict["biasParameters"] = qoip[0].parameters
output_dict["varParameters"] = qoip[1].parameters
output_dict["costParameters"] = costp.parameters
output_dict["indexwiseBias"] = self.indexEstimation(0, [1, True, False])
errs = self.indexEstimation(0, [1, True, True])
levels, samples = splitOneListIntoTwo(hier)
output_dict["indexwiseVar"] = [errs[i] * samples[i] for i in range(len(errs))]
output_dict["indexwiseCost"] = self.indexCostEstimation([1, True, False])
hier = newHierarchy
levels, samples = splitOneListIntoTwo(hier)
costs = self.indexCostEstimation([1, True, False])
total_times = [sample * cost for sample, cost in zip(samples, costs)]
output_dict["totalTime"] = sum(total_times)
pickle.dump(output_dict, output_file)
# TODO - Debug statement. Remove for PYCOMPSS tests
displayEstimation = get_value_from_remote(self.estimation())
displayEstimation = " ".join(["{e:.3e}".format(e=est) for est in displayEstimation])
displayError = get_value_from_remote(
self.errorEstimation(self.errorsForStoppingCriterion)
)
displayError = " ".join(["{e:.3e}".format(e=error) for error in displayError])
displayCost = get_value_from_remote(self.indexCostEstimation([1, True, False]))
displayCost = " ".join(["{c:.3e}".format(c=cost) for cost in displayCost])
print(
f"Estimations — {displayEstimation}",
f"Final errors — {displayError}",
f"Levelwise mean costs — {displayCost}",
sep="\n",
)
####################################################################################################
###################################### ASYNCHRONOUS FRAMEWORK ######################################
####################################################################################################
def asynchronousFinalizeIteration(self):
"""
Method finalizing an iteration of the asynchornous framework. It synchronizes and calls all relevant methods of one single batch, the first available, before estimating convergence.
"""
continue_iterating = True
for batch in range(self.monteCarloSampler.numberBatches):
if (
self.monteCarloSampler.batchesLaunched[batch] is True
and self.monteCarloSampler.batchesExecutionFinished[batch] is True
and self.monteCarloSampler.batchesAnalysisFinished[batch] is True
and self.monteCarloSampler.batchesConvergenceFinished[batch] is not True
and continue_iterating is True
):
continue_iterating = False
self.monteCarloSampler.asynchronousFinalize(batch)
flag = self.stoppingCriterionFlag(self.iterationCounter)
self.monteCarloSampler.batchesConvergenceFinished[batch] = True
break
# screen iteration informations
errors = get_value_from_remote(self.errorEstimation(self.errorsForStoppingCriterion))
dTol = "None"
tols = self.tolerances()
if tols:
dTol = " ".join(["{t:.3e}".format(t=tol) for tol in tols])
print(
"Iteration ",
self.iterationCounter,
"\tTolerance - ",
dTol,
"\tError - ",
["%.3e" % err for err in errors],
"\tHierarchy - ",
self.hierarchy(),
)
# update tolerance and hierarchy space if required
if flag["updateTolerance"]:
self.updateTolerance()
if flag["updateIndexSpace"]:
self.updateHierarchySpace()
# update iteration counter
self.iterationCounter += 1
return flag
def runAsynchronousXMC(self):
"""
Run algorithm with asynchronous framework.
"""
self.checkInitialisation(self)
# set maximum number of iteration variable
self.monteCarloSampler.maximumNumberIterations = self.stoppingCriterion.tolerances(
[self.positionMaxNumberIterationsCriterion]
)[0]
# Iteration loop will start here
flag = self.stoppingCriterion.flagStructure()
self.iterationCounter = 0
while not flag["stop"]:
# estimate splitting parameter
newHierarchy, splittingParameter = self.optimalHierarchy()
self.splitTolerance(splittingParameter)
# launch asynchronous monteCarloSampler update method
self.monteCarloSampler.asynchronousUpdate(newHierarchy)
# finalize phase of the iteration and return flag
flag = self.asynchronousFinalizeIteration()
# screen results
displayEstimation = self.estimation()
displayError = self.errorEstimation(self.errorsForStoppingCriterion)
displayCost = self.indexCostEstimation([1, True, False])
print(
f"Estimations — {displayEstimation}",
f"Final errors — {displayError}",
f"Levelwise mean costs — {displayCost}",
sep="\n",
)
| [
11748,
2298,
293,
198,
11748,
3108,
8019,
355,
458,
198,
198,
6738,
19720,
1330,
7343,
198,
198,
2,
1395,
9655,
17944,
198,
6738,
2124,
23209,
13,
31391,
1330,
8925,
20939,
11,
6626,
3198,
8053,
5317,
78,
7571,
198,
6738,
2124,
23209,
13,
24396,
7469,
82,
62,
87,
23209,
2348,
42289,
1330,
2198,
24243,
5612,
198,
198,
2,
17267,
1475,
64,
10917,
660,
7824,
198,
6738,
409,
30188,
1133,
1330,
651,
62,
8367,
62,
6738,
62,
47960,
628,
198,
4871,
1395,
9655,
2348,
42289,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
770,
1353,
12,
5715,
1398,
17105,
262,
4045,
11862,
25,
4238,
5612,
355,
880,
355,
2279,
198,
220,
220,
220,
3519,
284,
4049,
11,
15621,
290,
34820,
13,
632,
635,
22194,
262,
3306,
5050,
290,
198,
220,
220,
220,
12608,
284,
2251,
649,
3858,
286,
16113,
13,
2102,
11,
262,
10784,
286,
2482,
318,
284,
307,
198,
220,
220,
220,
12118,
2354,
13,
198,
220,
220,
220,
770,
10314,
318,
407,
1865,
1844,
13,
628,
220,
220,
220,
1635,
25458,
198,
220,
220,
220,
532,
1057,
55,
9655,
25,
1057,
281,
11862,
351,
14276,
4645,
13,
632,
318,
262,
2446,
284,
869,
284,
1057,
262,
198,
220,
220,
220,
220,
220,
11862,
13,
198,
220,
220,
220,
532,
1057,
1722,
31301,
55,
9655,
25,
1057,
281,
11862,
351,
14276,
4645,
29440,
262,
39354,
198,
220,
220,
220,
220,
220,
9355,
13,
632,
318,
262,
2446,
284,
869,
284,
1057,
262,
39354,
11862,
13,
628,
220,
220,
220,
1635,
49213,
198,
220,
220,
220,
532,
3959,
2024,
1890,
39,
959,
9282,
25,
7343,
58,
8053,
4083,
770,
318,
257,
1351,
286,
7729,
329,
262,
6376,
3083,
198,
220,
220,
220,
3959,
602,
284,
307,
1908,
284,
262,
18911,
6436,
5847,
13,
3959,
2024,
1890,
39,
959,
9282,
58,
15,
60,
4909,
198,
220,
220,
220,
7729,
329,
262,
717,
31850,
284,
307,
1908,
357,
395,
320,
2024,
1890,
39,
959,
9282,
58,
16,
60,
262,
1218,
11,
198,
220,
220,
220,
3503,
15729,
3959,
2024,
1890,
39,
959,
9282,
58,
15,
7131,
15,
60,
318,
262,
6376,
286,
262,
3959,
1352,
5213,
11,
355,
6149,
287,
198,
220,
220,
220,
22489,
9914,
5439,
15732,
13,
80,
23013,
22362,
320,
1352,
26,
3959,
2024,
1890,
39,
959,
9282,
58,
15,
7131,
16,
60,
318,
262,
1351,
286,
7159,
284,
307,
198,
220,
220,
220,
3804,
284,
262,
1988,
2446,
286,
428,
3959,
1352,
13,
2312,
3815,
389,
973,
287,
198,
220,
220,
220,
1395,
9655,
2348,
42289,
13,
8738,
4402,
39,
959,
9282,
290,
4191,
1255,
287,
257,
869,
286,
262,
1296,
198,
220,
220,
220,
34931,
22362,
320,
1352,
13,
8367,
7,
395,
320,
2024,
1890,
39,
959,
9282,
58,
15,
4357,
1635,
395,
320,
2024,
1890,
39,
959,
9282,
58,
16,
35944,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
18911,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
1459,
18911,
286,
262,
13122,
3959,
1352,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
71,
959,
9282,
3419,
628,
220,
220,
220,
825,
6626,
51,
37668,
7,
944,
11,
26021,
36301,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
326,
20314,
351,
262,
15237,
18559,
28019,
1398,
284,
4174,
15621,
198,
220,
220,
220,
220,
220,
220,
220,
26021,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
33307,
18559,
28019,
13,
35312,
51,
37668,
7,
22018,
2535,
36301,
8,
628,
220,
220,
220,
825,
16586,
39,
959,
9282,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
326,
20314,
351,
262,
36496,
9282,
27871,
320,
5847,
1398,
284,
24061,
198,
220,
220,
220,
220,
220,
220,
220,
262,
16586,
18911,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
796,
2116,
13,
71,
959,
9282,
27871,
320,
5847,
13,
15414,
35,
14188,
30800,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1400,
6436,
5612,
379,
717,
24415,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
2676,
341,
31694,
1279,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
39,
959,
9282,
796,
2116,
13,
71,
959,
9282,
27871,
320,
5847,
13,
12286,
39,
959,
9282,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26021,
36301,
796,
5128,
62,
11600,
13,
1136,
7203,
22018,
2535,
36301,
1600,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
39,
959,
9282,
11,
26021,
36301,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25974,
11,
25432,
1366,
329,
18911,
6436,
5847,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
14534,
9633,
286,
1393,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12901,
3083,
3959,
602,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
395,
320,
2024,
1890,
39,
959,
9282,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
395,
320,
602,
8973,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
651,
62,
8367,
62,
6738,
62,
47960,
7,
944,
13,
9630,
22362,
18991,
7,
66,
58,
15,
4357,
269,
58,
16,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
2116,
13,
395,
320,
2024,
1890,
39,
959,
9282,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
49461,
669,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
79,
17407,
669,
1890,
39,
959,
9282,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
27530,
8973,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
17143,
7307,
1890,
17633,
8973,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
6349,
287,
2116,
13,
79,
17407,
669,
1890,
39,
959,
9282,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
27530,
1,
4083,
33295,
7,
944,
13,
79,
17407,
273,
7,
37652,
737,
62,
8367,
1890,
48944,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
770,
815,
651,
2116,
13,
79,
17407,
273,
7,
37652,
737,
727,
48944,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
290,
4277,
284,
2116,
13,
79,
17407,
273,
7,
37652,
737,
17143,
7307,
611,
484,
389,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
944,
13,
79,
17407,
273,
7,
37652,
737,
17143,
7307,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
17143,
7307,
1890,
17633,
1,
4083,
33295,
7,
37266,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
27565,
1575,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
12901,
3083,
31850,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
15805,
22362,
320,
1352,
1890,
39,
959,
9282,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
15805,
22362,
320,
602,
8973,
796,
2116,
13,
9630,
13729,
22362,
18991,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15805,
22362,
320,
1352,
1890,
39,
959,
9282,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
49461,
273,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
15805,
47,
17407,
273,
3419,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
15805,
17633,
8973,
796,
2116,
13,
15805,
47,
17407,
273,
22446,
62,
8367,
1890,
48944,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
770,
815,
651,
2116,
13,
15805,
47,
17407,
273,
22446,
727,
48944,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
290,
4277,
284,
2116,
13,
15805,
47,
17407,
273,
22446,
17143,
7307,
611,
484,
389,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
15805,
48944,
8973,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15805,
47,
17407,
273,
22446,
17143,
7307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13047,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
532,
19817,
390,
35790,
2174,
3228,
3060,
2446,
284,
651,
4049,
22362,
320,
1352,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
393,
4049,
22362,
320,
1352,
5563,
2405,
422,
937,
660,
9914,
5439,
16305,
20053,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
18224,
48944,
1890,
39,
959,
9282,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
18224,
48944,
8973,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
18224,
22362,
320,
2024,
58,
66,
4083,
17143,
7307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
269,
287,
2116,
13,
18224,
48944,
1890,
39,
959,
9282,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
46253,
10007,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
3605,
36674,
15057,
8973,
796,
1679,
220,
1303,
16926,
46,
4566,
11970,
11,
407,
1327,
12,
40976,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
727,
39,
959,
9282,
8973,
796,
2116,
13,
71,
959,
9282,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
14692,
12286,
39,
959,
9282,
8973,
796,
2116,
13,
71,
959,
9282,
27871,
320,
5847,
13,
12286,
39,
959,
9282,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16065,
11413,
5612,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11600,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
15414,
62,
11600,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3082,
1133,
649,
18911,
198,
220,
220,
220,
220,
220,
220,
220,
649,
39,
959,
9282,
796,
2116,
13,
71,
959,
9282,
27871,
320,
5847,
13,
8738,
4402,
39,
959,
9282,
7,
15414,
62,
11600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
26021,
36301,
796,
5128,
62,
11600,
13,
1136,
7203,
22018,
2535,
36301,
1600,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
39,
959,
9282,
11,
26021,
36301,
628,
220,
220,
220,
825,
4296,
39,
959,
9282,
7,
944,
11,
649,
39,
959,
9282,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
326,
20314,
351,
262,
937,
660,
9914,
5439,
36674,
1398,
284,
12260,
198,
220,
220,
220,
220,
220,
220,
220,
257,
1813,
18911,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
714,
307,
10416,
351,
16586,
39,
959,
9282,
13,
7152,
480,
4296,
16305,
20053,
393,
4296,
16305,
20053,
39,
959,
9282,
30,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
19119,
7,
3605,
39,
959,
9282,
8,
628,
220,
220,
220,
825,
31850,
7,
944,
11,
11156,
1754,
7222,
585,
17540,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
326,
3848,
262,
31850,
2446,
286,
937,
660,
9914,
5439,
16305,
20053,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
395,
18991,
7,
34455,
1754,
7222,
585,
17540,
8,
628,
220,
220,
220,
825,
4049,
22362,
18991,
7,
944,
11,
4049,
22362,
320,
1352,
7222,
585,
17540,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
326,
3848,
262,
4049,
22362,
18991,
2446,
286,
937,
660,
9914,
5439,
16305,
20053,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
18224,
22362,
18991,
7,
18224,
22362,
320,
1352,
7222,
585,
17540,
8,
628,
220,
220,
220,
825,
4296,
39,
959,
9282,
14106,
7,
944,
11,
1635,
22046,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
326,
20314,
351,
262,
36496,
9282,
27871,
320,
5847,
1398,
284,
24061,
198,
220,
220,
220,
220,
220,
220,
220,
262,
18911,
2272,
287,
543,
284,
2989,
329,
262,
16586,
18911,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
71,
959,
9282,
27871,
320,
5847,
13,
19119,
39,
959,
9282,
14106,
7,
22046,
8,
628,
220,
220,
220,
825,
12225,
18559,
28019,
34227,
7,
944,
11,
1459,
13729,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4889,
12225,
18559,
28019,
13,
32109,
351,
262,
1774,
7159,
290,
1441,
663,
5072,
198,
220,
220,
220,
220,
220,
220,
220,
357,
64,
13,
74,
13,
64,
6056,
737,
198,
220,
220,
220,
220,
220,
220,
220,
23412,
4578,
25,
1459,
13729,
318,
281,
12955,
286,
262,
1575,
262,
11862,
468,
920,
6255,
198,
220,
220,
220,
220,
220,
220,
220,
523,
1290,
26,
356,
3221,
779,
262,
1271,
286,
34820,
13,
198,
220,
220,
220,
220,
220,
220,
220,
25235,
4578,
25,
34054,
6056,
4645,
355,
8160,
287,
262,
15237,
18559,
28019,
1398,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
8563,
2672,
329,
12225,
34054,
198,
220,
220,
220,
220,
220,
220,
220,
8563,
796,
2116,
13,
18224,
22362,
18991,
7,
944,
13,
48277,
1890,
1273,
33307,
18559,
28019,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
5345,
510,
22155,
2672,
329,
12225,
18559,
28019,
13,
32109,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
67,
14188,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
48277,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
67,
14188,
14692,
18224,
1,
1343,
965,
7,
72,
15437,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
48277,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
67,
14188,
14692,
71,
959,
9282,
8973,
796,
2116,
13,
71,
959,
9282,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
67,
14188,
14692,
282,
42289,
13729,
8973,
796,
1459,
13729,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3082,
1133,
6056,
422,
22155,
290,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
301,
33307,
18559,
28019,
13,
32109,
7,
15414,
62,
67,
14188,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6056,
628,
220,
220,
220,
825,
1057,
55,
9655,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5660,
281,
11862,
351,
14276,
4645,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9122,
24243,
5612,
7,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
40806,
341,
26304,
481,
923,
994,
198,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
301,
33307,
18559,
28019,
13,
32109,
1273,
5620,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2676,
341,
31694,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
7203,
45198,
40806,
602,
329,
15621,
33172,
2116,
13,
83,
13625,
1817,
7,
944,
13,
48277,
1890,
1273,
33307,
18559,
28019,
4008,
1303,
51,
3727,
46,
407,
845,
12373,
198,
220,
220,
220,
220,
220,
220,
220,
981,
407,
6056,
14692,
11338,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
33495,
23572,
13,
12039,
307,
13770,
10667,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
39,
959,
9282,
11,
26021,
36301,
796,
2116,
13,
8738,
4402,
39,
959,
9282,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35312,
51,
37668,
7,
22018,
2535,
36301,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
39,
959,
9282,
7,
3605,
39,
959,
9282,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
42133,
966,
2622,
284,
4219,
649,
8861,
611,
40826,
318,
3991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1234,
262,
42133,
966,
355,
287,
262,
886,
355,
1744,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
4781,
422,
994,
262,
42133,
966,
284,
517,
7104,
4113,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
301,
33307,
18559,
28019,
34227,
7,
944,
13,
2676,
341,
31694,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
32109,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
16531,
6356,
318,
4632,
4724,
1818,
994,
357,
548,
21049,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8563,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
18224,
22362,
18991,
7,
944,
13,
48277,
1890,
1273,
33307,
18559,
28019,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
9139,
5965,
796,
366,
27071,
22179,
7,
14692,
90,
8056,
25,
13,
18,
68,
92,
1911,
18982,
7,
8056,
28,
22468,
7,
18224,
4008,
329,
4049,
287,
8563,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
39,
959,
9282,
796,
366,
27071,
22179,
26933,
2536,
7,
72,
58,
16,
12962,
329,
1312,
287,
2116,
13,
71,
959,
9282,
3419,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
51,
349,
796,
366,
14202,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
7278,
796,
2116,
13,
83,
13625,
1817,
7,
22018,
2535,
36301,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
284,
7278,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
51,
349,
796,
366,
27071,
22179,
7,
14692,
90,
83,
25,
13,
18,
68,
92,
1911,
18982,
7,
83,
28,
83,
349,
8,
329,
284,
75,
287,
284,
7278,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
29993,
341,
851,
1391,
944,
13,
2676,
341,
31694,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
51,
13625,
1817,
851,
1391,
67,
51,
349,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
9139,
5965,
851,
1391,
67,
9139,
5965,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
39,
959,
9282,
851,
1391,
67,
39,
959,
9282,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41767,
2625,
59,
83,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6056,
14692,
19119,
51,
37668,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
51,
37668,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6056,
14692,
19119,
15732,
14106,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
39,
959,
9282,
14106,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2676,
341,
31694,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
21017,
42865,
360,
20476,
1303,
7804,
2,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
271,
6601,
35,
27073,
318,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
10267,
796,
458,
13,
15235,
7,
944,
13,
22915,
41092,
15235,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
10267,
13,
28015,
15908,
7,
23743,
28,
17821,
11,
2152,
62,
482,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22915,
41092,
15235,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
12813,
2676,
341,
62,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
965,
7,
944,
13,
2676,
341,
31694,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
27071,
27729,
293,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
7753,
796,
1280,
7,
34345,
11,
366,
39346,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13550,
796,
2116,
13,
71,
959,
9282,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
28764,
5722,
39,
959,
9282,
8973,
796,
649,
39,
959,
9282,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
71,
959,
9282,
8973,
796,
13550,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
79,
17407,
669,
1890,
39,
959,
9282,
8,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
78,
541,
796,
2116,
13,
79,
17407,
273,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1575,
79,
796,
2116,
13,
15805,
47,
17407,
273,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
65,
4448,
48944,
8973,
796,
10662,
78,
541,
58,
15,
4083,
17143,
7307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
7785,
48944,
8973,
796,
10662,
78,
541,
58,
16,
4083,
17143,
7307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
15805,
48944,
8973,
796,
1575,
79,
13,
17143,
7307,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
9630,
3083,
33,
4448,
8973,
796,
2116,
13,
9630,
22362,
18991,
7,
15,
11,
685,
16,
11,
6407,
11,
10352,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1931,
3808,
796,
2116,
13,
9630,
22362,
18991,
7,
15,
11,
685,
16,
11,
6407,
11,
6407,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2974,
11,
8405,
796,
6626,
3198,
8053,
5317,
78,
7571,
7,
71,
959,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
9630,
3083,
19852,
8973,
796,
685,
263,
3808,
58,
72,
60,
1635,
8405,
58,
72,
60,
329,
1312,
287,
2837,
7,
11925,
7,
263,
3808,
4008,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
9630,
3083,
13729,
8973,
796,
2116,
13,
9630,
13729,
22362,
18991,
26933,
16,
11,
6407,
11,
10352,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13550,
796,
649,
39,
959,
9282,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2974,
11,
8405,
796,
6626,
3198,
8053,
5317,
78,
7571,
7,
71,
959,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3484,
796,
2116,
13,
9630,
13729,
22362,
18991,
26933,
16,
11,
6407,
11,
10352,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2472,
62,
22355,
796,
685,
39873,
1635,
1575,
329,
6291,
11,
1575,
287,
19974,
7,
82,
12629,
11,
3484,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
11600,
14692,
23350,
7575,
8973,
796,
2160,
7,
23350,
62,
22355,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2298,
293,
13,
39455,
7,
22915,
62,
11600,
11,
5072,
62,
7753,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
532,
31687,
2643,
13,
17220,
329,
350,
56,
9858,
3705,
50,
5254,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
22362,
18991,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
944,
13,
395,
18991,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
22362,
18991,
796,
366,
27071,
22179,
7,
14692,
90,
68,
25,
13,
18,
68,
92,
1911,
18982,
7,
68,
28,
395,
8,
329,
1556,
287,
3359,
22362,
18991,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
12331,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
18224,
22362,
18991,
7,
944,
13,
48277,
1890,
1273,
33307,
18559,
28019,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
12331,
796,
366,
27071,
22179,
7,
14692,
90,
68,
25,
13,
18,
68,
92,
1911,
18982,
7,
68,
28,
18224,
8,
329,
4049,
287,
3359,
12331,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
13729,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
944,
13,
9630,
13729,
22362,
18991,
26933,
16,
11,
6407,
11,
10352,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
13729,
796,
366,
27071,
22179,
7,
14692,
90,
66,
25,
13,
18,
68,
92,
1911,
18982,
7,
66,
28,
15805,
8,
329,
1575,
287,
3359,
13729,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
22362,
320,
602,
851,
1391,
13812,
22362,
18991,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
19006,
8563,
851,
1391,
13812,
12331,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
4971,
3083,
1612,
3484,
851,
1391,
13812,
13729,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41767,
2625,
59,
77,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
29113,
29113,
29113,
21017,
198,
220,
220,
220,
1303,
29113,
4242,
2,
7054,
40760,
37846,
1340,
20958,
8782,
2390,
6217,
14670,
1303,
29113,
4242,
2,
198,
220,
220,
220,
1303,
29113,
29113,
29113,
21017,
628,
220,
220,
220,
825,
39354,
19006,
1096,
29993,
341,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
11789,
2457,
2890,
281,
24415,
286,
262,
355,
2047,
354,
1211,
516,
9355,
13,
632,
18305,
4340,
290,
3848,
477,
5981,
5050,
286,
530,
2060,
15458,
11,
262,
717,
1695,
11,
878,
39539,
40826,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2555,
62,
2676,
803,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
329,
15458,
287,
2837,
7,
944,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
17618,
33,
20981,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
8664,
2052,
46182,
1740,
58,
43501,
60,
318,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
8664,
2052,
23002,
1009,
18467,
1348,
58,
43501,
60,
318,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
8664,
2052,
32750,
18467,
1348,
58,
43501,
60,
318,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
8664,
2052,
3103,
332,
12745,
18467,
1348,
58,
43501,
60,
318,
407,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
2555,
62,
2676,
803,
318,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
62,
2676,
803,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
292,
31301,
19006,
1096,
7,
43501,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
301,
33307,
18559,
28019,
34227,
7,
944,
13,
2676,
341,
31694,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
8664,
2052,
3103,
332,
12745,
18467,
1348,
58,
43501,
60,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3159,
24415,
4175,
602,
198,
220,
220,
220,
220,
220,
220,
220,
8563,
796,
651,
62,
8367,
62,
6738,
62,
47960,
7,
944,
13,
18224,
22362,
18991,
7,
944,
13,
48277,
1890,
1273,
33307,
18559,
28019,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
288,
51,
349,
796,
366,
14202,
1,
198,
220,
220,
220,
220,
220,
220,
220,
284,
7278,
796,
2116,
13,
83,
13625,
1817,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
284,
7278,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
51,
349,
796,
366,
27071,
22179,
7,
14692,
90,
83,
25,
13,
18,
68,
92,
1911,
18982,
7,
83,
28,
83,
349,
8,
329,
284,
75,
287,
284,
7278,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
29993,
341,
33172,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2676,
341,
31694,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37082,
83,
51,
37668,
532,
33172,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
51,
349,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37082,
83,
12331,
532,
33172,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
7225,
18,
68,
1,
4064,
11454,
329,
11454,
287,
8563,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37082,
83,
39,
959,
9282,
532,
33172,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
71,
959,
9282,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
15621,
290,
18911,
2272,
611,
2672,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6056,
14692,
19119,
51,
37668,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
51,
37668,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6056,
14692,
19119,
15732,
14106,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
39,
959,
9282,
14106,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
24415,
3753,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2676,
341,
31694,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6056,
628,
220,
220,
220,
825,
1057,
1722,
31301,
55,
9655,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5660,
11862,
351,
39354,
9355,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9122,
24243,
5612,
7,
944,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
900,
5415,
1271,
286,
24415,
7885,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
47033,
15057,
29993,
602,
796,
2116,
13,
301,
33307,
18559,
28019,
13,
83,
13625,
1817,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
944,
13,
9150,
11518,
15057,
29993,
602,
18559,
28019,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
40806,
341,
9052,
481,
923,
994,
198,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
301,
33307,
18559,
28019,
13,
32109,
1273,
5620,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2676,
341,
31694,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
981,
407,
6056,
14692,
11338,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8636,
26021,
11507,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
649,
39,
959,
9282,
11,
26021,
36301,
796,
2116,
13,
8738,
4402,
39,
959,
9282,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35312,
51,
37668,
7,
22018,
2535,
36301,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4219,
39354,
937,
660,
9914,
5439,
16305,
20053,
4296,
2446,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2144,
660,
9914,
5439,
16305,
20053,
13,
292,
31301,
10260,
7,
3605,
39,
959,
9282,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2457,
1096,
7108,
286,
262,
24415,
290,
1441,
6056,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
292,
31301,
19006,
1096,
29993,
341,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3159,
2482,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
22362,
18991,
796,
2116,
13,
395,
18991,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
12331,
796,
2116,
13,
18224,
22362,
18991,
7,
944,
13,
48277,
1890,
1273,
33307,
18559,
28019,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
13729,
796,
2116,
13,
9630,
13729,
22362,
18991,
26933,
16,
11,
6407,
11,
10352,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
22362,
320,
602,
851,
1391,
13812,
22362,
18991,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
19006,
8563,
851,
1391,
13812,
12331,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
4971,
3083,
1612,
3484,
851,
1391,
13812,
13729,
92,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41767,
2625,
59,
77,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198
] | 2.403819 | 6,389 |
#!/usr/bin/python
## Massimiliano Patacchiola, Plymouth University 2016
import numpy as np
import os
import time
from scipy import spatial
#Informant reputation is evaluated considering: agent_action, agent_confidence, informant_action
#If the confidence of the agent is high and the action suggested is different from the action taken
#then the informant is evaluated as unreliable and a counter is incremeneted.
#The reputation counter is considered separated by the Cost function. Harris et al. have showed
#that 3yo children can estimate the reliability of the informant but they cannot estimate the
#cost of following the informant suggestion. This is in accordance with our model where the two
#entities are separated.
#
#Intrinsic environment: evaluates the cost of taking an action
#Trusting an unreliable informant has a cost, because the child will store an information which is not useful.
#This mechanism can be considered part of a planning module (e.g. prefrontal cortex) with inibitory projections.
#The cost function C can be defined as a function that takes as input: current_state, agent_action, agent_confidence, informant_action, informant_reputation.
#The cost function evaluates what's the cost of having taken an action in state S given the informant advice .
#The output of the function C is a real number representing the COST of taking that action given the informant suggestion.
#This table can be represented through a table or can be approximated through a function approximator (e.g. neural network)
#
#The actor architecture is a table of state-action pairs.
#When the child has to give a label for an object the policy must be used and not the utility table.
#The most common associated label to a visual object can be estimated setting the SOM action node to ACCEPT and then
#computing the activation of the vocabulary unit. The argmax is the value we want.
def softmax(x):
'''Compute softmax values of array x.
@param x the input array
@return the softmax array
'''
return np.exp(x - np.max(x)) / np.sum(np.exp(x - np.max(x)))
def training(dataset, actor_matrix, critic_vector, informant_vector, tot_images, tot_labels, tot_actions, verbose=False):
'''Train the actor using Intrinsic Motivated Reinforcement Learning
General Algorithm Description:
1- To the agent is presented an object and a label (current state).
2- An informant suggest a possible action (accept or reject the label).
3- The agent take an action (with softmax) considering is current state-action table
4- (External) New state and reward obtained from the environment
5- (Intrinsic) The informant_reputation is updated through MLE: agent_action, agent_confidence, informant_action, reward
6- (Intrinsic) The Cost is estimated: current_state, agent_action, agent_confidence, informant_action, informant_reputation
7- The utility table is updated using: previous_state, current_state, cost, reward
8- The actor table is updated using the delta from the critic
'''
#Hyper-Parameters
reward = 0
gamma = 1.0 #no gamma used in thsi example
learning_rate = 0.1
counter = 1
for episode in dataset:
#1- To the agent is presented an object and a label (current state).
image = episode[0] #image of the object
label = episode[1] #label given by the informant
informant_index = episode[2] #a integer representing the informant
informant_action = episode[3] #0=reject, 1=accept
#3- The agent take an action (with softmax) considering is current state-action table
#[0=cup, 1=book, 2=ball]
col = (image * tot_images) + label
action_array = actor_matrix[:, col]
action_distribution = softmax(action_array)
child_action = np.random.choice(tot_actions, 1, p=action_distribution) #select the action through softmax
#4- (External) New state and reward obtained from the environment
u_t = critic_vector[0, col] #previous state
#New state is estimated, in this simple case nothing happen
#because the next state is terminal
u_t1 = u_t
#5- (Intrinsic) The informant_reputation is updated: agent_action, agent_confidence, informant_action, reward
#informant_vector: 0=unreliable, 1=reliable
#do_actions_agree: False, True
#Estimating child_confidence
#distance = scipy.spatial.distance.correlation(action_distribution[0], action_distribution[1])
#child_confidence_distribution = [np.min(action_distribution), np.max(action_distribution)] #non-knowledgeable, knowledgeable
distance = np.absolute(action_distribution[0] - action_distribution[1])
child_confidence_distribution = [1-distance, distance]
child_confidence = np.random.choice(2, 1, p=child_confidence_distribution)
#if(distance == 0):
#child_confidence=0
#child_confidence_distribution = [1, 0]
#else:
#child_confidence=1
#child_confidence_distribution = [0, 1]
#Check if child and informant agree
if(child_action == informant_action): do_actions_agree = True
else: do_actions_agree = False
#Increment the counter in the informant_vector.
#Here we update the counter distribtuion only if
#the child is confident, because it is only in that
#case that the child can say if the informant is
#reliable or not.
if(do_actions_agree==False and child_confidence==1):
informant_vector[informant_index][0] += 1 #unreliable
elif(do_actions_agree==True and child_confidence==1):
informant_vector[informant_index][1] += 1 #reliable
elif(do_actions_agree==False and child_confidence==0):
#When child is not confident cannot update the table
informant_vector[informant_index][1] += 0 #reliable
informant_vector[informant_index][0] += 0 #unreliable
elif(do_actions_agree==True and child_confidence==0):
#When child is not confident cannot update the table
informant_vector[informant_index][1] += 0 #reliable
informant_vector[informant_index][0] += 0 #unreliable
else:
raise ValueError("ERROR: anomaly in the IF condition for informant_vector update")
#Using the informant_vector given as input it estimates the reputation of the informant
informant_reputation_distribution = np.true_divide(informant_vector[informant_index], np.sum(informant_vector[informant_index]))
informant_reputation = np.random.choice(2, 1, p=informant_reputation_distribution)
#informant_reputation = np.argmax(informant_reputation_distribution)
#6- (Intrinsic) The Cost is estimated: current_state, agent_action, agent_confidence, informant_action, informant_reputation
#child_confidence: 0=non-knowledgeable, 1=knowledgeable
#informant_reputation: 0=non-knowledgeable, 1=knowledgeable
#action: 0=reject, 1=accept
#informant_action: 0=reject, 1=accept
if(child_confidence==1 and informant_reputation==1 and child_action==1 and informant_action==1): cost = -1.0 # (knowledge, knowledge, accept, accept) = reinforce
elif(child_confidence==1 and informant_reputation==1 and child_action==0 and informant_action==1): cost = +0.5 # (knowledge, knowledge, reject, accept) = slight punish
elif(child_confidence==1 and informant_reputation==1 and child_action==1 and informant_action==0): cost = +0.5 # (knowledge, knowledge, accept, reject) = slight punish
elif(child_confidence==1 and informant_reputation==1 and child_action==0 and informant_action==0): cost = -1.0 # (knowledge, knowledge, reject, reject) = reinforce
elif(child_confidence==0 and informant_reputation==1 and child_action==1 and informant_action==1): cost = -1.0 # (non-knowledge, knowledge, accept, accept) = reinforce
elif(child_confidence==0 and informant_reputation==1 and child_action==0 and informant_action==0): cost = -1.0 # (non-knowledge, knowledge, reject, reject) = reinforce
elif(child_confidence==0 and informant_reputation==1 and child_action==0 and informant_action==1): cost = +1.0 # (non-knowledge, knowledge, reject, accept) = punish
elif(child_confidence==0 and informant_reputation==1 and child_action==1 and informant_action==0): cost = +1.0 # (non-knowledge, knowledge, accept, reject) = punish
elif(child_confidence==1 and informant_reputation==0 and child_action==1 and informant_action==1): cost = 0.0 # (knowledge, non-knowledge, accept, accept) =
elif(child_confidence==1 and informant_reputation==0 and child_action==0 and informant_action==1): cost = 0.0 # (knowledge, non-knowledge, reject, accept) =
elif(child_confidence==1 and informant_reputation==0 and child_action==1 and informant_action==0): cost = 0.0 # (knowledge, non-knowledge, accept, reject) =
elif(child_confidence==1 and informant_reputation==0 and child_action==0 and informant_action==0): cost = 0.0 # (knowledge, non-knowledge, reject, reject) =
elif(child_confidence==0 and informant_reputation==0 and child_action==1 and informant_action==1): cost = 0.0 # (non-knowledge, non-knowledge, accept, accept) = zero_cost
elif(child_confidence==0 and informant_reputation==0 and child_action==0 and informant_action==1): cost = 0.0 # (non-knowledge, non-knowledge, reject, accept) = zero_cost
elif(child_confidence==0 and informant_reputation==0 and child_action==1 and informant_action==0): cost = 0.0 # (non-knowledge, non-knowledge, accept, reject) = zero_cost
elif(child_confidence==0 and informant_reputation==0 and child_action==0 and informant_action==0): cost = 0.0 # (non-knowledge, non-knowledge, reject, reject) = zero_cost
else: raise ValueError("ERROR: the Bayesian Networks input values are out of range")
#7- The utility table is updated using: preious_state, current_state, cost, reward
#Updating the critic using Temporal Differencing Learning
#In this simple case there is not a u_t1 state.
#The current state is considered terminal.
#We can delete the term (gamma*u_t1)-u_t and considering
#only (reward-cost) as utility of the state (you can cite Russel Norvig).
delta = (reward - cost) + (gamma*u_t1) - u_t
critic_vector[0, col] += learning_rate*delta
#8- The actor table is updated using the delta from the critic
#Update the ACTOR using the delta
actor_matrix[child_action, col] += learning_rate*delta #the current action
actor_matrix[1-child_action, col] -= learning_rate*delta #the opposite action
if(verbose==True):
print("")
print("===========================")
print("Episode: " + str(counter))
print("Image: " + str(image) + "; Label: " + str(label))
print("Child action distribution: " + str(action_distribution))
print("Child action: " + str(child_action))
print("Child knowledge distribution: " + str(child_confidence_distribution))
print("Child knowledge: " + str(child_confidence))
print("Informant index: " + str(informant_index))
print("Informant action: " + str(informant_action))
print("Informant knowledge: " + str(informant_reputation))
print("Informant knowledge distribution: " + str(informant_reputation_distribution))
print("Cost: " + str(cost))
print("")
print("critic vector: " + str(critic_vector))
print("")
print("actor_matrix: " + str(actor_matrix))
print("")
print("informant_vector: " + str(informant_vector))
counter += 1
return actor_matrix, critic_vector, informant_vector
if __name__ == "__main__":
main()
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
198,
2235,
5674,
26641,
10115,
3208,
330,
354,
30292,
11,
42125,
2059,
1584,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
28686,
220,
198,
11748,
640,
198,
6738,
629,
541,
88,
1330,
21739,
198,
198,
2,
818,
687,
415,
8507,
318,
16726,
6402,
25,
5797,
62,
2673,
11,
5797,
62,
39745,
11,
35710,
62,
2673,
198,
2,
1532,
262,
6628,
286,
262,
5797,
318,
1029,
290,
262,
2223,
5220,
318,
1180,
422,
262,
2223,
2077,
198,
2,
8524,
262,
35710,
318,
16726,
355,
29954,
290,
257,
3753,
318,
1253,
3653,
316,
276,
13,
198,
2,
464,
8507,
3753,
318,
3177,
11266,
416,
262,
6446,
2163,
13,
10026,
2123,
435,
13,
423,
3751,
198,
2,
5562,
513,
8226,
1751,
460,
8636,
262,
17843,
286,
262,
35710,
475,
484,
2314,
8636,
262,
198,
2,
15805,
286,
1708,
262,
35710,
13052,
13,
770,
318,
287,
10213,
351,
674,
2746,
810,
262,
734,
198,
2,
298,
871,
389,
11266,
13,
198,
2,
198,
2,
5317,
81,
1040,
291,
2858,
25,
47850,
262,
1575,
286,
2263,
281,
2223,
198,
2,
2898,
32620,
281,
29954,
35710,
468,
257,
1575,
11,
780,
262,
1200,
481,
3650,
281,
1321,
543,
318,
407,
4465,
13,
198,
2,
1212,
9030,
460,
307,
3177,
636,
286,
257,
5410,
8265,
357,
68,
13,
70,
13,
43118,
20223,
8,
351,
287,
571,
37765,
19887,
13,
198,
2,
464,
1575,
2163,
327,
460,
307,
5447,
355,
257,
2163,
326,
2753,
355,
5128,
25,
1459,
62,
5219,
11,
5797,
62,
2673,
11,
5797,
62,
39745,
11,
35710,
62,
2673,
11,
35710,
62,
260,
1996,
341,
13,
198,
2,
464,
1575,
2163,
47850,
644,
338,
262,
1575,
286,
1719,
2077,
281,
2223,
287,
1181,
311,
1813,
262,
35710,
5608,
764,
198,
2,
464,
5072,
286,
262,
2163,
327,
318,
257,
1103,
1271,
10200,
262,
7375,
2257,
286,
2263,
326,
2223,
1813,
262,
35710,
13052,
13,
198,
2,
1212,
3084,
460,
307,
7997,
832,
257,
3084,
393,
460,
307,
5561,
15655,
832,
257,
2163,
5561,
320,
1352,
357,
68,
13,
70,
13,
17019,
3127,
8,
198,
2,
198,
2,
464,
8674,
10959,
318,
257,
3084,
286,
1181,
12,
2673,
14729,
13,
220,
198,
2,
2215,
262,
1200,
468,
284,
1577,
257,
6167,
329,
281,
2134,
262,
2450,
1276,
307,
973,
290,
407,
262,
10361,
3084,
13,
198,
2,
464,
749,
2219,
3917,
6167,
284,
257,
5874,
2134,
460,
307,
6108,
4634,
262,
42121,
2223,
10139,
284,
15859,
8905,
51,
290,
788,
198,
2,
785,
48074,
262,
14916,
286,
262,
25818,
4326,
13,
383,
1822,
9806,
318,
262,
1988,
356,
765,
13,
628,
198,
4299,
2705,
9806,
7,
87,
2599,
198,
220,
220,
220,
705,
7061,
7293,
1133,
2705,
9806,
3815,
286,
7177,
2124,
13,
628,
220,
220,
220,
2488,
17143,
2124,
262,
5128,
7177,
198,
220,
220,
220,
2488,
7783,
262,
2705,
9806,
7177,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
1441,
45941,
13,
11201,
7,
87,
532,
45941,
13,
9806,
7,
87,
4008,
1220,
45941,
13,
16345,
7,
37659,
13,
11201,
7,
87,
532,
45941,
13,
9806,
7,
87,
22305,
198,
198,
4299,
3047,
7,
19608,
292,
316,
11,
8674,
62,
6759,
8609,
11,
4014,
62,
31364,
11,
35710,
62,
31364,
11,
2006,
62,
17566,
11,
2006,
62,
23912,
1424,
11,
2006,
62,
4658,
11,
15942,
577,
28,
25101,
2599,
198,
220,
220,
220,
705,
7061,
44077,
262,
8674,
1262,
2558,
81,
1040,
291,
6543,
30829,
22299,
13442,
18252,
628,
220,
220,
220,
3611,
978,
42289,
12489,
25,
198,
220,
220,
220,
352,
12,
1675,
262,
5797,
318,
5545,
281,
2134,
290,
257,
6167,
357,
14421,
1181,
737,
198,
220,
220,
220,
362,
12,
1052,
35710,
1950,
257,
1744,
2223,
357,
13635,
393,
4968,
262,
6167,
737,
198,
220,
220,
220,
513,
12,
383,
5797,
1011,
281,
2223,
357,
4480,
2705,
9806,
8,
6402,
318,
1459,
1181,
12,
2673,
3084,
198,
220,
220,
220,
604,
12,
357,
41506,
8,
968,
1181,
290,
6721,
6492,
422,
262,
2858,
198,
220,
220,
220,
642,
12,
357,
5317,
81,
1040,
291,
8,
383,
35710,
62,
260,
1996,
341,
318,
6153,
832,
337,
2538,
25,
5797,
62,
2673,
11,
5797,
62,
39745,
11,
35710,
62,
2673,
11,
6721,
198,
220,
220,
220,
718,
12,
357,
5317,
81,
1040,
291,
8,
383,
6446,
318,
6108,
25,
1459,
62,
5219,
11,
5797,
62,
2673,
11,
5797,
62,
39745,
11,
35710,
62,
2673,
11,
35710,
62,
260,
1996,
341,
198,
220,
220,
220,
767,
12,
383,
10361,
3084,
318,
6153,
1262,
25,
2180,
62,
5219,
11,
1459,
62,
5219,
11,
1575,
11,
6721,
198,
220,
220,
220,
807,
12,
383,
8674,
3084,
318,
6153,
1262,
262,
25979,
422,
262,
4014,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
1303,
38197,
12,
48944,
198,
220,
220,
220,
6721,
796,
657,
198,
220,
220,
220,
34236,
796,
352,
13,
15,
1303,
3919,
34236,
973,
287,
294,
13396,
1672,
198,
220,
220,
220,
4673,
62,
4873,
796,
657,
13,
16,
628,
220,
220,
220,
3753,
796,
352,
198,
220,
220,
220,
329,
4471,
287,
27039,
25,
628,
220,
220,
220,
220,
220,
1303,
16,
12,
1675,
262,
5797,
318,
5545,
281,
2134,
290,
257,
6167,
357,
14421,
1181,
737,
198,
220,
220,
220,
220,
220,
2939,
796,
4471,
58,
15,
60,
1303,
9060,
286,
262,
2134,
198,
220,
220,
220,
220,
220,
6167,
796,
4471,
58,
16,
60,
1303,
18242,
1813,
416,
262,
35710,
198,
220,
220,
220,
220,
220,
35710,
62,
9630,
796,
4471,
58,
17,
60,
1303,
64,
18253,
10200,
262,
35710,
198,
220,
220,
220,
220,
220,
35710,
62,
2673,
796,
4471,
58,
18,
60,
1303,
15,
28,
260,
752,
11,
352,
28,
13635,
628,
220,
220,
220,
220,
220,
1303,
18,
12,
383,
5797,
1011,
281,
2223,
357,
4480,
2705,
9806,
8,
6402,
318,
1459,
1181,
12,
2673,
3084,
198,
220,
220,
220,
220,
220,
1303,
58,
15,
28,
25244,
11,
352,
28,
2070,
11,
362,
28,
1894,
60,
198,
220,
220,
220,
220,
220,
951,
796,
357,
9060,
1635,
2006,
62,
17566,
8,
1343,
6167,
198,
220,
220,
220,
220,
220,
2223,
62,
18747,
796,
8674,
62,
6759,
8609,
58,
45299,
951,
60,
198,
220,
220,
220,
220,
220,
2223,
62,
17080,
3890,
796,
2705,
9806,
7,
2673,
62,
18747,
8,
198,
220,
220,
220,
220,
220,
1200,
62,
2673,
796,
45941,
13,
25120,
13,
25541,
7,
83,
313,
62,
4658,
11,
352,
11,
279,
28,
2673,
62,
17080,
3890,
8,
1303,
19738,
262,
2223,
832,
2705,
9806,
628,
220,
220,
220,
220,
220,
1303,
19,
12,
357,
41506,
8,
968,
1181,
290,
6721,
6492,
422,
262,
2858,
198,
220,
220,
220,
220,
220,
334,
62,
83,
796,
4014,
62,
31364,
58,
15,
11,
951,
60,
1303,
3866,
1442,
1181,
198,
220,
220,
220,
220,
220,
1303,
3791,
1181,
318,
6108,
11,
287,
428,
2829,
1339,
2147,
1645,
198,
220,
220,
220,
220,
220,
1303,
13893,
262,
1306,
1181,
318,
12094,
198,
220,
220,
220,
220,
220,
334,
62,
83,
16,
796,
334,
62,
83,
628,
220,
220,
220,
220,
220,
1303,
20,
12,
357,
5317,
81,
1040,
291,
8,
383,
35710,
62,
260,
1996,
341,
318,
6153,
25,
5797,
62,
2673,
11,
5797,
62,
39745,
11,
35710,
62,
2673,
11,
6721,
198,
220,
220,
220,
220,
220,
1303,
259,
687,
415,
62,
31364,
25,
657,
28,
403,
2411,
3379,
11,
352,
28,
2411,
3379,
198,
220,
220,
220,
220,
220,
1303,
4598,
62,
4658,
62,
49221,
25,
10352,
11,
6407,
198,
220,
220,
220,
220,
220,
1303,
22362,
39204,
1200,
62,
39745,
198,
220,
220,
220,
220,
220,
1303,
30246,
796,
629,
541,
88,
13,
2777,
34961,
13,
30246,
13,
10215,
49501,
7,
2673,
62,
17080,
3890,
58,
15,
4357,
2223,
62,
17080,
3890,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
1303,
9410,
62,
39745,
62,
17080,
3890,
796,
685,
37659,
13,
1084,
7,
2673,
62,
17080,
3890,
828,
45941,
13,
9806,
7,
2673,
62,
17080,
3890,
15437,
1303,
13159,
12,
45066,
540,
11,
29549,
198,
220,
220,
220,
220,
220,
5253,
796,
45941,
13,
48546,
7,
2673,
62,
17080,
3890,
58,
15,
60,
532,
2223,
62,
17080,
3890,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
1200,
62,
39745,
62,
17080,
3890,
796,
685,
16,
12,
30246,
11,
5253,
60,
198,
220,
220,
220,
220,
220,
1200,
62,
39745,
796,
45941,
13,
25120,
13,
25541,
7,
17,
11,
352,
11,
279,
28,
9410,
62,
39745,
62,
17080,
3890,
8,
198,
220,
220,
220,
220,
220,
1303,
361,
7,
30246,
6624,
657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9410,
62,
39745,
28,
15,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9410,
62,
39745,
62,
17080,
3890,
796,
685,
16,
11,
657,
60,
198,
220,
220,
220,
220,
220,
1303,
17772,
25,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9410,
62,
39745,
28,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9410,
62,
39745,
62,
17080,
3890,
796,
685,
15,
11,
352,
60,
628,
220,
220,
220,
220,
220,
1303,
9787,
611,
1200,
290,
35710,
4236,
198,
220,
220,
220,
220,
220,
611,
7,
9410,
62,
2673,
6624,
35710,
62,
2673,
2599,
466,
62,
4658,
62,
49221,
796,
6407,
198,
220,
220,
220,
220,
220,
2073,
25,
466,
62,
4658,
62,
49221,
796,
10352,
198,
220,
220,
220,
220,
220,
1303,
15562,
434,
262,
3753,
287,
262,
35710,
62,
31364,
13,
198,
220,
220,
220,
220,
220,
1303,
4342,
356,
4296,
262,
3753,
1233,
822,
28047,
295,
691,
611,
198,
220,
220,
220,
220,
220,
1303,
1169,
1200,
318,
6563,
11,
780,
340,
318,
691,
287,
326,
198,
220,
220,
220,
220,
220,
1303,
7442,
326,
262,
1200,
460,
910,
611,
262,
35710,
318,
198,
220,
220,
220,
220,
220,
1303,
2411,
3379,
393,
407,
13,
198,
220,
220,
220,
220,
220,
611,
7,
4598,
62,
4658,
62,
49221,
855,
25101,
290,
1200,
62,
39745,
855,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35710,
62,
31364,
58,
259,
687,
415,
62,
9630,
7131,
15,
60,
15853,
352,
1303,
403,
2411,
3379,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
4598,
62,
4658,
62,
49221,
855,
17821,
290,
1200,
62,
39745,
855,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35710,
62,
31364,
58,
259,
687,
415,
62,
9630,
7131,
16,
60,
15853,
352,
1303,
2411,
3379,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
4598,
62,
4658,
62,
49221,
855,
25101,
290,
1200,
62,
39745,
855,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2215,
1200,
318,
407,
6563,
2314,
4296,
262,
3084,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35710,
62,
31364,
58,
259,
687,
415,
62,
9630,
7131,
16,
60,
15853,
657,
1303,
2411,
3379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35710,
62,
31364,
58,
259,
687,
415,
62,
9630,
7131,
15,
60,
15853,
657,
1303,
403,
2411,
3379,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
4598,
62,
4658,
62,
49221,
855,
17821,
290,
1200,
62,
39745,
855,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2215,
1200,
318,
407,
6563,
2314,
4296,
262,
3084,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35710,
62,
31364,
58,
259,
687,
415,
62,
9630,
7131,
16,
60,
15853,
657,
1303,
2411,
3379,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35710,
62,
31364,
58,
259,
687,
415,
62,
9630,
7131,
15,
60,
15853,
657,
1303,
403,
2411,
3379,
198,
220,
220,
220,
220,
220,
2073,
25,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
24908,
25,
32172,
287,
262,
16876,
4006,
329,
35710,
62,
31364,
4296,
4943,
198,
220,
220,
220,
220,
220,
1303,
12814,
262,
35710,
62,
31364,
1813,
355,
5128,
340,
7746,
262,
8507,
286,
262,
35710,
198,
220,
220,
220,
220,
220,
35710,
62,
260,
1996,
341,
62,
17080,
3890,
796,
45941,
13,
7942,
62,
7146,
485,
7,
259,
687,
415,
62,
31364,
58,
259,
687,
415,
62,
9630,
4357,
45941,
13,
16345,
7,
259,
687,
415,
62,
31364,
58,
259,
687,
415,
62,
9630,
60,
4008,
198,
220,
220,
220,
220,
220,
35710,
62,
260,
1996,
341,
796,
45941,
13,
25120,
13,
25541,
7,
17,
11,
352,
11,
279,
28,
259,
687,
415,
62,
260,
1996,
341,
62,
17080,
3890,
8,
198,
220,
220,
220,
220,
220,
1303,
259,
687,
415,
62,
260,
1996,
341,
796,
45941,
13,
853,
9806,
7,
259,
687,
415,
62,
260,
1996,
341,
62,
17080,
3890,
8,
628,
220,
220,
220,
220,
220,
1303,
21,
12,
357,
5317,
81,
1040,
291,
8,
383,
6446,
318,
6108,
25,
1459,
62,
5219,
11,
5797,
62,
2673,
11,
5797,
62,
39745,
11,
35710,
62,
2673,
11,
35710,
62,
260,
1996,
341,
198,
220,
220,
220,
220,
220,
1303,
9410,
62,
39745,
25,
657,
28,
13159,
12,
45066,
540,
11,
352,
28,
45066,
540,
198,
220,
220,
220,
220,
220,
1303,
259,
687,
415,
62,
260,
1996,
341,
25,
657,
28,
13159,
12,
45066,
540,
11,
352,
28,
45066,
540,
198,
220,
220,
220,
220,
220,
1303,
2673,
25,
657,
28,
260,
752,
11,
352,
28,
13635,
198,
220,
220,
220,
220,
220,
1303,
259,
687,
415,
62,
2673,
25,
657,
28,
260,
752,
11,
352,
28,
13635,
198,
220,
220,
220,
220,
220,
611,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
532,
16,
13,
15,
1303,
357,
45066,
11,
3725,
11,
2453,
11,
2453,
8,
796,
19594,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
1343,
15,
13,
20,
1303,
357,
45066,
11,
3725,
11,
4968,
11,
2453,
8,
796,
3731,
6878,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
1343,
15,
13,
20,
1303,
357,
45066,
11,
3725,
11,
2453,
11,
4968,
8,
796,
3731,
6878,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
532,
16,
13,
15,
1303,
357,
45066,
11,
3725,
11,
4968,
11,
4968,
8,
796,
19594,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
532,
16,
13,
15,
1303,
357,
13159,
12,
45066,
11,
3725,
11,
2453,
11,
2453,
8,
796,
19594,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
532,
16,
13,
15,
1303,
357,
13159,
12,
45066,
11,
3725,
11,
4968,
11,
4968,
8,
796,
19594,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
1343,
16,
13,
15,
1303,
357,
13159,
12,
45066,
11,
3725,
11,
4968,
11,
2453,
8,
796,
6878,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
16,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
1343,
16,
13,
15,
1303,
357,
13159,
12,
45066,
11,
3725,
11,
2453,
11,
4968,
8,
796,
6878,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
45066,
11,
1729,
12,
45066,
11,
2453,
11,
2453,
8,
796,
220,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
45066,
11,
1729,
12,
45066,
11,
4968,
11,
2453,
8,
796,
220,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
45066,
11,
1729,
12,
45066,
11,
2453,
11,
4968,
8,
796,
220,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
16,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
45066,
11,
1729,
12,
45066,
11,
4968,
11,
4968,
8,
796,
220,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
13159,
12,
45066,
11,
1729,
12,
45066,
11,
2453,
11,
2453,
8,
796,
6632,
62,
15805,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
16,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
13159,
12,
45066,
11,
1729,
12,
45066,
11,
4968,
11,
2453,
8,
796,
6632,
62,
15805,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
16,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
13159,
12,
45066,
11,
1729,
12,
45066,
11,
2453,
11,
4968,
8,
796,
6632,
62,
15805,
198,
220,
220,
220,
220,
220,
1288,
361,
7,
9410,
62,
39745,
855,
15,
290,
35710,
62,
260,
1996,
341,
855,
15,
290,
1200,
62,
2673,
855,
15,
290,
35710,
62,
2673,
855,
15,
2599,
1575,
796,
220,
657,
13,
15,
1303,
357,
13159,
12,
45066,
11,
1729,
12,
45066,
11,
4968,
11,
4968,
8,
796,
6632,
62,
15805,
198,
220,
220,
220,
220,
220,
2073,
25,
5298,
11052,
12331,
7203,
24908,
25,
262,
4696,
35610,
27862,
5128,
3815,
389,
503,
286,
2837,
4943,
628,
220,
220,
220,
220,
220,
1303,
22,
12,
383,
10361,
3084,
318,
6153,
1262,
25,
662,
699,
62,
5219,
11,
1459,
62,
5219,
11,
1575,
11,
6721,
198,
220,
220,
220,
220,
220,
1303,
4933,
38734,
262,
4014,
1262,
5825,
35738,
10631,
14226,
2259,
18252,
198,
220,
220,
220,
220,
220,
1303,
818,
428,
2829,
1339,
612,
318,
407,
257,
334,
62,
83,
16,
1181,
13,
198,
220,
220,
220,
220,
220,
1303,
464,
1459,
1181,
318,
3177,
12094,
13,
198,
220,
220,
220,
220,
220,
1303,
1135,
460,
12233,
262,
3381,
357,
28483,
2611,
9,
84,
62,
83,
16,
13219,
84,
62,
83,
290,
6402,
220,
198,
220,
220,
220,
220,
220,
1303,
8807,
357,
260,
904,
12,
15805,
8,
355,
10361,
286,
262,
1181,
357,
5832,
460,
21729,
9223,
741,
5414,
85,
328,
737,
198,
220,
220,
220,
220,
220,
25979,
796,
357,
260,
904,
532,
1575,
8,
1343,
357,
28483,
2611,
9,
84,
62,
83,
16,
8,
532,
334,
62,
83,
198,
220,
220,
220,
220,
220,
4014,
62,
31364,
58,
15,
11,
951,
60,
15853,
4673,
62,
4873,
9,
67,
12514,
628,
220,
220,
220,
220,
220,
1303,
23,
12,
383,
8674,
3084,
318,
6153,
1262,
262,
25979,
422,
262,
4014,
198,
220,
220,
220,
220,
220,
1303,
10260,
262,
11741,
1581,
1262,
262,
25979,
220,
220,
220,
198,
220,
220,
220,
220,
220,
8674,
62,
6759,
8609,
58,
9410,
62,
2673,
11,
951,
60,
15853,
4673,
62,
4873,
9,
67,
12514,
1303,
1169,
1459,
2223,
198,
220,
220,
220,
220,
220,
8674,
62,
6759,
8609,
58,
16,
12,
9410,
62,
2673,
11,
951,
60,
48185,
4673,
62,
4873,
9,
67,
12514,
1303,
1169,
6697,
2223,
628,
220,
220,
220,
220,
220,
611,
7,
19011,
577,
855,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
4770,
2559,
855,
2625,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
23758,
25,
366,
1343,
965,
7,
24588,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
5159,
25,
366,
1343,
965,
7,
9060,
8,
1343,
366,
26,
36052,
25,
366,
1343,
965,
7,
18242,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16424,
2223,
6082,
25,
366,
1343,
965,
7,
2673,
62,
17080,
3890,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16424,
2223,
25,
366,
1343,
965,
7,
9410,
62,
2673,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16424,
3725,
6082,
25,
366,
1343,
965,
7,
9410,
62,
39745,
62,
17080,
3890,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16424,
3725,
25,
366,
1343,
965,
7,
9410,
62,
39745,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
687,
415,
6376,
25,
366,
1343,
965,
7,
259,
687,
415,
62,
9630,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
687,
415,
2223,
25,
366,
1343,
965,
7,
259,
687,
415,
62,
2673,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
687,
415,
3725,
25,
366,
1343,
965,
7,
259,
687,
415,
62,
260,
1996,
341,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
818,
687,
415,
3725,
6082,
25,
366,
1343,
965,
7,
259,
687,
415,
62,
260,
1996,
341,
62,
17080,
3890,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
13729,
25,
366,
1343,
965,
7,
15805,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
22213,
291,
15879,
25,
366,
1343,
965,
7,
22213,
291,
62,
31364,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
11218,
62,
6759,
8609,
25,
366,
1343,
965,
7,
11218,
62,
6759,
8609,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
259,
687,
415,
62,
31364,
25,
366,
1343,
965,
7,
259,
687,
415,
62,
31364,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3753,
15853,
352,
628,
220,
220,
220,
1441,
8674,
62,
6759,
8609,
11,
4014,
62,
31364,
11,
35710,
62,
31364,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 3.013628 | 3,889 |
import seaborn as sns
def deorganize(data, x=None, y=None, hue=None, size=None, style=None, **kwargs):
"""Make some chaos
The idea is that we want to use as many plotting dimensions
(e.g. marker color, marker shape, etc.) as possible when
we plot our data. So given a multidimensional dataset, this
function assigns fields (column names of the dataset) to
these plotting parameters. The plotting dimensions `row`
and `col` can only aid in organizing the plot, which
would defeat the purpose, so we decline to assign fields
to these plotting dimensions, choosing instead to cram as
many dimensions as possible into a single matplotlib axis.
Parameters
----------
data : `pd.DataFrame`
Input dataset
x, y : str, str
Names of variables in `data`
hue : str
Column name in `data` that will group data by color
size : str
Column name in `data` that will group data by marker size
style : str
Column name in `data` that will group data by marker style
kwargs : dict
Other keyword arguments that are passed through to some underlying
plotting function
Returns
-------
data : `pd.DataFrame`
(Unchanged) dataset
kwargs : dict
Dictionary of plotting parameters to pass through to some underlying
plotting function
"""
# Get data types of input dataset
dtypes = data.dtypes
# Remove used dimensions from dtypes
dtypes = dtypes.drop([x, y, hue, size, style], errors='ignore')
# Split dtypes into ordinal (object) and numerical (int or float)
fields_O = dtypes[dtypes.values == 'O'].index
fields_N = dtypes[dtypes.values != 'O'].index
# (Re)Assign parameters
# ---------------------
# Assign x if not provided
if x is None:
# Choose first field in the dataset with a numerical dtype
# (if possible)
if len(fields_N):
x = fields_N[0]
# Remove field (now that it has been assigned)
fields_N = fields_N.drop(x)
dtypes = dtypes.drop(x)
# Otherwise, just choose the first field in the dataset
# irrespective of dtype
else:
x = dtypes.index[0]
# Remove field (now that it has been assigned)
fields_O = fields_O.drop(x)
dtypes = dtypes.drop(x)
# Same thing for `y`
if y is None:
if len(fields_N):
y = fields_N[0]
fields_N = fields_N.drop(y)
dtypes = dtypes.drop(y)
else:
y = dtypes.index[0]
fields_O = fields_O.drop(y)
dtypes = dtypes.drop(y)
# Assign `hue` to the first available ordinal field
if hue is None:
if len(fields_O):
hue = fields_O[0]
fields_O = fields_O.drop(hue)
dtypes = dtypes.drop(hue)
# Settle for a numerical field if no ordinal fields available
else:
hue = fields_N[0]
fields_N = fields_N.drop(hue)
dtypes = dtypes.drop(hue)
# Same thing for size
if size is None:
if len(fields_O):
size = fields_O[0]
fields_O = fields_O.drop(size)
dtypes = dtypes.drop(size)
else:
size = fields_N[0]
fields_N = fields_N.drop(size)
dtypes = dtypes.drop(size)
# Same thing for style
if style is None:
if len(fields_O):
style = fields_O[0]
fields_O = fields_O.drop(style)
dtypes = dtypes.drop(style)
else:
style = fields_N[0]
fields_N = fields_N.drop(style)
dtypes = dtypes.drop(style)
# Redefine kwargs
kwargs['x'] = x
kwargs['y'] = y
kwargs['hue'] = hue
kwargs['size'] = size
kwargs['style'] = style
return data, kwargs
def plot(data, **kwargs):
"""Make an Aditi plot!"""
# Deorganize
data, kwargs = deorganize(data, **kwargs)
# Make call to seaborn relplot
g = sns.relplot(data=data, legend=False, **kwargs)
# Axis formatting
g.set(xticklabels=[])
g.set(xlabel=None)
g.set(ylabel=None)
return g
| [
11748,
384,
397,
1211,
355,
3013,
82,
201,
198,
201,
198,
201,
198,
4299,
390,
9971,
1096,
7,
7890,
11,
2124,
28,
14202,
11,
331,
28,
14202,
11,
37409,
28,
14202,
11,
2546,
28,
14202,
11,
3918,
28,
14202,
11,
12429,
46265,
22046,
2599,
201,
198,
220,
220,
220,
37227,
12050,
617,
11918,
201,
198,
201,
198,
220,
220,
220,
383,
2126,
318,
326,
356,
765,
284,
779,
355,
867,
29353,
15225,
201,
198,
220,
220,
220,
357,
68,
13,
70,
13,
18364,
3124,
11,
18364,
5485,
11,
3503,
2014,
355,
1744,
618,
201,
198,
220,
220,
220,
356,
7110,
674,
1366,
13,
1406,
1813,
257,
1963,
312,
16198,
27039,
11,
428,
201,
198,
220,
220,
220,
2163,
46974,
7032,
357,
28665,
3891,
286,
262,
27039,
8,
284,
201,
198,
220,
220,
220,
777,
29353,
10007,
13,
383,
29353,
15225,
4600,
808,
63,
201,
198,
220,
220,
220,
290,
4600,
4033,
63,
460,
691,
6133,
287,
16924,
262,
7110,
11,
543,
201,
198,
220,
220,
220,
561,
7433,
262,
4007,
11,
523,
356,
7794,
284,
8333,
7032,
220,
201,
198,
220,
220,
220,
284,
777,
29353,
15225,
11,
11236,
2427,
284,
33070,
355,
201,
198,
220,
220,
220,
867,
15225,
355,
1744,
656,
257,
2060,
2603,
29487,
8019,
16488,
13,
201,
198,
201,
198,
220,
220,
220,
40117,
201,
198,
220,
220,
220,
24200,
438,
201,
198,
220,
220,
220,
1366,
1058,
4600,
30094,
13,
6601,
19778,
63,
201,
198,
220,
220,
220,
220,
220,
220,
220,
23412,
27039,
201,
198,
220,
220,
220,
2124,
11,
331,
1058,
965,
11,
965,
201,
198,
220,
220,
220,
220,
220,
220,
220,
28531,
286,
9633,
287,
4600,
7890,
63,
201,
198,
220,
220,
220,
37409,
1058,
965,
201,
198,
220,
220,
220,
220,
220,
220,
220,
29201,
1438,
287,
4600,
7890,
63,
326,
481,
1448,
1366,
416,
3124,
201,
198,
220,
220,
220,
2546,
1058,
965,
201,
198,
220,
220,
220,
220,
220,
220,
220,
29201,
1438,
287,
4600,
7890,
63,
326,
481,
1448,
1366,
416,
18364,
2546,
201,
198,
220,
220,
220,
3918,
1058,
965,
201,
198,
220,
220,
220,
220,
220,
220,
220,
29201,
1438,
287,
4600,
7890,
63,
326,
481,
1448,
1366,
416,
18364,
3918,
201,
198,
220,
220,
220,
479,
86,
22046,
1058,
8633,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3819,
21179,
7159,
326,
389,
3804,
832,
284,
617,
10238,
201,
198,
220,
220,
220,
220,
220,
220,
220,
29353,
2163,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
16409,
201,
198,
220,
220,
220,
35656,
201,
198,
220,
220,
220,
1366,
1058,
4600,
30094,
13,
6601,
19778,
63,
201,
198,
220,
220,
220,
220,
220,
220,
220,
357,
3118,
40985,
8,
27039,
201,
198,
220,
220,
220,
479,
86,
22046,
1058,
8633,
201,
198,
220,
220,
220,
220,
220,
220,
220,
28261,
286,
29353,
10007,
284,
1208,
832,
284,
617,
10238,
201,
198,
220,
220,
220,
220,
220,
220,
220,
29353,
2163,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
1303,
3497,
1366,
3858,
286,
5128,
27039,
201,
198,
220,
220,
220,
288,
19199,
796,
1366,
13,
67,
19199,
201,
198,
220,
220,
220,
1303,
17220,
973,
15225,
422,
288,
19199,
201,
198,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
26933,
87,
11,
331,
11,
37409,
11,
2546,
11,
3918,
4357,
8563,
11639,
46430,
11537,
201,
198,
201,
198,
220,
220,
220,
1303,
27758,
288,
19199,
656,
2760,
1292,
357,
15252,
8,
290,
29052,
357,
600,
393,
12178,
8,
201,
198,
220,
220,
220,
7032,
62,
46,
796,
288,
19199,
58,
67,
19199,
13,
27160,
6624,
705,
46,
6,
4083,
9630,
201,
198,
220,
220,
220,
7032,
62,
45,
796,
288,
19199,
58,
67,
19199,
13,
27160,
14512,
705,
46,
6,
4083,
9630,
201,
198,
201,
198,
220,
220,
220,
1303,
357,
3041,
8,
8021,
570,
10007,
201,
198,
220,
220,
220,
1303,
41436,
12,
201,
198,
220,
220,
220,
1303,
2195,
570,
2124,
611,
407,
2810,
201,
198,
220,
220,
220,
611,
2124,
318,
6045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
17489,
717,
2214,
287,
262,
27039,
351,
257,
29052,
288,
4906,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
361,
1744,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
25747,
62,
45,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
7032,
62,
45,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
2214,
357,
2197,
326,
340,
468,
587,
8686,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
45,
796,
7032,
62,
45,
13,
14781,
7,
87,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
87,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15323,
11,
655,
3853,
262,
717,
2214,
287,
262,
27039,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
40611,
286,
288,
4906,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
288,
19199,
13,
9630,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17220,
2214,
357,
2197,
326,
340,
468,
587,
8686,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
46,
796,
7032,
62,
46,
13,
14781,
7,
87,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
87,
8,
201,
198,
220,
220,
220,
1303,
16766,
1517,
329,
4600,
88,
63,
201,
198,
220,
220,
220,
611,
331,
318,
6045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
25747,
62,
45,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
796,
7032,
62,
45,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
45,
796,
7032,
62,
45,
13,
14781,
7,
88,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
88,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
796,
288,
19199,
13,
9630,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
46,
796,
7032,
62,
46,
13,
14781,
7,
88,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
88,
8,
201,
198,
220,
220,
220,
1303,
2195,
570,
4600,
71,
518,
63,
284,
262,
717,
1695,
2760,
1292,
2214,
201,
198,
220,
220,
220,
611,
37409,
318,
6045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
25747,
62,
46,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37409,
796,
7032,
62,
46,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
46,
796,
7032,
62,
46,
13,
14781,
7,
71,
518,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
71,
518,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
311,
23570,
329,
257,
29052,
2214,
611,
645,
2760,
1292,
7032,
1695,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37409,
796,
7032,
62,
45,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
45,
796,
7032,
62,
45,
13,
14781,
7,
71,
518,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
71,
518,
8,
201,
198,
220,
220,
220,
1303,
16766,
1517,
329,
2546,
201,
198,
220,
220,
220,
611,
2546,
318,
6045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
25747,
62,
46,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
7032,
62,
46,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
46,
796,
7032,
62,
46,
13,
14781,
7,
7857,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
7857,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2546,
796,
7032,
62,
45,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
45,
796,
7032,
62,
45,
13,
14781,
7,
7857,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
7857,
8,
201,
198,
220,
220,
220,
1303,
16766,
1517,
329,
3918,
201,
198,
220,
220,
220,
611,
3918,
318,
6045,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
25747,
62,
46,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3918,
796,
7032,
62,
46,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
46,
796,
7032,
62,
46,
13,
14781,
7,
7635,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
7635,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3918,
796,
7032,
62,
45,
58,
15,
60,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7032,
62,
45,
796,
7032,
62,
45,
13,
14781,
7,
7635,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
19199,
796,
288,
19199,
13,
14781,
7,
7635,
8,
201,
198,
201,
198,
220,
220,
220,
1303,
2297,
891,
500,
479,
86,
22046,
201,
198,
220,
220,
220,
479,
86,
22046,
17816,
87,
20520,
796,
2124,
201,
198,
220,
220,
220,
479,
86,
22046,
17816,
88,
20520,
796,
331,
201,
198,
220,
220,
220,
479,
86,
22046,
17816,
71,
518,
20520,
796,
37409,
201,
198,
220,
220,
220,
479,
86,
22046,
17816,
7857,
20520,
796,
2546,
201,
198,
220,
220,
220,
479,
86,
22046,
17816,
7635,
20520,
796,
3918,
201,
198,
201,
198,
220,
220,
220,
1441,
1366,
11,
479,
86,
22046,
201,
198,
201,
198,
201,
198,
4299,
7110,
7,
7890,
11,
12429,
46265,
22046,
2599,
201,
198,
220,
220,
220,
37227,
12050,
281,
1215,
8846,
7110,
2474,
15931,
201,
198,
201,
198,
220,
220,
220,
1303,
1024,
9971,
1096,
201,
198,
220,
220,
220,
1366,
11,
479,
86,
22046,
796,
390,
9971,
1096,
7,
7890,
11,
12429,
46265,
22046,
8,
201,
198,
201,
198,
220,
220,
220,
1303,
6889,
869,
284,
384,
397,
1211,
823,
29487,
201,
198,
220,
220,
220,
308,
796,
3013,
82,
13,
2411,
29487,
7,
7890,
28,
7890,
11,
8177,
28,
25101,
11,
12429,
46265,
22046,
8,
201,
198,
201,
198,
220,
220,
220,
1303,
38349,
33313,
201,
198,
220,
220,
220,
308,
13,
2617,
7,
742,
624,
23912,
1424,
41888,
12962,
201,
198,
220,
220,
220,
308,
13,
2617,
7,
87,
18242,
28,
14202,
8,
201,
198,
220,
220,
220,
308,
13,
2617,
7,
2645,
9608,
28,
14202,
8,
201,
198,
201,
198,
220,
220,
220,
1441,
308,
201,
198
] | 2.185836 | 1,991 |
from flask import Blueprint, make_response, request, send_file
from flask import current_app as app
from flask_cors import CORS
from queue import Empty
from kombu import Queue
import json
import sys
from . import tasks, celery
from .project import Project
widget_bp = Blueprint('widget_bp', __name__)
CORS(widget_bp)
def compose_response(obj, code):
"""
Utility method to create a response
:param obj:
The object to respond with
:param code:
The HTTP code to send
:return:
Returns the constructed response
"""
response = make_response(obj, code)
return response
@widget_bp.route('/download/', methods=['POST'])
def download_example():
"""
The route for a download request. This constructs a Project, zips it up, and responds with the zipfile
:return:
The constructed response for the zipfile blob
"""
data = request.get_json()
app.logger.debug(data)
project = Project(data['files'])
zipfile = project.zip()
archive = data['name'] + '.zip'
app.logger.debug(f"Sending zipped file {archive} size={sys.getsizeof(zipfile)}")
response = make_response(zipfile)
# We need to mess with the header here because we are sending file attachments in CORS
response.headers['Access-Control-Expose-Headers'] = 'Content-Disposition'
response.headers['Access-Control-Allow-Headers'] = 'Content-Disposition'
response.headers.set('Content-Type', 'application/zip')
response.headers.set('Content-Disposition', 'attachment', filename=archive)
return response
@widget_bp.route('/run_program/', methods=['POST'])
def run_program():
"""
The route for a run program request. This kicks off a celery task and responds back with the task id
:return:
The constructed response with the task id
"""
data = request.get_json()
app.logger.debug(data)
# Push the code to the container in Celery task
task = tasks.run_program.apply_async(kwargs={'data': data})
app.logger.debug(f'Starting Celery task with id={task.id}')
return compose_response({'identifier': task.id, 'message': "Pending"}, 200)
@widget_bp.route('/check_output/', methods=['POST'])
def check_run():
"""
The route for a check program request. The user should have a task id supplied by the run request. We expect that
as part of the incoming data and use it to query the message queues associated with that task id
:return:
The construct response with the output from the task, the task status, and completion status
"""
error_code = 200
data = request.get_json()
app.logger.debug(data)
identifier = data['identifier']
task = tasks.run_program.AsyncResult(identifier)
# Create a connection to the message queue associated with the task id
# This is how we receive intermediate results from the task during run
output = []
with celery.connection_or_acquire() as conn:
queue = conn.SimpleBuffer(data['identifier'])
while True:
try:
msg = queue.get(block=False)
app.logger.debug(f"Reading {msg.body} from mq")
output.append(msg.body)
# msg.ack()
except Empty:
break
queue.close()
app.logger.debug(f"output {output}")
response = {'output': [json.loads(l) for l in output],
'status': 0,
'completed': False,
'message': task.state}
app.logger.debug(f'Checking Celery task with id={identifier}')
app.logger.debug(f"Task state {task.state}")
if task.failed():
result = task.get()
app.logger.error(f'Task id={task.id} failed. Response={task.info}')
error_code = 500
if task.ready():
app.logger.debug(f"Task info {task.info}")
result = task.get()
elapsed = result["elapsed"]
app.logger.debug(f"Task took {elapsed}s.")
response['completed'] = True
response['status'] = result["status"]
app.logger.debug(f'Responding with response={response} and code={error_code}')
return compose_response(response, error_code)
| [
6738,
42903,
1330,
39932,
11,
787,
62,
26209,
11,
2581,
11,
3758,
62,
7753,
198,
6738,
42903,
1330,
1459,
62,
1324,
355,
598,
198,
6738,
42903,
62,
66,
669,
1330,
327,
20673,
198,
198,
6738,
16834,
1330,
33523,
198,
6738,
479,
2381,
84,
1330,
4670,
518,
198,
198,
11748,
33918,
198,
11748,
25064,
198,
198,
6738,
764,
1330,
8861,
11,
18725,
1924,
198,
6738,
764,
16302,
1330,
4935,
198,
198,
42655,
62,
46583,
796,
39932,
10786,
42655,
62,
46583,
3256,
11593,
3672,
834,
8,
198,
34,
20673,
7,
42655,
62,
46583,
8,
628,
198,
4299,
36664,
62,
26209,
7,
26801,
11,
2438,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
34030,
2446,
284,
2251,
257,
2882,
198,
220,
220,
220,
1058,
17143,
26181,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2134,
284,
3031,
351,
198,
220,
220,
220,
1058,
17143,
2438,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
14626,
2438,
284,
3758,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
262,
12006,
2882,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2882,
796,
787,
62,
26209,
7,
26801,
11,
2438,
8,
198,
220,
220,
220,
1441,
2882,
628,
198,
31,
42655,
62,
46583,
13,
38629,
10786,
14,
15002,
14,
3256,
5050,
28,
17816,
32782,
6,
12962,
198,
4299,
4321,
62,
20688,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
6339,
329,
257,
4321,
2581,
13,
770,
34175,
257,
4935,
11,
1976,
2419,
340,
510,
11,
290,
20067,
351,
262,
19974,
7753,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
12006,
2882,
329,
262,
19974,
7753,
44812,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1366,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
7890,
8,
628,
220,
220,
220,
1628,
796,
4935,
7,
7890,
17816,
16624,
6,
12962,
198,
220,
220,
220,
19974,
7753,
796,
1628,
13,
13344,
3419,
628,
220,
220,
220,
15424,
796,
1366,
17816,
3672,
20520,
1343,
45302,
13344,
6,
628,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
1,
50,
1571,
1976,
3949,
2393,
1391,
17474,
92,
2546,
34758,
17597,
13,
11407,
1096,
1659,
7,
13344,
7753,
38165,
4943,
198,
220,
220,
220,
2882,
796,
787,
62,
26209,
7,
13344,
7753,
8,
628,
220,
220,
220,
1303,
775,
761,
284,
2085,
351,
262,
13639,
994,
780,
356,
389,
7216,
2393,
32161,
287,
327,
20673,
198,
220,
220,
220,
2882,
13,
50145,
17816,
15457,
12,
15988,
12,
3109,
3455,
12,
13847,
364,
20520,
796,
705,
19746,
12,
7279,
9150,
6,
198,
220,
220,
220,
2882,
13,
50145,
17816,
15457,
12,
15988,
12,
35265,
12,
13847,
364,
20520,
796,
705,
19746,
12,
7279,
9150,
6,
198,
220,
220,
220,
2882,
13,
50145,
13,
2617,
10786,
19746,
12,
6030,
3256,
705,
31438,
14,
13344,
11537,
198,
220,
220,
220,
2882,
13,
50145,
13,
2617,
10786,
19746,
12,
7279,
9150,
3256,
705,
1078,
15520,
3256,
29472,
28,
17474,
8,
198,
220,
220,
220,
1441,
2882,
628,
198,
31,
42655,
62,
46583,
13,
38629,
10786,
14,
5143,
62,
23065,
14,
3256,
5050,
28,
17816,
32782,
6,
12962,
198,
4299,
1057,
62,
23065,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
6339,
329,
257,
1057,
1430,
2581,
13,
770,
17364,
572,
257,
18725,
1924,
4876,
290,
20067,
736,
351,
262,
4876,
4686,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
12006,
2882,
351,
262,
4876,
4686,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1366,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
7890,
8,
628,
220,
220,
220,
1303,
23691,
262,
2438,
284,
262,
9290,
287,
15248,
1924,
4876,
198,
220,
220,
220,
4876,
796,
8861,
13,
5143,
62,
23065,
13,
39014,
62,
292,
13361,
7,
46265,
22046,
34758,
6,
7890,
10354,
1366,
30072,
198,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
6,
22851,
15248,
1924,
4876,
351,
4686,
34758,
35943,
13,
312,
92,
11537,
628,
220,
220,
220,
1441,
36664,
62,
26209,
15090,
6,
738,
7483,
10354,
4876,
13,
312,
11,
705,
20500,
10354,
366,
47,
1571,
25719,
939,
8,
628,
198,
31,
42655,
62,
46583,
13,
38629,
10786,
14,
9122,
62,
22915,
14,
3256,
5050,
28,
17816,
32782,
6,
12962,
198,
4299,
2198,
62,
5143,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
6339,
329,
257,
2198,
1430,
2581,
13,
383,
2836,
815,
423,
257,
4876,
4686,
14275,
416,
262,
1057,
2581,
13,
775,
1607,
326,
198,
220,
220,
220,
355,
636,
286,
262,
15619,
1366,
290,
779,
340,
284,
12405,
262,
3275,
43359,
3917,
351,
326,
4876,
4686,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5678,
2882,
351,
262,
5072,
422,
262,
4876,
11,
262,
4876,
3722,
11,
290,
11939,
3722,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4049,
62,
8189,
796,
939,
198,
220,
220,
220,
1366,
796,
2581,
13,
1136,
62,
17752,
3419,
198,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
7890,
8,
198,
220,
220,
220,
27421,
796,
1366,
17816,
738,
7483,
20520,
198,
220,
220,
220,
4876,
796,
8861,
13,
5143,
62,
23065,
13,
42367,
23004,
7,
738,
7483,
8,
628,
220,
220,
220,
1303,
13610,
257,
4637,
284,
262,
3275,
16834,
3917,
351,
262,
4876,
4686,
198,
220,
220,
220,
1303,
770,
318,
703,
356,
3328,
19898,
2482,
422,
262,
4876,
1141,
1057,
198,
220,
220,
220,
5072,
796,
17635,
198,
220,
220,
220,
351,
18725,
1924,
13,
38659,
62,
273,
62,
330,
29782,
3419,
355,
48260,
25,
198,
220,
220,
220,
220,
220,
220,
220,
16834,
796,
48260,
13,
26437,
28632,
7,
7890,
17816,
738,
7483,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31456,
796,
16834,
13,
1136,
7,
9967,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
1,
36120,
1391,
19662,
13,
2618,
92,
422,
285,
80,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
13,
33295,
7,
19662,
13,
2618,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
31456,
13,
441,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
33523,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
16834,
13,
19836,
3419,
628,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
1,
22915,
1391,
22915,
92,
4943,
628,
220,
220,
220,
2882,
796,
1391,
6,
22915,
10354,
685,
17752,
13,
46030,
7,
75,
8,
329,
300,
287,
5072,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
13376,
10354,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
785,
16838,
10354,
10352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
20500,
10354,
4876,
13,
5219,
92,
628,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
6,
9787,
278,
15248,
1924,
4876,
351,
4686,
34758,
738,
7483,
92,
11537,
628,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
1,
25714,
1181,
1391,
35943,
13,
5219,
92,
4943,
198,
220,
220,
220,
611,
4876,
13,
47904,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
4876,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
18224,
7,
69,
6,
25714,
4686,
34758,
35943,
13,
312,
92,
4054,
13,
18261,
34758,
35943,
13,
10951,
92,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
4049,
62,
8189,
796,
5323,
628,
220,
220,
220,
611,
4876,
13,
1493,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
1,
25714,
7508,
1391,
35943,
13,
10951,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
4876,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
42118,
796,
1255,
14692,
417,
28361,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
1,
25714,
1718,
1391,
417,
28361,
92,
82,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
17816,
785,
16838,
20520,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
17816,
13376,
20520,
796,
1255,
14692,
13376,
8973,
628,
220,
220,
220,
598,
13,
6404,
1362,
13,
24442,
7,
69,
6,
19309,
42703,
351,
2882,
34758,
26209,
92,
290,
2438,
34758,
18224,
62,
8189,
92,
11537,
198,
220,
220,
220,
1441,
36664,
62,
26209,
7,
26209,
11,
4049,
62,
8189,
8,
198
] | 2.712338 | 1,540 |
import logging
import sys
import gym
logger = logging.getLogger(__name__)
root_logger = logging.getLogger()
requests_logger = logging.getLogger('requests')
# Set up the default handler
formatter = logging.Formatter('[%(asctime)s] %(message)s')
handler = logging.StreamHandler(sys.stderr)
handler.setFormatter(formatter)
# We need to take in the gym logger explicitly since this is called
# at initialization time.
def undo_logger_setup():
"""Undoes the automatic logging setup done by OpenAI Gym. You should call
this function if you want to manually configure logging
yourself. Typical usage would involve putting something like the
following at the top of your script:
gym.undo_logger_setup()
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler(sys.stderr))
"""
root_logger.removeHandler(handler)
gym.logger.setLevel(logging.NOTSET)
requests_logger.setLevel(logging.NOTSET)
| [
11748,
18931,
198,
11748,
25064,
198,
198,
11748,
11550,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
198,
15763,
62,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
3419,
198,
8897,
3558,
62,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
10786,
8897,
3558,
11537,
198,
198,
2,
5345,
510,
262,
4277,
21360,
198,
687,
1436,
796,
18931,
13,
8479,
1436,
10786,
58,
4,
7,
292,
310,
524,
8,
82,
60,
4064,
7,
20500,
8,
82,
11537,
198,
30281,
796,
18931,
13,
12124,
25060,
7,
17597,
13,
301,
1082,
81,
8,
198,
30281,
13,
2617,
8479,
1436,
7,
687,
1436,
8,
198,
198,
2,
775,
761,
284,
1011,
287,
262,
11550,
49706,
11777,
1201,
428,
318,
1444,
198,
2,
379,
37588,
640,
13,
198,
198,
4299,
23981,
62,
6404,
1362,
62,
40406,
33529,
198,
220,
220,
220,
37227,
31319,
3028,
262,
11353,
18931,
9058,
1760,
416,
4946,
20185,
31187,
13,
921,
815,
869,
198,
220,
220,
220,
428,
2163,
611,
345,
765,
284,
14500,
17425,
18931,
198,
220,
220,
220,
3511,
13,
48752,
8748,
561,
6211,
5137,
1223,
588,
262,
198,
220,
220,
220,
1708,
379,
262,
1353,
286,
534,
4226,
25,
628,
220,
220,
220,
11550,
13,
41204,
62,
6404,
1362,
62,
40406,
3419,
198,
220,
220,
220,
49706,
796,
18931,
13,
1136,
11187,
1362,
3419,
198,
220,
220,
220,
49706,
13,
2860,
25060,
7,
6404,
2667,
13,
12124,
25060,
7,
17597,
13,
301,
1082,
81,
4008,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6808,
62,
6404,
1362,
13,
28956,
25060,
7,
30281,
8,
198,
220,
220,
220,
11550,
13,
6404,
1362,
13,
2617,
4971,
7,
6404,
2667,
13,
11929,
28480,
8,
198,
220,
220,
220,
7007,
62,
6404,
1362,
13,
2617,
4971,
7,
6404,
2667,
13,
11929,
28480,
8,
198
] | 3.125828 | 302 |
from django.db import models
import re
# Create your models here.
| [
6738,
42625,
14208,
13,
9945,
1330,
4981,
198,
11748,
302,
198,
198,
2,
13610,
534,
4981,
994,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220
] | 2.714286 | 28 |
""" rotational bond/torsion info for specific reaction classes
"""
from automol.par import ReactionClass
import automol.zmat
from automol.reac._util import hydrogen_abstraction_atom_keys
from automol.reac._util import substitution_atom_keys
# Bimolecular reactions
# 1. Hydrogen abstractions
def hydrogen_abstraction_linear_atom_keys(rxn, zma=None):
""" Obtain the linear atom keys for a hydrogen abstraction
:param rxn: a Reaction object
:param zma: a z-matrix; if passed in, the linear atoms will be determined
from this; otherwise they will be determined heuristically from the
reaction object
:returns: the keys of the linear atoms in the graph
:rtype: tuple[int]
"""
tsg = rxn.forward_ts_graph
if zma is not None:
lin_keys = list(automol.zmat.linear_atom_keys(zma))
else:
lin_keys = list(automol.graph.linear_atom_keys(tsg))
_, hyd_key, _ = hydrogen_abstraction_atom_keys(rxn)
lin_keys.append(hyd_key)
lin_keys = tuple(sorted(set(lin_keys)))
return lin_keys
# 4. Substitution
def substitution_linear_atom_keys(rxn, zma=None):
""" Obtain the linear atom keys for a substitution
:param rxn: a Reaction object
:param zma: a z-matrix; if passed in, the linear atoms will be determined
from this; otherwise they will be determined heuristically from the
reaction object
:returns: the keys of the linear atoms in the graph
:rtype: tuple[int]
"""
tsg = rxn.forward_ts_graph
if zma is not None:
lin_keys = list(automol.zmat.linear_atom_keys(zma))
else:
lin_keys = list(automol.graph.linear_atom_keys(tsg))
_, tra_key, _ = substitution_atom_keys(rxn)
lin_keys.append(tra_key)
lin_keys = tuple(sorted(set(lin_keys)))
return lin_keys
def linear_atom_keys(rxn, zma=None):
""" Obtain the linear atom keys
:param rxn: a hydrogen migration Reaction object
:param zma: a z-matrix; if passed in, the linear atoms will be determined
from this; otherwise they will be determined heuristically from the
reaction object
:returns: the keys of the linear atoms in the graph
:rtype: tuple[int]
"""
function_dct = {
# unimolecular
ReactionClass.HYDROGEN_MIGRATION: _default,
ReactionClass.BETA_SCISSION: _default,
ReactionClass.RING_FORM_SCISSION: _default,
ReactionClass.ELIMINATION: _default,
# bimolecular
ReactionClass.HYDROGEN_ABSTRACTION:
hydrogen_abstraction_linear_atom_keys,
ReactionClass.ADDITION: _default,
ReactionClass.INSERTION: _default,
ReactionClass.SUBSTITUTION: substitution_linear_atom_keys,
}
fun_ = function_dct[rxn.class_]
ret = fun_(rxn, zma=zma)
return ret
def rotational_bond_keys(rxn, zma=None):
""" Obtain the rotational bond keys
:param rxn: a hydrogen migration Reaction object
:param zma: a z-matrix; if passed in, the linear atoms will be determined
from this; otherwise they will be determined heuristically from the
reaction object
:returns: the keys of the rotational bonds in the graph
:rtype: tuple[frozenset[int]]
"""
tsg = rxn.forward_ts_graph
lin_keys = linear_atom_keys(rxn, zma=zma)
bnd_keys = automol.graph.rotational_bond_keys(tsg, lin_keys=lin_keys)
return bnd_keys
def rotational_groups(rxn, key1, key2, dummy=False):
""" Obtain the rotational groups for a given rotational axis
:param rxn: a hydrogen migration Reaction object
:param zma: a z-matrix; if passed in, the linear atoms will be determined
from this; otherwise they will be determined heuristically from the
reaction object
:returns: the rotational groups on either side of the axis
:rtype: (tuple[int], tuple[int])
"""
tsg = rxn.forward_ts_graph
grps = automol.graph.rotational_groups(tsg, key1, key2, dummy=dummy)
return grps
def rotational_symmetry_number(rxn, key1, key2, zma=None):
""" Obtain the rotational symmetry number for a given rotational axis
:param rxn: a hydrogen migration Reaction object
:param zma: a z-matrix; if passed in, the linear atoms will be determined
from this; otherwise they will be determined heuristically from the
reaction object
:returns: the rotational symmetry number of the axis
:rtype: int
"""
lin_keys = linear_atom_keys(rxn, zma=zma)
tsg = rxn.forward_ts_graph
sym_num = automol.graph.rotational_symmetry_number(tsg, key1, key2,
lin_keys=lin_keys)
return sym_num
| [
37811,
5724,
864,
6314,
14,
83,
669,
295,
7508,
329,
2176,
6317,
6097,
198,
37811,
198,
6738,
3557,
349,
13,
1845,
1330,
39912,
9487,
198,
11748,
3557,
349,
13,
89,
6759,
198,
6738,
3557,
349,
13,
260,
330,
13557,
22602,
1330,
17669,
62,
397,
301,
7861,
62,
37696,
62,
13083,
198,
6738,
3557,
349,
13,
260,
330,
13557,
22602,
1330,
32097,
62,
37696,
62,
13083,
628,
198,
2,
347,
320,
2305,
10440,
12737,
198,
2,
352,
13,
15084,
8648,
12531,
507,
198,
4299,
17669,
62,
397,
301,
7861,
62,
29127,
62,
37696,
62,
13083,
7,
40914,
77,
11,
1976,
2611,
28,
14202,
2599,
198,
220,
220,
220,
37227,
1835,
3153,
262,
14174,
22037,
8251,
329,
257,
17669,
34651,
628,
220,
220,
220,
1058,
17143,
374,
87,
77,
25,
257,
39912,
2134,
198,
220,
220,
220,
1058,
17143,
1976,
2611,
25,
257,
1976,
12,
6759,
8609,
26,
611,
3804,
287,
11,
262,
14174,
23235,
481,
307,
5295,
198,
220,
220,
220,
220,
220,
220,
220,
422,
428,
26,
4306,
484,
481,
307,
5295,
339,
333,
16772,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
6317,
2134,
198,
220,
220,
220,
1058,
7783,
82,
25,
262,
8251,
286,
262,
14174,
23235,
287,
262,
4823,
198,
220,
220,
220,
1058,
81,
4906,
25,
46545,
58,
600,
60,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
40379,
70,
796,
374,
87,
77,
13,
11813,
62,
912,
62,
34960,
198,
220,
220,
220,
611,
1976,
2611,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9493,
62,
13083,
796,
1351,
7,
2306,
296,
349,
13,
89,
6759,
13,
29127,
62,
37696,
62,
13083,
7,
89,
2611,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9493,
62,
13083,
796,
1351,
7,
2306,
296,
349,
13,
34960,
13,
29127,
62,
37696,
62,
13083,
7,
912,
70,
4008,
628,
220,
220,
220,
4808,
11,
7409,
62,
2539,
11,
4808,
796,
17669,
62,
397,
301,
7861,
62,
37696,
62,
13083,
7,
40914,
77,
8,
628,
220,
220,
220,
9493,
62,
13083,
13,
33295,
7,
15511,
62,
2539,
8,
198,
220,
220,
220,
9493,
62,
13083,
796,
46545,
7,
82,
9741,
7,
2617,
7,
2815,
62,
13083,
22305,
198,
220,
220,
220,
1441,
9493,
62,
13083,
628,
198,
2,
604,
13,
24944,
2738,
198,
4299,
32097,
62,
29127,
62,
37696,
62,
13083,
7,
40914,
77,
11,
1976,
2611,
28,
14202,
2599,
198,
220,
220,
220,
37227,
1835,
3153,
262,
14174,
22037,
8251,
329,
257,
32097,
628,
220,
220,
220,
1058,
17143,
374,
87,
77,
25,
257,
39912,
2134,
198,
220,
220,
220,
1058,
17143,
1976,
2611,
25,
257,
1976,
12,
6759,
8609,
26,
611,
3804,
287,
11,
262,
14174,
23235,
481,
307,
5295,
198,
220,
220,
220,
220,
220,
220,
220,
422,
428,
26,
4306,
484,
481,
307,
5295,
339,
333,
16772,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
6317,
2134,
198,
220,
220,
220,
1058,
7783,
82,
25,
262,
8251,
286,
262,
14174,
23235,
287,
262,
4823,
198,
220,
220,
220,
1058,
81,
4906,
25,
46545,
58,
600,
60,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
40379,
70,
796,
374,
87,
77,
13,
11813,
62,
912,
62,
34960,
198,
220,
220,
220,
611,
1976,
2611,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9493,
62,
13083,
796,
1351,
7,
2306,
296,
349,
13,
89,
6759,
13,
29127,
62,
37696,
62,
13083,
7,
89,
2611,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9493,
62,
13083,
796,
1351,
7,
2306,
296,
349,
13,
34960,
13,
29127,
62,
37696,
62,
13083,
7,
912,
70,
4008,
628,
220,
220,
220,
4808,
11,
1291,
62,
2539,
11,
4808,
796,
32097,
62,
37696,
62,
13083,
7,
40914,
77,
8,
628,
220,
220,
220,
9493,
62,
13083,
13,
33295,
7,
9535,
62,
2539,
8,
198,
220,
220,
220,
9493,
62,
13083,
796,
46545,
7,
82,
9741,
7,
2617,
7,
2815,
62,
13083,
22305,
198,
220,
220,
220,
1441,
9493,
62,
13083,
628,
198,
4299,
14174,
62,
37696,
62,
13083,
7,
40914,
77,
11,
1976,
2611,
28,
14202,
2599,
198,
220,
220,
220,
37227,
1835,
3153,
262,
14174,
22037,
8251,
628,
220,
220,
220,
1058,
17143,
374,
87,
77,
25,
257,
17669,
13472,
39912,
2134,
198,
220,
220,
220,
1058,
17143,
1976,
2611,
25,
257,
1976,
12,
6759,
8609,
26,
611,
3804,
287,
11,
262,
14174,
23235,
481,
307,
5295,
198,
220,
220,
220,
220,
220,
220,
220,
422,
428,
26,
4306,
484,
481,
307,
5295,
339,
333,
16772,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
6317,
2134,
198,
220,
220,
220,
1058,
7783,
82,
25,
262,
8251,
286,
262,
14174,
23235,
287,
262,
4823,
198,
220,
220,
220,
1058,
81,
4906,
25,
46545,
58,
600,
60,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2163,
62,
67,
310,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
28418,
2305,
10440,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
42598,
7707,
7730,
1677,
62,
44,
3528,
49,
6234,
25,
4808,
12286,
11,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
33,
20892,
62,
6173,
40373,
25,
4808,
12286,
11,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
49,
2751,
62,
21389,
62,
6173,
40373,
25,
4808,
12286,
11,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
3698,
3955,
1268,
6234,
25,
4808,
12286,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
275,
320,
2305,
10440,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
42598,
7707,
7730,
1677,
62,
6242,
18601,
44710,
25,
198,
220,
220,
220,
220,
220,
220,
220,
17669,
62,
397,
301,
7861,
62,
29127,
62,
37696,
62,
13083,
11,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
29266,
17941,
25,
4808,
12286,
11,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
20913,
17395,
2849,
25,
4808,
12286,
11,
198,
220,
220,
220,
220,
220,
220,
220,
39912,
9487,
13,
50,
10526,
2257,
2043,
35354,
25,
32097,
62,
29127,
62,
37696,
62,
13083,
11,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
1257,
62,
796,
2163,
62,
67,
310,
58,
40914,
77,
13,
4871,
62,
60,
198,
220,
220,
220,
1005,
796,
1257,
41052,
40914,
77,
11,
1976,
2611,
28,
89,
2611,
8,
198,
220,
220,
220,
1441,
1005,
628,
198,
4299,
5724,
864,
62,
65,
623,
62,
13083,
7,
40914,
77,
11,
1976,
2611,
28,
14202,
2599,
198,
220,
220,
220,
37227,
1835,
3153,
262,
5724,
864,
6314,
8251,
628,
220,
220,
220,
1058,
17143,
374,
87,
77,
25,
257,
17669,
13472,
39912,
2134,
198,
220,
220,
220,
1058,
17143,
1976,
2611,
25,
257,
1976,
12,
6759,
8609,
26,
611,
3804,
287,
11,
262,
14174,
23235,
481,
307,
5295,
198,
220,
220,
220,
220,
220,
220,
220,
422,
428,
26,
4306,
484,
481,
307,
5295,
339,
333,
16772,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
6317,
2134,
198,
220,
220,
220,
1058,
7783,
82,
25,
262,
8251,
286,
262,
5724,
864,
13100,
287,
262,
4823,
198,
220,
220,
220,
1058,
81,
4906,
25,
46545,
58,
69,
305,
8247,
316,
58,
600,
11907,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
40379,
70,
796,
374,
87,
77,
13,
11813,
62,
912,
62,
34960,
198,
220,
220,
220,
9493,
62,
13083,
796,
14174,
62,
37696,
62,
13083,
7,
40914,
77,
11,
1976,
2611,
28,
89,
2611,
8,
198,
220,
220,
220,
275,
358,
62,
13083,
796,
3557,
349,
13,
34960,
13,
10599,
864,
62,
65,
623,
62,
13083,
7,
912,
70,
11,
9493,
62,
13083,
28,
2815,
62,
13083,
8,
198,
220,
220,
220,
1441,
275,
358,
62,
13083,
628,
198,
4299,
5724,
864,
62,
24432,
7,
40914,
77,
11,
1994,
16,
11,
1994,
17,
11,
31548,
28,
25101,
2599,
198,
220,
220,
220,
37227,
1835,
3153,
262,
5724,
864,
2628,
329,
257,
1813,
5724,
864,
16488,
628,
220,
220,
220,
1058,
17143,
374,
87,
77,
25,
257,
17669,
13472,
39912,
2134,
198,
220,
220,
220,
1058,
17143,
1976,
2611,
25,
257,
1976,
12,
6759,
8609,
26,
611,
3804,
287,
11,
262,
14174,
23235,
481,
307,
5295,
198,
220,
220,
220,
220,
220,
220,
220,
422,
428,
26,
4306,
484,
481,
307,
5295,
339,
333,
16772,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
6317,
2134,
198,
220,
220,
220,
1058,
7783,
82,
25,
262,
5724,
864,
2628,
319,
2035,
1735,
286,
262,
16488,
198,
220,
220,
220,
1058,
81,
4906,
25,
357,
83,
29291,
58,
600,
4357,
46545,
58,
600,
12962,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
40379,
70,
796,
374,
87,
77,
13,
11813,
62,
912,
62,
34960,
198,
220,
220,
220,
1036,
862,
796,
3557,
349,
13,
34960,
13,
10599,
864,
62,
24432,
7,
912,
70,
11,
1994,
16,
11,
1994,
17,
11,
31548,
28,
67,
13513,
8,
198,
220,
220,
220,
1441,
1036,
862,
628,
198,
4299,
5724,
864,
62,
1837,
3020,
11973,
62,
17618,
7,
40914,
77,
11,
1994,
16,
11,
1994,
17,
11,
1976,
2611,
28,
14202,
2599,
198,
220,
220,
220,
37227,
1835,
3153,
262,
5724,
864,
40686,
1271,
329,
257,
1813,
5724,
864,
16488,
628,
220,
220,
220,
1058,
17143,
374,
87,
77,
25,
257,
17669,
13472,
39912,
2134,
198,
220,
220,
220,
1058,
17143,
1976,
2611,
25,
257,
1976,
12,
6759,
8609,
26,
611,
3804,
287,
11,
262,
14174,
23235,
481,
307,
5295,
198,
220,
220,
220,
220,
220,
220,
220,
422,
428,
26,
4306,
484,
481,
307,
5295,
339,
333,
16772,
422,
262,
198,
220,
220,
220,
220,
220,
220,
220,
6317,
2134,
198,
220,
220,
220,
1058,
7783,
82,
25,
262,
5724,
864,
40686,
1271,
286,
262,
16488,
198,
220,
220,
220,
1058,
81,
4906,
25,
493,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9493,
62,
13083,
796,
14174,
62,
37696,
62,
13083,
7,
40914,
77,
11,
1976,
2611,
28,
89,
2611,
8,
198,
220,
220,
220,
40379,
70,
796,
374,
87,
77,
13,
11813,
62,
912,
62,
34960,
198,
220,
220,
220,
5659,
62,
22510,
796,
3557,
349,
13,
34960,
13,
10599,
864,
62,
1837,
3020,
11973,
62,
17618,
7,
912,
70,
11,
1994,
16,
11,
1994,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9493,
62,
13083,
28,
2815,
62,
13083,
8,
198,
220,
220,
220,
1441,
5659,
62,
22510,
198
] | 2.60123 | 1,788 |
import logging
from typing import Dict
from makeMKV.model.enum.item_attribute_id import ItemAttributeId
from makeMKV.model.enum.item_info import ItemInfo
from makeMKV.model.enum.stream_type import StreamType
from makeMKV.model.stream import Stream, VideoStream, SubtitleStream, AudioStream
logger = logging.getLogger(__name__)
| [
11748,
18931,
198,
6738,
19720,
1330,
360,
713,
198,
198,
6738,
787,
33907,
53,
13,
19849,
13,
44709,
13,
9186,
62,
42348,
62,
312,
1330,
9097,
33682,
7390,
198,
6738,
787,
33907,
53,
13,
19849,
13,
44709,
13,
9186,
62,
10951,
1330,
9097,
12360,
198,
6738,
787,
33907,
53,
13,
19849,
13,
44709,
13,
5532,
62,
4906,
1330,
13860,
6030,
198,
6738,
787,
33907,
53,
13,
19849,
13,
5532,
1330,
13860,
11,
7623,
12124,
11,
3834,
7839,
12124,
11,
13491,
12124,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628
] | 3.402062 | 97 |
import os
import time
import numpy as np
import tensorflow as tf
from operator import mul
from functools import reduce
from pathlib import Path
from datetime import datetime
from tqdm import tqdm
from PIL import Image
from . import data_utils
from .. import settings
tf.compat.v1.enable_eager_execution()
@tf.function
@tf.function
# region Model hyperparameters
window_size = settings.WINDOW_SIZE
image_dims = [settings.CHUNK_SIZE, settings.N_MELS]
input_shape = [*image_dims, window_size]
latent_dims = settings.LATENT_DIMS
num_conv = 2
num_filters = 32
max_filters = 64
kernel_size = 3
# endregion
# region Training hyperparameters
num_epochs = settings.EPOCHS
batch_size = settings.BATCH_SIZE
# endregion
# region Model definition
inputs = tf.keras.layers.Input(shape=input_shape, name="encoder_input")
x = inputs
for i in range(num_conv):
x = tf.keras.layers.Conv2D(
filters=min(num_filters * (i + 1), max_filters),
kernel_size=kernel_size,
activation="relu",
strides=2,
padding="same",
activity_regularizer=tf.keras.regularizers.l1(0.01),
)(x)
latent_shape = x.shape
x = tf.keras.layers.Flatten()(x)
z_mean = tf.keras.layers.Dense(latent_dims, name="z_mean")(x)
z_log_var = tf.keras.layers.Dense(latent_dims, name="z_log_var")(x)
z = tf.keras.layers.Lambda(reparameterize, output_shape=[latent_dims], name="z")(
[z_mean, z_log_var]
)
encoder = tf.keras.Model(inputs, [z_mean, z_log_var, z], name="encoder")
encoder.summary()
latent_inputs = tf.keras.layers.Input(shape=(latent_dims,), name="z_sampled")
x = tf.keras.layers.Dense(reduce(mul, latent_shape[1:]), activation="relu")(
latent_inputs
)
x = tf.keras.layers.Reshape(latent_shape[1:])(x)
for i in range(num_conv):
x = tf.keras.layers.Conv2DTranspose(
filters=min(num_filters * (num_conv - i), max_filters),
kernel_size=kernel_size,
strides=2,
activation="relu",
padding="same",
activity_regularizer=tf.keras.regularizers.l1(0.01),
)(x)
reconstructed = tf.keras.layers.Conv2DTranspose(
filters=window_size, kernel_size=3, strides=1, padding="SAME", activation="sigmoid"
)(x)
decoder = tf.keras.Model(latent_inputs, reconstructed, name="decoder")
decoder.summary()
outputs = decoder(encoder(inputs)[2])
vae = tf.keras.Model(inputs, outputs, name="vae")
vae.compile(
optimizer=tf.keras.optimizers.Adam(1e-4),
loss=vae_loss(z_mean, z_log_var, image_dims),
experimental_run_tf_function=False,
)
vae.summary()
# endregion
# region Train and evaluate
train_dataset, test_dataset = data_utils.load_numpy_dataset(
settings.TRAIN_DATA_DIR, return_tuples=True
)
start = time.time()
num_samples = 2000
with tqdm(train_dataset.take(num_samples), total=num_samples) as pbar:
for i, element in enumerate(pbar):
# pbar.write(f"{i + 1}: {element[0].shape}")
pass
print("----------------FINISHED----------------")
print(time.time() - start)
# if Path(settings.MODEL_WEIGHTS).is_file():
# vae.load_weights(settings.MODEL_WEIGHTS)
# vae.fit(train_dataset, epochs=num_epochs, validation_data=(test_dataset, None))
# endregion
# optimizer = tf.keras.optimizers.Adam(1e-4)
# model = CVAE(num_conv=4)
# model.compile(optimizer=optimizer)
# if os.path.exists(settings.MODEL_WEIGHTS):
# print(f"Loading weights from '{settings.MODEL_WEIGHTS}'")
# model.load_weights(settings.MODEL_WEIGHTS)
# num_train = num_test = 0
# generation_vector = tf.random.normal(shape=[settings.EXAMPLES_TO_GENERATE, model.latent_dims])
# visualiziation_output_dir = os.path.join(settings.OUTPUT_DIR, 'progress')
# visualize_model_outputs(model, 0, generation_vector, visualiziation_output_dir)
#
# for epoch in range(1, settings.EPOCHS + 1):
# start = time.time()
# print(f"Training | Epoch {epoch} / {settings.EPOCHS}...")
# for train_x in tqdm(train_dataset, total=num_train or None):
# compute_apply_gradients(model, train_x, optimizer)
# if epoch == 1:
# num_train += 1
# print(f"Finished Train Step | Epoch {epoch} Train Step took {time.time() - start:.2f} seconds")
#
# if epoch % 1 == 0:
# # Evaluate Model
# print(f"Evaluation | Epoch {epoch}...")
# loss = tf.keras.metrics.Mean()
# for test_x in tqdm(test_dataset, total=num_test):
# loss(compute_loss(model, test_x))
# if epoch == 1:
# num_test += 1
# elbo = -loss.result()
# print(f"Epoch {epoch} took {time.time() - start:.2f} seconds | Test Set ELBO: {elbo}")
# # Save Model Weights
# os.makedirs(os.path.dirname(settings.MODEL_WEIGHTS), exist_ok=True) # Create dir if it doesn't exist
# model.save_weights(settings.MODEL_WEIGHTS)
# # Save Generated Samples
# visualize_model_outputs(model, epoch, generation_vector, visualiziation_output_dir)
| [
11748,
28686,
198,
11748,
640,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
10088,
1330,
35971,
198,
6738,
1257,
310,
10141,
1330,
4646,
198,
6738,
3108,
8019,
1330,
10644,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
6738,
350,
4146,
1330,
7412,
198,
198,
6738,
764,
1330,
1366,
62,
26791,
198,
6738,
11485,
1330,
6460,
198,
198,
27110,
13,
5589,
265,
13,
85,
16,
13,
21633,
62,
68,
3536,
62,
18558,
1009,
3419,
628,
198,
198,
31,
27110,
13,
8818,
628,
198,
31,
27110,
13,
8818,
628,
628,
198,
198,
2,
3814,
9104,
8718,
17143,
7307,
198,
17497,
62,
7857,
796,
6460,
13,
28929,
3913,
62,
33489,
198,
9060,
62,
67,
12078,
796,
685,
33692,
13,
3398,
4944,
42,
62,
33489,
11,
6460,
13,
45,
62,
44,
37142,
60,
198,
15414,
62,
43358,
796,
30138,
9060,
62,
67,
12078,
11,
4324,
62,
7857,
60,
198,
15460,
298,
62,
67,
12078,
796,
6460,
13,
43,
1404,
3525,
62,
35,
3955,
50,
198,
22510,
62,
42946,
796,
362,
198,
22510,
62,
10379,
1010,
796,
3933,
198,
9806,
62,
10379,
1010,
796,
5598,
198,
33885,
62,
7857,
796,
513,
198,
2,
886,
36996,
198,
198,
2,
3814,
13614,
8718,
17143,
7307,
198,
22510,
62,
538,
5374,
82,
796,
6460,
13,
8905,
46,
3398,
50,
198,
43501,
62,
7857,
796,
6460,
13,
33,
11417,
62,
33489,
198,
2,
886,
36996,
198,
198,
2,
3814,
9104,
6770,
198,
15414,
82,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
20560,
7,
43358,
28,
15414,
62,
43358,
11,
1438,
2625,
12685,
12342,
62,
15414,
4943,
198,
87,
796,
17311,
198,
1640,
1312,
287,
2837,
7,
22510,
62,
42946,
2599,
198,
220,
220,
220,
2124,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
3103,
85,
17,
35,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
28,
1084,
7,
22510,
62,
10379,
1010,
1635,
357,
72,
1343,
352,
828,
3509,
62,
10379,
1010,
828,
198,
220,
220,
220,
220,
220,
220,
220,
9720,
62,
7857,
28,
33885,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
14916,
2625,
260,
2290,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
35002,
28,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
24511,
2625,
31642,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
3842,
62,
16338,
7509,
28,
27110,
13,
6122,
292,
13,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
828,
198,
220,
220,
220,
1267,
7,
87,
8,
198,
15460,
298,
62,
43358,
796,
2124,
13,
43358,
198,
87,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
7414,
41769,
3419,
7,
87,
8,
198,
89,
62,
32604,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
35,
1072,
7,
15460,
298,
62,
67,
12078,
11,
1438,
2625,
89,
62,
32604,
4943,
7,
87,
8,
198,
89,
62,
6404,
62,
7785,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
35,
1072,
7,
15460,
298,
62,
67,
12078,
11,
1438,
2625,
89,
62,
6404,
62,
7785,
4943,
7,
87,
8,
198,
89,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
43,
4131,
6814,
7,
260,
17143,
2357,
1096,
11,
5072,
62,
43358,
41888,
15460,
298,
62,
67,
12078,
4357,
1438,
2625,
89,
4943,
7,
198,
220,
220,
220,
685,
89,
62,
32604,
11,
1976,
62,
6404,
62,
7785,
60,
198,
8,
198,
12685,
12342,
796,
48700,
13,
6122,
292,
13,
17633,
7,
15414,
82,
11,
685,
89,
62,
32604,
11,
1976,
62,
6404,
62,
7785,
11,
1976,
4357,
1438,
2625,
12685,
12342,
4943,
198,
12685,
12342,
13,
49736,
3419,
198,
198,
15460,
298,
62,
15414,
82,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
20560,
7,
43358,
16193,
15460,
298,
62,
67,
12078,
11,
828,
1438,
2625,
89,
62,
37687,
10137,
4943,
198,
87,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
35,
1072,
7,
445,
7234,
7,
76,
377,
11,
41270,
62,
43358,
58,
16,
25,
46570,
14916,
2625,
260,
2290,
4943,
7,
198,
220,
220,
220,
41270,
62,
15414,
82,
198,
8,
198,
87,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
4965,
71,
1758,
7,
15460,
298,
62,
43358,
58,
16,
47715,
5769,
87,
8,
198,
1640,
1312,
287,
2837,
7,
22510,
62,
42946,
2599,
198,
220,
220,
220,
2124,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
3103,
85,
17,
35,
8291,
3455,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
28,
1084,
7,
22510,
62,
10379,
1010,
1635,
357,
22510,
62,
42946,
532,
1312,
828,
3509,
62,
10379,
1010,
828,
198,
220,
220,
220,
220,
220,
220,
220,
9720,
62,
7857,
28,
33885,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
35002,
28,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
14916,
2625,
260,
2290,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
24511,
2625,
31642,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
3842,
62,
16338,
7509,
28,
27110,
13,
6122,
292,
13,
16338,
11341,
13,
75,
16,
7,
15,
13,
486,
828,
198,
220,
220,
220,
1267,
7,
87,
8,
198,
260,
1102,
16242,
796,
48700,
13,
6122,
292,
13,
75,
6962,
13,
3103,
85,
17,
35,
8291,
3455,
7,
198,
220,
220,
220,
16628,
28,
17497,
62,
7857,
11,
9720,
62,
7857,
28,
18,
11,
35002,
28,
16,
11,
24511,
2625,
50,
10067,
1600,
14916,
2625,
82,
17225,
1868,
1,
198,
5769,
87,
8,
198,
12501,
12342,
796,
48700,
13,
6122,
292,
13,
17633,
7,
15460,
298,
62,
15414,
82,
11,
49594,
11,
1438,
2625,
12501,
12342,
4943,
198,
12501,
12342,
13,
49736,
3419,
198,
22915,
82,
796,
875,
12342,
7,
12685,
12342,
7,
15414,
82,
38381,
17,
12962,
198,
33353,
796,
48700,
13,
6122,
292,
13,
17633,
7,
15414,
82,
11,
23862,
11,
1438,
2625,
33353,
4943,
198,
33353,
13,
5589,
576,
7,
198,
220,
220,
220,
6436,
7509,
28,
27110,
13,
6122,
292,
13,
40085,
11341,
13,
23159,
7,
16,
68,
12,
19,
828,
198,
220,
220,
220,
2994,
28,
33353,
62,
22462,
7,
89,
62,
32604,
11,
1976,
62,
6404,
62,
7785,
11,
2939,
62,
67,
12078,
828,
198,
220,
220,
220,
11992,
62,
5143,
62,
27110,
62,
8818,
28,
25101,
11,
198,
8,
198,
33353,
13,
49736,
3419,
198,
2,
886,
36996,
198,
198,
2,
3814,
16835,
290,
13446,
198,
27432,
62,
19608,
292,
316,
11,
1332,
62,
19608,
292,
316,
796,
1366,
62,
26791,
13,
2220,
62,
77,
32152,
62,
19608,
292,
316,
7,
198,
220,
220,
220,
6460,
13,
51,
3861,
1268,
62,
26947,
62,
34720,
11,
1441,
62,
28047,
2374,
28,
17821,
198,
8,
198,
198,
9688,
796,
640,
13,
2435,
3419,
198,
22510,
62,
82,
12629,
796,
4751,
198,
4480,
256,
80,
36020,
7,
27432,
62,
19608,
292,
316,
13,
20657,
7,
22510,
62,
82,
12629,
828,
2472,
28,
22510,
62,
82,
12629,
8,
355,
279,
5657,
25,
198,
220,
220,
220,
329,
1312,
11,
5002,
287,
27056,
378,
7,
79,
5657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
279,
5657,
13,
13564,
7,
69,
1,
90,
72,
1343,
352,
38362,
1391,
30854,
58,
15,
4083,
43358,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
4798,
7203,
1783,
20032,
18422,
1961,
1783,
4943,
198,
4798,
7,
2435,
13,
2435,
3419,
532,
923,
8,
198,
198,
2,
611,
10644,
7,
33692,
13,
33365,
3698,
62,
8845,
34874,
737,
271,
62,
7753,
33529,
198,
2,
220,
220,
220,
220,
410,
3609,
13,
2220,
62,
43775,
7,
33692,
13,
33365,
3698,
62,
8845,
34874,
8,
198,
2,
410,
3609,
13,
11147,
7,
27432,
62,
19608,
292,
316,
11,
36835,
82,
28,
22510,
62,
538,
5374,
82,
11,
21201,
62,
7890,
16193,
9288,
62,
19608,
292,
316,
11,
6045,
4008,
198,
2,
886,
36996,
198,
198,
2,
6436,
7509,
796,
48700,
13,
6122,
292,
13,
40085,
11341,
13,
23159,
7,
16,
68,
12,
19,
8,
198,
2,
2746,
796,
327,
11731,
36,
7,
22510,
62,
42946,
28,
19,
8,
198,
2,
2746,
13,
5589,
576,
7,
40085,
7509,
28,
40085,
7509,
8,
198,
198,
2,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
33692,
13,
33365,
3698,
62,
8845,
34874,
2599,
198,
2,
220,
220,
220,
220,
3601,
7,
69,
1,
19031,
19590,
422,
705,
90,
33692,
13,
33365,
3698,
62,
8845,
34874,
92,
6,
4943,
198,
2,
220,
220,
220,
220,
2746,
13,
2220,
62,
43775,
7,
33692,
13,
33365,
3698,
62,
8845,
34874,
8,
198,
198,
2,
997,
62,
27432,
796,
997,
62,
9288,
796,
657,
198,
2,
5270,
62,
31364,
796,
48700,
13,
25120,
13,
11265,
7,
43358,
41888,
33692,
13,
6369,
2390,
6489,
1546,
62,
10468,
62,
35353,
1137,
6158,
11,
2746,
13,
15460,
298,
62,
67,
12078,
12962,
198,
2,
5874,
528,
3920,
62,
22915,
62,
15908,
796,
28686,
13,
6978,
13,
22179,
7,
33692,
13,
2606,
7250,
3843,
62,
34720,
11,
705,
33723,
11537,
198,
2,
38350,
62,
19849,
62,
22915,
82,
7,
19849,
11,
657,
11,
5270,
62,
31364,
11,
5874,
528,
3920,
62,
22915,
62,
15908,
8,
198,
2,
198,
2,
329,
36835,
287,
2837,
7,
16,
11,
6460,
13,
8905,
46,
3398,
50,
1343,
352,
2599,
198,
2,
220,
220,
220,
220,
923,
796,
640,
13,
2435,
3419,
198,
2,
220,
220,
220,
220,
3601,
7,
69,
1,
44357,
930,
4551,
5374,
1391,
538,
5374,
92,
1220,
1391,
33692,
13,
8905,
46,
3398,
50,
92,
9313,
8,
198,
2,
220,
220,
220,
220,
329,
4512,
62,
87,
287,
256,
80,
36020,
7,
27432,
62,
19608,
292,
316,
11,
2472,
28,
22510,
62,
27432,
393,
6045,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
24061,
62,
39014,
62,
9744,
2334,
7,
19849,
11,
4512,
62,
87,
11,
6436,
7509,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36835,
6624,
352,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
27432,
15853,
352,
198,
2,
220,
220,
220,
220,
3601,
7,
69,
1,
18467,
1348,
16835,
5012,
930,
4551,
5374,
1391,
538,
5374,
92,
16835,
5012,
1718,
1391,
2435,
13,
2435,
3419,
532,
923,
25,
13,
17,
69,
92,
4201,
4943,
198,
2,
198,
2,
220,
220,
220,
220,
611,
36835,
4064,
352,
6624,
657,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
26439,
4985,
9104,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
36,
2100,
2288,
930,
4551,
5374,
1391,
538,
5374,
92,
9313,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
796,
48700,
13,
6122,
292,
13,
4164,
10466,
13,
5308,
272,
3419,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1332,
62,
87,
287,
256,
80,
36020,
7,
9288,
62,
19608,
292,
316,
11,
2472,
28,
22510,
62,
9288,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2994,
7,
5589,
1133,
62,
22462,
7,
19849,
11,
1332,
62,
87,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36835,
6624,
352,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
9288,
15853,
352,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
2127,
796,
532,
22462,
13,
20274,
3419,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
13807,
5374,
1391,
538,
5374,
92,
1718,
1391,
2435,
13,
2435,
3419,
532,
923,
25,
13,
17,
69,
92,
4201,
930,
6208,
5345,
17852,
8202,
25,
1391,
417,
2127,
92,
4943,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12793,
9104,
775,
2337,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
76,
4335,
17062,
7,
418,
13,
6978,
13,
15908,
3672,
7,
33692,
13,
33365,
3698,
62,
8845,
34874,
828,
2152,
62,
482,
28,
17821,
8,
220,
1303,
13610,
26672,
611,
340,
1595,
470,
2152,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
21928,
62,
43775,
7,
33692,
13,
33365,
3698,
62,
8845,
34874,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12793,
2980,
515,
3409,
2374,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
38350,
62,
19849,
62,
22915,
82,
7,
19849,
11,
36835,
11,
5270,
62,
31364,
11,
5874,
528,
3920,
62,
22915,
62,
15908,
8,
198
] | 2.353705 | 2,078 |
import numpy as np
import pandas as pd
import os
import re
from os.path import join
from os import path, makedirs, rename
from tqdm import tqdm
#save_data_to_folders("../input")
| [
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
28686,
198,
11748,
302,
198,
6738,
28686,
13,
6978,
1330,
4654,
198,
6738,
28686,
1330,
3108,
11,
285,
4335,
17062,
11,
36265,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
628,
198,
198,
2,
21928,
62,
7890,
62,
1462,
62,
11379,
364,
7203,
40720,
15414,
4943,
198
] | 2.919355 | 62 |
#! /usr/bin/env python
# Thomas Nagy, 2011 (ita)
"""
Create _moc.cpp files
The builds are 30-40% faster when .moc files are included,
you should NOT use this tool. If you really
really want it:
def configure(conf):
conf.load('compiler_cxx qt4')
conf.load('slow_qt4')
See playground/slow_qt/wscript for a complete example.
"""
from waflib.TaskGen import extension
from waflib import Task
import waflib.Tools.qt4
import waflib.Tools.cxx
@extension(*waflib.Tools.qt4.EXT_QT4)
| [
2,
0,
1220,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
5658,
15196,
88,
11,
2813,
357,
5350,
8,
198,
198,
37811,
198,
16447,
4808,
76,
420,
13,
20322,
3696,
198,
198,
464,
12188,
389,
1542,
12,
1821,
4,
5443,
618,
764,
76,
420,
3696,
389,
3017,
11,
198,
5832,
815,
5626,
779,
428,
2891,
13,
1002,
345,
1107,
198,
27485,
765,
340,
25,
198,
198,
4299,
17425,
7,
10414,
2599,
198,
197,
10414,
13,
2220,
10786,
5589,
5329,
62,
66,
5324,
10662,
83,
19,
11537,
198,
197,
10414,
13,
2220,
10786,
38246,
62,
39568,
19,
11537,
198,
198,
6214,
24817,
14,
38246,
62,
39568,
14,
86,
12048,
329,
257,
1844,
1672,
13,
198,
37811,
198,
198,
6738,
266,
1878,
8019,
13,
25714,
13746,
1330,
7552,
198,
6738,
266,
1878,
8019,
1330,
15941,
198,
11748,
266,
1878,
8019,
13,
33637,
13,
39568,
19,
198,
11748,
266,
1878,
8019,
13,
33637,
13,
66,
5324,
198,
198,
31,
2302,
3004,
46491,
86,
1878,
8019,
13,
33637,
13,
39568,
19,
13,
13918,
62,
48,
51,
19,
8,
628
] | 2.754286 | 175 |
from .descriptor import EasyRepr
__all__ = ["easyrepr"]
def easyrepr(wrapped=None, **kwargs):
"""Decorator for an automatic `__repr__` method.
:param wrapped: the function to wrap
See `.descriptor.EasyRepr` for a full description of the accepted
keyword parameters.
This decorator wraps a function (which is available as `__wrapped__`). The
wrapped function should return a description of the attributes that should
be included in the repr.
>>> class UseEasyRepr:
... def __init__(self, foo, bar):
... self.foo = foo
... self.bar = bar
... @easyrepr
... def __repr__(self):
... ...
...
>>> x = UseEasyRepr(1, 2)
>>> repr(x)
'UseEasyRepr(foo=1, bar=2)'
This function may be called with all arguments up-front (wrapped function
and keyword arguments) ::
easyrepr(fn, style="<>")
or the wrapped function may be provided in a second call ::
easyrepr(style="<>")(fn)
to make it easier to use this function as a decorator.
"""
if wrapped is None:
return _easyrepr
return _easyrepr(wrapped)
| [
6738,
764,
20147,
1968,
273,
1330,
16789,
6207,
81,
628,
198,
834,
439,
834,
796,
14631,
38171,
260,
1050,
8973,
628,
198,
4299,
2562,
260,
1050,
7,
29988,
1496,
28,
14202,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
10707,
273,
1352,
329,
281,
11353,
4600,
834,
260,
1050,
834,
63,
2446,
13,
628,
220,
220,
220,
1058,
17143,
12908,
25,
262,
2163,
284,
14441,
628,
220,
220,
220,
4091,
4600,
13,
20147,
1968,
273,
13,
28406,
6207,
81,
63,
329,
257,
1336,
6764,
286,
262,
6292,
198,
220,
220,
220,
21179,
10007,
13,
628,
220,
220,
220,
770,
11705,
1352,
27521,
257,
2163,
357,
4758,
318,
1695,
355,
4600,
834,
29988,
1496,
834,
63,
737,
383,
198,
220,
220,
220,
12908,
2163,
815,
1441,
257,
6764,
286,
262,
12608,
326,
815,
198,
220,
220,
220,
307,
3017,
287,
262,
41575,
13,
628,
220,
220,
220,
13163,
1398,
5765,
28406,
6207,
81,
25,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
22944,
11,
2318,
2599,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21943,
796,
22944,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
5657,
796,
2318,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
2488,
38171,
260,
1050,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
825,
11593,
260,
1050,
834,
7,
944,
2599,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
2644,
198,
220,
220,
220,
2644,
198,
220,
220,
220,
13163,
2124,
796,
5765,
28406,
6207,
81,
7,
16,
11,
362,
8,
198,
220,
220,
220,
13163,
41575,
7,
87,
8,
198,
220,
220,
220,
705,
11041,
28406,
6207,
81,
7,
21943,
28,
16,
11,
2318,
28,
17,
33047,
628,
220,
220,
220,
770,
2163,
743,
307,
1444,
351,
477,
7159,
510,
12,
8534,
357,
29988,
1496,
2163,
198,
220,
220,
220,
290,
21179,
7159,
8,
7904,
628,
220,
220,
220,
220,
220,
220,
220,
2562,
260,
1050,
7,
22184,
11,
3918,
2625,
27,
29,
4943,
628,
220,
220,
220,
393,
262,
12908,
2163,
743,
307,
2810,
287,
257,
1218,
869,
7904,
628,
220,
220,
220,
220,
220,
220,
220,
2562,
260,
1050,
7,
7635,
2625,
27,
29,
4943,
7,
22184,
8,
628,
220,
220,
220,
284,
787,
340,
4577,
284,
779,
428,
2163,
355,
257,
11705,
1352,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
12908,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
38171,
260,
1050,
628,
220,
220,
220,
1441,
4808,
38171,
260,
1050,
7,
29988,
1496,
8,
198
] | 2.61036 | 444 |
# Generated by Django 2.1 on 2019-05-07 15:15
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
362,
13,
16,
319,
13130,
12,
2713,
12,
2998,
1315,
25,
1314,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.966667 | 30 |
"""Verify the functionality of isilon_hadoop_tools.cli."""
from __future__ import absolute_import
from __future__ import unicode_literals
try:
from unittest.mock import Mock # Python 3
except ImportError:
from mock import Mock # Python 2
import pytest
from isilon_hadoop_tools import IsilonHadoopToolError, cli
def test_catches(exception):
"""Ensure cli.catches detects the desired exception."""
assert cli.catches(exception)(Mock(side_effect=exception))() == 1
def test_not_catches(exception):
"""Ensure cli.catches does not catch undesirable exceptions."""
with pytest.raises(exception):
cli.catches(())(Mock(side_effect=exception))()
@pytest.mark.parametrize(
'error, classinfo',
[
(cli.CLIError, IsilonHadoopToolError),
(cli.HintedError, cli.CLIError),
],
)
def test_errors_cli(error, classinfo):
"""Ensure that exception types remain consistent."""
assert issubclass(error, IsilonHadoopToolError)
assert issubclass(error, cli.CLIError)
assert issubclass(error, classinfo)
| [
37811,
13414,
1958,
262,
11244,
286,
318,
33576,
62,
71,
4533,
404,
62,
31391,
13,
44506,
526,
15931,
628,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
555,
715,
395,
13,
76,
735,
1330,
44123,
220,
1303,
11361,
513,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
422,
15290,
1330,
44123,
220,
1303,
11361,
362,
198,
198,
11748,
12972,
9288,
198,
198,
6738,
318,
33576,
62,
71,
4533,
404,
62,
31391,
1330,
1148,
33576,
39,
4533,
404,
25391,
12331,
11,
537,
72,
628,
198,
4299,
1332,
62,
9246,
2052,
7,
1069,
4516,
2599,
198,
220,
220,
220,
37227,
4834,
19532,
537,
72,
13,
9246,
2052,
39382,
262,
10348,
6631,
526,
15931,
198,
220,
220,
220,
6818,
537,
72,
13,
9246,
2052,
7,
1069,
4516,
5769,
44,
735,
7,
1589,
62,
10760,
28,
1069,
4516,
4008,
3419,
6624,
352,
628,
198,
4299,
1332,
62,
1662,
62,
9246,
2052,
7,
1069,
4516,
2599,
198,
220,
220,
220,
37227,
4834,
19532,
537,
72,
13,
9246,
2052,
857,
407,
4929,
38117,
13269,
526,
15931,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
1069,
4516,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
537,
72,
13,
9246,
2052,
7,
3419,
5769,
44,
735,
7,
1589,
62,
10760,
28,
1069,
4516,
4008,
3419,
628,
198,
31,
9078,
9288,
13,
4102,
13,
17143,
316,
380,
2736,
7,
198,
220,
220,
220,
705,
18224,
11,
1398,
10951,
3256,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
44506,
13,
5097,
40,
12331,
11,
1148,
33576,
39,
4533,
404,
25391,
12331,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
44506,
13,
39,
600,
276,
12331,
11,
537,
72,
13,
5097,
40,
12331,
828,
198,
220,
220,
220,
16589,
198,
8,
198,
4299,
1332,
62,
48277,
62,
44506,
7,
18224,
11,
1398,
10951,
2599,
198,
220,
220,
220,
37227,
4834,
19532,
326,
6631,
3858,
3520,
6414,
526,
15931,
198,
220,
220,
220,
6818,
1189,
549,
4871,
7,
18224,
11,
1148,
33576,
39,
4533,
404,
25391,
12331,
8,
198,
220,
220,
220,
6818,
1189,
549,
4871,
7,
18224,
11,
537,
72,
13,
5097,
40,
12331,
8,
198,
220,
220,
220,
6818,
1189,
549,
4871,
7,
18224,
11,
1398,
10951,
8,
198
] | 2.712468 | 393 |
from unittest import TestCase
from CTCI.Ch2_Linked_Lists.common.SinglyLinkedList import Empty
from CTCI.Ch2_Linked_Lists.exercises.CTCI_Ch2_Ex1 import RemoveDupsSinglyLinkedList
| [
6738,
555,
715,
395,
1330,
6208,
20448,
198,
6738,
327,
4825,
40,
13,
1925,
17,
62,
11280,
276,
62,
43,
1023,
13,
11321,
13,
50,
4420,
11280,
276,
8053,
1330,
33523,
198,
6738,
327,
4825,
40,
13,
1925,
17,
62,
11280,
276,
62,
43,
1023,
13,
1069,
2798,
2696,
13,
4177,
25690,
62,
1925,
17,
62,
3109,
16,
1330,
17220,
35,
4739,
50,
4420,
11280,
276,
8053,
628
] | 2.632353 | 68 |
from cloudmesh.pi.board.monitor import Monitor
| [
6738,
6279,
76,
5069,
13,
14415,
13,
3526,
13,
41143,
1330,
18289,
628
] | 3.692308 | 13 |
"""Leetcode 647. Palindromic Substrings
Medium
URL: https://leetcode.com/problems/palindromic-substrings/
Given a string, your task is to count how many palindromic substrings in this string.
The substrings with different start indexes or end indexes are counted as different
substrings even they consist of same characters.
Example 1:
Input: "abc"
Output: 3
Explanation: Three palindromic strings: "a", "b", "c".
Example 2:
Input: "aaa"
Output: 6
Explanation: Six palindromic strings: "a", "a", "a", "aa", "aa", "aaa".
"""
if __name__ == '__main__':
main()
| [
37811,
3123,
316,
8189,
718,
2857,
13,
3175,
521,
398,
291,
3834,
37336,
198,
31205,
198,
198,
21886,
25,
3740,
1378,
293,
316,
8189,
13,
785,
14,
1676,
22143,
14,
18596,
521,
398,
291,
12,
7266,
37336,
14,
198,
198,
15056,
257,
4731,
11,
534,
4876,
318,
284,
954,
703,
867,
6340,
521,
398,
291,
850,
37336,
287,
428,
4731,
13,
198,
198,
464,
850,
37336,
351,
1180,
923,
39199,
393,
886,
39199,
389,
14789,
355,
1180,
198,
7266,
37336,
772,
484,
3473,
286,
976,
3435,
13,
198,
198,
16281,
352,
25,
198,
20560,
25,
366,
39305,
1,
198,
26410,
25,
513,
198,
3109,
11578,
341,
25,
7683,
6340,
521,
398,
291,
13042,
25,
366,
64,
1600,
366,
65,
1600,
366,
66,
1911,
198,
198,
16281,
362,
25,
198,
20560,
25,
366,
46071,
1,
198,
26410,
25,
718,
198,
3109,
11578,
341,
25,
9699,
6340,
521,
398,
291,
13042,
25,
366,
64,
1600,
366,
64,
1600,
366,
64,
1600,
366,
7252,
1600,
366,
7252,
1600,
366,
46071,
1911,
198,
37811,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 3 | 190 |
import os
import numpy as np
from keras.preprocessing.image import load_img
if __name__ == '__main__':
img = load_img('../dataset/validation/0000000.jpg', target_size=(1280, 720))
img.show() | [
11748,
28686,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
41927,
292,
13,
3866,
36948,
13,
9060,
1330,
3440,
62,
9600,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
33705,
796,
3440,
62,
9600,
10786,
40720,
19608,
292,
316,
14,
12102,
341,
14,
24598,
13,
9479,
3256,
2496,
62,
7857,
16193,
1065,
1795,
11,
26250,
4008,
198,
220,
220,
220,
33705,
13,
12860,
3419
] | 2.753425 | 73 |
import pyglet
import Block
import BlockArray
import random
#magic numbers
blockSize = 24
pointSize = 6
halfBorder = 1.0
height = 24
width = 36
#ugly global variables for visual effects
hoverGroup = []
#initialize the most important data structure
blocks = BlockArray.BlockArray(width, height)
#initialize the graphics
window = pyglet.window.Window(width*blockSize, height*blockSize)
pyglet.gl.glPointSize(pointSize)
triField = pyglet.graphics.vertex_list(blocks.count * 6, 'v2f', 'c4B')
triField.vertices = [0.0] * (blocks.count * 12)
triField.colors = [0xFF] * (blocks.count * 24)
pointField1 = pyglet.graphics.vertex_list(blocks.count, 'v2f', 'c4B')
pointField1.vertices = [0.0] * (blocks.count * 2)
pointField1.colors = [0xFF] * (blocks.count * 4)
pointField2 = pyglet.graphics.vertex_list(blocks.count, 'v2f', 'c4B')
pointField2.vertices = [0.0] * (blocks.count * 2)
pointField2.colors = [0xFF] * (blocks.count * 4)
for i in range(blocks.count):
x = blocks.getX(i) * float(blockSize)
y = blocks.getY(i) * float(blockSize)
triField.vertices[(i*12)+0] = x + halfBorder
triField.vertices[(i*12)+1] = y + halfBorder
triField.vertices[(i*12)+2] = x + float(blockSize) - halfBorder
triField.vertices[(i*12)+3] = y + float(blockSize) - halfBorder
triField.vertices[(i*12)+4] = x + float(blockSize) - halfBorder
triField.vertices[(i*12)+5] = y + halfBorder
triField.vertices[(i*12)+6] = x + halfBorder
triField.vertices[(i*12)+7] = y + halfBorder
triField.vertices[(i*12)+8] = x + float(blockSize) - halfBorder
triField.vertices[(i*12)+9] = y + float(blockSize) - halfBorder
triField.vertices[(i*12)+10] = x + halfBorder
triField.vertices[(i*12)+11] = y + float(blockSize) - halfBorder
pointField1.vertices[(i*2)] = x + (pointSize/2.0) + halfBorder
pointField1.vertices[(i*2)+1] = y + float(blockSize) - (pointSize / 2.0) - halfBorder
pointField2.vertices[(i*2)] = x + float(blockSize) - (pointSize / 2.0) - halfBorder
pointField2.vertices[(i*2)+1] = y + (pointSize/2.0) + halfBorder
@window.event
@window.event
@window.event
@window.event
@window.event
@window.event
pyglet.app.run()
| [
11748,
12972,
70,
1616,
198,
11748,
9726,
198,
11748,
9726,
19182,
198,
11748,
4738,
628,
198,
198,
2,
32707,
3146,
198,
9967,
10699,
796,
1987,
198,
4122,
10699,
796,
718,
198,
13959,
34189,
796,
352,
13,
15,
198,
17015,
796,
1987,
198,
10394,
796,
4570,
198,
198,
2,
1018,
306,
3298,
9633,
329,
5874,
3048,
198,
43753,
13247,
796,
17635,
198,
198,
2,
36733,
1096,
262,
749,
1593,
1366,
4645,
198,
27372,
796,
9726,
19182,
13,
12235,
19182,
7,
10394,
11,
6001,
8,
198,
198,
2,
36733,
1096,
262,
9382,
198,
17497,
796,
12972,
70,
1616,
13,
17497,
13,
27703,
7,
10394,
9,
9967,
10699,
11,
6001,
9,
9967,
10699,
8,
198,
9078,
70,
1616,
13,
4743,
13,
4743,
12727,
10699,
7,
4122,
10699,
8,
198,
198,
28461,
15878,
796,
12972,
70,
1616,
13,
70,
11549,
13,
332,
16886,
62,
4868,
7,
27372,
13,
9127,
1635,
718,
11,
705,
85,
17,
69,
3256,
705,
66,
19,
33,
11537,
198,
28461,
15878,
13,
1851,
1063,
796,
685,
15,
13,
15,
60,
1635,
357,
27372,
13,
9127,
1635,
1105,
8,
198,
28461,
15878,
13,
4033,
669,
796,
685,
15,
87,
5777,
60,
1635,
357,
27372,
13,
9127,
1635,
1987,
8,
198,
198,
4122,
15878,
16,
796,
12972,
70,
1616,
13,
70,
11549,
13,
332,
16886,
62,
4868,
7,
27372,
13,
9127,
11,
705,
85,
17,
69,
3256,
705,
66,
19,
33,
11537,
198,
4122,
15878,
16,
13,
1851,
1063,
796,
685,
15,
13,
15,
60,
1635,
357,
27372,
13,
9127,
1635,
362,
8,
198,
4122,
15878,
16,
13,
4033,
669,
796,
685,
15,
87,
5777,
60,
1635,
357,
27372,
13,
9127,
1635,
604,
8,
198,
198,
4122,
15878,
17,
796,
12972,
70,
1616,
13,
70,
11549,
13,
332,
16886,
62,
4868,
7,
27372,
13,
9127,
11,
705,
85,
17,
69,
3256,
705,
66,
19,
33,
11537,
198,
4122,
15878,
17,
13,
1851,
1063,
796,
685,
15,
13,
15,
60,
1635,
357,
27372,
13,
9127,
1635,
362,
8,
198,
4122,
15878,
17,
13,
4033,
669,
796,
685,
15,
87,
5777,
60,
1635,
357,
27372,
13,
9127,
1635,
604,
8,
628,
198,
1640,
1312,
287,
2837,
7,
27372,
13,
9127,
2599,
198,
197,
87,
796,
7021,
13,
1136,
55,
7,
72,
8,
1635,
12178,
7,
9967,
10699,
8,
198,
197,
88,
796,
7021,
13,
1136,
56,
7,
72,
8,
1635,
12178,
7,
9967,
10699,
8,
628,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
15,
60,
796,
2124,
1343,
2063,
34189,
198,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
16,
60,
796,
331,
1343,
2063,
34189,
628,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
17,
60,
796,
2124,
1343,
12178,
7,
9967,
10699,
8,
532,
2063,
34189,
198,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
18,
60,
796,
331,
1343,
12178,
7,
9967,
10699,
8,
532,
2063,
34189,
628,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
19,
60,
796,
2124,
1343,
12178,
7,
9967,
10699,
8,
532,
2063,
34189,
198,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
20,
60,
796,
331,
1343,
2063,
34189,
628,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
21,
60,
796,
2124,
1343,
2063,
34189,
198,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
22,
60,
796,
331,
1343,
2063,
34189,
628,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
23,
60,
796,
2124,
1343,
12178,
7,
9967,
10699,
8,
532,
2063,
34189,
198,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
24,
60,
796,
331,
1343,
12178,
7,
9967,
10699,
8,
532,
2063,
34189,
628,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
940,
60,
796,
2124,
1343,
2063,
34189,
198,
197,
28461,
15878,
13,
1851,
1063,
58,
7,
72,
9,
1065,
47762,
1157,
60,
796,
331,
1343,
12178,
7,
9967,
10699,
8,
532,
2063,
34189,
628,
197,
4122,
15878,
16,
13,
1851,
1063,
58,
7,
72,
9,
17,
15437,
796,
2124,
1343,
357,
4122,
10699,
14,
17,
13,
15,
8,
1343,
2063,
34189,
198,
197,
4122,
15878,
16,
13,
1851,
1063,
58,
7,
72,
9,
17,
47762,
16,
60,
796,
331,
1343,
12178,
7,
9967,
10699,
8,
532,
357,
4122,
10699,
1220,
362,
13,
15,
8,
532,
2063,
34189,
628,
197,
4122,
15878,
17,
13,
1851,
1063,
58,
7,
72,
9,
17,
15437,
796,
2124,
1343,
12178,
7,
9967,
10699,
8,
532,
357,
4122,
10699,
1220,
362,
13,
15,
8,
532,
2063,
34189,
198,
197,
4122,
15878,
17,
13,
1851,
1063,
58,
7,
72,
9,
17,
47762,
16,
60,
796,
331,
1343,
357,
4122,
10699,
14,
17,
13,
15,
8,
1343,
2063,
34189,
628,
198,
31,
17497,
13,
15596,
198,
198,
31,
17497,
13,
15596,
198,
197,
197,
198,
31,
17497,
13,
15596,
198,
198,
31,
17497,
13,
15596,
198,
198,
31,
17497,
13,
15596,
198,
198,
31,
17497,
13,
15596,
628,
198,
197,
628,
198,
9078,
70,
1616,
13,
1324,
13,
5143,
3419,
628
] | 2.519481 | 847 |
# Generated by Django 3.2.5 on 2021-07-13 06:42
import cloudinary.models
from django.db import migrations
| [
2,
2980,
515,
416,
37770,
513,
13,
17,
13,
20,
319,
33448,
12,
2998,
12,
1485,
9130,
25,
3682,
198,
198,
11748,
6279,
3219,
13,
27530,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
628
] | 3 | 36 |
import unittest
import json
import os
from dacbench.benchmarks import OneLLBenchmark
from dacbench.envs import OneLLEnv
# TestOneLLBenchmark().test_get_env()
# TestOneLLBenchmark().test_scenarios()
# TestOneLLBenchmark().test_read_instances()
# TestOneLLBenchmark().test_save_conf()
| [
11748,
555,
715,
395,
198,
11748,
33918,
198,
11748,
28686,
198,
198,
6738,
288,
330,
26968,
13,
26968,
14306,
1330,
1881,
3069,
44199,
4102,
198,
6738,
288,
330,
26968,
13,
268,
14259,
1330,
1881,
43,
2538,
48005,
628,
198,
198,
2,
6208,
3198,
3069,
44199,
4102,
22446,
9288,
62,
1136,
62,
24330,
3419,
198,
2,
6208,
3198,
3069,
44199,
4102,
22446,
9288,
62,
1416,
268,
13010,
3419,
198,
2,
6208,
3198,
3069,
44199,
4102,
22446,
9288,
62,
961,
62,
8625,
1817,
3419,
198,
2,
6208,
3198,
3069,
44199,
4102,
22446,
9288,
62,
21928,
62,
10414,
3419,
198
] | 2.958763 | 97 |
from json import load, dump
from pathlib import Path
from shutil import rmtree
from unittest.mock import Mock
from pytest import fixture
from pc_spec.data import save_store, load_store
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
@fixture
| [
6738,
33918,
1330,
3440,
11,
10285,
198,
6738,
3108,
8019,
1330,
10644,
198,
6738,
4423,
346,
1330,
374,
16762,
631,
198,
6738,
555,
715,
395,
13,
76,
735,
1330,
44123,
198,
198,
6738,
12972,
9288,
1330,
29220,
198,
198,
6738,
40653,
62,
16684,
13,
7890,
1330,
3613,
62,
8095,
11,
3440,
62,
8095,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
198,
31,
69,
9602,
628,
628,
628,
628,
198
] | 2.771186 | 118 |
from marshmallow import Schema, fields, validate
from schema.rating_movie import RatingMovieSchema
from schema.role import RoleSchema
| [
6738,
22397,
42725,
1330,
10011,
2611,
11,
7032,
11,
26571,
198,
198,
6738,
32815,
13,
8821,
62,
41364,
1330,
12028,
25097,
27054,
2611,
198,
6738,
32815,
13,
18090,
1330,
20934,
27054,
2611,
628
] | 4.121212 | 33 |
"""Test Blend modes."""
import unittest
from coloraide import Color
from . import util
# Colors that produce pretty distinct results
REDISH = '#fc3d99'
BLUISH = '#07c7ed'
YELLOWISH = '#f5d311'
class TestBlendModes(util.ColorAsserts, unittest.TestCase):
"""Test blend modes."""
def test_alpha(self):
"""Test normal blend mode with source alpha."""
self.assertColorEqual(Color('blue').compose('color(srgb 1 0 0 / 0.5)', blend='normal'), Color('blue'))
self.assertColorEqual(
Color('color(srgb 0 0 1 / 0.5)').compose('color(srgb 1 0 0)', blend='normal'),
Color('color(srgb 0.5 0 0.5)')
)
self.assertColorEqual(
Color('color(srgb 0 0 1 / 0.5)').compose('color(srgb 1 0 0 / 0.5)', blend='normal'),
Color('color(srgb 0.25 0 0.5 / 0.75)')
)
def test_normal(self):
"""Test normal."""
self.assertColorEqual(Color(REDISH).compose('black', blend='normal'), Color(REDISH))
self.assertColorEqual(Color(REDISH).compose('white', blend='normal'), Color(REDISH))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='normal'), Color(REDISH))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='normal'), Color(BLUISH))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='normal'), Color(BLUISH))
def test_multiply(self):
"""Test multiply."""
self.assertColorEqual(Color(REDISH).compose('black', blend='multiply'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='multiply'), Color(REDISH))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='multiply'), Color('rgb(242.12 50.475 10.2)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='multiply'), Color('rgb(6.9176 47.604 142.2)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='multiply'), Color('rgb(6.7255 164.66 15.8)'))
def test_screen(self):
"""Test screen."""
self.assertColorEqual(Color(REDISH).compose('black', blend='screen'), Color(REDISH))
self.assertColorEqual(Color(REDISH).compose('white', blend='screen'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='screen'), Color('rgb(254.88 221.53 159.8)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='screen'), Color('rgb(252.08 212.4 247.8)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='screen'), Color('rgb(245.27 245.34 238.2)'))
def test_overlay(self):
"""Test overlay."""
self.assertColorEqual(Color(REDISH).compose('black', blend='overlay'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='overlay'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='overlay'), Color('rgb(254.76 188.05 20.4)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='overlay'), Color('rgb(249.16 95.208 240.6)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='overlay'), Color('rgb(235.55 235.67 31.6)'))
def test_darken(self):
"""Test darken."""
self.assertColorEqual(Color(REDISH).compose('black', blend='darken'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='darken'), Color('rgb(252 61 153)'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='darken'), Color('rgb(245 61 17)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='darken'), Color('rgb(7 61 153)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='darken'), Color('rgb(7 199 17)'))
def test_lighten(self):
"""Test lighten."""
self.assertColorEqual(Color(REDISH).compose('black', blend='lighten'), Color('rgb(252 61 153)'))
self.assertColorEqual(Color(REDISH).compose('white', blend='lighten'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='lighten'), Color('rgb(252 211 153)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='lighten'), Color('rgb(252 199 237)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='lighten'), Color('rgb(245 211 237)'))
def test_color_dodge(self):
"""Test color dodge."""
self.assertColorEqual(Color(REDISH).compose('black', blend='color-dodge'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='color-dodge'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='color-dodge'), Color('rgb(255 255 42.5)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='color-dodge'), Color('rgb(255 255 255)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='color-dodge'), Color('rgb(251.92 255 240.83)'))
# If source channel is 1 resultant channel will be 1
self.assertColorEqual(Color('white').compose(REDISH, blend='color-dodge'), Color('white'))
def test_color_burn(self):
"""Test color burn."""
self.assertColorEqual(Color(REDISH).compose('black', blend='color-burn'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='color-burn'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='color-burn'), Color('rgb(244.88 71.066 0)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='color-burn'), Color('rgb(145.71 6.407 145.25)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='color-burn'), Color('rgb(0 198.62 0)'))
# If source is channel is 0, resultant channel will be 0
self.assertColorEqual(Color('black').compose(REDISH, blend='color-burn'), Color('black'))
def test_difference(self):
"""Test difference."""
self.assertColorEqual(Color(REDISH).compose('black', blend='difference'), Color('rgb(252 61 153)'))
self.assertColorEqual(Color(REDISH).compose('white', blend='difference'), Color('rgb(3 194 102)'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='difference'), Color('rgb(7 150 136)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='difference'), Color('rgb(245 138 84)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='difference'), Color('rgb(238 12 220)'))
def test_exclusion(self):
"""Test exclusion."""
self.assertColorEqual(Color(REDISH).compose('black', blend='exclusion'), Color('rgb(252 61 153)'))
self.assertColorEqual(Color(REDISH).compose('white', blend='exclusion'), Color('rgb(3 194 102)'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='exclusion'), Color('rgb(12.765 171.05 149.6)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='exclusion'), Color('rgb(245.16 164.79 105.6)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='exclusion'), Color('rgb(238.55 80.675 222.4)'))
def test_color_hard_light(self):
"""Test hard light."""
self.assertColorEqual(Color(REDISH).compose('black', blend='hard-light'), Color('rgb(249 0 51)'))
self.assertColorEqual(Color(REDISH).compose('white', blend='hard-light'), Color('rgb(255 122 255)'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='hard-light'), Color('rgb(254.76 100.95 64.6)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='hard-light'), Color('rgb(13.835 169.79 240.6)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='hard-light'), Color('rgb(13.451 235.67 221.4)'))
def test_color_soft_light(self):
"""Test soft light."""
self.assertColorEqual(Color(REDISH).compose('black', blend='soft-light'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='soft-light'), Color('white'))
self.assertColorEqual(
Color(REDISH).compose(YELLOWISH, blend='soft-light'),
Color('rgb(249.83 192.01 24.722)')
)
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='soft-light'), Color('rgb(249.2 96.747 191.24)'))
self.assertColorEqual(
Color(BLUISH).compose(YELLOWISH, blend='soft-light'),
Color('rgb(235.92 222.75 50.158)')
)
def test_hue(self):
"""Test hue."""
self.assertColorEqual(Color(REDISH).compose('black', blend='hue'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='hue'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='hue'), Color('rgb(255 168.4 210.11)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='hue'), Color('rgb(13.23 172.67 204.23)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='hue'), Color('rgb(113.71 231.66 255)'))
# sRGB must be forced
self.assertColorEqual(
Color(BLUISH).compose(YELLOWISH, blend='hue', space="display-p3"),
Color(BLUISH).compose(YELLOWISH, blend='hue', space="srgb")
)
def test_saturation(self):
"""Test hue."""
self.assertColorEqual(Color(REDISH).compose('black', blend='saturation'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='saturation'), Color('white'))
self.assertColorEqual(
Color(REDISH).compose(YELLOWISH, blend='saturation'),
Color('rgb(237.54 209.06 46.543)')
)
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='saturation'), Color('rgb(255 59.357 153.59)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='saturation'), Color('rgb(245.4 211.1 15.403)'))
# sRGB must be forced
self.assertColorEqual(
Color(BLUISH).compose(YELLOWISH, blend='saturation', space="display-p3"),
Color(BLUISH).compose(YELLOWISH, blend='saturation', space="srgb")
)
def test_luminosity(self):
"""Test luminosity."""
self.assertColorEqual(Color(REDISH).compose('black', blend='luminosity'), Color('rgb(128.6 128.6 128.6)'))
self.assertColorEqual(Color(REDISH).compose('white', blend='luminosity'), Color('rgb(128.6 128.6 128.6)'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='luminosity'), Color('rgb(161.06 137.04 0)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='luminosity'), Color('rgb(255 86.175 167.49)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='luminosity'), Color('rgb(182.76 155.5 0)'))
# sRGB must be forced
self.assertColorEqual(
Color(BLUISH).compose(YELLOWISH, blend='luminosity', space="display-p3"),
Color(BLUISH).compose(YELLOWISH, blend='luminosity', space="srgb")
)
def test_color(self):
"""Test color."""
self.assertColorEqual(Color(REDISH).compose('black', blend='color'), Color('black'))
self.assertColorEqual(Color(REDISH).compose('white', blend='color'), Color('white'))
self.assertColorEqual(Color(REDISH).compose(YELLOWISH, blend='color'), Color('rgb(255 168.4 210.11)'))
self.assertColorEqual(Color(BLUISH).compose(REDISH, blend='color'), Color('rgb(0 177.73 212.9)'))
self.assertColorEqual(Color(BLUISH).compose(YELLOWISH, blend='color'), Color('rgb(113.71 231.66 255)'))
# sRGB must be forced
self.assertColorEqual(
Color(BLUISH).compose(YELLOWISH, blend='color', space="display-p3"),
Color(BLUISH).compose(YELLOWISH, blend='color', space="srgb")
)
| [
37811,
14402,
41198,
12881,
526,
15931,
198,
11748,
555,
715,
395,
198,
6738,
3124,
64,
485,
1330,
5315,
198,
6738,
764,
1330,
7736,
198,
198,
2,
29792,
326,
4439,
2495,
7310,
2482,
198,
22083,
18422,
796,
705,
2,
16072,
18,
67,
2079,
6,
198,
9148,
52,
18422,
796,
705,
2,
2998,
66,
22,
276,
6,
198,
56,
23304,
3913,
18422,
796,
705,
2,
69,
20,
67,
36244,
6,
628,
198,
4871,
6208,
3629,
437,
44,
4147,
7,
22602,
13,
10258,
8021,
861,
82,
11,
555,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
14402,
13516,
12881,
526,
15931,
628,
220,
220,
220,
825,
1332,
62,
26591,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3487,
13516,
4235,
351,
2723,
17130,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
10786,
17585,
27691,
785,
3455,
10786,
8043,
7,
27891,
22296,
352,
657,
657,
1220,
657,
13,
20,
8,
3256,
13516,
11639,
11265,
33809,
5315,
10786,
17585,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
8043,
7,
27891,
22296,
657,
657,
352,
1220,
657,
13,
20,
8,
27691,
785,
3455,
10786,
8043,
7,
27891,
22296,
352,
657,
657,
8,
3256,
13516,
11639,
11265,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
8043,
7,
27891,
22296,
657,
13,
20,
657,
657,
13,
20,
8,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
8043,
7,
27891,
22296,
657,
657,
352,
1220,
657,
13,
20,
8,
27691,
785,
3455,
10786,
8043,
7,
27891,
22296,
352,
657,
657,
1220,
657,
13,
20,
8,
3256,
13516,
11639,
11265,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
8043,
7,
27891,
22296,
657,
13,
1495,
657,
657,
13,
20,
1220,
657,
13,
2425,
8,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
11265,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3487,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
11265,
33809,
5315,
7,
22083,
18422,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
11265,
33809,
5315,
7,
22083,
18422,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
11265,
33809,
5315,
7,
22083,
18422,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
11265,
33809,
5315,
7,
9148,
52,
18422,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
11265,
33809,
5315,
7,
9148,
52,
18422,
4008,
628,
220,
220,
220,
825,
1332,
62,
16680,
541,
306,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
29162,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
16680,
541,
306,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
16680,
541,
306,
33809,
5315,
7,
22083,
18422,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
16680,
541,
306,
33809,
5315,
10786,
81,
22296,
7,
27877,
13,
1065,
2026,
13,
32576,
838,
13,
17,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
16680,
541,
306,
33809,
5315,
10786,
81,
22296,
7,
21,
13,
24,
24096,
6298,
13,
31916,
25181,
13,
17,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
16680,
541,
306,
33809,
5315,
10786,
81,
22296,
7,
21,
13,
22,
13381,
25307,
13,
2791,
1315,
13,
23,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
9612,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3159,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
9612,
33809,
5315,
7,
22083,
18422,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
9612,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
9612,
33809,
5315,
10786,
81,
22296,
7,
24970,
13,
3459,
31566,
13,
4310,
26422,
13,
23,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
9612,
33809,
5315,
10786,
81,
22296,
7,
22800,
13,
2919,
23679,
13,
19,
30179,
13,
23,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
9612,
33809,
5315,
10786,
81,
22296,
7,
22995,
13,
1983,
29637,
13,
2682,
32544,
13,
17,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
2502,
10724,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
33345,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
2502,
10724,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
2502,
10724,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
2502,
10724,
33809,
5315,
10786,
81,
22296,
7,
24970,
13,
4304,
27778,
13,
2713,
1160,
13,
19,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
2502,
10724,
33809,
5315,
10786,
81,
22296,
7,
21626,
13,
1433,
6957,
13,
21315,
14956,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
2502,
10724,
33809,
5315,
10786,
81,
22296,
7,
22370,
13,
2816,
28878,
13,
3134,
3261,
13,
21,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
21953,
268,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3223,
268,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
21953,
268,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
21953,
268,
33809,
5315,
10786,
81,
22296,
7,
22800,
8454,
24652,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
21953,
268,
33809,
5315,
10786,
81,
22296,
7,
22995,
8454,
1596,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
21953,
268,
33809,
5315,
10786,
81,
22296,
7,
22,
8454,
24652,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
21953,
268,
33809,
5315,
10786,
81,
22296,
7,
22,
1594,
1596,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
2971,
268,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1657,
268,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
2971,
268,
33809,
5315,
10786,
81,
22296,
7,
22800,
8454,
24652,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
2971,
268,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
2971,
268,
33809,
5315,
10786,
81,
22296,
7,
22800,
28714,
24652,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
2971,
268,
33809,
5315,
10786,
81,
22296,
7,
22800,
1594,
34385,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
2971,
268,
33809,
5315,
10786,
81,
22296,
7,
22995,
28714,
34385,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
8043,
62,
67,
9728,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3124,
24885,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
8043,
12,
67,
9728,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
8043,
12,
67,
9728,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
12,
67,
9728,
33809,
5315,
10786,
81,
22296,
7,
13381,
14280,
5433,
13,
20,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
8043,
12,
67,
9728,
33809,
5315,
10786,
81,
22296,
7,
13381,
14280,
14280,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
12,
67,
9728,
33809,
5315,
10786,
81,
22296,
7,
28072,
13,
5892,
14280,
14956,
13,
5999,
33047,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
2723,
6518,
318,
352,
43440,
6518,
481,
307,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
10786,
11186,
27691,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
8043,
12,
67,
9728,
33809,
5315,
10786,
11186,
6,
4008,
628,
220,
220,
220,
825,
1332,
62,
8043,
62,
10899,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3124,
4245,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
8043,
12,
10899,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
8043,
12,
10899,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
12,
10899,
33809,
5315,
10786,
81,
22296,
7,
25707,
13,
3459,
9166,
13,
15,
2791,
657,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
8043,
12,
10899,
33809,
5315,
10786,
81,
22296,
7,
18781,
13,
4869,
718,
13,
30120,
20299,
13,
1495,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
12,
10899,
33809,
5315,
10786,
81,
22296,
7,
15,
2757,
13,
5237,
657,
33047,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
2723,
318,
220,
6518,
318,
657,
11,
43440,
6518,
481,
307,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
10786,
13424,
27691,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
8043,
12,
10899,
33809,
5315,
10786,
13424,
6,
4008,
628,
220,
220,
220,
825,
1332,
62,
26069,
1945,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3580,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
26069,
1945,
33809,
5315,
10786,
81,
22296,
7,
22800,
8454,
24652,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
26069,
1945,
33809,
5315,
10786,
81,
22296,
7,
18,
30483,
15143,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
26069,
1945,
33809,
5315,
10786,
81,
22296,
7,
22,
6640,
21056,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
26069,
1945,
33809,
5315,
10786,
81,
22296,
7,
22995,
21503,
9508,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
26069,
1945,
33809,
5315,
10786,
81,
22296,
7,
23721,
1105,
15629,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
1069,
4717,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
19328,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
1069,
4717,
33809,
5315,
10786,
81,
22296,
7,
22800,
8454,
24652,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
1069,
4717,
33809,
5315,
10786,
81,
22296,
7,
18,
30483,
15143,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
1069,
4717,
33809,
5315,
10786,
81,
22296,
7,
1065,
13,
29143,
28369,
13,
2713,
24041,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
1069,
4717,
33809,
5315,
10786,
81,
22296,
7,
22995,
13,
1433,
25307,
13,
3720,
13343,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
1069,
4717,
33809,
5315,
10786,
81,
22296,
7,
23721,
13,
2816,
4019,
13,
42444,
27795,
13,
19,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
8043,
62,
10424,
62,
2971,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1327,
1657,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
10424,
12,
2971,
33809,
5315,
10786,
81,
22296,
7,
21626,
657,
6885,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
10424,
12,
2971,
33809,
5315,
10786,
81,
22296,
7,
13381,
19409,
14280,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
10424,
12,
2971,
33809,
5315,
10786,
81,
22296,
7,
24970,
13,
4304,
1802,
13,
3865,
5598,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
10424,
12,
2971,
33809,
5315,
10786,
81,
22296,
7,
1485,
13,
23,
2327,
27191,
13,
3720,
14956,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
10424,
12,
2971,
33809,
5315,
10786,
81,
22296,
7,
1485,
13,
36330,
28878,
13,
3134,
31566,
13,
19,
33047,
4008,
628,
220,
220,
220,
825,
1332,
62,
8043,
62,
4215,
62,
2971,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
2705,
1657,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
4215,
12,
2971,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
4215,
12,
2971,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
4215,
12,
2971,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
81,
22296,
7,
21626,
13,
5999,
17817,
13,
486,
1987,
13,
22,
1828,
8,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
4215,
12,
2971,
33809,
5315,
10786,
81,
22296,
7,
21626,
13,
17,
9907,
13,
48882,
31009,
13,
1731,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
4215,
12,
2971,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
81,
22296,
7,
22370,
13,
5892,
27795,
13,
2425,
2026,
13,
21273,
8,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
71,
518,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
37409,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
71,
518,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
71,
518,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
71,
518,
33809,
5315,
10786,
81,
22296,
7,
13381,
23378,
13,
19,
20064,
13,
1157,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
71,
518,
33809,
5315,
10786,
81,
22296,
7,
1485,
13,
1954,
23120,
13,
3134,
26956,
13,
1954,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
71,
518,
33809,
5315,
10786,
81,
22296,
7,
16616,
13,
4869,
34598,
13,
2791,
14280,
33047,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
264,
36982,
1276,
307,
4137,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
71,
518,
3256,
2272,
2625,
13812,
12,
79,
18,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
71,
518,
3256,
2272,
2625,
27891,
22296,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
82,
36921,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
37409,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
82,
36921,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
82,
36921,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
82,
36921,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
10786,
81,
22296,
7,
24693,
13,
4051,
28815,
13,
3312,
6337,
13,
20,
3559,
8,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
82,
36921,
33809,
5315,
10786,
81,
22296,
7,
13381,
7863,
13,
27277,
24652,
13,
3270,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
82,
36921,
33809,
5315,
10786,
81,
22296,
7,
22995,
13,
19,
28714,
13,
16,
1315,
13,
31552,
33047,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
264,
36982,
1276,
307,
4137,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
82,
36921,
3256,
2272,
2625,
13812,
12,
79,
18,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
82,
36921,
3256,
2272,
2625,
27891,
22296,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
75,
7230,
16579,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
29763,
16579,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
75,
7230,
16579,
33809,
5315,
10786,
81,
22296,
7,
12762,
13,
21,
13108,
13,
21,
13108,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
75,
7230,
16579,
33809,
5315,
10786,
81,
22296,
7,
12762,
13,
21,
13108,
13,
21,
13108,
13,
21,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
75,
7230,
16579,
33809,
5315,
10786,
81,
22296,
7,
25948,
13,
3312,
21643,
13,
3023,
657,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
75,
7230,
16579,
33809,
5315,
10786,
81,
22296,
7,
13381,
9849,
13,
17430,
26118,
13,
2920,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
75,
7230,
16579,
33809,
5315,
10786,
81,
22296,
7,
24294,
13,
4304,
20708,
13,
20,
657,
33047,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
264,
36982,
1276,
307,
4137,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
75,
7230,
16579,
3256,
2272,
2625,
13812,
12,
79,
18,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
75,
7230,
16579,
3256,
2272,
2625,
27891,
22296,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
1332,
62,
8043,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
3124,
526,
15931,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
13424,
3256,
13516,
11639,
8043,
33809,
5315,
10786,
13424,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
10786,
11186,
3256,
13516,
11639,
8043,
33809,
5315,
10786,
11186,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
22083,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
33809,
5315,
10786,
81,
22296,
7,
13381,
23378,
13,
19,
20064,
13,
1157,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
22083,
18422,
11,
13516,
11639,
8043,
33809,
5315,
10786,
81,
22296,
7,
15,
26607,
13,
4790,
23679,
13,
24,
33047,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
10258,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
33809,
5315,
10786,
81,
22296,
7,
16616,
13,
4869,
34598,
13,
2791,
14280,
33047,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
264,
36982,
1276,
307,
4137,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
10258,
36,
13255,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
3256,
2272,
2625,
13812,
12,
79,
18,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5315,
7,
9148,
52,
18422,
737,
785,
3455,
7,
56,
23304,
3913,
18422,
11,
13516,
11639,
8043,
3256,
2272,
2625,
27891,
22296,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198
] | 2.394801 | 4,886 |
import time
import pandas as pd
from brainflow.board_shim import (
BoardIds,
BoardShim,
BrainFlowInputParams,
BrainFlowError,
)
from timeflux.core.node import Node
class BrainFlow(Node):
"""Driver for BrainFlow.
This plugin provides a unified interface for all boards supported by BrainFlow.
Attributes:
o (Port): Default output, provides DataFrame.
Args:
board (string|int): The board ID.
Allowed values: numeric ID or name (e.g. ``synthetic``, ``cyton_wifi``,
``brainbit``, etc.).
channels (list): The EEG channel labels.
If not set, incrementing numbers will be used.
command (string): Send a command to the board.
Use it carefully and only if you understand what you are doing.
debug (boolean): Print debug messages.
**kwargs: The parameters specific for each board.
Allowed arguments: ``serial_port``, ``mac_address``, ``ip_address``,
``ip_port``, ``ip_protocol``, ``serial_number``, ``other_info``.
.. seealso::
List of `supported boads <https://brainflow.readthedocs.io/en/stable/SupportedBoards.html>`_.
Example:
.. literalinclude:: /../examples/synthetic.yaml
:language: yaml
"""
| [
11748,
640,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
3632,
11125,
13,
3526,
62,
1477,
320,
1330,
357,
198,
220,
220,
220,
5926,
7390,
82,
11,
198,
220,
220,
220,
5926,
2484,
320,
11,
198,
220,
220,
220,
14842,
37535,
20560,
10044,
4105,
11,
198,
220,
220,
220,
14842,
37535,
12331,
11,
198,
8,
198,
6738,
640,
69,
22564,
13,
7295,
13,
17440,
1330,
19081,
628,
198,
4871,
14842,
37535,
7,
19667,
2599,
628,
220,
220,
220,
37227,
32103,
329,
14842,
37535,
13,
628,
220,
220,
220,
770,
13877,
3769,
257,
22706,
7071,
329,
477,
11490,
4855,
416,
14842,
37535,
13,
628,
220,
220,
220,
49213,
25,
198,
220,
220,
220,
220,
220,
220,
220,
267,
357,
13924,
2599,
15161,
5072,
11,
3769,
6060,
19778,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3096,
357,
8841,
91,
600,
2599,
383,
3096,
4522,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1439,
6972,
3815,
25,
35575,
4522,
393,
1438,
357,
68,
13,
70,
13,
7559,
1837,
429,
6587,
15506,
11,
7559,
948,
1122,
62,
86,
22238,
15506,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
27825,
2545,
15506,
11,
3503,
15729,
198,
220,
220,
220,
220,
220,
220,
220,
9619,
357,
4868,
2599,
383,
48749,
6518,
14722,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
407,
900,
11,
18703,
278,
3146,
481,
307,
973,
13,
198,
220,
220,
220,
220,
220,
220,
220,
3141,
357,
8841,
2599,
16290,
257,
3141,
284,
262,
3096,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5765,
340,
7773,
290,
691,
611,
345,
1833,
644,
345,
389,
1804,
13,
198,
220,
220,
220,
220,
220,
220,
220,
14257,
357,
2127,
21052,
2599,
12578,
14257,
6218,
13,
198,
220,
220,
220,
220,
220,
220,
220,
12429,
46265,
22046,
25,
383,
10007,
2176,
329,
1123,
3096,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1439,
6972,
7159,
25,
7559,
46911,
62,
634,
15506,
11,
7559,
20285,
62,
21975,
15506,
11,
7559,
541,
62,
21975,
15506,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7559,
541,
62,
634,
15506,
11,
7559,
541,
62,
11235,
4668,
15506,
11,
7559,
46911,
62,
17618,
15506,
11,
7559,
847,
62,
10951,
15506,
13,
628,
220,
220,
220,
11485,
766,
14508,
3712,
198,
220,
220,
220,
220,
220,
220,
220,
7343,
286,
4600,
15999,
275,
1170,
82,
1279,
5450,
1378,
27825,
11125,
13,
961,
83,
704,
420,
82,
13,
952,
14,
268,
14,
31284,
14,
48181,
16635,
1371,
13,
6494,
29,
63,
44807,
628,
220,
220,
220,
17934,
25,
198,
220,
220,
220,
220,
220,
220,
220,
11485,
18875,
17256,
3712,
1220,
40720,
1069,
12629,
14,
1837,
429,
6587,
13,
88,
43695,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
16129,
25,
331,
43695,
198,
220,
220,
220,
37227,
198
] | 2.565737 | 502 |
import numpy as np
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
import plotly.io as pio
from IMLearn.learners.regressors.polynomial_fitting import PolynomialFitting
from IMLearn.utils import utils
pio.templates.default = "simple_white"
def load_data(filename: str) -> pd.DataFrame:
"""
Load city daily temperature dataset and preprocess data.
Parameters
----------
filename: str
Path to house prices dataset
Returns
-------
Design matrix and response vector (Temp)
"""
df = pd.read_csv(filename, parse_dates=["Date"]).dropna().drop_duplicates()
df['DayOfYear'] = df['Date'].dt.dayofyear
df = df.loc[df['Temp'] < 60]
df = df.loc[df['Temp'] > -60]
df = df.loc[df['Day'] >= 1]
df = df.loc[df['Day'] <= 31]
return df
if __name__ == '__main__':
np.random.seed(0)
# Question 1 - Load and preprocessing of city temperature dataset
data = load_data("C:\CS\IML\IML.HUJI\datasets\City_Temperature.csv")
# Question 2 - Exploring data for specific country
# raise NotImplementedError()
# question2(data)
# Question 3 - Exploring differences between countries
#question3(data)
# Question 4 - Fitting model for different values of `k`
question4(data)
# Question 5 - Evaluating fitted model on different countries
# raise NotImplementedError()
| [
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
7110,
306,
13,
42712,
355,
279,
87,
198,
11748,
7110,
306,
13,
34960,
62,
48205,
355,
467,
198,
11748,
7110,
306,
13,
952,
355,
279,
952,
198,
198,
6738,
314,
5805,
451,
77,
13,
35720,
364,
13,
2301,
601,
669,
13,
35428,
26601,
498,
62,
32232,
1330,
12280,
26601,
498,
37,
2535,
198,
6738,
314,
5805,
451,
77,
13,
26791,
1330,
3384,
4487,
198,
198,
79,
952,
13,
11498,
17041,
13,
12286,
796,
366,
36439,
62,
11186,
1,
628,
198,
4299,
3440,
62,
7890,
7,
34345,
25,
965,
8,
4613,
279,
67,
13,
6601,
19778,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8778,
1748,
4445,
5951,
27039,
290,
662,
14681,
1366,
13,
198,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
29472,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
10644,
284,
2156,
4536,
27039,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
8495,
17593,
290,
2882,
15879,
357,
30782,
8,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
47764,
796,
279,
67,
13,
961,
62,
40664,
7,
34345,
11,
21136,
62,
19581,
28,
14692,
10430,
8973,
737,
14781,
2616,
22446,
14781,
62,
646,
489,
16856,
3419,
198,
220,
220,
220,
47764,
17816,
12393,
5189,
17688,
20520,
796,
47764,
17816,
10430,
6,
4083,
28664,
13,
820,
1659,
1941,
198,
220,
220,
220,
47764,
796,
47764,
13,
17946,
58,
7568,
17816,
30782,
20520,
1279,
3126,
60,
198,
220,
220,
220,
47764,
796,
47764,
13,
17946,
58,
7568,
17816,
30782,
20520,
1875,
532,
1899,
60,
198,
220,
220,
220,
47764,
796,
47764,
13,
17946,
58,
7568,
17816,
12393,
20520,
18189,
352,
60,
198,
220,
220,
220,
47764,
796,
47764,
13,
17946,
58,
7568,
17816,
12393,
20520,
19841,
3261,
60,
198,
220,
220,
220,
1441,
47764,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
45941,
13,
25120,
13,
28826,
7,
15,
8,
198,
220,
220,
220,
1303,
18233,
352,
532,
8778,
290,
662,
36948,
286,
1748,
5951,
27039,
198,
220,
220,
220,
1366,
796,
3440,
62,
7890,
7203,
34,
7479,
7902,
59,
3955,
43,
59,
3955,
43,
13,
39,
52,
41,
40,
59,
19608,
292,
1039,
59,
14941,
62,
42492,
13,
40664,
4943,
628,
220,
220,
220,
1303,
18233,
362,
532,
5905,
3255,
1366,
329,
2176,
1499,
198,
220,
220,
220,
1303,
5298,
1892,
3546,
1154,
12061,
12331,
3419,
198,
220,
220,
220,
1303,
1808,
17,
7,
7890,
8,
628,
220,
220,
220,
1303,
18233,
513,
532,
5905,
3255,
5400,
1022,
2678,
198,
220,
220,
220,
1303,
25652,
18,
7,
7890,
8,
628,
220,
220,
220,
1303,
18233,
604,
532,
376,
2535,
2746,
329,
1180,
3815,
286,
4600,
74,
63,
198,
220,
220,
220,
1808,
19,
7,
7890,
8,
628,
220,
220,
220,
1303,
18233,
642,
532,
26439,
11927,
18235,
2746,
319,
1180,
2678,
198,
220,
220,
220,
1303,
5298,
1892,
3546,
1154,
12061,
12331,
3419,
198
] | 2.766798 | 506 |
from more_itertools import one
from .._utils import names_and_abbrevs
from ..unit import CURRENT, Dimension, LENGTH, MASS, TEMPERATURE, TIME, Unit
base_unit_map = {
(names, abbrevs): Unit(dim, name=one(abbrevs))
for (names, abbrevs), dim in {
names_and_abbrevs(item): {val: 1} if isinstance(val, Dimension) else val
for item, val in {
(('meter', 'metre'), 'm'): LENGTH, 'second': TIME,
('kilogram', 'kg'): MASS, 'Ampere': CURRENT, 'Kelvin': TEMPERATURE,
}.items()
}.items()
}
| [
6738,
517,
62,
270,
861,
10141,
1330,
530,
198,
198,
6738,
11485,
62,
26791,
1330,
3891,
62,
392,
62,
397,
4679,
14259,
198,
6738,
11485,
20850,
1330,
327,
39237,
11,
34024,
11,
406,
49494,
11,
337,
10705,
11,
309,
3620,
18973,
40086,
11,
20460,
11,
11801,
628,
198,
8692,
62,
20850,
62,
8899,
796,
1391,
198,
220,
220,
220,
357,
14933,
11,
28873,
14259,
2599,
11801,
7,
27740,
11,
1438,
28,
505,
7,
397,
4679,
14259,
4008,
198,
220,
220,
220,
329,
357,
14933,
11,
28873,
14259,
828,
5391,
287,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3891,
62,
392,
62,
397,
4679,
14259,
7,
9186,
2599,
1391,
2100,
25,
352,
92,
611,
318,
39098,
7,
2100,
11,
34024,
8,
2073,
1188,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
11,
1188,
287,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
10786,
27231,
3256,
705,
4164,
260,
33809,
705,
76,
6,
2599,
406,
49494,
11,
705,
12227,
10354,
20460,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19203,
34553,
21857,
3256,
705,
10025,
6,
2599,
337,
10705,
11,
705,
5840,
431,
260,
10354,
327,
39237,
11,
705,
42,
417,
7114,
10354,
309,
3620,
18973,
40086,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
13,
23814,
3419,
198,
220,
220,
220,
1782,
13,
23814,
3419,
198,
92,
198
] | 2.303419 | 234 |
# Copyright 2019 - Nokia 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 cliff import lister
from vitrageclient.common import utils
class ServiceList(lister.Lister):
"""List all services"""
| [
2,
220,
15069,
13130,
532,
26182,
10501,
198,
2,
198,
2,
220,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
345,
743,
198,
2,
220,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
921,
743,
7330,
198,
2,
220,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
220,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
220,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
198,
2,
220,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
198,
2,
220,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
11247,
198,
2,
220,
739,
262,
13789,
13,
198,
6738,
19516,
1330,
300,
1694,
198,
198,
6738,
9090,
8394,
16366,
13,
11321,
1330,
3384,
4487,
628,
198,
4871,
4809,
8053,
7,
75,
1694,
13,
43,
1694,
2599,
198,
220,
220,
220,
37227,
8053,
477,
2594,
37811,
198
] | 3.720207 | 193 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import time
from redis_rate_limit import RateLimit, RateLimiter, TooManyRequests
if __name__ == '__main__':
unittest.main()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
11748,
555,
715,
395,
198,
11748,
640,
198,
6738,
2266,
271,
62,
4873,
62,
32374,
1330,
14806,
39184,
11,
14806,
19352,
2676,
11,
14190,
7085,
16844,
3558,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.608108 | 74 |
import os
from conans import ConanFile, CMake, AutoToolsBuildEnvironment, tools
from conans.util import files
| [
11748,
28686,
198,
6738,
369,
504,
1330,
31634,
8979,
11,
327,
12050,
11,
11160,
33637,
15580,
31441,
11,
4899,
198,
6738,
369,
504,
13,
22602,
1330,
3696,
628
] | 3.964286 | 28 |
import itertools as it
import networkx as nx
import numpy as np
from wepy.analysis.parents import DISCONTINUITY_VALUE, \
parent_panel, net_parent_table,\
ancestors, sliding_window
| [
11748,
340,
861,
10141,
355,
340,
198,
198,
11748,
3127,
87,
355,
299,
87,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
356,
9078,
13,
20930,
13,
23743,
1330,
13954,
37815,
1268,
52,
9050,
62,
39488,
11,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
35330,
11,
2010,
62,
8000,
62,
11487,
11,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18668,
11,
22292,
62,
17497,
198
] | 2.016129 | 124 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import time
import string
import itertools
from elasticsearch import Elasticsearch, helpers
INDEX = 'passwd'
INDEX_PREFIX = 'pwd_'
DOC_TYPE = 'account'
INDEX_CFG = {
"settings": {
"index": {
#"number_of_shards": 8,
"refresh_interval": -1,
"number_of_replicas": 0
},
"analysis": {
"filter": {
"tld_filter": {
"type": "pattern_capture",
"preserve_original": False,
"patterns": ["\\.([^\\.]+?)$"]
}
},
"analyzer": {
"lc_analyzer": {
"type": "custom",
"tokenizer": "keyword",
"filter": ["lowercase"]
},
"user_analyzer": {
"type": "custom",
"tokenizer": "user_tokenizer",
"filter": ["lowercase"]
},
"domain_analyzer": {
"type": "custom",
"tokenizer": "domain_tokenizer",
"filter": ["lowercase"]
},
"domain_notld_analyzer": {
"type": "custom",
"tokenizer": "domain_notld_tokenizer",
"filter": ["lowercase"]
},
"tld_analyzer": {
"type": "custom",
"tokenizer": "tld_tokenizer",
"filter": ["lowercase"]
}
},
"tokenizer": {
"user_tokenizer": {
"type": "pattern",
"pattern": "(.+?)@",
"group": 1
},
"domain_tokenizer": {
"type": "pattern",
"pattern": "@(.+)",
"group": 1
},
"domain_notld_tokenizer": {
"type": "pattern",
"pattern": "@(.+)\\.",
"group": 1
},
"tld_tokenizer": {
"type": "pattern",
"pattern": "\\.([^\\.]+?)$",
"group": 1
}
},
"normalizer": {
"lc_normalizer": {
"type": "custom",
"char_filter": [],
"filter": ["lowercase"]
}
}
}
},
"mappings": {
DOC_TYPE: {
"properties": {
"email": {
"type": "text",
"analyzer": "simple",
"fields": {
"raw": {
"type": "keyword",
"normalizer": "lc_normalizer"
}
}
},
"username": {
"type": "text",
"analyzer": "simple",
"fields": {
"raw": {
"type": "keyword",
"normalizer": "lc_normalizer"
}
}
},
"domain": {
"type": "keyword",
"normalizer": "lc_normalizer"
},
"domain_notld": {
"type": "keyword",
"normalizer": "lc_normalizer"
},
"tld": {
"type": "keyword",
"normalizer": "lc_normalizer"
},
"password": {
"type": "text",
"analyzer": "simple",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"password_length": {
"type": "short"
},
"source": {
"type": "short"
}
}
}
}
}
if __name__ == '__main__':
run(sys.argv[1])
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
25064,
198,
11748,
640,
198,
11748,
4731,
198,
11748,
340,
861,
10141,
198,
6738,
27468,
12947,
1330,
48567,
12947,
11,
49385,
198,
198,
12115,
6369,
796,
705,
6603,
16993,
6,
198,
12115,
6369,
62,
47,
31688,
10426,
796,
705,
79,
16993,
62,
6,
198,
38715,
62,
25216,
796,
705,
23317,
6,
198,
198,
12115,
6369,
62,
22495,
38,
796,
1391,
198,
220,
220,
220,
366,
33692,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9630,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1,
17618,
62,
1659,
62,
1477,
1371,
1298,
807,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
5420,
3447,
62,
3849,
2100,
1298,
532,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
17618,
62,
1659,
62,
35666,
44645,
1298,
657,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20930,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
83,
335,
62,
24455,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
33279,
62,
27144,
495,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18302,
3760,
62,
14986,
1298,
10352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
82,
1298,
14631,
6852,
12195,
58,
61,
6852,
8183,
10,
10091,
3,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
38200,
9107,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
44601,
62,
38200,
9107,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
23144,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30001,
7509,
1298,
366,
2539,
4775,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
14631,
21037,
7442,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
38200,
9107,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
23144,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30001,
7509,
1298,
366,
7220,
62,
30001,
7509,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
14631,
21037,
7442,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27830,
62,
38200,
9107,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
23144,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30001,
7509,
1298,
366,
27830,
62,
30001,
7509,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
14631,
21037,
7442,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27830,
62,
1662,
335,
62,
38200,
9107,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
23144,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30001,
7509,
1298,
366,
27830,
62,
1662,
335,
62,
30001,
7509,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
14631,
21037,
7442,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
83,
335,
62,
38200,
9107,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
23144,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30001,
7509,
1298,
366,
83,
335,
62,
30001,
7509,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
14631,
21037,
7442,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30001,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
30001,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
33279,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
1298,
30629,
13,
10,
10091,
31,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
8094,
1298,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27830,
62,
30001,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
33279,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
1298,
44212,
7,
13,
28988,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
8094,
1298,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27830,
62,
1662,
335,
62,
30001,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
33279,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
1298,
44212,
7,
13,
28988,
6852,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
8094,
1298,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
83,
335,
62,
30001,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
33279,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
1298,
366,
6852,
12195,
58,
61,
6852,
8183,
10,
10091,
3,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
8094,
1298,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11265,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
44601,
62,
11265,
7509,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
23144,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
10641,
62,
24455,
1298,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
1298,
14631,
21037,
7442,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
366,
76,
39242,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
37760,
62,
25216,
25,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
48310,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12888,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
5239,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
38200,
9107,
1298,
366,
36439,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
25747,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1831,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2539,
4775,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11265,
7509,
1298,
366,
44601,
62,
11265,
7509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
29460,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
5239,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
38200,
9107,
1298,
366,
36439,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
25747,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1831,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2539,
4775,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11265,
7509,
1298,
366,
44601,
62,
11265,
7509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27830,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2539,
4775,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11265,
7509,
1298,
366,
44601,
62,
11265,
7509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
27830,
62,
1662,
335,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2539,
4775,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11265,
7509,
1298,
366,
44601,
62,
11265,
7509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
83,
335,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2539,
4775,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11265,
7509,
1298,
366,
44601,
62,
11265,
7509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28712,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
5239,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
38200,
9107,
1298,
366,
36439,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
25747,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1831,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
2539,
4775,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28712,
62,
13664,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
19509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
10459,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1298,
366,
19509,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
1782,
198,
92,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1057,
7,
17597,
13,
853,
85,
58,
16,
12962,
198
] | 1.46049 | 2,936 |
import seaborn as sns
import matplotlib.pyplot as plt
def plot_boxplot_best_framework_designs(data, plot_file_name=False, latex_font=True):
"""
Parameters
----------
data: Data for plot
plot_file_name: Optional name for plot
latex_font: Whether latex font should be used
Returns
-------
"""
if latex_font:
# Use LaTex Font
plt.rc('text', usetex=True)
plt.rc('font', family='serif', size=15)
fontsize = 15
params = {'axes.labelsize': fontsize, 'axes.titlesize': fontsize, 'legend.fontsize': fontsize,
'xtick.labelsize': fontsize, 'ytick.labelsize': fontsize}
plt.rcParams.update(params)
plt.style.use('ggplot')
plt.tight_layout()
# Create Plot
ax = sns.boxplot(x="Metric name", y="Metric value", hue="Framework design", data=data)
# plt.title("Performance of different framework designs")
plt.xlabel("Metric name", fontsize=fontsize)
plt.ylabel("Metric value", fontsize=fontsize)
plt.legend(fontsize=fontsize)
if plot_file_name:
plt.savefig("Plots/" + str(plot_file_name))
plt.show()
| [
11748,
384,
397,
1211,
355,
3013,
82,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
628,
198,
4299,
7110,
62,
3524,
29487,
62,
13466,
62,
30604,
62,
26124,
82,
7,
7890,
11,
7110,
62,
7753,
62,
3672,
28,
25101,
11,
47038,
62,
10331,
28,
17821,
2599,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1366,
25,
6060,
329,
7110,
198,
220,
220,
220,
7110,
62,
7753,
62,
3672,
25,
32233,
1438,
329,
7110,
198,
220,
220,
220,
47038,
62,
10331,
25,
10127,
47038,
10369,
815,
307,
973,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
47038,
62,
10331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5765,
4689,
17005,
24060,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
6015,
10786,
5239,
3256,
514,
316,
1069,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
6015,
10786,
10331,
3256,
1641,
11639,
2655,
361,
3256,
2546,
28,
1314,
8,
198,
220,
220,
220,
10369,
7857,
796,
1315,
198,
220,
220,
220,
42287,
796,
1391,
6,
897,
274,
13,
23912,
1424,
1096,
10354,
10369,
7857,
11,
705,
897,
274,
13,
83,
30540,
1096,
10354,
10369,
7857,
11,
705,
1455,
437,
13,
10331,
7857,
10354,
10369,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
742,
624,
13,
23912,
1424,
1096,
10354,
10369,
7857,
11,
705,
20760,
624,
13,
23912,
1424,
1096,
10354,
10369,
7857,
92,
198,
220,
220,
220,
458,
83,
13,
6015,
10044,
4105,
13,
19119,
7,
37266,
8,
198,
220,
220,
220,
458,
83,
13,
7635,
13,
1904,
10786,
1130,
29487,
11537,
198,
220,
220,
220,
458,
83,
13,
33464,
62,
39786,
3419,
628,
220,
220,
220,
1303,
13610,
28114,
198,
220,
220,
220,
7877,
796,
3013,
82,
13,
3524,
29487,
7,
87,
2625,
9171,
1173,
1438,
1600,
331,
2625,
9171,
1173,
1988,
1600,
37409,
2625,
21055,
6433,
1486,
1600,
1366,
28,
7890,
8,
198,
220,
220,
220,
1303,
458,
83,
13,
7839,
7203,
32273,
286,
1180,
9355,
9824,
4943,
198,
220,
220,
220,
458,
83,
13,
87,
18242,
7203,
9171,
1173,
1438,
1600,
10369,
7857,
28,
10331,
7857,
8,
198,
220,
220,
220,
458,
83,
13,
2645,
9608,
7203,
9171,
1173,
1988,
1600,
10369,
7857,
28,
10331,
7857,
8,
198,
220,
220,
220,
458,
83,
13,
1455,
437,
7,
10331,
7857,
28,
10331,
7857,
8,
198,
220,
220,
220,
611,
7110,
62,
7753,
62,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
458,
83,
13,
21928,
5647,
7203,
3646,
1747,
30487,
1343,
965,
7,
29487,
62,
7753,
62,
3672,
4008,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
198
] | 2.413276 | 467 |
# Generated by Django 2.2.7 on 2019-12-13 03:23
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
362,
13,
17,
13,
22,
319,
13130,
12,
1065,
12,
1485,
7643,
25,
1954,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.84375 | 32 |
# classic implementation of Singleton Design pattern
# main method
if __name__ == "__main__":
# create object of Singleton Class
obj = Singleton()
print(obj)
# pick the instance of the class
obj = Singleton.getInstance()
print(obj)
| [
2,
6833,
7822,
286,
5573,
10565,
8495,
3912,
198,
198,
2,
1388,
2446,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
628,
197,
2,
2251,
2134,
286,
5573,
10565,
5016,
198,
197,
26801,
796,
5573,
10565,
3419,
198,
197,
4798,
7,
26801,
8,
628,
197,
2,
2298,
262,
4554,
286,
262,
1398,
198,
197,
26801,
796,
5573,
10565,
13,
1136,
33384,
3419,
198,
197,
4798,
7,
26801,
8,
198
] | 3.347222 | 72 |
#! /usr/bin/env python
from xml.dom import minidom
from ctypes import c_longlong
from mathml import cut_nomeaning_text, parse_file
| [
2,
0,
1220,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
6738,
35555,
13,
3438,
1330,
949,
312,
296,
198,
6738,
269,
19199,
1330,
269,
62,
6511,
6511,
198,
6738,
10688,
4029,
1330,
2005,
62,
77,
462,
7574,
62,
5239,
11,
21136,
62,
7753,
198
] | 2.933333 | 45 |
import re
import csv
import StringIO
import datetime
from billy.scrape.bills import BillScraper, Bill
from billy.scrape.votes import Vote
import lxml.html
import scrapelib
| [
11748,
302,
198,
11748,
269,
21370,
198,
11748,
10903,
9399,
198,
11748,
4818,
8079,
198,
198,
6738,
2855,
88,
13,
1416,
13484,
13,
65,
2171,
1330,
3941,
3351,
38545,
11,
3941,
198,
6738,
2855,
88,
13,
1416,
13484,
13,
29307,
1330,
19175,
198,
198,
11748,
300,
19875,
13,
6494,
198,
198,
11748,
15881,
417,
571,
628,
628
] | 3.122807 | 57 |
# 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 string
import time
import keystoneauth1
from keystoneauth1 import discover
from openstack import _log
from openstack import exceptions
def urljoin(*args):
"""A custom version of urljoin that simply joins strings into a path.
The real urljoin takes into account web semantics like when joining a url
like /path this should be joined to http://host/path as it is an anchored
link. We generally won't care about that in client.
"""
return '/'.join(str(a or '').strip('/') for a in args)
def iterate_timeout(timeout, message, wait=2):
"""Iterate and raise an exception on timeout.
This is a generator that will continually yield and sleep for
wait seconds, and if the timeout is reached, will raise an exception
with <message>.
"""
log = _log.setup_logging('openstack.iterate_timeout')
try:
# None as a wait winds up flowing well in the per-resource cache
# flow. We could spread this logic around to all of the calling
# points, but just having this treat None as "I don't have a value"
# seems friendlier
if wait is None:
wait = 2
elif wait == 0:
# wait should be < timeout, unless timeout is None
wait = 0.1 if timeout is None else min(0.1, timeout)
wait = float(wait)
except ValueError:
raise exceptions.SDKException(
"Wait value must be an int or float value. {wait} given"
" instead".format(wait=wait))
start = time.time()
count = 0
while (timeout is None) or (time.time() < start + timeout):
count += 1
yield count
log.debug('Waiting %s seconds', wait)
time.sleep(wait)
raise exceptions.ResourceTimeout(message)
def get_string_format_keys(fmt_string, old_style=True):
"""Gets a list of required keys from a format string
Required mostly for parsing base_path urls for required keys, which
use the old style string formatting.
"""
if old_style:
a = AccessSaver()
fmt_string % a
return a.keys
else:
keys = []
for t in string.Formatter().parse(fmt_string):
if t[1] is not None:
keys.append(t[1])
return keys
def supports_microversion(adapter, microversion):
"""Determine if the given adapter supports the given microversion.
Checks the min and max microversion asserted by the service and checks
to make sure that ``min <= microversion <= max``.
:param adapter:
:class:`~keystoneauth1.adapter.Adapter` instance.
:param str microversion:
String containing the desired microversion.
:returns: True if the service supports the microversion.
:rtype: bool
"""
endpoint_data = adapter.get_endpoint_data()
if (endpoint_data.min_microversion
and endpoint_data.max_microversion
and discover.version_between(
endpoint_data.min_microversion,
endpoint_data.max_microversion,
microversion)):
return True
return False
def pick_microversion(session, required):
"""Get a new microversion if it is higher than session's default.
:param session: The session to use for making this request.
:type session: :class:`~keystoneauth1.adapter.Adapter`
:param required: Version that is required for an action.
:type required: String or tuple or None.
:return: ``required`` as a string if the ``session``'s default is too low,
the ``session``'s default otherwise. Returns ``None`` of both
are ``None``.
:raises: TypeError if ``required`` is invalid.
"""
if required is not None:
required = discover.normalize_version_number(required)
if session.default_microversion is not None:
default = discover.normalize_version_number(
session.default_microversion)
if required is None:
required = default
else:
required = (default if discover.version_match(required, default)
else required)
if required is not None:
return discover.version_to_string(required)
def maximum_supported_microversion(adapter, client_maximum):
"""Determinte the maximum microversion supported by both client and server.
:param adapter: :class:`~keystoneauth1.adapter.Adapter` instance.
:param client_maximum: Maximum microversion supported by the client.
If ``None``, ``None`` is returned.
:returns: the maximum supported microversion as string or ``None``.
"""
if client_maximum is None:
return None
# NOTE(dtantsur): if we cannot determine supported microversions, fall back
# to the default one.
try:
endpoint_data = adapter.get_endpoint_data()
except keystoneauth1.exceptions.discovery.DiscoveryFailure:
endpoint_data = None
if endpoint_data is None:
log = _log.setup_logging('openstack')
log.warning('Cannot determine endpoint data for service %s',
adapter.service_type or adapter.service_name)
return None
if not endpoint_data.max_microversion:
return None
client_max = discover.normalize_version_number(client_maximum)
server_max = discover.normalize_version_number(
endpoint_data.max_microversion)
if endpoint_data.min_microversion:
server_min = discover.normalize_version_number(
endpoint_data.min_microversion)
if client_max < server_min:
# NOTE(dtantsur): we may want to raise in this case, but this keeps
# the current behavior intact.
return None
result = min(client_max, server_max)
return discover.version_to_string(result)
| [
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
345,
743,
198,
2,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
921,
743,
7330,
198,
2,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
198,
2,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
198,
2,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
11247,
198,
2,
739,
262,
13789,
13,
198,
198,
11748,
4731,
198,
11748,
640,
198,
198,
11748,
1994,
6440,
18439,
16,
198,
6738,
1994,
6440,
18439,
16,
1330,
7073,
198,
198,
6738,
1280,
25558,
1330,
4808,
6404,
198,
6738,
1280,
25558,
1330,
13269,
628,
198,
4299,
19016,
22179,
46491,
22046,
2599,
198,
220,
220,
220,
37227,
32,
2183,
2196,
286,
19016,
22179,
326,
2391,
15449,
13042,
656,
257,
3108,
13,
628,
220,
220,
220,
383,
1103,
19016,
22179,
2753,
656,
1848,
3992,
33815,
588,
618,
9679,
257,
19016,
198,
220,
220,
220,
588,
1220,
6978,
428,
815,
307,
5399,
284,
2638,
1378,
4774,
14,
6978,
355,
340,
318,
281,
39871,
198,
220,
220,
220,
2792,
13,
775,
4143,
1839,
470,
1337,
546,
326,
287,
5456,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
31051,
4458,
22179,
7,
2536,
7,
64,
393,
10148,
737,
36311,
10786,
14,
11537,
329,
257,
287,
26498,
8,
628,
198,
4299,
11629,
378,
62,
48678,
7,
48678,
11,
3275,
11,
4043,
28,
17,
2599,
198,
220,
220,
220,
37227,
29993,
378,
290,
5298,
281,
6631,
319,
26827,
13,
628,
220,
220,
220,
770,
318,
257,
17301,
326,
481,
17451,
7800,
290,
3993,
329,
198,
220,
220,
220,
4043,
4201,
11,
290,
611,
262,
26827,
318,
4251,
11,
481,
5298,
281,
6631,
198,
220,
220,
220,
351,
1279,
20500,
28401,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
2604,
796,
4808,
6404,
13,
40406,
62,
6404,
2667,
10786,
9654,
25558,
13,
2676,
378,
62,
48678,
11537,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6045,
355,
257,
4043,
13520,
510,
17609,
880,
287,
262,
583,
12,
31092,
12940,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5202,
13,
775,
714,
4104,
428,
9156,
1088,
284,
477,
286,
262,
4585,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2173,
11,
475,
655,
1719,
428,
2190,
6045,
355,
366,
40,
836,
470,
423,
257,
1988,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2331,
1545,
2505,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4043,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4043,
796,
362,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
4043,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4043,
815,
307,
1279,
26827,
11,
4556,
26827,
318,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4043,
796,
657,
13,
16,
611,
26827,
318,
6045,
2073,
949,
7,
15,
13,
16,
11,
26827,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4043,
796,
12178,
7,
17077,
8,
198,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
13269,
13,
10305,
42,
16922,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
21321,
1988,
1276,
307,
281,
493,
393,
12178,
1988,
13,
1391,
17077,
92,
1813,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2427,
1911,
18982,
7,
17077,
28,
17077,
4008,
628,
220,
220,
220,
923,
796,
640,
13,
2435,
3419,
198,
220,
220,
220,
954,
796,
657,
198,
220,
220,
220,
981,
357,
48678,
318,
6045,
8,
393,
357,
2435,
13,
2435,
3419,
1279,
923,
1343,
26827,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
954,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
7800,
954,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
10786,
33484,
1780,
4064,
82,
4201,
3256,
4043,
8,
198,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
17077,
8,
198,
220,
220,
220,
5298,
13269,
13,
26198,
48031,
7,
20500,
8,
628,
198,
4299,
651,
62,
8841,
62,
18982,
62,
13083,
7,
69,
16762,
62,
8841,
11,
1468,
62,
7635,
28,
17821,
2599,
198,
220,
220,
220,
37227,
38,
1039,
257,
1351,
286,
2672,
8251,
422,
257,
5794,
4731,
628,
220,
220,
220,
20906,
4632,
329,
32096,
2779,
62,
6978,
2956,
7278,
329,
2672,
8251,
11,
543,
198,
220,
220,
220,
779,
262,
1468,
3918,
4731,
33313,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
1468,
62,
7635,
25,
628,
220,
220,
220,
220,
220,
220,
220,
257,
796,
8798,
50,
8770,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
46996,
62,
8841,
4064,
257,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
257,
13,
13083,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8251,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
256,
287,
4731,
13,
8479,
1436,
22446,
29572,
7,
69,
16762,
62,
8841,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
256,
58,
16,
60,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8251,
13,
33295,
7,
83,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8251,
628,
198,
4299,
6971,
62,
24055,
9641,
7,
324,
3429,
11,
4580,
9641,
2599,
198,
220,
220,
220,
37227,
35,
2357,
3810,
611,
262,
1813,
21302,
6971,
262,
1813,
4580,
9641,
13,
628,
220,
220,
220,
47719,
262,
949,
290,
3509,
4580,
9641,
21635,
416,
262,
2139,
290,
8794,
198,
220,
220,
220,
284,
787,
1654,
326,
7559,
1084,
19841,
4580,
9641,
19841,
3509,
15506,
13,
628,
220,
220,
220,
1058,
17143,
21302,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4871,
25,
63,
93,
2539,
6440,
18439,
16,
13,
324,
3429,
13,
47307,
63,
4554,
13,
198,
220,
220,
220,
1058,
17143,
965,
4580,
9641,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10903,
7268,
262,
10348,
4580,
9641,
13,
198,
220,
220,
220,
1058,
7783,
82,
25,
6407,
611,
262,
2139,
6971,
262,
4580,
9641,
13,
198,
220,
220,
220,
1058,
81,
4906,
25,
20512,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
36123,
62,
7890,
796,
21302,
13,
1136,
62,
437,
4122,
62,
7890,
3419,
198,
220,
220,
220,
611,
357,
437,
4122,
62,
7890,
13,
1084,
62,
24055,
9641,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
36123,
62,
7890,
13,
9806,
62,
24055,
9641,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
7073,
13,
9641,
62,
23395,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
7890,
13,
1084,
62,
24055,
9641,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
7890,
13,
9806,
62,
24055,
9641,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4580,
9641,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
1441,
10352,
628,
198,
4299,
2298,
62,
24055,
9641,
7,
29891,
11,
2672,
2599,
198,
220,
220,
220,
37227,
3855,
257,
649,
4580,
9641,
611,
340,
318,
2440,
621,
6246,
338,
4277,
13,
628,
220,
220,
220,
1058,
17143,
6246,
25,
383,
6246,
284,
779,
329,
1642,
428,
2581,
13,
198,
220,
220,
220,
1058,
4906,
6246,
25,
1058,
4871,
25,
63,
93,
2539,
6440,
18439,
16,
13,
324,
3429,
13,
47307,
63,
198,
220,
220,
220,
1058,
17143,
2672,
25,
10628,
326,
318,
2672,
329,
281,
2223,
13,
198,
220,
220,
220,
1058,
4906,
2672,
25,
10903,
393,
46545,
393,
6045,
13,
198,
220,
220,
220,
1058,
7783,
25,
7559,
35827,
15506,
355,
257,
4731,
611,
262,
7559,
29891,
15506,
6,
82,
4277,
318,
1165,
1877,
11,
198,
220,
220,
220,
220,
220,
220,
220,
262,
7559,
29891,
15506,
6,
82,
4277,
4306,
13,
16409,
7559,
14202,
15506,
286,
1111,
198,
220,
220,
220,
220,
220,
220,
220,
389,
7559,
14202,
15506,
13,
198,
220,
220,
220,
1058,
430,
2696,
25,
5994,
12331,
611,
7559,
35827,
15506,
318,
12515,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
2672,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2672,
796,
7073,
13,
11265,
1096,
62,
9641,
62,
17618,
7,
35827,
8,
628,
220,
220,
220,
611,
6246,
13,
12286,
62,
24055,
9641,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4277,
796,
7073,
13,
11265,
1096,
62,
9641,
62,
17618,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6246,
13,
12286,
62,
24055,
9641,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2672,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
796,
4277,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
796,
357,
12286,
611,
7073,
13,
9641,
62,
15699,
7,
35827,
11,
4277,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
2672,
8,
628,
220,
220,
220,
611,
2672,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
7073,
13,
9641,
62,
1462,
62,
8841,
7,
35827,
8,
628,
198,
4299,
5415,
62,
15999,
62,
24055,
9641,
7,
324,
3429,
11,
5456,
62,
47033,
2599,
198,
220,
220,
220,
37227,
35,
2357,
34289,
68,
262,
5415,
4580,
9641,
4855,
416,
1111,
5456,
290,
4382,
13,
628,
220,
220,
220,
1058,
17143,
21302,
25,
1058,
4871,
25,
63,
93,
2539,
6440,
18439,
16,
13,
324,
3429,
13,
47307,
63,
4554,
13,
198,
220,
220,
220,
1058,
17143,
5456,
62,
47033,
25,
22246,
4580,
9641,
4855,
416,
262,
5456,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
7559,
14202,
15506,
11,
7559,
14202,
15506,
318,
4504,
13,
628,
220,
220,
220,
1058,
7783,
82,
25,
262,
5415,
4855,
4580,
9641,
355,
4731,
393,
7559,
14202,
15506,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
5456,
62,
47033,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
1303,
24550,
7,
28664,
1187,
333,
2599,
611,
356,
2314,
5004,
4855,
4580,
47178,
11,
2121,
736,
198,
220,
220,
220,
1303,
284,
262,
4277,
530,
13,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
7890,
796,
21302,
13,
1136,
62,
437,
4122,
62,
7890,
3419,
198,
220,
220,
220,
2845,
1994,
6440,
18439,
16,
13,
1069,
11755,
13,
67,
40821,
13,
35,
40821,
50015,
25,
198,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
7890,
796,
6045,
628,
220,
220,
220,
611,
36123,
62,
7890,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
796,
4808,
6404,
13,
40406,
62,
6404,
2667,
10786,
9654,
25558,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
43917,
10786,
34,
34574,
5004,
36123,
1366,
329,
2139,
4064,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21302,
13,
15271,
62,
4906,
393,
21302,
13,
15271,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
611,
407,
36123,
62,
7890,
13,
9806,
62,
24055,
9641,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
5456,
62,
9806,
796,
7073,
13,
11265,
1096,
62,
9641,
62,
17618,
7,
16366,
62,
47033,
8,
198,
220,
220,
220,
4382,
62,
9806,
796,
7073,
13,
11265,
1096,
62,
9641,
62,
17618,
7,
198,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
7890,
13,
9806,
62,
24055,
9641,
8,
628,
220,
220,
220,
611,
36123,
62,
7890,
13,
1084,
62,
24055,
9641,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4382,
62,
1084,
796,
7073,
13,
11265,
1096,
62,
9641,
62,
17618,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36123,
62,
7890,
13,
1084,
62,
24055,
9641,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5456,
62,
9806,
1279,
4382,
62,
1084,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
7,
28664,
1187,
333,
2599,
356,
743,
765,
284,
5298,
287,
428,
1339,
11,
475,
428,
7622,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
262,
1459,
4069,
16572,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
1255,
796,
949,
7,
16366,
62,
9806,
11,
4382,
62,
9806,
8,
198,
220,
220,
220,
1441,
7073,
13,
9641,
62,
1462,
62,
8841,
7,
20274,
8,
198
] | 2.798937 | 2,258 |
from django.contrib import admin
try:
from django.conf.urls import patterns, include
except ImportError: # DROP_WITH_DJANGO13 pragma: no cover
from django.conf.urls.defaults import patterns, include
# DROP_WITH_DJANGO16
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
)
# for shell & runserver: Django 1.3 and 1.4 don't need this, but 1.5 does
# it will only work if DEBUG is True
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns += staticfiles_urlpatterns()
| [
6738,
42625,
14208,
13,
3642,
822,
1330,
13169,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
42625,
14208,
13,
10414,
13,
6371,
82,
1330,
7572,
11,
2291,
198,
16341,
17267,
12331,
25,
220,
1303,
10560,
3185,
62,
54,
10554,
62,
35028,
1565,
11230,
1485,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
422,
42625,
14208,
13,
10414,
13,
6371,
82,
13,
12286,
82,
1330,
7572,
11,
2291,
628,
198,
2,
10560,
3185,
62,
54,
10554,
62,
35028,
1565,
11230,
1433,
198,
28482,
13,
2306,
375,
29392,
3419,
198,
198,
6371,
33279,
82,
796,
7572,
10786,
3256,
198,
220,
220,
220,
357,
81,
6,
61,
28482,
14,
3256,
2291,
7,
28482,
13,
15654,
13,
6371,
82,
36911,
198,
8,
628,
198,
2,
329,
7582,
1222,
1057,
15388,
25,
37770,
352,
13,
18,
290,
352,
13,
19,
836,
470,
761,
428,
11,
475,
352,
13,
20,
857,
198,
2,
340,
481,
691,
670,
611,
16959,
318,
6407,
198,
6738,
42625,
14208,
13,
3642,
822,
13,
12708,
16624,
13,
6371,
82,
1330,
9037,
16624,
62,
6371,
33279,
82,
198,
6371,
33279,
82,
15853,
9037,
16624,
62,
6371,
33279,
82,
3419,
198
] | 2.889474 | 190 |
#!/usr/bin/env python
#-*- encoding: utf8 -*-
import warnings
warnings.filterwarnings('ignore', category=RuntimeWarning)
from nltk.corpus import stopwords
from nltk.tokenize import word_tokenize
from nltk.stem.lancaster import LancasterStemmer
from nltk import classify, pos_tag, word_tokenize
from keras.preprocessing.text import Tokenizer
from keras.preprocessing.sequence import pad_sequences
from keras.utils import to_categorical
from keras.models import Sequential, load_model
from keras.layers import Dense, LSTM, Bidirectional, Embedding, Dropout
from keras.callbacks import ModelCheckpoint
from sklearn.model_selection import train_test_split
from keras.callbacks import EarlyStopping
from sklearn.metrics import classification_report, confusion_matrix
from mind_msgs.msg import EntitiesIndex, Reply, ReplyAnalyzed
import rospy
import rospkg
import os
import numpy as np
import pandas as pd
import nltk
import re
from sklearn.preprocessing import OneHotEncoder
import matplotlib.pyplot as plt
# def predictions(text):
# clean = re.sub(r'[^ a-z A-Z 0-9]', " ", text)
# test_word = word_tokenize(clean)
# test_word = [w.lower() for w in test_word]
# test_ls = word_tokenizer.texts_to_sequences(test_word)
# print(test_word)
# #Check for unknown words
# if [] in test_ls:
# test_ls = list(filter(None, test_ls))
# test_ls = np.array(test_ls).reshape(1, len(test_ls))
# x = padding_doc(test_ls, max_length)
# print(x.shape)
# # pred = model.predict_proba(x)
# pred = model.predict_classes(x)
# return pred
if __name__ == '__main__':
rospy.init_node('tag_generator', anonymous=False)
m = TagGenerator()
rospy.spin()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
12,
9,
12,
21004,
25,
3384,
69,
23,
532,
9,
12,
198,
198,
11748,
14601,
198,
40539,
654,
13,
24455,
40539,
654,
10786,
46430,
3256,
6536,
28,
41006,
20361,
8,
198,
198,
6738,
299,
2528,
74,
13,
10215,
79,
385,
1330,
2245,
10879,
198,
6738,
299,
2528,
74,
13,
30001,
1096,
1330,
1573,
62,
30001,
1096,
198,
6738,
299,
2528,
74,
13,
927,
13,
75,
1192,
1603,
1330,
38167,
1273,
368,
647,
198,
6738,
299,
2528,
74,
1330,
36509,
11,
1426,
62,
12985,
11,
1573,
62,
30001,
1096,
198,
198,
6738,
41927,
292,
13,
3866,
36948,
13,
5239,
1330,
29130,
7509,
198,
6738,
41927,
292,
13,
3866,
36948,
13,
43167,
1330,
14841,
62,
3107,
3007,
198,
6738,
41927,
292,
13,
26791,
1330,
284,
62,
66,
2397,
12409,
198,
6738,
41927,
292,
13,
27530,
1330,
24604,
1843,
11,
3440,
62,
19849,
198,
6738,
41927,
292,
13,
75,
6962,
1330,
360,
1072,
11,
406,
2257,
44,
11,
43484,
4154,
282,
11,
13302,
6048,
278,
11,
14258,
448,
198,
6738,
41927,
292,
13,
13345,
10146,
1330,
9104,
9787,
4122,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
4512,
62,
9288,
62,
35312,
198,
6738,
41927,
292,
13,
13345,
10146,
1330,
12556,
1273,
33307,
198,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
17923,
62,
13116,
11,
10802,
62,
6759,
8609,
198,
198,
6738,
2000,
62,
907,
14542,
13,
19662,
1330,
7232,
871,
15732,
11,
14883,
11,
14883,
37702,
8863,
198,
198,
11748,
686,
2777,
88,
198,
11748,
686,
2777,
10025,
198,
11748,
28686,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
299,
2528,
74,
198,
11748,
302,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
1881,
21352,
27195,
12342,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
198,
2,
825,
16277,
7,
5239,
2599,
198,
2,
220,
220,
220,
220,
3424,
796,
302,
13,
7266,
7,
81,
6,
58,
61,
257,
12,
89,
317,
12,
57,
657,
12,
24,
60,
3256,
366,
33172,
2420,
8,
198,
2,
220,
220,
220,
220,
1332,
62,
4775,
796,
1573,
62,
30001,
1096,
7,
27773,
8,
198,
2,
220,
220,
220,
220,
1332,
62,
4775,
796,
685,
86,
13,
21037,
3419,
329,
266,
287,
1332,
62,
4775,
60,
198,
2,
220,
220,
220,
220,
1332,
62,
7278,
796,
1573,
62,
30001,
7509,
13,
5239,
82,
62,
1462,
62,
3107,
3007,
7,
9288,
62,
4775,
8,
198,
2,
220,
220,
220,
220,
3601,
7,
9288,
62,
4775,
8,
198,
2,
220,
220,
220,
220,
1303,
9787,
329,
6439,
2456,
198,
2,
220,
220,
220,
220,
611,
17635,
287,
1332,
62,
7278,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
7278,
796,
1351,
7,
24455,
7,
14202,
11,
1332,
62,
7278,
4008,
198,
198,
2,
220,
220,
220,
220,
1332,
62,
7278,
796,
45941,
13,
18747,
7,
9288,
62,
7278,
737,
3447,
1758,
7,
16,
11,
18896,
7,
9288,
62,
7278,
4008,
198,
198,
2,
220,
220,
220,
220,
2124,
796,
24511,
62,
15390,
7,
9288,
62,
7278,
11,
3509,
62,
13664,
8,
198,
2,
220,
220,
220,
220,
3601,
7,
87,
13,
43358,
8,
198,
198,
2,
1303,
220,
220,
220,
220,
2747,
796,
2746,
13,
79,
17407,
62,
1676,
7012,
7,
87,
8,
198,
2,
220,
220,
220,
220,
2747,
796,
2746,
13,
79,
17407,
62,
37724,
7,
87,
8,
628,
198,
220,
220,
220,
1303,
1441,
2747,
220,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
686,
2777,
88,
13,
15003,
62,
17440,
10786,
12985,
62,
8612,
1352,
3256,
11614,
28,
25101,
8,
198,
220,
220,
220,
285,
796,
17467,
8645,
1352,
3419,
198,
220,
220,
220,
686,
2777,
88,
13,
39706,
3419,
198,
220,
220,
220,
220,
198
] | 2.681818 | 638 |
import logging, os
logging.basicConfig(level=os.environ.get("LOGLEVEL","INFO"))
log = logging.getLogger(__name__)
import base64, json, pickle, sys
from ._version import __version__
from .choice import Choice,TextInput,PointBuy,AssignAbstractGear
from .dietype import DieType
from .sheetmaker import SheetMaker
from .func import getModel
from .options import trees as TREES
class CharacterSheet:
""" A class to represent an EoS character sheet
***
Attributes
----------
filled: bool
Whether the character sheet has all its valid options
filled out in self.data. If False, cannot save or flush.
Set to True when character is loaded or when choices
are made through an Interface object.
options: list
List of all creation trees. Each item is a Choice
object.
data: list
List of all user selections for given character
choice_names: dict
Names of user selections to be displayed in upper
right box of character sheet
qualities: dict
Dictionary of quality names and values
skills: dict
Dictionary of skill names, levels, and linked
qualities
combat_stats: dict
Dictionary of Speed, AV, Toughness, and
Shooting / Fighting Dice
trivia: list
List of trained trivia
traits: list
List of traits
weapons: list
List of weapons
gear: list
money: int
_abstract_potions: dict
Tracks number of each level the character is
owed.
_abstract_weapons: list
List base weapons owned (before modifications).
_abstract_modifications: dict
Tracks number of each level the character is
owed.
_abstract_ammunition: dict
Tracks number of each level the character is
owed.
_abstract_grenades: dict
Tracks number of each level the character is
owed.
_abstract_kits: dict
Tracks number of each level the character is
owed.
Methods
-------
load: bool
Read pickled data from text file
save: bool
Write pickled data to text file
apply: bool
Apply a Choice to the character
sheet.
flush
output: bool
Print the character sheet to a
beautiful pdf file.
edit: bool
TODO
"""
def load(self,file_path) -> bool:
"""Read data from text file"""
file_path = file_path.strip("'").strip('"')
with open(file_path,'rb') as rf:
loadedPickle = pickle.loads(rf.read())
if self.__version__ != loadedPickle['__version__']:
log.warning(f"Loaded character created in version {loadedPickle['__version__']}, you are running version {self.__version__}. Potential compatibility issues.")
self.treePath = loadedPickle['treePath']
# load text input stuff
self.data.append(TextInput(name="Name",value = loadedPickle['name']))
self.data.append(TextInput(name="Motivation",value=loadedPickle['motivation']))
# run trees
treePath = self.treePath
try:
for t in TREES:
if t.name in ["Skills","Trivia","Name","Motivation","Assign Abstract Gear"]:
log.debug(f"Skipping {t.name}")
else:
treePath = autoTree(t,treePath)
except:
log.exception("Loaded tree path incompatible with options.trees")
return False
# load skills
skills = PointBuy(name="Skills",max_level=3,starting_level=0,categories=getModel('model_skills.json'),starting_points=5,points_per_level = {1:0,2:1,3:3},root_id=6)
skills.categories = loadedPickle['skills']
self.data.append(skills)
# load trivia
trivia = PointBuy(name="Trivia",max_level=1,starting_level=0,point_per_level = {0:0,1:1},categories=getModel('model_trivia.json'),root_id=9)
trivia.categories = loadedPickle['trivia']
self.data.append(trivia)
# load gear assignments
## TODO
assign_abstract_gear = AssignAbstractGear(name="Assign Abstract Gear")
assign_abstract_gear.assign(self)
assign_abstract_gear.gear += loadedPickle['assigned_gear']
for weapon_pickle in loadedPickle['weapon_pickles']:
assign_abstract_gear.weapons.append(pickle.loads(weapon_pickle))
self.data.append(assign_abstract_gear)
# flush and return
self.filled=True
self.flush()
return True
def save(self,file_path) ->bool:
"""Write data to text file"""
if not self.filled:
log.warning("Cannot save incomplete character")
return False
# create dictionary of values
outDict = {}
outDict['__version__'] = self.__version__
outDict['treePath'] = self.treePath
outDict['name'] = self.choice_names["Name"]
outDict['motivation'] = self.choice_names["Motivation"]
for node in self.data:
if node.name == "Skills":
# skills
outDict["skills"] = dict(node.categories)
elif node.name == "Trivia":
# trivia
outDict["trivia"]=dict(node.categories)
elif node.name == "Assign Abstract Gear":
# non-weapon gear
outDict["assigned_gear"]=node.gear
# modded weapons
outDict["weapon_pickles"]=[]
for weapon in self.weapons:
outDict["weapon_pickles"].append(pickle.dumps(weapon))
with open(file_path,'wb') as wf:
# wf.write('{')
# # version
# wf.write(f'"__version__":"{self.__version__}"')
# # treePath
# wf.write(',"treePath":')
# wf.write(json.dumps(self.treePath))
# # text fields
# wf.write(f',"name":"{self.choice_names["Name"]}"')
# wf.write(f',"motivation":"{self.choice_names["Motivation"]}"')
# for node in self.data:
# if node.name == "Skills":
# # skills
# wf.write(f',"skills":{json.dumps(node.categories)}')
# elif node.name == "Trivia":
# # trivia
# wf.write(f',"trivia":{json.dumps(node.categories)}')
# elif node.name == "Assign Abstract Gear":
# # non-weapon gear
# wf.write(f',"assigned_gear":{json.dumps(node.gear)}')
# # modded weapons
# wf.write(f',"weapon_pickles":["')
# wf.write('","'.join(["weapon_pickled="+str(base64.b64encode(pickle.dumps(weapon))) for weapon in self.weapons]))
# wf.write(f'"]')
# wf.write('}')
pickle.dump(outDict,wf)
return True
def apply(self,option)->bool:
"""Apply a choice to the character sheet"""
try:
option.implement(self)
except:
log.exception("Failed to apply")
return False
return True
def flush(self) -> bool:
"""Reset character and apply all current choices"""
if not self.filled:
log.warning("Character data incomplete, cannot flush")
return False
self.loadBlank()
for c in self.data:
self.apply(c)
return True
def output(self,pdf_path) -> bool:
"""Print the character sheet to a beautiful PDF file
***
Parameters
----------
pdf_path:str
Path to output file. Must end in .pdf extension.
If file exists, it will be overwritten.
"""
if not self.flush():
log.warning("Failed to flush, cannot output sheet")
return False
maker = SheetMaker()
try:
maker.read(self)
maker.make(pdf_path)
return True
except:
log.exception("Failed to output")
return False
def edit(self) -> bool:
"""TODO"""
return False | [
11748,
18931,
11,
28686,
198,
6404,
2667,
13,
35487,
16934,
7,
5715,
28,
418,
13,
268,
2268,
13,
1136,
7203,
25294,
2538,
18697,
2430,
10778,
48774,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
198,
11748,
2779,
2414,
11,
33918,
11,
2298,
293,
11,
25064,
198,
6738,
47540,
9641,
1330,
11593,
9641,
834,
198,
6738,
764,
25541,
1330,
18502,
11,
8206,
20560,
11,
12727,
14518,
11,
8021,
570,
23839,
38141,
198,
6738,
764,
67,
1905,
431,
1330,
6733,
6030,
198,
6738,
764,
21760,
10297,
1330,
21616,
48890,
198,
6738,
764,
20786,
1330,
651,
17633,
198,
6738,
764,
25811,
1330,
7150,
355,
43236,
1546,
198,
198,
4871,
15684,
3347,
316,
25,
198,
197,
37811,
317,
1398,
284,
2380,
281,
412,
34049,
2095,
9629,
198,
197,
198,
197,
8162,
628,
197,
29021,
198,
197,
35937,
198,
197,
20286,
25,
20512,
198,
197,
197,
15354,
262,
2095,
9629,
468,
477,
663,
4938,
3689,
198,
197,
197,
20286,
503,
287,
2116,
13,
7890,
13,
1002,
10352,
11,
2314,
3613,
393,
24773,
13,
198,
197,
197,
7248,
284,
6407,
618,
2095,
318,
9639,
393,
618,
7747,
198,
197,
197,
533,
925,
832,
281,
26491,
2134,
13,
198,
197,
25811,
25,
1351,
198,
197,
197,
8053,
286,
477,
6282,
7150,
13,
5501,
2378,
318,
257,
18502,
198,
197,
197,
15252,
13,
198,
197,
7890,
25,
1351,
198,
197,
197,
8053,
286,
477,
2836,
28224,
329,
1813,
2095,
198,
197,
25541,
62,
14933,
25,
8633,
198,
197,
197,
36690,
286,
2836,
28224,
284,
307,
9066,
287,
6727,
198,
197,
197,
3506,
3091,
286,
2095,
9629,
198,
197,
13255,
871,
25,
8633,
198,
197,
197,
35,
14188,
286,
3081,
3891,
290,
3815,
198,
197,
8135,
2171,
25,
8633,
198,
197,
197,
35,
14188,
286,
5032,
3891,
11,
2974,
11,
290,
6692,
198,
197,
197,
13255,
871,
198,
197,
39969,
62,
34242,
25,
8633,
198,
197,
197,
35,
14188,
286,
8729,
11,
14661,
11,
37223,
1108,
11,
290,
198,
197,
197,
2484,
12494,
1220,
19098,
34381,
198,
197,
28461,
8869,
25,
1351,
198,
197,
197,
8053,
286,
8776,
44782,
198,
197,
9535,
896,
25,
1351,
198,
197,
197,
8053,
286,
12796,
198,
197,
33999,
25,
1351,
198,
197,
197,
8053,
286,
3777,
198,
197,
31763,
25,
1351,
198,
197,
26316,
25,
493,
198,
197,
62,
397,
8709,
62,
13059,
507,
25,
8633,
198,
197,
197,
2898,
4595,
1271,
286,
1123,
1241,
262,
2095,
318,
198,
197,
197,
6972,
13,
198,
197,
62,
397,
8709,
62,
33999,
25,
1351,
198,
197,
197,
8053,
2779,
3777,
6898,
357,
19052,
19008,
737,
198,
197,
62,
397,
8709,
62,
4666,
6637,
25,
8633,
198,
197,
197,
2898,
4595,
1271,
286,
1123,
1241,
262,
2095,
318,
198,
197,
197,
6972,
13,
198,
197,
62,
397,
8709,
62,
321,
12640,
25,
8633,
198,
197,
197,
2898,
4595,
1271,
286,
1123,
1241,
262,
2095,
318,
198,
197,
197,
6972,
13,
198,
197,
62,
397,
8709,
62,
32762,
2367,
25,
8633,
198,
197,
197,
2898,
4595,
1271,
286,
1123,
1241,
262,
2095,
318,
198,
197,
197,
6972,
13,
198,
197,
62,
397,
8709,
62,
74,
896,
25,
8633,
198,
197,
197,
2898,
4595,
1271,
286,
1123,
1241,
262,
2095,
318,
198,
197,
197,
6972,
13,
628,
198,
197,
46202,
198,
197,
26866,
198,
197,
2220,
25,
20512,
198,
197,
197,
5569,
2298,
992,
1366,
422,
2420,
2393,
198,
197,
21928,
25,
20512,
198,
197,
197,
16594,
2298,
992,
1366,
284,
2420,
2393,
198,
197,
39014,
25,
20512,
198,
197,
197,
44836,
257,
18502,
284,
262,
2095,
198,
197,
197,
21760,
13,
198,
197,
25925,
198,
197,
22915,
25,
20512,
198,
197,
197,
18557,
262,
2095,
9629,
284,
257,
198,
197,
197,
40544,
4135,
37124,
2393,
13,
198,
197,
19312,
25,
20512,
198,
197,
197,
51,
3727,
46,
628,
197,
37811,
628,
197,
4299,
3440,
7,
944,
11,
7753,
62,
6978,
8,
4613,
20512,
25,
198,
197,
197,
37811,
5569,
1366,
422,
2420,
2393,
37811,
628,
197,
197,
7753,
62,
6978,
796,
2393,
62,
6978,
13,
36311,
7203,
6,
11074,
36311,
10786,
1,
11537,
198,
197,
197,
4480,
1280,
7,
7753,
62,
6978,
4032,
26145,
11537,
355,
374,
69,
25,
198,
197,
197,
197,
14578,
31686,
293,
796,
2298,
293,
13,
46030,
7,
41871,
13,
961,
28955,
198,
197,
197,
361,
2116,
13,
834,
9641,
834,
14512,
9639,
31686,
293,
17816,
834,
9641,
834,
6,
5974,
198,
197,
197,
197,
6404,
13,
43917,
7,
69,
1,
8912,
276,
2095,
2727,
287,
2196,
1391,
14578,
31686,
293,
17816,
834,
9641,
834,
20520,
5512,
345,
389,
2491,
2196,
1391,
944,
13,
834,
9641,
834,
27422,
32480,
17764,
2428,
19570,
198,
197,
197,
944,
13,
21048,
15235,
796,
9639,
31686,
293,
17816,
21048,
15235,
20520,
628,
197,
197,
2,
3440,
2420,
5128,
3404,
198,
197,
197,
944,
13,
7890,
13,
33295,
7,
8206,
20560,
7,
3672,
2625,
5376,
1600,
8367,
796,
9639,
31686,
293,
17816,
3672,
20520,
4008,
198,
197,
197,
944,
13,
7890,
13,
33295,
7,
8206,
20560,
7,
3672,
2625,
47733,
26939,
1600,
8367,
28,
14578,
31686,
293,
17816,
27926,
26939,
20520,
4008,
628,
197,
197,
2,
1057,
7150,
198,
197,
197,
21048,
15235,
796,
2116,
13,
21048,
15235,
198,
197,
197,
28311,
25,
198,
197,
197,
197,
1640,
256,
287,
43236,
1546,
25,
198,
197,
197,
197,
197,
361,
256,
13,
3672,
287,
14631,
15739,
2171,
2430,
23854,
2430,
5376,
2430,
47733,
26939,
2430,
8021,
570,
27741,
10740,
1,
5974,
198,
197,
197,
197,
197,
197,
6404,
13,
24442,
7,
69,
1,
50,
4106,
2105,
1391,
83,
13,
3672,
92,
4943,
198,
197,
197,
197,
197,
17772,
25,
198,
197,
197,
197,
197,
197,
21048,
15235,
796,
8295,
27660,
7,
83,
11,
21048,
15235,
8,
198,
197,
197,
16341,
25,
198,
197,
197,
197,
6404,
13,
1069,
4516,
7203,
8912,
276,
5509,
3108,
27294,
351,
3689,
13,
83,
6037,
4943,
198,
197,
197,
197,
7783,
10352,
628,
197,
197,
2,
3440,
4678,
198,
197,
197,
8135,
2171,
796,
6252,
14518,
7,
3672,
2625,
15739,
2171,
1600,
9806,
62,
5715,
28,
18,
11,
38690,
62,
5715,
28,
15,
11,
66,
26129,
28,
1136,
17633,
10786,
19849,
62,
8135,
2171,
13,
17752,
33809,
38690,
62,
13033,
28,
20,
11,
13033,
62,
525,
62,
5715,
796,
1391,
16,
25,
15,
11,
17,
25,
16,
11,
18,
25,
18,
5512,
15763,
62,
312,
28,
21,
8,
198,
197,
197,
8135,
2171,
13,
66,
26129,
796,
9639,
31686,
293,
17816,
8135,
2171,
20520,
198,
197,
197,
944,
13,
7890,
13,
33295,
7,
8135,
2171,
8,
628,
197,
197,
2,
3440,
44782,
198,
197,
197,
28461,
8869,
796,
6252,
14518,
7,
3672,
2625,
23854,
1600,
9806,
62,
5715,
28,
16,
11,
38690,
62,
5715,
28,
15,
11,
4122,
62,
525,
62,
5715,
796,
1391,
15,
25,
15,
11,
16,
25,
16,
5512,
66,
26129,
28,
1136,
17633,
10786,
19849,
62,
28461,
8869,
13,
17752,
33809,
15763,
62,
312,
28,
24,
8,
198,
197,
197,
28461,
8869,
13,
66,
26129,
796,
9639,
31686,
293,
17816,
28461,
8869,
20520,
198,
197,
197,
944,
13,
7890,
13,
33295,
7,
28461,
8869,
8,
628,
197,
197,
2,
3440,
7733,
25815,
198,
197,
197,
2235,
16926,
46,
198,
197,
197,
562,
570,
62,
397,
8709,
62,
31763,
796,
2195,
570,
23839,
38141,
7,
3672,
2625,
8021,
570,
27741,
10740,
4943,
198,
197,
197,
562,
570,
62,
397,
8709,
62,
31763,
13,
562,
570,
7,
944,
8,
198,
197,
197,
562,
570,
62,
397,
8709,
62,
31763,
13,
31763,
15853,
9639,
31686,
293,
17816,
562,
3916,
62,
31763,
20520,
198,
197,
197,
1640,
4282,
62,
27729,
293,
287,
9639,
31686,
293,
17816,
28741,
62,
27729,
829,
6,
5974,
198,
197,
197,
197,
562,
570,
62,
397,
8709,
62,
31763,
13,
33999,
13,
33295,
7,
27729,
293,
13,
46030,
7,
28741,
62,
27729,
293,
4008,
198,
197,
197,
944,
13,
7890,
13,
33295,
7,
562,
570,
62,
397,
8709,
62,
31763,
8,
628,
197,
197,
2,
24773,
290,
1441,
198,
197,
197,
944,
13,
20286,
28,
17821,
198,
197,
197,
944,
13,
25925,
3419,
198,
197,
197,
7783,
6407,
628,
197,
4299,
3613,
7,
944,
11,
7753,
62,
6978,
8,
4613,
30388,
25,
198,
197,
197,
37811,
16594,
1366,
284,
2420,
2393,
37811,
198,
197,
197,
361,
407,
2116,
13,
20286,
25,
198,
197,
197,
197,
6404,
13,
43917,
7203,
34,
34574,
3613,
17503,
2095,
4943,
198,
197,
197,
197,
7783,
10352,
198,
197,
197,
2,
2251,
22155,
286,
3815,
198,
197,
197,
448,
35,
713,
796,
23884,
198,
197,
197,
448,
35,
713,
17816,
834,
9641,
834,
20520,
796,
2116,
13,
834,
9641,
834,
198,
197,
197,
448,
35,
713,
17816,
21048,
15235,
20520,
796,
2116,
13,
21048,
15235,
198,
197,
197,
448,
35,
713,
17816,
3672,
20520,
796,
2116,
13,
25541,
62,
14933,
14692,
5376,
8973,
198,
197,
197,
448,
35,
713,
17816,
27926,
26939,
20520,
796,
2116,
13,
25541,
62,
14933,
14692,
47733,
26939,
8973,
198,
197,
197,
1640,
10139,
287,
2116,
13,
7890,
25,
198,
197,
197,
197,
361,
10139,
13,
3672,
6624,
366,
15739,
2171,
1298,
198,
197,
197,
197,
197,
2,
4678,
198,
197,
197,
197,
197,
448,
35,
713,
14692,
8135,
2171,
8973,
796,
8633,
7,
17440,
13,
66,
26129,
8,
198,
197,
197,
197,
417,
361,
10139,
13,
3672,
6624,
366,
23854,
1298,
198,
197,
197,
197,
197,
2,
44782,
198,
197,
197,
197,
197,
448,
35,
713,
14692,
28461,
8869,
8973,
28,
11600,
7,
17440,
13,
66,
26129,
8,
198,
197,
197,
197,
417,
361,
10139,
13,
3672,
6624,
366,
8021,
570,
27741,
10740,
1298,
198,
197,
197,
197,
197,
2,
1729,
12,
28741,
7733,
198,
197,
197,
197,
197,
448,
35,
713,
14692,
562,
3916,
62,
31763,
8973,
28,
17440,
13,
31763,
198,
197,
197,
197,
197,
2,
953,
9395,
3777,
198,
197,
197,
197,
197,
448,
35,
713,
14692,
28741,
62,
27729,
829,
8973,
28,
21737,
198,
197,
197,
197,
197,
1640,
4282,
287,
2116,
13,
33999,
25,
198,
197,
197,
197,
197,
197,
448,
35,
713,
14692,
28741,
62,
27729,
829,
1,
4083,
33295,
7,
27729,
293,
13,
67,
8142,
7,
28741,
4008,
198,
197,
197,
4480,
1280,
7,
7753,
62,
6978,
4032,
39346,
11537,
355,
266,
69,
25,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
10786,
90,
11537,
198,
197,
197,
197,
2,
1303,
2196,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
7,
69,
29653,
834,
9641,
834,
2404,
90,
944,
13,
834,
9641,
834,
36786,
11537,
198,
197,
197,
197,
2,
1303,
5509,
15235,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
10786,
553,
21048,
15235,
1298,
11537,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
7,
17752,
13,
67,
8142,
7,
944,
13,
21048,
15235,
4008,
198,
197,
197,
197,
2,
1303,
2420,
7032,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
7,
69,
40264,
3672,
2404,
90,
944,
13,
25541,
62,
14933,
14692,
5376,
8973,
36786,
11537,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
7,
69,
40264,
27926,
26939,
2404,
90,
944,
13,
25541,
62,
14933,
14692,
47733,
26939,
8973,
36786,
11537,
198,
197,
197,
197,
2,
329,
10139,
287,
2116,
13,
7890,
25,
198,
197,
197,
197,
2,
220,
197,
361,
10139,
13,
3672,
6624,
366,
15739,
2171,
1298,
198,
197,
197,
197,
2,
220,
197,
197,
2,
4678,
198,
197,
197,
197,
2,
220,
197,
197,
86,
69,
13,
13564,
7,
69,
40264,
8135,
2171,
1298,
90,
17752,
13,
67,
8142,
7,
17440,
13,
66,
26129,
38165,
11537,
198,
197,
197,
197,
2,
220,
197,
417,
361,
10139,
13,
3672,
6624,
366,
23854,
1298,
198,
197,
197,
197,
2,
220,
197,
197,
2,
44782,
198,
197,
197,
197,
2,
220,
197,
197,
86,
69,
13,
13564,
7,
69,
40264,
28461,
8869,
1298,
90,
17752,
13,
67,
8142,
7,
17440,
13,
66,
26129,
38165,
11537,
198,
197,
197,
197,
2,
220,
197,
417,
361,
10139,
13,
3672,
6624,
366,
8021,
570,
27741,
10740,
1298,
198,
197,
197,
197,
2,
220,
197,
197,
2,
1729,
12,
28741,
7733,
198,
197,
197,
197,
2,
220,
197,
197,
86,
69,
13,
13564,
7,
69,
40264,
562,
3916,
62,
31763,
1298,
90,
17752,
13,
67,
8142,
7,
17440,
13,
31763,
38165,
11537,
198,
197,
197,
197,
2,
220,
197,
197,
2,
953,
9395,
3777,
198,
197,
197,
197,
2,
220,
197,
197,
86,
69,
13,
13564,
7,
69,
40264,
28741,
62,
27729,
829,
26358,
11537,
198,
197,
197,
197,
2,
220,
197,
197,
86,
69,
13,
13564,
10786,
2430,
4458,
22179,
7,
14692,
28741,
62,
27729,
992,
2625,
10,
2536,
7,
8692,
2414,
13,
65,
2414,
268,
8189,
7,
27729,
293,
13,
67,
8142,
7,
28741,
22305,
329,
4282,
287,
2116,
13,
33999,
60,
4008,
198,
197,
197,
197,
2,
220,
197,
197,
86,
69,
13,
13564,
7,
69,
6,
8973,
11537,
198,
197,
197,
197,
2,
266,
69,
13,
13564,
10786,
92,
11537,
198,
197,
197,
197,
27729,
293,
13,
39455,
7,
448,
35,
713,
11,
86,
69,
8,
198,
197,
197,
7783,
6407,
628,
197,
4299,
4174,
7,
944,
11,
18076,
8,
3784,
30388,
25,
198,
197,
197,
37811,
44836,
257,
3572,
284,
262,
2095,
9629,
37811,
198,
197,
197,
28311,
25,
198,
197,
197,
197,
18076,
13,
320,
26908,
7,
944,
8,
198,
197,
197,
16341,
25,
198,
197,
197,
197,
6404,
13,
1069,
4516,
7203,
37,
6255,
284,
4174,
4943,
198,
197,
197,
197,
7783,
10352,
198,
197,
197,
7783,
6407,
628,
197,
4299,
24773,
7,
944,
8,
4613,
20512,
25,
198,
197,
197,
37811,
4965,
316,
2095,
290,
4174,
477,
1459,
7747,
37811,
198,
197,
197,
361,
407,
2116,
13,
20286,
25,
198,
197,
197,
197,
6404,
13,
43917,
7203,
27275,
1366,
17503,
11,
2314,
24773,
4943,
198,
197,
197,
197,
7783,
10352,
198,
197,
197,
944,
13,
2220,
3629,
962,
3419,
198,
197,
197,
1640,
269,
287,
2116,
13,
7890,
25,
198,
197,
197,
197,
944,
13,
39014,
7,
66,
8,
198,
197,
197,
7783,
6407,
628,
197,
4299,
5072,
7,
944,
11,
12315,
62,
6978,
8,
4613,
20512,
25,
198,
197,
197,
37811,
18557,
262,
2095,
9629,
284,
257,
4950,
12960,
2393,
628,
197,
197,
8162,
628,
197,
197,
48944,
198,
197,
197,
35937,
198,
197,
197,
12315,
62,
6978,
25,
2536,
198,
197,
197,
197,
15235,
284,
5072,
2393,
13,
12039,
886,
287,
764,
12315,
7552,
13,
198,
197,
197,
197,
1532,
2393,
7160,
11,
340,
481,
307,
6993,
9108,
13,
198,
197,
197,
37811,
198,
197,
197,
361,
407,
2116,
13,
25925,
33529,
198,
197,
197,
197,
6404,
13,
43917,
7203,
37,
6255,
284,
24773,
11,
2314,
5072,
9629,
4943,
198,
197,
197,
197,
7783,
10352,
198,
197,
197,
10297,
796,
21616,
48890,
3419,
198,
197,
197,
28311,
25,
198,
197,
197,
197,
10297,
13,
961,
7,
944,
8,
198,
197,
197,
197,
10297,
13,
15883,
7,
12315,
62,
6978,
8,
198,
197,
197,
197,
7783,
6407,
198,
197,
197,
16341,
25,
198,
197,
197,
197,
6404,
13,
1069,
4516,
7203,
37,
6255,
284,
5072,
4943,
198,
197,
197,
197,
7783,
10352,
628,
197,
4299,
4370,
7,
944,
8,
4613,
20512,
25,
198,
197,
197,
37811,
51,
3727,
46,
37811,
198,
197,
197,
7783,
10352
] | 2.688969 | 2,511 |
from pydantic import BaseModel, Field
from pydantic.networks import EmailStr
| [
6738,
279,
5173,
5109,
1330,
7308,
17633,
11,
7663,
198,
6738,
279,
5173,
5109,
13,
3262,
5225,
1330,
9570,
13290,
628
] | 3.714286 | 21 |
#!/usr/bin/python3
# python
import http.client
import httplib2
import os
import random
import sys
import time
import webbrowser
import threading
import pprint
# google
from googleapiclient.discovery import build
from googleapiclient.errors import HttpError
from googleapiclient.http import MediaFileUpload
from oauth2client.client import OAuth2WebServerFlow
from oauth2client.file import Storage
from oauth2client.tools import argparser, run_flow
| [
2,
48443,
14629,
14,
8800,
14,
29412,
18,
198,
198,
2,
21015,
198,
11748,
2638,
13,
16366,
198,
11748,
1841,
489,
571,
17,
198,
11748,
28686,
198,
11748,
4738,
198,
11748,
25064,
198,
11748,
640,
198,
11748,
3992,
40259,
198,
11748,
4704,
278,
198,
11748,
279,
4798,
198,
198,
2,
23645,
198,
6738,
23645,
499,
291,
75,
1153,
13,
67,
40821,
1330,
1382,
198,
6738,
23645,
499,
291,
75,
1153,
13,
48277,
1330,
367,
29281,
12331,
198,
6738,
23645,
499,
291,
75,
1153,
13,
4023,
1330,
6343,
8979,
41592,
198,
6738,
267,
18439,
17,
16366,
13,
16366,
1330,
440,
30515,
17,
13908,
10697,
37535,
198,
6738,
267,
18439,
17,
16366,
13,
7753,
1330,
20514,
198,
6738,
267,
18439,
17,
16366,
13,
31391,
1330,
1822,
48610,
11,
1057,
62,
11125,
628,
198
] | 3.442748 | 131 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# There's no good way in cosmos to create a tag
# based on output or to conditionally run a process
# This is a wrapper to run the umi utilities.
#
# Run a program (SeqPrep) for a directory in batches
# This is a helper script for Martin Aryee's
# scripts to demultiplex Illumina sequencing
# reads with sample specific and molecule
# specific tags.
# https://github.com/aryeelab/umi/wiki
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__author__ = 'Allison MacLeay'
import sys
import os
import argparse
import time
# -----------------------------------------
# Get bash command for specified
# file name prefix
# -----------------------------------------
# -----------------------------------------
# Return all unique file prefixes
# -----------------------------------------
# -----------------------------------------
# Delay completion of script until all
# files are written
# -----------------------------------------
# -----------------------------------------
# LSF utilities
# -----------------------------------------
# -----------------------------------------
# MAIN
# run a program (SeqPrep) for all files in a directory
# that have the same prefix
#-----------------------------------------
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description="Run command for removing adapter sequecnes in batches of similarly prefixed names.")
parser.add_argument('--dir', default='.', help='directory containing output of umi demultiplex')
parser.add_argument('--script', default='./SeqPrep',
help='SeqPrep absolute path. default is SeqPrep in current directory')
parser.add_argument('--a1', required=True, help='Adapter 1')
parser.add_argument('--a2', required=True, help='Adapter 2')
parser.add_argument('--out', default='tagout', help='directory to deposit output files')
parser.add_argument('--log', default='batch_log', help='directory to deposit bsub log files')
parser.add_argument('--bsub_off', action='store_true', help='turn bsub off to test on systems without lsf')
#parser.add_argument('--undet', action='store_false', help='include reads less than parameter set my min reads. Default will skip files named undetermined')
args = parser.parse_args()
p = {}
lsf_group = ''
lsf_group_cmd = ''
if hasattr(args, 'dir'):
p['path'] = args.dir
if hasattr(args, 'out'):
p['out'] = args.out
os.system('mkdir -p ' + args.out)
if hasattr(args, 'log'):
os.system('mkdir -p ' + args.log)
os.system('ls ' + p['path'] + ' >> ' + args.log + '/ls_inputdir.txt')
if hasattr(args, 'a1'):
p['a1'] = args.a1
if hasattr(args, 'a2'):
p['a2'] = args.a2
f = get_names(args.dir)
if len(f) < 1:
print "Error: No file prefixes were found in " + args.dir + "."
count_lsf = 0
if not args.bsub_off:
lsf_group = get_group_id("/demux")
lsf_group_cmd = ' -g ' + lsf_group
for tag in f:
if (tag.find('undetermined') > -1 ):
# skip undeterminded for now
cmd = 'echo skipping undetermined files'
elif (args.bsub_off):
cmd = get_cmd(tag, args.script, p)
else:
cmd = 'bsub -q medium -u am282 -o ' + os.path.join(args.log, 'lsf_out.log') + ' -e ' + os.path.join(
args.log, 'lsf_err.log') + lsf_group_cmd + ' ' + get_cmd(tag, args.script, p)
# Keep track of lsf job for listener
count_lsf = count_lsf + 1
print 'batch process running command:\n' + cmd
os.system(cmd)
if (count_lsf > 0):
if lsf_group != '':
check_done(lsf_group, count_lsf)
print 'batch_process done'
| [
2,
220,
27156,
27156,
27156,
15116,
198,
2,
1318,
338,
645,
922,
835,
287,
39385,
284,
2251,
257,
7621,
198,
2,
1912,
319,
5072,
393,
284,
4006,
453,
1057,
257,
1429,
198,
2,
770,
318,
257,
29908,
284,
1057,
262,
334,
11632,
20081,
13,
198,
2,
198,
2,
5660,
257,
1430,
357,
4653,
80,
37534,
8,
329,
257,
8619,
287,
37830,
198,
2,
770,
318,
257,
31904,
4226,
329,
5780,
39477,
1453,
338,
198,
2,
14750,
284,
1357,
586,
2480,
87,
39256,
1437,
32841,
198,
2,
9743,
351,
6291,
2176,
290,
27756,
198,
2,
2176,
15940,
13,
198,
2,
3740,
1378,
12567,
13,
785,
14,
560,
68,
417,
397,
14,
12994,
14,
15466,
220,
198,
2,
220,
27156,
27156,
27156,
15116,
198,
834,
9800,
834,
796,
705,
3237,
1653,
4100,
3123,
323,
6,
198,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
1822,
29572,
198,
11748,
640,
198,
198,
2,
20368,
45537,
198,
2,
3497,
27334,
3141,
329,
7368,
198,
2,
2393,
1438,
21231,
198,
2,
20368,
45537,
628,
198,
2,
20368,
45537,
198,
2,
8229,
477,
3748,
2393,
21231,
274,
198,
2,
20368,
45537,
628,
198,
2,
20368,
45537,
198,
2,
42698,
11939,
286,
4226,
1566,
477,
198,
2,
3696,
389,
3194,
198,
2,
20368,
45537,
628,
198,
2,
20368,
45537,
198,
2,
406,
20802,
20081,
198,
2,
20368,
45537,
628,
198,
198,
2,
20368,
45537,
198,
2,
197,
5673,
1268,
198,
2,
1057,
257,
1430,
357,
4653,
80,
37534,
8,
329,
477,
3696,
287,
257,
8619,
198,
2,
326,
423,
262,
976,
21231,
198,
2,
3880,
45537,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
198,
220,
220,
220,
220,
220,
220,
220,
6764,
2625,
10987,
3141,
329,
10829,
21302,
4726,
721,
2516,
287,
37830,
286,
12470,
7694,
2966,
3891,
19570,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
15908,
3256,
4277,
11639,
2637,
11,
1037,
11639,
34945,
7268,
5072,
286,
334,
11632,
1357,
586,
2480,
87,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
12048,
3256,
4277,
28,
4458,
14,
4653,
80,
37534,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
4653,
80,
37534,
4112,
3108,
13,
220,
4277,
318,
1001,
80,
37534,
287,
1459,
8619,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
64,
16,
3256,
2672,
28,
17821,
11,
1037,
11639,
47307,
352,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
64,
17,
3256,
2672,
28,
17821,
11,
1037,
11639,
47307,
362,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
448,
3256,
4277,
11639,
12985,
448,
3256,
1037,
11639,
34945,
284,
14667,
5072,
3696,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
6404,
3256,
4277,
11639,
43501,
62,
6404,
3256,
1037,
11639,
34945,
284,
14667,
275,
7266,
2604,
3696,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
1443,
549,
62,
2364,
3256,
2223,
11639,
8095,
62,
7942,
3256,
1037,
11639,
15344,
275,
7266,
572,
284,
1332,
319,
3341,
1231,
300,
28202,
11537,
198,
220,
220,
220,
1303,
48610,
13,
2860,
62,
49140,
10786,
438,
917,
316,
3256,
220,
2223,
11639,
8095,
62,
9562,
3256,
1037,
11639,
17256,
9743,
1342,
621,
11507,
900,
616,
949,
9743,
13,
220,
15161,
481,
14267,
3696,
3706,
3318,
23444,
11537,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
279,
796,
23884,
198,
220,
220,
220,
300,
28202,
62,
8094,
796,
10148,
198,
220,
220,
220,
300,
28202,
62,
8094,
62,
28758,
796,
10148,
198,
220,
220,
220,
611,
468,
35226,
7,
22046,
11,
705,
15908,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
279,
17816,
6978,
20520,
796,
26498,
13,
15908,
198,
220,
220,
220,
611,
468,
35226,
7,
22046,
11,
705,
448,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
279,
17816,
448,
20520,
796,
26498,
13,
448,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
10786,
28015,
15908,
532,
79,
705,
1343,
26498,
13,
448,
8,
198,
220,
220,
220,
611,
468,
35226,
7,
22046,
11,
705,
6404,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
10786,
28015,
15908,
532,
79,
705,
1343,
26498,
13,
6404,
8,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
10786,
7278,
705,
1343,
279,
17816,
6978,
20520,
1343,
705,
9609,
705,
1343,
26498,
13,
6404,
1343,
31051,
7278,
62,
15414,
15908,
13,
14116,
11537,
198,
220,
220,
220,
611,
468,
35226,
7,
22046,
11,
705,
64,
16,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
279,
17816,
64,
16,
20520,
796,
26498,
13,
64,
16,
198,
220,
220,
220,
611,
468,
35226,
7,
22046,
11,
705,
64,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
279,
17816,
64,
17,
20520,
796,
26498,
13,
64,
17,
198,
220,
220,
220,
277,
796,
651,
62,
14933,
7,
22046,
13,
15908,
8,
198,
220,
220,
220,
611,
18896,
7,
69,
8,
1279,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
12331,
25,
1400,
2393,
21231,
274,
547,
1043,
287,
366,
1343,
26498,
13,
15908,
1343,
366,
526,
198,
220,
220,
220,
954,
62,
7278,
69,
796,
657,
198,
220,
220,
220,
611,
407,
26498,
13,
1443,
549,
62,
2364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
300,
28202,
62,
8094,
796,
651,
62,
8094,
62,
312,
7203,
14,
9536,
2821,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
300,
28202,
62,
8094,
62,
28758,
796,
705,
532,
70,
705,
1343,
300,
28202,
62,
8094,
198,
220,
220,
220,
329,
7621,
287,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
12985,
13,
19796,
10786,
917,
23444,
11537,
1875,
532,
16,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
14267,
3318,
2357,
14543,
329,
783,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23991,
796,
705,
30328,
31017,
3318,
23444,
3696,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
357,
22046,
13,
1443,
549,
62,
2364,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23991,
796,
651,
62,
28758,
7,
12985,
11,
26498,
13,
12048,
11,
279,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23991,
796,
705,
1443,
549,
532,
80,
7090,
532,
84,
716,
32568,
532,
78,
705,
1343,
28686,
13,
6978,
13,
22179,
7,
22046,
13,
6404,
11,
705,
7278,
69,
62,
448,
13,
6404,
11537,
1343,
705,
532,
68,
705,
1343,
28686,
13,
6978,
13,
22179,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
6404,
11,
705,
7278,
69,
62,
8056,
13,
6404,
11537,
1343,
300,
28202,
62,
8094,
62,
28758,
1343,
705,
705,
1343,
651,
62,
28758,
7,
12985,
11,
26498,
13,
12048,
11,
279,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9175,
2610,
286,
300,
28202,
1693,
329,
24783,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
954,
62,
7278,
69,
796,
954,
62,
7278,
69,
1343,
352,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
43501,
1429,
2491,
3141,
7479,
77,
6,
1343,
23991,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
7,
28758,
8,
628,
220,
220,
220,
611,
357,
9127,
62,
7278,
69,
1875,
657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
300,
28202,
62,
8094,
14512,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
28060,
7,
7278,
69,
62,
8094,
11,
954,
62,
7278,
69,
8,
198,
220,
220,
220,
3601,
705,
43501,
62,
14681,
1760,
6,
198,
197,
197,
197,
198
] | 2.829993 | 1,347 |
import os
from time import sleep
sleep(0.5)
targets=os.listdir('./')
targets.remove(file_name())
# remove __init__.py
if('__init__.py' in targets):
targets.remove('__init__.py')
# remove everything that isn't a python file
for i in list(targets):
if('.py' != i[-3:]):
targets.remove(i)
with open('./__init__.py','w') as f:
f.write('# this file makes all functions in this directory available as a package.\n\n')
count = len(targets)*1.0
while(len(targets)):
sleep(0.1)
i = targets.pop(0)
print('{:>3}% - {}'.format(
to_pct((count-len(targets)),count),
i))
f.write('from %s import *\n'%(i[:-3]))
print('')
print('Done!')
| [
11748,
28686,
198,
6738,
640,
1330,
3993,
198,
198,
42832,
7,
15,
13,
20,
8,
198,
198,
83,
853,
1039,
28,
418,
13,
4868,
15908,
7,
4458,
14,
11537,
198,
198,
83,
853,
1039,
13,
28956,
7,
7753,
62,
3672,
28955,
198,
198,
2,
4781,
11593,
15003,
834,
13,
9078,
198,
361,
10786,
834,
15003,
834,
13,
9078,
6,
287,
6670,
2599,
198,
197,
83,
853,
1039,
13,
28956,
10786,
834,
15003,
834,
13,
9078,
11537,
198,
198,
2,
4781,
2279,
326,
2125,
470,
257,
21015,
2393,
198,
1640,
1312,
287,
1351,
7,
83,
853,
1039,
2599,
198,
197,
361,
7,
4458,
9078,
6,
14512,
1312,
58,
12,
18,
47715,
2599,
198,
197,
197,
83,
853,
1039,
13,
28956,
7,
72,
8,
198,
198,
4480,
1280,
7,
4458,
14,
834,
15003,
834,
13,
9078,
41707,
86,
11537,
355,
277,
25,
198,
197,
69,
13,
13564,
10786,
2,
428,
2393,
1838,
477,
5499,
287,
428,
8619,
1695,
355,
257,
5301,
13,
59,
77,
59,
77,
11537,
198,
197,
9127,
796,
18896,
7,
83,
853,
1039,
27493,
16,
13,
15,
198,
197,
4514,
7,
11925,
7,
83,
853,
1039,
8,
2599,
198,
197,
197,
42832,
7,
15,
13,
16,
8,
198,
197,
197,
72,
796,
6670,
13,
12924,
7,
15,
8,
198,
197,
197,
4798,
10786,
90,
25,
29,
18,
92,
4,
532,
23884,
4458,
18982,
7,
198,
197,
197,
197,
1462,
62,
79,
310,
19510,
9127,
12,
11925,
7,
83,
853,
1039,
36911,
9127,
828,
220,
198,
197,
197,
197,
72,
4008,
198,
197,
197,
69,
13,
13564,
10786,
6738,
4064,
82,
1330,
1635,
59,
77,
6,
4,
7,
72,
58,
21912,
18,
60,
4008,
198,
198,
4798,
7,
7061,
8,
198,
4798,
10786,
45677,
0,
11537,
198
] | 2.261324 | 287 |
"""Docstring."""
from typing import Optional, Union
from .sub import subfoo # NOQA
class Baz:
"""Baz test class."""
bute = 1
class Foo:
"""Foo test class."""
attr: str = 'test'
type_attr = Baz
def meth(self) -> Baz:
"""Test method."""
def selfref(self) -> "Foo":
"""Return self."""
def __call__(self) -> Baz:
"""Test call."""
def bar() -> Foo:
"""bar test function."""
def optional() -> Optional[Foo]:
"""Return optional type."""
def optional_manual() -> Union[None, Foo]:
"""Return manually constructed optional type."""
def optional_counter() -> Union[Foo, Baz]:
"""Failing case for incorrect optional type handling."""
def compile():
"""Shadows built in compile function."""
class Child(Foo):
"""Foo child class."""
| [
37811,
23579,
8841,
526,
15931,
198,
6738,
19720,
1330,
32233,
11,
4479,
198,
198,
6738,
764,
7266,
1330,
850,
21943,
220,
1303,
8005,
48,
32,
628,
198,
4871,
47099,
25,
198,
220,
220,
220,
37227,
33,
1031,
1332,
1398,
526,
15931,
628,
220,
220,
220,
475,
68,
796,
352,
628,
198,
4871,
36080,
25,
198,
220,
220,
220,
37227,
37,
2238,
1332,
1398,
526,
15931,
628,
220,
220,
220,
708,
81,
25,
965,
796,
705,
9288,
6,
198,
220,
220,
220,
2099,
62,
35226,
796,
47099,
628,
220,
220,
220,
825,
11248,
7,
944,
8,
4613,
47099,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
2446,
526,
15931,
628,
220,
220,
220,
825,
2116,
5420,
7,
944,
8,
4613,
366,
37,
2238,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
2116,
526,
15931,
628,
220,
220,
220,
825,
11593,
13345,
834,
7,
944,
8,
4613,
47099,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
869,
526,
15931,
628,
198,
4299,
2318,
3419,
4613,
36080,
25,
198,
220,
220,
220,
37227,
5657,
1332,
2163,
526,
15931,
628,
198,
4299,
11902,
3419,
4613,
32233,
58,
37,
2238,
5974,
198,
220,
220,
220,
37227,
13615,
11902,
2099,
526,
15931,
628,
198,
4299,
11902,
62,
805,
723,
3419,
4613,
4479,
58,
14202,
11,
36080,
5974,
198,
220,
220,
220,
37227,
13615,
14500,
12006,
11902,
2099,
526,
15931,
628,
198,
4299,
11902,
62,
24588,
3419,
4613,
4479,
58,
37,
2238,
11,
47099,
5974,
198,
220,
220,
220,
37227,
37,
11608,
1339,
329,
11491,
11902,
2099,
9041,
526,
15931,
628,
198,
4299,
17632,
33529,
198,
220,
220,
220,
37227,
2484,
9797,
3170,
287,
17632,
2163,
526,
15931,
628,
198,
4871,
5932,
7,
37,
2238,
2599,
198,
220,
220,
220,
37227,
37,
2238,
1200,
1398,
526,
15931,
198
] | 2.74 | 300 |
import secrets
import random
import string
| [
11748,
13141,
198,
11748,
4738,
198,
11748,
4731,
628
] | 4.888889 | 9 |
# This Python file uses the following encoding: utf-8
import hashlib
from typing import List
from aiogram.types import InlineQuery, \
InputTextMessageContent, InlineQueryResultArticle
from core import dp, bot, lazy_get_text, cb as bank_api, crypto_price, Button
@dp.inline_handler()
async def inline_echo(inline_query: InlineQuery) -> InlineQueryResultArticle:
"""
:param inline_query:
:return:
"""
text = inline_query.query
res = await bank_api.build_list_coin()
crypto = await crypto_price.coin_list()
result_id: str = hashlib.sha256(text.encode()).hexdigest()
result_list: List[InlineQueryResultArticle] = []
if text in res.keys():
input_content = InputTextMessageContent(lazy_get_text(
"""название {name}
стоимость {name} {valvue}₽
дата {date}
""").format(name=text, valvue=res[text]["valvue"],
date=bank_api.date))
item = InlineQueryResultArticle(
id=result_id,
title=lazy_get_text('{name} {valvue}').format(name=text, valvue=res[text]["valvue"]),
input_message_content=input_content
)
elif text in crypto:
id_coin = crypto[text]["id"]
price = (await crypto_price.simple_price(ids=id_coin, vs_currestring="rub"))[id_coin]["rub"]
input_content = InputTextMessageContent(
lazy_get_text("""название {name}\nстоимость {name} {valvue}₽\nдата {date} """
).format(name=text, valvue=price, date=bank_api.date)
)
item = InlineQueryResultArticle(
id=result_id,
title=lazy_get_text('{name} {price}').format(name=text, price=price),
input_message_content=input_content
)
elif text == "rub":
id_coin = crypto["btc"]["id"]
price = (await crypto_price.simple_price(ids=id_coin, vs_currestring="rub"))[id_coin]["rub"]
input_content = InputTextMessageContent(
lazy_get_text("""название {name}\nстоимость 1 {name} \n{btc} btc\n$ {usd} \nдата {date} """
).format(name=text, btc=(1 / price), usd=(1 / res["USD"]["valvue"]), date=bank_api.date)
)
item = InlineQueryResultArticle(
id=result_id,
title=lazy_get_text('{name} {price} btc ').format(name=text, price=(1 / price)),
input_message_content=input_content
)
else:
input_content = InputTextMessageContent(
lazy_get_text("нет такой валюты\nдоступные {name}").format(name=list(res.keys())))
result_id: str = hashlib.md5(text.encode()).hexdigest()
item = InlineQueryResultArticle(
id=result_id,
title=lazy_get_text("нет такой валюты"),
input_message_content=input_content
)
result_list.append(item)
return await bot.answer_inline_query(inline_query.id, results=result_list, cache_time=1)
| [
2,
770,
11361,
2393,
3544,
262,
1708,
21004,
25,
3384,
69,
12,
23,
198,
11748,
12234,
8019,
198,
6738,
19720,
1330,
7343,
198,
198,
6738,
257,
72,
21857,
13,
19199,
1330,
554,
1370,
20746,
11,
3467,
198,
220,
220,
220,
23412,
8206,
12837,
19746,
11,
554,
1370,
20746,
23004,
14906,
198,
198,
6738,
4755,
1330,
288,
79,
11,
10214,
11,
16931,
62,
1136,
62,
5239,
11,
269,
65,
355,
3331,
62,
15042,
11,
21473,
62,
20888,
11,
20969,
628,
198,
31,
26059,
13,
45145,
62,
30281,
3419,
198,
292,
13361,
825,
26098,
62,
30328,
7,
45145,
62,
22766,
25,
554,
1370,
20746,
8,
4613,
554,
1370,
20746,
23004,
14906,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1058,
17143,
26098,
62,
22766,
25,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2420,
796,
26098,
62,
22766,
13,
22766,
198,
220,
220,
220,
581,
796,
25507,
3331,
62,
15042,
13,
11249,
62,
4868,
62,
3630,
3419,
198,
220,
220,
220,
21473,
796,
25507,
21473,
62,
20888,
13,
3630,
62,
4868,
3419,
198,
220,
220,
220,
1255,
62,
312,
25,
965,
796,
12234,
8019,
13,
26270,
11645,
7,
5239,
13,
268,
8189,
3419,
737,
33095,
12894,
395,
3419,
198,
220,
220,
220,
1255,
62,
4868,
25,
7343,
58,
818,
1370,
20746,
23004,
14906,
60,
796,
17635,
198,
220,
220,
220,
611,
2420,
287,
581,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11299,
796,
23412,
8206,
12837,
19746,
7,
75,
12582,
62,
1136,
62,
5239,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
22177,
16142,
140,
115,
38857,
16142,
22177,
18849,
16843,
1391,
3672,
92,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
21727,
20375,
15166,
18849,
43108,
15166,
21727,
20375,
45367,
220,
1391,
3672,
92,
220,
1391,
2100,
85,
518,
92,
158,
224,
121,
198,
220,
220,
220,
220,
220,
220,
220,
12466,
112,
16142,
20375,
16142,
1391,
4475,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
13538,
11074,
18982,
7,
3672,
28,
5239,
11,
1188,
85,
518,
28,
411,
58,
5239,
7131,
1,
2100,
85,
518,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
28,
17796,
62,
15042,
13,
4475,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
554,
1370,
20746,
23004,
14906,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
28,
20274,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
28,
75,
12582,
62,
1136,
62,
5239,
10786,
90,
3672,
92,
220,
1391,
2100,
85,
518,
92,
27691,
18982,
7,
3672,
28,
5239,
11,
1188,
85,
518,
28,
411,
58,
5239,
7131,
1,
2100,
85,
518,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
20500,
62,
11299,
28,
15414,
62,
11299,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
1288,
361,
2420,
287,
21473,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
62,
3630,
796,
21473,
58,
5239,
7131,
1,
312,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
2756,
796,
357,
707,
4548,
21473,
62,
20888,
13,
36439,
62,
20888,
7,
2340,
28,
312,
62,
3630,
11,
3691,
62,
22019,
2118,
1806,
2625,
25089,
48774,
58,
312,
62,
3630,
7131,
1,
25089,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11299,
796,
23412,
8206,
12837,
19746,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16931,
62,
1136,
62,
5239,
7203,
15931,
22177,
16142,
140,
115,
38857,
16142,
22177,
18849,
16843,
1391,
3672,
32239,
77,
21727,
20375,
15166,
18849,
43108,
15166,
21727,
20375,
45367,
1391,
3672,
92,
220,
1391,
2100,
85,
518,
92,
158,
224,
121,
59,
77,
43666,
16142,
20375,
16142,
1391,
4475,
92,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
18982,
7,
3672,
28,
5239,
11,
1188,
85,
518,
28,
20888,
11,
3128,
28,
17796,
62,
15042,
13,
4475,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
554,
1370,
20746,
23004,
14906,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
28,
20274,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
28,
75,
12582,
62,
1136,
62,
5239,
10786,
90,
3672,
92,
220,
1391,
20888,
92,
27691,
18982,
7,
3672,
28,
5239,
11,
2756,
28,
20888,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
20500,
62,
11299,
28,
15414,
62,
11299,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
1288,
361,
2420,
6624,
366,
25089,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
62,
3630,
796,
21473,
14692,
18347,
66,
1,
7131,
1,
312,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
2756,
796,
357,
707,
4548,
21473,
62,
20888,
13,
36439,
62,
20888,
7,
2340,
28,
312,
62,
3630,
11,
3691,
62,
22019,
2118,
1806,
2625,
25089,
48774,
58,
312,
62,
3630,
7131,
1,
25089,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11299,
796,
23412,
8206,
12837,
19746,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16931,
62,
1136,
62,
5239,
7203,
15931,
22177,
16142,
140,
115,
38857,
16142,
22177,
18849,
16843,
1391,
3672,
32239,
77,
21727,
20375,
15166,
18849,
43108,
15166,
21727,
20375,
45367,
352,
1391,
3672,
92,
3467,
77,
90,
18347,
66,
92,
275,
23047,
59,
77,
3,
1391,
385,
67,
92,
3467,
77,
43666,
16142,
20375,
16142,
1391,
4475,
92,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6739,
18982,
7,
3672,
28,
5239,
11,
275,
23047,
16193,
16,
1220,
2756,
828,
514,
67,
16193,
16,
1220,
581,
14692,
29072,
1,
7131,
1,
2100,
85,
518,
8973,
828,
3128,
28,
17796,
62,
15042,
13,
4475,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
554,
1370,
20746,
23004,
14906,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
28,
20274,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
28,
75,
12582,
62,
1136,
62,
5239,
10786,
90,
3672,
92,
1391,
20888,
92,
275,
23047,
705,
737,
18982,
7,
3672,
28,
5239,
11,
2756,
16193,
16,
1220,
2756,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
20500,
62,
11299,
28,
15414,
62,
11299,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
11299,
796,
23412,
8206,
12837,
19746,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16931,
62,
1136,
62,
5239,
7203,
22177,
16843,
20375,
220,
20375,
16142,
31583,
25443,
117,
12466,
110,
16142,
30143,
141,
236,
20375,
45035,
59,
77,
43666,
15166,
21727,
20375,
35072,
140,
123,
22177,
45035,
16843,
1391,
3672,
92,
11074,
18982,
7,
3672,
28,
4868,
7,
411,
13,
13083,
3419,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
62,
312,
25,
965,
796,
12234,
8019,
13,
9132,
20,
7,
5239,
13,
268,
8189,
3419,
737,
33095,
12894,
395,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
554,
1370,
20746,
23004,
14906,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
28,
20274,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
28,
75,
12582,
62,
1136,
62,
5239,
7203,
22177,
16843,
20375,
220,
20375,
16142,
31583,
25443,
117,
12466,
110,
16142,
30143,
141,
236,
20375,
45035,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
20500,
62,
11299,
28,
15414,
62,
11299,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
1255,
62,
4868,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
1441,
25507,
10214,
13,
41484,
62,
45145,
62,
22766,
7,
45145,
62,
22766,
13,
312,
11,
2482,
28,
20274,
62,
4868,
11,
12940,
62,
2435,
28,
16,
8,
198
] | 2.036177 | 1,465 |
# coding: utf-8
"""
Spinnaker API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import spinnaker-python-client
from spinnaker-python-client.api.cluster_controller_api import ClusterControllerApi # noqa: E501
from spinnaker-python-client.rest import ApiException
class TestClusterControllerApi(unittest.TestCase):
"""ClusterControllerApi unit test stubs"""
def test_get_cluster_load_balancers_using_get(self):
"""Test case for get_cluster_load_balancers_using_get
Retrieve a cluster's loadbalancers # noqa: E501
"""
pass
def test_get_clusters_using_get(self):
"""Test case for get_clusters_using_get
Retrieve a cluster's details # noqa: E501
"""
pass
def test_get_clusters_using_get1(self):
"""Test case for get_clusters_using_get1
Retrieve a list of clusters for an account # noqa: E501
"""
pass
def test_get_clusters_using_get2(self):
"""Test case for get_clusters_using_get2
Retrieve a list of cluster names for an application, grouped by account # noqa: E501
"""
pass
def test_get_scaling_activities_using_get(self):
"""Test case for get_scaling_activities_using_get
Retrieve a list of scaling activities for a server group # noqa: E501
"""
pass
def test_get_server_groups_using_get(self):
"""Test case for get_server_groups_using_get
Retrieve a server group's details # noqa: E501
"""
pass
def test_get_server_groups_using_get1(self):
"""Test case for get_server_groups_using_get1
Retrieve a list of server groups for a cluster # noqa: E501
"""
pass
def test_get_target_server_group_using_get(self):
"""Test case for get_target_server_group_using_get
Retrieve a server group that matches a target coordinate (e.g., newest, ancestor) relative to a cluster # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()
| [
2,
19617,
25,
3384,
69,
12,
23,
198,
198,
37811,
198,
220,
220,
220,
1338,
3732,
3110,
7824,
628,
220,
220,
220,
1400,
6764,
2810,
357,
27568,
416,
2451,
7928,
6127,
5235,
3740,
1378,
12567,
13,
785,
14,
2032,
7928,
12,
15042,
14,
2032,
7928,
12,
8189,
5235,
8,
220,
1303,
645,
20402,
25,
412,
33548,
628,
220,
220,
220,
4946,
17614,
1020,
2196,
25,
352,
13,
15,
13,
15,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2980,
515,
416,
25,
3740,
1378,
12567,
13,
785,
14,
2032,
7928,
12,
15042,
14,
2032,
7928,
12,
8189,
5235,
13,
18300,
198,
37811,
628,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
11748,
555,
715,
395,
198,
198,
11748,
599,
3732,
3110,
12,
29412,
12,
16366,
198,
6738,
599,
3732,
3110,
12,
29412,
12,
16366,
13,
15042,
13,
565,
5819,
62,
36500,
62,
15042,
1330,
38279,
22130,
32,
14415,
220,
1303,
645,
20402,
25,
412,
33548,
198,
6738,
599,
3732,
3110,
12,
29412,
12,
16366,
13,
2118,
1330,
5949,
72,
16922,
628,
198,
4871,
6208,
2601,
5819,
22130,
32,
14415,
7,
403,
715,
395,
13,
14402,
20448,
2599,
198,
220,
220,
220,
37227,
2601,
5819,
22130,
32,
14415,
4326,
1332,
17071,
82,
37811,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
565,
5819,
62,
2220,
62,
6893,
20811,
62,
3500,
62,
1136,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
565,
5819,
62,
2220,
62,
6893,
20811,
62,
3500,
62,
1136,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
13946,
338,
3440,
6893,
20811,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
565,
13654,
62,
3500,
62,
1136,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
565,
13654,
62,
3500,
62,
1136,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
13946,
338,
3307,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
565,
13654,
62,
3500,
62,
1136,
16,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
565,
13654,
62,
3500,
62,
1136,
16,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
1351,
286,
23163,
329,
281,
1848,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
565,
13654,
62,
3500,
62,
1136,
17,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
565,
13654,
62,
3500,
62,
1136,
17,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
1351,
286,
13946,
3891,
329,
281,
3586,
11,
32824,
416,
1848,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
1416,
4272,
62,
15791,
871,
62,
3500,
62,
1136,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
1416,
4272,
62,
15791,
871,
62,
3500,
62,
1136,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
1351,
286,
20796,
4568,
329,
257,
4382,
1448,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
15388,
62,
24432,
62,
3500,
62,
1136,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
15388,
62,
24432,
62,
3500,
62,
1136,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
4382,
1448,
338,
3307,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
15388,
62,
24432,
62,
3500,
62,
1136,
16,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
15388,
62,
24432,
62,
3500,
62,
1136,
16,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
1351,
286,
4382,
2628,
329,
257,
13946,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
1332,
62,
1136,
62,
16793,
62,
15388,
62,
8094,
62,
3500,
62,
1136,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
14402,
1339,
329,
651,
62,
16793,
62,
15388,
62,
8094,
62,
3500,
62,
1136,
628,
220,
220,
220,
220,
220,
220,
220,
4990,
30227,
257,
4382,
1448,
326,
7466,
257,
2496,
20435,
357,
68,
13,
70,
1539,
15530,
11,
31836,
8,
3585,
284,
257,
13946,
220,
1303,
645,
20402,
25,
412,
33548,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.507088 | 917 |
from abc import ABCMeta, abstractproperty, abstractmethod
import numpy as np
import pandas as pd
from sklearn.preprocessing import LabelEncoder, MinMaxScaler
from sklearn.model_selection import train_test_split
from ..dataset.utils import _get_nunique
class BaseParadigm(metaclass=ABCMeta):
"""
Base Paradigm.
"""
@abstractproperty
def scoring(self):
'''
Property that defines scoring metric (e.g. ROC-AUC or accuracy
or f-score), given as a sklearn-compatible string or a compatible
sklearn scorer.
'''
pass
@abstractproperty
def datasets(self):
'''Property that define the list of compatible datasets
'''
pass
@abstractmethod
def is_valid(self, dataset):
"""Verify the dataset is compatible with the paradigm.
This method is called to verify dataset is compatible with the
paradigm.
This method should raise an error if the dataset is not compatible
with the paradigm. This is for example the case if the
dataset is an Movielens dataset for DIN paradigm, or if the
dataset does not contain any of the required feature.
Parameters
----------
dataset : dataset instance
The dataset to verify.
"""
pass
@abstractmethod
def make_feature_cols(self, dataset, embedding_params):
'''Return deepctr.feature_column.
Parameters
---------
dataset : dataset instance.
a dataset instance.
embedding_params : dict
dict containing embedding params for create feature colmns
i.e. {embedding_dim: 8}
Returns
------
dnn_features : list
list of feature_column instance for dnn inputs.
linear_features : list
list of feature_column instance for linear inputs.
'''
pass
def _prepare_process(self, dataset):
"""Prepare processing of raw files
This function allows to set parameter of the paradigm class prior to
the preprocessing (process_raw). Does nothing by default and could be
overloaded if needed.
Parameters
----------
dataset : dataset instance
The dataset corresponding to the raw file. mainly use to access
dataset specific information.
"""
pass
def _data_munging(self, raw, dataset):
"""
Fill in missing values.
Parameters
----------
raw: DataFrame instance
the raw data.
dataset : dataset instance
The dataset corresponding to the raw file. mainly use to access
dataset specific information.
Returns
-------
metadata: pd.DataFrame
A dataframe containing the metadata.
"""
# fill nan
raw = self._default_filling_rule(raw, dataset)
return raw
def _feature_transform(self, raw, dataset):
"""
Label encoding for sparse features, and do simple transformation for
dense features
"""
for feat in dataset.sparse_features:
lbe = LabelEncoder()
raw[feat] = lbe.fit_transform(raw[feat])
dataset.nunique = _get_nunique(dataset, raw)
mms = MinMaxScaler(feature_range=(0, 1))
raw[dataset.dense_features] = mms.fit_transform(
raw[dataset.dense_features])
return raw
def _process_raw(self, raw, dataset):
"""
This function apply the preprocessing and return a dataframe.
Data is a dataframe with as many row as the length of the data
and labels.
"""
raw = self._data_munging(raw, dataset)
raw = self._feature_transform(raw, dataset)
return raw
def get_data(self, dataset):
"""
Return data of the dataset.
Parameters
----------
dataset:
dataset instance.
Returns
-------
train : pd.DataFrame
DataFrame containing train data.
test : pd.DataFrame
DataFrame containing test data.
"""
if not self.is_valid(dataset):
message = "Dataset {} is not valid for paradigm".format(
dataset.code)
raise AssertionError(message)
# TODO generater case
raw = dataset.get_data()
self._prepare_process(dataset)
raw = self._process_raw(raw, dataset)
train_data, test_data = train_test_split(raw,
test_size=dataset.test_size,
random_state=dataset.random)
return train_data, test_data
| [
6738,
450,
66,
1330,
9738,
48526,
11,
12531,
26745,
11,
12531,
24396,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
36052,
27195,
12342,
11,
1855,
11518,
3351,
36213,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
4512,
62,
9288,
62,
35312,
198,
198,
6738,
11485,
19608,
292,
316,
13,
26791,
1330,
4808,
1136,
62,
77,
34642,
628,
198,
4871,
7308,
10044,
324,
17225,
7,
4164,
330,
31172,
28,
24694,
48526,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7308,
14853,
17225,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
397,
8709,
26745,
198,
220,
220,
220,
825,
9689,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
14161,
326,
15738,
9689,
18663,
357,
68,
13,
70,
13,
371,
4503,
12,
32,
9598,
393,
9922,
198,
220,
220,
220,
220,
220,
220,
220,
393,
277,
12,
26675,
828,
1813,
355,
257,
1341,
35720,
12,
38532,
4731,
393,
257,
11670,
198,
220,
220,
220,
220,
220,
220,
220,
1341,
35720,
30664,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
2488,
397,
8709,
26745,
198,
220,
220,
220,
825,
40522,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
21746,
326,
8160,
262,
1351,
286,
11670,
40522,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
2488,
397,
8709,
24396,
198,
220,
220,
220,
825,
318,
62,
12102,
7,
944,
11,
27039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13414,
1958,
262,
27039,
318,
11670,
351,
262,
23457,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
318,
1444,
284,
11767,
27039,
318,
11670,
351,
262,
198,
220,
220,
220,
220,
220,
220,
220,
23457,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
815,
5298,
281,
4049,
611,
262,
27039,
318,
407,
11670,
198,
220,
220,
220,
220,
220,
220,
220,
351,
262,
23457,
13,
770,
318,
329,
1672,
262,
1339,
611,
262,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
318,
281,
44795,
8207,
641,
27039,
329,
360,
1268,
23457,
11,
393,
611,
262,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
857,
407,
3994,
597,
286,
262,
2672,
3895,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
1058,
27039,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
27039,
284,
11767,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
2488,
397,
8709,
24396,
198,
220,
220,
220,
825,
787,
62,
30053,
62,
4033,
82,
7,
944,
11,
27039,
11,
11525,
12083,
62,
37266,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
13615,
2769,
24087,
13,
30053,
62,
28665,
13,
198,
220,
220,
220,
220,
220,
220,
220,
40117,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
45337,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
1058,
27039,
4554,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
27039,
4554,
13,
198,
220,
220,
220,
220,
220,
220,
220,
11525,
12083,
62,
37266,
1058,
8633,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8633,
7268,
11525,
12083,
42287,
329,
2251,
3895,
951,
76,
5907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
13,
68,
13,
1391,
20521,
12083,
62,
27740,
25,
807,
92,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
40103,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
288,
20471,
62,
40890,
1058,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
286,
3895,
62,
28665,
4554,
329,
288,
20471,
17311,
13,
198,
220,
220,
220,
220,
220,
220,
220,
14174,
62,
40890,
1058,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
286,
3895,
62,
28665,
4554,
329,
14174,
17311,
13,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
4808,
46012,
533,
62,
14681,
7,
944,
11,
27039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37534,
533,
7587,
286,
8246,
3696,
628,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
3578,
284,
900,
11507,
286,
262,
23457,
1398,
3161,
284,
198,
220,
220,
220,
220,
220,
220,
220,
262,
662,
36948,
357,
14681,
62,
1831,
737,
8314,
2147,
416,
4277,
290,
714,
307,
198,
220,
220,
220,
220,
220,
220,
220,
50068,
611,
2622,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
628,
220,
220,
220,
220,
220,
220,
220,
27039,
1058,
27039,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
27039,
11188,
284,
262,
8246,
2393,
13,
8384,
779,
284,
1895,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
2176,
1321,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
825,
4808,
7890,
62,
76,
2150,
278,
7,
944,
11,
8246,
11,
27039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
27845,
287,
4814,
3815,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
25,
6060,
19778,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
8246,
1366,
13,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
1058,
27039,
4554,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
27039,
11188,
284,
262,
8246,
2393,
13,
8384,
779,
284,
1895,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
2176,
1321,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
20150,
25,
279,
67,
13,
6601,
19778,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
1366,
14535,
7268,
262,
20150,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6070,
15709,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
796,
2116,
13557,
12286,
62,
69,
4509,
62,
25135,
7,
1831,
11,
27039,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8246,
628,
220,
220,
220,
825,
4808,
30053,
62,
35636,
7,
944,
11,
8246,
11,
27039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
36052,
21004,
329,
29877,
3033,
11,
290,
466,
2829,
13389,
329,
198,
220,
220,
220,
220,
220,
220,
220,
15715,
3033,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2218,
287,
27039,
13,
82,
29572,
62,
40890,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
1350,
796,
36052,
27195,
12342,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8246,
58,
27594,
60,
796,
300,
1350,
13,
11147,
62,
35636,
7,
1831,
58,
27594,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
13,
77,
34642,
796,
4808,
1136,
62,
77,
34642,
7,
19608,
292,
316,
11,
8246,
8,
628,
220,
220,
220,
220,
220,
220,
220,
285,
907,
796,
1855,
11518,
3351,
36213,
7,
30053,
62,
9521,
16193,
15,
11,
352,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
58,
19608,
292,
316,
13,
67,
1072,
62,
40890,
60,
796,
285,
907,
13,
11147,
62,
35636,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8246,
58,
19608,
292,
316,
13,
67,
1072,
62,
40890,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
8246,
628,
220,
220,
220,
825,
4808,
14681,
62,
1831,
7,
944,
11,
8246,
11,
27039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
4174,
262,
662,
36948,
290,
1441,
257,
1366,
14535,
13,
198,
220,
220,
220,
220,
220,
220,
220,
6060,
318,
257,
1366,
14535,
351,
355,
867,
5752,
355,
262,
4129,
286,
262,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
290,
14722,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
796,
2116,
13557,
7890,
62,
76,
2150,
278,
7,
1831,
11,
27039,
8,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
796,
2116,
13557,
30053,
62,
35636,
7,
1831,
11,
27039,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8246,
628,
220,
220,
220,
825,
651,
62,
7890,
7,
944,
11,
27039,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
1366,
286,
262,
27039,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
27039,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
4554,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
1058,
279,
67,
13,
6601,
19778,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6060,
19778,
7268,
4512,
1366,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
1058,
279,
67,
13,
6601,
19778,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6060,
19778,
7268,
1332,
1366,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2116,
13,
271,
62,
12102,
7,
19608,
292,
316,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
796,
366,
27354,
292,
316,
23884,
318,
407,
4938,
329,
23457,
1911,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27039,
13,
8189,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
2195,
861,
295,
12331,
7,
20500,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
1152,
729,
1339,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
796,
27039,
13,
1136,
62,
7890,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
46012,
533,
62,
14681,
7,
19608,
292,
316,
8,
628,
220,
220,
220,
220,
220,
220,
220,
8246,
796,
2116,
13557,
14681,
62,
1831,
7,
1831,
11,
27039,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
7890,
11,
1332,
62,
7890,
796,
4512,
62,
9288,
62,
35312,
7,
1831,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
7857,
28,
19608,
292,
316,
13,
9288,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4738,
62,
5219,
28,
19608,
292,
316,
13,
25120,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4512,
62,
7890,
11,
1332,
62,
7890,
198
] | 2.334463 | 2,066 |
from flask_assistant import logger
from flask import json, Response, make_response
from xml.etree import ElementTree
class _Response(object):
"""docstring for _Response"""
class event(_Response):
"""Triggers an event to invoke it's respective intent.
When an event is triggered, speech, displayText and services' data will be ignored.
"""
| [
6738,
42903,
62,
562,
10167,
1330,
49706,
198,
6738,
42903,
1330,
33918,
11,
18261,
11,
787,
62,
26209,
198,
6738,
35555,
13,
316,
631,
1330,
11703,
27660,
628,
198,
4871,
4808,
31077,
7,
15252,
2599,
198,
220,
220,
220,
37227,
15390,
8841,
329,
4808,
31077,
37811,
628,
628,
198,
198,
4871,
1785,
28264,
31077,
2599,
198,
220,
220,
220,
37227,
2898,
328,
5355,
281,
1785,
284,
26342,
340,
338,
11756,
6824,
13,
628,
220,
220,
220,
1649,
281,
1785,
318,
13973,
11,
4046,
11,
3359,
8206,
290,
2594,
6,
1366,
481,
307,
9514,
13,
198,
220,
220,
220,
37227,
198
] | 3.63 | 100 |
"""
Application: HealthNet
File: /patientRegistration/forms.py
Authors:
- Nathan Stevens
- Phillip Bedward
- Daniel Herzig
- George Herde
- Samuel Launt
Description:
- This file contains all forms for Patient Registration.
"""
from django import forms
from django.apps import apps
from django.contrib.auth.models import User
from django.forms.widgets import NumberInput
from django.forms.extras.widgets import SelectDateWidget
from django.core.exceptions import ValidationError
from base.models import Address, Person, Insurance, Doctor, Nurse, Admin, Hospital, EmergencyContact
from datetime import date
"""
Forms for registering users
"""
class UserForm(forms.ModelForm):
"""
@class: UserForm
@description: When a Patient is registering, they al register as a User.
"""
first_name = forms.CharField(required=True, label='First Name:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=50)
last_name = forms.CharField(required=True, label='Last Name:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=50)
email = forms.EmailField(required=True, label='Email:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=100)
username = forms.CharField(required=True, label='Username:',
help_text='Required. Between 5 and 30 characters. Letters, digits and @/./+/-/_ only.',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=30, min_length=5)
password = forms.CharField(widget=forms.PasswordInput(attrs={'class': 'form-control'}), label='Password:')
confirmP = forms.CharField(widget=forms.PasswordInput(attrs={'class': 'form-control'}), label='Confirm Password:')
class PersonRegistrationForm(forms.ModelForm):
"""
@class: PersonRegistrationForm
@description: A Patient's information is linked to the Person model. When a Patient registers,
they provide information for the Person model.
"""
birthday = forms.DateField(widget=SelectDateWidget(years={1950, 1951, 1952, 1953, 1954, 1955, 1956,
1957, 1958, 1959, 1960, 1961, 1962, 1963,
1964, 1965, 1966, 1967, 1968, 1969, 1970,
1971, 1972, 1973, 1974, 1975, 1976, 1977,
1978, 1979, 1980, 1981, 1982, 1983, 1984,
1985, 1986, 1987, 1988, 1989, 1990, 1991,
1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012,
2013, 2014, 2015}),
label='Birthday:', required=True)
ssn = forms.IntegerField(widget=forms.TextInput(attrs={'class': 'form-control'}), label='SSN:', required=True,
max_value=1000000000, min_value=100000000)
phoneNumber = forms.IntegerField(widget=forms.TextInput(attrs={'class': 'form-control'}), label='Phone Number:',
required=True, min_value=100000000, max_value=9999999999)
class InsuranceForm(forms.ModelForm):
"""
class: InsuranceForm
@description: When a Patient Registers they must provide Insurance Information.
"""
name = forms.CharField(label='Name:', required=True,
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=100)
policyNumber = forms.IntegerField(label='Policy Number:', required=True, max_value=999999999, min_value=1,
widget=forms.TextInput(attrs={'class': 'form-control'}))
class AddressForm(forms.ModelForm):
"""
@class: AddressForm
@description: the Address of the Patient
"""
state = forms.CharField(required=True, label='State:',
widget=forms.TextInput(attrs={'class': 'form-control'}))
street = forms.CharField(required=True, label='Street:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=100)
city = forms.CharField(required=True, label='City:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=100)
zip = forms.CharField(required=True, label='Zip:',
widget=forms.TextInput(attrs={'class': 'form-control'}))
class EmergencyContactForm(forms.ModelForm):
"""
@class: EmergencyContact
@description: The EmergencyContact for the Patient
"""
firstName = forms.CharField(required=True, label='First Name:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=50)
lastName = forms.CharField(required=True, label='Last Name:',
widget=forms.TextInput(attrs={'class': 'form-control'}), max_length=50)
emergencyNumber = forms.IntegerField(widget=forms.TextInput(attrs={'class': 'form-control'}),
label='Emergency Phone Number:', required=True,
min_value=1000000000, max_value=10000000000)
| [
37811,
198,
220,
220,
220,
15678,
25,
3893,
7934,
198,
220,
220,
220,
9220,
25,
1220,
26029,
47133,
14,
23914,
13,
9078,
198,
220,
220,
220,
46665,
25,
198,
220,
220,
220,
220,
220,
220,
220,
532,
18106,
20019,
198,
220,
220,
220,
220,
220,
220,
220,
532,
29470,
15585,
904,
198,
220,
220,
220,
220,
220,
220,
220,
532,
7806,
34321,
328,
198,
220,
220,
220,
220,
220,
220,
220,
532,
4502,
2332,
2934,
198,
220,
220,
220,
220,
220,
220,
220,
532,
17100,
406,
12968,
628,
220,
220,
220,
12489,
25,
198,
220,
220,
220,
220,
220,
220,
220,
532,
770,
2393,
4909,
477,
5107,
329,
35550,
24610,
13,
198,
37811,
198,
6738,
42625,
14208,
1330,
5107,
198,
6738,
42625,
14208,
13,
18211,
1330,
6725,
198,
6738,
42625,
14208,
13,
3642,
822,
13,
18439,
13,
27530,
1330,
11787,
198,
6738,
42625,
14208,
13,
23914,
13,
28029,
11407,
1330,
7913,
20560,
198,
6738,
42625,
14208,
13,
23914,
13,
2302,
8847,
13,
28029,
11407,
1330,
9683,
10430,
38300,
198,
6738,
42625,
14208,
13,
7295,
13,
1069,
11755,
1330,
3254,
24765,
12331,
198,
6738,
2779,
13,
27530,
1330,
17917,
11,
7755,
11,
17541,
11,
9356,
11,
42724,
11,
32053,
11,
9256,
11,
18154,
17829,
198,
6738,
4818,
8079,
1330,
3128,
198,
198,
37811,
198,
8479,
82,
329,
28336,
2985,
198,
37811,
628,
198,
4871,
11787,
8479,
7,
23914,
13,
17633,
8479,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2488,
4871,
25,
11787,
8479,
198,
220,
220,
220,
2488,
11213,
25,
1649,
257,
35550,
318,
28336,
11,
484,
435,
7881,
355,
257,
11787,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
717,
62,
3672,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
5962,
6530,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
1120,
8,
198,
220,
220,
220,
938,
62,
3672,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
5956,
6530,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
1120,
8,
198,
220,
220,
220,
3053,
796,
5107,
13,
15333,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
15333,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
3064,
8,
198,
220,
220,
220,
20579,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
5842,
13292,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
62,
5239,
11639,
37374,
13,
14307,
642,
290,
1542,
3435,
13,
24501,
11,
19561,
290,
2488,
11757,
28404,
16327,
47835,
691,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
1270,
11,
949,
62,
13664,
28,
20,
8,
198,
220,
220,
220,
9206,
796,
5107,
13,
12441,
15878,
7,
42655,
28,
23914,
13,
35215,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
6167,
11639,
35215,
25,
11537,
198,
220,
220,
220,
6216,
47,
796,
5107,
13,
12441,
15878,
7,
42655,
28,
23914,
13,
35215,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
6167,
11639,
18546,
2533,
30275,
25,
11537,
628,
198,
4871,
7755,
47133,
8479,
7,
23914,
13,
17633,
8479,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2488,
4871,
25,
7755,
47133,
8479,
198,
220,
220,
220,
2488,
11213,
25,
317,
35550,
338,
1321,
318,
6692,
284,
262,
7755,
2746,
13,
220,
1649,
257,
35550,
28441,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
484,
2148,
1321,
329,
262,
7755,
2746,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10955,
796,
5107,
13,
10430,
15878,
7,
42655,
28,
17563,
10430,
38300,
7,
19002,
34758,
42751,
11,
27937,
11,
26352,
11,
24217,
11,
24718,
11,
25325,
11,
25190,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25177,
11,
24648,
11,
23859,
11,
9507,
11,
20510,
11,
20033,
11,
19342,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17575,
11,
17672,
11,
19322,
11,
15904,
11,
15963,
11,
16450,
11,
8069,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16382,
11,
16101,
11,
15674,
11,
16489,
11,
15231,
11,
15408,
11,
15589,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15524,
11,
13521,
11,
7169,
11,
14745,
11,
14489,
11,
13540,
11,
12844,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12863,
11,
12113,
11,
12923,
11,
12122,
11,
11104,
11,
6303,
11,
10249,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9768,
11,
9656,
11,
9162,
11,
8735,
11,
8235,
11,
8309,
11,
7795,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7358,
11,
4751,
11,
5878,
11,
6244,
11,
5816,
11,
5472,
11,
5075,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4793,
11,
4343,
11,
3648,
11,
3717,
11,
3050,
11,
2813,
11,
2321,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2211,
11,
1946,
11,
1853,
92,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
11639,
38480,
820,
25,
3256,
2672,
28,
17821,
8,
198,
220,
220,
220,
264,
16184,
796,
5107,
13,
46541,
15878,
7,
42655,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
6167,
11639,
5432,
45,
25,
3256,
2672,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
8367,
28,
16,
10535,
830,
11,
949,
62,
8367,
28,
16,
8269,
8,
198,
220,
220,
220,
3072,
15057,
796,
5107,
13,
46541,
15878,
7,
42655,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
6167,
11639,
6132,
7913,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2672,
28,
17821,
11,
949,
62,
8367,
28,
16,
8269,
11,
3509,
62,
8367,
28,
24214,
24214,
2079,
8,
628,
198,
4871,
17541,
8479,
7,
23914,
13,
17633,
8479,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1398,
25,
17541,
8479,
198,
220,
220,
220,
2488,
11213,
25,
1649,
257,
35550,
3310,
6223,
484,
1276,
2148,
17541,
6188,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1438,
796,
5107,
13,
12441,
15878,
7,
18242,
11639,
5376,
25,
3256,
2672,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
3064,
8,
198,
220,
220,
220,
2450,
15057,
796,
5107,
13,
46541,
15878,
7,
18242,
11639,
36727,
7913,
25,
3256,
2672,
28,
17821,
11,
3509,
62,
8367,
28,
24214,
2079,
17032,
11,
949,
62,
8367,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
4008,
628,
198,
4871,
17917,
8479,
7,
23914,
13,
17633,
8479,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2488,
4871,
25,
17917,
8479,
198,
220,
220,
220,
2488,
11213,
25,
262,
17917,
286,
262,
35550,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1181,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
9012,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
4008,
198,
220,
220,
220,
4675,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
34356,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
3064,
8,
198,
220,
220,
220,
1748,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
14941,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
3064,
8,
198,
220,
220,
220,
19974,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
41729,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
4008,
628,
198,
4871,
18154,
17829,
8479,
7,
23914,
13,
17633,
8479,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2488,
4871,
25,
18154,
17829,
198,
220,
220,
220,
2488,
11213,
25,
383,
18154,
17829,
329,
262,
35550,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
717,
5376,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
5962,
6530,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
1120,
8,
198,
220,
220,
220,
938,
5376,
796,
5107,
13,
12441,
15878,
7,
35827,
28,
17821,
11,
6167,
11639,
5956,
6530,
25,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26295,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
3509,
62,
13664,
28,
1120,
8,
198,
220,
220,
220,
6334,
15057,
796,
5107,
13,
46541,
15878,
7,
42655,
28,
23914,
13,
8206,
20560,
7,
1078,
3808,
34758,
6,
4871,
10354,
705,
687,
12,
13716,
6,
92,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6167,
11639,
48979,
14484,
7913,
25,
3256,
2672,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
949,
62,
8367,
28,
16,
10535,
830,
11,
3509,
62,
8367,
28,
16,
8269,
405,
8,
628,
628,
628,
198
] | 2.160626 | 2,621 |
import math
| [
11748,
10688,
628,
628,
628,
198
] | 3 | 6 |
#!/usr/bin/env python3
import json
import argparse
from typing import List, NamedTuple
if __name__ == '__main__':
args = parse_args()
with open(args.input, 'r') as fi, open(args.output, 'w') as fo:
for line in fi:
fo.write(extract_tags(line.strip()))
fo.write('\n')
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
198,
11748,
33918,
198,
11748,
1822,
29572,
198,
6738,
19720,
1330,
7343,
11,
34441,
51,
29291,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
26498,
796,
21136,
62,
22046,
3419,
198,
220,
198,
220,
220,
220,
351,
1280,
7,
22046,
13,
15414,
11,
705,
81,
11537,
355,
25912,
11,
1280,
7,
22046,
13,
22915,
11,
705,
86,
11537,
355,
11511,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
25912,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11511,
13,
13564,
7,
2302,
974,
62,
31499,
7,
1370,
13,
36311,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11511,
13,
13564,
10786,
59,
77,
11537,
628
] | 2.258993 | 139 |
import torch
import torch.nn as nn
import torch.nn.functional as F
# for test
if __name__ == "__main__":
net = Siamese()
print(net)
print(list(net.parameters()))
| [
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
628,
198,
198,
2,
329,
1332,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
2010,
796,
15638,
1047,
68,
3419,
198,
220,
220,
220,
3601,
7,
3262,
8,
198,
220,
220,
220,
3601,
7,
4868,
7,
3262,
13,
17143,
7307,
3419,
4008,
198
] | 2.565217 | 69 |
# -*- coding: utf-8 -*-
import os
from pysilcam.config import load_config, PySilcamSettings, load_camera_config
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
11748,
28686,
198,
6738,
279,
893,
346,
20991,
13,
11250,
1330,
3440,
62,
11250,
11,
9485,
15086,
20991,
26232,
11,
3440,
62,
25695,
62,
11250,
628,
628
] | 2.804878 | 41 |
import sys
in_str = sys.stdin.read().replace('/', '//')
res = eval(in_str)
print(res)
| [
11748,
25064,
198,
198,
259,
62,
2536,
796,
25064,
13,
19282,
259,
13,
961,
22446,
33491,
10786,
14,
3256,
705,
1003,
11537,
198,
411,
796,
5418,
7,
259,
62,
2536,
8,
198,
4798,
7,
411,
8,
198
] | 2.351351 | 37 |
from zeep import Client, exceptions as zeep_exceptions
from payit import (
Gateway,
Transaction,
Redirection,
GatewayNetworkError,
TransactionError,
TransactionAlreadyPaidError,
)
class ParsianGateway(Gateway):
"""
Parsian Bank Gateway (PECCO)
Home: https://pec.ir
Documentation: https://pgw.pec.ir/IPG/NewIPGDocument.pdf
"""
__gateway_name__ = "parsian"
__gateway_unit__ = "IRR"
__config_params__ = ["pin", "callback_url", "proxies"]
_server_url_request = (
"https://pec.shaparak.ir" "/NewIPGServices/Sale/SaleService.asmx?WSDL"
)
_server_url_verify = (
"https://pec.shaparak.ir"
"/NewIPGServices/Confirm/ConfirmService.asmx?WSDL"
)
_response_message_map = {
"-32768": "UnknownError",
"-1552": "PaymentRequestIsNotEligibleToReversal",
"-1551": "PaymentRequestIsAlreadyReversed",
"-1550": "PaymentRequestStatusIsNotReversible",
"-1549": "MaxAllowedTimeToReversalHasExceeded",
"-1548": "BillPaymentRequestServiceFailed",
"-1540": "InvalidConfirmRequestService",
"-1536": "TopupChargeServiceTopupChargeRequestFailed",
"-1533": "PaymentIsAlreadyConfirmed",
"-1532": "MerchantHasConfirmedPaymentRequest",
"-1531": "CannotConfirmNonSuccessfulPayment",
"-1530": "MerchantConfirmPaymentRequestAccessViolated",
"-1528": "ConfirmPaymentRequestInfoNotFound",
"-1527": "CallSalePaymentRequestServiceFailed",
"-1507": "ReversalCompleted",
"-1505": "PaymentConfirmRequested",
"-138": "CanceledByUser",
"-132": "InvalidMinimumPaymentAmount",
"-131": "InvalidToken",
"-130": "TokenIsExpired",
"-128": "InvalidIpAddressFormat",
"-127": "InvalidMerchantIp",
"-126": "InvalidMerchantPin",
"-121": "InvalidStringIsNumeric",
"-120": "InvalidLength",
"-119": "InvalidOrganizationId",
"-118": "ValueIsNotNumeric",
"-117": "LengthIsLessOfMinimum",
"-116": "LengthIsMoreOfMaximum",
"-115": "InvalidPayId",
"-114": "InvalidBillId",
"-113": "ValueIsNull",
"-112": "OrderIdDuplicated",
"-111": "InvalidMerchantMaxTransAmount",
"-108": "ReverseIsNotEnabled",
"-107": "AdviceIsNotEnabled",
"-106": "ChargeIsNotEnabled",
"-105": "TopupIsNotEnabled",
"-104": "BillIsNotEnabled",
"-103": "SaleIsNotEnabled",
"-102": "ReverseSuccessful",
"-101": "MerchantAuthenticationFailed",
"-100": "MerchantIsNotActive",
"-1": "Server Error",
"0": "Successful",
"1": "Refer To Card Issuer Decline",
"2": "Refer To Card Issuer Special Conditions",
"3": "Invalid Merchant",
"5": "Do Not Honour",
"6": "Error",
"8": "Honour With Identification",
"9": "Request In-progress",
"10": "Approved For Partial Amount",
"12": "Invalid Transaction",
"13": "Invalid Amount",
"14": "Invalid Card Number",
"15": "No Such Issuer",
"17": "Customer Cancellation",
"20": "Invalid Response",
"21": "No Action Taken",
"22": "Suspected Malfunction",
"30": "Format Error",
"31": "Bank Not Supported By Switch",
"32": "Completed Partially",
"33": "Expired Card Pick Up",
"38": "Allowable PIN Tries Exceeded Pick Up",
"39": "No Credit Account",
"40": "Requested Function is not supported",
"41": "Lost Card",
"43": "Stolen Card",
"45": "Bill Can not Be Payed",
"51": "No Sufficient Funds",
"54": "Expired Account",
"55": "Incorrect PIN",
"56": "No Card Record",
"57": "Transaction Not Permitted To CardHolder",
"58": "Transaction Not Permitted To Terminal",
"59": "Suspected Fraud-Decline",
"61": "Exceeds Withdrawal Amount Limit",
"62": "Restricted Card-Decline",
"63": "Security Violation",
"65": "Exceeds Withdrawal Frequency Limit",
"68": "Response Received Too Late",
"69": "Allowable Number Of PIN Tries Exceeded",
"75": "PIN Reties Exceeds-Slm",
"78": "Deactivated Card-Slm",
"79": "Invalid Amount-Slm",
"80": "Transaction Denied-Slm",
"81": "Cancelled Card-Slm",
"83": "Host Refuse-Slm",
"84": "Issuer Down-Slm",
"91": "Issuer Or Switch Is Inoperative",
"92": "Not Found for Routing",
"93": "Cannot Be Completed",
}
| [
6738,
41271,
538,
1330,
20985,
11,
13269,
355,
41271,
538,
62,
1069,
11755,
198,
198,
6738,
1414,
270,
1330,
357,
198,
220,
220,
220,
29916,
11,
198,
220,
220,
220,
45389,
11,
198,
220,
220,
220,
2297,
4154,
11,
198,
220,
220,
220,
29916,
26245,
12331,
11,
198,
220,
220,
220,
45389,
12331,
11,
198,
220,
220,
220,
45389,
37447,
47,
1698,
12331,
11,
198,
8,
628,
198,
4871,
23042,
666,
22628,
1014,
7,
22628,
1014,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
23042,
666,
5018,
29916,
357,
47,
2943,
8220,
8,
628,
220,
220,
220,
5995,
25,
3740,
1378,
43106,
13,
343,
198,
220,
220,
220,
43925,
25,
3740,
1378,
6024,
86,
13,
43106,
13,
343,
14,
4061,
38,
14,
3791,
4061,
38,
24941,
13,
12315,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
10494,
1014,
62,
3672,
834,
796,
366,
79,
945,
666,
1,
198,
220,
220,
220,
11593,
10494,
1014,
62,
20850,
834,
796,
366,
4663,
49,
1,
198,
220,
220,
220,
11593,
11250,
62,
37266,
834,
796,
14631,
11635,
1600,
366,
47423,
62,
6371,
1600,
366,
1676,
87,
444,
8973,
198,
220,
220,
220,
4808,
15388,
62,
6371,
62,
25927,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
43106,
13,
1477,
499,
30447,
13,
343,
1,
12813,
3791,
4061,
38,
31007,
14,
50,
1000,
14,
50,
1000,
16177,
13,
8597,
87,
30,
54,
10305,
43,
1,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
4808,
15388,
62,
6371,
62,
332,
1958,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
43106,
13,
1477,
499,
30447,
13,
343,
1,
198,
220,
220,
220,
220,
220,
220,
220,
12813,
3791,
4061,
38,
31007,
14,
18546,
2533,
14,
18546,
2533,
16177,
13,
8597,
87,
30,
54,
10305,
43,
1,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
4808,
26209,
62,
20500,
62,
8899,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
34159,
3104,
1298,
366,
20035,
12331,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
4309,
1298,
366,
19197,
434,
18453,
3792,
3673,
36,
4604,
856,
2514,
3041,
690,
282,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
4349,
1298,
366,
19197,
434,
18453,
3792,
37447,
3041,
690,
276,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
1120,
1298,
366,
19197,
434,
18453,
19580,
3792,
3673,
3041,
37393,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
2920,
1298,
366,
11518,
3237,
6972,
7575,
2514,
3041,
690,
282,
19242,
3109,
2707,
276,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
2780,
1298,
366,
17798,
19197,
434,
18453,
16177,
37,
6255,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
1821,
1298,
366,
44651,
18546,
2533,
18453,
16177,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
2623,
1298,
366,
9126,
929,
50044,
16177,
9126,
929,
50044,
18453,
37,
6255,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
2091,
1298,
366,
19197,
434,
3792,
37447,
18546,
15491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
2624,
1298,
366,
13102,
8907,
19242,
18546,
15491,
19197,
434,
18453,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
3132,
1298,
366,
34,
34574,
18546,
2533,
15419,
33244,
913,
19197,
434,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
1270,
1298,
366,
13102,
8907,
18546,
2533,
19197,
434,
18453,
15457,
33894,
515,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
2078,
1298,
366,
18546,
2533,
19197,
434,
18453,
12360,
3673,
21077,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
1314,
1983,
1298,
366,
14134,
50,
1000,
19197,
434,
18453,
16177,
37,
6255,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
8628,
22,
1298,
366,
3041,
690,
282,
43768,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
8628,
20,
1298,
366,
19197,
434,
18546,
2533,
18453,
276,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
20107,
1298,
366,
34,
590,
992,
3886,
12982,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
19924,
1298,
366,
44651,
44046,
19197,
434,
31264,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
22042,
1298,
366,
44651,
30642,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
12952,
1298,
366,
30642,
3792,
3109,
6474,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
12762,
1298,
366,
44651,
40,
79,
20231,
26227,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16799,
1298,
366,
44651,
13102,
8907,
40,
79,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
19420,
1298,
366,
44651,
13102,
8907,
28348,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
19244,
1298,
366,
44651,
10100,
3792,
45,
39223,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
10232,
1298,
366,
44651,
24539,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16315,
1298,
366,
44651,
26121,
1634,
7390,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16817,
1298,
366,
11395,
3792,
3673,
45,
39223,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
17657,
1298,
366,
24539,
3792,
22058,
5189,
44046,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
18298,
1298,
366,
24539,
3792,
5167,
5189,
40541,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
15363,
1298,
366,
44651,
19197,
7390,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16562,
1298,
366,
44651,
17798,
7390,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16616,
1298,
366,
11395,
3792,
35067,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
14686,
1298,
366,
18743,
7390,
35660,
489,
3474,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16243,
1298,
366,
44651,
13102,
8907,
11518,
8291,
31264,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
15711,
1298,
366,
49,
964,
325,
3792,
3673,
20491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
15982,
1298,
366,
22856,
501,
3792,
3673,
20491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
15801,
1298,
366,
50044,
3792,
3673,
20491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
13348,
1298,
366,
9126,
929,
3792,
3673,
20491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
13464,
1298,
366,
17798,
3792,
3673,
20491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
15197,
1298,
366,
50,
1000,
3792,
3673,
20491,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
15377,
1298,
366,
49,
964,
325,
33244,
913,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
8784,
1298,
366,
13102,
8907,
47649,
3299,
37,
6255,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
3064,
1298,
366,
13102,
8907,
3792,
3673,
13739,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
27444,
16,
1298,
366,
10697,
13047,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15,
1298,
366,
33244,
913,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16,
1298,
366,
46238,
1675,
5172,
10585,
15573,
16691,
500,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17,
1298,
366,
46238,
1675,
5172,
10585,
15573,
6093,
27617,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18,
1298,
366,
44651,
33508,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20,
1298,
366,
5211,
1892,
45129,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21,
1298,
366,
12331,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23,
1298,
366,
29478,
454,
2080,
38657,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
24,
1298,
366,
18453,
554,
12,
33723,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
940,
1298,
366,
4677,
305,
1079,
1114,
43689,
26308,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1065,
1298,
366,
44651,
45389,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1485,
1298,
366,
44651,
26308,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1415,
1298,
366,
44651,
5172,
7913,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1314,
1298,
366,
2949,
8013,
10585,
15573,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1558,
1298,
366,
44939,
43780,
297,
341,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1238,
1298,
366,
44651,
18261,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2481,
1298,
366,
2949,
7561,
30222,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1828,
1298,
366,
30746,
7254,
32197,
4575,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1270,
1298,
366,
26227,
13047,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3132,
1298,
366,
28650,
1892,
36848,
2750,
14645,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2624,
1298,
366,
43768,
2142,
1927,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2091,
1298,
366,
3109,
6474,
5172,
12346,
3205,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2548,
1298,
366,
35265,
540,
34279,
309,
1678,
1475,
2707,
276,
12346,
3205,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2670,
1298,
366,
2949,
10504,
10781,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1821,
1298,
366,
18453,
276,
15553,
318,
407,
4855,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3901,
1298,
366,
31042,
5172,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3559,
1298,
366,
1273,
8622,
5172,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2231,
1298,
366,
17798,
1680,
407,
1355,
7119,
276,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4349,
1298,
366,
2949,
311,
15267,
34068,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4051,
1298,
366,
3109,
6474,
10781,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2816,
1298,
366,
818,
30283,
34279,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3980,
1298,
366,
2949,
5172,
13266,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3553,
1298,
366,
48720,
1892,
2448,
3291,
1675,
5172,
39,
19892,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3365,
1298,
366,
48720,
1892,
2448,
3291,
1675,
24523,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3270,
1298,
366,
30746,
7254,
39826,
12,
37835,
500,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5333,
1298,
366,
3109,
2707,
82,
2080,
19334,
282,
26308,
27272,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5237,
1298,
366,
19452,
20941,
5172,
12,
37835,
500,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5066,
1298,
366,
24074,
13085,
341,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2996,
1298,
366,
3109,
2707,
82,
2080,
19334,
282,
31902,
27272,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3104,
1298,
366,
31077,
20557,
14190,
18319,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3388,
1298,
366,
35265,
540,
7913,
3226,
34279,
309,
1678,
1475,
2707,
276,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2425,
1298,
366,
44032,
4990,
444,
1475,
2707,
82,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3695,
1298,
366,
5005,
33106,
5172,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3720,
1298,
366,
44651,
26308,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1795,
1298,
366,
48720,
5601,
798,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
6659,
1298,
366,
34,
590,
3353,
5172,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5999,
1298,
366,
17932,
6524,
1904,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5705,
1298,
366,
27738,
15573,
5588,
12,
11122,
76,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
6420,
1298,
366,
27738,
15573,
1471,
14645,
1148,
554,
27173,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5892,
1298,
366,
3673,
4062,
329,
371,
13660,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
6052,
1298,
366,
34,
34574,
1355,
32983,
1600,
198,
220,
220,
220,
1782,
198
] | 2.250122 | 2,051 |
# -*- coding: utf-8 -*-
from .rte_dataset import RTEAutoInferenceDataset, RTEAutoInferenceReverseDataset, RTEAutoInferenceSignalDataset, \
RTET5InferenceDataset, RTET5InferenceReverseDataset, RTET5InferenceSignalDataset
from .mnli_dataset import MNLIAutoInferenceDataset, MNLIAutoInferenceReverseDataset, MNLIAutoInferenceSignalDataset, \
MNLIT5InferenceDataset, MNLIT5InferenceReverseDataset, MNLIT5InferenceSignalDataset
from .qnli_dataset import QNLIAutoInferenceDataset, QNLIAutoInferenceReverseDataset, QNLIAutoInferenceSignalDataset, \
QNLIT5InferenceDataset, QNLIT5InferenceReverseDataset, QNLIT5InferenceSignalDataset
from .qqp_dataset import QQPAutoInferenceDataset, QQPAutoInferenceReverseDataset, QQPAutoInferenceSignalDataset, \
QQPT5InferenceDataset, QQPT5InferenceReverseDataset, QQPT5InferenceSignalDataset
from .mrpc_dataset import MRPCAutoInferenceDataset, MRPCAutoInferenceReverseDataset, MRPCAutoInferenceSignalDataset, \
MRPCT5InferenceDataset, MRPCT5InferenceReverseDataset, MRPCT5InferenceSignalDataset
from .klue_nli_dataset import KlueNLIAutoInferenceDataset, KlueNLIAutoInferenceReverseDataset, \
KlueNLIAutoInferenceSignalDataset
from .klue_sts_dataset import KlueSTSAutoInferenceDataset, KlueSTSAutoInferenceReverseDataset, \
KlueSTSAutoInferenceSignalDataset
from .kornli_dataset import KorNLIAutoInferenceDataset, KorNLIAutoInferenceReverseDataset, \
KorNLIAutoInferenceSignalDataset
# with-paraphrase dataset
from .qnli_dataset import QNLIAutoParaInferenceDataset, QNLIAutoParaInferenceReverseDataset, \
QNLIAutoParaInferenceSignalDataset | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
6738,
764,
81,
660,
62,
19608,
292,
316,
1330,
371,
9328,
27722,
818,
4288,
27354,
292,
316,
11,
371,
9328,
27722,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
371,
9328,
27722,
818,
4288,
11712,
282,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
11923,
2767,
20,
818,
4288,
27354,
292,
316,
11,
11923,
2767,
20,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
11923,
2767,
20,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
10295,
4528,
62,
19608,
292,
316,
1330,
29060,
43,
3539,
9390,
818,
4288,
27354,
292,
316,
11,
29060,
43,
3539,
9390,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
29060,
43,
3539,
9390,
818,
4288,
11712,
282,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
29060,
43,
2043,
20,
818,
4288,
27354,
292,
316,
11,
29060,
43,
2043,
20,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
29060,
43,
2043,
20,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
80,
77,
4528,
62,
19608,
292,
316,
1330,
1195,
32572,
3539,
9390,
818,
4288,
27354,
292,
316,
11,
1195,
32572,
3539,
9390,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
1195,
32572,
3539,
9390,
818,
4288,
11712,
282,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
1195,
32572,
2043,
20,
818,
4288,
27354,
292,
316,
11,
1195,
32572,
2043,
20,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
1195,
32572,
2043,
20,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
38227,
79,
62,
19608,
292,
316,
1330,
1195,
48,
4537,
9390,
818,
4288,
27354,
292,
316,
11,
1195,
48,
4537,
9390,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
1195,
48,
4537,
9390,
818,
4288,
11712,
282,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
1195,
48,
11571,
20,
818,
4288,
27354,
292,
316,
11,
1195,
48,
11571,
20,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
1195,
48,
11571,
20,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
43395,
14751,
62,
19608,
292,
316,
1330,
17242,
5662,
27722,
818,
4288,
27354,
292,
316,
11,
17242,
5662,
27722,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
17242,
5662,
27722,
818,
4288,
11712,
282,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
17242,
47,
4177,
20,
818,
4288,
27354,
292,
316,
11,
17242,
47,
4177,
20,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
17242,
47,
4177,
20,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
41582,
518,
62,
77,
4528,
62,
19608,
292,
316,
1330,
14770,
518,
32572,
3539,
9390,
818,
4288,
27354,
292,
316,
11,
14770,
518,
32572,
3539,
9390,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
14770,
518,
32572,
3539,
9390,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
41582,
518,
62,
6448,
62,
19608,
292,
316,
1330,
14770,
518,
2257,
4090,
9390,
818,
4288,
27354,
292,
316,
11,
14770,
518,
2257,
4090,
9390,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
14770,
518,
2257,
4090,
9390,
818,
4288,
11712,
282,
27354,
292,
316,
198,
6738,
764,
74,
1211,
4528,
62,
19608,
292,
316,
1330,
14769,
32572,
3539,
9390,
818,
4288,
27354,
292,
316,
11,
14769,
32572,
3539,
9390,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
14769,
32572,
3539,
9390,
818,
4288,
11712,
282,
27354,
292,
316,
198,
198,
2,
351,
12,
1845,
6570,
22789,
27039,
198,
6738,
764,
80,
77,
4528,
62,
19608,
292,
316,
1330,
1195,
32572,
3539,
9390,
47,
3301,
818,
4288,
27354,
292,
316,
11,
1195,
32572,
3539,
9390,
47,
3301,
818,
4288,
49,
964,
325,
27354,
292,
316,
11,
3467,
198,
220,
220,
220,
1195,
32572,
3539,
9390,
47,
3301,
818,
4288,
11712,
282,
27354,
292,
316
] | 2.473035 | 649 |
# Copyright (c) 2019 Altinity LTD
#
# This product is licensed to you under the
# Apache License, Version 2.0 (the "License").
# You may not use this product except in compliance with the License.
#
# This product may include a number of subcomponents with
# separate copyright notices and license terms. Your use of the source
# code for the these subcomponents is subject to the terms and
# conditions of the subcomponent's license, as noted in the LICENSE file.
"""
Altinity Datasets Utility
"""
import sys
from setuptools import setup, find_packages
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
with open('README.md', 'r') as readme_file:
long_description = readme_file.read()
setup(
name="altinity_datasets",
version="0.1.2",
description="Altinity Datasets for ClickHouse",
long_description=long_description,
long_description_content_type='text/markdown',
license="Apache 2.0",
author="R Hodges",
author_email="[email protected]",
url='https://github.com/Altinity/altinity-datasets',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
],
install_requires=[
'click>=6.7',
'clickhouse-driver>=0.0.18',
'PyYAML>=3.13'
],
packages=find_packages(),
include_package_data=True,
entry_points = {
'console_scripts': ['ad-cli=altinity_datasets.ad_cli:ad_cli']
}
)
| [
2,
15069,
357,
66,
8,
13130,
12344,
6269,
42513,
198,
2,
198,
2,
770,
1720,
318,
11971,
284,
345,
739,
262,
198,
2,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
11074,
198,
2,
921,
743,
407,
779,
428,
1720,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
198,
2,
770,
1720,
743,
2291,
257,
1271,
286,
850,
5589,
3906,
351,
198,
2,
4553,
6634,
19748,
290,
5964,
2846,
13,
3406,
779,
286,
262,
2723,
198,
2,
2438,
329,
262,
777,
850,
5589,
3906,
318,
2426,
284,
262,
2846,
290,
198,
2,
3403,
286,
262,
850,
42895,
338,
5964,
11,
355,
4367,
287,
262,
38559,
24290,
2393,
13,
198,
198,
37811,
198,
29161,
6269,
16092,
292,
1039,
34030,
198,
37811,
198,
198,
11748,
25064,
198,
6738,
900,
37623,
10141,
1330,
9058,
11,
1064,
62,
43789,
198,
198,
2,
1675,
2721,
262,
5888,
11,
1057,
262,
1708,
198,
2,
198,
2,
21015,
9058,
13,
9078,
2721,
198,
2,
198,
2,
43119,
25,
900,
37623,
10141,
198,
2,
2638,
1378,
79,
4464,
72,
13,
29412,
13,
2398,
14,
79,
4464,
72,
14,
2617,
37623,
10141,
198,
198,
4480,
1280,
10786,
15675,
11682,
13,
9132,
3256,
705,
81,
11537,
355,
1100,
1326,
62,
7753,
25,
198,
220,
220,
220,
890,
62,
11213,
796,
1100,
1326,
62,
7753,
13,
961,
3419,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
2625,
2501,
6269,
62,
19608,
292,
1039,
1600,
198,
220,
220,
220,
2196,
2625,
15,
13,
16,
13,
17,
1600,
198,
220,
220,
220,
6764,
2625,
29161,
6269,
16092,
292,
1039,
329,
6914,
18102,
1600,
198,
220,
220,
220,
890,
62,
11213,
28,
6511,
62,
11213,
11,
198,
220,
220,
220,
890,
62,
11213,
62,
11299,
62,
4906,
11639,
5239,
14,
4102,
2902,
3256,
198,
220,
220,
220,
5964,
2625,
25189,
4891,
362,
13,
15,
1600,
198,
220,
220,
220,
1772,
2625,
49,
22816,
3212,
1600,
198,
220,
220,
220,
1772,
62,
12888,
2625,
10951,
31,
2501,
6269,
13,
785,
1600,
220,
198,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
29161,
6269,
14,
2501,
6269,
12,
19608,
292,
1039,
3256,
198,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
513,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34156,
7904,
7294,
40,
20010,
1079,
7904,
24843,
10442,
13789,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18843,
803,
4482,
7904,
7294,
13362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5317,
1631,
7591,
1240,
7904,
34152,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5317,
1631,
7591,
1240,
7904,
4482,
6813,
18942,
1600,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
2721,
62,
47911,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12976,
29,
28,
21,
13,
22,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12976,
4803,
12,
26230,
29,
28,
15,
13,
15,
13,
1507,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20519,
56,
2390,
43,
29,
28,
18,
13,
1485,
6,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
10392,
28,
19796,
62,
43789,
22784,
198,
220,
220,
220,
2291,
62,
26495,
62,
7890,
28,
17821,
11,
198,
220,
220,
220,
5726,
62,
13033,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
41947,
62,
46521,
10354,
37250,
324,
12,
44506,
28,
2501,
6269,
62,
19608,
292,
1039,
13,
324,
62,
44506,
25,
324,
62,
44506,
20520,
198,
220,
220,
220,
1782,
198,
8,
198
] | 2.829966 | 594 |
import numpy as np
from numpy.matlib import repmat
from numpy import zeros, eye, ones, matrix
from numpy import cos, sin, arccos, sqrt, pi, arctan2
from panda3d.core import *
from direct.gui.DirectGui import *
from utils.ArgsPack import ArgsPack
class KinematicModel:
"""This is the base class for all robot dynamic models.
We assume the models are all in the form:
:math:`X' = A * X + B * u`
:math:`\dot X = fx + fu * u`
Because
:math:`X' = X + \dot X * dT`
Then
:math:`fx = (A - I) / dT`
:math:`fu = B / dT`
We just need to specify A and B to define different dynamic models.
There are two major phases in the control circle, update and move. In the update phase, the robot will update its information based on the environment. And in the move phase, the robot will execute control input.
"""
def __init__(self, init_state, agent, dT, auto, is_2D=False):
"""This function initilize the robot.
Args:
init_state (list): the init state of the robot, for example [x, y, vx, vy]
agent (MobileAgent()): the algorithm that controls this robot.
dT (float): the seperation between two control output
auto (bool): whether this robot is autonomous, if not, it is control by user input like mouse.
is_2D (bool): whether this model is a 2D model, which means it can only move on the groud plane.
"""
self.control_noise = 0.02 # noise scale
self.safe_dis = 1
self.map_size = 10 # map boundary size
self.fraction = 0.2 # velocity decrease rate per dT
self.disk_radius = 0.4 # radius of disk
self.measure_noise = 0.02 # noise scale
self.auto=False # whether is controled by human
self.RLS_cache = dict() # RLS cache
self.init_state = np.array(init_state)
self.set_saturation()
self.dT = dT
self.agent = agent
self.auto = auto
self.is_2D = is_2D
goals = np.stack([np.random.rand(100)* self.map_size/2 - self.map_size / 4,
np.random.rand(100)* self.map_size/2 - self.map_size / 4,
np.random.rand(100)* self.map_size/4 + self.map_size / 4,
zeros(100),
zeros(100),
zeros(100)], axis=0 )
self.reset(dT, goals)
self.get_closest_X(np.vstack([10,10,10,0,0,0]))
def reset(self, dT, goals):
"""This function reset the robot state to initial, and set the goals to given goals. This function is useful when the user need to make sure all the robot are tested under the same goal sequence,
Args:
dT (float): the seperation between two control output
goals (ndarray): n*6 array of goal specification. [x y z 0 0 0]
"""
self.dT = dT
self.set_goals(goals)
self.init_x(self.init_state)
self.x_his = repmat(self.x, 1, 50)
self.n = np.shape(self.x)[0]
self.H = matrix(eye(self.n))
self.kalman_P = matrix(eye(self.n)) * (self.measure_noise**2)
self.x_est = self.observe(self.x)
self.m = matrix(zeros((6,1)))
self.m_his = repmat(self.m, 1, 50)
self.x_pred = zeros((self.n,1))
self.trace = repmat(self.get_P(), 1, 100)
self.goal_achieved = 0
self.time = 0
self.last_collision_time = 0
self.score = dict()
self.score['collision_cnt'] = 0
self.score['safety'] = 0
self.score['nearest_dis'] = 1e9
self.score['efficiency'] = 0
self.predictability = 0
self.get_closest_X(np.vstack([10,10,10,0,0,0]))
def get_PV(self):
"""This function return the cartesian position and velocity of the robot,
Returns:
PV (ndarray): 6*1 array. [x y z vx vy vz]
"""
return np.vstack([self.get_P(), self.get_V()])
def fx(self):
"""
This function calculate fx from A,
Because
X' = X + dot_X * dT
Then
fx = (A - I) / dT
"""
return (self.A() - np.eye(np.shape(self.x)[0])) / self.dT * self.x
def fu(self):
"""
This function calculate fu from B,
Because
X' = X + dot_X * dT
Then
fu = B / dT
"""
return self.B() / self.dT
def filt_u(self, u):
"""return the saturated control input based the given reference control input
Args:
u (ndarray): reference control input
Returns:
u (ndarray): saturated control input
"""
u = np.minimum(u, self.max_u)
u = np.maximum(u, self.min_u)
return u
def filt_x(self, x):
"""return the saturated robot state based the given reference state
Args:
x (ndarray): reference state
Returns:
x (ndarray): saturated state
"""
x = np.minimum(x, self.max_x)
x = np.maximum(x, self.min_x)
return x
def update_score(self, obstacle):
"""Update the scores of the robot based on the relative postion and relative velocity to the obstacle. The scores are used to draw roc curves and generate statistical restuls.
Args:
obstacle (KinematicModel()): the obstacle
"""
dm = obstacle.m - self.m
dp = (obstacle.m - self.m)[[0,1,2],0]
dv = (obstacle.m - self.m)[[3,4,5],0]
dis = np.linalg.norm(dp)
v_op = np.asscalar(dv.T * dp / dis)
if dis < self.safe_dis:
if self.time - self.last_collision_time > 5:
self.score['collision_cnt'] = self.score['collision_cnt'] + 1
self.last_collision_time = self.time
if v_op < 0 and dis < 2*self.safe_dis:
self.score['safety'] = self.score['safety'] + min(0, np.log(dis / (2 * self.safe_dis) + 1e-20)) * abs(v_op);
# self.score['safety'] = self.score['safety'] + min(2 * self.safe_dis, dis);
self.score['nearest_dis'] = min(self.score['nearest_dis'], dis)
self.score['efficiency'] = self.goal_achieved
def update(self, obstacle):
"""Update phase. 1. update score, 2. update goal, 3. update self state estimation, 4. update the nearest point on self to obstacle, 5. calculate control input, 6. update historical trajectory.
Args:
obstacle (KinematicModel()): the obstacle
"""
self.time = self.time + 1
self.update_score(obstacle)
self.update_goal()
self.kalman_estimate_state()
self.update_m(obstacle.m)
self.calc_control(obstacle)
self.update_trace()
def update_trace(self):
"""
update trace of end effector
"""
self.trace = np.concatenate([self.trace[:,1:], self.get_P()],axis=1)
def update_m(self, Mh):
"""Update the nearest cartesian point on self to obstacle.
Args:
Mh (ndarray): 6*1 array, cartesian postion and velocity of the obstacle.
"""
self.m = self.get_closest_X(Mh)
def kalman_estimate_state(self):
"""
Use kalman filter to update the self state estimation.
"""
dT = self.dT
A = self.A()
B = self.B()
Q = B * B.T * (self.control_noise)**2 # adopt max_a / 2 as sigma. because 95# percent of value lie in mu-2*sigma to mu+2*sigma
R = matrix(eye(self.n)) * (self.measure_noise**2)
I = matrix(eye(self.n))
P = self.kalman_P
H = self.H
x_pred = A * self.x_est + B * self.u
P = A * P * A.T + Q
z = self.observe(self.x)
y = z - self.H * x_pred
S = R + H * P * H.T
K = P * H.T * np.linalg.inv(S)
x_est = x_pred + K * y
P = (I - K*H) * P * (I - K*H).T + K * R * K.T
self.kalman_P = P
self.x_est = self.filt_x(x_est) # \hat x(k|k)
self.x_pred = self.filt_x(A * self.x_est + B * self.u) # \hat x(k+1|k)
return x_est
def calc_control(self, obstacle):
"""
Generate control input by the agent.
Args:
obstacle (KinematicModel()): the obstacle
"""
dT = self.dT
goal = self.goal
fx = self.fx()
fu = self.fu()
Xr = self.x_est
Xh = obstacle.x_est
Mr = self.m
Mh = obstacle.m
dot_Xr = self.dot_X()
dot_Xh = obstacle.dot_X()
p_Mr_p_Xr = self.p_M_p_X()
p_Mh_p_Xh = obstacle.p_M_p_X()
u0 = self.u_ref()
min_u = self.min_u
max_u = self.max_u
self.u = self.agent.calc_control_input(dT, goal, fx, fu, Xr, Xh, dot_Xr, dot_Xh, Mr, Mh, p_Mr_p_Xr, p_Mh_p_Xh, u0, min_u, max_u)
self.u = self.filt_u(self.u)
def dot_X(self):
"""
First order estimation of dot_X using current state and last state.
"""
return (self.x - self.x_his[:,-2]) / self.dT
# return (self.x_pred - self.x_est) / self.dT
def move(self):
"""
Move phase. An random disturbance is added to the control input.
"""
self.x = self.A() * self.x + self.B() * (self.u + np.random.randn(np.shape(self.u)[0],1) * self.control_noise)
self.x = self.filt_x(self.x)
self.x_his = np.concatenate([self.x_his[:,1:], self.x],axis=1)
self.m_his = np.concatenate([self.m_his[:,1:], self.m], axis=1)
# The following functions are required to fill up for new models.
def init_x(self, init_state):
"""
init state x
"""
pass
def set_saturation(self):
"""
Set min and max cut off for state x and control u.
"""
pass
def get_P(self):
"""
Return position in the Cartisian space.
"""
pass
def get_V(self):
"""
Return velocity in the Cartisian space.
"""
pass
def set_P(self, p):
"""
Set position in the Cartisian space.
Args:
p (ndarray): position
"""
pass
def set_V(self, v):
"""
Set velocity in the Cartisian space
Args:
v (ndarray): velocity
"""
pass
def A(self):
"""
Transition matrix A as explained in the class definition.
"""
pass
def B(self):
"""
Transition matrix B as explained in the class definition.
"""
pass
def get_closest_X(self, Mh):
"""
Update the corresponding state of the nearest cartesian point on self to obstacle.
Args:
Mh (ndarray): 6*1 array, cartesian postion and velocity of the obstacle.
"""
pass
def p_M_p_X(self): # p closest point p X
""" dM / dX, the derivative of the nearest cartesian point to robot state.
"""
pass
def estimate_state(self):
"""
State estimater caller.
"""
pass
def u_ref(self):
"""
Reference control input.
"""
pass
############## Graphics ##############
def add_sphere(self, pos, color, scale=0.5, render_node=None):
"""
Add a sphere model into the scene.
Args:
pos: position to place the sphere
color: color of the sphere
scale: scale to zoom the sphere
"""
if render_node is None:
render_node = self.render
ret = loader.loadModel("resource/planet_sphere")
ret.reparentTo(render_node)
ret.setTransparency(TransparencyAttrib.MAlpha)
ret.setColor(color[0], color[1], color[2], color[3])
ret.setScale(scale)
ret.setPos(pos[0], pos[1], pos[2])
return ret;
def draw_trace(self):
"""
Show the trace of the end effector.
"""
if hasattr(self, 'trace_line_handle'):
self.trace_line_handle.removeNode()
segs = LineSegs( )
segs.setThickness( 5.0 )
segs.setColor(self.color[0], self.color[1], self.color[2], 0)
p_from = LVector3f(self.trace[0,0], self.trace[1,0], self.trace[2,0])
segs.moveTo( p_from )
for i in range(np.shape(self.trace)[1]):
p_to = LVector3f(self.trace[0,i], self.trace[1,i], self.trace[2,i])
segs.setColor(self.color[0], self.color[1], self.color[2], 0)
segs.drawTo( p_to )
trace_line = segs.create( )
self.trace_line_handle = self.render.attachNewNode(trace_line);
# def draw_arrow(self, p_from, p_to, color):
# segs = LineSegs( )
# segs.setThickness( 20.0 )
# segs.setColor( color )
# segs.moveTo( p_from )
# segs.drawTo( p_to )
# arrow = segs.create( )
# self.render.attachNewNode(arrow)
# return segs
def draw_movement(self, X, u):
"""
For debug use.
Show the velocity vector and control vector.
"""
p_from = LVector3f(X[0], X[1], X[2]);
v_to = p_from + LVector3f(X[3], X[4], X[5]);
u_to = p_from + LVector3f(u[0], u[1], u[2]);
u_color = Vec4(0.2, 0.8, 0.2, 0.5);
v_color = Vec4(0.8, 0.2, 0.8, 0.5);
return [self.draw_arrow(p_from, v_to, v_color), self.draw_arrow(p_from, u_to, u_color)];
def move_seg(self, vdata, p_from, vec):
"""
Move a segment line to a new position.
Args:
vdata: segment line handle
p_from: new start point
vec: the segment line vector
"""
p_from = LVector3f(p_from[0], p_from[1], p_from[2])
p_to = p_from + LVector3f(vec[0], vec[1], vec[2])
vdata.setVertex(0, p_from)
vdata.setVertex(1, p_to)
# The following functions are required to fill up for new models.
def load_model(self, render, loader, color=[0.1, 0.5, 0.8, 1], scale=0.5):
"""
Load the 3d model to be shown in the GUI
Args:
render : panda3d component
loader : panda3d component
color (list): RGB and alpha
scale (float): scale to zoom the loaded 3d model.
"""
self.color = color
self.render = render
def redraw_model(self):
"""
Refresh the position of the robot model and goal model in the GUI.
"""
pass
def model_auxiliary(self):
"""
This function is for debug use.
"""
pass | [
11748,
299,
32152,
355,
45941,
198,
6738,
299,
32152,
13,
6759,
8019,
1330,
1128,
6759,
198,
6738,
299,
32152,
1330,
1976,
27498,
11,
4151,
11,
3392,
11,
17593,
198,
6738,
299,
32152,
1330,
8615,
11,
7813,
11,
610,
535,
418,
11,
19862,
17034,
11,
31028,
11,
610,
310,
272,
17,
198,
6738,
279,
5282,
18,
67,
13,
7295,
1330,
1635,
198,
6738,
1277,
13,
48317,
13,
13470,
8205,
72,
1330,
1635,
198,
6738,
3384,
4487,
13,
42035,
11869,
1330,
943,
14542,
11869,
198,
198,
4871,
509,
7749,
1512,
17633,
25,
198,
220,
220,
220,
37227,
1212,
318,
262,
2779,
1398,
329,
477,
9379,
8925,
4981,
13,
220,
198,
220,
220,
220,
775,
7048,
262,
4981,
389,
477,
287,
262,
1296,
25,
628,
220,
220,
220,
1058,
11018,
25,
63,
55,
6,
796,
317,
1635,
1395,
1343,
220,
347,
1635,
334,
63,
628,
220,
220,
220,
1058,
11018,
25,
63,
59,
26518,
1395,
220,
796,
220,
277,
87,
1343,
14035,
1635,
334,
63,
198,
220,
220,
220,
220,
198,
220,
220,
220,
4362,
628,
220,
220,
220,
1058,
11018,
25,
63,
55,
6,
796,
1395,
1343,
3467,
26518,
1395,
1635,
288,
51,
63,
628,
220,
220,
220,
3244,
628,
220,
220,
220,
1058,
11018,
25,
63,
21373,
796,
357,
32,
532,
314,
8,
1220,
288,
51,
63,
628,
220,
220,
220,
1058,
11018,
25,
63,
20942,
796,
347,
1220,
288,
51,
63,
628,
220,
220,
220,
775,
655,
761,
284,
11986,
317,
290,
347,
284,
8160,
1180,
8925,
4981,
13,
628,
220,
220,
220,
1318,
389,
734,
1688,
21164,
287,
262,
1630,
9197,
11,
4296,
290,
1445,
13,
554,
262,
4296,
7108,
11,
262,
9379,
481,
4296,
663,
1321,
1912,
319,
262,
2858,
13,
843,
287,
262,
1445,
7108,
11,
262,
9379,
481,
12260,
1630,
5128,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2315,
62,
5219,
11,
5797,
11,
288,
51,
11,
8295,
11,
318,
62,
17,
35,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1212,
2163,
2315,
346,
1096,
262,
9379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2315,
62,
5219,
357,
4868,
2599,
262,
2315,
1181,
286,
262,
9379,
11,
329,
1672,
685,
87,
11,
331,
11,
410,
87,
11,
410,
88,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5797,
357,
17066,
36772,
3419,
2599,
262,
11862,
326,
6973,
428,
9379,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
51,
357,
22468,
2599,
262,
384,
525,
341,
1022,
734,
1630,
5072,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8295,
357,
30388,
2599,
1771,
428,
9379,
318,
18284,
11,
611,
407,
11,
340,
318,
1630,
416,
2836,
5128,
588,
10211,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
17,
35,
357,
30388,
2599,
1771,
428,
2746,
318,
257,
362,
35,
2746,
11,
543,
1724,
340,
460,
691,
1445,
319,
262,
1132,
67,
6614,
13,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
13716,
62,
3919,
786,
796,
657,
13,
2999,
1303,
7838,
5046,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21230,
62,
6381,
796,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8899,
62,
7857,
796,
838,
1303,
3975,
18645,
2546,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
69,
7861,
796,
657,
13,
17,
1303,
15432,
10070,
2494,
583,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
39531,
62,
42172,
796,
657,
13,
19,
1303,
16874,
286,
11898,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1326,
5015,
62,
3919,
786,
796,
657,
13,
2999,
1303,
7838,
5046,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
23736,
28,
25101,
1303,
1771,
318,
1246,
992,
416,
1692,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
49,
6561,
62,
23870,
796,
8633,
3419,
1303,
371,
6561,
12940,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15003,
62,
5219,
796,
45941,
13,
18747,
7,
15003,
62,
5219,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2617,
62,
82,
36921,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
67,
51,
796,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
25781,
796,
5797,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
23736,
796,
8295,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
271,
62,
17,
35,
796,
318,
62,
17,
35,
198,
220,
220,
220,
220,
220,
220,
220,
4661,
796,
45941,
13,
25558,
26933,
37659,
13,
25120,
13,
25192,
7,
3064,
27493,
2116,
13,
8899,
62,
7857,
14,
17,
532,
2116,
13,
8899,
62,
7857,
1220,
604,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
25120,
13,
25192,
7,
3064,
27493,
2116,
13,
8899,
62,
7857,
14,
17,
532,
2116,
13,
8899,
62,
7857,
1220,
604,
11,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
25120,
13,
25192,
7,
3064,
27493,
2116,
13,
8899,
62,
7857,
14,
19,
1343,
2116,
13,
8899,
62,
7857,
1220,
604,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
27498,
7,
3064,
828,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
27498,
7,
3064,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
27498,
7,
3064,
8,
4357,
16488,
28,
15,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42503,
7,
67,
51,
11,
4661,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
565,
418,
395,
62,
55,
7,
37659,
13,
85,
25558,
26933,
940,
11,
940,
11,
940,
11,
15,
11,
15,
11,
15,
60,
4008,
628,
220,
220,
220,
825,
13259,
7,
944,
11,
288,
51,
11,
4661,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1212,
2163,
13259,
262,
9379,
1181,
284,
4238,
11,
290,
900,
262,
4661,
284,
1813,
4661,
13,
770,
2163,
318,
4465,
618,
262,
2836,
761,
284,
787,
1654,
477,
262,
9379,
389,
6789,
739,
262,
976,
3061,
8379,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
51,
357,
22468,
2599,
262,
384,
525,
341,
1022,
734,
1630,
5072,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4661,
357,
358,
18747,
2599,
299,
9,
21,
7177,
286,
3061,
20855,
13,
685,
87,
331,
1976,
657,
657,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
67,
51,
796,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2617,
62,
2188,
874,
7,
2188,
874,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15003,
62,
87,
7,
944,
13,
15003,
62,
5219,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
62,
14363,
796,
1128,
6759,
7,
944,
13,
87,
11,
352,
11,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
77,
796,
45941,
13,
43358,
7,
944,
13,
87,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
39,
796,
17593,
7,
25379,
7,
944,
13,
77,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
74,
282,
805,
62,
47,
796,
17593,
7,
25379,
7,
944,
13,
77,
4008,
1635,
357,
944,
13,
1326,
5015,
62,
3919,
786,
1174,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
62,
395,
796,
2116,
13,
672,
2655,
303,
7,
944,
13,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
796,
17593,
7,
9107,
418,
19510,
21,
11,
16,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
62,
14363,
796,
1128,
6759,
7,
944,
13,
76,
11,
352,
11,
2026,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
62,
28764,
796,
1976,
27498,
19510,
944,
13,
77,
11,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40546,
796,
1128,
6759,
7,
944,
13,
1136,
62,
47,
22784,
352,
11,
1802,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35231,
62,
620,
39591,
796,
657,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12957,
62,
26000,
1166,
62,
2435,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
796,
8633,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
26000,
1166,
62,
66,
429,
20520,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
44708,
20520,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
710,
12423,
62,
6381,
20520,
796,
352,
68,
24,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
45888,
20520,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
79,
17407,
1799,
796,
657,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
565,
418,
395,
62,
55,
7,
37659,
13,
85,
25558,
26933,
940,
11,
940,
11,
940,
11,
15,
11,
15,
11,
15,
60,
4008,
628,
220,
220,
220,
825,
651,
62,
47,
53,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1212,
2163,
1441,
262,
6383,
35610,
2292,
290,
15432,
286,
262,
9379,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31392,
357,
358,
18747,
2599,
718,
9,
16,
7177,
13,
685,
87,
331,
1976,
410,
87,
410,
88,
410,
89,
60,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
85,
25558,
26933,
944,
13,
1136,
62,
47,
22784,
2116,
13,
1136,
62,
53,
3419,
12962,
628,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
277,
87,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
15284,
277,
87,
422,
317,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4362,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
6,
796,
1395,
1343,
16605,
62,
55,
1635,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
3244,
198,
220,
220,
220,
220,
220,
220,
220,
277,
87,
796,
357,
32,
532,
314,
8,
1220,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
944,
13,
32,
3419,
532,
45941,
13,
25379,
7,
37659,
13,
43358,
7,
944,
13,
87,
38381,
15,
60,
4008,
1220,
2116,
13,
67,
51,
1635,
2116,
13,
87,
198,
220,
220,
220,
825,
14035,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
15284,
14035,
422,
347,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4362,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
6,
796,
1395,
1343,
16605,
62,
55,
1635,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
3244,
198,
220,
220,
220,
220,
220,
220,
220,
14035,
796,
347,
1220,
288,
51,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
33,
3419,
1220,
2116,
13,
67,
51,
628,
220,
220,
220,
825,
1226,
83,
62,
84,
7,
944,
11,
334,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7783,
262,
24725,
1630,
5128,
1912,
262,
1813,
4941,
1630,
5128,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
334,
357,
358,
18747,
2599,
4941,
1630,
5128,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
334,
357,
358,
18747,
2599,
24725,
1630,
5128,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
334,
796,
45941,
13,
39504,
7,
84,
11,
220,
2116,
13,
9806,
62,
84,
8,
198,
220,
220,
220,
220,
220,
220,
220,
334,
796,
45941,
13,
47033,
7,
84,
11,
220,
2116,
13,
1084,
62,
84,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
334,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1226,
83,
62,
87,
7,
944,
11,
2124,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7783,
262,
24725,
9379,
1181,
1912,
262,
1813,
4941,
1181,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
357,
358,
18747,
2599,
4941,
1181,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
357,
358,
18747,
2599,
24725,
1181,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
45941,
13,
39504,
7,
87,
11,
220,
2116,
13,
9806,
62,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
45941,
13,
47033,
7,
87,
11,
220,
2116,
13,
1084,
62,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2124,
628,
220,
220,
220,
825,
4296,
62,
26675,
7,
944,
11,
22007,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
262,
8198,
286,
262,
9379,
1912,
319,
262,
3585,
1281,
295,
290,
3585,
15432,
284,
262,
22007,
13,
383,
8198,
389,
973,
284,
3197,
686,
66,
23759,
290,
7716,
13905,
1334,
5753,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22007,
357,
42,
7749,
1512,
17633,
3419,
2599,
262,
22007,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
288,
76,
796,
22007,
13,
76,
532,
2116,
13,
76,
198,
220,
220,
220,
220,
220,
220,
220,
288,
79,
796,
357,
672,
301,
6008,
13,
76,
532,
2116,
13,
76,
8,
30109,
15,
11,
16,
11,
17,
4357,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
288,
85,
796,
357,
672,
301,
6008,
13,
76,
532,
2116,
13,
76,
8,
30109,
18,
11,
19,
11,
20,
4357,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
595,
796,
45941,
13,
75,
1292,
70,
13,
27237,
7,
26059,
8,
198,
220,
220,
220,
220,
220,
220,
220,
410,
62,
404,
796,
45941,
13,
562,
9948,
283,
7,
67,
85,
13,
51,
1635,
288,
79,
1220,
595,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
595,
1279,
2116,
13,
21230,
62,
6381,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
2435,
532,
2116,
13,
12957,
62,
26000,
1166,
62,
2435,
1875,
642,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
26000,
1166,
62,
66,
429,
20520,
796,
2116,
13,
26675,
17816,
26000,
1166,
62,
66,
429,
20520,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12957,
62,
26000,
1166,
62,
2435,
796,
2116,
13,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
410,
62,
404,
1279,
657,
290,
595,
1279,
362,
9,
944,
13,
21230,
62,
6381,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
44708,
20520,
796,
2116,
13,
26675,
17816,
44708,
20520,
1343,
949,
7,
15,
11,
45941,
13,
6404,
7,
6381,
1220,
357,
17,
1635,
2116,
13,
21230,
62,
6381,
8,
1343,
352,
68,
12,
1238,
4008,
1635,
2352,
7,
85,
62,
404,
1776,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13,
26675,
17816,
44708,
20520,
796,
2116,
13,
26675,
17816,
44708,
20520,
1343,
949,
7,
17,
1635,
2116,
13,
21230,
62,
6381,
11,
595,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
710,
12423,
62,
6381,
20520,
796,
949,
7,
944,
13,
26675,
17816,
710,
12423,
62,
6381,
6,
4357,
595,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
26675,
17816,
45888,
20520,
796,
2116,
13,
35231,
62,
620,
39591,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
825,
4296,
7,
944,
11,
22007,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
7108,
13,
352,
13,
4296,
4776,
11,
362,
13,
4296,
3061,
11,
513,
13,
4296,
2116,
1181,
31850,
11,
604,
13,
4296,
262,
16936,
966,
319,
2116,
284,
22007,
11,
642,
13,
15284,
1630,
5128,
11,
718,
13,
4296,
6754,
22942,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22007,
357,
42,
7749,
1512,
17633,
3419,
2599,
262,
22007,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2435,
796,
2116,
13,
2435,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
62,
26675,
7,
672,
301,
6008,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
62,
35231,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
74,
282,
805,
62,
395,
1920,
62,
5219,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
62,
76,
7,
672,
301,
6008,
13,
76,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9948,
66,
62,
13716,
7,
672,
301,
6008,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19119,
62,
40546,
3419,
628,
220,
220,
220,
825,
4296,
62,
40546,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
4296,
12854,
286,
886,
1245,
273,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40546,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
944,
13,
40546,
58,
45299,
16,
25,
4357,
2116,
13,
1136,
62,
47,
3419,
4357,
22704,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
4296,
62,
76,
7,
944,
11,
337,
71,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
262,
16936,
6383,
35610,
966,
319,
2116,
284,
22007,
13,
220,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
71,
357,
358,
18747,
2599,
718,
9,
16,
7177,
11,
6383,
35610,
1281,
295,
290,
15432,
286,
262,
22007,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
796,
2116,
13,
1136,
62,
565,
418,
395,
62,
55,
7,
44,
71,
8,
628,
220,
220,
220,
825,
479,
282,
805,
62,
395,
1920,
62,
5219,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5765,
479,
282,
805,
8106,
284,
4296,
262,
2116,
1181,
31850,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
288,
51,
796,
2116,
13,
67,
51,
198,
220,
220,
220,
220,
220,
220,
220,
317,
796,
2116,
13,
32,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
347,
796,
2116,
13,
33,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1195,
796,
347,
1635,
347,
13,
51,
1635,
357,
944,
13,
13716,
62,
3919,
786,
8,
1174,
17,
1303,
11206,
3509,
62,
64,
1220,
362,
355,
264,
13495,
13,
780,
6957,
2,
1411,
286,
1988,
6486,
287,
38779,
12,
17,
9,
82,
13495,
284,
38779,
10,
17,
9,
82,
13495,
198,
220,
220,
220,
220,
220,
220,
220,
371,
796,
17593,
7,
25379,
7,
944,
13,
77,
4008,
1635,
357,
944,
13,
1326,
5015,
62,
3919,
786,
1174,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
314,
796,
17593,
7,
25379,
7,
944,
13,
77,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
350,
796,
2116,
13,
74,
282,
805,
62,
47,
198,
220,
220,
220,
220,
220,
220,
220,
367,
796,
2116,
13,
39,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
28764,
796,
317,
1635,
2116,
13,
87,
62,
395,
1343,
347,
1635,
2116,
13,
84,
198,
220,
220,
220,
220,
220,
220,
220,
350,
796,
317,
1635,
350,
1635,
317,
13,
51,
1343,
1195,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
796,
2116,
13,
672,
2655,
303,
7,
944,
13,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
331,
796,
1976,
532,
2116,
13,
39,
1635,
2124,
62,
28764,
198,
220,
220,
220,
220,
220,
220,
220,
311,
796,
371,
1343,
367,
1635,
350,
1635,
367,
13,
51,
198,
220,
220,
220,
220,
220,
220,
220,
509,
796,
350,
1635,
367,
13,
51,
1635,
45941,
13,
75,
1292,
70,
13,
16340,
7,
50,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
395,
796,
2124,
62,
28764,
1343,
509,
1635,
331,
198,
220,
220,
220,
220,
220,
220,
220,
350,
796,
357,
40,
532,
509,
9,
39,
8,
1635,
350,
1635,
357,
40,
532,
509,
9,
39,
737,
51,
1343,
509,
1635,
371,
1635,
509,
13,
51,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
74,
282,
805,
62,
47,
796,
350,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
62,
395,
796,
2116,
13,
69,
2326,
62,
87,
7,
87,
62,
395,
8,
1303,
3467,
5183,
2124,
7,
74,
91,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
62,
28764,
796,
2116,
13,
69,
2326,
62,
87,
7,
32,
1635,
2116,
13,
87,
62,
395,
1343,
347,
1635,
2116,
13,
84,
8,
1303,
3467,
5183,
2124,
7,
74,
10,
16,
91,
74,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2124,
62,
395,
628,
220,
220,
220,
825,
42302,
62,
13716,
7,
944,
11,
22007,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2980,
378,
1630,
5128,
416,
262,
5797,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22007,
357,
42,
7749,
1512,
17633,
3419,
2599,
262,
22007,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
288,
51,
796,
2116,
13,
67,
51,
198,
220,
220,
220,
220,
220,
220,
220,
3061,
796,
2116,
13,
35231,
198,
220,
220,
220,
220,
220,
220,
220,
277,
87,
796,
2116,
13,
21373,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
14035,
796,
2116,
13,
20942,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
81,
796,
2116,
13,
87,
62,
395,
198,
220,
220,
220,
220,
220,
220,
220,
1395,
71,
796,
22007,
13,
87,
62,
395,
198,
220,
220,
220,
220,
220,
220,
220,
1770,
796,
2116,
13,
76,
198,
220,
220,
220,
220,
220,
220,
220,
337,
71,
796,
22007,
13,
76,
198,
220,
220,
220,
220,
220,
220,
220,
16605,
62,
55,
81,
796,
2116,
13,
26518,
62,
55,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
16605,
62,
55,
71,
796,
22007,
13,
26518,
62,
55,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
5246,
62,
79,
62,
55,
81,
796,
2116,
13,
79,
62,
44,
62,
79,
62,
55,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
44,
71,
62,
79,
62,
55,
71,
796,
22007,
13,
79,
62,
44,
62,
79,
62,
55,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
334,
15,
796,
2116,
13,
84,
62,
5420,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
949,
62,
84,
796,
2116,
13,
1084,
62,
84,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
84,
796,
2116,
13,
9806,
62,
84,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
84,
796,
2116,
13,
25781,
13,
9948,
66,
62,
13716,
62,
15414,
7,
67,
51,
11,
3061,
11,
277,
87,
11,
14035,
11,
1395,
81,
11,
1395,
71,
11,
16605,
62,
55,
81,
11,
16605,
62,
55,
71,
11,
1770,
11,
337,
71,
11,
279,
62,
5246,
62,
79,
62,
55,
81,
11,
279,
62,
44,
71,
62,
79,
62,
55,
71,
11,
334,
15,
11,
949,
62,
84,
11,
3509,
62,
84,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
84,
796,
2116,
13,
69,
2326,
62,
84,
7,
944,
13,
84,
8,
628,
220,
220,
220,
825,
16605,
62,
55,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3274,
1502,
31850,
286,
16605,
62,
55,
1262,
1459,
1181,
290,
938,
1181,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
944,
13,
87,
532,
2116,
13,
87,
62,
14363,
58,
25,
12095,
17,
12962,
1220,
2116,
13,
67,
51,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1441,
357,
944,
13,
87,
62,
28764,
532,
2116,
13,
87,
62,
395,
8,
1220,
2116,
13,
67,
51,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
1445,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10028,
7108,
13,
1052,
4738,
30497,
318,
2087,
284,
262,
1630,
5128,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
796,
2116,
13,
32,
3419,
1635,
2116,
13,
87,
1343,
2116,
13,
33,
3419,
1635,
357,
944,
13,
84,
1343,
45941,
13,
25120,
13,
25192,
77,
7,
37659,
13,
43358,
7,
944,
13,
84,
38381,
15,
4357,
16,
8,
1635,
2116,
13,
13716,
62,
3919,
786,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
796,
2116,
13,
69,
2326,
62,
87,
7,
944,
13,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
87,
62,
14363,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
944,
13,
87,
62,
14363,
58,
45299,
16,
25,
4357,
2116,
13,
87,
4357,
22704,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
76,
62,
14363,
796,
45941,
13,
1102,
9246,
268,
378,
26933,
944,
13,
76,
62,
14363,
58,
45299,
16,
25,
4357,
2116,
13,
76,
4357,
16488,
28,
16,
8,
198,
198,
2,
383,
1708,
5499,
389,
2672,
284,
6070,
510,
329,
649,
4981,
13,
628,
220,
220,
220,
825,
2315,
62,
87,
7,
944,
11,
2315,
62,
5219,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2315,
1181,
2124,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
900,
62,
82,
36921,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
949,
290,
3509,
2005,
572,
329,
1181,
2124,
290,
1630,
334,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
651,
62,
47,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
2292,
287,
262,
13690,
271,
666,
2272,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
651,
62,
53,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8229,
15432,
287,
262,
13690,
271,
666,
2272,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
900,
62,
47,
7,
944,
11,
279,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
2292,
287,
262,
13690,
271,
666,
2272,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
357,
358,
18747,
2599,
2292,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
900,
62,
53,
7,
944,
11,
410,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5345,
15432,
287,
262,
13690,
271,
666,
2272,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
357,
358,
18747,
2599,
15432,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
317,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
40658,
17593,
317,
355,
4893,
287,
262,
1398,
6770,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
347,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
40658,
17593,
347,
355,
4893,
287,
262,
1398,
6770,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
651,
62,
565,
418,
395,
62,
55,
7,
944,
11,
337,
71,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10133,
262,
11188,
1181,
286,
262,
16936,
6383,
35610,
966,
319,
2116,
284,
22007,
13,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
71,
357,
358,
18747,
2599,
718,
9,
16,
7177,
11,
6383,
35610,
1281,
295,
290,
15432,
286,
262,
22007,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
279,
62,
44,
62,
79,
62,
55,
7,
944,
2599,
1303,
279,
11706,
966,
279,
1395,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
288,
44,
1220,
288,
55,
11,
262,
27255,
286,
262,
16936,
6383,
35610,
966,
284,
9379,
1181,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
8636,
62,
5219,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1812,
3959,
729,
24955,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
334,
62,
5420,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
20984,
1630,
5128,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
198,
7804,
4242,
2235,
19840,
1303,
7804,
4242,
2,
628,
220,
220,
220,
825,
751,
62,
2777,
1456,
7,
944,
11,
1426,
11,
3124,
11,
5046,
28,
15,
13,
20,
11,
8543,
62,
17440,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3060,
257,
16558,
2746,
656,
262,
3715,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
25,
2292,
284,
1295,
262,
16558,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
25,
3124,
286,
262,
16558,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5046,
25,
5046,
284,
19792,
262,
16558,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8543,
62,
17440,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8543,
62,
17440,
796,
2116,
13,
13287,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
796,
40213,
13,
2220,
17633,
7203,
31092,
14,
47427,
62,
2777,
1456,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
13,
7856,
1580,
2514,
7,
13287,
62,
17440,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
13,
2617,
8291,
11944,
7,
8291,
11944,
8086,
822,
13,
44,
38077,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
13,
2617,
10258,
7,
8043,
58,
15,
4357,
3124,
58,
16,
4357,
3124,
58,
17,
4357,
3124,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
13,
2617,
29990,
7,
9888,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
13,
2617,
21604,
7,
1930,
58,
15,
4357,
1426,
58,
16,
4357,
1426,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1005,
26,
628,
220,
220,
220,
825,
3197,
62,
40546,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5438,
262,
12854,
286,
262,
886,
1245,
273,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
944,
11,
705,
40546,
62,
1370,
62,
28144,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40546,
62,
1370,
62,
28144,
13,
28956,
19667,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
384,
14542,
796,
6910,
41030,
82,
7,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
384,
14542,
13,
2617,
817,
624,
1108,
7,
642,
13,
15,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
384,
14542,
13,
2617,
10258,
7,
944,
13,
8043,
58,
15,
4357,
2116,
13,
8043,
58,
16,
4357,
2116,
13,
8043,
58,
17,
4357,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
6738,
796,
24981,
9250,
18,
69,
7,
944,
13,
40546,
58,
15,
11,
15,
4357,
2116,
13,
40546,
58,
16,
11,
15,
4357,
2116,
13,
40546,
58,
17,
11,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
384,
14542,
13,
21084,
2514,
7,
279,
62,
6738,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
37659,
13,
43358,
7,
944,
13,
40546,
38381,
16,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
62,
1462,
796,
24981,
9250,
18,
69,
7,
944,
13,
40546,
58,
15,
11,
72,
4357,
2116,
13,
40546,
58,
16,
11,
72,
4357,
2116,
13,
40546,
58,
17,
11,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
384,
14542,
13,
2617,
10258,
7,
944,
13,
8043,
58,
15,
4357,
2116,
13,
8043,
58,
16,
4357,
2116,
13,
8043,
58,
17,
4357,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
384,
14542,
13,
19334,
2514,
7,
279,
62,
1462,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
1370,
796,
384,
14542,
13,
17953,
7,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40546,
62,
1370,
62,
28144,
796,
2116,
13,
13287,
13,
47348,
3791,
19667,
7,
40546,
62,
1370,
1776,
628,
220,
220,
220,
1303,
825,
3197,
62,
6018,
7,
944,
11,
279,
62,
6738,
11,
279,
62,
1462,
11,
3124,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
384,
14542,
796,
6910,
41030,
82,
7,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
384,
14542,
13,
2617,
817,
624,
1108,
7,
1160,
13,
15,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
384,
14542,
13,
2617,
10258,
7,
3124,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
384,
14542,
13,
21084,
2514,
7,
279,
62,
6738,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
384,
14542,
13,
19334,
2514,
7,
279,
62,
1462,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
15452,
796,
384,
14542,
13,
17953,
7,
1267,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
2116,
13,
13287,
13,
47348,
3791,
19667,
7,
6018,
8,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
1441,
384,
14542,
628,
220,
220,
220,
825,
3197,
62,
21084,
434,
7,
944,
11,
1395,
11,
334,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1114,
14257,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5438,
262,
15432,
15879,
290,
1630,
15879,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
6738,
796,
24981,
9250,
18,
69,
7,
55,
58,
15,
4357,
1395,
58,
16,
4357,
1395,
58,
17,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
410,
62,
1462,
796,
279,
62,
6738,
1343,
24981,
9250,
18,
69,
7,
55,
58,
18,
4357,
1395,
58,
19,
4357,
1395,
58,
20,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
334,
62,
1462,
796,
279,
62,
6738,
1343,
24981,
9250,
18,
69,
7,
84,
58,
15,
4357,
334,
58,
16,
4357,
334,
58,
17,
36563,
198,
220,
220,
220,
220,
220,
220,
220,
334,
62,
8043,
796,
38692,
19,
7,
15,
13,
17,
11,
657,
13,
23,
11,
657,
13,
17,
11,
657,
13,
20,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
410,
62,
8043,
796,
38692,
19,
7,
15,
13,
23,
11,
657,
13,
17,
11,
657,
13,
23,
11,
657,
13,
20,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
944,
13,
19334,
62,
6018,
7,
79,
62,
6738,
11,
410,
62,
1462,
11,
410,
62,
8043,
828,
2116,
13,
19334,
62,
6018,
7,
79,
62,
6738,
11,
334,
62,
1462,
11,
334,
62,
8043,
8,
11208,
628,
220,
220,
220,
825,
1445,
62,
325,
70,
7,
944,
11,
410,
7890,
11,
279,
62,
6738,
11,
43030,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10028,
257,
10618,
1627,
284,
257,
649,
2292,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
7890,
25,
10618,
1627,
5412,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
62,
6738,
25,
649,
923,
966,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
43030,
25,
262,
10618,
1627,
15879,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
6738,
796,
24981,
9250,
18,
69,
7,
79,
62,
6738,
58,
15,
4357,
279,
62,
6738,
58,
16,
4357,
279,
62,
6738,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
1462,
796,
279,
62,
6738,
1343,
24981,
9250,
18,
69,
7,
35138,
58,
15,
4357,
43030,
58,
16,
4357,
43030,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
410,
7890,
13,
2617,
13414,
16886,
7,
15,
11,
279,
62,
6738,
8,
198,
220,
220,
220,
220,
220,
220,
220,
410,
7890,
13,
2617,
13414,
16886,
7,
16,
11,
279,
62,
1462,
8,
220,
220,
198,
198,
2,
383,
1708,
5499,
389,
2672,
284,
6070,
510,
329,
649,
4981,
13,
628,
220,
220,
220,
825,
3440,
62,
19849,
7,
944,
11,
8543,
11,
40213,
11,
3124,
41888,
15,
13,
16,
11,
657,
13,
20,
11,
657,
13,
23,
11,
352,
4357,
5046,
28,
15,
13,
20,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8778,
262,
513,
67,
2746,
284,
307,
3402,
287,
262,
25757,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8543,
1058,
279,
5282,
18,
67,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40213,
1058,
279,
5282,
18,
67,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3124,
357,
4868,
2599,
25228,
290,
17130,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5046,
357,
22468,
2599,
5046,
284,
19792,
262,
9639,
513,
67,
2746,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8043,
796,
3124,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
13287,
796,
8543,
628,
220,
220,
220,
825,
2266,
1831,
62,
19849,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
22539,
262,
2292,
286,
262,
9379,
2746,
290,
3061,
2746,
287,
262,
25757,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
825,
2746,
62,
14644,
28129,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
318,
329,
14257,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1208
] | 2.037696 | 7,189 |
""" A collection of utility methods
:Authors: Sana dev team
:Version: 1.1
"""
import os, sys, traceback
import time
import logging
import cjson
from django.conf import settings
LOGGING_ENABLED = 'LOGGING_ENABLE'
LOGGING_START = 'LOGGING_START_TIME'
def trace(f):
"""Decorator to add traces to a method.
"""
new_f.func_name = f.func_name
return new_f
def log_traceback(logging):
"""Prints the traceback for the most recently caught exception to the log
and returns a nicely formatted message.
"""
et, val, tb = sys.exc_info()
trace = traceback.format_tb(tb)
stack = traceback.extract_tb(tb)
for item in stack:
logging.error(traceback.format_tb(item))
mod = stack[0]
return "Exception : %s %s %s" % (et, val, trace[0])
def flush(flushable):
""" Removes data stored for a model instance cached in this servers data
stores
flushable => a instance of a class which provides a flush method
"""
flush_setting = 'FLUSH_'+flushable.__class__.__name__.upper()
if getattr(settings, flush_setting):
flushable.flush()
def mark(module, line,*args):
""" in code tracing util for debugging """
print('Mark %s.%s: %s' % (module, line, args))
| [
37811,
317,
4947,
286,
10361,
5050,
198,
198,
25,
30515,
669,
25,
44500,
1614,
1074,
198,
25,
14815,
25,
352,
13,
16,
198,
37811,
198,
198,
11748,
28686,
11,
25064,
11,
12854,
1891,
198,
11748,
640,
198,
11748,
18931,
198,
11748,
269,
17752,
198,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
198,
198,
25294,
38,
2751,
62,
1677,
6242,
30465,
796,
705,
25294,
38,
2751,
62,
1677,
17534,
6,
198,
25294,
38,
2751,
62,
2257,
7227,
796,
705,
25294,
38,
2751,
62,
2257,
7227,
62,
34694,
6,
628,
198,
4299,
12854,
7,
69,
2599,
198,
220,
220,
220,
37227,
10707,
273,
1352,
284,
751,
20675,
284,
257,
2446,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
649,
62,
69,
13,
20786,
62,
3672,
796,
277,
13,
20786,
62,
3672,
198,
220,
220,
220,
1441,
649,
62,
69,
628,
628,
198,
4299,
2604,
62,
40546,
1891,
7,
6404,
2667,
2599,
198,
220,
220,
220,
37227,
18557,
82,
262,
12854,
1891,
329,
262,
749,
2904,
4978,
6631,
284,
262,
2604,
220,
198,
220,
220,
220,
290,
5860,
257,
16576,
39559,
3275,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2123,
11,
1188,
11,
256,
65,
796,
25064,
13,
41194,
62,
10951,
3419,
198,
220,
220,
220,
12854,
796,
12854,
1891,
13,
18982,
62,
83,
65,
7,
83,
65,
8,
198,
220,
220,
220,
8931,
796,
12854,
1891,
13,
2302,
974,
62,
83,
65,
7,
83,
65,
8,
198,
220,
220,
220,
329,
2378,
287,
8931,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
7,
40546,
1891,
13,
18982,
62,
83,
65,
7,
9186,
4008,
198,
220,
220,
220,
953,
796,
8931,
58,
15,
60,
198,
220,
220,
220,
1441,
366,
16922,
1058,
4064,
82,
4064,
82,
4064,
82,
1,
4064,
357,
316,
11,
1188,
11,
12854,
58,
15,
12962,
198,
220,
220,
220,
220,
198,
198,
4299,
24773,
7,
25925,
540,
2599,
198,
220,
220,
220,
37227,
3982,
5241,
1366,
8574,
329,
257,
2746,
4554,
39986,
287,
428,
9597,
1366,
220,
198,
220,
220,
220,
220,
220,
220,
220,
7000,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
24773,
540,
5218,
257,
4554,
286,
257,
1398,
543,
3769,
257,
24773,
2446,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
24773,
62,
33990,
796,
705,
3697,
27143,
62,
6,
10,
25925,
540,
13,
834,
4871,
834,
13,
834,
3672,
834,
13,
45828,
3419,
198,
220,
220,
220,
611,
651,
35226,
7,
33692,
11,
24773,
62,
33990,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
24773,
540,
13,
25925,
3419,
198,
198,
4299,
1317,
7,
21412,
11,
1627,
11,
9,
22046,
2599,
198,
220,
220,
220,
37227,
287,
2438,
35328,
7736,
329,
28769,
37227,
198,
220,
220,
220,
3601,
10786,
9704,
4064,
82,
13,
4,
82,
25,
4064,
82,
6,
4064,
357,
21412,
11,
1627,
11,
26498,
4008,
628,
628,
198
] | 2.610766 | 483 |
from app.models.user import User
from app.models.role import Role
from app.core.security import get_password_hash
| [
6738,
598,
13,
27530,
13,
7220,
1330,
11787,
198,
6738,
598,
13,
27530,
13,
18090,
1330,
20934,
198,
6738,
598,
13,
7295,
13,
12961,
1330,
651,
62,
28712,
62,
17831,
628,
628,
628,
628,
628,
628,
628,
628,
198
] | 3.333333 | 39 |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2017 Lenovo
#
# 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.
# this will implement noderange grammar
import confluent.exceptions as exc
import codecs
import struct
import eventlet.green.socket as socket
import eventlet.support.greendns
getaddrinfo = eventlet.support.greendns.getaddrinfo
# TODO(jjohnson2): have a method to arbitrate setting methods, to aid
# in correct matching of net.* based on parameters, mainly for pxe
# The scheme for pxe:
# For one: the candidate net.* should have pxe set to true, to help
# disambiguate from interfaces meant for bmc access
# bmc relies upon hardwaremanagement.manager, plus we don't collect
# that mac address
# the ip as reported by recvmsg to match the subnet of that net.* interface
# if switch and port available, that should match.
def get_nic_config(configmanager, node, ip=None, mac=None):
"""Fetch network configuration parameters for a nic
For a given node and interface, find and retrieve the pertinent network
configuration data. The desired configuration can be searched
either by ip or by mac.
:param configmanager: The relevant confluent.config.ConfigManager
instance.
:param node: The name of the node
:param ip: An IP address on the intended subnet
:param mac: The mac address of the interface
:returns: A dict of parameters, 'ipv4_gateway', ....
"""
# ip parameter *could* be the result of recvmsg with cmsg to tell
# pxe *our* ip address, or it could be the desired ip address
#TODO(jjohnson2): ip address, prefix length, mac address,
# join a bond/bridge, vlan configs, etc.
# also other nic criteria, physical location, driver and index...
nodenetattribs = configmanager.get_node_attributes(
node, 'net*.ipv4_gateway').get(node, {})
cfgdata = {
'ipv4_gateway': None,
'prefix': None,
}
if ip is not None:
prefixlen = get_prefix_len_for_ip(ip)
cfgdata['prefix'] = prefixlen
for setting in nodenetattribs:
gw = nodenetattribs[setting].get('value', None)
if gw is None or not gw:
continue
if ip_on_same_subnet(ip, gw, prefixlen):
cfgdata['ipv4_gateway'] = gw
break
return cfgdata
def addresses_match(addr1, addr2):
"""Check two network addresses for similarity
Is it zero padded in one place, not zero padded in another? Is one place by name and another by IP??
Is one context getting a normal IPv4 address and another getting IPv4 in IPv6 notation?
This function examines the two given names, performing the required changes to compare them for equivalency
:param addr1:
:param addr2:
:return: True if the given addresses refer to the same thing
"""
for addrinfo in socket.getaddrinfo(addr1, 0, 0, socket.SOCK_STREAM):
rootaddr1 = socket.inet_pton(addrinfo[0], addrinfo[4][0])
if addrinfo[0] == socket.AF_INET6 and rootaddr1[:12] == b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff':
# normalize to standard IPv4
rootaddr1 = rootaddr1[-4:]
for otherinfo in socket.getaddrinfo(addr2, 0, 0, socket.SOCK_STREAM):
otheraddr = socket.inet_pton(otherinfo[0], otherinfo[4][0])
if otherinfo[0] == socket.AF_INET6 and otheraddr[:12] == b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff':
otheraddr = otheraddr[-4:]
if otheraddr == rootaddr1:
return True
return False
| [
2,
43907,
25,
7400,
11338,
28,
19,
6482,
10394,
28,
19,
2705,
8658,
11338,
28,
19,
198,
198,
2,
15069,
2177,
40269,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
2,
428,
481,
3494,
299,
12342,
858,
23491,
628,
198,
11748,
1013,
28216,
13,
1069,
11755,
355,
2859,
198,
11748,
40481,
82,
198,
11748,
2878,
198,
11748,
1785,
1616,
13,
14809,
13,
44971,
355,
17802,
198,
11748,
1785,
1616,
13,
11284,
13,
16694,
437,
5907,
198,
1136,
29851,
10951,
796,
1785,
1616,
13,
11284,
13,
16694,
437,
5907,
13,
1136,
29851,
10951,
628,
198,
198,
2,
16926,
46,
7,
73,
30686,
1559,
17,
2599,
423,
257,
2446,
284,
9277,
4873,
4634,
5050,
11,
284,
6133,
198,
2,
287,
3376,
12336,
286,
2010,
15885,
1912,
319,
10007,
11,
8384,
329,
279,
27705,
198,
2,
383,
7791,
329,
279,
27705,
25,
198,
2,
1114,
530,
25,
262,
4540,
2010,
15885,
815,
423,
279,
27705,
900,
284,
2081,
11,
284,
1037,
198,
2,
595,
4131,
328,
4985,
422,
20314,
4001,
329,
275,
23209,
1895,
198,
2,
275,
23209,
16507,
2402,
6890,
27604,
13,
37153,
11,
5556,
356,
836,
470,
2824,
198,
2,
326,
8352,
2209,
198,
2,
262,
20966,
355,
2098,
416,
664,
85,
19662,
284,
2872,
262,
850,
3262,
286,
326,
2010,
15885,
7071,
198,
2,
611,
5078,
290,
2493,
1695,
11,
326,
815,
2872,
13,
198,
4299,
651,
62,
6988,
62,
11250,
7,
11250,
37153,
11,
10139,
11,
20966,
28,
14202,
11,
8352,
28,
14202,
2599,
198,
220,
220,
220,
37227,
37,
7569,
3127,
8398,
10007,
329,
257,
9200,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1114,
257,
1813,
10139,
290,
7071,
11,
1064,
290,
19818,
262,
35268,
3127,
198,
220,
220,
220,
8398,
1366,
13,
220,
383,
10348,
8398,
460,
307,
16499,
198,
220,
220,
220,
2035,
416,
20966,
393,
416,
8352,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
4566,
37153,
25,
383,
5981,
1013,
28216,
13,
11250,
13,
16934,
13511,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4554,
13,
198,
220,
220,
220,
1058,
17143,
10139,
25,
220,
383,
1438,
286,
262,
10139,
198,
220,
220,
220,
1058,
17143,
20966,
25,
220,
1052,
6101,
2209,
319,
262,
5292,
850,
3262,
198,
220,
220,
220,
1058,
17143,
8352,
25,
383,
8352,
2209,
286,
262,
7071,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
7783,
82,
25,
317,
8633,
286,
10007,
11,
705,
541,
85,
19,
62,
10494,
1014,
3256,
19424,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
20966,
11507,
1635,
24089,
9,
307,
262,
1255,
286,
664,
85,
19662,
351,
269,
19662,
284,
1560,
198,
220,
220,
220,
1303,
279,
27705,
1635,
454,
9,
20966,
2209,
11,
393,
340,
714,
307,
262,
10348,
20966,
2209,
198,
220,
220,
220,
1303,
51,
3727,
46,
7,
73,
30686,
1559,
17,
2599,
20966,
2209,
11,
21231,
4129,
11,
8352,
2209,
11,
198,
220,
220,
220,
1303,
4654,
257,
6314,
14,
9458,
11,
410,
9620,
4566,
82,
11,
3503,
13,
198,
220,
220,
220,
1303,
635,
584,
9200,
9987,
11,
3518,
4067,
11,
4639,
290,
6376,
986,
198,
220,
220,
220,
18666,
268,
316,
1078,
822,
82,
796,
4566,
37153,
13,
1136,
62,
17440,
62,
1078,
7657,
7,
198,
220,
220,
220,
220,
220,
220,
220,
10139,
11,
705,
3262,
24620,
541,
85,
19,
62,
10494,
1014,
27691,
1136,
7,
17440,
11,
23884,
8,
198,
220,
220,
220,
30218,
70,
7890,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
541,
85,
19,
62,
10494,
1014,
10354,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
40290,
10354,
6045,
11,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
611,
20966,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
21231,
11925,
796,
651,
62,
40290,
62,
11925,
62,
1640,
62,
541,
7,
541,
8,
198,
220,
220,
220,
220,
220,
220,
220,
30218,
70,
7890,
17816,
40290,
20520,
796,
21231,
11925,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4634,
287,
18666,
268,
316,
1078,
822,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
86,
796,
18666,
268,
316,
1078,
822,
82,
58,
33990,
4083,
1136,
10786,
8367,
3256,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
308,
86,
318,
6045,
393,
407,
308,
86,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
20966,
62,
261,
62,
31642,
62,
7266,
3262,
7,
541,
11,
308,
86,
11,
21231,
11925,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30218,
70,
7890,
17816,
541,
85,
19,
62,
10494,
1014,
20520,
796,
308,
86,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
1441,
30218,
70,
7890,
628,
198,
4299,
9405,
62,
15699,
7,
29851,
16,
11,
37817,
17,
2599,
198,
220,
220,
220,
37227,
9787,
734,
3127,
9405,
329,
26789,
628,
220,
220,
220,
1148,
340,
6632,
44582,
287,
530,
1295,
11,
407,
6632,
44582,
287,
1194,
30,
220,
1148,
530,
1295,
416,
1438,
290,
1194,
416,
6101,
3548,
198,
220,
220,
220,
1148,
530,
4732,
1972,
257,
3487,
25961,
19,
2209,
290,
1194,
1972,
25961,
19,
287,
25961,
21,
33274,
30,
198,
220,
220,
220,
770,
2163,
28025,
262,
734,
1813,
3891,
11,
9489,
262,
2672,
2458,
284,
8996,
606,
329,
6854,
1387,
628,
220,
220,
220,
1058,
17143,
37817,
16,
25,
198,
220,
220,
220,
1058,
17143,
37817,
17,
25,
198,
220,
220,
220,
1058,
7783,
25,
6407,
611,
262,
1813,
9405,
3522,
284,
262,
976,
1517,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
329,
37817,
10951,
287,
17802,
13,
1136,
29851,
10951,
7,
29851,
16,
11,
657,
11,
657,
11,
17802,
13,
50,
11290,
62,
2257,
32235,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
6808,
29851,
16,
796,
17802,
13,
42504,
62,
10972,
7,
29851,
10951,
58,
15,
4357,
37817,
10951,
58,
19,
7131,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
611,
37817,
10951,
58,
15,
60,
6624,
17802,
13,
8579,
62,
1268,
2767,
21,
290,
6808,
29851,
16,
58,
25,
1065,
60,
6624,
275,
6,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
47596,
59,
47596,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3487,
1096,
284,
3210,
25961,
19,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6808,
29851,
16,
796,
6808,
29851,
16,
58,
12,
19,
47715,
198,
220,
220,
220,
220,
220,
220,
220,
329,
584,
10951,
287,
17802,
13,
1136,
29851,
10951,
7,
29851,
17,
11,
657,
11,
657,
11,
17802,
13,
50,
11290,
62,
2257,
32235,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
584,
29851,
796,
17802,
13,
42504,
62,
10972,
7,
847,
10951,
58,
15,
4357,
584,
10951,
58,
19,
7131,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
584,
10951,
58,
15,
60,
6624,
17802,
13,
8579,
62,
1268,
2767,
21,
290,
584,
29851,
58,
25,
1065,
60,
6624,
275,
6,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
87,
405,
59,
47596,
59,
47596,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
584,
29851,
796,
584,
29851,
58,
12,
19,
47715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
584,
29851,
6624,
6808,
29851,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
1441,
10352,
198
] | 2.757432 | 1,480 |
# !/usr/bin/env python
# -*- coding: UTF-8 -*-
from flask import Flask
app=Flask(__name__)
# app.config.from_pyfile('config.ini')
# app.config.from_envvar('FLASKCONFIG')
@app.route('/')
if __name__ == '__main__':
print(app.url_map)
app.run(host="0.0.0.0", port=5000, debug = True)
| [
2,
5145,
14,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
41002,
12,
23,
532,
9,
12,
198,
198,
6738,
42903,
1330,
46947,
198,
1324,
28,
7414,
2093,
7,
834,
3672,
834,
8,
198,
2,
598,
13,
11250,
13,
6738,
62,
9078,
7753,
10786,
11250,
13,
5362,
11537,
198,
2,
598,
13,
11250,
13,
6738,
62,
24330,
7785,
10786,
3697,
1921,
42,
10943,
16254,
11537,
198,
198,
31,
1324,
13,
38629,
10786,
14,
11537,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3601,
7,
1324,
13,
6371,
62,
8899,
8,
198,
220,
220,
220,
598,
13,
5143,
7,
4774,
2625,
15,
13,
15,
13,
15,
13,
15,
1600,
2493,
28,
27641,
11,
14257,
796,
6407,
8,
198
] | 2.246154 | 130 |
# -*- coding: utf-8 -*-
import csv
def convert_empty_to_none(val):
'''Converts empty or "None" strings to None Types
Arguments:
val: The field to be converted
Returns:
The passed value if the value is not an empty string or
'None', ``None`` otherwise.
'''
return val if val not in ['', 'None'] else None
def extract(file_target, first_row_headers=[]):
'''Pulls csv data out of a file target.
Arguments:
file_target: a file object
Keyword Arguments:
first_row_headers: An optional list of headers that can
be used as the keys in the returned DictReader
Returns:
A :py:class:`~csv.DictReader` object.
'''
data = []
with open(file_target, 'rU') as f:
fieldnames = first_row_headers if len(first_row_headers) > 0 else None
reader = csv.DictReader(f, fieldnames=fieldnames)
for row in reader:
data.append(row)
return data
def determine_company_contact(row):
'''Convert input data to
Arguments:
row: An input row of data from an input spreadsheet
Returns:
A dict object which can be used to create a new
:py:class:`~purchasing.data.companies.CompanyContact`
object
'''
try:
first_name, last_name = row.get('CONTACT').split()
except:
first_name, last_name = None, None
try:
tmp = row.get('ADDRESS2')
city = tmp.split(',')[0]
state, zip_code = tmp.split(',')[1].split()
if '-' in zip_code:
zip_code = zip_code.split('-')[0]
except:
city, state, zip_code = None, None, None
_first_name = convert_empty_to_none(first_name)
_last_name = convert_empty_to_none(last_name)
_addr1 = convert_empty_to_none(row.get('ADDRESS1'))
_city = convert_empty_to_none(city)
_state = convert_empty_to_none(state)
_zip_code = convert_empty_to_none(zip_code)
_phone_number = convert_empty_to_none(row.get('PHONE #'))
_fax_number = convert_empty_to_none(row.get('FAX #'))
_email = convert_empty_to_none(row.get('E-MAIL ADDRESS'))
if any(
(_first_name, _last_name, _addr1, _city, _state, _zip_code, _phone_number, _fax_number, _email)
):
return (dict(
first_name=_first_name, last_name=_last_name,
addr1=_addr1, city=_city, state=_state,
zip_code=_zip_code, phone_number=_phone_number,
fax_number=_fax_number, email=_email
))
return None
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
269,
21370,
198,
198,
4299,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
2100,
2599,
198,
220,
220,
220,
705,
7061,
3103,
24040,
6565,
393,
366,
14202,
1,
13042,
284,
6045,
24897,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1188,
25,
383,
2214,
284,
307,
11513,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3804,
1988,
611,
262,
1988,
318,
407,
281,
6565,
4731,
393,
198,
220,
220,
220,
220,
220,
220,
220,
705,
14202,
3256,
7559,
14202,
15506,
4306,
13,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
1441,
1188,
611,
1188,
407,
287,
37250,
3256,
705,
14202,
20520,
2073,
6045,
198,
198,
4299,
7925,
7,
7753,
62,
16793,
11,
717,
62,
808,
62,
50145,
28,
21737,
2599,
198,
220,
220,
220,
705,
7061,
42940,
82,
269,
21370,
1366,
503,
286,
257,
2393,
2496,
13,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
16793,
25,
257,
2393,
2134,
628,
220,
220,
220,
7383,
4775,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
808,
62,
50145,
25,
1052,
11902,
1351,
286,
24697,
326,
460,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
307,
973,
355,
262,
8251,
287,
262,
4504,
360,
713,
33634,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
317,
1058,
9078,
25,
4871,
25,
63,
93,
40664,
13,
35,
713,
33634,
63,
2134,
13,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
1366,
796,
17635,
628,
220,
220,
220,
351,
1280,
7,
7753,
62,
16793,
11,
705,
81,
52,
11537,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2214,
14933,
796,
717,
62,
808,
62,
50145,
611,
18896,
7,
11085,
62,
808,
62,
50145,
8,
1875,
657,
2073,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
9173,
796,
269,
21370,
13,
35,
713,
33634,
7,
69,
11,
2214,
14933,
28,
3245,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
9173,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
13,
33295,
7,
808,
8,
628,
220,
220,
220,
1441,
1366,
198,
198,
4299,
5004,
62,
39722,
62,
32057,
7,
808,
2599,
198,
220,
220,
220,
705,
7061,
3103,
1851,
5128,
1366,
284,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5752,
25,
1052,
5128,
5752,
286,
1366,
422,
281,
5128,
30117,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
317,
8633,
2134,
543,
460,
307,
973,
284,
2251,
257,
649,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
9078,
25,
4871,
25,
63,
93,
79,
2575,
2313,
13,
7890,
13,
34390,
444,
13,
39154,
17829,
63,
198,
220,
220,
220,
220,
220,
220,
220,
2134,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
3672,
11,
938,
62,
3672,
796,
5752,
13,
1136,
10786,
37815,
10659,
27691,
35312,
3419,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
717,
62,
3672,
11,
938,
62,
3672,
796,
6045,
11,
6045,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
45218,
796,
5752,
13,
1136,
10786,
2885,
7707,
7597,
17,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1748,
796,
45218,
13,
35312,
7,
3256,
11537,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
11,
19974,
62,
8189,
796,
45218,
13,
35312,
7,
3256,
11537,
58,
16,
4083,
35312,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
19355,
287,
19974,
62,
8189,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19974,
62,
8189,
796,
19974,
62,
8189,
13,
35312,
10786,
12,
11537,
58,
15,
60,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1748,
11,
1181,
11,
19974,
62,
8189,
796,
6045,
11,
6045,
11,
6045,
628,
220,
220,
220,
4808,
11085,
62,
3672,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
11085,
62,
3672,
8,
198,
220,
220,
220,
4808,
12957,
62,
3672,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
12957,
62,
3672,
8,
198,
220,
220,
220,
4808,
29851,
16,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
808,
13,
1136,
10786,
2885,
7707,
7597,
16,
6,
4008,
198,
220,
220,
220,
4808,
19205,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
19205,
8,
198,
220,
220,
220,
4808,
5219,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
5219,
8,
198,
220,
220,
220,
4808,
13344,
62,
8189,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
13344,
62,
8189,
8,
198,
220,
220,
220,
4808,
4862,
62,
17618,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
808,
13,
1136,
10786,
11909,
11651,
1303,
6,
4008,
198,
220,
220,
220,
4808,
23560,
62,
17618,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
808,
13,
1136,
10786,
7708,
55,
1303,
6,
4008,
198,
220,
220,
220,
4808,
12888,
796,
10385,
62,
28920,
62,
1462,
62,
23108,
7,
808,
13,
1136,
10786,
36,
12,
5673,
4146,
5984,
7707,
7597,
6,
4008,
628,
220,
220,
220,
611,
597,
7,
198,
220,
220,
220,
220,
220,
220,
220,
44104,
11085,
62,
3672,
11,
4808,
12957,
62,
3672,
11,
4808,
29851,
16,
11,
4808,
19205,
11,
4808,
5219,
11,
4808,
13344,
62,
8189,
11,
4808,
4862,
62,
17618,
11,
4808,
23560,
62,
17618,
11,
4808,
12888,
8,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
357,
11600,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
717,
62,
3672,
28,
62,
11085,
62,
3672,
11,
938,
62,
3672,
28,
62,
12957,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37817,
16,
28,
62,
29851,
16,
11,
1748,
28,
62,
19205,
11,
1181,
28,
62,
5219,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19974,
62,
8189,
28,
62,
13344,
62,
8189,
11,
3072,
62,
17618,
28,
62,
4862,
62,
17618,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35168,
62,
17618,
28,
62,
23560,
62,
17618,
11,
3053,
28,
62,
12888,
198,
220,
220,
220,
220,
220,
220,
220,
15306,
628,
220,
220,
220,
1441,
6045,
198
] | 2.275023 | 1,109 |
import argparse
| [
198,
11748,
1822,
29572,
628
] | 3.6 | 5 |
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
from numpy import get_include as numpy_include
import os
import platform
cython_extra_compile_args = ['-O3', '-g', '-I' + numpy_include(), '-ffast-math']
is_mac = platform.system() == 'Darwin'
if is_mac:
cython_extra_compile_args += ['-stdlib=libc++']
kreg_cython = cythonize(Extension(name='PCAfold.kernel_regression',
sources=[os.path.join('PCAfold', 'kernel_regression_cython.pyx')],
extra_compile_args=cython_extra_compile_args,
language='c++'))
setup(name='PCAfold',
version='1.0.0',
license='MIT',
description='PCAfold is a Python software for generating, improving and analyzing PCA-derived low-dimensional manifolds',
author='Elizabeth Armstrong, Kamila Zdybal',
packages=['PCAfold'],
ext_modules=kreg_cython)
| [
6738,
1233,
26791,
13,
7295,
1330,
9058,
198,
6738,
1233,
26791,
13,
2302,
3004,
1330,
27995,
198,
6738,
327,
7535,
13,
15580,
1330,
3075,
400,
261,
1096,
198,
6738,
299,
32152,
1330,
651,
62,
17256,
355,
299,
32152,
62,
17256,
198,
11748,
28686,
198,
11748,
3859,
198,
198,
948,
400,
261,
62,
26086,
62,
5589,
576,
62,
22046,
796,
685,
29001,
46,
18,
3256,
705,
12,
70,
3256,
705,
12,
40,
6,
1343,
299,
32152,
62,
17256,
22784,
705,
12,
487,
459,
12,
11018,
20520,
198,
198,
271,
62,
20285,
796,
3859,
13,
10057,
3419,
6624,
705,
32708,
5404,
6,
198,
361,
318,
62,
20285,
25,
198,
220,
220,
220,
3075,
400,
261,
62,
26086,
62,
5589,
576,
62,
22046,
15853,
685,
29001,
19282,
8019,
28,
8019,
66,
4880,
20520,
198,
198,
74,
2301,
62,
948,
400,
261,
796,
3075,
400,
261,
1096,
7,
11627,
3004,
7,
3672,
11639,
5662,
32,
11379,
13,
33885,
62,
2301,
2234,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4237,
41888,
418,
13,
6978,
13,
22179,
10786,
5662,
32,
11379,
3256,
705,
33885,
62,
2301,
2234,
62,
948,
400,
261,
13,
9078,
87,
11537,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3131,
62,
5589,
576,
62,
22046,
28,
948,
400,
261,
62,
26086,
62,
5589,
576,
62,
22046,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3303,
11639,
66,
4880,
6,
4008,
198,
198,
40406,
7,
3672,
11639,
5662,
32,
11379,
3256,
198,
220,
220,
220,
220,
220,
2196,
11639,
16,
13,
15,
13,
15,
3256,
198,
220,
220,
220,
220,
220,
5964,
11639,
36393,
3256,
198,
220,
220,
220,
220,
220,
6764,
11639,
5662,
32,
11379,
318,
257,
11361,
3788,
329,
15453,
11,
10068,
290,
22712,
4217,
32,
12,
34631,
1877,
12,
19577,
19871,
10119,
3256,
198,
220,
220,
220,
220,
220,
1772,
11639,
43568,
21166,
11,
12670,
10102,
1168,
9892,
6893,
3256,
198,
220,
220,
220,
220,
220,
10392,
28,
17816,
5662,
32,
11379,
6,
4357,
198,
220,
220,
220,
220,
220,
1070,
62,
18170,
28,
74,
2301,
62,
948,
400,
261,
8,
198
] | 2.29717 | 424 |
import os
import logging
import discord
from discord.ext import slash
client = slash.SlashBot(
# Pass help_command=None if the bot only uses slash commands
command_prefix='/', description='', help_command=None,
debug_guild=int(os.environ.get('DISCORD_DEBUG_GUILD', 0)) or None
)
@client.slash_cmd()
async def hello(ctx: slash.Context):
"""Hello World!"""
await ctx.respond('Hello World!', flags=slash.MessageFlags.EPHEMERAL,
rtype=slash.InteractionResponseType.ChannelMessage)
@client.slash_group()
async def say(ctx: slash.Context):
"""Send a message in the bot's name."""
print('Options:', ctx.options)
@say.check
emote_opt = slash.Option(
description='Message to send', required=True,
choices=['Hello World!', 'This is a premade message.',
slash.Choice('This will not say what this says.', 'See?')]
)
@say.slash_cmd()
async def emote(ctx: slash.Context, choice: emote_opt):
"""Send a premade message."""
await ctx.respond(choice, allowed_mentions=discord.AllowedMentions.none(),
# sends a message without showing the command invocation
rtype=slash.InteractionResponseType.ChannelMessageWithSource)
msg_opt = slash.Option(
description='Message to send', required=True)
@say.slash_cmd()
async def repeat(ctx: slash.Context, message: msg_opt):
"""Make the bot repeat your message."""
await ctx.respond(message, allowed_mentions=discord.AllowedMentions.none(),
# sends a message, showing command invocation
rtype=slash.InteractionResponseType.ChannelMessageWithSource)
@client.slash_cmd()
async def stop(ctx: slash.Context):
"""Stop the bot."""
await ctx.respond(rtype=slash.InteractionResponseType.Acknowledge)
await client.close()
@stop.check
# show extension logs
logger = logging.getLogger('discord.ext.slash')
logger.setLevel(logging.DEBUG)
logger.addHandler(logging.StreamHandler())
token = os.environ['DISCORD_TOKEN'].strip()
try:
client.run(token)
finally:
print('Goodbye.')
| [
11748,
28686,
198,
11748,
18931,
198,
11748,
36446,
198,
6738,
36446,
13,
2302,
1330,
24632,
198,
198,
16366,
796,
24632,
13,
11122,
1077,
20630,
7,
198,
220,
220,
220,
1303,
6251,
1037,
62,
21812,
28,
14202,
611,
262,
10214,
691,
3544,
24632,
9729,
198,
220,
220,
220,
3141,
62,
40290,
11639,
14,
3256,
6764,
11639,
3256,
1037,
62,
21812,
28,
14202,
11,
198,
220,
220,
220,
14257,
62,
70,
3547,
28,
600,
7,
418,
13,
268,
2268,
13,
1136,
10786,
26288,
34,
12532,
62,
30531,
62,
38022,
26761,
3256,
657,
4008,
393,
6045,
198,
8,
198,
198,
31,
16366,
13,
6649,
1077,
62,
28758,
3419,
198,
292,
13361,
825,
23748,
7,
49464,
25,
24632,
13,
21947,
2599,
198,
220,
220,
220,
37227,
15496,
2159,
2474,
15931,
198,
220,
220,
220,
25507,
269,
17602,
13,
5546,
10786,
15496,
2159,
0,
3256,
9701,
28,
6649,
1077,
13,
12837,
40053,
13,
8905,
39,
3620,
27130,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
4906,
28,
6649,
1077,
13,
9492,
2673,
31077,
6030,
13,
29239,
12837,
8,
198,
198,
31,
16366,
13,
6649,
1077,
62,
8094,
3419,
198,
292,
13361,
825,
910,
7,
49464,
25,
24632,
13,
21947,
2599,
198,
220,
220,
220,
37227,
25206,
257,
3275,
287,
262,
10214,
338,
1438,
526,
15931,
198,
220,
220,
220,
3601,
10786,
29046,
25,
3256,
269,
17602,
13,
25811,
8,
198,
198,
31,
16706,
13,
9122,
198,
198,
368,
1258,
62,
8738,
796,
24632,
13,
19722,
7,
198,
220,
220,
220,
6764,
11639,
12837,
284,
3758,
3256,
2672,
28,
17821,
11,
198,
220,
220,
220,
7747,
28,
17816,
15496,
2159,
0,
3256,
705,
1212,
318,
257,
4199,
671,
3275,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24632,
13,
46770,
10786,
1212,
481,
407,
910,
644,
428,
1139,
2637,
11,
705,
6214,
8348,
15437,
198,
8,
198,
198,
31,
16706,
13,
6649,
1077,
62,
28758,
3419,
198,
292,
13361,
825,
795,
1258,
7,
49464,
25,
24632,
13,
21947,
11,
3572,
25,
795,
1258,
62,
8738,
2599,
198,
220,
220,
220,
37227,
25206,
257,
4199,
671,
3275,
526,
15931,
198,
220,
220,
220,
25507,
269,
17602,
13,
5546,
7,
25541,
11,
3142,
62,
434,
507,
28,
15410,
585,
13,
3237,
6972,
44,
298,
507,
13,
23108,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12800,
257,
3275,
1231,
4478,
262,
3141,
43219,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
4906,
28,
6649,
1077,
13,
9492,
2673,
31077,
6030,
13,
29239,
12837,
3152,
7416,
8,
198,
198,
19662,
62,
8738,
796,
24632,
13,
19722,
7,
198,
220,
220,
220,
6764,
11639,
12837,
284,
3758,
3256,
2672,
28,
17821,
8,
198,
198,
31,
16706,
13,
6649,
1077,
62,
28758,
3419,
198,
292,
13361,
825,
9585,
7,
49464,
25,
24632,
13,
21947,
11,
3275,
25,
31456,
62,
8738,
2599,
198,
220,
220,
220,
37227,
12050,
262,
10214,
9585,
534,
3275,
526,
15931,
198,
220,
220,
220,
25507,
269,
17602,
13,
5546,
7,
20500,
11,
3142,
62,
434,
507,
28,
15410,
585,
13,
3237,
6972,
44,
298,
507,
13,
23108,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12800,
257,
3275,
11,
4478,
3141,
43219,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
4906,
28,
6649,
1077,
13,
9492,
2673,
31077,
6030,
13,
29239,
12837,
3152,
7416,
8,
198,
198,
31,
16366,
13,
6649,
1077,
62,
28758,
3419,
198,
292,
13361,
825,
2245,
7,
49464,
25,
24632,
13,
21947,
2599,
198,
220,
220,
220,
37227,
19485,
262,
10214,
526,
15931,
198,
220,
220,
220,
25507,
269,
17602,
13,
5546,
7,
81,
4906,
28,
6649,
1077,
13,
9492,
2673,
31077,
6030,
13,
32,
5319,
2965,
8,
198,
220,
220,
220,
25507,
5456,
13,
19836,
3419,
198,
198,
31,
11338,
13,
9122,
198,
198,
2,
905,
7552,
17259,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
10786,
15410,
585,
13,
2302,
13,
6649,
1077,
11537,
198,
6404,
1362,
13,
2617,
4971,
7,
6404,
2667,
13,
30531,
8,
198,
6404,
1362,
13,
2860,
25060,
7,
6404,
2667,
13,
12124,
25060,
28955,
198,
198,
30001,
796,
28686,
13,
268,
2268,
17816,
26288,
34,
12532,
62,
10468,
43959,
6,
4083,
36311,
3419,
198,
198,
28311,
25,
198,
220,
220,
220,
5456,
13,
5143,
7,
30001,
8,
198,
69,
3289,
25,
198,
220,
220,
220,
3601,
10786,
10248,
16390,
2637,
8,
198
] | 2.643939 | 792 |
from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from ...sell_marketing.api.ad_api import AdApi
from ...sell_marketing.api.ad_report_api import AdReportApi
from ...sell_marketing.api.ad_report_metadata_api import AdReportMetadataApi
from ...sell_marketing.api.ad_report_task_api import AdReportTaskApi
from ...sell_marketing.api.campaign_api import CampaignApi
from ...sell_marketing.api.item_price_markdown_api import ItemPriceMarkdownApi
from ...sell_marketing.api.item_promotion_api import ItemPromotionApi
from ...sell_marketing.api.promotion_api import PromotionApi
from ...sell_marketing.api.promotion_report_api import PromotionReportApi
from ...sell_marketing.api.promotion_summary_report_api import PromotionSummaryReportApi
| [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
2,
781,
539,
23,
25,
645,
20402,
198,
198,
2,
1330,
2471,
271,
656,
40391,
5301,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
324,
62,
15042,
1330,
1215,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
324,
62,
13116,
62,
15042,
1330,
1215,
19100,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
324,
62,
13116,
62,
38993,
62,
15042,
1330,
1215,
19100,
9171,
14706,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
324,
62,
13116,
62,
35943,
62,
15042,
1330,
1215,
19100,
25714,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
35012,
62,
15042,
1330,
13718,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
9186,
62,
20888,
62,
4102,
2902,
62,
15042,
1330,
9097,
18124,
9704,
2902,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
9186,
62,
16963,
9650,
62,
15042,
1330,
9097,
24129,
9650,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
16963,
9650,
62,
15042,
1330,
42868,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
16963,
9650,
62,
13116,
62,
15042,
1330,
42868,
19100,
32,
14415,
198,
6738,
2644,
7255,
62,
10728,
278,
13,
15042,
13,
16963,
9650,
62,
49736,
62,
13116,
62,
15042,
1330,
42868,
22093,
19100,
32,
14415,
198
] | 3.243697 | 238 |
# _*_ coding: utf-8 _*_
"""cmdb URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
from app01 import views
import xadmin
urlpatterns = [
url(r'^$', views.asset),
url(r'^login/$', views.loginview),
url(r'^logout/$', views.logoutview),
# 后台
url(r'^adminn/', xadmin.site.urls),
# 更新单个资产
url(r'^getone/$', views.getOne),
# 更新全部资产
url(r'^getall/$', views.getAll),
# 资产搜索
url(r'^search/asset/$', views.search_asset),
# 主机搜索
url(r'^search/host/$', views.search_host),
# 删除资产
url(r'^delasset/$', views.delasset),
# 删除主机
url(r'^delhost/$', views.delhost),
# 菜单“主机列表”
url(r'^host/$', views.host),
# 下载模版
url(r'^download/template/$', views.download_template),
# 下载导出的主机列表
url(r'^download/host/$', views.download_host),
# 下载导出的资产列表
url(r'^download/asset/$', views.download_asset),
# 上传主机模版
url(r'^upload/$', views.upload),
# 模版添加主机
url(r'^addhost/template/$', views.template_add),
# 手动添加主机
url(r'^addhost/manual/$', views.manual_add),
# 检测主机状态
url(r'^chkhost/$', views.check_host),
# 更改主机密码
url(r'^pwd/update/$', views.UpdatePwd),
# 导出主机列表
url(r'^export/host/$', views.export_host),
# 导出资产列表
url(r'^export/asset/$', views.export_asset),
# 批量添加资产的进度
url(r'^percentage/asset/$', views.getAll_percentage),
# 批量添加主机的进度
url(r'^percentage/host/$', views.template_add_percentage),
]
| [
2,
4808,
9,
62,
19617,
25,
3384,
69,
12,
23,
4808,
9,
62,
198,
37811,
28758,
65,
10289,
28373,
198,
198,
464,
4600,
6371,
33279,
82,
63,
1351,
11926,
32336,
284,
5009,
13,
1114,
517,
1321,
3387,
766,
25,
198,
220,
220,
220,
3740,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
16,
13,
24,
14,
4852,
873,
14,
4023,
14,
6371,
82,
14,
198,
27730,
25,
198,
22203,
5009,
198,
220,
220,
220,
352,
13,
3060,
281,
1330,
25,
220,
422,
616,
62,
1324,
1330,
5009,
198,
220,
220,
220,
362,
13,
3060,
257,
10289,
284,
19016,
33279,
82,
25,
220,
19016,
7,
81,
6,
61,
3,
3256,
5009,
13,
11195,
11,
1438,
11639,
11195,
11537,
198,
9487,
12,
3106,
5009,
198,
220,
220,
220,
352,
13,
3060,
281,
1330,
25,
220,
422,
584,
62,
1324,
13,
33571,
1330,
5995,
198,
220,
220,
220,
362,
13,
3060,
257,
10289,
284,
19016,
33279,
82,
25,
220,
19016,
7,
81,
6,
61,
3,
3256,
5995,
13,
292,
62,
1177,
22784,
1438,
11639,
11195,
11537,
198,
818,
6360,
1194,
10289,
10414,
198,
220,
220,
220,
352,
13,
17267,
262,
2291,
3419,
2163,
25,
422,
42625,
14208,
13,
10414,
13,
6371,
82,
1330,
19016,
11,
2291,
198,
220,
220,
220,
362,
13,
3060,
257,
10289,
284,
19016,
33279,
82,
25,
220,
19016,
7,
81,
6,
61,
14036,
14,
3256,
2291,
10786,
14036,
13,
6371,
82,
6,
4008,
198,
37811,
198,
6738,
42625,
14208,
13,
10414,
13,
6371,
82,
1330,
19016,
198,
6738,
42625,
14208,
13,
3642,
822,
1330,
13169,
198,
198,
6738,
598,
486,
1330,
5009,
198,
11748,
2124,
28482,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
3,
3256,
5009,
13,
562,
316,
828,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
38235,
32624,
3256,
5009,
13,
38235,
1177,
828,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
6404,
448,
32624,
3256,
5009,
13,
6404,
448,
1177,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10263,
238,
236,
20998,
108,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
28482,
77,
14,
3256,
2124,
28482,
13,
15654,
13,
6371,
82,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
249,
112,
23877,
108,
39355,
243,
10310,
103,
164,
113,
226,
12859,
100,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
1136,
505,
32624,
3256,
5009,
13,
1136,
3198,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
249,
112,
23877,
108,
17739,
101,
32849,
101,
164,
113,
226,
12859,
100,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
1136,
439,
32624,
3256,
5009,
13,
1136,
3237,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
5525,
113,
226,
12859,
100,
162,
238,
250,
163,
112,
95,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
12947,
14,
562,
316,
32624,
3256,
5009,
13,
12947,
62,
562,
316,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
220,
10310,
119,
17312,
118,
162,
238,
250,
163,
112,
95,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
12947,
14,
4774,
32624,
3256,
5009,
13,
12947,
62,
4774,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10263,
230,
254,
165,
247,
97,
164,
113,
226,
12859,
100,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
12381,
562,
316,
32624,
3256,
5009,
13,
12381,
562,
316,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10263,
230,
254,
165,
247,
97,
10310,
119,
17312,
118,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
12381,
4774,
32624,
3256,
5009,
13,
12381,
4774,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
5525,
237,
250,
39355,
243,
447,
250,
10310,
119,
17312,
118,
26344,
245,
26193,
101,
447,
251,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
4774,
32624,
3256,
5009,
13,
4774,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
220,
10310,
233,
164,
121,
121,
162,
101,
94,
48304,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
15002,
14,
28243,
32624,
3256,
5009,
13,
15002,
62,
28243,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
220,
10310,
233,
164,
121,
121,
43380,
120,
49035,
118,
21410,
10310,
119,
17312,
118,
26344,
245,
26193,
101,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
15002,
14,
4774,
32624,
3256,
5009,
13,
15002,
62,
4774,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
220,
10310,
233,
164,
121,
121,
43380,
120,
49035,
118,
21410,
164,
113,
226,
12859,
100,
26344,
245,
26193,
101,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
15002,
14,
562,
316,
32624,
3256,
5009,
13,
15002,
62,
562,
316,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
220,
41468,
27670,
254,
10310,
119,
17312,
118,
162,
101,
94,
48304,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
25850,
32624,
3256,
5009,
13,
25850,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
101,
94,
48304,
162,
115,
119,
27950,
254,
10310,
119,
17312,
118,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
2860,
4774,
14,
28243,
32624,
3256,
5009,
13,
28243,
62,
2860,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
231,
233,
27950,
101,
162,
115,
119,
27950,
254,
10310,
119,
17312,
118,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
2860,
4774,
14,
805,
723,
32624,
3256,
5009,
13,
805,
723,
62,
2860,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
96,
222,
38184,
233,
10310,
119,
17312,
118,
163,
232,
35050,
222,
223,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
354,
74,
4774,
32624,
3256,
5009,
13,
9122,
62,
4774,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
249,
112,
162,
242,
117,
10310,
119,
17312,
118,
43380,
228,
163,
254,
223,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
79,
16993,
14,
19119,
32624,
3256,
5009,
13,
10260,
47,
16993,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10263,
107,
120,
49035,
118,
10310,
119,
17312,
118,
26344,
245,
26193,
101,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
39344,
14,
4774,
32624,
3256,
5009,
13,
39344,
62,
4774,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10263,
107,
120,
49035,
118,
164,
113,
226,
12859,
100,
26344,
245,
26193,
101,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
39344,
14,
562,
316,
32624,
3256,
5009,
13,
39344,
62,
562,
316,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
231,
117,
34932,
237,
162,
115,
119,
27950,
254,
164,
113,
226,
12859,
100,
21410,
32573,
249,
41753,
99,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
25067,
496,
14,
562,
316,
32624,
3256,
5009,
13,
1136,
3237,
62,
25067,
496,
828,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
10545,
231,
117,
34932,
237,
162,
115,
119,
27950,
254,
10310,
119,
17312,
118,
21410,
32573,
249,
41753,
99,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
25067,
496,
14,
4774,
32624,
3256,
5009,
13,
28243,
62,
2860,
62,
25067,
496,
828,
198,
220,
220,
220,
220,
198,
60,
198
] | 1.791155 | 1,221 |
from typing import List, Union
from pytest import raises # type: ignore
from graphql.error import GraphQLError, format_error
from graphql.language import Node, Source
| [
6738,
19720,
1330,
7343,
11,
4479,
198,
198,
6738,
12972,
9288,
1330,
12073,
220,
1303,
2099,
25,
8856,
198,
198,
6738,
4823,
13976,
13,
18224,
1330,
29681,
48,
2538,
81,
1472,
11,
5794,
62,
18224,
198,
6738,
4823,
13976,
13,
16129,
1330,
19081,
11,
8090,
628
] | 3.717391 | 46 |
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='ufcpy',
version='2.0.1',
author='youngtrep',
author_email='[email protected]',
description='A fast and easy way to access the UFC roster',
long_description=long_description,
url='https://github.com/YoungTrep/ufcpy',
packages=setuptools.find_packages(),
install_requires=[
'beautifulsoup4',
'urllib3'
],
license='MIT',
keywords=['ufc', 'mma', 'mixed martial arts', 'fighting', 'fighters', 'ufc-api', 'mma-api'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules'
],
python_requires='>=3.6'
)
| [
11748,
900,
37623,
10141,
198,
198,
4480,
1280,
10786,
15675,
11682,
13,
9132,
3256,
705,
81,
11537,
355,
277,
71,
25,
198,
220,
220,
220,
890,
62,
11213,
796,
277,
71,
13,
961,
3419,
198,
198,
2617,
37623,
10141,
13,
40406,
7,
198,
220,
220,
220,
1438,
11639,
3046,
66,
9078,
3256,
198,
220,
220,
220,
2196,
11639,
17,
13,
15,
13,
16,
3256,
198,
220,
220,
220,
1772,
11639,
35465,
83,
7856,
3256,
198,
220,
220,
220,
1772,
62,
12888,
11639,
35465,
83,
7856,
13,
22680,
31,
14816,
13,
785,
3256,
198,
220,
220,
220,
6764,
11639,
32,
3049,
290,
2562,
835,
284,
1895,
262,
11448,
9354,
3256,
198,
220,
220,
220,
890,
62,
11213,
28,
6511,
62,
11213,
11,
198,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
20917,
51,
7856,
14,
3046,
66,
9078,
3256,
198,
220,
220,
220,
10392,
28,
2617,
37623,
10141,
13,
19796,
62,
43789,
22784,
198,
220,
220,
220,
2721,
62,
47911,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
705,
40544,
4135,
82,
10486,
19,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
333,
297,
571,
18,
6,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
5964,
11639,
36393,
3256,
198,
220,
220,
220,
26286,
28,
17816,
3046,
66,
3256,
705,
21672,
3256,
705,
76,
2966,
15618,
10848,
3256,
705,
26594,
3256,
705,
17114,
3256,
705,
3046,
66,
12,
15042,
3256,
705,
21672,
12,
15042,
6,
4357,
198,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
705,
41206,
12678,
7904,
604,
532,
17993,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
31441,
7904,
24371,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5317,
1631,
7591,
1240,
7904,
34152,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35364,
15417,
7904,
3594,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18843,
803,
4482,
7904,
7294,
13362,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
4455,
7904,
13505,
54,
14,
40717,
7904,
12901,
278,
14,
18243,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
41086,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
10442,
7712,
7904,
46267,
7904,
11361,
3401,
5028,
6,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
21015,
62,
47911,
11639,
29,
28,
18,
13,
21,
6,
198,
8,
198
] | 2.545662 | 438 |
import pytest
from fondat.string import Template
pytestmark = pytest.mark.asyncio
| [
11748,
12972,
9288,
198,
198,
6738,
16245,
265,
13,
8841,
1330,
37350,
628,
198,
9078,
9288,
4102,
796,
12972,
9288,
13,
4102,
13,
292,
13361,
952,
628,
628,
628,
628
] | 3.066667 | 30 |
"""Network Architectures"""
from typing import Callable, List
import torch
from torch import nn
from torch.nn import functional as F
class SmallNetwork(nn.Module):
"""
Network used in the experiments on MNIST and Fashion MNIST.
"""
class BigNetwork(nn.Module):
"""
Network used in the experiments on CIFAR-10
Code adopted from: https://github.com/ftramer/Handcrafted-DP/blob/main/models.py
"""
| [
37811,
26245,
17340,
942,
37811,
198,
198,
6738,
19720,
1330,
4889,
540,
11,
7343,
198,
11748,
28034,
198,
6738,
28034,
1330,
299,
77,
198,
6738,
28034,
13,
20471,
1330,
10345,
355,
376,
628,
198,
4871,
10452,
26245,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7311,
973,
287,
262,
10256,
319,
29060,
8808,
290,
30958,
29060,
8808,
13,
198,
220,
220,
220,
37227,
628,
198,
4871,
4403,
26245,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7311,
973,
287,
262,
10256,
319,
327,
5064,
1503,
12,
940,
198,
220,
220,
220,
6127,
8197,
422,
25,
3740,
1378,
12567,
13,
785,
14,
701,
29172,
14,
12885,
39160,
12,
6322,
14,
2436,
672,
14,
12417,
14,
27530,
13,
9078,
198,
220,
220,
220,
37227,
198
] | 3.162963 | 135 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.