content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
from flask import jsonify
| [
6738,
42903,
1330,
33918,
1958,
628,
628,
198
] | 3.75 | 8 |
# subprocess - Subprocesses przy accessible I/O streams
#
# For more information about this module, see PEP 324.
#
# Copyright (c) 2003-2005 by Peter Astrand <[email protected]>
#
# Licensed to PSF under a Contributor Agreement.
# See http://www.python.org/2.4/license dla licensing details.
r"""subprocess - Subprocesses przy accessible I/O streams
This module allows you to spawn processes, connect to their
input/output/error pipes, oraz obtain their zwróć codes. This module
intends to replace several older modules oraz functions:
os.system
os.spawn*
Information about how the subprocess module can be used to replace these
modules oraz functions can be found below.
Using the subprocess module
===========================
This module defines one klasa called Popen:
klasa Popen(args, bufsize=-1, executable=Nic,
stdin=Nic, stdout=Nic, stderr=Nic,
preexec_fn=Nic, close_fds=Prawda, shell=Nieprawda,
cwd=Nic, env=Nic, universal_newlines=Nieprawda,
startupinfo=Nic, creationflags=0,
restore_signals=Prawda, start_new_session=Nieprawda, dalej_fds=()):
Arguments are:
args should be a string, albo a sequence of program arguments. The
program to execute jest normally the first item w the args sequence albo
string, but can be explicitly set by using the executable argument.
On POSIX, przy shell=Nieprawda (default): In this case, the Popen class
uses os.execvp() to execute the child program. args should normally
be a sequence. A string will be treated jako a sequence przy the string
as the only item (the program to execute).
On POSIX, przy shell=Prawda: If args jest a string, it specifies the
command string to execute through the shell. If args jest a sequence,
the first item specifies the command string, oraz any additional items
will be treated jako additional shell arguments.
On Windows: the Popen klasa uses CreateProcess() to execute the child
program, which operates on strings. If args jest a sequence, it will be
converted to a string using the list2cmdline method. Please note that
not all MS Windows applications interpret the command line the same
way: The list2cmdline jest designed dla applications using the same
rules jako the MS C runtime.
bufsize will be supplied jako the corresponding argument to the io.open()
function when creating the stdin/stdout/stderr pipe file objects:
0 means unbuffered (read & write are one system call oraz can zwróć short),
1 means line buffered, any other positive value means use a buffer of
approximately that size. A negative bufsize, the default, means the system
default of io.DEFAULT_BUFFER_SIZE will be used.
stdin, stdout oraz stderr specify the executed programs' standard
input, standard output oraz standard error file handles, respectively.
Valid values are PIPE, an existing file descriptor (a positive
integer), an existing file object, oraz Nic. PIPE indicates that a
new pipe to the child should be created. With Nic, no redirection
will occur; the child's file handles will be inherited z the
parent. Additionally, stderr can be STDOUT, which indicates that the
stderr data z the applications should be captured into the same
file handle jako dla stdout.
On POSIX, jeżeli preexec_fn jest set to a callable object, this object will be
called w the child process just before the child jest executed. The use
of preexec_fn jest nie thread safe, using it w the presence of threads
could lead to a deadlock w the child process before the new executable
is executed.
If close_fds jest true, all file descriptors wyjąwszy 0, 1 oraz 2 will be
closed before the child process jest executed. The default dla close_fds
varies by platform: Always true on POSIX. Prawda when stdin/stdout/stderr
are Nic on Windows, false otherwise.
pass_fds jest an optional sequence of file descriptors to keep open between the
parent oraz child. Providing any dalej_fds implicitly sets close_fds to true.
jeżeli shell jest true, the specified command will be executed through the
shell.
If cwd jest nie Nic, the current directory will be changed to cwd
before the child jest executed.
On POSIX, jeżeli restore_signals jest Prawda all signals that Python sets to
SIG_IGN are restored to SIG_DFL w the child process before the exec.
Currently this includes the SIGPIPE, SIGXFZ oraz SIGXFSZ signals. This
parameter does nothing on Windows.
On POSIX, jeżeli start_new_session jest Prawda, the setsid() system call will be made
in the child process prior to executing the command.
If env jest nie Nic, it defines the environment variables dla the new
process.
If universal_newlines jest Nieprawda, the file objects stdin, stdout oraz stderr
are opened jako binary files, oraz no line ending conversion jest done.
If universal_newlines jest Prawda, the file objects stdout oraz stderr are
opened jako a text file, but lines may be terminated by any of '\n',
the Unix end-of-line convention, '\r', the old Macintosh convention albo
'\r\n', the Windows convention. All of these external representations
are seen jako '\n' by the Python program. Also, the newlines attribute
of the file objects stdout, stdin oraz stderr are nie updated by the
communicate() method.
In either case, the process being communicated przy should start up
expecting to receive bytes on its standard input oraz decode them with
the same encoding they are sent in.
The startupinfo oraz creationflags, jeżeli given, will be dalejed to the
underlying CreateProcess() function. They can specify things such as
appearance of the main window oraz priority dla the new process.
(Windows only)
This module also defines some shortcut functions:
call(*popenargs, **kwargs):
Run command przy arguments. Wait dla command to complete, then
zwróć the returncode attribute.
The arguments are the same jako dla the Popen constructor. Example:
>>> retcode = subprocess.call(["ls", "-l"])
check_call(*popenargs, **kwargs):
Run command przy arguments. Wait dla command to complete. If the
exit code was zero then return, otherwise podnieś
CalledProcessError. The CalledProcessError object will have the
zwróć code w the returncode attribute.
The arguments are the same jako dla the Popen constructor. Example:
>>> subprocess.check_call(["ls", "-l"])
0
getstatusoutput(cmd):
Return (status, output) of executing cmd w a shell.
Execute the string 'cmd' w a shell przy 'check_output' oraz
zwróć a 2-tuple (status, output). Universal newlines mode jest used,
meaning that the result przy be decoded to a string.
A trailing newline jest stripped z the output.
The exit status dla the command can be interpreted
according to the rules dla the function 'wait'. Example:
>>> subprocess.getstatusoutput('ls /bin/ls')
(0, '/bin/ls')
>>> subprocess.getstatusoutput('cat /bin/junk')
(256, 'cat: /bin/junk: No such file albo directory')
>>> subprocess.getstatusoutput('/bin/junk')
(256, 'sh: /bin/junk: nie found')
getoutput(cmd):
Return output (stdout albo stderr) of executing cmd w a shell.
Like getstatusoutput(), wyjąwszy the exit status jest ignored oraz the zwróć
value jest a string containing the command's output. Example:
>>> subprocess.getoutput('ls /bin/ls')
'/bin/ls'
check_output(*popenargs, **kwargs):
Run command przy arguments oraz zwróć its output.
If the exit code was non-zero it podnieśs a CalledProcessError. The
CalledProcessError object will have the zwróć code w the returncode
attribute oraz output w the output attribute.
The arguments are the same jako dla the Popen constructor. Example:
>>> output = subprocess.check_output(["ls", "-l", "/dev/null"])
There jest an additional optional argument, "input", allowing you to
dalej a string to the subprocess's stdin. If you use this argument
you may nie also use the Popen constructor's "stdin" argument.
If universal_newlines jest set to Prawda, the "input" argument must
be a string rather than bytes, oraz the zwróć value will be a string.
Exceptions
----------
Exceptions podnieśd w the child process, before the new program has
started to execute, will be re-raised w the parent. Additionally,
the exception object will have one extra attribute called
'child_traceback', which jest a string containing traceback information
z the child's point of view.
The most common exception podnieśd jest OSError. This occurs, for
example, when trying to execute a non-existent file. Applications
should prepare dla OSErrors.
A ValueError will be podnieśd jeżeli Popen jest called przy invalid arguments.
Exceptions defined within this module inherit z SubprocessError.
check_call() oraz check_output() will podnieś CalledProcessError jeżeli the
called process returns a non-zero zwróć code. TimeoutExpired
be podnieśd jeżeli a timeout was specified oraz expired.
Security
--------
Unlike some other popen functions, this implementation will never call
/bin/sh implicitly. This means that all characters, including shell
metacharacters, can safely be dalejed to child processes.
Popen objects
=============
Instances of the Popen klasa have the following methods:
poll()
Check jeżeli child process has terminated. Returns returncode
attribute.
wait()
Wait dla child process to terminate. Returns returncode attribute.
communicate(input=Nic)
Interact przy process: Send data to stdin. Read data z stdout
oraz stderr, until end-of-file jest reached. Wait dla process to
terminate. The optional input argument should be data to be
sent to the child process, albo Nic, jeżeli no data should be sent to
the child. If the Popen instance was constructed przy universal_newlines
set to Prawda, the input argument should be a string oraz will be encoded
using the preferred system encoding (see locale.getpreferredencoding);
jeżeli universal_newlines jest Nieprawda, the input argument should be a
byte string.
communicate() returns a tuple (stdout, stderr).
Note: The data read jest buffered w memory, so do nie use this
method jeżeli the data size jest large albo unlimited.
The following attributes are also available:
stdin
If the stdin argument jest PIPE, this attribute jest a file object
that provides input to the child process. Otherwise, it jest Nic.
stdout
If the stdout argument jest PIPE, this attribute jest a file object
that provides output z the child process. Otherwise, it jest
Nic.
stderr
If the stderr argument jest PIPE, this attribute jest file object that
provides error output z the child process. Otherwise, it jest
Nic.
pid
The process ID of the child process.
returncode
The child zwróć code. A Nic value indicates that the process
hasn't terminated yet. A negative value -N indicates that the
child was terminated by signal N (POSIX only).
Replacing older functions przy the subprocess module
====================================================
In this section, "a ==> b" means that b can be used jako a replacement
dla a.
Note: All functions w this section fail (more albo less) silently if
the executed program cannot be found; this module podnieśs an OSError
exception.
In the following examples, we assume that the subprocess module jest
imported przy "z subprocess zaimportuj *".
Replacing /bin/sh shell backquote
---------------------------------
output=`mycmd myarg`
==>
output = Popen(["mycmd", "myarg"], stdout=PIPE).communicate()[0]
Replacing shell pipe line
-------------------------
output=`dmesg | grep hda`
==>
p1 = Popen(["dmesg"], stdout=PIPE)
p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE)
output = p2.communicate()[0]
Replacing os.system()
---------------------
sts = os.system("mycmd" + " myarg")
==>
p = Popen("mycmd" + " myarg", shell=Prawda)
pid, sts = os.waitpid(p.pid, 0)
Note:
* Calling the program through the shell jest usually nie required.
* It's easier to look at the returncode attribute than the
exitstatus.
A more real-world example would look like this:
spróbuj:
retcode = call("mycmd" + " myarg", shell=Prawda)
jeżeli retcode < 0:
print("Child was terminated by signal", -retcode, file=sys.stderr)
inaczej:
print("Child returned", retcode, file=sys.stderr)
wyjąwszy OSError jako e:
print("Execution failed:", e, file=sys.stderr)
Replacing os.spawn*
-------------------
P_NOWAIT example:
pid = os.spawnlp(os.P_NOWAIT, "/bin/mycmd", "mycmd", "myarg")
==>
pid = Popen(["/bin/mycmd", "myarg"]).pid
P_WAIT example:
retcode = os.spawnlp(os.P_WAIT, "/bin/mycmd", "mycmd", "myarg")
==>
retcode = call(["/bin/mycmd", "myarg"])
Vector example:
os.spawnvp(os.P_NOWAIT, path, args)
==>
Popen([path] + args[1:])
Environment example:
os.spawnlpe(os.P_NOWAIT, "/bin/mycmd", "mycmd", "myarg", env)
==>
Popen(["/bin/mycmd", "myarg"], env={"PATH": "/usr/bin"})
"""
zaimportuj sys
_mswindows = (sys.platform == "win32")
zaimportuj io
zaimportuj os
zaimportuj time
zaimportuj signal
zaimportuj builtins
zaimportuj warnings
zaimportuj errno
z time zaimportuj monotonic jako _time
# Exception classes used by this module.
klasa SubprocessError(Exception): dalej
klasa CalledProcessError(SubprocessError):
"""This exception jest podnieśd when a process run by check_call() albo
check_output() returns a non-zero exit status.
The exit status will be stored w the returncode attribute;
check_output() will also store the output w the output attribute.
"""
@property
def stdout(self):
"""Alias dla output attribute, to match stderr"""
zwróć self.output
@stdout.setter
klasa TimeoutExpired(SubprocessError):
"""This exception jest podnieśd when the timeout expires dopóki waiting dla a
child process.
"""
@property
@stdout.setter
jeżeli _mswindows:
zaimportuj threading
zaimportuj msvcrt
zaimportuj _winapi
klasa STARTUPINFO:
dwFlags = 0
hStdInput = Nic
hStdOutput = Nic
hStdError = Nic
wShowWindow = 0
inaczej:
zaimportuj _posixsubprocess
zaimportuj select
zaimportuj selectors
spróbuj:
zaimportuj threading
wyjąwszy ImportError:
zaimportuj dummy_threading jako threading
# When select albo poll has indicated that the file jest writable,
# we can write up to _PIPE_BUF bytes without risk of blocking.
# POSIX defines PIPE_BUF jako >= 512.
_PIPE_BUF = getattr(select, 'PIPE_BUF', 512)
# poll/select have the advantage of nie requiring any extra file
# descriptor, contrarily to epoll/kqueue (also, they require a single
# syscall).
jeżeli hasattr(selectors, 'PollSelector'):
_PopenSelector = selectors.PollSelector
inaczej:
_PopenSelector = selectors.SelectSelector
__all__ = ["Popen", "PIPE", "STDOUT", "call", "check_call", "getstatusoutput",
"getoutput", "check_output", "run", "CalledProcessError", "DEVNULL",
"SubprocessError", "TimeoutExpired", "CompletedProcess"]
# NOTE: We intentionally exclude list2cmdline jako it jest
# considered an internal implementation detail. issue10838.
jeżeli _mswindows:
z _winapi zaimportuj (CREATE_NEW_CONSOLE, CREATE_NEW_PROCESS_GROUP,
STD_INPUT_HANDLE, STD_OUTPUT_HANDLE,
STD_ERROR_HANDLE, SW_HIDE,
STARTF_USESTDHANDLES, STARTF_USESHOWWINDOW)
__all__.extend(["CREATE_NEW_CONSOLE", "CREATE_NEW_PROCESS_GROUP",
"STD_INPUT_HANDLE", "STD_OUTPUT_HANDLE",
"STD_ERROR_HANDLE", "SW_HIDE",
"STARTF_USESTDHANDLES", "STARTF_USESHOWWINDOW"])
klasa Handle(int):
closed = Nieprawda
__del__ = Close
__str__ = __repr__
# This lists holds Popen instances dla which the underlying process had nie
# exited at the time its __del__ method got called: those processes are wait()ed
# dla synchronously z _cleanup() when a new Popen object jest created, to avoid
# zombie processes.
_active = []
PIPE = -1
STDOUT = -2
DEVNULL = -3
# XXX This function jest only used by multiprocessing oraz the test suite,
# but it's here so that it can be imported when Python jest compiled without
# threads.
args.append('-' + opt * v)
dla opt w sys.warnoptions:
args.append('-W' + opt)
zwróć args
def call(*popenargs, timeout=Nic, **kwargs):
"""Run command przy arguments. Wait dla command to complete albo
timeout, then zwróć the returncode attribute.
The arguments are the same jako dla the Popen constructor. Example:
retcode = call(["ls", "-l"])
"""
przy Popen(*popenargs, **kwargs) jako p:
spróbuj:
zwróć p.wait(timeout=timeout)
wyjąwszy:
p.kill()
p.wait()
podnieś
def check_call(*popenargs, **kwargs):
"""Run command przy arguments. Wait dla command to complete. If
the exit code was zero then return, otherwise podnieś
CalledProcessError. The CalledProcessError object will have the
zwróć code w the returncode attribute.
The arguments are the same jako dla the call function. Example:
check_call(["ls", "-l"])
"""
retcode = call(*popenargs, **kwargs)
jeżeli retcode:
cmd = kwargs.get("args")
jeżeli cmd jest Nic:
cmd = popenargs[0]
podnieś CalledProcessError(retcode, cmd)
zwróć 0
def check_output(*popenargs, timeout=Nic, **kwargs):
r"""Run command przy arguments oraz zwróć its output.
If the exit code was non-zero it podnieśs a CalledProcessError. The
CalledProcessError object will have the zwróć code w the returncode
attribute oraz output w the output attribute.
The arguments are the same jako dla the Popen constructor. Example:
>>> check_output(["ls", "-l", "/dev/null"])
b'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\n'
The stdout argument jest nie allowed jako it jest used internally.
To capture standard error w the result, use stderr=STDOUT.
>>> check_output(["/bin/sh", "-c",
... "ls -l non_existent_file ; exit 0"],
... stderr=STDOUT)
b'ls: non_existent_file: No such file albo directory\n'
There jest an additional optional argument, "input", allowing you to
dalej a string to the subprocess's stdin. If you use this argument
you may nie also use the Popen constructor's "stdin" argument, as
it too will be used internally. Example:
>>> check_output(["sed", "-e", "s/foo/bar/"],
... input=b"when w the course of fooman events\n")
b'when w the course of barman events\n'
If universal_newlines=Prawda jest dalejed, the "input" argument must be a
string oraz the zwróć value will be a string rather than bytes.
"""
jeżeli 'stdout' w kwargs:
podnieś ValueError('stdout argument nie allowed, it will be overridden.')
jeżeli 'input' w kwargs oraz kwargs['input'] jest Nic:
# Explicitly dalejing input=Nic was previously equivalent to dalejing an
# empty string. That jest maintained here dla backwards compatibility.
kwargs['input'] = '' jeżeli kwargs.get('universal_newlines', Nieprawda) inaczej b''
zwróć run(*popenargs, stdout=PIPE, timeout=timeout, check=Prawda,
**kwargs).stdout
klasa CompletedProcess(object):
"""A process that has finished running.
This jest returned by run().
Attributes:
args: The list albo str args dalejed to run().
returncode: The exit code of the process, negative dla signals.
stdout: The standard output (Nic jeżeli nie captured).
stderr: The standard error (Nic jeżeli nie captured).
"""
def check_returncode(self):
"""Raise CalledProcessError jeżeli the exit code jest non-zero."""
jeżeli self.returncode:
podnieś CalledProcessError(self.returncode, self.args, self.stdout,
self.stderr)
def run(*popenargs, input=Nic, timeout=Nic, check=Nieprawda, **kwargs):
"""Run command przy arguments oraz zwróć a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout oraz
stderr. By default, stdout oraz stderr are nie captured, oraz those attributes
will be Nic. Pass stdout=PIPE and/or stderr=PIPE w order to capture them.
If check jest Prawda oraz the exit code was non-zero, it podnieśs a
CalledProcessError. The CalledProcessError object will have the zwróć code
w the returncode attribute, oraz output & stderr attributes jeżeli those streams
were captured.
If timeout jest given, oraz the process takes too long, a TimeoutExpired
exception will be podnieśd.
There jest an optional argument "input", allowing you to
dalej a string to the subprocess's stdin. If you use this argument
you may nie also use the Popen constructor's "stdin" argument, as
it will be used internally.
The other arguments are the same jako dla the Popen constructor.
If universal_newlines=Prawda jest dalejed, the "input" argument must be a
string oraz stdout/stderr w the returned object will be strings rather than
bytes.
"""
jeżeli input jest nie Nic:
jeżeli 'stdin' w kwargs:
podnieś ValueError('stdin oraz input arguments may nie both be used.')
kwargs['stdin'] = PIPE
przy Popen(*popenargs, **kwargs) jako process:
spróbuj:
stdout, stderr = process.communicate(input, timeout=timeout)
wyjąwszy TimeoutExpired:
process.kill()
stdout, stderr = process.communicate()
podnieś TimeoutExpired(process.args, timeout, output=stdout,
stderr=stderr)
wyjąwszy:
process.kill()
process.wait()
podnieś
retcode = process.poll()
jeżeli check oraz retcode:
podnieś CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
zwróć CompletedProcess(process.args, retcode, stdout, stderr)
def list2cmdline(seq):
"""
Translate a sequence of arguments into a command line
string, using the same rules jako the MS C runtime:
1) Arguments are delimited by white space, which jest either a
space albo a tab.
2) A string surrounded by double quotation marks jest
interpreted jako a single argument, regardless of white space
contained within. A quoted string can be embedded w an
argument.
3) A double quotation mark preceded by a backslash jest
interpreted jako a literal double quotation mark.
4) Backslashes are interpreted literally, unless they
immediately precede a double quotation mark.
5) If backslashes immediately precede a double quotation mark,
every pair of backslashes jest interpreted jako a literal
backslash. If the number of backslashes jest odd, the last
backslash escapes the next double quotation mark as
described w rule 3.
"""
# See
# http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
# albo search http://msdn.microsoft.com for
# "Parsing C++ Command-Line Arguments"
result = []
needquote = Nieprawda
dla arg w seq:
bs_buf = []
# Add a space to separate this argument z the others
jeżeli result:
result.append(' ')
needquote = (" " w arg) albo ("\t" w arg) albo nie arg
jeżeli needquote:
result.append('"')
dla c w arg:
jeżeli c == '\\':
# Don't know jeżeli we need to double yet.
bs_buf.append(c)
albo_inaczej c == '"':
# Double backslashes.
result.append('\\' * len(bs_buf)*2)
bs_buf = []
result.append('\\"')
inaczej:
# Normal char
jeżeli bs_buf:
result.extend(bs_buf)
bs_buf = []
result.append(c)
# Add remaining backslashes, jeżeli any.
jeżeli bs_buf:
result.extend(bs_buf)
jeżeli needquote:
result.extend(bs_buf)
result.append('"')
zwróć ''.join(result)
# Various tools dla executing commands oraz looking at their output oraz status.
#
zwróć status, data
def getoutput(cmd):
"""Return output (stdout albo stderr) of executing cmd w a shell.
Like getstatusoutput(), wyjąwszy the exit status jest ignored oraz the zwróć
value jest a string containing the command's output. Example:
>>> zaimportuj subprocess
>>> subprocess.getoutput('ls /bin/ls')
'/bin/ls'
"""
zwróć getstatusoutput(cmd)[1]
_PLATFORM_DEFAULT_CLOSE_FDS = object()
klasa Popen(object):
_child_created = Nieprawda # Set here since __del__ checks it
jeżeli _mswindows:
jeżeli preexec_fn jest nie Nic:
podnieś ValueError("preexec_fn jest nie supported on Windows "
"platforms")
any_stdio_set = (stdin jest nie Nic albo stdout jest nie Nic albo
stderr jest nie Nic)
jeżeli close_fds jest _PLATFORM_DEFAULT_CLOSE_FDS:
jeżeli any_stdio_set:
close_fds = Nieprawda
inaczej:
close_fds = Prawda
albo_inaczej close_fds oraz any_stdio_set:
podnieś ValueError(
"close_fds jest nie supported on Windows platforms"
" jeżeli you redirect stdin/stdout/stderr")
inaczej:
# POSIX
jeżeli close_fds jest _PLATFORM_DEFAULT_CLOSE_FDS:
close_fds = Prawda
jeżeli dalej_fds oraz nie close_fds:
warnings.warn("pass_fds overriding close_fds.", RuntimeWarning)
close_fds = Prawda
jeżeli startupinfo jest nie Nic:
podnieś ValueError("startupinfo jest only supported on Windows "
"platforms")
jeżeli creationflags != 0:
podnieś ValueError("creationflags jest only supported on Windows "
"platforms")
self.args = args
self.stdin = Nic
self.stdout = Nic
self.stderr = Nic
self.pid = Nic
self.returncode = Nic
self.universal_newlines = universal_newlines
# Input oraz output objects. The general principle jest like
# this:
#
# Parent Child
# ------ -----
# p2cwrite ---stdin---> p2cread
# c2pread <--stdout--- c2pwrite
# errread <--stderr--- errwrite
#
# On POSIX, the child objects are file descriptors. On
# Windows, these are Windows file handles. The parent objects
# are file descriptors on both platforms. The parent objects
# are -1 when nie using PIPEs. The child objects are -1
# when nie redirecting.
(p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite) = self._get_handles(stdin, stdout, stderr)
# We wrap OS handles *before* launching the child, otherwise a
# quickly terminating child could make our fds unwrappable
# (see #8458).
jeżeli _mswindows:
jeżeli p2cwrite != -1:
p2cwrite = msvcrt.open_osfhandle(p2cwrite.Detach(), 0)
jeżeli c2pread != -1:
c2pread = msvcrt.open_osfhandle(c2pread.Detach(), 0)
jeżeli errread != -1:
errread = msvcrt.open_osfhandle(errread.Detach(), 0)
jeżeli p2cwrite != -1:
self.stdin = io.open(p2cwrite, 'wb', bufsize)
jeżeli universal_newlines:
self.stdin = io.TextIOWrapper(self.stdin, write_through=Prawda,
line_buffering=(bufsize == 1))
jeżeli c2pread != -1:
self.stdout = io.open(c2pread, 'rb', bufsize)
jeżeli universal_newlines:
self.stdout = io.TextIOWrapper(self.stdout)
jeżeli errread != -1:
self.stderr = io.open(errread, 'rb', bufsize)
jeżeli universal_newlines:
self.stderr = io.TextIOWrapper(self.stderr)
self._closed_child_pipe_fds = Nieprawda
spróbuj:
self._execute_child(args, executable, preexec_fn, close_fds,
dalej_fds, cwd, env,
startupinfo, creationflags, shell,
p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite,
restore_signals, start_new_session)
wyjąwszy:
# Cleanup jeżeli the child failed starting.
dla f w filter(Nic, (self.stdin, self.stdout, self.stderr)):
spróbuj:
f.close()
wyjąwszy OSError:
dalej # Ignore EBADF albo other errors.
jeżeli nie self._closed_child_pipe_fds:
to_close = []
jeżeli stdin == PIPE:
to_close.append(p2cread)
jeżeli stdout == PIPE:
to_close.append(c2pwrite)
jeżeli stderr == PIPE:
to_close.append(errwrite)
jeżeli hasattr(self, '_devnull'):
to_close.append(self._devnull)
dla fd w to_close:
spróbuj:
os.close(fd)
wyjąwszy OSError:
dalej
podnieś
zwróć self._devnull
def _stdin_write(self, input):
jeżeli input:
spróbuj:
self.stdin.write(input)
wyjąwszy BrokenPipeError:
# communicate() must ignore broken pipe error
dalej
wyjąwszy OSError jako e:
jeżeli e.errno == errno.EINVAL oraz self.poll() jest nie Nic:
# Issue #19612: On Windows, stdin.write() fails przy EINVAL
# jeżeli the process already exited before the write
dalej
inaczej:
podnieś
self.stdin.close()
def communicate(self, input=Nic, timeout=Nic):
"""Interact przy process: Send data to stdin. Read data from
stdout oraz stderr, until end-of-file jest reached. Wait for
process to terminate.
The optional "input" argument should be data to be sent to the
child process (jeżeli self.universal_newlines jest Prawda, this should
be a string; jeżeli it jest Nieprawda, "input" should be bytes), albo
Nic, jeżeli no data should be sent to the child.
communicate() returns a tuple (stdout, stderr). These will be
bytes or, jeżeli self.universal_newlines was Prawda, a string.
"""
jeżeli self._communication_started oraz input:
podnieś ValueError("Cannot send input after starting communication")
# Optimization: If we are nie worried about timeouts, we haven't
# started communicating, oraz we have one albo zero pipes, using select()
# albo threads jest unnecessary.
jeżeli (timeout jest Nic oraz nie self._communication_started oraz
[self.stdin, self.stdout, self.stderr].count(Nic) >= 2):
stdout = Nic
stderr = Nic
jeżeli self.stdin:
self._stdin_write(input)
albo_inaczej self.stdout:
stdout = self.stdout.read()
self.stdout.close()
albo_inaczej self.stderr:
stderr = self.stderr.read()
self.stderr.close()
self.wait()
inaczej:
jeżeli timeout jest nie Nic:
endtime = _time() + timeout
inaczej:
endtime = Nic
spróbuj:
stdout, stderr = self._communicate(input, endtime, timeout)
w_końcu:
self._communication_started = Prawda
sts = self.wait(timeout=self._remaining_time(endtime))
zwróć (stdout, stderr)
def poll(self):
zwróć self._internal_poll()
def _remaining_time(self, endtime):
"""Convenience dla _communicate when computing timeouts."""
jeżeli endtime jest Nic:
zwróć Nic
inaczej:
zwróć endtime - _time()
def _check_timeout(self, endtime, orig_timeout):
"""Convenience dla checking jeżeli a timeout has expired."""
jeżeli endtime jest Nic:
zwróć
jeżeli _time() > endtime:
podnieś TimeoutExpired(self.args, orig_timeout)
jeżeli _mswindows:
#
# Windows methods
#
def _get_handles(self, stdin, stdout, stderr):
"""Construct oraz zwróć tuple przy IO objects:
p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite
"""
jeżeli stdin jest Nic oraz stdout jest Nic oraz stderr jest Nic:
zwróć (-1, -1, -1, -1, -1, -1)
p2cread, p2cwrite = -1, -1
c2pread, c2pwrite = -1, -1
errread, errwrite = -1, -1
jeżeli stdin jest Nic:
p2cread = _winapi.GetStdHandle(_winapi.STD_INPUT_HANDLE)
jeżeli p2cread jest Nic:
p2cread, _ = _winapi.CreatePipe(Nic, 0)
p2cread = Handle(p2cread)
_winapi.CloseHandle(_)
albo_inaczej stdin == PIPE:
p2cread, p2cwrite = _winapi.CreatePipe(Nic, 0)
p2cread, p2cwrite = Handle(p2cread), Handle(p2cwrite)
albo_inaczej stdin == DEVNULL:
p2cread = msvcrt.get_osfhandle(self._get_devnull())
albo_inaczej isinstance(stdin, int):
p2cread = msvcrt.get_osfhandle(stdin)
inaczej:
# Assuming file-like object
p2cread = msvcrt.get_osfhandle(stdin.fileno())
p2cread = self._make_inheritable(p2cread)
jeżeli stdout jest Nic:
c2pwrite = _winapi.GetStdHandle(_winapi.STD_OUTPUT_HANDLE)
jeżeli c2pwrite jest Nic:
_, c2pwrite = _winapi.CreatePipe(Nic, 0)
c2pwrite = Handle(c2pwrite)
_winapi.CloseHandle(_)
albo_inaczej stdout == PIPE:
c2pread, c2pwrite = _winapi.CreatePipe(Nic, 0)
c2pread, c2pwrite = Handle(c2pread), Handle(c2pwrite)
albo_inaczej stdout == DEVNULL:
c2pwrite = msvcrt.get_osfhandle(self._get_devnull())
albo_inaczej isinstance(stdout, int):
c2pwrite = msvcrt.get_osfhandle(stdout)
inaczej:
# Assuming file-like object
c2pwrite = msvcrt.get_osfhandle(stdout.fileno())
c2pwrite = self._make_inheritable(c2pwrite)
jeżeli stderr jest Nic:
errwrite = _winapi.GetStdHandle(_winapi.STD_ERROR_HANDLE)
jeżeli errwrite jest Nic:
_, errwrite = _winapi.CreatePipe(Nic, 0)
errwrite = Handle(errwrite)
_winapi.CloseHandle(_)
albo_inaczej stderr == PIPE:
errread, errwrite = _winapi.CreatePipe(Nic, 0)
errread, errwrite = Handle(errread), Handle(errwrite)
albo_inaczej stderr == STDOUT:
errwrite = c2pwrite
albo_inaczej stderr == DEVNULL:
errwrite = msvcrt.get_osfhandle(self._get_devnull())
albo_inaczej isinstance(stderr, int):
errwrite = msvcrt.get_osfhandle(stderr)
inaczej:
# Assuming file-like object
errwrite = msvcrt.get_osfhandle(stderr.fileno())
errwrite = self._make_inheritable(errwrite)
zwróć (p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite)
def _make_inheritable(self, handle):
"""Return a duplicate of handle, which jest inheritable"""
h = _winapi.DuplicateHandle(
_winapi.GetCurrentProcess(), handle,
_winapi.GetCurrentProcess(), 0, 1,
_winapi.DUPLICATE_SAME_ACCESS)
zwróć Handle(h)
def _execute_child(self, args, executable, preexec_fn, close_fds,
dalej_fds, cwd, env,
startupinfo, creationflags, shell,
p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite,
unused_restore_signals, unused_start_new_session):
"""Execute program (MS Windows version)"""
assert nie dalej_fds, "pass_fds nie supported on Windows."
jeżeli nie isinstance(args, str):
args = list2cmdline(args)
# Process startup details
jeżeli startupinfo jest Nic:
startupinfo = STARTUPINFO()
jeżeli -1 nie w (p2cread, c2pwrite, errwrite):
startupinfo.dwFlags |= _winapi.STARTF_USESTDHANDLES
startupinfo.hStdInput = p2cread
startupinfo.hStdOutput = c2pwrite
startupinfo.hStdError = errwrite
jeżeli shell:
startupinfo.dwFlags |= _winapi.STARTF_USESHOWWINDOW
startupinfo.wShowWindow = _winapi.SW_HIDE
comspec = os.environ.get("COMSPEC", "cmd.exe")
args = '{} /c "{}"'.format (comspec, args)
# Start the process
spróbuj:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
# no special security
Nic, Nic,
int(nie close_fds),
creationflags,
env,
cwd,
startupinfo)
w_końcu:
# Child jest launched. Close the parent's copy of those pipe
# handles that only the child should have open. You need
# to make sure that no handles to the write end of the
# output pipe are maintained w this process albo inaczej the
# pipe will nie close when the child process exits oraz the
# ReadFile will hang.
jeżeli p2cread != -1:
p2cread.Close()
jeżeli c2pwrite != -1:
c2pwrite.Close()
jeżeli errwrite != -1:
errwrite.Close()
jeżeli hasattr(self, '_devnull'):
os.close(self._devnull)
# Retain the process handle, but close the thread handle
self._child_created = Prawda
self._handle = Handle(hp)
self.pid = pid
_winapi.CloseHandle(ht)
def _internal_poll(self, _deadstate=Nic,
_WaitForSingleObject=_winapi.WaitForSingleObject,
_WAIT_OBJECT_0=_winapi.WAIT_OBJECT_0,
_GetExitCodeProcess=_winapi.GetExitCodeProcess):
"""Check jeżeli child process has terminated. Returns returncode
attribute.
This method jest called by __del__, so it can only refer to objects
w its local scope.
"""
jeżeli self.returncode jest Nic:
jeżeli _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
self.returncode = _GetExitCodeProcess(self._handle)
zwróć self.returncode
def wait(self, timeout=Nic, endtime=Nic):
"""Wait dla child process to terminate. Returns returncode
attribute."""
jeżeli endtime jest nie Nic:
timeout = self._remaining_time(endtime)
jeżeli timeout jest Nic:
timeout_millis = _winapi.INFINITE
inaczej:
timeout_millis = int(timeout * 1000)
jeżeli self.returncode jest Nic:
result = _winapi.WaitForSingleObject(self._handle,
timeout_millis)
jeżeli result == _winapi.WAIT_TIMEOUT:
podnieś TimeoutExpired(self.args, timeout)
self.returncode = _winapi.GetExitCodeProcess(self._handle)
zwróć self.returncode
def _readerthread(self, fh, buffer):
buffer.append(fh.read())
fh.close()
def _communicate(self, input, endtime, orig_timeout):
# Start reader threads feeding into a list hanging off of this
# object, unless they've already been started.
jeżeli self.stdout oraz nie hasattr(self, "_stdout_buff"):
self._stdout_buff = []
self.stdout_thread = \
threading.Thread(target=self._readerthread,
args=(self.stdout, self._stdout_buff))
self.stdout_thread.daemon = Prawda
self.stdout_thread.start()
jeżeli self.stderr oraz nie hasattr(self, "_stderr_buff"):
self._stderr_buff = []
self.stderr_thread = \
threading.Thread(target=self._readerthread,
args=(self.stderr, self._stderr_buff))
self.stderr_thread.daemon = Prawda
self.stderr_thread.start()
jeżeli self.stdin:
self._stdin_write(input)
# Wait dla the reader threads, albo time out. If we time out, the
# threads remain reading oraz the fds left open w case the user
# calls communicate again.
jeżeli self.stdout jest nie Nic:
self.stdout_thread.join(self._remaining_time(endtime))
jeżeli self.stdout_thread.is_alive():
podnieś TimeoutExpired(self.args, orig_timeout)
jeżeli self.stderr jest nie Nic:
self.stderr_thread.join(self._remaining_time(endtime))
jeżeli self.stderr_thread.is_alive():
podnieś TimeoutExpired(self.args, orig_timeout)
# Collect the output z oraz close both pipes, now that we know
# both have been read successfully.
stdout = Nic
stderr = Nic
jeżeli self.stdout:
stdout = self._stdout_buff
self.stdout.close()
jeżeli self.stderr:
stderr = self._stderr_buff
self.stderr.close()
# All data exchanged. Translate lists into strings.
jeżeli stdout jest nie Nic:
stdout = stdout[0]
jeżeli stderr jest nie Nic:
stderr = stderr[0]
zwróć (stdout, stderr)
def send_signal(self, sig):
"""Send a signal to the process
"""
jeżeli sig == signal.SIGTERM:
self.terminate()
albo_inaczej sig == signal.CTRL_C_EVENT:
os.kill(self.pid, signal.CTRL_C_EVENT)
albo_inaczej sig == signal.CTRL_BREAK_EVENT:
os.kill(self.pid, signal.CTRL_BREAK_EVENT)
inaczej:
podnieś ValueError("Unsupported signal: {}".format(sig))
def terminate(self):
"""Terminates the process
"""
spróbuj:
_winapi.TerminateProcess(self._handle, 1)
wyjąwszy PermissionError:
# ERROR_ACCESS_DENIED (winerror 5) jest received when the
# process already died.
rc = _winapi.GetExitCodeProcess(self._handle)
jeżeli rc == _winapi.STILL_ACTIVE:
podnieś
self.returncode = rc
kill = terminate
inaczej:
#
# POSIX methods
#
albo_inaczej stdin == DEVNULL:
p2cread = self._get_devnull()
albo_inaczej isinstance(stdin, int):
p2cread = stdin
inaczej:
# Assuming file-like object
p2cread = stdin.fileno()
jeżeli stdout jest Nic:
dalej
albo_inaczej stdout == PIPE:
c2pread, c2pwrite = os.pipe()
albo_inaczej stdout == DEVNULL:
c2pwrite = self._get_devnull()
albo_inaczej isinstance(stdout, int):
c2pwrite = stdout
inaczej:
# Assuming file-like object
c2pwrite = stdout.fileno()
jeżeli stderr jest Nic:
dalej
albo_inaczej stderr == PIPE:
errread, errwrite = os.pipe()
albo_inaczej stderr == STDOUT:
errwrite = c2pwrite
albo_inaczej stderr == DEVNULL:
errwrite = self._get_devnull()
albo_inaczej isinstance(stderr, int):
errwrite = stderr
inaczej:
# Assuming file-like object
errwrite = stderr.fileno()
zwróć (p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite)
def _execute_child(self, args, executable, preexec_fn, close_fds,
dalej_fds, cwd, env,
startupinfo, creationflags, shell,
p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite,
restore_signals, start_new_session):
"""Execute program (POSIX version)"""
jeżeli isinstance(args, (str, bytes)):
args = [args]
inaczej:
args = list(args)
jeżeli shell:
args = ["/bin/sh", "-c"] + args
jeżeli executable:
args[0] = executable
jeżeli executable jest Nic:
executable = args[0]
orig_executable = executable
# For transferring possible exec failure z child to parent.
# Data format: "exception name:hex errno:description"
# Pickle jest nie used; it jest complex oraz involves memory allocation.
errpipe_read, errpipe_write = os.pipe()
# errpipe_write must nie be w the standard io 0, 1, albo 2 fd range.
low_fds_to_close = []
dopóki errpipe_write < 3:
low_fds_to_close.append(errpipe_write)
errpipe_write = os.dup(errpipe_write)
dla low_fd w low_fds_to_close:
os.close(low_fd)
spróbuj:
spróbuj:
# We must avoid complex work that could involve
# malloc albo free w the child process to avoid
# potential deadlocks, thus we do all this here.
# oraz dalej it to fork_exec()
jeżeli env jest nie Nic:
env_list = [os.fsencode(k) + b'=' + os.fsencode(v)
dla k, v w env.items()]
inaczej:
env_list = Nic # Use execv instead of execve.
executable = os.fsencode(executable)
jeżeli os.path.dirname(executable):
executable_list = (executable,)
inaczej:
# This matches the behavior of os._execvpe().
executable_list = tuple(
os.path.join(os.fsencode(dir), executable)
dla dir w os.get_exec_path(env))
fds_to_keep = set(pass_fds)
fds_to_keep.add(errpipe_write)
self.pid = _posixsubprocess.fork_exec(
args, executable_list,
close_fds, sorted(fds_to_keep), cwd, env_list,
p2cread, p2cwrite, c2pread, c2pwrite,
errread, errwrite,
errpipe_read, errpipe_write,
restore_signals, start_new_session, preexec_fn)
self._child_created = Prawda
w_końcu:
# be sure the FD jest closed no matter what
os.close(errpipe_write)
# self._devnull jest nie always defined.
devnull_fd = getattr(self, '_devnull', Nic)
jeżeli p2cread != -1 oraz p2cwrite != -1 oraz p2cread != devnull_fd:
os.close(p2cread)
jeżeli c2pwrite != -1 oraz c2pread != -1 oraz c2pwrite != devnull_fd:
os.close(c2pwrite)
jeżeli errwrite != -1 oraz errread != -1 oraz errwrite != devnull_fd:
os.close(errwrite)
jeżeli devnull_fd jest nie Nic:
os.close(devnull_fd)
# Prevent a double close of these fds z __init__ on error.
self._closed_child_pipe_fds = Prawda
# Wait dla exec to fail albo succeed; possibly raising an
# exception (limited w size)
errpipe_data = bytearray()
dopóki Prawda:
part = os.read(errpipe_read, 50000)
errpipe_data += part
jeżeli nie part albo len(errpipe_data) > 50000:
przerwij
w_końcu:
# be sure the FD jest closed no matter what
os.close(errpipe_read)
jeżeli errpipe_data:
spróbuj:
os.waitpid(self.pid, 0)
wyjąwszy ChildProcessError:
dalej
spróbuj:
exception_name, hex_errno, err_msg = (
errpipe_data.split(b':', 2))
wyjąwszy ValueError:
exception_name = b'SubprocessError'
hex_errno = b'0'
err_msg = (b'Bad exception data z child: ' +
repr(errpipe_data))
child_exception_type = getattr(
builtins, exception_name.decode('ascii'),
SubprocessError)
err_msg = err_msg.decode(errors="surrogatepass")
jeżeli issubclass(child_exception_type, OSError) oraz hex_errno:
errno_num = int(hex_errno, 16)
child_exec_never_called = (err_msg == "noexec")
jeżeli child_exec_never_called:
err_msg = ""
jeżeli errno_num != 0:
err_msg = os.strerror(errno_num)
jeżeli errno_num == errno.ENOENT:
jeżeli child_exec_never_called:
# The error must be z chdir(cwd).
err_msg += ': ' + repr(cwd)
inaczej:
err_msg += ': ' + repr(orig_executable)
podnieś child_exception_type(errno_num, err_msg)
podnieś child_exception_type(err_msg)
def _handle_exitstatus(self, sts, _WIFSIGNALED=os.WIFSIGNALED,
_WTERMSIG=os.WTERMSIG, _WIFEXITED=os.WIFEXITED,
_WEXITSTATUS=os.WEXITSTATUS):
"""All callers to this function MUST hold self._waitpid_lock."""
# This method jest called (indirectly) by __del__, so it cannot
# refer to anything outside of its local scope.
jeżeli _WIFSIGNALED(sts):
self.returncode = -_WTERMSIG(sts)
albo_inaczej _WIFEXITED(sts):
self.returncode = _WEXITSTATUS(sts)
inaczej:
# Should never happen
podnieś SubprocessError("Unknown child exit status!")
def _internal_poll(self, _deadstate=Nic, _waitpid=os.waitpid,
_WNOHANG=os.WNOHANG, _ECHILD=errno.ECHILD):
"""Check jeżeli child process has terminated. Returns returncode
attribute.
This method jest called by __del__, so it cannot reference anything
outside of the local scope (nor can any methods it calls).
"""
jeżeli self.returncode jest Nic:
jeżeli nie self._waitpid_lock.acquire(Nieprawda):
# Something inaczej jest busy calling waitpid. Don't allow two
# at once. We know nothing yet.
zwróć Nic
spróbuj:
jeżeli self.returncode jest nie Nic:
zwróć self.returncode # Another thread waited.
pid, sts = _waitpid(self.pid, _WNOHANG)
jeżeli pid == self.pid:
self._handle_exitstatus(sts)
wyjąwszy OSError jako e:
jeżeli _deadstate jest nie Nic:
self.returncode = _deadstate
albo_inaczej e.errno == _ECHILD:
# This happens jeżeli SIGCLD jest set to be ignored albo
# waiting dla child processes has otherwise been
# disabled dla our process. This child jest dead, we
# can't get the status.
# http://bugs.python.org/issue15756
self.returncode = 0
w_końcu:
self._waitpid_lock.release()
zwróć self.returncode
def _try_wait(self, wait_flags):
"""All callers to this function MUST hold self._waitpid_lock."""
spróbuj:
(pid, sts) = os.waitpid(self.pid, wait_flags)
wyjąwszy ChildProcessError:
# This happens jeżeli SIGCLD jest set to be ignored albo waiting
# dla child processes has otherwise been disabled dla our
# process. This child jest dead, we can't get the status.
pid = self.pid
sts = 0
zwróć (pid, sts)
def wait(self, timeout=Nic, endtime=Nic):
"""Wait dla child process to terminate. Returns returncode
attribute."""
jeżeli self.returncode jest nie Nic:
zwróć self.returncode
# endtime jest preferred to timeout. timeout jest only used for
# printing.
jeżeli endtime jest nie Nic albo timeout jest nie Nic:
jeżeli endtime jest Nic:
endtime = _time() + timeout
albo_inaczej timeout jest Nic:
timeout = self._remaining_time(endtime)
jeżeli endtime jest nie Nic:
# Enter a busy loop jeżeli we have a timeout. This busy loop was
# cribbed z Lib/threading.py w Thread.wait() at r71065.
delay = 0.0005 # 500 us -> initial delay of 1 ms
dopóki Prawda:
jeżeli self._waitpid_lock.acquire(Nieprawda):
spróbuj:
jeżeli self.returncode jest nie Nic:
przerwij # Another thread waited.
(pid, sts) = self._try_wait(os.WNOHANG)
assert pid == self.pid albo pid == 0
jeżeli pid == self.pid:
self._handle_exitstatus(sts)
przerwij
w_końcu:
self._waitpid_lock.release()
remaining = self._remaining_time(endtime)
jeżeli remaining <= 0:
podnieś TimeoutExpired(self.args, timeout)
delay = min(delay * 2, remaining, .05)
time.sleep(delay)
inaczej:
dopóki self.returncode jest Nic:
przy self._waitpid_lock:
jeżeli self.returncode jest nie Nic:
przerwij # Another thread waited.
(pid, sts) = self._try_wait(0)
# Check the pid oraz loop jako waitpid has been known to
# zwróć 0 even without WNOHANG w odd situations.
# http://bugs.python.org/issue14396.
jeżeli pid == self.pid:
self._handle_exitstatus(sts)
zwróć self.returncode
def _communicate(self, input, endtime, orig_timeout):
jeżeli self.stdin oraz nie self._communication_started:
# Flush stdio buffer. This might block, jeżeli the user has
# been writing to .stdin w an uncontrolled fashion.
self.stdin.flush()
jeżeli nie input:
self.stdin.close()
stdout = Nic
stderr = Nic
# Only create this mapping jeżeli we haven't already.
jeżeli nie self._communication_started:
self._fileobj2output = {}
jeżeli self.stdout:
self._fileobj2output[self.stdout] = []
jeżeli self.stderr:
self._fileobj2output[self.stderr] = []
jeżeli self.stdout:
stdout = self._fileobj2output[self.stdout]
jeżeli self.stderr:
stderr = self._fileobj2output[self.stderr]
self._save_input(input)
jeżeli self._input:
input_view = memoryview(self._input)
przy _PopenSelector() jako selector:
jeżeli self.stdin oraz input:
selector.register(self.stdin, selectors.EVENT_WRITE)
jeżeli self.stdout:
selector.register(self.stdout, selectors.EVENT_READ)
jeżeli self.stderr:
selector.register(self.stderr, selectors.EVENT_READ)
dopóki selector.get_map():
timeout = self._remaining_time(endtime)
jeżeli timeout jest nie Nic oraz timeout < 0:
podnieś TimeoutExpired(self.args, orig_timeout)
ready = selector.select(timeout)
self._check_timeout(endtime, orig_timeout)
# XXX Rewrite these to use non-blocking I/O on the file
# objects; they are no longer using C stdio!
dla key, events w ready:
jeżeli key.fileobj jest self.stdin:
chunk = input_view[self._input_offset :
self._input_offset + _PIPE_BUF]
spróbuj:
self._input_offset += os.write(key.fd, chunk)
wyjąwszy BrokenPipeError:
selector.unregister(key.fileobj)
key.fileobj.close()
inaczej:
jeżeli self._input_offset >= len(self._input):
selector.unregister(key.fileobj)
key.fileobj.close()
albo_inaczej key.fileobj w (self.stdout, self.stderr):
data = os.read(key.fd, 32768)
jeżeli nie data:
selector.unregister(key.fileobj)
key.fileobj.close()
self._fileobj2output[key.fileobj].append(data)
self.wait(timeout=self._remaining_time(endtime))
# All data exchanged. Translate lists into strings.
jeżeli stdout jest nie Nic:
stdout = b''.join(stdout)
jeżeli stderr jest nie Nic:
stderr = b''.join(stderr)
# Translate newlines, jeżeli requested.
# This also turns bytes into strings.
jeżeli self.universal_newlines:
jeżeli stdout jest nie Nic:
stdout = self._translate_newlines(stdout,
self.stdout.encoding)
jeżeli stderr jest nie Nic:
stderr = self._translate_newlines(stderr,
self.stderr.encoding)
zwróć (stdout, stderr)
def _save_input(self, input):
# This method jest called z the _communicate_with_*() methods
# so that jeżeli we time out dopóki communicating, we can kontynuuj
# sending input jeżeli we retry.
jeżeli self.stdin oraz self._input jest Nic:
self._input_offset = 0
self._input = input
jeżeli self.universal_newlines oraz input jest nie Nic:
self._input = self._input.encode(self.stdin.encoding)
def send_signal(self, sig):
"""Send a signal to the process
"""
os.kill(self.pid, sig)
def terminate(self):
"""Terminate the process przy SIGTERM
"""
self.send_signal(signal.SIGTERM)
def kill(self):
"""Kill the process przy SIGKILL
"""
self.send_signal(signal.SIGKILL)
| [
2,
850,
14681,
532,
3834,
14681,
274,
778,
7357,
9857,
314,
14,
46,
15190,
198,
2,
198,
2,
1114,
517,
1321,
546,
428,
8265,
11,
766,
350,
8905,
38595,
13,
198,
2,
198,
2,
15069,
357,
66,
8,
5816,
12,
14315,
416,
5613,
317,
2536,
392,
1279,
459,
25192,
31,
27385,
1352,
13,
4528,
84,
13,
325,
29,
198,
2,
198,
2,
49962,
284,
6599,
37,
739,
257,
25767,
273,
12729,
13,
198,
2,
4091,
2638,
1378,
2503,
13,
29412,
13,
2398,
14,
17,
13,
19,
14,
43085,
288,
5031,
15665,
3307,
13,
198,
198,
81,
37811,
7266,
14681,
532,
3834,
14681,
274,
778,
7357,
9857,
314,
14,
46,
15190,
198,
198,
1212,
8265,
3578,
345,
284,
10922,
7767,
11,
2018,
284,
511,
198,
15414,
14,
22915,
14,
18224,
19860,
11,
393,
1031,
7330,
511,
1976,
18351,
10205,
38325,
12416,
13,
220,
770,
8265,
198,
600,
2412,
284,
6330,
1811,
4697,
13103,
393,
1031,
5499,
25,
198,
198,
418,
13,
10057,
198,
418,
13,
48183,
9,
198,
198,
21918,
546,
703,
262,
850,
14681,
8265,
460,
307,
973,
284,
6330,
777,
198,
18170,
393,
1031,
5499,
460,
307,
1043,
2174,
13,
628,
198,
198,
12814,
262,
850,
14681,
8265,
198,
4770,
2559,
18604,
198,
1212,
8265,
15738,
530,
479,
75,
15462,
1444,
8099,
268,
25,
198,
198,
41582,
15462,
8099,
268,
7,
22046,
11,
42684,
7857,
10779,
16,
11,
28883,
28,
30403,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
259,
28,
30403,
11,
14367,
448,
28,
30403,
11,
336,
1082,
81,
28,
30403,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47488,
87,
721,
62,
22184,
28,
30403,
11,
1969,
62,
69,
9310,
28,
47,
1831,
6814,
11,
7582,
28,
45,
494,
79,
1831,
6814,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
16993,
28,
30403,
11,
17365,
28,
30403,
11,
10112,
62,
3605,
6615,
28,
45,
494,
79,
1831,
6814,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
28,
30403,
11,
6282,
33152,
28,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11169,
62,
12683,
874,
28,
47,
1831,
6814,
11,
923,
62,
3605,
62,
29891,
28,
45,
494,
79,
1831,
6814,
11,
288,
1000,
73,
62,
69,
9310,
28,
3419,
2599,
628,
198,
28100,
2886,
389,
25,
198,
198,
22046,
815,
307,
257,
4731,
11,
435,
2127,
257,
8379,
286,
1430,
7159,
13,
220,
383,
198,
23065,
284,
12260,
474,
395,
7685,
262,
717,
2378,
266,
262,
26498,
8379,
435,
2127,
198,
8841,
11,
475,
460,
307,
11777,
900,
416,
1262,
262,
28883,
4578,
13,
198,
198,
2202,
28069,
10426,
11,
778,
7357,
7582,
28,
45,
494,
79,
1831,
6814,
357,
12286,
2599,
554,
428,
1339,
11,
262,
8099,
268,
1398,
198,
2664,
28686,
13,
18558,
36133,
3419,
284,
12260,
262,
1200,
1430,
13,
220,
26498,
815,
7685,
198,
1350,
257,
8379,
13,
220,
317,
4731,
481,
307,
5716,
474,
25496,
257,
8379,
778,
7357,
262,
4731,
198,
292,
262,
691,
2378,
357,
1169,
1430,
284,
12260,
737,
198,
198,
2202,
28069,
10426,
11,
778,
7357,
7582,
28,
47,
1831,
6814,
25,
1002,
26498,
474,
395,
257,
4731,
11,
340,
26052,
262,
198,
21812,
4731,
284,
12260,
832,
262,
7582,
13,
220,
1002,
26498,
474,
395,
257,
8379,
11,
198,
1169,
717,
2378,
26052,
262,
3141,
4731,
11,
393,
1031,
597,
3224,
3709,
198,
10594,
307,
5716,
474,
25496,
3224,
7582,
7159,
13,
198,
198,
2202,
3964,
25,
262,
8099,
268,
479,
75,
15462,
3544,
13610,
18709,
3419,
284,
12260,
262,
1200,
198,
23065,
11,
543,
14051,
319,
13042,
13,
220,
1002,
26498,
474,
395,
257,
8379,
11,
340,
481,
307,
198,
1102,
13658,
284,
257,
4731,
1262,
262,
1351,
17,
28758,
1370,
2446,
13,
220,
4222,
3465,
326,
198,
1662,
477,
6579,
3964,
5479,
6179,
262,
3141,
1627,
262,
976,
198,
1014,
25,
383,
1351,
17,
28758,
1370,
474,
395,
3562,
288,
5031,
5479,
1262,
262,
976,
198,
38785,
474,
25496,
262,
6579,
327,
19124,
13,
198,
198,
29325,
7857,
481,
307,
14275,
474,
25496,
262,
11188,
4578,
284,
262,
33245,
13,
9654,
3419,
198,
8818,
618,
4441,
262,
14367,
259,
14,
19282,
448,
14,
301,
1082,
81,
12656,
2393,
5563,
25,
198,
15,
1724,
22619,
1648,
1068,
357,
961,
1222,
3551,
389,
530,
1080,
869,
393,
1031,
460,
1976,
18351,
10205,
38325,
1790,
828,
198,
16,
1724,
1627,
6940,
1068,
11,
597,
584,
3967,
1988,
1724,
779,
257,
11876,
286,
198,
47498,
326,
2546,
13,
220,
317,
4633,
42684,
7857,
11,
262,
4277,
11,
1724,
262,
1080,
198,
12286,
286,
33245,
13,
7206,
38865,
62,
19499,
45746,
62,
33489,
481,
307,
973,
13,
198,
198,
19282,
259,
11,
14367,
448,
393,
1031,
336,
1082,
81,
11986,
262,
10945,
4056,
6,
3210,
198,
15414,
11,
3210,
5072,
393,
1031,
3210,
4049,
2393,
17105,
11,
8148,
13,
198,
47139,
3815,
389,
350,
4061,
36,
11,
281,
4683,
2393,
43087,
357,
64,
3967,
198,
41433,
828,
281,
4683,
2393,
2134,
11,
393,
1031,
8377,
13,
220,
350,
4061,
36,
9217,
326,
257,
198,
3605,
12656,
284,
262,
1200,
815,
307,
2727,
13,
220,
2080,
8377,
11,
645,
2266,
4154,
198,
10594,
3051,
26,
262,
1200,
338,
2393,
17105,
481,
307,
19552,
1976,
262,
198,
8000,
13,
220,
12032,
11,
336,
1082,
81,
460,
307,
48571,
12425,
11,
543,
9217,
326,
262,
198,
301,
1082,
81,
1366,
1976,
262,
5479,
815,
307,
7907,
656,
262,
976,
198,
7753,
5412,
474,
25496,
288,
5031,
14367,
448,
13,
198,
198,
2202,
28069,
10426,
11,
11223,
129,
120,
43733,
47488,
87,
721,
62,
22184,
474,
395,
900,
284,
257,
869,
540,
2134,
11,
428,
2134,
481,
307,
198,
7174,
266,
262,
1200,
1429,
655,
878,
262,
1200,
474,
395,
10945,
13,
220,
383,
779,
198,
1659,
47488,
87,
721,
62,
22184,
474,
395,
299,
494,
4704,
3338,
11,
1262,
340,
266,
262,
4931,
286,
14390,
198,
24089,
1085,
284,
257,
2636,
5354,
266,
262,
1200,
1429,
878,
262,
649,
28883,
198,
271,
10945,
13,
198,
198,
1532,
1969,
62,
69,
9310,
474,
395,
2081,
11,
477,
2393,
12145,
669,
266,
88,
73,
128,
227,
18504,
7357,
657,
11,
352,
393,
1031,
362,
481,
307,
198,
20225,
878,
262,
1200,
1429,
474,
395,
10945,
13,
220,
383,
4277,
288,
5031,
1969,
62,
69,
9310,
198,
85,
3166,
416,
3859,
25,
220,
16622,
2081,
319,
28069,
10426,
13,
220,
350,
1831,
6814,
618,
14367,
259,
14,
19282,
448,
14,
301,
1082,
81,
198,
533,
8377,
319,
3964,
11,
3991,
4306,
13,
198,
198,
6603,
62,
69,
9310,
474,
395,
281,
11902,
8379,
286,
2393,
12145,
669,
284,
1394,
1280,
1022,
262,
198,
8000,
393,
1031,
1200,
13,
220,
7518,
2530,
597,
288,
1000,
73,
62,
69,
9310,
31821,
5621,
1969,
62,
69,
9310,
284,
2081,
13,
198,
198,
18015,
129,
120,
43733,
7582,
474,
395,
2081,
11,
262,
7368,
3141,
481,
307,
10945,
832,
262,
198,
29149,
13,
198,
198,
1532,
269,
16993,
474,
395,
299,
494,
8377,
11,
262,
1459,
8619,
481,
307,
3421,
284,
269,
16993,
198,
19052,
262,
1200,
474,
395,
10945,
13,
198,
198,
2202,
28069,
10426,
11,
11223,
129,
120,
43733,
11169,
62,
12683,
874,
474,
395,
350,
1831,
6814,
477,
10425,
326,
11361,
5621,
284,
198,
50,
3528,
62,
16284,
389,
15032,
284,
33993,
62,
35,
3697,
266,
262,
1200,
1429,
878,
262,
2452,
13,
198,
21327,
428,
3407,
262,
33993,
47,
4061,
36,
11,
33993,
55,
37,
57,
393,
1031,
33993,
55,
10652,
57,
10425,
13,
220,
770,
198,
17143,
2357,
857,
2147,
319,
3964,
13,
198,
198,
2202,
28069,
10426,
11,
11223,
129,
120,
43733,
923,
62,
3605,
62,
29891,
474,
395,
350,
1831,
6814,
11,
262,
5621,
312,
3419,
1080,
869,
481,
307,
925,
198,
259,
262,
1200,
1429,
3161,
284,
23710,
262,
3141,
13,
198,
198,
1532,
17365,
474,
395,
299,
494,
8377,
11,
340,
15738,
262,
2858,
9633,
288,
5031,
262,
649,
198,
14681,
13,
198,
198,
1532,
10112,
62,
3605,
6615,
474,
395,
399,
494,
79,
1831,
6814,
11,
262,
2393,
5563,
14367,
259,
11,
14367,
448,
393,
1031,
336,
1082,
81,
198,
533,
4721,
474,
25496,
13934,
3696,
11,
393,
1031,
645,
1627,
7464,
11315,
474,
395,
1760,
13,
198,
198,
1532,
10112,
62,
3605,
6615,
474,
395,
350,
1831,
6814,
11,
262,
2393,
5563,
14367,
448,
393,
1031,
336,
1082,
81,
389,
198,
26350,
474,
25496,
257,
2420,
2393,
11,
475,
3951,
743,
307,
23083,
416,
597,
286,
705,
59,
77,
3256,
198,
1169,
33501,
886,
12,
1659,
12,
1370,
9831,
11,
705,
59,
81,
3256,
262,
1468,
48087,
9831,
435,
2127,
198,
6,
59,
81,
59,
77,
3256,
262,
3964,
9831,
13,
220,
1439,
286,
777,
7097,
24612,
198,
533,
1775,
474,
25496,
705,
59,
77,
6,
416,
262,
11361,
1430,
13,
220,
4418,
11,
262,
649,
6615,
11688,
198,
1659,
262,
2393,
5563,
14367,
448,
11,
14367,
259,
393,
1031,
336,
1082,
81,
389,
299,
494,
6153,
416,
262,
198,
10709,
5344,
3419,
2446,
13,
198,
198,
818,
2035,
1339,
11,
262,
1429,
852,
28412,
778,
7357,
815,
923,
510,
198,
1069,
35570,
284,
3328,
9881,
319,
663,
3210,
5128,
393,
1031,
36899,
606,
351,
198,
1169,
976,
21004,
484,
389,
1908,
287,
13,
198,
198,
464,
13693,
10951,
393,
1031,
6282,
33152,
11,
11223,
129,
120,
43733,
1813,
11,
481,
307,
288,
1000,
73,
276,
284,
262,
198,
4625,
3157,
13610,
18709,
3419,
2163,
13,
220,
1119,
460,
11986,
1243,
884,
355,
198,
1324,
23435,
286,
262,
1388,
4324,
393,
1031,
8475,
288,
5031,
262,
649,
1429,
13,
198,
7,
11209,
691,
8,
628,
198,
1212,
8265,
635,
15738,
617,
29401,
5499,
25,
198,
198,
13345,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
5660,
3141,
778,
7357,
7159,
13,
220,
16314,
288,
5031,
3141,
284,
1844,
11,
788,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
262,
1441,
8189,
11688,
13,
628,
220,
220,
220,
383,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
8099,
268,
23772,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
1005,
8189,
796,
850,
14681,
13,
13345,
7,
14692,
7278,
1600,
27444,
75,
8973,
8,
198,
198,
9122,
62,
13345,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
5660,
3141,
778,
7357,
7159,
13,
220,
16314,
288,
5031,
3141,
284,
1844,
13,
220,
1002,
262,
198,
220,
220,
220,
8420,
2438,
373,
6632,
788,
1441,
11,
4306,
24573,
11952,
129,
249,
198,
220,
220,
220,
34099,
18709,
12331,
13,
220,
383,
34099,
18709,
12331,
2134,
481,
423,
262,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
2438,
266,
262,
1441,
8189,
11688,
13,
628,
220,
220,
220,
383,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
8099,
268,
23772,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
850,
14681,
13,
9122,
62,
13345,
7,
14692,
7278,
1600,
27444,
75,
8973,
8,
198,
220,
220,
220,
657,
198,
198,
1136,
13376,
22915,
7,
28758,
2599,
198,
220,
220,
220,
8229,
357,
13376,
11,
5072,
8,
286,
23710,
23991,
266,
257,
7582,
13,
628,
220,
220,
220,
8393,
1133,
262,
4731,
705,
28758,
6,
266,
257,
7582,
778,
7357,
705,
9122,
62,
22915,
6,
393,
1031,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
257,
362,
12,
83,
29291,
357,
13376,
11,
5072,
737,
14499,
649,
6615,
4235,
474,
395,
973,
11,
198,
220,
220,
220,
3616,
326,
262,
1255,
778,
7357,
307,
875,
9043,
284,
257,
4731,
13,
628,
220,
220,
220,
317,
25462,
649,
1370,
474,
395,
18818,
1976,
262,
5072,
13,
198,
220,
220,
220,
383,
8420,
3722,
288,
5031,
262,
3141,
460,
307,
16173,
198,
220,
220,
220,
1864,
284,
262,
3173,
288,
5031,
262,
2163,
705,
17077,
4458,
220,
17934,
25,
628,
220,
220,
220,
13163,
850,
14681,
13,
1136,
13376,
22915,
10786,
7278,
1220,
8800,
14,
7278,
11537,
198,
220,
220,
220,
357,
15,
11,
31051,
8800,
14,
7278,
11537,
198,
220,
220,
220,
13163,
850,
14681,
13,
1136,
13376,
22915,
10786,
9246,
1220,
8800,
14,
73,
2954,
11537,
198,
220,
220,
220,
357,
11645,
11,
705,
9246,
25,
1220,
8800,
14,
73,
2954,
25,
1400,
884,
2393,
435,
2127,
8619,
11537,
198,
220,
220,
220,
13163,
850,
14681,
13,
1136,
13376,
22915,
10786,
14,
8800,
14,
73,
2954,
11537,
198,
220,
220,
220,
357,
11645,
11,
705,
1477,
25,
1220,
8800,
14,
73,
2954,
25,
299,
494,
1043,
11537,
198,
198,
1136,
22915,
7,
28758,
2599,
198,
220,
220,
220,
8229,
5072,
357,
19282,
448,
435,
2127,
336,
1082,
81,
8,
286,
23710,
23991,
266,
257,
7582,
13,
628,
220,
220,
220,
4525,
651,
13376,
22915,
22784,
266,
88,
73,
128,
227,
18504,
7357,
262,
8420,
3722,
474,
395,
9514,
393,
1031,
262,
1976,
18351,
10205,
38325,
198,
220,
220,
220,
1988,
474,
395,
257,
4731,
7268,
262,
3141,
338,
5072,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
850,
14681,
13,
1136,
22915,
10786,
7278,
1220,
8800,
14,
7278,
11537,
198,
220,
220,
220,
31051,
8800,
14,
7278,
6,
198,
198,
9122,
62,
22915,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
5660,
3141,
778,
7357,
7159,
393,
1031,
1976,
18351,
10205,
38325,
663,
5072,
13,
628,
220,
220,
220,
1002,
262,
8420,
2438,
373,
1729,
12,
22570,
340,
24573,
11952,
129,
249,
82,
257,
34099,
18709,
12331,
13,
220,
383,
198,
220,
220,
220,
34099,
18709,
12331,
2134,
481,
423,
262,
1976,
18351,
10205,
38325,
2438,
266,
262,
1441,
8189,
198,
220,
220,
220,
11688,
393,
1031,
5072,
266,
262,
5072,
11688,
13,
628,
220,
220,
220,
383,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
8099,
268,
23772,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
5072,
796,
850,
14681,
13,
9122,
62,
22915,
7,
14692,
7278,
1600,
27444,
75,
1600,
12813,
7959,
14,
8423,
8973,
8,
628,
220,
220,
220,
1318,
474,
395,
281,
3224,
11902,
4578,
11,
366,
15414,
1600,
5086,
345,
284,
198,
220,
220,
220,
288,
1000,
73,
257,
4731,
284,
262,
850,
14681,
338,
14367,
259,
13,
220,
1002,
345,
779,
428,
4578,
198,
220,
220,
220,
345,
743,
299,
494,
635,
779,
262,
8099,
268,
23772,
338,
366,
19282,
259,
1,
4578,
13,
628,
220,
220,
220,
1002,
10112,
62,
3605,
6615,
474,
395,
900,
284,
350,
1831,
6814,
11,
262,
366,
15414,
1,
4578,
1276,
198,
220,
220,
220,
307,
257,
4731,
2138,
621,
9881,
11,
393,
1031,
262,
1976,
18351,
10205,
38325,
1988,
481,
307,
257,
4731,
13,
198,
198,
3109,
11755,
198,
35937,
198,
3109,
11755,
24573,
11952,
129,
249,
67,
266,
262,
1200,
1429,
11,
878,
262,
649,
1430,
468,
198,
46981,
284,
12260,
11,
481,
307,
302,
12,
49309,
266,
262,
2560,
13,
220,
12032,
11,
198,
1169,
6631,
2134,
481,
423,
530,
3131,
11688,
1444,
198,
6,
9410,
62,
40546,
1891,
3256,
543,
474,
395,
257,
4731,
7268,
12854,
1891,
1321,
198,
89,
262,
1200,
338,
966,
286,
1570,
13,
198,
198,
464,
749,
2219,
6631,
24573,
11952,
129,
249,
67,
474,
395,
440,
5188,
81,
1472,
13,
220,
770,
8833,
11,
329,
198,
20688,
11,
618,
2111,
284,
12260,
257,
1729,
12,
32786,
2393,
13,
220,
26622,
198,
21754,
8335,
288,
5031,
440,
5188,
81,
5965,
13,
198,
198,
32,
11052,
12331,
481,
307,
24573,
11952,
129,
249,
67,
11223,
129,
120,
43733,
8099,
268,
474,
395,
1444,
778,
7357,
12515,
7159,
13,
198,
198,
3109,
11755,
5447,
1626,
428,
8265,
16955,
1976,
3834,
14681,
12331,
13,
198,
9122,
62,
13345,
3419,
393,
1031,
2198,
62,
22915,
3419,
481,
24573,
11952,
129,
249,
34099,
18709,
12331,
11223,
129,
120,
43733,
262,
198,
7174,
1429,
5860,
257,
1729,
12,
22570,
1976,
18351,
10205,
38325,
2438,
13,
220,
3862,
448,
3109,
6474,
198,
1350,
24573,
11952,
129,
249,
67,
11223,
129,
120,
43733,
257,
26827,
373,
7368,
393,
1031,
21350,
13,
628,
198,
24074,
198,
982,
198,
18521,
617,
584,
1461,
268,
5499,
11,
428,
7822,
481,
1239,
869,
198,
14,
8800,
14,
1477,
31821,
13,
220,
770,
1724,
326,
477,
3435,
11,
1390,
7582,
198,
4164,
620,
283,
19858,
11,
460,
11512,
307,
288,
1000,
73,
276,
284,
1200,
7767,
13,
628,
198,
47,
9654,
5563,
198,
25609,
28,
198,
6310,
1817,
286,
262,
8099,
268,
479,
75,
15462,
423,
262,
1708,
5050,
25,
198,
198,
30393,
3419,
198,
220,
220,
220,
6822,
11223,
129,
120,
43733,
1200,
1429,
468,
23083,
13,
220,
16409,
1441,
8189,
198,
220,
220,
220,
11688,
13,
198,
198,
17077,
3419,
198,
220,
220,
220,
16314,
288,
5031,
1200,
1429,
284,
23654,
13,
220,
16409,
1441,
8189,
11688,
13,
198,
198,
10709,
5344,
7,
15414,
28,
30403,
8,
198,
220,
220,
220,
4225,
529,
778,
7357,
1429,
25,
16290,
1366,
284,
14367,
259,
13,
220,
4149,
1366,
1976,
14367,
448,
198,
220,
220,
220,
393,
1031,
336,
1082,
81,
11,
1566,
886,
12,
1659,
12,
7753,
474,
395,
4251,
13,
220,
16314,
288,
5031,
1429,
284,
198,
220,
220,
220,
23654,
13,
220,
383,
11902,
5128,
4578,
815,
307,
1366,
284,
307,
198,
220,
220,
220,
1908,
284,
262,
1200,
1429,
11,
435,
2127,
8377,
11,
11223,
129,
120,
43733,
645,
1366,
815,
307,
1908,
284,
198,
220,
220,
220,
262,
1200,
13,
1002,
262,
8099,
268,
4554,
373,
12006,
778,
7357,
10112,
62,
3605,
6615,
198,
220,
220,
220,
900,
284,
350,
1831,
6814,
11,
262,
5128,
4578,
815,
307,
257,
4731,
393,
1031,
481,
307,
30240,
198,
220,
220,
220,
1262,
262,
9871,
1080,
21004,
357,
3826,
36693,
13,
1136,
3866,
18186,
12685,
7656,
1776,
198,
220,
220,
220,
11223,
129,
120,
43733,
10112,
62,
3605,
6615,
474,
395,
399,
494,
79,
1831,
6814,
11,
262,
5128,
4578,
815,
307,
257,
198,
220,
220,
220,
18022,
4731,
13,
628,
220,
220,
220,
10996,
3419,
5860,
257,
46545,
357,
19282,
448,
11,
336,
1082,
81,
737,
628,
220,
220,
220,
5740,
25,
383,
1366,
1100,
474,
395,
6940,
1068,
266,
4088,
11,
523,
466,
299,
494,
779,
428,
198,
220,
220,
220,
2446,
11223,
129,
120,
43733,
262,
1366,
2546,
474,
395,
1588,
435,
2127,
15822,
13,
198,
198,
464,
1708,
12608,
389,
635,
1695,
25,
198,
198,
19282,
259,
198,
220,
220,
220,
1002,
262,
14367,
259,
4578,
474,
395,
350,
4061,
36,
11,
428,
11688,
474,
395,
257,
2393,
2134,
198,
220,
220,
220,
326,
3769,
5128,
284,
262,
1200,
1429,
13,
220,
15323,
11,
340,
474,
395,
8377,
13,
198,
198,
19282,
448,
198,
220,
220,
220,
1002,
262,
14367,
448,
4578,
474,
395,
350,
4061,
36,
11,
428,
11688,
474,
395,
257,
2393,
2134,
198,
220,
220,
220,
326,
3769,
5072,
1976,
262,
1200,
1429,
13,
220,
15323,
11,
340,
474,
395,
198,
220,
220,
220,
8377,
13,
198,
198,
301,
1082,
81,
198,
220,
220,
220,
1002,
262,
336,
1082,
81,
4578,
474,
395,
350,
4061,
36,
11,
428,
11688,
474,
395,
2393,
2134,
326,
198,
220,
220,
220,
3769,
4049,
5072,
1976,
262,
1200,
1429,
13,
220,
15323,
11,
340,
474,
395,
198,
220,
220,
220,
8377,
13,
198,
198,
35317,
198,
220,
220,
220,
383,
1429,
4522,
286,
262,
1200,
1429,
13,
198,
198,
7783,
8189,
198,
220,
220,
220,
383,
1200,
1976,
18351,
10205,
38325,
2438,
13,
220,
317,
8377,
1988,
9217,
326,
262,
1429,
198,
220,
220,
220,
5818,
470,
23083,
1865,
13,
220,
317,
4633,
1988,
532,
45,
9217,
326,
262,
198,
220,
220,
220,
1200,
373,
23083,
416,
6737,
399,
357,
37997,
10426,
691,
737,
628,
198,
39232,
4092,
4697,
5499,
778,
7357,
262,
850,
14681,
8265,
198,
10052,
4770,
1421,
198,
818,
428,
2665,
11,
366,
64,
6624,
29,
275,
1,
1724,
326,
275,
460,
307,
973,
474,
25496,
257,
9014,
198,
67,
5031,
257,
13,
198,
198,
6425,
25,
1439,
5499,
266,
428,
2665,
2038,
357,
3549,
435,
2127,
1342,
8,
24595,
611,
198,
1169,
10945,
1430,
2314,
307,
1043,
26,
428,
8265,
24573,
11952,
129,
249,
82,
281,
440,
5188,
81,
1472,
198,
1069,
4516,
13,
198,
198,
818,
262,
1708,
6096,
11,
356,
7048,
326,
262,
850,
14681,
8265,
474,
395,
198,
320,
9213,
778,
7357,
366,
89,
850,
14681,
1976,
1385,
634,
23577,
1635,
1911,
628,
198,
39232,
4092,
1220,
8800,
14,
1477,
7582,
736,
22708,
198,
3880,
12,
198,
22915,
28,
63,
1820,
28758,
616,
853,
63,
198,
855,
29,
198,
22915,
796,
8099,
268,
7,
14692,
1820,
28758,
1600,
366,
1820,
853,
33116,
14367,
448,
28,
47,
4061,
36,
737,
10709,
5344,
3419,
58,
15,
60,
628,
198,
39232,
4092,
7582,
12656,
1627,
198,
22369,
12,
198,
22915,
28,
63,
67,
6880,
70,
930,
42717,
289,
6814,
63,
198,
855,
29,
198,
79,
16,
796,
8099,
268,
7,
14692,
67,
6880,
70,
33116,
14367,
448,
28,
47,
4061,
36,
8,
198,
79,
17,
796,
8099,
268,
7,
14692,
70,
7856,
1600,
366,
71,
6814,
33116,
14367,
259,
28,
79,
16,
13,
19282,
448,
11,
14367,
448,
28,
47,
4061,
36,
8,
198,
22915,
796,
279,
17,
13,
10709,
5344,
3419,
58,
15,
60,
628,
198,
39232,
4092,
28686,
13,
10057,
3419,
198,
19351,
12,
198,
6448,
796,
28686,
13,
10057,
7203,
1820,
28758,
1,
1343,
366,
616,
853,
4943,
198,
855,
29,
198,
79,
796,
8099,
268,
7203,
1820,
28758,
1,
1343,
366,
616,
853,
1600,
7582,
28,
47,
1831,
6814,
8,
198,
35317,
11,
39747,
796,
28686,
13,
17077,
35317,
7,
79,
13,
35317,
11,
657,
8,
198,
198,
6425,
25,
198,
198,
9,
32677,
262,
1430,
832,
262,
7582,
474,
395,
3221,
299,
494,
2672,
13,
198,
198,
9,
632,
338,
4577,
284,
804,
379,
262,
1441,
8189,
11688,
621,
262,
198,
220,
8420,
13376,
13,
198,
198,
32,
517,
1103,
12,
6894,
1672,
561,
804,
588,
428,
25,
198,
198,
34975,
10205,
11110,
73,
25,
198,
220,
220,
220,
1005,
8189,
796,
869,
7203,
1820,
28758,
1,
1343,
366,
616,
853,
1600,
7582,
28,
47,
1831,
6814,
8,
198,
220,
220,
220,
11223,
129,
120,
43733,
1005,
8189,
1279,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16424,
373,
23083,
416,
6737,
1600,
532,
1186,
8189,
11,
2393,
28,
17597,
13,
301,
1082,
81,
8,
198,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
16424,
4504,
1600,
1005,
8189,
11,
2393,
28,
17597,
13,
301,
1082,
81,
8,
198,
21768,
73,
128,
227,
18504,
7357,
440,
5188,
81,
1472,
474,
25496,
304,
25,
198,
220,
220,
220,
3601,
7203,
23002,
1009,
4054,
25,
1600,
304,
11,
2393,
28,
17597,
13,
301,
1082,
81,
8,
628,
198,
39232,
4092,
28686,
13,
48183,
9,
198,
1783,
6329,
198,
47,
62,
45669,
32,
2043,
1672,
25,
198,
198,
35317,
796,
28686,
13,
48183,
34431,
7,
418,
13,
47,
62,
45669,
32,
2043,
11,
12813,
8800,
14,
1820,
28758,
1600,
366,
1820,
28758,
1600,
366,
1820,
853,
4943,
198,
855,
29,
198,
35317,
796,
8099,
268,
7,
14692,
14,
8800,
14,
1820,
28758,
1600,
366,
1820,
853,
8973,
737,
35317,
628,
198,
47,
62,
15543,
2043,
1672,
25,
198,
198,
1186,
8189,
796,
28686,
13,
48183,
34431,
7,
418,
13,
47,
62,
15543,
2043,
11,
12813,
8800,
14,
1820,
28758,
1600,
366,
1820,
28758,
1600,
366,
1820,
853,
4943,
198,
855,
29,
198,
1186,
8189,
796,
869,
7,
14692,
14,
8800,
14,
1820,
28758,
1600,
366,
1820,
853,
8973,
8,
628,
198,
38469,
1672,
25,
198,
198,
418,
13,
48183,
36133,
7,
418,
13,
47,
62,
45669,
32,
2043,
11,
3108,
11,
26498,
8,
198,
855,
29,
198,
47,
9654,
26933,
6978,
60,
1343,
26498,
58,
16,
25,
12962,
628,
198,
31441,
1672,
25,
198,
198,
418,
13,
48183,
75,
431,
7,
418,
13,
47,
62,
45669,
32,
2043,
11,
12813,
8800,
14,
1820,
28758,
1600,
366,
1820,
28758,
1600,
366,
1820,
853,
1600,
17365,
8,
198,
855,
29,
198,
47,
9654,
7,
14692,
14,
8800,
14,
1820,
28758,
1600,
366,
1820,
853,
33116,
17365,
28,
4895,
34219,
1298,
12813,
14629,
14,
8800,
20662,
8,
198,
37811,
198,
198,
89,
1385,
634,
23577,
25064,
198,
62,
907,
28457,
796,
357,
17597,
13,
24254,
6624,
366,
5404,
2624,
4943,
198,
198,
89,
1385,
634,
23577,
33245,
198,
89,
1385,
634,
23577,
28686,
198,
89,
1385,
634,
23577,
640,
198,
89,
1385,
634,
23577,
6737,
198,
89,
1385,
634,
23577,
3170,
1040,
198,
89,
1385,
634,
23577,
14601,
198,
89,
1385,
634,
23577,
11454,
3919,
198,
89,
640,
1976,
1385,
634,
23577,
937,
313,
9229,
474,
25496,
4808,
2435,
198,
198,
2,
35528,
6097,
973,
416,
428,
8265,
13,
198,
41582,
15462,
3834,
14681,
12331,
7,
16922,
2599,
288,
1000,
73,
628,
198,
41582,
15462,
34099,
18709,
12331,
7,
7004,
14681,
12331,
2599,
198,
220,
220,
220,
37227,
1212,
6631,
474,
395,
24573,
11952,
129,
249,
67,
618,
257,
1429,
1057,
416,
2198,
62,
13345,
3419,
435,
2127,
198,
220,
220,
220,
2198,
62,
22915,
3419,
5860,
257,
1729,
12,
22570,
8420,
3722,
13,
198,
220,
220,
220,
383,
8420,
3722,
481,
307,
8574,
266,
262,
1441,
8189,
11688,
26,
198,
220,
220,
220,
2198,
62,
22915,
3419,
481,
635,
3650,
262,
5072,
266,
262,
5072,
11688,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
14367,
448,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
40489,
288,
5031,
5072,
11688,
11,
284,
2872,
336,
1082,
81,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13,
22915,
628,
220,
220,
220,
2488,
19282,
448,
13,
2617,
353,
628,
198,
41582,
15462,
3862,
448,
3109,
6474,
7,
7004,
14681,
12331,
2599,
198,
220,
220,
220,
37227,
1212,
6631,
474,
395,
24573,
11952,
129,
249,
67,
618,
262,
26827,
27396,
22340,
10205,
4106,
4953,
288,
5031,
257,
198,
220,
220,
220,
1200,
1429,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
19282,
448,
13,
2617,
353,
628,
198,
18015,
129,
120,
43733,
4808,
907,
28457,
25,
198,
220,
220,
220,
1976,
1385,
634,
23577,
4704,
278,
198,
220,
220,
220,
1976,
1385,
634,
23577,
13845,
85,
6098,
83,
198,
220,
220,
220,
1976,
1385,
634,
23577,
4808,
5404,
15042,
198,
220,
220,
220,
479,
75,
15462,
33303,
8577,
10778,
25,
198,
220,
220,
220,
220,
220,
220,
220,
43756,
40053,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
289,
1273,
67,
20560,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
289,
1273,
67,
26410,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
289,
1273,
67,
12331,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
266,
15307,
27703,
796,
657,
198,
259,
330,
2736,
73,
25,
198,
220,
220,
220,
1976,
1385,
634,
23577,
4808,
1930,
844,
7266,
14681,
198,
220,
220,
220,
1976,
1385,
634,
23577,
2922,
198,
220,
220,
220,
1976,
1385,
634,
23577,
2922,
669,
198,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
1385,
634,
23577,
4704,
278,
198,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
17267,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
1385,
634,
23577,
31548,
62,
16663,
278,
474,
25496,
4704,
278,
628,
220,
220,
220,
1303,
1649,
2922,
435,
2127,
3278,
468,
8203,
326,
262,
2393,
474,
395,
1991,
540,
11,
198,
220,
220,
220,
1303,
356,
460,
3551,
510,
284,
4808,
47,
4061,
36,
62,
19499,
37,
9881,
1231,
2526,
286,
12013,
13,
198,
220,
220,
220,
1303,
28069,
10426,
15738,
350,
4061,
36,
62,
19499,
37,
474,
25496,
18189,
22243,
13,
198,
220,
220,
220,
4808,
47,
4061,
36,
62,
19499,
37,
796,
651,
35226,
7,
19738,
11,
705,
47,
4061,
36,
62,
19499,
37,
3256,
22243,
8,
628,
220,
220,
220,
1303,
3278,
14,
19738,
423,
262,
4621,
286,
299,
494,
10616,
597,
3131,
2393,
198,
220,
220,
220,
1303,
43087,
11,
3445,
3093,
284,
2462,
692,
14,
74,
36560,
357,
14508,
11,
484,
2421,
257,
2060,
198,
220,
220,
220,
1303,
827,
1416,
439,
737,
198,
220,
220,
220,
11223,
129,
120,
43733,
468,
35226,
7,
19738,
669,
11,
705,
39176,
17563,
273,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
47,
9654,
17563,
273,
796,
2922,
669,
13,
39176,
17563,
273,
198,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
47,
9654,
17563,
273,
796,
2922,
669,
13,
17563,
17563,
273,
628,
198,
834,
439,
834,
796,
14631,
47,
9654,
1600,
366,
47,
4061,
36,
1600,
366,
36886,
1600,
366,
13345,
1600,
366,
9122,
62,
13345,
1600,
366,
1136,
13376,
22915,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1136,
22915,
1600,
366,
9122,
62,
22915,
1600,
366,
5143,
1600,
366,
34,
4262,
18709,
12331,
1600,
366,
39345,
33991,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7004,
14681,
12331,
1600,
366,
48031,
3109,
6474,
1600,
366,
43768,
18709,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
25,
775,
16464,
19607,
1351,
17,
28758,
1370,
474,
25496,
340,
474,
395,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3177,
281,
5387,
7822,
3703,
13,
220,
2071,
15711,
2548,
13,
198,
198,
18015,
129,
120,
43733,
4808,
907,
28457,
25,
198,
220,
220,
220,
1976,
4808,
5404,
15042,
1976,
1385,
634,
23577,
357,
43387,
6158,
62,
13965,
62,
10943,
15821,
2538,
11,
29244,
6158,
62,
13965,
62,
4805,
4503,
7597,
62,
46846,
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,
48571,
62,
1268,
30076,
62,
39,
6981,
2538,
11,
48571,
62,
2606,
7250,
3843,
62,
39,
6981,
2538,
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,
48571,
62,
24908,
62,
39,
6981,
2538,
11,
12672,
62,
39,
14114,
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,
33303,
37,
62,
2937,
6465,
41473,
6981,
28378,
11,
33303,
37,
62,
2937,
1546,
37181,
28929,
3913,
8,
628,
220,
220,
220,
11593,
439,
834,
13,
2302,
437,
7,
14692,
43387,
6158,
62,
13965,
62,
10943,
15821,
2538,
1600,
366,
43387,
6158,
62,
13965,
62,
4805,
4503,
7597,
62,
46846,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
32147,
62,
1268,
30076,
62,
39,
6981,
2538,
1600,
366,
32147,
62,
2606,
7250,
3843,
62,
39,
6981,
2538,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
32147,
62,
24908,
62,
39,
6981,
2538,
1600,
366,
17887,
62,
39,
14114,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2257,
7227,
37,
62,
2937,
6465,
41473,
6981,
28378,
1600,
366,
2257,
7227,
37,
62,
2937,
1546,
37181,
28929,
3913,
8973,
8,
628,
220,
220,
220,
479,
75,
15462,
33141,
7,
600,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
4838,
796,
399,
494,
79,
1831,
6814,
628,
220,
220,
220,
220,
220,
220,
220,
11593,
12381,
834,
796,
13872,
198,
220,
220,
220,
220,
220,
220,
220,
11593,
2536,
834,
796,
11593,
260,
1050,
834,
628,
198,
2,
770,
8341,
6622,
8099,
268,
10245,
288,
5031,
543,
262,
10238,
1429,
550,
299,
494,
198,
2,
34710,
379,
262,
640,
663,
11593,
12381,
834,
2446,
1392,
1444,
25,
883,
7767,
389,
4043,
3419,
276,
198,
2,
288,
5031,
18305,
3481,
1976,
4808,
27773,
929,
3419,
618,
257,
649,
8099,
268,
2134,
474,
395,
2727,
11,
284,
3368,
198,
2,
15956,
7767,
13,
198,
62,
5275,
796,
17635,
198,
198,
47,
4061,
36,
796,
532,
16,
198,
36886,
796,
532,
17,
198,
39345,
33991,
796,
532,
18,
628,
198,
2,
27713,
770,
2163,
474,
395,
691,
973,
416,
18540,
305,
919,
278,
393,
1031,
262,
1332,
18389,
11,
198,
2,
475,
340,
338,
994,
523,
326,
340,
460,
307,
17392,
618,
11361,
474,
395,
14102,
1231,
198,
2,
14390,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
33295,
10786,
19355,
1343,
2172,
1635,
410,
8,
198,
220,
220,
220,
288,
5031,
2172,
266,
25064,
13,
40539,
25811,
25,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
33295,
10786,
12,
54,
6,
1343,
2172,
8,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
26498,
628,
198,
4299,
869,
46491,
79,
9654,
22046,
11,
26827,
28,
30403,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
10987,
3141,
778,
7357,
7159,
13,
220,
16314,
288,
5031,
3141,
284,
1844,
435,
2127,
198,
220,
220,
220,
26827,
11,
788,
1976,
18351,
10205,
38325,
262,
1441,
8189,
11688,
13,
628,
220,
220,
220,
383,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
8099,
268,
23772,
13,
220,
17934,
25,
628,
220,
220,
220,
1005,
8189,
796,
869,
7,
14692,
7278,
1600,
27444,
75,
8973,
8,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
778,
7357,
8099,
268,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
8,
474,
25496,
279,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
279,
13,
17077,
7,
48678,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
13,
12728,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
13,
17077,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
628,
198,
4299,
2198,
62,
13345,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
10987,
3141,
778,
7357,
7159,
13,
220,
16314,
288,
5031,
3141,
284,
1844,
13,
220,
1002,
198,
220,
220,
220,
262,
8420,
2438,
373,
6632,
788,
1441,
11,
4306,
24573,
11952,
129,
249,
198,
220,
220,
220,
34099,
18709,
12331,
13,
220,
383,
34099,
18709,
12331,
2134,
481,
423,
262,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
2438,
266,
262,
1441,
8189,
11688,
13,
628,
220,
220,
220,
383,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
869,
2163,
13,
220,
17934,
25,
628,
220,
220,
220,
2198,
62,
13345,
7,
14692,
7278,
1600,
27444,
75,
8973,
8,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1005,
8189,
796,
869,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
8,
198,
220,
220,
220,
11223,
129,
120,
43733,
1005,
8189,
25,
198,
220,
220,
220,
220,
220,
220,
220,
23991,
796,
479,
86,
22046,
13,
1136,
7203,
22046,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
23991,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23991,
796,
1461,
268,
22046,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
34099,
18709,
12331,
7,
1186,
8189,
11,
23991,
8,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
657,
628,
198,
4299,
2198,
62,
22915,
46491,
79,
9654,
22046,
11,
26827,
28,
30403,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
374,
37811,
10987,
3141,
778,
7357,
7159,
393,
1031,
1976,
18351,
10205,
38325,
663,
5072,
13,
628,
220,
220,
220,
1002,
262,
8420,
2438,
373,
1729,
12,
22570,
340,
24573,
11952,
129,
249,
82,
257,
34099,
18709,
12331,
13,
220,
383,
198,
220,
220,
220,
34099,
18709,
12331,
2134,
481,
423,
262,
1976,
18351,
10205,
38325,
2438,
266,
262,
1441,
8189,
198,
220,
220,
220,
11688,
393,
1031,
5072,
266,
262,
5072,
11688,
13,
628,
220,
220,
220,
383,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
8099,
268,
23772,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
2198,
62,
22915,
7,
14692,
7278,
1600,
27444,
75,
1600,
12813,
7959,
14,
8423,
8973,
8,
198,
220,
220,
220,
275,
6,
6098,
86,
12,
31653,
12,
31653,
12,
352,
6808,
6808,
352,
11,
513,
2556,
1248,
220,
4343,
1220,
7959,
14,
8423,
59,
77,
6,
628,
220,
220,
220,
383,
14367,
448,
4578,
474,
395,
299,
494,
3142,
474,
25496,
340,
474,
395,
973,
20947,
13,
198,
220,
220,
220,
1675,
8006,
3210,
4049,
266,
262,
1255,
11,
779,
336,
1082,
81,
28,
36886,
13,
628,
220,
220,
220,
13163,
2198,
62,
22915,
7,
14692,
14,
8800,
14,
1477,
1600,
27444,
66,
1600,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7278,
532,
75,
1729,
62,
32786,
62,
7753,
2162,
8420,
657,
33116,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
28,
36886,
8,
198,
220,
220,
220,
275,
6,
7278,
25,
1729,
62,
32786,
62,
7753,
25,
1400,
884,
2393,
435,
2127,
8619,
59,
77,
6,
628,
220,
220,
220,
1318,
474,
395,
281,
3224,
11902,
4578,
11,
366,
15414,
1600,
5086,
345,
284,
198,
220,
220,
220,
288,
1000,
73,
257,
4731,
284,
262,
850,
14681,
338,
14367,
259,
13,
220,
1002,
345,
779,
428,
4578,
198,
220,
220,
220,
345,
743,
299,
494,
635,
779,
262,
8099,
268,
23772,
338,
366,
19282,
259,
1,
4578,
11,
355,
198,
220,
220,
220,
340,
1165,
481,
307,
973,
20947,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
2198,
62,
22915,
7,
14692,
36622,
1600,
27444,
68,
1600,
366,
82,
14,
21943,
14,
5657,
30487,
4357,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
28,
65,
1,
12518,
266,
262,
1781,
286,
277,
4207,
272,
2995,
59,
77,
4943,
198,
220,
220,
220,
275,
6,
12518,
266,
262,
1781,
286,
2318,
805,
2995,
59,
77,
6,
628,
220,
220,
220,
1002,
10112,
62,
3605,
6615,
28,
47,
1831,
6814,
474,
395,
288,
1000,
73,
276,
11,
262,
366,
15414,
1,
4578,
1276,
307,
257,
198,
220,
220,
220,
4731,
393,
1031,
262,
1976,
18351,
10205,
38325,
1988,
481,
307,
257,
4731,
2138,
621,
9881,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11223,
129,
120,
43733,
705,
19282,
448,
6,
266,
479,
86,
22046,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
10786,
19282,
448,
4578,
299,
494,
3142,
11,
340,
481,
307,
23170,
4651,
2637,
8,
628,
220,
220,
220,
11223,
129,
120,
43733,
705,
15414,
6,
266,
479,
86,
22046,
393,
1031,
479,
86,
22046,
17816,
15414,
20520,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11884,
306,
288,
1000,
49940,
5128,
28,
30403,
373,
4271,
7548,
284,
288,
1000,
49940,
281,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6565,
4731,
13,
1320,
474,
395,
9456,
994,
288,
5031,
16196,
17764,
13,
198,
220,
220,
220,
220,
220,
220,
220,
479,
86,
22046,
17816,
15414,
20520,
796,
10148,
11223,
129,
120,
43733,
479,
86,
22046,
13,
1136,
10786,
40082,
62,
3605,
6615,
3256,
399,
494,
79,
1831,
6814,
8,
287,
330,
2736,
73,
275,
7061,
628,
220,
220,
220,
1976,
18351,
10205,
38325,
1057,
46491,
79,
9654,
22046,
11,
14367,
448,
28,
47,
4061,
36,
11,
26827,
28,
48678,
11,
2198,
28,
47,
1831,
6814,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12429,
46265,
22046,
737,
19282,
448,
628,
198,
41582,
15462,
32983,
18709,
7,
15252,
2599,
198,
220,
220,
220,
37227,
32,
1429,
326,
468,
5201,
2491,
13,
628,
220,
220,
220,
770,
474,
395,
4504,
416,
1057,
22446,
628,
220,
220,
220,
49213,
25,
198,
220,
220,
220,
220,
220,
26498,
25,
383,
1351,
435,
2127,
965,
26498,
288,
1000,
73,
276,
284,
1057,
22446,
198,
220,
220,
220,
220,
220,
1441,
8189,
25,
383,
8420,
2438,
286,
262,
1429,
11,
4633,
288,
5031,
10425,
13,
198,
220,
220,
220,
220,
220,
14367,
448,
25,
383,
3210,
5072,
357,
30403,
11223,
129,
120,
43733,
299,
494,
7907,
737,
198,
220,
220,
220,
220,
220,
336,
1082,
81,
25,
383,
3210,
4049,
357,
30403,
11223,
129,
120,
43733,
299,
494,
7907,
737,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
2198,
62,
7783,
8189,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
21762,
786,
34099,
18709,
12331,
11223,
129,
120,
43733,
262,
8420,
2438,
474,
395,
1729,
12,
22570,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
34099,
18709,
12331,
7,
944,
13,
7783,
8189,
11,
2116,
13,
22046,
11,
2116,
13,
19282,
448,
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,
2116,
13,
301,
1082,
81,
8,
628,
198,
4299,
1057,
46491,
79,
9654,
22046,
11,
5128,
28,
30403,
11,
26827,
28,
30403,
11,
2198,
28,
45,
494,
79,
1831,
6814,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
10987,
3141,
778,
7357,
7159,
393,
1031,
1976,
18351,
10205,
38325,
257,
32983,
18709,
4554,
13,
628,
220,
220,
220,
383,
4504,
4554,
481,
423,
12608,
26498,
11,
1441,
8189,
11,
14367,
448,
393,
1031,
198,
220,
220,
220,
336,
1082,
81,
13,
2750,
4277,
11,
14367,
448,
393,
1031,
336,
1082,
81,
389,
299,
494,
7907,
11,
393,
1031,
883,
12608,
198,
220,
220,
220,
481,
307,
8377,
13,
6251,
14367,
448,
28,
47,
4061,
36,
290,
14,
273,
336,
1082,
81,
28,
47,
4061,
36,
266,
1502,
284,
8006,
606,
13,
628,
220,
220,
220,
1002,
2198,
474,
395,
350,
1831,
6814,
393,
1031,
262,
8420,
2438,
373,
1729,
12,
22570,
11,
340,
24573,
11952,
129,
249,
82,
257,
198,
220,
220,
220,
34099,
18709,
12331,
13,
383,
34099,
18709,
12331,
2134,
481,
423,
262,
1976,
18351,
10205,
38325,
2438,
198,
220,
220,
220,
266,
262,
1441,
8189,
11688,
11,
393,
1031,
5072,
1222,
336,
1082,
81,
12608,
11223,
129,
120,
43733,
883,
15190,
198,
220,
220,
220,
547,
7907,
13,
628,
220,
220,
220,
1002,
26827,
474,
395,
1813,
11,
393,
1031,
262,
1429,
2753,
1165,
890,
11,
257,
3862,
448,
3109,
6474,
198,
220,
220,
220,
6631,
481,
307,
24573,
11952,
129,
249,
67,
13,
628,
220,
220,
220,
1318,
474,
395,
281,
11902,
4578,
366,
15414,
1600,
5086,
345,
284,
198,
220,
220,
220,
288,
1000,
73,
257,
4731,
284,
262,
850,
14681,
338,
14367,
259,
13,
220,
1002,
345,
779,
428,
4578,
198,
220,
220,
220,
345,
743,
299,
494,
635,
779,
262,
8099,
268,
23772,
338,
366,
19282,
259,
1,
4578,
11,
355,
198,
220,
220,
220,
340,
481,
307,
973,
20947,
13,
628,
220,
220,
220,
383,
584,
7159,
389,
262,
976,
474,
25496,
288,
5031,
262,
8099,
268,
23772,
13,
628,
220,
220,
220,
1002,
10112,
62,
3605,
6615,
28,
47,
1831,
6814,
474,
395,
288,
1000,
73,
276,
11,
262,
366,
15414,
1,
4578,
1276,
307,
257,
198,
220,
220,
220,
4731,
393,
1031,
14367,
448,
14,
301,
1082,
81,
266,
262,
4504,
2134,
481,
307,
13042,
2138,
621,
198,
220,
220,
220,
9881,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11223,
129,
120,
43733,
5128,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
705,
19282,
259,
6,
266,
479,
86,
22046,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
10786,
19282,
259,
393,
1031,
5128,
7159,
743,
299,
494,
1111,
307,
973,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
479,
86,
22046,
17816,
19282,
259,
20520,
796,
350,
4061,
36,
628,
220,
220,
220,
778,
7357,
8099,
268,
46491,
79,
9654,
22046,
11,
12429,
46265,
22046,
8,
474,
25496,
1429,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
11,
336,
1082,
81,
796,
1429,
13,
10709,
5344,
7,
15414,
11,
26827,
28,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
3862,
448,
3109,
6474,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1429,
13,
12728,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
11,
336,
1082,
81,
796,
1429,
13,
10709,
5344,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
14681,
13,
22046,
11,
26827,
11,
5072,
28,
19282,
448,
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,
336,
1082,
81,
28,
301,
1082,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1429,
13,
12728,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1429,
13,
17077,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
8189,
796,
1429,
13,
30393,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2198,
393,
1031,
1005,
8189,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
34099,
18709,
12331,
7,
1186,
8189,
11,
1429,
13,
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,
220,
220,
220,
5072,
28,
19282,
448,
11,
336,
1082,
81,
28,
301,
1082,
81,
8,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
32983,
18709,
7,
14681,
13,
22046,
11,
1005,
8189,
11,
14367,
448,
11,
336,
1082,
81,
8,
628,
198,
4299,
1351,
17,
28758,
1370,
7,
41068,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3602,
17660,
257,
8379,
286,
7159,
656,
257,
3141,
1627,
198,
220,
220,
220,
4731,
11,
1262,
262,
976,
3173,
474,
25496,
262,
6579,
327,
19124,
25,
628,
220,
220,
220,
352,
8,
20559,
2886,
389,
46728,
863,
416,
2330,
2272,
11,
543,
474,
395,
2035,
257,
198,
220,
220,
220,
220,
220,
220,
2272,
435,
2127,
257,
7400,
13,
628,
220,
220,
220,
362,
8,
317,
4731,
11191,
416,
4274,
35777,
8849,
474,
395,
198,
220,
220,
220,
220,
220,
220,
16173,
474,
25496,
257,
2060,
4578,
11,
7692,
286,
2330,
2272,
198,
220,
220,
220,
220,
220,
220,
7763,
1626,
13,
220,
317,
10947,
4731,
460,
307,
14553,
266,
281,
198,
220,
220,
220,
220,
220,
220,
4578,
13,
628,
220,
220,
220,
513,
8,
317,
4274,
35777,
1317,
27165,
416,
257,
736,
6649,
1077,
474,
395,
198,
220,
220,
220,
220,
220,
220,
16173,
474,
25496,
257,
18875,
4274,
35777,
1317,
13,
628,
220,
220,
220,
604,
8,
347,
4595,
75,
7465,
389,
16173,
7360,
11,
4556,
484,
198,
220,
220,
220,
220,
220,
220,
3393,
8555,
68,
257,
4274,
35777,
1317,
13,
628,
220,
220,
220,
642,
8,
1002,
736,
6649,
7465,
3393,
8555,
68,
257,
4274,
35777,
1317,
11,
198,
220,
220,
220,
220,
220,
220,
790,
5166,
286,
736,
6649,
7465,
474,
395,
16173,
474,
25496,
257,
18875,
198,
220,
220,
220,
220,
220,
220,
736,
6649,
1077,
13,
220,
1002,
262,
1271,
286,
736,
6649,
7465,
474,
395,
5629,
11,
262,
938,
198,
220,
220,
220,
220,
220,
220,
736,
6649,
1077,
32695,
262,
1306,
4274,
35777,
1317,
355,
198,
220,
220,
220,
220,
220,
220,
3417,
266,
3896,
513,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
4091,
198,
220,
220,
220,
1303,
2638,
1378,
907,
32656,
13,
40485,
13,
785,
14,
268,
12,
385,
14,
32016,
14,
1558,
86,
20,
48361,
701,
13,
31740,
198,
220,
220,
220,
1303,
435,
2127,
2989,
2638,
1378,
907,
32656,
13,
40485,
13,
785,
329,
198,
220,
220,
220,
1303,
366,
47,
945,
278,
327,
4880,
9455,
12,
13949,
20559,
2886,
1,
198,
220,
220,
220,
1255,
796,
17635,
198,
220,
220,
220,
761,
22708,
796,
399,
494,
79,
1831,
6814,
198,
220,
220,
220,
288,
5031,
1822,
266,
33756,
25,
198,
220,
220,
220,
220,
220,
220,
220,
275,
82,
62,
29325,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
257,
2272,
284,
4553,
428,
4578,
1976,
262,
1854,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1255,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
10786,
705,
8,
628,
220,
220,
220,
220,
220,
220,
220,
761,
22708,
796,
5855,
366,
266,
1822,
8,
435,
2127,
5855,
59,
83,
1,
266,
1822,
8,
435,
2127,
299,
494,
1822,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
761,
22708,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
10786,
1,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
288,
5031,
269,
266,
1822,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
269,
6624,
705,
6852,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2094,
470,
760,
11223,
129,
120,
43733,
356,
761,
284,
4274,
1865,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
82,
62,
29325,
13,
33295,
7,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
269,
6624,
705,
1,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11198,
736,
6649,
7465,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
10786,
6852,
6,
1635,
18896,
7,
1443,
62,
29325,
27493,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
82,
62,
29325,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
10786,
6852,
1,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
14435,
1149,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
275,
82,
62,
29325,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2302,
437,
7,
1443,
62,
29325,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
82,
62,
29325,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
7,
66,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
5637,
736,
6649,
7465,
11,
11223,
129,
120,
43733,
597,
13,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
275,
82,
62,
29325,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2302,
437,
7,
1443,
62,
29325,
8,
628,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
761,
22708,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
2302,
437,
7,
1443,
62,
29325,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
33295,
10786,
1,
11537,
628,
220,
220,
220,
1976,
18351,
10205,
38325,
705,
4458,
22179,
7,
20274,
8,
628,
198,
2,
26386,
4899,
288,
5031,
23710,
9729,
393,
1031,
2045,
379,
511,
5072,
393,
1031,
3722,
13,
198,
2,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
3722,
11,
1366,
198,
198,
4299,
651,
22915,
7,
28758,
2599,
198,
220,
220,
220,
37227,
13615,
5072,
357,
19282,
448,
435,
2127,
336,
1082,
81,
8,
286,
23710,
23991,
266,
257,
7582,
13,
628,
220,
220,
220,
4525,
651,
13376,
22915,
22784,
266,
88,
73,
128,
227,
18504,
7357,
262,
8420,
3722,
474,
395,
9514,
393,
1031,
262,
1976,
18351,
10205,
38325,
198,
220,
220,
220,
1988,
474,
395,
257,
4731,
7268,
262,
3141,
338,
5072,
13,
220,
17934,
25,
628,
220,
220,
220,
13163,
1976,
1385,
634,
23577,
850,
14681,
198,
220,
220,
220,
13163,
850,
14681,
13,
1136,
22915,
10786,
7278,
1220,
8800,
14,
7278,
11537,
198,
220,
220,
220,
31051,
8800,
14,
7278,
6,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1976,
18351,
10205,
38325,
651,
13376,
22915,
7,
28758,
38381,
16,
60,
628,
198,
62,
6489,
1404,
21389,
62,
7206,
38865,
62,
32737,
62,
37,
5258,
796,
2134,
3419,
628,
198,
41582,
15462,
8099,
268,
7,
15252,
2599,
628,
220,
220,
220,
4808,
9410,
62,
25598,
796,
399,
494,
79,
1831,
6814,
220,
1303,
5345,
994,
1201,
11593,
12381,
834,
8794,
340,
628,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
4808,
907,
28457,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
47488,
87,
721,
62,
22184,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
7203,
79,
631,
87,
721,
62,
22184,
474,
395,
299,
494,
4855,
319,
3964,
366,
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,
366,
24254,
82,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
597,
62,
19282,
952,
62,
2617,
796,
357,
19282,
259,
474,
395,
299,
494,
8377,
435,
2127,
14367,
448,
474,
395,
299,
494,
8377,
435,
2127,
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,
336,
1082,
81,
474,
395,
299,
494,
8377,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1969,
62,
69,
9310,
474,
395,
4808,
6489,
1404,
21389,
62,
7206,
38865,
62,
32737,
62,
37,
5258,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
597,
62,
19282,
952,
62,
2617,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1969,
62,
69,
9310,
796,
399,
494,
79,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1969,
62,
69,
9310,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
1969,
62,
69,
9310,
393,
1031,
597,
62,
19282,
952,
62,
2617,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
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,
366,
19836,
62,
69,
9310,
474,
395,
299,
494,
4855,
319,
3964,
9554,
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,
366,
11223,
129,
120,
43733,
345,
18941,
14367,
259,
14,
19282,
448,
14,
301,
1082,
81,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28069,
10426,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1969,
62,
69,
9310,
474,
395,
4808,
6489,
1404,
21389,
62,
7206,
38865,
62,
32737,
62,
37,
5258,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1969,
62,
69,
9310,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
288,
1000,
73,
62,
69,
9310,
393,
1031,
299,
494,
1969,
62,
69,
9310,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14601,
13,
40539,
7203,
6603,
62,
69,
9310,
44987,
1969,
62,
69,
9310,
33283,
43160,
20361,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1969,
62,
69,
9310,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
13693,
10951,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
7203,
9688,
929,
10951,
474,
395,
691,
4855,
319,
3964,
366,
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,
366,
24254,
82,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
6282,
33152,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
7203,
38793,
33152,
474,
395,
691,
4855,
319,
3964,
366,
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,
366,
24254,
82,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22046,
796,
26498,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35317,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
40082,
62,
3605,
6615,
796,
10112,
62,
3605,
6615,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
23412,
393,
1031,
5072,
5563,
13,
383,
2276,
7989,
474,
395,
588,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16774,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5932,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
40103,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37404,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
279,
17,
66,
13564,
220,
220,
11420,
19282,
259,
438,
3784,
220,
279,
17,
66,
961,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
269,
17,
9681,
220,
220,
220,
1279,
438,
19282,
448,
6329,
220,
269,
17,
79,
13564,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11454,
961,
220,
220,
220,
1279,
438,
301,
1082,
81,
6329,
220,
11454,
13564,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1550,
28069,
10426,
11,
262,
1200,
5563,
389,
2393,
12145,
669,
13,
220,
1550,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3964,
11,
777,
389,
3964,
2393,
17105,
13,
220,
383,
2560,
5563,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
389,
2393,
12145,
669,
319,
1111,
9554,
13,
220,
383,
2560,
5563,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
389,
532,
16,
618,
299,
494,
1262,
350,
4061,
23041,
13,
383,
1200,
5563,
389,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
618,
299,
494,
18941,
278,
13,
628,
220,
220,
220,
220,
220,
220,
220,
357,
79,
17,
66,
961,
11,
279,
17,
66,
13564,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
8,
796,
2116,
13557,
1136,
62,
4993,
829,
7,
19282,
259,
11,
14367,
448,
11,
336,
1082,
81,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
14441,
7294,
17105,
1635,
19052,
9,
13925,
262,
1200,
11,
4306,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2952,
47985,
1200,
714,
787,
674,
277,
9310,
7379,
430,
381,
540,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
357,
3826,
1303,
23,
29334,
737,
628,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
4808,
907,
28457,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
279,
17,
66,
13564,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
13564,
796,
13845,
85,
6098,
83,
13,
9654,
62,
418,
69,
28144,
7,
79,
17,
66,
13564,
13,
11242,
620,
22784,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
269,
17,
9681,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
796,
13845,
85,
6098,
83,
13,
9654,
62,
418,
69,
28144,
7,
66,
17,
9681,
13,
11242,
620,
22784,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
961,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
796,
13845,
85,
6098,
83,
13,
9654,
62,
418,
69,
28144,
7,
8056,
961,
13,
11242,
620,
22784,
657,
8,
628,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
279,
17,
66,
13564,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
796,
33245,
13,
9654,
7,
79,
17,
66,
13564,
11,
705,
39346,
3256,
42684,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
10112,
62,
3605,
6615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
796,
33245,
13,
8206,
40,
3913,
430,
2848,
7,
944,
13,
19282,
259,
11,
3551,
62,
9579,
28,
47,
1831,
6814,
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,
1627,
62,
36873,
1586,
16193,
29325,
7857,
6624,
352,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
269,
17,
9681,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
796,
33245,
13,
9654,
7,
66,
17,
9681,
11,
705,
26145,
3256,
42684,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
10112,
62,
3605,
6615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
796,
33245,
13,
8206,
40,
3913,
430,
2848,
7,
944,
13,
19282,
448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
961,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
796,
33245,
13,
9654,
7,
8056,
961,
11,
705,
26145,
3256,
42684,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
10112,
62,
3605,
6615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
796,
33245,
13,
8206,
40,
3913,
430,
2848,
7,
944,
13,
301,
1082,
81,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20225,
62,
9410,
62,
34360,
62,
69,
9310,
796,
399,
494,
79,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
41049,
62,
9410,
7,
22046,
11,
28883,
11,
47488,
87,
721,
62,
22184,
11,
1969,
62,
69,
9310,
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,
288,
1000,
73,
62,
69,
9310,
11,
269,
16993,
11,
17365,
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,
13693,
10951,
11,
6282,
33152,
11,
7582,
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,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
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,
269,
17,
9681,
11,
269,
17,
79,
13564,
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,
11454,
961,
11,
11454,
13564,
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,
11169,
62,
12683,
874,
11,
923,
62,
3605,
62,
29891,
8,
198,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5985,
929,
11223,
129,
120,
43733,
262,
1200,
4054,
3599,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
5031,
277,
266,
8106,
7,
30403,
11,
357,
944,
13,
19282,
259,
11,
2116,
13,
19282,
448,
11,
2116,
13,
301,
1082,
81,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
440,
5188,
81,
1472,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
220,
1303,
41032,
43374,
2885,
37,
435,
2127,
584,
8563,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
2116,
13557,
20225,
62,
9410,
62,
34360,
62,
69,
9310,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
62,
19836,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
259,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
62,
19836,
13,
33295,
7,
79,
17,
66,
961,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
448,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
62,
19836,
13,
33295,
7,
66,
17,
79,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
336,
1082,
81,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
62,
19836,
13,
33295,
7,
8056,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
468,
35226,
7,
944,
11,
705,
62,
7959,
8423,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
62,
19836,
13,
33295,
7,
944,
13557,
7959,
8423,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
5031,
277,
67,
266,
284,
62,
19836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
16344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
440,
5188,
81,
1472,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
628,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13557,
7959,
8423,
628,
220,
220,
220,
825,
4808,
19282,
259,
62,
13564,
7,
944,
11,
5128,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
5128,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
13,
13564,
7,
15414,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
22607,
47,
3757,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10996,
3419,
1276,
8856,
5445,
12656,
4049,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
440,
5188,
81,
1472,
474,
25496,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
304,
13,
8056,
3919,
6624,
11454,
3919,
13,
36,
1268,
23428,
393,
1031,
2116,
13,
30393,
3419,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
18232,
1303,
25272,
1065,
25,
1550,
3964,
11,
14367,
259,
13,
13564,
3419,
10143,
778,
7357,
412,
1268,
23428,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11223,
129,
120,
43733,
262,
1429,
1541,
34710,
878,
262,
3551,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
13,
19836,
3419,
628,
220,
220,
220,
825,
10996,
7,
944,
11,
5128,
28,
30403,
11,
26827,
28,
30403,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9492,
529,
778,
7357,
1429,
25,
16290,
1366,
284,
14367,
259,
13,
220,
4149,
1366,
422,
198,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
393,
1031,
336,
1082,
81,
11,
1566,
886,
12,
1659,
12,
7753,
474,
395,
4251,
13,
220,
16314,
329,
198,
220,
220,
220,
220,
220,
220,
220,
1429,
284,
23654,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
11902,
366,
15414,
1,
4578,
815,
307,
1366,
284,
307,
1908,
284,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1200,
1429,
357,
18015,
129,
120,
43733,
2116,
13,
40082,
62,
3605,
6615,
474,
395,
350,
1831,
6814,
11,
428,
815,
198,
220,
220,
220,
220,
220,
220,
220,
307,
257,
4731,
26,
11223,
129,
120,
43733,
340,
474,
395,
399,
494,
79,
1831,
6814,
11,
366,
15414,
1,
815,
307,
9881,
828,
435,
2127,
198,
220,
220,
220,
220,
220,
220,
220,
8377,
11,
11223,
129,
120,
43733,
645,
1366,
815,
307,
1908,
284,
262,
1200,
13,
628,
220,
220,
220,
220,
220,
220,
220,
10996,
3419,
5860,
257,
46545,
357,
19282,
448,
11,
336,
1082,
81,
737,
220,
2312,
481,
307,
198,
220,
220,
220,
220,
220,
220,
220,
9881,
393,
11,
11223,
129,
120,
43733,
2116,
13,
40082,
62,
3605,
6615,
373,
350,
1831,
6814,
11,
257,
4731,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13557,
32560,
62,
46981,
393,
1031,
5128,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
7203,
34,
34574,
3758,
5128,
706,
3599,
6946,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
30011,
1634,
25,
1002,
356,
389,
299,
494,
7960,
546,
640,
5269,
11,
356,
4398,
470,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2067,
22889,
11,
393,
1031,
356,
423,
530,
435,
2127,
6632,
19860,
11,
1262,
2922,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
435,
2127,
14390,
474,
395,
13114,
13,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
357,
48678,
474,
395,
8377,
393,
1031,
299,
494,
2116,
13557,
32560,
62,
46981,
393,
1031,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
944,
13,
19282,
259,
11,
2116,
13,
19282,
448,
11,
2116,
13,
301,
1082,
81,
4083,
9127,
7,
30403,
8,
18189,
362,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
259,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19282,
259,
62,
13564,
7,
15414,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
2116,
13,
19282,
448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
2116,
13,
19282,
448,
13,
961,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
2116,
13,
301,
1082,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
2116,
13,
301,
1082,
81,
13,
961,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17077,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
26827,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
2435,
796,
4808,
2435,
3419,
1343,
26827,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
2435,
796,
8377,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
11,
336,
1082,
81,
796,
2116,
13557,
10709,
5344,
7,
15414,
11,
886,
2435,
11,
26827,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
62,
7204,
129,
226,
27399,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
32560,
62,
46981,
796,
350,
1831,
6814,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39747,
796,
2116,
13,
17077,
7,
48678,
28,
944,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
357,
19282,
448,
11,
336,
1082,
81,
8,
628,
198,
220,
220,
220,
825,
3278,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13557,
32538,
62,
30393,
3419,
628,
198,
220,
220,
220,
825,
4808,
2787,
1397,
62,
2435,
7,
944,
11,
886,
2435,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3103,
574,
1240,
288,
5031,
4808,
10709,
5344,
618,
14492,
640,
5269,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
886,
2435,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
886,
2435,
532,
4808,
2435,
3419,
628,
198,
220,
220,
220,
825,
4808,
9122,
62,
48678,
7,
944,
11,
886,
2435,
11,
1796,
62,
48678,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3103,
574,
1240,
288,
5031,
10627,
11223,
129,
120,
43733,
257,
26827,
468,
21350,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
886,
2435,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
198,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
4808,
2435,
3419,
1875,
886,
2435,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
944,
13,
22046,
11,
1796,
62,
48678,
8,
628,
198,
220,
220,
220,
11223,
129,
120,
43733,
4808,
907,
28457,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3964,
5050,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
1136,
62,
4993,
829,
7,
944,
11,
14367,
259,
11,
14367,
448,
11,
336,
1082,
81,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
393,
1031,
1976,
18351,
10205,
38325,
46545,
778,
7357,
24418,
5563,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
11,
269,
17,
9681,
11,
269,
17,
79,
13564,
11,
11454,
961,
11,
11454,
13564,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
259,
474,
395,
8377,
393,
1031,
14367,
448,
474,
395,
8377,
393,
1031,
336,
1082,
81,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
13841,
16,
11,
532,
16,
11,
532,
16,
11,
532,
16,
11,
532,
16,
11,
532,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
796,
532,
16,
11,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
796,
532,
16,
11,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
796,
532,
16,
11,
532,
16,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
259,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
4808,
5404,
15042,
13,
3855,
1273,
67,
37508,
28264,
5404,
15042,
13,
32147,
62,
1268,
30076,
62,
39,
6981,
2538,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
279,
17,
66,
961,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
11,
4808,
796,
4808,
5404,
15042,
13,
16447,
47,
3757,
7,
30403,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
33141,
7,
79,
17,
66,
961,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
26125,
37508,
28264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
259,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
796,
4808,
5404,
15042,
13,
16447,
47,
3757,
7,
30403,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
796,
33141,
7,
79,
17,
66,
961,
828,
33141,
7,
79,
17,
66,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
259,
6624,
5550,
53,
33991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
944,
13557,
1136,
62,
7959,
8423,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
318,
39098,
7,
19282,
259,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
19282,
259,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33238,
2393,
12,
2339,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
19282,
259,
13,
10379,
23397,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
2116,
13557,
15883,
62,
259,
372,
4674,
7,
79,
17,
66,
961,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
448,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
4808,
5404,
15042,
13,
3855,
1273,
67,
37508,
28264,
5404,
15042,
13,
32147,
62,
2606,
7250,
3843,
62,
39,
6981,
2538,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
269,
17,
79,
13564,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
269,
17,
79,
13564,
796,
4808,
5404,
15042,
13,
16447,
47,
3757,
7,
30403,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
33141,
7,
66,
17,
79,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
26125,
37508,
28264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
448,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
796,
4808,
5404,
15042,
13,
16447,
47,
3757,
7,
30403,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
796,
33141,
7,
66,
17,
9681,
828,
33141,
7,
66,
17,
79,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
448,
6624,
5550,
53,
33991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
944,
13557,
1136,
62,
7959,
8423,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
318,
39098,
7,
19282,
448,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
19282,
448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33238,
2393,
12,
2339,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
19282,
448,
13,
10379,
23397,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
2116,
13557,
15883,
62,
259,
372,
4674,
7,
66,
17,
79,
13564,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
336,
1082,
81,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
4808,
5404,
15042,
13,
3855,
1273,
67,
37508,
28264,
5404,
15042,
13,
32147,
62,
24908,
62,
39,
6981,
2538,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
13564,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
11454,
13564,
796,
4808,
5404,
15042,
13,
16447,
47,
3757,
7,
30403,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
33141,
7,
8056,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
26125,
37508,
28264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
336,
1082,
81,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
796,
4808,
5404,
15042,
13,
16447,
47,
3757,
7,
30403,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
796,
33141,
7,
8056,
961,
828,
33141,
7,
8056,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
336,
1082,
81,
6624,
48571,
12425,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
269,
17,
79,
13564,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
336,
1082,
81,
6624,
5550,
53,
33991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
944,
13557,
1136,
62,
7959,
8423,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
318,
39098,
7,
301,
1082,
81,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
301,
1082,
81,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33238,
2393,
12,
2339,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
13845,
85,
6098,
83,
13,
1136,
62,
418,
69,
28144,
7,
301,
1082,
81,
13,
10379,
23397,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
2116,
13557,
15883,
62,
259,
372,
4674,
7,
8056,
13564,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
357,
79,
17,
66,
961,
11,
279,
17,
66,
13564,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
15883,
62,
259,
372,
4674,
7,
944,
11,
5412,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
23418,
286,
5412,
11,
543,
474,
395,
10639,
4674,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
289,
796,
4808,
5404,
15042,
13,
35660,
489,
5344,
37508,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
3855,
11297,
18709,
22784,
5412,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
3855,
11297,
18709,
22784,
657,
11,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
35,
52,
31484,
6158,
62,
50,
10067,
62,
26861,
7597,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
33141,
7,
71,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
41049,
62,
9410,
7,
944,
11,
26498,
11,
28883,
11,
47488,
87,
721,
62,
22184,
11,
1969,
62,
69,
9310,
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,
288,
1000,
73,
62,
69,
9310,
11,
269,
16993,
11,
17365,
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,
13693,
10951,
11,
6282,
33152,
11,
7582,
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,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
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,
269,
17,
9681,
11,
269,
17,
79,
13564,
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,
11454,
961,
11,
11454,
13564,
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,
21958,
62,
2118,
382,
62,
12683,
874,
11,
21958,
62,
9688,
62,
3605,
62,
29891,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
23002,
1133,
1430,
357,
5653,
3964,
2196,
8,
37811,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
299,
494,
288,
1000,
73,
62,
69,
9310,
11,
366,
6603,
62,
69,
9310,
299,
494,
4855,
319,
3964,
526,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
318,
39098,
7,
22046,
11,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
1351,
17,
28758,
1370,
7,
22046,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10854,
13693,
3307,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
13693,
10951,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
796,
33303,
8577,
10778,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
532,
16,
299,
494,
266,
357,
79,
17,
66,
961,
11,
269,
17,
79,
13564,
11,
11454,
13564,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
13,
67,
86,
40053,
930,
28,
4808,
5404,
15042,
13,
2257,
7227,
37,
62,
2937,
6465,
41473,
6981,
28378,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
13,
71,
1273,
67,
20560,
796,
279,
17,
66,
961,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
13,
71,
1273,
67,
26410,
796,
269,
17,
79,
13564,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
13,
71,
1273,
67,
12331,
796,
11454,
13564,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
7582,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
13,
67,
86,
40053,
930,
28,
4808,
5404,
15042,
13,
2257,
7227,
37,
62,
2937,
1546,
37181,
28929,
3913,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13693,
10951,
13,
86,
15307,
27703,
796,
4808,
5404,
15042,
13,
17887,
62,
39,
14114,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
401,
16684,
796,
28686,
13,
268,
2268,
13,
1136,
7203,
9858,
48451,
1600,
366,
28758,
13,
13499,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
705,
90,
92,
1220,
66,
45144,
36786,
4458,
18982,
357,
785,
16684,
11,
26498,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7253,
262,
1429,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27673,
11,
289,
83,
11,
46514,
11,
29770,
796,
4808,
5404,
15042,
13,
16447,
18709,
7,
18558,
18187,
11,
26498,
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,
1303,
645,
2041,
2324,
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,
8377,
11,
8377,
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,
493,
7,
11952,
1969,
62,
69,
9310,
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,
6282,
33152,
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,
17365,
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,
269,
16993,
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,
13693,
10951,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
62,
7204,
129,
226,
27399,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5932,
474,
395,
5611,
13,
13872,
262,
2560,
338,
4866,
286,
883,
12656,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17105,
326,
691,
262,
1200,
815,
423,
1280,
13,
220,
921,
761,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
787,
1654,
326,
645,
17105,
284,
262,
3551,
886,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5072,
12656,
389,
9456,
266,
428,
1429,
435,
2127,
287,
330,
2736,
73,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12656,
481,
299,
494,
1969,
618,
262,
1200,
1429,
30151,
393,
1031,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4149,
8979,
481,
8181,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
279,
17,
66,
961,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
13,
26125,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
269,
17,
79,
13564,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
13,
26125,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
13564,
14512,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
13,
26125,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
468,
35226,
7,
944,
11,
705,
62,
7959,
8423,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
944,
13557,
7959,
8423,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4990,
391,
262,
1429,
5412,
11,
475,
1969,
262,
4704,
5412,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
9410,
62,
25598,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
28144,
796,
33141,
7,
24831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35317,
796,
46514,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
26125,
37508,
7,
4352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
32538,
62,
30393,
7,
944,
11,
4808,
25124,
5219,
28,
30403,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
21321,
1890,
28008,
10267,
28,
62,
5404,
15042,
13,
21321,
1890,
28008,
10267,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
15543,
2043,
62,
9864,
23680,
62,
15,
28,
62,
5404,
15042,
13,
15543,
2043,
62,
9864,
23680,
62,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
3855,
30337,
10669,
18709,
28,
62,
5404,
15042,
13,
3855,
30337,
10669,
18709,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
11223,
129,
120,
43733,
1200,
1429,
468,
23083,
13,
220,
16409,
1441,
8189,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11688,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
474,
395,
1444,
416,
11593,
12381,
834,
11,
523,
340,
460,
691,
3522,
284,
5563,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
663,
1957,
8354,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
4808,
21321,
1890,
28008,
10267,
7,
944,
13557,
28144,
11,
657,
8,
6624,
4808,
15543,
2043,
62,
9864,
23680,
62,
15,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
4808,
3855,
30337,
10669,
18709,
7,
944,
13557,
28144,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13,
7783,
8189,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4043,
7,
944,
11,
26827,
28,
30403,
11,
886,
2435,
28,
30403,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
21321,
288,
5031,
1200,
1429,
284,
23654,
13,
220,
16409,
1441,
8189,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11688,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
886,
2435,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
796,
2116,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
26827,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
62,
17805,
271,
796,
4808,
5404,
15042,
13,
1268,
20032,
12709,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
62,
17805,
271,
796,
493,
7,
48678,
1635,
8576,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
796,
4808,
5404,
15042,
13,
21321,
1890,
28008,
10267,
7,
944,
13557,
28144,
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,
26827,
62,
17805,
271,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1255,
6624,
4808,
5404,
15042,
13,
15543,
2043,
62,
34694,
12425,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
944,
13,
22046,
11,
26827,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
4808,
5404,
15042,
13,
3855,
30337,
10669,
18709,
7,
944,
13557,
28144,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13,
7783,
8189,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
46862,
16663,
7,
944,
11,
277,
71,
11,
11876,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11876,
13,
33295,
7,
69,
71,
13,
961,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
71,
13,
19836,
3419,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
10709,
5344,
7,
944,
11,
5128,
11,
886,
2435,
11,
1796,
62,
48678,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7253,
9173,
14390,
13017,
656,
257,
1351,
10938,
572,
286,
428,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2134,
11,
4556,
484,
1053,
1541,
587,
2067,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
393,
1031,
299,
494,
468,
35226,
7,
944,
11,
45434,
19282,
448,
62,
36873,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19282,
448,
62,
36873,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
62,
16663,
796,
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,
4704,
278,
13,
16818,
7,
16793,
28,
944,
13557,
46862,
16663,
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,
26498,
16193,
944,
13,
19282,
448,
11,
2116,
13557,
19282,
448,
62,
36873,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
62,
16663,
13,
6814,
7966,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
62,
16663,
13,
9688,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
393,
1031,
299,
494,
468,
35226,
7,
944,
11,
45434,
301,
1082,
81,
62,
36873,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
301,
1082,
81,
62,
36873,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
62,
16663,
796,
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,
4704,
278,
13,
16818,
7,
16793,
28,
944,
13557,
46862,
16663,
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,
26498,
16193,
944,
13,
301,
1082,
81,
11,
2116,
13557,
301,
1082,
81,
62,
36873,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
62,
16663,
13,
6814,
7966,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
62,
16663,
13,
9688,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
259,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
19282,
259,
62,
13564,
7,
15414,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16314,
288,
5031,
262,
9173,
14390,
11,
435,
2127,
640,
503,
13,
220,
1002,
356,
640,
503,
11,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
14390,
3520,
3555,
393,
1031,
262,
277,
9310,
1364,
1280,
266,
1339,
262,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3848,
10996,
757,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
62,
16663,
13,
22179,
7,
944,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
62,
16663,
13,
271,
62,
282,
425,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
944,
13,
22046,
11,
1796,
62,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
62,
16663,
13,
22179,
7,
944,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
62,
16663,
13,
271,
62,
282,
425,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
944,
13,
22046,
11,
1796,
62,
48678,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
9745,
262,
5072,
1976,
393,
1031,
1969,
1111,
19860,
11,
783,
326,
356,
760,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1111,
423,
587,
1100,
7675,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
2116,
13557,
19282,
448,
62,
36873,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
448,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
2116,
13557,
301,
1082,
81,
62,
36873,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
301,
1082,
81,
13,
19836,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
1366,
22112,
13,
220,
3602,
17660,
8341,
656,
13042,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
448,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
14367,
448,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
336,
1082,
81,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
336,
1082,
81,
58,
15,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
357,
19282,
448,
11,
336,
1082,
81,
8,
628,
220,
220,
220,
220,
220,
220,
220,
825,
3758,
62,
12683,
282,
7,
944,
11,
43237,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
25206,
257,
6737,
284,
262,
1429,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
43237,
6624,
6737,
13,
50,
3528,
5781,
44,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
23705,
378,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
43237,
6624,
6737,
13,
4177,
7836,
62,
34,
62,
20114,
3525,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
12728,
7,
944,
13,
35317,
11,
6737,
13,
4177,
7836,
62,
34,
62,
20114,
3525,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
43237,
6624,
6737,
13,
4177,
7836,
62,
40438,
10206,
62,
20114,
3525,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
12728,
7,
944,
13,
35317,
11,
6737,
13,
4177,
7836,
62,
40438,
10206,
62,
20114,
3525,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
11052,
12331,
7203,
3118,
15999,
6737,
25,
23884,
1911,
18982,
7,
82,
328,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
825,
23654,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
44798,
689,
262,
1429,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
5404,
15042,
13,
44798,
378,
18709,
7,
944,
13557,
28144,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
2448,
3411,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33854,
62,
26861,
7597,
62,
41819,
19767,
357,
5404,
18224,
642,
8,
474,
395,
2722,
618,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1429,
1541,
3724,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
796,
4808,
5404,
15042,
13,
3855,
30337,
10669,
18709,
7,
944,
13557,
28144,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
48321,
6624,
4808,
5404,
15042,
13,
2257,
8267,
62,
10659,
9306,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
48321,
628,
220,
220,
220,
220,
220,
220,
220,
1494,
796,
23654,
628,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
28069,
10426,
5050,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
259,
6624,
5550,
53,
33991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
2116,
13557,
1136,
62,
7959,
8423,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
318,
39098,
7,
19282,
259,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
14367,
259,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33238,
2393,
12,
2339,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
17,
66,
961,
796,
14367,
259,
13,
10379,
23397,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
448,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
448,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
796,
28686,
13,
34360,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
14367,
448,
6624,
5550,
53,
33991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
2116,
13557,
1136,
62,
7959,
8423,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
318,
39098,
7,
19282,
448,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
14367,
448,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33238,
2393,
12,
2339,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
79,
13564,
796,
14367,
448,
13,
10379,
23397,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
336,
1082,
81,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
336,
1082,
81,
6624,
350,
4061,
36,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
796,
28686,
13,
34360,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
336,
1082,
81,
6624,
48571,
12425,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
269,
17,
79,
13564,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
336,
1082,
81,
6624,
5550,
53,
33991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
2116,
13557,
1136,
62,
7959,
8423,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
318,
39098,
7,
301,
1082,
81,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
336,
1082,
81,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33238,
2393,
12,
2339,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
13564,
796,
336,
1082,
81,
13,
10379,
23397,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
357,
79,
17,
66,
961,
11,
279,
17,
66,
13564,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
17,
9681,
11,
269,
17,
79,
13564,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
961,
11,
11454,
13564,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
41049,
62,
9410,
7,
944,
11,
26498,
11,
28883,
11,
47488,
87,
721,
62,
22184,
11,
1969,
62,
69,
9310,
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,
288,
1000,
73,
62,
69,
9310,
11,
269,
16993,
11,
17365,
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,
13693,
10951,
11,
6282,
33152,
11,
7582,
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,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
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,
269,
17,
9681,
11,
269,
17,
79,
13564,
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,
11454,
961,
11,
11454,
13564,
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,
11169,
62,
12683,
874,
11,
923,
62,
3605,
62,
29891,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
23002,
1133,
1430,
357,
37997,
10426,
2196,
8,
37811,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
318,
39098,
7,
22046,
11,
357,
2536,
11,
9881,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
685,
22046,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
1351,
7,
22046,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
7582,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
14631,
14,
8800,
14,
1477,
1600,
27444,
66,
8973,
1343,
26498,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
28883,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
58,
15,
60,
796,
28883,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
28883,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28883,
796,
26498,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1796,
62,
18558,
18187,
796,
28883,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
26140,
1744,
2452,
5287,
1976,
1200,
284,
2560,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6060,
5794,
25,
366,
1069,
4516,
1438,
25,
33095,
11454,
3919,
25,
11213,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12346,
293,
474,
395,
299,
494,
973,
26,
340,
474,
395,
3716,
393,
1031,
9018,
4088,
20157,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
34360,
62,
961,
11,
11454,
34360,
62,
13564,
796,
28686,
13,
34360,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11454,
34360,
62,
13564,
1276,
299,
494,
307,
266,
262,
3210,
33245,
657,
11,
352,
11,
435,
2127,
362,
277,
67,
2837,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1877,
62,
69,
9310,
62,
1462,
62,
19836,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22340,
10205,
4106,
11454,
34360,
62,
13564,
1279,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1877,
62,
69,
9310,
62,
1462,
62,
19836,
13,
33295,
7,
8056,
34360,
62,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
34360,
62,
13564,
796,
28686,
13,
646,
79,
7,
8056,
34360,
62,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
5031,
1877,
62,
16344,
266,
1877,
62,
69,
9310,
62,
1462,
62,
19836,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
9319,
62,
16344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
1276,
3368,
3716,
670,
326,
714,
6211,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17374,
420,
435,
2127,
1479,
266,
262,
1200,
1429,
284,
3368,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2785,
2636,
28860,
11,
4145,
356,
466,
477,
428,
994,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
393,
1031,
288,
1000,
73,
340,
284,
15563,
62,
18558,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
17365,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
62,
4868,
796,
685,
418,
13,
69,
6248,
8189,
7,
74,
8,
1343,
275,
6,
11639,
1343,
28686,
13,
69,
6248,
8189,
7,
85,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
5031,
479,
11,
410,
266,
17365,
13,
23814,
3419,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17365,
62,
4868,
796,
8377,
220,
1303,
5765,
2452,
85,
2427,
286,
2452,
303,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28883,
796,
28686,
13,
69,
6248,
8189,
7,
18558,
18187,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
28686,
13,
6978,
13,
15908,
3672,
7,
18558,
18187,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28883,
62,
4868,
796,
357,
18558,
18187,
35751,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
7466,
262,
4069,
286,
28686,
13557,
18558,
85,
431,
22446,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28883,
62,
4868,
796,
46545,
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,
220,
220,
220,
220,
28686,
13,
6978,
13,
22179,
7,
418,
13,
69,
6248,
8189,
7,
15908,
828,
28883,
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,
220,
220,
220,
220,
288,
5031,
26672,
266,
28686,
13,
1136,
62,
18558,
62,
6978,
7,
24330,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
9310,
62,
1462,
62,
14894,
796,
900,
7,
6603,
62,
69,
9310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
9310,
62,
1462,
62,
14894,
13,
2860,
7,
8056,
34360,
62,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35317,
796,
4808,
1930,
844,
7266,
14681,
13,
32523,
62,
18558,
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,
220,
220,
220,
220,
26498,
11,
28883,
62,
4868,
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,
1969,
62,
69,
9310,
11,
23243,
7,
69,
9310,
62,
1462,
62,
14894,
828,
269,
16993,
11,
17365,
62,
4868,
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,
279,
17,
66,
961,
11,
279,
17,
66,
13564,
11,
269,
17,
9681,
11,
269,
17,
79,
13564,
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,
11454,
961,
11,
11454,
13564,
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,
11454,
34360,
62,
961,
11,
11454,
34360,
62,
13564,
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,
11169,
62,
12683,
874,
11,
923,
62,
3605,
62,
29891,
11,
47488,
87,
721,
62,
22184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
9410,
62,
25598,
796,
350,
1831,
6814,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
62,
7204,
129,
226,
27399,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
307,
1654,
262,
30002,
474,
395,
4838,
645,
2300,
644,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
8056,
34360,
62,
13564,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2116,
13557,
7959,
8423,
474,
395,
299,
494,
1464,
5447,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1614,
8423,
62,
16344,
796,
651,
35226,
7,
944,
11,
705,
62,
7959,
8423,
3256,
8377,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
279,
17,
66,
961,
14512,
532,
16,
393,
1031,
279,
17,
66,
13564,
14512,
532,
16,
393,
1031,
279,
17,
66,
961,
14512,
1614,
8423,
62,
16344,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
79,
17,
66,
961,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
269,
17,
79,
13564,
14512,
532,
16,
393,
1031,
269,
17,
9681,
14512,
532,
16,
393,
1031,
269,
17,
79,
13564,
14512,
1614,
8423,
62,
16344,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
66,
17,
79,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
13564,
14512,
532,
16,
393,
1031,
11454,
961,
14512,
532,
16,
393,
1031,
11454,
13564,
14512,
1614,
8423,
62,
16344,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
8056,
13564,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1614,
8423,
62,
16344,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
7959,
8423,
62,
16344,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
31572,
257,
4274,
1969,
286,
777,
277,
9310,
1976,
11593,
15003,
834,
319,
4049,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
20225,
62,
9410,
62,
34360,
62,
69,
9310,
796,
350,
1831,
6814,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16314,
288,
5031,
2452,
284,
2038,
435,
2127,
6758,
26,
5457,
8620,
281,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6631,
357,
10698,
266,
2546,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
34360,
62,
7890,
796,
416,
83,
451,
2433,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22340,
10205,
4106,
350,
1831,
6814,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
636,
796,
28686,
13,
961,
7,
8056,
34360,
62,
961,
11,
642,
2388,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
34360,
62,
7890,
15853,
636,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
636,
435,
2127,
18896,
7,
8056,
34360,
62,
7890,
8,
1875,
642,
2388,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
778,
9107,
86,
2926,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
62,
7204,
129,
226,
27399,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
307,
1654,
262,
30002,
474,
395,
4838,
645,
2300,
644,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
19836,
7,
8056,
34360,
62,
961,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
34360,
62,
7890,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
17077,
35317,
7,
944,
13,
35317,
11,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
5932,
18709,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
1000,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6631,
62,
3672,
11,
17910,
62,
8056,
3919,
11,
11454,
62,
19662,
796,
357,
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,
11454,
34360,
62,
7890,
13,
35312,
7,
65,
10354,
3256,
362,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6631,
62,
3672,
796,
275,
6,
7004,
14681,
12331,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17910,
62,
8056,
3919,
796,
275,
6,
15,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
62,
19662,
796,
357,
65,
6,
22069,
6631,
1366,
1976,
1200,
25,
705,
1343,
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,
41575,
7,
8056,
34360,
62,
7890,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1200,
62,
1069,
4516,
62,
4906,
796,
651,
35226,
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,
3170,
1040,
11,
6631,
62,
3672,
13,
12501,
1098,
10786,
292,
979,
72,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3834,
14681,
12331,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
62,
19662,
796,
11454,
62,
19662,
13,
12501,
1098,
7,
48277,
2625,
11793,
3828,
378,
6603,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1189,
549,
4871,
7,
9410,
62,
1069,
4516,
62,
4906,
11,
440,
5188,
81,
1472,
8,
393,
1031,
17910,
62,
8056,
3919,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
3919,
62,
22510,
796,
493,
7,
33095,
62,
8056,
3919,
11,
1467,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1200,
62,
18558,
62,
12081,
62,
7174,
796,
357,
8056,
62,
19662,
6624,
366,
3919,
18558,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1200,
62,
18558,
62,
12081,
62,
7174,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
62,
19662,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
11454,
3919,
62,
22510,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
62,
19662,
796,
28686,
13,
301,
11751,
1472,
7,
8056,
3919,
62,
22510,
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,
11223,
129,
120,
43733,
11454,
3919,
62,
22510,
6624,
11454,
3919,
13,
1677,
46,
3525,
25,
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,
11223,
129,
120,
43733,
1200,
62,
18558,
62,
12081,
62,
7174,
25,
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,
1303,
383,
4049,
1276,
307,
1976,
442,
15908,
7,
66,
16993,
737,
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,
11454,
62,
19662,
15853,
705,
25,
705,
1343,
41575,
7,
66,
16993,
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,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
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,
11454,
62,
19662,
15853,
705,
25,
705,
1343,
41575,
7,
11612,
62,
18558,
18187,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
1200,
62,
1069,
4516,
62,
4906,
7,
8056,
3919,
62,
22510,
11,
11454,
62,
19662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
1200,
62,
1069,
4516,
62,
4906,
7,
8056,
62,
19662,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
28144,
62,
37023,
13376,
7,
944,
11,
39747,
11,
4808,
54,
5064,
46224,
1847,
1961,
28,
418,
13,
54,
5064,
46224,
1847,
1961,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
54,
5781,
5653,
3528,
28,
418,
13,
54,
5781,
5653,
3528,
11,
4808,
54,
5064,
6369,
22061,
28,
418,
13,
54,
5064,
6369,
22061,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
54,
6369,
2043,
35744,
2937,
28,
418,
13,
54,
6369,
2043,
35744,
2937,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
3237,
869,
364,
284,
428,
2163,
17191,
1745,
2116,
13557,
17077,
35317,
62,
5354,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
2446,
474,
395,
1444,
357,
521,
1060,
306,
8,
416,
11593,
12381,
834,
11,
523,
340,
2314,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3522,
284,
1997,
2354,
286,
663,
1957,
8354,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
4808,
54,
5064,
46224,
1847,
1961,
7,
6448,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
532,
62,
54,
5781,
5653,
3528,
7,
6448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
4808,
54,
5064,
6369,
22061,
7,
6448,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
4808,
54,
6369,
2043,
35744,
2937,
7,
6448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10358,
1239,
1645,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3834,
14681,
12331,
7203,
20035,
1200,
8420,
3722,
2474,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
32538,
62,
30393,
7,
944,
11,
4808,
25124,
5219,
28,
30403,
11,
4808,
17077,
35317,
28,
418,
13,
17077,
35317,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
29767,
12096,
15567,
28,
418,
13,
29767,
12096,
15567,
11,
4808,
25994,
26761,
28,
8056,
3919,
13,
25994,
26761,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
11223,
129,
120,
43733,
1200,
1429,
468,
23083,
13,
220,
16409,
1441,
8189,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11688,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
2446,
474,
395,
1444,
416,
11593,
12381,
834,
11,
523,
340,
2314,
4941,
1997,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2354,
286,
262,
1957,
8354,
357,
13099,
460,
597,
5050,
340,
3848,
737,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
2116,
13557,
17077,
35317,
62,
5354,
13,
330,
29782,
7,
45,
494,
79,
1831,
6814,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13742,
287,
330,
2736,
73,
474,
395,
8179,
4585,
4043,
35317,
13,
220,
2094,
470,
1249,
734,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
379,
1752,
13,
220,
775,
760,
2147,
1865,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
299,
494,
8377,
25,
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,
18351,
10205,
38325,
2116,
13,
7783,
8189,
220,
1303,
6023,
4704,
13488,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46514,
11,
39747,
796,
4808,
17077,
35317,
7,
944,
13,
35317,
11,
4808,
29767,
12096,
15567,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
46514,
6624,
2116,
13,
35317,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
28144,
62,
37023,
13376,
7,
6448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
440,
5188,
81,
1472,
474,
25496,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
4808,
25124,
5219,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
4808,
25124,
5219,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
304,
13,
8056,
3919,
6624,
4808,
25994,
26761,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
4325,
11223,
129,
120,
43733,
33993,
5097,
35,
474,
395,
900,
284,
307,
9514,
435,
2127,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4953,
288,
5031,
1200,
7767,
468,
4306,
587,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10058,
288,
5031,
674,
1429,
13,
220,
770,
1200,
474,
395,
2636,
11,
356,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
460,
470,
651,
262,
3722,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2638,
1378,
32965,
13,
29412,
13,
2398,
14,
21949,
1314,
38219,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
7783,
8189,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
62,
7204,
129,
226,
27399,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
17077,
35317,
62,
5354,
13,
20979,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13,
7783,
8189,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
28311,
62,
17077,
7,
944,
11,
4043,
62,
33152,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
3237,
869,
364,
284,
428,
2163,
17191,
1745,
2116,
13557,
17077,
35317,
62,
5354,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
35317,
11,
39747,
8,
796,
28686,
13,
17077,
35317,
7,
944,
13,
35317,
11,
4043,
62,
33152,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
5932,
18709,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
4325,
11223,
129,
120,
43733,
33993,
5097,
35,
474,
395,
900,
284,
307,
9514,
435,
2127,
4953,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
288,
5031,
1200,
7767,
468,
4306,
587,
10058,
288,
5031,
674,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1429,
13,
220,
770,
1200,
474,
395,
2636,
11,
356,
460,
470,
651,
262,
3722,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46514,
796,
2116,
13,
35317,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39747,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
357,
35317,
11,
39747,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4043,
7,
944,
11,
26827,
28,
30403,
11,
886,
2435,
28,
30403,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
21321,
288,
5031,
1200,
1429,
284,
23654,
13,
220,
16409,
1441,
8189,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11688,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13,
7783,
8189,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
886,
2435,
474,
395,
9871,
284,
26827,
13,
220,
26827,
474,
395,
691,
973,
329,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13570,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
886,
2435,
474,
395,
299,
494,
8377,
435,
2127,
26827,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
886,
2435,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
2435,
796,
4808,
2435,
3419,
1343,
26827,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
26827,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
796,
2116,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
886,
2435,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6062,
257,
8179,
9052,
11223,
129,
120,
43733,
356,
423,
257,
26827,
13,
220,
770,
8179,
9052,
373,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
48083,
3077,
1976,
7980,
14,
16663,
278,
13,
9078,
266,
14122,
13,
17077,
3419,
379,
374,
43147,
2996,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5711,
796,
657,
13,
830,
20,
1303,
5323,
514,
4613,
4238,
5711,
286,
352,
13845,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22340,
10205,
4106,
350,
1831,
6814,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13557,
17077,
35317,
62,
5354,
13,
330,
29782,
7,
45,
494,
79,
1831,
6814,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7500,
10205,
11110,
73,
25,
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,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
299,
494,
8377,
25,
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,
778,
9107,
86,
2926,
220,
1303,
6023,
4704,
13488,
13,
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,
357,
35317,
11,
39747,
8,
796,
2116,
13557,
28311,
62,
17077,
7,
418,
13,
29767,
12096,
15567,
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,
220,
220,
220,
220,
6818,
46514,
6624,
2116,
13,
35317,
435,
2127,
46514,
6624,
657,
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,
11223,
129,
120,
43733,
46514,
6624,
2116,
13,
35317,
25,
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,
2116,
13557,
28144,
62,
37023,
13376,
7,
6448,
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,
220,
220,
220,
220,
220,
220,
220,
220,
778,
9107,
86,
2926,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
266,
62,
7204,
129,
226,
27399,
25,
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,
2116,
13557,
17077,
35317,
62,
5354,
13,
20979,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5637,
796,
2116,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
5637,
19841,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
944,
13,
22046,
11,
26827,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5711,
796,
949,
7,
40850,
1635,
362,
11,
5637,
11,
764,
2713,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
40850,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
287,
330,
2736,
73,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22340,
10205,
4106,
2116,
13,
7783,
8189,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
778,
7357,
2116,
13557,
17077,
35317,
62,
5354,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
7783,
8189,
474,
395,
299,
494,
8377,
25,
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,
778,
9107,
86,
2926,
220,
1303,
6023,
4704,
13488,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
35317,
11,
39747,
8,
796,
2116,
13557,
28311,
62,
17077,
7,
15,
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,
1303,
6822,
262,
46514,
393,
1031,
9052,
474,
25496,
4043,
35317,
468,
587,
1900,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1976,
18351,
10205,
38325,
657,
772,
1231,
370,
45,
12096,
15567,
266,
5629,
7445,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2638,
1378,
32965,
13,
29412,
13,
2398,
14,
21949,
1415,
34107,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
46514,
6624,
2116,
13,
35317,
25,
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,
2116,
13557,
28144,
62,
37023,
13376,
7,
6448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
2116,
13,
7783,
8189,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
10709,
5344,
7,
944,
11,
5128,
11,
886,
2435,
11,
1796,
62,
48678,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
259,
393,
1031,
299,
494,
2116,
13557,
32560,
62,
46981,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1610,
1530,
14367,
952,
11876,
13,
220,
770,
1244,
2512,
11,
11223,
129,
120,
43733,
262,
2836,
468,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
587,
3597,
284,
764,
19282,
259,
266,
281,
47913,
6977,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
13,
25925,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
5128,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
19282,
259,
13,
19836,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
8377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
8377,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5514,
2251,
428,
16855,
11223,
129,
120,
43733,
356,
4398,
470,
1541,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
2116,
13557,
32560,
62,
46981,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
7753,
26801,
17,
22915,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
7753,
26801,
17,
22915,
58,
944,
13,
19282,
448,
60,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
7753,
26801,
17,
22915,
58,
944,
13,
301,
1082,
81,
60,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
2116,
13557,
7753,
26801,
17,
22915,
58,
944,
13,
19282,
448,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
2116,
13557,
7753,
26801,
17,
22915,
58,
944,
13,
301,
1082,
81,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
21928,
62,
15414,
7,
15414,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13557,
15414,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
1177,
796,
4088,
1177,
7,
944,
13557,
15414,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
778,
7357,
4808,
47,
9654,
17563,
273,
3419,
474,
25496,
31870,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
259,
393,
1031,
5128,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31870,
13,
30238,
7,
944,
13,
19282,
259,
11,
2922,
669,
13,
20114,
3525,
62,
18564,
12709,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
448,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31870,
13,
30238,
7,
944,
13,
19282,
448,
11,
2922,
669,
13,
20114,
3525,
62,
15675,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
301,
1082,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31870,
13,
30238,
7,
944,
13,
301,
1082,
81,
11,
2922,
669,
13,
20114,
3525,
62,
15675,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22340,
10205,
4106,
31870,
13,
1136,
62,
8899,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
796,
2116,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
26827,
474,
395,
299,
494,
8377,
393,
1031,
26827,
1279,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24573,
11952,
129,
249,
3862,
448,
3109,
6474,
7,
944,
13,
22046,
11,
1796,
62,
48678,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3492,
796,
31870,
13,
19738,
7,
48678,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
9122,
62,
48678,
7,
437,
2435,
11,
1796,
62,
48678,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27713,
16140,
6525,
777,
284,
779,
1729,
12,
41938,
314,
14,
46,
319,
262,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5563,
26,
484,
389,
645,
2392,
1262,
327,
14367,
952,
0,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
5031,
1994,
11,
2995,
266,
3492,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
1994,
13,
7753,
26801,
474,
395,
2116,
13,
19282,
259,
25,
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,
16058,
796,
5128,
62,
1177,
58,
944,
13557,
15414,
62,
28968,
1058,
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,
2116,
13557,
15414,
62,
28968,
1343,
4808,
47,
4061,
36,
62,
19499,
37,
60,
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,
7500,
10205,
11110,
73,
25,
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,
2116,
13557,
15414,
62,
28968,
15853,
28686,
13,
13564,
7,
2539,
13,
16344,
11,
16058,
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,
220,
220,
220,
220,
266,
88,
73,
128,
227,
18504,
7357,
22607,
47,
3757,
12331,
25,
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,
31870,
13,
403,
30238,
7,
2539,
13,
7753,
26801,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1994,
13,
7753,
26801,
13,
19836,
3419,
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,
287,
330,
2736,
73,
25,
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,
11223,
129,
120,
43733,
2116,
13557,
15414,
62,
28968,
18189,
18896,
7,
944,
13557,
15414,
2599,
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,
31870,
13,
403,
30238,
7,
2539,
13,
7753,
26801,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1994,
13,
7753,
26801,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
435,
2127,
62,
259,
330,
2736,
73,
1994,
13,
7753,
26801,
266,
357,
944,
13,
19282,
448,
11,
2116,
13,
301,
1082,
81,
2599,
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,
1366,
796,
28686,
13,
961,
7,
2539,
13,
16344,
11,
36203,
3104,
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,
220,
220,
220,
220,
11223,
129,
120,
43733,
299,
494,
1366,
25,
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,
31870,
13,
403,
30238,
7,
2539,
13,
7753,
26801,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1994,
13,
7753,
26801,
13,
19836,
3419,
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,
2116,
13557,
7753,
26801,
17,
22915,
58,
2539,
13,
7753,
26801,
4083,
33295,
7,
7890,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17077,
7,
48678,
28,
944,
13557,
2787,
1397,
62,
2435,
7,
437,
2435,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
1366,
22112,
13,
220,
3602,
17660,
8341,
656,
13042,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
448,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
275,
35384,
22179,
7,
19282,
448,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
336,
1082,
81,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
275,
35384,
22179,
7,
301,
1082,
81,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3602,
17660,
649,
6615,
11,
11223,
129,
120,
43733,
9167,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
635,
4962,
9881,
656,
13042,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
40082,
62,
3605,
6615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
14367,
448,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
796,
2116,
13557,
7645,
17660,
62,
3605,
6615,
7,
19282,
448,
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,
2116,
13,
19282,
448,
13,
12685,
7656,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
336,
1082,
81,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
336,
1082,
81,
796,
2116,
13557,
7645,
17660,
62,
3605,
6615,
7,
301,
1082,
81,
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,
2116,
13,
301,
1082,
81,
13,
12685,
7656,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
18351,
10205,
38325,
357,
19282,
448,
11,
336,
1082,
81,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
4808,
21928,
62,
15414,
7,
944,
11,
5128,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
2446,
474,
395,
1444,
1976,
262,
4808,
10709,
5344,
62,
4480,
62,
9,
3419,
5050,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
523,
326,
11223,
129,
120,
43733,
356,
640,
503,
22340,
10205,
4106,
22889,
11,
356,
460,
479,
756,
2047,
12303,
73,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7216,
5128,
11223,
129,
120,
43733,
356,
1005,
563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
19282,
259,
393,
1031,
2116,
13557,
15414,
474,
395,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15414,
62,
28968,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15414,
796,
5128,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11223,
129,
120,
43733,
2116,
13,
40082,
62,
3605,
6615,
393,
1031,
5128,
474,
395,
299,
494,
8377,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
15414,
796,
2116,
13557,
15414,
13,
268,
8189,
7,
944,
13,
19282,
259,
13,
12685,
7656,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
825,
3758,
62,
12683,
282,
7,
944,
11,
43237,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
25206,
257,
6737,
284,
262,
1429,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
12728,
7,
944,
13,
35317,
11,
43237,
8,
628,
220,
220,
220,
220,
220,
220,
220,
825,
23654,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
44798,
378,
262,
1429,
778,
7357,
33993,
5781,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21280,
62,
12683,
282,
7,
12683,
282,
13,
50,
3528,
5781,
44,
8,
628,
220,
220,
220,
220,
220,
220,
220,
825,
1494,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
27100,
262,
1429,
778,
7357,
33993,
42,
8267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21280,
62,
12683,
282,
7,
12683,
282,
13,
50,
3528,
42,
8267,
8,
198
] | 2.055512 | 30,318 |
import logging
import random
from tornado import gen
log = logging.getLogger()
@gen.coroutine
@gen.coroutine
| [
11748,
18931,
198,
11748,
4738,
198,
198,
6738,
33718,
1330,
2429,
628,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
3419,
628,
198,
198,
31,
5235,
13,
10215,
28399,
628,
198,
31,
5235,
13,
10215,
28399,
198
] | 3.162162 | 37 |
# This files contains your custom actions which can be used to run
# custom Python code.
#
# See this guide on how to implement these action:
# https://rasa.com/docs/rasa/custom-actions
import json
import re
import numpy as np
from typing import Any, Text, Dict, List
from datetime import datetime
from actions import api_call
from rasa_sdk import Action, Tracker
from rasa_sdk.executor import CollectingDispatcher
from rasa_sdk.events import SlotSet, EventType, FollowupAction
keywords_delimitor = " |,|;|_|\|"
def levenshtein_distance(string1, string2):
"""compute the levenshtein distance between two words"""
distances = np.zeros((len(string1) + 1, len(string2) + 1))
for s1 in range(len(string1) + 1):
distances[s1][0] = s1
for s2 in range(len(string2) + 1):
distances[0][s2] = s2
a = 0
b = 0
c = 0
for s1 in range(1, len(string1) + 1):
for s2 in range(1, len(string2) + 1):
if string1[s1 - 1] == string2[s2 - 1]:
distances[s1][s2] = distances[s1 - 1][s2 - 1]
else:
a = distances[s1][s2 - 1]
b = distances[s1 - 1][s2]
c = distances[s1 - 1][s2 - 1]
if a <= b and a <= c:
distances[s1][s2] = a + 1
elif b <= a and b <= c:
distances[s1][s2] = b + 1
else:
distances[s1][s2] = c + 1
return distances[len(string1)][len(string2)]
def is_keyword_already_in_search(
keyword, user_search_list, exp_terms, minimal_distance=1
):
"""
Input: keyword: string
user_search_list: list of string
exp_terms: list of string
minimal_distance: int (default to 1)
Return True if there is a word in user_search_list or exp_terms that has a levenshtein distance of less or equal than minimal_distance with keyword
Return False if not
"""
flag_already_suggested = False
# Check the current word isn't already proposed (or a very similar word)
for suggested_keyword in exp_terms:
if levenshtein_distance(keyword.lower(), suggested_keyword) <= minimal_distance:
flag_already_suggested = True
# Check the current word isn't already entered by the user (or a very similar word)
for user_keyword in user_search_list:
if (
levenshtein_distance(keyword.lower(), user_keyword.lower())
<= minimal_distance
):
flag_already_suggested = True
return flag_already_suggested
def get_keywords_expanded_list(keywords_expanded, user_search):
"""
Input: keywords_expanded: Output of the expansion API
user_search: search entered by the user
Output: A list of keywords to display to the user
Order example: [barrage éolien]
- take the first keyword for barrage from the referentiel
- take the first keyword for barrage from the embeddings
- take the first keyword for éolien from the referentiel
- take the first keyword for éolien from the embeddings
- take the second keyword for barrage from the referentiel
[...]
Ignore words that have a levenshtein distance of less than 1 to another word already in the list: mainly to prevent plural version
"""
user_search_list = re.split(keywords_delimitor, user_search)
for i in range(len(user_search_list)):
user_search_list[i] = user_search_list[i].lower()
exp_terms = []
done = False
index = 0
while not done and index < 25:
done = True
for og_key in keywords_expanded: # loop on original keywords
# Take the n°index of the referentiel
og_word = og_key["referentiel"]["tags"]
if og_word is not None and len(og_word) > index: # if it exist
done = False
for ref_tag_word in re.split(keywords_delimitor, og_word[index]):
if not is_keyword_already_in_search(
ref_tag_word, user_search_list, exp_terms, 1
):
exp_terms.append(ref_tag_word.lower())
# Take the n°index of the embeddings
og_word = og_key["tree"][0]["similar_senses"]
if og_word is not None and len(og_word) > index: # if it exist
done = False
for ref_tag_word in re.split(
keywords_delimitor, og_word[index][0]["sense"]
):
if not is_keyword_already_in_search(
ref_tag_word, user_search_list, exp_terms, 1
):
exp_terms.append(ref_tag_word.lower())
index += 1
return "|".join(exp_terms)
def keyword_originating_from_og_key(keyword, og_key_tree):
"""
Input: keyword: A keyword proposed by the expansion API
og_key_tree: A tree resulting from a keyword entered by the user
Output: True if keyword was proposed because of its similarity with og_key_tree["original_keyword], False if not
"""
if og_key_tree["referentiel"]["tags"] is not None:
for keyw in og_key_tree["referentiel"]["tags"]:
if keyw == keyword:
return True
for sense in og_key_tree["tree"]:
for similar_sense in sense["similar_senses"]:
if similar_sense[0]["sense"] == keyword:
return True
return False
def process_keyword_feedback(keyword_proposed, keywords_expanded, keywords_feedback):
"""
Input: keyword_proposed: A keyword proposed to the user
keywords_expanded: Output of the API expansion (see API doc)
keywords_feedback: List of keywords chosen by the user
Output: original_keywords: list of keywords that resulted in the proposition of keyword by the API
feedback: wether or not keyword_proposed was chosen by the user
"""
original_keywords = []
for og_key_tree in keywords_expanded:
if keyword_originating_from_og_key(keyword_proposed, og_key_tree):
original_keywords.append(og_key_tree["original_keyword"])
if keyword_proposed in keywords_feedback:
feedback = 1
else:
feedback = -1
return original_keywords, feedback
class ResetKeywordsSlot(Action):
"""
Reset all the slots of the rasa chatbot
"""
class AskForKeywordsFeedbackSlotAction(Action):
"""
Ask the user to choose which keywords are useful to him during the search_form
"""
class SearchKeywordsInDatabase(Action):
"""
Search DataSud API with keywords provided by the users and display results
"""
class SendSearchInfo(Action):
"""
Send search information to the database
"""
class SendKeywordsFeedback(Action):
"""
Send keywords proposed to the user to the database
"""
class FeedbackProposition(Action):
"""
If we found results, ask the user if he wants to give feedback
"""
class AskForResultsFeedbackSlotAction(Action):
"""
Ask the user to choose which results were useful to him
"""
class RecapResultsFeedback(Action):
"""
Feedback format example: 0 2 1
Summarize the feedback to the user
"""
class InitialMessage(Action):
"""
First message sent to user by chatbot
"""
class SetDatasudFlag(Action):
"""
Set has_asked_datasud_flag to True
"""
class SetCUFlag(Action):
"""
Set has_asked_cu_flag to True
"""
class AnythingElse(Action):
"""
Message sent to user to ask if he needs anything else
"""
class SendResultsFeedback(Action):
"""
Feedback format example: 0 3 4
Send Search results feedback to the database
"""
class ProposeAlternativeSearch(Action):
"""
Let the user know what he can do if he didn't what he needed via the chatbot.
"""
| [
2,
770,
3696,
4909,
534,
2183,
4028,
543,
460,
307,
973,
284,
1057,
198,
2,
2183,
11361,
2438,
13,
198,
2,
198,
2,
4091,
428,
5698,
319,
703,
284,
3494,
777,
2223,
25,
198,
2,
3740,
1378,
8847,
64,
13,
785,
14,
31628,
14,
8847,
64,
14,
23144,
12,
4658,
628,
198,
11748,
33918,
198,
11748,
302,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
19720,
1330,
4377,
11,
8255,
11,
360,
713,
11,
7343,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
198,
6738,
4028,
1330,
40391,
62,
13345,
198,
198,
6738,
374,
15462,
62,
21282,
74,
1330,
7561,
11,
26885,
198,
6738,
374,
15462,
62,
21282,
74,
13,
18558,
38409,
1330,
9745,
278,
7279,
8071,
2044,
198,
6738,
374,
15462,
62,
21282,
74,
13,
31534,
1330,
32026,
7248,
11,
8558,
6030,
11,
7281,
929,
12502,
198,
198,
2539,
10879,
62,
12381,
320,
2072,
796,
366,
930,
11,
91,
26,
91,
62,
91,
59,
91,
1,
628,
198,
4299,
443,
574,
1477,
22006,
62,
30246,
7,
8841,
16,
11,
4731,
17,
2599,
198,
220,
220,
220,
37227,
5589,
1133,
262,
443,
574,
1477,
22006,
5253,
1022,
734,
2456,
37811,
628,
220,
220,
220,
18868,
796,
45941,
13,
9107,
418,
19510,
11925,
7,
8841,
16,
8,
1343,
352,
11,
18896,
7,
8841,
17,
8,
1343,
352,
4008,
628,
220,
220,
220,
329,
264,
16,
287,
2837,
7,
11925,
7,
8841,
16,
8,
1343,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
18868,
58,
82,
16,
7131,
15,
60,
796,
264,
16,
628,
220,
220,
220,
329,
264,
17,
287,
2837,
7,
11925,
7,
8841,
17,
8,
1343,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
18868,
58,
15,
7131,
82,
17,
60,
796,
264,
17,
628,
220,
220,
220,
257,
796,
657,
198,
220,
220,
220,
275,
796,
657,
198,
220,
220,
220,
269,
796,
657,
628,
220,
220,
220,
329,
264,
16,
287,
2837,
7,
16,
11,
18896,
7,
8841,
16,
8,
1343,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
264,
17,
287,
2837,
7,
16,
11,
18896,
7,
8841,
17,
8,
1343,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4731,
16,
58,
82,
16,
532,
352,
60,
6624,
4731,
17,
58,
82,
17,
532,
352,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18868,
58,
82,
16,
7131,
82,
17,
60,
796,
18868,
58,
82,
16,
532,
352,
7131,
82,
17,
532,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
18868,
58,
82,
16,
7131,
82,
17,
532,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
18868,
58,
82,
16,
532,
352,
7131,
82,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
796,
18868,
58,
82,
16,
532,
352,
7131,
82,
17,
532,
352,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
257,
19841,
275,
290,
257,
19841,
269,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18868,
58,
82,
16,
7131,
82,
17,
60,
796,
257,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
275,
19841,
257,
290,
275,
19841,
269,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18868,
58,
82,
16,
7131,
82,
17,
60,
796,
275,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18868,
58,
82,
16,
7131,
82,
17,
60,
796,
269,
1343,
352,
628,
220,
220,
220,
1441,
18868,
58,
11925,
7,
8841,
16,
8,
7131,
11925,
7,
8841,
17,
15437,
628,
198,
4299,
318,
62,
2539,
4775,
62,
282,
1493,
62,
259,
62,
12947,
7,
198,
220,
220,
220,
21179,
11,
2836,
62,
12947,
62,
4868,
11,
1033,
62,
38707,
11,
10926,
62,
30246,
28,
16,
198,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
23412,
25,
220,
21179,
25,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
12947,
62,
4868,
25,
1351,
286,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
62,
38707,
25,
1351,
286,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10926,
62,
30246,
25,
493,
357,
12286,
284,
352,
8,
628,
220,
220,
220,
8229,
6407,
611,
612,
318,
257,
1573,
287,
2836,
62,
12947,
62,
4868,
393,
1033,
62,
38707,
326,
468,
257,
443,
574,
1477,
22006,
5253,
286,
1342,
393,
4961,
621,
10926,
62,
30246,
351,
21179,
198,
220,
220,
220,
8229,
10352,
611,
407,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6056,
62,
282,
1493,
62,
47811,
276,
796,
10352,
198,
220,
220,
220,
1303,
6822,
262,
1459,
1573,
2125,
470,
1541,
5150,
357,
273,
257,
845,
2092,
1573,
8,
198,
220,
220,
220,
329,
5220,
62,
2539,
4775,
287,
1033,
62,
38707,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
443,
574,
1477,
22006,
62,
30246,
7,
2539,
4775,
13,
21037,
22784,
5220,
62,
2539,
4775,
8,
19841,
10926,
62,
30246,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6056,
62,
282,
1493,
62,
47811,
276,
796,
6407,
628,
220,
220,
220,
1303,
6822,
262,
1459,
1573,
2125,
470,
1541,
5982,
416,
262,
2836,
357,
273,
257,
845,
2092,
1573,
8,
198,
220,
220,
220,
329,
2836,
62,
2539,
4775,
287,
2836,
62,
12947,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
443,
574,
1477,
22006,
62,
30246,
7,
2539,
4775,
13,
21037,
22784,
2836,
62,
2539,
4775,
13,
21037,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19841,
10926,
62,
30246,
198,
220,
220,
220,
220,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6056,
62,
282,
1493,
62,
47811,
276,
796,
6407,
198,
220,
220,
220,
1441,
6056,
62,
282,
1493,
62,
47811,
276,
628,
198,
4299,
651,
62,
2539,
10879,
62,
11201,
12249,
62,
4868,
7,
2539,
10879,
62,
11201,
12249,
11,
2836,
62,
12947,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
23412,
25,
26286,
62,
11201,
12249,
25,
25235,
286,
262,
7118,
7824,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
12947,
25,
2989,
5982,
416,
262,
2836,
198,
220,
220,
220,
25235,
25,
317,
1351,
286,
26286,
284,
3359,
284,
262,
2836,
628,
220,
220,
220,
8284,
1672,
25,
685,
65,
3258,
496,
38251,
349,
2013,
60,
198,
220,
220,
220,
220,
532,
1011,
262,
717,
21179,
329,
33633,
422,
262,
6773,
429,
8207,
198,
220,
220,
220,
220,
532,
1011,
262,
717,
21179,
329,
33633,
422,
262,
11525,
67,
654,
198,
220,
220,
220,
220,
532,
1011,
262,
717,
21179,
329,
38251,
349,
2013,
422,
262,
6773,
429,
8207,
198,
220,
220,
220,
220,
532,
1011,
262,
717,
21179,
329,
38251,
349,
2013,
422,
262,
11525,
67,
654,
198,
220,
220,
220,
220,
532,
1011,
262,
1218,
21179,
329,
33633,
422,
262,
6773,
429,
8207,
198,
220,
220,
220,
220,
26894,
628,
220,
220,
220,
41032,
2456,
326,
423,
257,
443,
574,
1477,
22006,
5253,
286,
1342,
621,
352,
284,
1194,
1573,
1541,
287,
262,
1351,
25,
8384,
284,
2948,
22801,
2196,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2836,
62,
12947,
62,
4868,
796,
302,
13,
35312,
7,
2539,
10879,
62,
12381,
320,
2072,
11,
2836,
62,
12947,
8,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
7220,
62,
12947,
62,
4868,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
12947,
62,
4868,
58,
72,
60,
796,
2836,
62,
12947,
62,
4868,
58,
72,
4083,
21037,
3419,
198,
220,
220,
220,
1033,
62,
38707,
796,
17635,
198,
220,
220,
220,
1760,
796,
10352,
198,
220,
220,
220,
6376,
796,
657,
628,
220,
220,
220,
981,
407,
1760,
290,
6376,
1279,
1679,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1760,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
329,
267,
70,
62,
2539,
287,
26286,
62,
11201,
12249,
25,
220,
1303,
9052,
319,
2656,
26286,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7214,
262,
299,
7200,
9630,
286,
262,
6773,
429,
8207,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
70,
62,
4775,
796,
267,
70,
62,
2539,
14692,
5420,
9100,
8207,
1,
7131,
1,
31499,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
267,
70,
62,
4775,
318,
407,
6045,
290,
18896,
7,
519,
62,
4775,
8,
1875,
6376,
25,
220,
1303,
611,
340,
2152,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1760,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1006,
62,
12985,
62,
4775,
287,
302,
13,
35312,
7,
2539,
10879,
62,
12381,
320,
2072,
11,
267,
70,
62,
4775,
58,
9630,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
318,
62,
2539,
4775,
62,
282,
1493,
62,
259,
62,
12947,
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,
1006,
62,
12985,
62,
4775,
11,
2836,
62,
12947,
62,
4868,
11,
1033,
62,
38707,
11,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
62,
38707,
13,
33295,
7,
5420,
62,
12985,
62,
4775,
13,
21037,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
7214,
262,
299,
7200,
9630,
286,
262,
11525,
67,
654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
70,
62,
4775,
796,
267,
70,
62,
2539,
14692,
21048,
1,
7131,
15,
7131,
1,
38610,
62,
82,
4541,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
267,
70,
62,
4775,
318,
407,
6045,
290,
18896,
7,
519,
62,
4775,
8,
1875,
6376,
25,
220,
1303,
611,
340,
2152,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1760,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1006,
62,
12985,
62,
4775,
287,
302,
13,
35312,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26286,
62,
12381,
320,
2072,
11,
267,
70,
62,
4775,
58,
9630,
7131,
15,
7131,
1,
33819,
8973,
198,
220,
220,
220,
220,
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,
220,
220,
220,
220,
611,
407,
318,
62,
2539,
4775,
62,
282,
1493,
62,
259,
62,
12947,
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,
1006,
62,
12985,
62,
4775,
11,
2836,
62,
12947,
62,
4868,
11,
1033,
62,
38707,
11,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
1033,
62,
38707,
13,
33295,
7,
5420,
62,
12985,
62,
4775,
13,
21037,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
6376,
15853,
352,
198,
220,
220,
220,
1441,
366,
91,
1911,
22179,
7,
11201,
62,
38707,
8,
628,
198,
4299,
21179,
62,
11612,
6010,
62,
6738,
62,
519,
62,
2539,
7,
2539,
4775,
11,
267,
70,
62,
2539,
62,
21048,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
23412,
25,
220,
21179,
25,
317,
21179,
5150,
416,
262,
7118,
7824,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
267,
70,
62,
2539,
62,
21048,
25,
317,
5509,
7186,
422,
257,
21179,
5982,
416,
262,
2836,
628,
220,
220,
220,
25235,
25,
6407,
611,
21179,
373,
5150,
780,
286,
663,
26789,
351,
267,
70,
62,
2539,
62,
21048,
14692,
14986,
62,
2539,
4775,
4357,
10352,
611,
407,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
267,
70,
62,
2539,
62,
21048,
14692,
5420,
9100,
8207,
1,
7131,
1,
31499,
8973,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
86,
287,
267,
70,
62,
2539,
62,
21048,
14692,
5420,
9100,
8207,
1,
7131,
1,
31499,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
86,
6624,
21179,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628,
220,
220,
220,
329,
2565,
287,
267,
70,
62,
2539,
62,
21048,
14692,
21048,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2092,
62,
33819,
287,
2565,
14692,
38610,
62,
82,
4541,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2092,
62,
33819,
58,
15,
7131,
1,
33819,
8973,
6624,
21179,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628,
220,
220,
220,
1441,
10352,
628,
198,
4299,
1429,
62,
2539,
4775,
62,
12363,
1891,
7,
2539,
4775,
62,
22930,
1335,
11,
26286,
62,
11201,
12249,
11,
26286,
62,
12363,
1891,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
23412,
25,
220,
21179,
62,
22930,
1335,
25,
317,
21179,
5150,
284,
262,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26286,
62,
11201,
12249,
25,
25235,
286,
262,
7824,
7118,
357,
3826,
7824,
2205,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26286,
62,
12363,
1891,
25,
7343,
286,
26286,
7147,
416,
262,
2836,
628,
220,
220,
220,
25235,
25,
2656,
62,
2539,
10879,
25,
1351,
286,
26286,
326,
8724,
287,
262,
19168,
286,
21179,
416,
262,
7824,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7538,
25,
266,
6750,
393,
407,
21179,
62,
22930,
1335,
373,
7147,
416,
262,
2836,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2656,
62,
2539,
10879,
796,
17635,
628,
220,
220,
220,
329,
267,
70,
62,
2539,
62,
21048,
287,
26286,
62,
11201,
12249,
25,
628,
220,
220,
220,
220,
220,
220,
220,
611,
21179,
62,
11612,
6010,
62,
6738,
62,
519,
62,
2539,
7,
2539,
4775,
62,
22930,
1335,
11,
267,
70,
62,
2539,
62,
21048,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
2539,
10879,
13,
33295,
7,
519,
62,
2539,
62,
21048,
14692,
14986,
62,
2539,
4775,
8973,
8,
628,
220,
220,
220,
611,
21179,
62,
22930,
1335,
287,
26286,
62,
12363,
1891,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7538,
796,
352,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7538,
796,
532,
16,
628,
220,
220,
220,
1441,
2656,
62,
2539,
10879,
11,
7538,
628,
198,
4871,
30027,
9218,
10879,
38963,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
30027,
477,
262,
17314,
286,
262,
374,
15462,
8537,
13645,
198,
220,
220,
220,
37227,
628,
198,
4871,
16981,
1890,
9218,
10879,
18332,
1891,
38963,
12502,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16981,
262,
2836,
284,
3853,
543,
26286,
389,
4465,
284,
683,
1141,
262,
2989,
62,
687,
198,
220,
220,
220,
37227,
628,
198,
4871,
11140,
9218,
10879,
818,
38105,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11140,
6060,
50,
463,
7824,
351,
26286,
2810,
416,
262,
2985,
290,
3359,
2482,
198,
220,
220,
220,
37227,
628,
198,
4871,
16290,
18243,
12360,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16290,
2989,
1321,
284,
262,
6831,
198,
220,
220,
220,
37227,
628,
198,
4871,
16290,
9218,
10879,
18332,
1891,
7,
12502,
2599,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
16290,
26286,
5150,
284,
262,
2836,
284,
262,
6831,
198,
220,
220,
220,
37227,
628,
198,
4871,
37774,
24331,
3507,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1002,
356,
1043,
2482,
11,
1265,
262,
2836,
611,
339,
3382,
284,
1577,
7538,
198,
220,
220,
220,
37227,
628,
198,
4871,
16981,
1890,
25468,
18332,
1891,
38963,
12502,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16981,
262,
2836,
284,
3853,
543,
2482,
547,
4465,
284,
683,
198,
220,
220,
220,
37227,
628,
198,
4871,
46585,
25468,
18332,
1891,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
37774,
5794,
1672,
25,
657,
362,
352,
198,
220,
220,
220,
5060,
3876,
1096,
262,
7538,
284,
262,
2836,
198,
220,
220,
220,
37227,
628,
198,
4871,
20768,
12837,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3274,
3275,
1908,
284,
2836,
416,
8537,
13645,
198,
220,
220,
220,
37227,
628,
198,
4871,
5345,
27354,
292,
463,
34227,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5345,
468,
62,
2093,
276,
62,
19608,
292,
463,
62,
32109,
284,
6407,
198,
220,
220,
220,
37227,
628,
198,
4871,
5345,
43633,
34227,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5345,
468,
62,
2093,
276,
62,
27399,
62,
32109,
284,
6407,
198,
220,
220,
220,
37227,
628,
198,
4871,
21035,
40674,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16000,
1908,
284,
2836,
284,
1265,
611,
339,
2476,
1997,
2073,
198,
220,
220,
220,
37227,
628,
198,
4871,
16290,
25468,
18332,
1891,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
37774,
5794,
1672,
25,
657,
513,
604,
198,
220,
220,
220,
16290,
11140,
2482,
7538,
284,
262,
6831,
198,
220,
220,
220,
37227,
628,
198,
4871,
1041,
3455,
49788,
18243,
7,
12502,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3914,
262,
2836,
760,
644,
339,
460,
466,
611,
339,
1422,
470,
644,
339,
2622,
2884,
262,
8537,
13645,
13,
198,
220,
220,
220,
37227,
628
] | 2.455535 | 3,216 |
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import TransactionViewSet, AccountMT4ViewSet, AccountHistoryViewSet, \
AccountConfigViewSet, transaction_approve, transaction_reject, user_info, ea_license, PackageViewSet, \
ServerInfoViewSet, account_config_admin_approve, create_order, \
account_config_superadmin_approve, OfficeViewSet, extension_order, license_time, \
guarantee_time, ChangePasswordView
router = DefaultRouter()
router.register(r'transaction', TransactionViewSet)
router.register(r'account-mt4', AccountMT4ViewSet)
router.register(r'account-history', AccountHistoryViewSet)
router.register(r'account-config', AccountConfigViewSet)
router.register(r'package', PackageViewSet)
router.register(r'server-info', ServerInfoViewSet)
router.register(r'office', OfficeViewSet)
urlpatterns = [
path('api/', include(router.urls)),
path(r'api/transaction/approve/<int:id>', transaction_approve),
path(r'api/transaction/reject/<int:id>', transaction_reject),
path(r'api/user-info', user_info),
path(r'api/ea-license/<int:id>', ea_license),
path(r'api/account-config/admin-approve/<int:id>', account_config_admin_approve),
path(r'api/account-config/superadmin-approve/<int:id>', account_config_superadmin_approve),
path(r'api/create-order', create_order),
path(r'api/extension-order/<int:id>', extension_order),
path(r'api/license-time', license_time),
path(r'api/guarantee-time', guarantee_time),
path(r'api/change-password', ChangePasswordView.as_view())
]
| [
6738,
42625,
14208,
13,
6371,
82,
1330,
3108,
11,
2291,
198,
6738,
1334,
62,
30604,
13,
472,
1010,
1330,
15161,
49,
39605,
198,
6738,
764,
33571,
1330,
45389,
7680,
7248,
11,
10781,
13752,
19,
7680,
7248,
11,
10781,
18122,
7680,
7248,
11,
3467,
198,
220,
220,
220,
10781,
16934,
7680,
7248,
11,
8611,
62,
21064,
303,
11,
8611,
62,
260,
752,
11,
2836,
62,
10951,
11,
304,
64,
62,
43085,
11,
15717,
7680,
7248,
11,
3467,
198,
220,
220,
220,
9652,
12360,
7680,
7248,
11,
1848,
62,
11250,
62,
28482,
62,
21064,
303,
11,
2251,
62,
2875,
11,
3467,
198,
220,
220,
220,
1848,
62,
11250,
62,
16668,
28482,
62,
21064,
303,
11,
4452,
7680,
7248,
11,
7552,
62,
2875,
11,
5964,
62,
2435,
11,
3467,
198,
220,
220,
220,
9149,
62,
2435,
11,
9794,
35215,
7680,
198,
198,
472,
353,
796,
15161,
49,
39605,
3419,
198,
472,
353,
13,
30238,
7,
81,
470,
26084,
2673,
3256,
45389,
7680,
7248,
8,
198,
472,
353,
13,
30238,
7,
81,
6,
23317,
12,
16762,
19,
3256,
10781,
13752,
19,
7680,
7248,
8,
198,
472,
353,
13,
30238,
7,
81,
6,
23317,
12,
23569,
3256,
10781,
18122,
7680,
7248,
8,
198,
472,
353,
13,
30238,
7,
81,
6,
23317,
12,
11250,
3256,
10781,
16934,
7680,
7248,
8,
198,
472,
353,
13,
30238,
7,
81,
6,
26495,
3256,
15717,
7680,
7248,
8,
198,
472,
353,
13,
30238,
7,
81,
338,
18497,
12,
10951,
3256,
9652,
12360,
7680,
7248,
8,
198,
472,
353,
13,
30238,
7,
81,
6,
31810,
3256,
4452,
7680,
7248,
8,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
3108,
10786,
15042,
14,
3256,
2291,
7,
472,
353,
13,
6371,
82,
36911,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
7645,
2673,
14,
21064,
303,
14,
27,
600,
25,
312,
29,
3256,
8611,
62,
21064,
303,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
7645,
2673,
14,
260,
752,
14,
27,
600,
25,
312,
29,
3256,
8611,
62,
260,
752,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
7220,
12,
10951,
3256,
2836,
62,
10951,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
18213,
12,
43085,
14,
27,
600,
25,
312,
29,
3256,
304,
64,
62,
43085,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
23317,
12,
11250,
14,
28482,
12,
21064,
303,
14,
27,
600,
25,
312,
29,
3256,
1848,
62,
11250,
62,
28482,
62,
21064,
303,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
23317,
12,
11250,
14,
16668,
28482,
12,
21064,
303,
14,
27,
600,
25,
312,
29,
3256,
1848,
62,
11250,
62,
16668,
28482,
62,
21064,
303,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
17953,
12,
2875,
3256,
2251,
62,
2875,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
2302,
3004,
12,
2875,
14,
27,
600,
25,
312,
29,
3256,
7552,
62,
2875,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
43085,
12,
2435,
3256,
5964,
62,
2435,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
5162,
4741,
1453,
12,
2435,
3256,
9149,
62,
2435,
828,
198,
220,
220,
220,
3108,
7,
81,
6,
15042,
14,
3803,
12,
28712,
3256,
9794,
35215,
7680,
13,
292,
62,
1177,
28955,
198,
60,
198
] | 2.846847 | 555 |
"""
pythonify
~~~~~~~~
Converts an OSM XML file into a number of Python dictionaries. This process
is slow, and (very) memory intensive, so can be split into a number of parts.
We also support saving and loading the results from compressed pickle'd files
(these should be viewed a temporary files, which are unlikely to be compatible
across different Python runtime systems.)
"""
from . import digest as _digest
import pickle as _pickle
import lzma as _lzma
import array as _array
import bisect as _bisect
from collections import defaultdict as _defaultdict
def unpickle(filename):
"""Load an object from a .xz compressed pickle file."""
with _lzma.open(filename, "rb") as file:
return _pickle.load(file)
def pickle(object, filename):
"""Save an object to a .xz compressed pickle file."""
with _lzma.open(filename, "wb") as file:
return _pickle.dump(object, file)
class Nodes():
"""Extracts the coordinate data (only) for the nodes. Stores data in a
dictionary.
:param file: Construct from the filename or file-like object; can be
anything which :module:`digest` can parse.
:param fast: If True (default) then assume the input XML file is organised
so that all nodes occur first, then all ways, and then all relations.
"""
class NodesPacked():
"""A more efficient storage method than the :class:`Nodes` implements, but
at the cost of slower querying.
:param file: Construct from the filename or file-like object; can be
anything which :module:`digest` can parse.untitled0.py
:param fast: If True (default) then assume the input XML file is organised
so that all nodes occur first, then all ways, and then all relations.
"""
@staticmethod
@staticmethod
@staticmethod
def from_Nodes(nodes):
"""Construct a new instance from an instance of :class:`Nodes`."""
new = NodesPacked(None)
interim_list = [ (osm_id, lon, lat) for osm_id, (lon, lat) in nodes._nodes.items() ]
new._osm_ids, new._longitude, new._latitude = NodesPacked._arrays_from_unordered_list(interim_list)
return new
class Ways():
"""Extracts (only) the list of nodes for each way.
:param file: Construct from the filename or file-like object; can be
anything which :module:`digest` can parse.untitled0.py
:param fast: If True (default) then assume the input XML file is organised
so that all nodes occur first, then all ways, and then all relations.
"""
class Relations():
"""Extracts (only) the list of members of each relation.
:param file: Construct from the filename or file-like object; can be
anything which :module:`digest` can parse.untitled0.py
:param fast: If True (default) then assume the input XML file is organised
so that all nodes occur first, then all ways, and then all relations.
"""
class Tags():
"""Stores all the tags in a lookup optimised for finding the objects
(nodes, ways and relations) which have a given tag.
:param file: Construct from the filename or file-like object; can be
anything which :module:`digest` can parse.
"""
@staticmethod
@staticmethod
@property
def all_node_tags(self):
"""Set of all `(key, value)` pairs of tags of nodes."""
return set(self.from_nodes)
@property
def all_node_tag_keys(self):
"""Set of all keys which occur on tags of nodes."""
return set(k for (k,v) in self.from_nodes)
@property
def all_way_tags(self):
"""Set of all `(key, value)` pairs of tags of ways."""
return set(self.from_ways)
@property
def all_way_tag_keys(self):
"""Set of all keys which occur on tags of ways."""
return set(k for (k,v) in self.from_ways)
@property
def all_relation_tags(self):
"""Set of all `(key, value)` pairs of tags of relations."""
return set(self.from_relations)
@property
def all_relation_tag_keys(self):
"""Set of all keys which occur on tags of relations."""
return set(k for (k,v) in self.from_relations)
def from_key_value(self, key, value):
"""Return a list of all element which have the tag `{key: value}`.
:param key: The key to search for tags with.
:param value: The value to search for tags with.
:return: A list of pairs `(typename, osm_id)` where `typename` is one
of "node", "way" or "relation" and `osm_id` is the id of the element.
"""
out = []
for osm_id in self.nodes((key, value)):
out.append(("node", osm_id))
for osm_id in self.ways((key, value)):
out.append(("way", osm_id))
for osm_id in self.relations((key, value)):
out.append(("relation", osm_id))
return out
def from_key(self, key):
"""Return a list of all element which have the tag `key`.
:param key: The key to search for tags with.
:return: A list of triple `(typename, value, osm_id)` where `typename`
is one of "node", "way" or "relation", `value` is the value of the
tag, and `osm_id` is the id of the element.
"""
out = []
for value, osm_id in self.nodes_from_key(key):
out.append(("node", value, osm_id))
for value, osm_id in self.ways_from_key(key):
out.append(("way", value, osm_id))
for value, osm_id in self.relations_from_key(key):
out.append(("relation", value, osm_id))
return out
def nodes(self, key_pair):
"""Returns a list of all the nodes which have the tag `{key: value}`.
:param key_pair: `(key, value)` of tag to search for.
:return: list, maybe empty, of ids of nodes with this tag.
"""
return self._by_key_pair(self.from_nodes, key_pair)
def nodes_from_key(self, key):
"""Returns a list of all the nodes which have the tag key.
:param key: The key of tags to search for.
:return: list, maybe empty, of pairs `(value, id)` where `value` is the
value from the tag, and `id` is osm id of the node.
"""
return self._by_key(self.from_nodes, key)
def ways(self, key_pair):
"""Returns a list of all the ways which have the tag `{key: value}`.
:param key_pair: `(key, value)` of tag to search for.
:return: list, maybe empty, of ids of ways with this tag.
"""
return self._by_key_pair(self.from_ways, key_pair)
def ways_from_key(self, key):
"""Returns a list of all the ways which have the tag key.
:param key: The key of tags to search for.
:return: list, maybe empty, of pairs `(value, id)` where `value` is the
value from the tag, and `id` is osm id of the way.
"""
return self._by_key(self.from_ways, key)
def relations(self, key_pair):
"""Returns a list of all the relations which have the tag
`{key: value}`.
:param key_pair: `(key, value)` of tag to search for.
:return: list, maybe empty, of ids of relations with this tag.
"""
return self._by_key_pair(self.from_relations, key_pair)
def relations_from_key(self, key):
"""Returns a list of all the relations which have the tag key.
:param key: The key of tags to search for.
:return: list, maybe empty, of pairs `(value, id)` where `value` is the
value from the tag, and `id` is osm id of the relation.
"""
return self._by_key(self.from_relations, key)
class TagsById():
"""A lookup from osm id number to tags.
:param tags: An instance of :class:`Tags`.
"""
@staticmethod
def node(self, osm_id):
"""Return a (possibly empty) dictionary of tags for the node with
this id.
"""
if osm_id in self._nodes:
return self._nodes[osm_id]
return dict()
def way(self, osm_id):
"""Return a (possibly empty) dictionary of tags for the node with
this id.
"""
if osm_id in self._ways:
return self._ways[osm_id]
return dict()
def relation(self, osm_id):
"""Return a (possibly empty) dictionary of tags for the node with
this id.
"""
if osm_id in self._relations:
return self._relations[osm_id]
return dict()
def pythonify_and_pickle(file, out_filename):
"""Convert all the data in the XML file and save as pickled files for
nodes, ways, relations and tags separately.
:param file: Filename (the file will be opened 4 times, so passing a file
object will not work). Can be anything which :module:`digest` can parse.
:param out_filename: If is `test` then writes files `test_nodes.pic.xz`
through `test_tags.pic.xz`
:return: A tuple of the 4 output filenames for nodes, ways, relations
and tags.
"""
obj = NodesPacked(file)
out = [out_filename + "_nodes.pic.xz"]
pickle(obj, out[0])
for typpe, name in [(Ways, "ways"), (Relations, "relations"),
(Tags, "tags")]:
obj = None
obj = typpe(file)
name = "{}_{}.pic.xz".format(out_filename, name)
pickle(obj, name)
out.append(name)
return out
| [
37811,
198,
29412,
1958,
198,
15116,
198,
198,
3103,
24040,
281,
7294,
44,
23735,
2393,
656,
257,
1271,
286,
11361,
48589,
3166,
13,
220,
770,
1429,
198,
271,
3105,
11,
290,
357,
548,
8,
4088,
18590,
11,
523,
460,
307,
6626,
656,
257,
1271,
286,
3354,
13,
198,
1135,
635,
1104,
8914,
290,
11046,
262,
2482,
422,
25388,
2298,
293,
1549,
3696,
198,
7,
27218,
815,
307,
9569,
257,
8584,
3696,
11,
543,
389,
7485,
284,
307,
11670,
198,
330,
1214,
1180,
11361,
19124,
3341,
2014,
198,
37811,
198,
198,
6738,
764,
1330,
16274,
355,
4808,
12894,
395,
198,
11748,
2298,
293,
355,
4808,
27729,
293,
198,
11748,
300,
89,
2611,
355,
4808,
75,
89,
2611,
198,
11748,
7177,
355,
4808,
18747,
198,
11748,
47457,
478,
355,
4808,
41907,
478,
198,
6738,
17268,
1330,
4277,
11600,
355,
4808,
12286,
11600,
198,
198,
4299,
8593,
39423,
7,
34345,
2599,
198,
220,
220,
220,
37227,
8912,
281,
2134,
422,
257,
764,
87,
89,
25388,
2298,
293,
2393,
526,
15931,
198,
220,
220,
220,
351,
4808,
75,
89,
2611,
13,
9654,
7,
34345,
11,
366,
26145,
4943,
355,
2393,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
27729,
293,
13,
2220,
7,
7753,
8,
198,
198,
4299,
2298,
293,
7,
15252,
11,
29472,
2599,
198,
220,
220,
220,
37227,
16928,
281,
2134,
284,
257,
764,
87,
89,
25388,
2298,
293,
2393,
526,
15931,
198,
220,
220,
220,
351,
4808,
75,
89,
2611,
13,
9654,
7,
34345,
11,
366,
39346,
4943,
355,
2393,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
27729,
293,
13,
39455,
7,
15252,
11,
2393,
8,
628,
198,
4871,
399,
4147,
33529,
198,
220,
220,
220,
37227,
11627,
974,
82,
262,
20435,
1366,
357,
8807,
8,
329,
262,
13760,
13,
220,
41835,
1366,
287,
257,
198,
220,
220,
220,
22155,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2393,
25,
28407,
422,
262,
29472,
393,
2393,
12,
2339,
2134,
26,
460,
307,
198,
220,
220,
220,
220,
220,
1997,
543,
1058,
21412,
25,
63,
12894,
395,
63,
460,
21136,
13,
198,
220,
220,
220,
1058,
17143,
3049,
25,
1002,
6407,
357,
12286,
8,
788,
7048,
262,
5128,
23735,
2393,
318,
20325,
198,
220,
220,
220,
220,
220,
523,
326,
477,
13760,
3051,
717,
11,
788,
477,
2842,
11,
290,
788,
477,
2316,
13,
198,
220,
220,
220,
37227,
628,
198,
4871,
399,
4147,
47,
6021,
33529,
198,
220,
220,
220,
37227,
32,
517,
6942,
6143,
2446,
621,
262,
1058,
4871,
25,
63,
45,
4147,
63,
23986,
11,
475,
198,
220,
220,
220,
379,
262,
1575,
286,
13611,
42517,
1112,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2393,
25,
28407,
422,
262,
29472,
393,
2393,
12,
2339,
2134,
26,
460,
307,
198,
220,
220,
220,
220,
220,
1997,
543,
1058,
21412,
25,
63,
12894,
395,
63,
460,
21136,
13,
2797,
7803,
15,
13,
9078,
198,
220,
220,
220,
1058,
17143,
3049,
25,
1002,
6407,
357,
12286,
8,
788,
7048,
262,
5128,
23735,
2393,
318,
20325,
198,
220,
220,
220,
220,
220,
523,
326,
477,
13760,
3051,
717,
11,
788,
477,
2842,
11,
290,
788,
477,
2316,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
422,
62,
45,
4147,
7,
77,
4147,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
257,
649,
4554,
422,
281,
4554,
286,
1058,
4871,
25,
63,
45,
4147,
63,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
649,
796,
399,
4147,
47,
6021,
7,
14202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19303,
62,
4868,
796,
685,
357,
418,
76,
62,
312,
11,
300,
261,
11,
3042,
8,
329,
267,
5796,
62,
312,
11,
357,
14995,
11,
3042,
8,
287,
13760,
13557,
77,
4147,
13,
23814,
3419,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
649,
13557,
418,
76,
62,
2340,
11,
649,
13557,
6511,
3984,
11,
649,
13557,
15460,
3984,
796,
399,
4147,
47,
6021,
13557,
3258,
592,
62,
6738,
62,
403,
24071,
62,
4868,
7,
3849,
320,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
649,
628,
198,
4871,
26658,
33529,
198,
220,
220,
220,
37227,
11627,
974,
82,
357,
8807,
8,
262,
1351,
286,
13760,
329,
1123,
835,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2393,
25,
28407,
422,
262,
29472,
393,
2393,
12,
2339,
2134,
26,
460,
307,
198,
220,
220,
220,
220,
220,
1997,
543,
1058,
21412,
25,
63,
12894,
395,
63,
460,
21136,
13,
2797,
7803,
15,
13,
9078,
198,
220,
220,
220,
1058,
17143,
3049,
25,
1002,
6407,
357,
12286,
8,
788,
7048,
262,
5128,
23735,
2393,
318,
20325,
198,
220,
220,
220,
220,
220,
523,
326,
477,
13760,
3051,
717,
11,
788,
477,
2842,
11,
290,
788,
477,
2316,
13,
198,
220,
220,
220,
37227,
628,
198,
4871,
13883,
33529,
198,
220,
220,
220,
37227,
11627,
974,
82,
357,
8807,
8,
262,
1351,
286,
1866,
286,
1123,
8695,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2393,
25,
28407,
422,
262,
29472,
393,
2393,
12,
2339,
2134,
26,
460,
307,
198,
220,
220,
220,
220,
220,
1997,
543,
1058,
21412,
25,
63,
12894,
395,
63,
460,
21136,
13,
2797,
7803,
15,
13,
9078,
198,
220,
220,
220,
1058,
17143,
3049,
25,
1002,
6407,
357,
12286,
8,
788,
7048,
262,
5128,
23735,
2393,
318,
20325,
198,
220,
220,
220,
220,
220,
523,
326,
477,
13760,
3051,
717,
11,
788,
477,
2842,
11,
290,
788,
477,
2316,
13,
198,
220,
220,
220,
37227,
628,
198,
4871,
44789,
33529,
198,
220,
220,
220,
37227,
1273,
2850,
477,
262,
15940,
287,
257,
35847,
6436,
1417,
329,
4917,
262,
5563,
198,
220,
220,
220,
357,
77,
4147,
11,
2842,
290,
2316,
8,
543,
423,
257,
1813,
7621,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2393,
25,
28407,
422,
262,
29472,
393,
2393,
12,
2339,
2134,
26,
460,
307,
198,
220,
220,
220,
220,
220,
1997,
543,
1058,
21412,
25,
63,
12894,
395,
63,
460,
21136,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
477,
62,
17440,
62,
31499,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
286,
477,
4600,
7,
2539,
11,
1988,
8,
63,
14729,
286,
15940,
286,
13760,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
900,
7,
944,
13,
6738,
62,
77,
4147,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
477,
62,
17440,
62,
12985,
62,
13083,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
286,
477,
8251,
543,
3051,
319,
15940,
286,
13760,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
900,
7,
74,
329,
357,
74,
11,
85,
8,
287,
2116,
13,
6738,
62,
77,
4147,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
477,
62,
1014,
62,
31499,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
286,
477,
4600,
7,
2539,
11,
1988,
8,
63,
14729,
286,
15940,
286,
2842,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
900,
7,
944,
13,
6738,
62,
1322,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
477,
62,
1014,
62,
12985,
62,
13083,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
286,
477,
8251,
543,
3051,
319,
15940,
286,
2842,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
900,
7,
74,
329,
357,
74,
11,
85,
8,
287,
2116,
13,
6738,
62,
1322,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
477,
62,
49501,
62,
31499,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
286,
477,
4600,
7,
2539,
11,
1988,
8,
63,
14729,
286,
15940,
286,
2316,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
900,
7,
944,
13,
6738,
62,
39468,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
477,
62,
49501,
62,
12985,
62,
13083,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7248,
286,
477,
8251,
543,
3051,
319,
15940,
286,
2316,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
900,
7,
74,
329,
357,
74,
11,
85,
8,
287,
2116,
13,
6738,
62,
39468,
8,
628,
220,
220,
220,
825,
422,
62,
2539,
62,
8367,
7,
944,
11,
1994,
11,
1988,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
1351,
286,
477,
5002,
543,
423,
262,
7621,
4600,
90,
2539,
25,
1988,
92,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
25,
383,
1994,
284,
2989,
329,
15940,
351,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1988,
25,
383,
1988,
284,
2989,
329,
15940,
351,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
317,
1351,
286,
14729,
4600,
7,
774,
3617,
480,
11,
267,
5796,
62,
312,
8,
63,
810,
4600,
774,
3617,
480,
63,
318,
530,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
286,
366,
17440,
1600,
366,
1014,
1,
393,
366,
49501,
1,
290,
4600,
418,
76,
62,
312,
63,
318,
262,
4686,
286,
262,
5002,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
503,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
267,
5796,
62,
312,
287,
2116,
13,
77,
4147,
19510,
2539,
11,
1988,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
7203,
17440,
1600,
267,
5796,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
267,
5796,
62,
312,
287,
2116,
13,
1322,
19510,
2539,
11,
1988,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
7203,
1014,
1600,
267,
5796,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
267,
5796,
62,
312,
287,
2116,
13,
39468,
19510,
2539,
11,
1988,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
7203,
49501,
1600,
267,
5796,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
503,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
422,
62,
2539,
7,
944,
11,
1994,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
1351,
286,
477,
5002,
543,
423,
262,
7621,
4600,
2539,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
25,
383,
1994,
284,
2989,
329,
15940,
351,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
317,
1351,
286,
15055,
4600,
7,
774,
3617,
480,
11,
1988,
11,
267,
5796,
62,
312,
8,
63,
810,
4600,
774,
3617,
480,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
530,
286,
366,
17440,
1600,
366,
1014,
1,
393,
366,
49501,
1600,
4600,
8367,
63,
318,
262,
1988,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7621,
11,
290,
4600,
418,
76,
62,
312,
63,
318,
262,
4686,
286,
262,
5002,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
503,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1988,
11,
267,
5796,
62,
312,
287,
2116,
13,
77,
4147,
62,
6738,
62,
2539,
7,
2539,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
7203,
17440,
1600,
1988,
11,
267,
5796,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1988,
11,
267,
5796,
62,
312,
287,
2116,
13,
1322,
62,
6738,
62,
2539,
7,
2539,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
7203,
1014,
1600,
1988,
11,
267,
5796,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1988,
11,
267,
5796,
62,
312,
287,
2116,
13,
39468,
62,
6738,
62,
2539,
7,
2539,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
7203,
49501,
1600,
1988,
11,
267,
5796,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
503,
628,
220,
220,
220,
825,
13760,
7,
944,
11,
1994,
62,
24874,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
477,
262,
13760,
543,
423,
262,
7621,
4600,
90,
2539,
25,
1988,
92,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
62,
24874,
25,
4600,
7,
2539,
11,
1988,
8,
63,
286,
7621,
284,
2989,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
11,
3863,
6565,
11,
286,
220,
2340,
286,
13760,
351,
428,
7621,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1525,
62,
2539,
62,
24874,
7,
944,
13,
6738,
62,
77,
4147,
11,
1994,
62,
24874,
8,
628,
220,
220,
220,
825,
13760,
62,
6738,
62,
2539,
7,
944,
11,
1994,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
477,
262,
13760,
543,
423,
262,
7621,
1994,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
25,
383,
1994,
286,
15940,
284,
2989,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
11,
3863,
6565,
11,
286,
14729,
4600,
7,
8367,
11,
4686,
8,
63,
810,
4600,
8367,
63,
318,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
422,
262,
7621,
11,
290,
4600,
312,
63,
318,
267,
5796,
4686,
286,
262,
10139,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1525,
62,
2539,
7,
944,
13,
6738,
62,
77,
4147,
11,
1994,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
825,
2842,
7,
944,
11,
1994,
62,
24874,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
477,
262,
2842,
543,
423,
262,
7621,
4600,
90,
2539,
25,
1988,
92,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
62,
24874,
25,
4600,
7,
2539,
11,
1988,
8,
63,
286,
7621,
284,
2989,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
11,
3863,
6565,
11,
286,
220,
2340,
286,
2842,
351,
428,
7621,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1525,
62,
2539,
62,
24874,
7,
944,
13,
6738,
62,
1322,
11,
1994,
62,
24874,
8,
628,
220,
220,
220,
825,
2842,
62,
6738,
62,
2539,
7,
944,
11,
1994,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
477,
262,
2842,
543,
423,
262,
7621,
1994,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
25,
383,
1994,
286,
15940,
284,
2989,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
11,
3863,
6565,
11,
286,
14729,
4600,
7,
8367,
11,
4686,
8,
63,
810,
4600,
8367,
63,
318,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
422,
262,
7621,
11,
290,
4600,
312,
63,
318,
267,
5796,
4686,
286,
262,
835,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1525,
62,
2539,
7,
944,
13,
6738,
62,
1322,
11,
1994,
8,
628,
220,
220,
220,
825,
2316,
7,
944,
11,
1994,
62,
24874,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
477,
262,
2316,
543,
423,
262,
7621,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
90,
2539,
25,
1988,
92,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
62,
24874,
25,
4600,
7,
2539,
11,
1988,
8,
63,
286,
7621,
284,
2989,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
11,
3863,
6565,
11,
286,
220,
2340,
286,
2316,
351,
428,
7621,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1525,
62,
2539,
62,
24874,
7,
944,
13,
6738,
62,
39468,
11,
1994,
62,
24874,
8,
628,
220,
220,
220,
825,
2316,
62,
6738,
62,
2539,
7,
944,
11,
1994,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35561,
257,
1351,
286,
477,
262,
2316,
543,
423,
262,
7621,
1994,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1994,
25,
383,
1994,
286,
15940,
284,
2989,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
1351,
11,
3863,
6565,
11,
286,
14729,
4600,
7,
8367,
11,
4686,
8,
63,
810,
4600,
8367,
63,
318,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
422,
262,
7621,
11,
290,
4600,
312,
63,
318,
267,
5796,
4686,
286,
262,
8695,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1525,
62,
2539,
7,
944,
13,
6738,
62,
39468,
11,
1994,
8,
628,
198,
4871,
44789,
48364,
33529,
198,
220,
220,
220,
37227,
32,
35847,
422,
267,
5796,
4686,
1271,
284,
15940,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
15940,
25,
1052,
4554,
286,
1058,
4871,
25,
63,
36142,
44646,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
10139,
7,
944,
11,
267,
5796,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
357,
39363,
6565,
8,
22155,
286,
15940,
329,
262,
10139,
351,
198,
220,
220,
220,
220,
220,
220,
220,
428,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
267,
5796,
62,
312,
287,
2116,
13557,
77,
4147,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
77,
4147,
58,
418,
76,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
825,
835,
7,
944,
11,
267,
5796,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
357,
39363,
6565,
8,
22155,
286,
15940,
329,
262,
10139,
351,
198,
220,
220,
220,
220,
220,
220,
220,
428,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
267,
5796,
62,
312,
287,
2116,
13557,
1322,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
1322,
58,
418,
76,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
3419,
628,
220,
220,
220,
825,
8695,
7,
944,
11,
267,
5796,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
357,
39363,
6565,
8,
22155,
286,
15940,
329,
262,
10139,
351,
198,
220,
220,
220,
220,
220,
220,
220,
428,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
267,
5796,
62,
312,
287,
2116,
13557,
39468,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
39468,
58,
418,
76,
62,
312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
8633,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
4299,
21015,
1958,
62,
392,
62,
27729,
293,
7,
7753,
11,
503,
62,
34345,
2599,
198,
220,
220,
220,
37227,
3103,
1851,
477,
262,
1366,
287,
262,
23735,
2393,
290,
3613,
355,
2298,
992,
3696,
329,
198,
220,
220,
220,
13760,
11,
2842,
11,
2316,
290,
15940,
13869,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
17143,
2393,
25,
7066,
12453,
357,
1169,
2393,
481,
307,
4721,
604,
1661,
11,
523,
6427,
257,
2393,
198,
220,
220,
220,
220,
220,
2134,
481,
407,
670,
737,
220,
1680,
307,
1997,
543,
1058,
21412,
25,
63,
12894,
395,
63,
460,
21136,
13,
198,
220,
220,
220,
1058,
17143,
503,
62,
34345,
25,
1002,
318,
4600,
9288,
63,
788,
6797,
3696,
4600,
9288,
62,
77,
4147,
13,
16564,
13,
87,
89,
63,
198,
220,
220,
220,
220,
220,
832,
4600,
9288,
62,
31499,
13,
16564,
13,
87,
89,
63,
198,
220,
220,
220,
220,
220,
198,
220,
220,
220,
1058,
7783,
25,
317,
46545,
286,
262,
604,
5072,
1226,
268,
1047,
329,
13760,
11,
2842,
11,
2316,
198,
220,
220,
220,
220,
220,
290,
15940,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26181,
796,
399,
4147,
47,
6021,
7,
7753,
8,
198,
220,
220,
220,
503,
796,
685,
448,
62,
34345,
1343,
45434,
77,
4147,
13,
16564,
13,
87,
89,
8973,
198,
220,
220,
220,
2298,
293,
7,
26801,
11,
503,
58,
15,
12962,
198,
220,
220,
220,
329,
1259,
27768,
11,
1438,
287,
47527,
54,
592,
11,
366,
1322,
12340,
357,
47117,
11,
366,
39468,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
36142,
11,
366,
31499,
4943,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
26181,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
26181,
796,
1259,
27768,
7,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
45144,
92,
23330,
27422,
16564,
13,
87,
89,
1911,
18982,
7,
448,
62,
34345,
11,
1438,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2298,
293,
7,
26801,
11,
1438,
8,
198,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
3672,
8,
198,
220,
220,
220,
1441,
503,
198
] | 2.441274 | 3,925 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import time
from report import report_sxw
from osv import osv
import pooler
report_sxw.report_sxw('report.stock.picking.list.mh','stock.picking.out','',parser=picking, header="internal")
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
29113,
29113,
7804,
4242,
2235,
198,
2,
198,
2,
220,
220,
220,
4946,
1137,
47,
11,
4946,
8090,
8549,
28186,
198,
2,
220,
220,
220,
15069,
357,
34,
8,
5472,
12,
10333,
20443,
49068,
43,
38155,
4023,
1378,
44152,
13,
1350,
29,
737,
198,
2,
198,
2,
220,
220,
220,
770,
1430,
318,
1479,
3788,
25,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
198,
2,
220,
220,
220,
340,
739,
262,
2846,
286,
262,
22961,
6708,
3529,
3611,
5094,
13789,
355,
198,
2,
220,
220,
220,
3199,
416,
262,
3232,
10442,
5693,
11,
2035,
2196,
513,
286,
262,
198,
2,
220,
220,
220,
13789,
11,
393,
357,
265,
534,
3038,
8,
597,
1568,
2196,
13,
198,
2,
198,
2,
220,
220,
220,
770,
1430,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
198,
2,
220,
220,
220,
475,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
198,
2,
220,
220,
220,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
198,
2,
220,
220,
220,
22961,
6708,
3529,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
198,
2,
220,
220,
220,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
6708,
3529,
3611,
5094,
13789,
198,
2,
220,
220,
220,
1863,
351,
428,
1430,
13,
220,
1002,
407,
11,
766,
1279,
4023,
1378,
2503,
13,
41791,
13,
2398,
14,
677,
4541,
15913,
13,
198,
2,
198,
29113,
29113,
7804,
4242,
2235,
198,
198,
11748,
640,
198,
6738,
989,
1330,
989,
62,
82,
87,
86,
198,
6738,
267,
21370,
1330,
267,
21370,
198,
11748,
5933,
263,
198,
220,
220,
220,
220,
198,
13116,
62,
82,
87,
86,
13,
13116,
62,
82,
87,
86,
10786,
13116,
13,
13578,
13,
48864,
13,
4868,
13,
76,
71,
41707,
13578,
13,
48864,
13,
448,
41707,
3256,
48610,
28,
48864,
11,
13639,
2625,
32538,
4943,
198,
2,
43907,
25,
11201,
392,
8658,
25,
27004,
521,
298,
25,
8658,
11338,
28,
19,
25,
4215,
8658,
11338,
28,
19,
25,
30846,
10394,
28,
19,
25,
198
] | 3.426593 | 361 |
"""
In this TorchDaily we will TRAIN
A MODEL USING TRANSFER LEARNING
Cats Vs Dogs Dataset
EARLIER ACC==14% OR LESS
NOW ITS 70% AND MORE (BUT ONLY FOR DOGS )
### Cats are very poorly classified (IDK WHY but soon i will figure that out)
THE POWER OF ALEXNET (PRETRAINED MODELS IS VISIBLE)
DATE ==> 10-05-21
"""
import torch
import torch.nn as nn
from torch.utils.data import DataLoader
import matplotlib.pyplot as plt
from torchvision import transforms, datasets, models
import torchvision
from tqdm import tqdm
import os
import PIL.Image as Image
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
print(device)
# prepare data
convert = transforms.Compose(
[
transforms.Resize((128, 128)),
transforms.RandomHorizontalFlip(0.2),
transforms.ToTensor(),
]
)
# dataloader
data = datasets.ImageFolder(root="PetImages/", transform=convert)
Loader = DataLoader(data, batch_size=64, shuffle=True)
MAP = {0: "Cat", 1: "Dog"}
##UNCOMMENT FOR SEEING THE DATA IMAGES
# fig, ax = plt.subplots(8, 8, figsize=(20, 20))
# fig.suptitle("Dogs And Cats IMages")
# for i, (img, lab) in zip(range(0, 8 * 8), Loader):
# x = i // 8
# y = i % 8
# print(f"{x},{y}")
# ax[x, y].imshow(img[i].squeeze().permute(1,2,0))
# ax[x, y].set_title(f"{lab[i]}")
# ax[x, y].axis("off")
# plt.show()
# # Add on classifier
# # HOW TO CHANGE THE INPUT LAYER WHICH ACCEPTS THE 224*224 INPUT
# # I WANNA CHANGE THAT TO 128*128 THIS SIZE WILL SUFFICE
# We Use AlexNet for transfer learning
##answers below
alexnet = torchvision.models.alexnet(pretrained=True)
for param in alexnet.parameters():
param.requires_grad = False
# Add a avgpool here
avgpool = nn.AdaptiveAvgPool2d((7, 7))
# Replace the classifier layer
# to customise it according to our output
alexnet.classifier = nn.Sequential(
nn.Linear(256 * 7 * 7, 1024),
nn.Linear(1024, 256),
nn.Linear(256, 2),
)
# putting model in a training mode
alexnet.train()
print(alexnet)
criterion = nn.CrossEntropyLoss()
optimizer = torch.optim.Adam(alexnet.parameters(), lr=0.001)
EPOCHS = 1
TRAIN = False
losses = []
if TRAIN:
training_loop(alexnet, optimizer, EPOCHS)
plt.plot(losses)
plt.show()
TEST = False
history = []
if TEST:
test()
print("Validation Complete")
with open("ModelHistory.txt", "w") as f:
for i in history:
f.writelines(f"{i}")
print("Validation Complete")
## This model reported a accuracy of 97%(on DOGS ONLY) using AlexNet
## the Pros of using a pretrained model is clearly seen here
## date -- 13th May 2021 (thursday)
####ACCURACY AND OTHER THINGS TOO TO BE APPENDED SOON ######
PREDICT = True
def predict(model, test_image_name):
"""
Function to predict the class of a single test image
Parameters
:param model: Model to test
:param test_image_name: Test image
"""
transform = transforms.Compose(
[transforms.Resize((128, 128)), transforms.ToTensor()]
)
test_image = Image.open(test_image_name)
test_image_tensor = transform(test_image).to(device)
plt.imshow(test_image)
plt.imshow(test_image_tensor.squeeze().permute(1, 2, 0))
plt.show()
with torch.no_grad():
model.eval()
# Model outputs log probabilities
test_image_tensor = test_image_tensor.unsqueeze(0)
print(test_image_tensor.shape)
x = alexnet.features(test_image_tensor)
x = avgpool(x)
x = x.view(-1, 256 * 7 * 7)
out = alexnet.classifier(x)
ps = torch.exp(out)
topk, topclass = ps.topk(2, dim=1)
for i in range(2):
print(
"Predcition",
i + 1,
":",
f"topclass {topclass.numpy()}",
MAP[topclass.numpy()[0][i]],
", Score: ",
f"topk {topk.numpy()}",
topk.numpy()[0][i],
)
print(f"out: {out}")
if PREDICT:
checkpoint = torch.load("catsvdogs.pth")
alexnet.load_state_dict(checkpoint["state_dict"])
optimizer.load_state_dict(checkpoint["optimizer"])
for params in alexnet.parameters():
params.requires_grad == False
predict(alexnet, "PetTest/CatTest.jpg")
| [
37811,
201,
198,
818,
428,
34868,
28545,
356,
481,
29125,
1268,
201,
198,
32,
19164,
3698,
1294,
2751,
44069,
24302,
12509,
1503,
15871,
201,
198,
34,
1381,
31280,
21367,
16092,
292,
316,
220,
220,
220,
220,
201,
198,
201,
198,
17133,
31271,
1137,
15859,
855,
1415,
4,
6375,
406,
7597,
201,
198,
45669,
42437,
4317,
4,
5357,
12011,
357,
47526,
22224,
7473,
360,
7730,
50,
1267,
201,
198,
201,
198,
21017,
28997,
389,
845,
13455,
10090,
357,
2389,
42,
44463,
475,
2582,
1312,
481,
3785,
326,
503,
8,
201,
198,
10970,
40295,
3963,
32318,
55,
12884,
357,
47,
26087,
3861,
1268,
1961,
19164,
37142,
3180,
50035,
34563,
8,
220,
201,
198,
35,
6158,
6624,
29,
838,
12,
2713,
12,
2481,
201,
198,
37811,
201,
198,
11748,
28034,
201,
198,
11748,
28034,
13,
20471,
355,
299,
77,
201,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
201,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
201,
198,
6738,
28034,
10178,
1330,
31408,
11,
40522,
11,
4981,
201,
198,
11748,
28034,
10178,
201,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
201,
198,
11748,
28686,
201,
198,
11748,
350,
4146,
13,
5159,
355,
7412,
201,
198,
201,
198,
25202,
796,
28034,
13,
25202,
7203,
66,
15339,
1,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
366,
36166,
4943,
201,
198,
4798,
7,
25202,
8,
201,
198,
2,
8335,
1366,
201,
198,
1102,
1851,
796,
31408,
13,
7293,
577,
7,
201,
198,
220,
220,
220,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
4965,
1096,
19510,
12762,
11,
13108,
36911,
201,
198,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
29531,
27991,
38342,
7414,
541,
7,
15,
13,
17,
828,
201,
198,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
2514,
51,
22854,
22784,
201,
198,
220,
220,
220,
2361,
201,
198,
8,
201,
198,
201,
198,
2,
4818,
282,
1170,
263,
201,
198,
201,
198,
7890,
796,
40522,
13,
5159,
41092,
7,
15763,
2625,
25803,
29398,
14,
1600,
6121,
28,
1102,
1851,
8,
201,
198,
17401,
796,
6060,
17401,
7,
7890,
11,
15458,
62,
7857,
28,
2414,
11,
36273,
28,
17821,
8,
201,
198,
201,
198,
33767,
796,
1391,
15,
25,
366,
21979,
1600,
352,
25,
366,
32942,
20662,
201,
198,
201,
198,
2235,
4944,
9858,
10979,
7473,
31107,
2751,
3336,
42865,
45325,
201,
198,
2,
2336,
11,
7877,
796,
458,
83,
13,
7266,
489,
1747,
7,
23,
11,
807,
11,
2336,
7857,
16193,
1238,
11,
1160,
4008,
201,
198,
2,
2336,
13,
2385,
457,
2578,
7203,
35,
18463,
843,
28997,
8959,
1095,
4943,
201,
198,
201,
198,
2,
329,
1312,
11,
357,
9600,
11,
2248,
8,
287,
19974,
7,
9521,
7,
15,
11,
807,
1635,
807,
828,
8778,
263,
2599,
201,
198,
2,
220,
220,
220,
220,
2124,
796,
1312,
3373,
807,
201,
198,
2,
220,
220,
220,
220,
331,
796,
1312,
4064,
807,
201,
198,
2,
220,
220,
220,
220,
3601,
7,
69,
1,
90,
87,
5512,
90,
88,
92,
4943,
201,
198,
2,
220,
220,
220,
220,
7877,
58,
87,
11,
331,
4083,
320,
12860,
7,
9600,
58,
72,
4083,
16485,
1453,
2736,
22446,
16321,
1133,
7,
16,
11,
17,
11,
15,
4008,
201,
198,
2,
220,
220,
220,
220,
7877,
58,
87,
11,
331,
4083,
2617,
62,
7839,
7,
69,
1,
90,
23912,
58,
72,
48999,
4943,
201,
198,
2,
220,
220,
220,
220,
7877,
58,
87,
11,
331,
4083,
22704,
7203,
2364,
4943,
201,
198,
2,
458,
83,
13,
12860,
3419,
201,
198,
201,
198,
2,
1303,
3060,
319,
1398,
7483,
201,
198,
2,
1303,
29630,
5390,
5870,
27746,
3336,
3268,
30076,
406,
4792,
1137,
7655,
20739,
15859,
8905,
4694,
3336,
26063,
9,
24137,
3268,
30076,
201,
198,
2,
1303,
314,
370,
1565,
4535,
5870,
27746,
14603,
5390,
13108,
9,
12762,
12680,
311,
35400,
17682,
13558,
5777,
8476,
201,
198,
2,
775,
5765,
4422,
7934,
329,
4351,
4673,
201,
198,
2235,
504,
86,
364,
2174,
201,
198,
201,
198,
1000,
87,
3262,
796,
28034,
10178,
13,
27530,
13,
1000,
87,
3262,
7,
5310,
13363,
28,
17821,
8,
201,
198,
1640,
5772,
287,
257,
2588,
3262,
13,
17143,
7307,
33529,
201,
198,
220,
220,
220,
5772,
13,
47911,
62,
9744,
796,
10352,
201,
198,
201,
198,
2,
3060,
257,
42781,
7742,
994,
201,
198,
615,
70,
7742,
796,
299,
77,
13,
48003,
425,
48997,
27201,
17,
67,
19510,
22,
11,
767,
4008,
201,
198,
201,
198,
2,
40177,
262,
1398,
7483,
7679,
201,
198,
2,
284,
2183,
786,
340,
1864,
284,
674,
5072,
201,
198,
1000,
87,
3262,
13,
4871,
7483,
796,
299,
77,
13,
44015,
1843,
7,
201,
198,
220,
220,
220,
299,
77,
13,
14993,
451,
7,
11645,
1635,
767,
1635,
767,
11,
28119,
828,
201,
198,
220,
220,
220,
299,
77,
13,
14993,
451,
7,
35500,
11,
17759,
828,
201,
198,
220,
220,
220,
299,
77,
13,
14993,
451,
7,
11645,
11,
362,
828,
201,
198,
8,
201,
198,
2,
5137,
2746,
287,
257,
3047,
4235,
201,
198,
1000,
87,
3262,
13,
27432,
3419,
201,
198,
201,
198,
4798,
7,
1000,
87,
3262,
8,
201,
198,
22213,
28019,
796,
299,
77,
13,
21544,
14539,
28338,
43,
793,
3419,
201,
198,
40085,
7509,
796,
28034,
13,
40085,
13,
23159,
7,
1000,
87,
3262,
13,
17143,
7307,
22784,
300,
81,
28,
15,
13,
8298,
8,
201,
198,
8905,
46,
3398,
50,
796,
352,
201,
198,
201,
198,
51,
3861,
1268,
796,
10352,
201,
198,
22462,
274,
796,
17635,
201,
198,
201,
198,
201,
198,
201,
198,
361,
29125,
1268,
25,
201,
198,
220,
220,
220,
3047,
62,
26268,
7,
1000,
87,
3262,
11,
6436,
7509,
11,
14724,
46,
3398,
50,
8,
201,
198,
220,
220,
220,
458,
83,
13,
29487,
7,
22462,
274,
8,
201,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
201,
198,
201,
198,
201,
198,
51,
6465,
796,
10352,
201,
198,
201,
198,
23569,
796,
17635,
201,
198,
201,
198,
201,
198,
201,
198,
361,
43001,
25,
201,
198,
220,
220,
220,
1332,
3419,
201,
198,
220,
220,
220,
3601,
7203,
7762,
24765,
13248,
4943,
201,
198,
220,
220,
220,
351,
1280,
7203,
17633,
18122,
13,
14116,
1600,
366,
86,
4943,
355,
277,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2106,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
8933,
20655,
7,
69,
1,
90,
72,
92,
4943,
201,
198,
220,
220,
220,
3601,
7203,
7762,
24765,
13248,
4943,
201,
198,
201,
198,
2235,
770,
2746,
2098,
257,
9922,
286,
10111,
4,
7,
261,
360,
7730,
50,
22224,
8,
1262,
4422,
7934,
201,
198,
2235,
262,
27631,
286,
1262,
257,
2181,
13363,
2746,
318,
4084,
1775,
994,
201,
198,
2235,
3128,
1377,
1511,
400,
1737,
33448,
357,
400,
3479,
8,
201,
198,
4242,
26861,
4261,
43300,
5357,
25401,
2320,
20754,
5390,
46,
5390,
9348,
43504,
49361,
12809,
1340,
46424,
2,
201,
198,
201,
198,
201,
198,
4805,
1961,
18379,
796,
6407,
201,
198,
201,
198,
201,
198,
4299,
4331,
7,
19849,
11,
1332,
62,
9060,
62,
3672,
2599,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
15553,
284,
4331,
262,
1398,
286,
257,
2060,
1332,
2939,
201,
198,
220,
220,
220,
40117,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2746,
25,
9104,
284,
1332,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
1332,
62,
9060,
62,
3672,
25,
6208,
2939,
201,
198,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
6121,
796,
31408,
13,
7293,
577,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
685,
7645,
23914,
13,
4965,
1096,
19510,
12762,
11,
13108,
36911,
31408,
13,
2514,
51,
22854,
3419,
60,
201,
198,
220,
220,
220,
1267,
201,
198,
220,
220,
220,
1332,
62,
9060,
796,
7412,
13,
9654,
7,
9288,
62,
9060,
62,
3672,
8,
201,
198,
220,
220,
220,
1332,
62,
9060,
62,
83,
22854,
796,
6121,
7,
9288,
62,
9060,
737,
1462,
7,
25202,
8,
201,
198,
220,
220,
220,
458,
83,
13,
320,
12860,
7,
9288,
62,
9060,
8,
201,
198,
220,
220,
220,
458,
83,
13,
320,
12860,
7,
9288,
62,
9060,
62,
83,
22854,
13,
16485,
1453,
2736,
22446,
16321,
1133,
7,
16,
11,
362,
11,
657,
4008,
201,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
201,
198,
201,
198,
220,
220,
220,
351,
28034,
13,
3919,
62,
9744,
33529,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
18206,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9104,
23862,
2604,
39522,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
9060,
62,
83,
22854,
796,
1332,
62,
9060,
62,
83,
22854,
13,
13271,
421,
1453,
2736,
7,
15,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
9288,
62,
9060,
62,
83,
22854,
13,
43358,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
257,
2588,
3262,
13,
40890,
7,
9288,
62,
9060,
62,
83,
22854,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
42781,
7742,
7,
87,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
2124,
796,
2124,
13,
1177,
32590,
16,
11,
17759,
1635,
767,
1635,
767,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
503,
796,
257,
2588,
3262,
13,
4871,
7483,
7,
87,
8,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
796,
28034,
13,
11201,
7,
448,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1353,
74,
11,
1353,
4871,
796,
26692,
13,
4852,
74,
7,
17,
11,
5391,
28,
16,
8,
201,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
17,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
39156,
66,
653,
1600,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
1343,
352,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
25,
1600,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
4852,
4871,
1391,
4852,
4871,
13,
77,
32152,
3419,
92,
1600,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
34645,
58,
4852,
4871,
13,
77,
32152,
3419,
58,
15,
7131,
72,
60,
4357,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33172,
15178,
25,
33172,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
1,
4852,
74,
1391,
4852,
74,
13,
77,
32152,
3419,
92,
1600,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1353,
74,
13,
77,
32152,
3419,
58,
15,
7131,
72,
4357,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
201,
198,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
448,
25,
1391,
448,
92,
4943,
201,
198,
201,
198,
201,
198,
361,
4810,
1961,
18379,
25,
201,
198,
220,
220,
220,
26954,
796,
28034,
13,
2220,
7203,
24619,
85,
22242,
13,
79,
400,
4943,
201,
198,
220,
220,
220,
257,
2588,
3262,
13,
2220,
62,
5219,
62,
11600,
7,
9122,
4122,
14692,
5219,
62,
11600,
8973,
8,
201,
198,
220,
220,
220,
6436,
7509,
13,
2220,
62,
5219,
62,
11600,
7,
9122,
4122,
14692,
40085,
7509,
8973,
8,
201,
198,
220,
220,
220,
329,
42287,
287,
257,
2588,
3262,
13,
17143,
7307,
33529,
201,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
13,
47911,
62,
9744,
6624,
10352,
201,
198,
220,
220,
220,
4331,
7,
1000,
87,
3262,
11,
366,
25803,
14402,
14,
21979,
14402,
13,
9479,
4943,
201,
198
] | 2.202387 | 2,011 |
# -*- coding: utf-8 -*-
# @Time : 2021/12/27 16:34
# @Author : LIU YI
import argparse
import copy
import random
import pandas as pd
import numpy as np
import os
import torch
import torch.nn as nn
from torch.autograd import Variable
from torchvision import datasets, transforms
import wandb
# from models import *
import models
import wandb
# os.environ['CUDA_VISIBLE_DEVICES'] = '4'
from model_complexity import get_model_infos
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='PyTorch Slimming CIFAR prune')
parser.add_argument('--dataset', type=str, default='cifar100',
help='training dataset (default: cifar10)')
parser.add_argument('--test-batch-size', type=int, default=128, metavar='N',
help='input batch size for testing (default: 256)')
parser.add_argument('--no-cuda', action='store_true', default=False,
help='disables CUDA training')
parser.add_argument('--depth', type=int, default=16,
help='depth of the vgg')
parser.add_argument('--percent', type=float, default=0.5,
help='scale sparse rate (default: 0.5)')
parser.add_argument('--model', default='', type=str, metavar='PATH',
help='path to the model (default: none)')
parser.add_argument('--save', default='./baseline/vgg16-cifar100', type=str, metavar='PATH',
help='path to save pruned model (default: none)')
parser.add_argument('--save_1', default='./baseline/vgg16-cifar100', type=str, metavar='PATH',
help='path to save pruned model (default: none)')
parser.add_argument('--start_epoch', default=1, type=int, metavar='N', help='manual start epoch number')
parser.add_argument('--end_epoch', default=160, type=int, metavar='N', help='manual end epoch number')
# quantized parameters
parser.add_argument('--bits_A', default=8, type=int, help='input quantization bits')
parser.add_argument('--bits_W', default=8, type=int, help='weight quantization bits')
parser.add_argument('--bits_G', default=8, type=int, help='gradient quantization bits')
parser.add_argument('--bits_E', default=8, type=int, help='error quantization bits')
parser.add_argument('--bits_R', default=16, type=int, help='rand number quantization bits')
parser.add_argument('--arch', default='vgg', type=str,
help='architecture to use')
# multi-gpus
parser.add_argument('--gpu_ids', type=str, default='0', help='gpu ids: e.g. 0 0,1,2, 0,2. use -1 for CPU')
args = parser.parse_args()
args.cuda = not args.no_cuda and torch.cuda.is_available()
seed = 1
random.seed(seed)
np.random.seed(seed)
torch.manual_seed(seed)
if not os.path.exists(args.save):
os.makedirs(args.save)
gpu = args.gpu_ids
gpu_ids = args.gpu_ids.split(',')
args.gpu_ids = []
for gpu_id in gpu_ids:
id = int(gpu_id)
if id > 0:
args.gpu_ids.append(id)
if len(args.gpu_ids) > 0:
torch.cuda.set_device(args.gpu_ids[0])
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
if args.arch.endswith('lp'):
# model = models.__dict__[args.arch](bits_A=args.bits_A, bits_E=args.bits_E, bits_W=args.bits_W, dataset=args.dataset, depth=args.depth)
model = models.__dict__[args.arch](8, 8, 32, dataset=args.dataset, depth=args.depth)
elif args.dataset == 'imagenet':
model = models.__dict__[args.arch](pretrained=False)
if len(args.gpu_ids) > 1:
model = torch.nn.DataParallel(model, device_ids=args.gpu_ids)
else:
model = models.__dict__[args.arch](dataset=args.dataset, depth=args.depth)
if args.dataset == 'cifar10':
train_loader = torch.utils.data.DataLoader(
datasets.CIFAR10('./data.cifar10', train=True, download=True,
transform=transforms.Compose([
transforms.Pad(4),
transforms.RandomCrop(32),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))
])),
batch_size=args.test_batch_size, shuffle=True)
test_loader = torch.utils.data.DataLoader(
datasets.CIFAR10('./data.cifar10', train=False, transform=transforms.Compose([
transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))
])),
batch_size=args.test_batch_size, shuffle=True)
else:
train_loader = torch.utils.data.DataLoader(
datasets.CIFAR100('./data.cifar100', train=True, download=True,
transform=transforms.Compose([
transforms.Pad(4),
transforms.RandomCrop(32),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))
])),
batch_size=args.test_batch_size, shuffle=True)
test_loader = torch.utils.data.DataLoader(
datasets.CIFAR100('./data.cifar100', train=False, transform=transforms.Compose([
transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))
])),
batch_size=args.test_batch_size, shuffle=True)
if args.cuda:
model.cuda()
wandb_project = 'pruning_score'
name = 'with_out_normalization_60'
# wandb.init(project=wandb_project, name=name)
#
# random_search(cfg_mask_all, args.percent)
# channel_score_search(model, args.percent, train_loader)
# greedy_search(model, args.percent, train_loader)
# layer_remove_check(model, train_loader)
# rate_check(model, args.percent, train_loader)
channel_remove_check(model, train_loader, 0.61, 0.2)
# layer_wise_pruning(model, train_loader, 0.8)
#
# data = np.load('1633.66.npy', allow_pickle=True)
# data = data.item()
# cfg = data['cfg']
# cfg_mask = data['mask_cfg']
# for i in range(len(cfg_mask)):
# cfg_mask[i] = np.asarray(cfg_mask[i].cpu().numpy())
# score = check_score(model, cfg, cfg_mask)
# print(score)
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
2488,
7575,
220,
220,
220,
1058,
33448,
14,
1065,
14,
1983,
1467,
25,
2682,
198,
2,
2488,
13838,
220,
1058,
24653,
52,
575,
40,
198,
198,
11748,
1822,
29572,
198,
11748,
4866,
198,
11748,
4738,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
28686,
198,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
6738,
28034,
13,
2306,
519,
6335,
1330,
35748,
198,
6738,
28034,
10178,
1330,
40522,
11,
31408,
198,
11748,
11569,
65,
198,
2,
422,
4981,
1330,
1635,
198,
11748,
4981,
198,
11748,
11569,
65,
198,
2,
28686,
13,
268,
2268,
17816,
43633,
5631,
62,
29817,
34563,
62,
39345,
34444,
20520,
796,
705,
19,
6,
198,
6738,
2746,
62,
41887,
414,
1330,
651,
62,
19849,
62,
10745,
418,
628,
628,
628,
628,
628,
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,
20519,
15884,
354,
34199,
2229,
327,
5064,
1503,
778,
1726,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
19608,
292,
316,
3256,
2099,
28,
2536,
11,
4277,
11639,
66,
361,
283,
3064,
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,
34409,
27039,
357,
12286,
25,
269,
361,
283,
940,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9288,
12,
43501,
12,
7857,
3256,
2099,
28,
600,
11,
4277,
28,
12762,
11,
1138,
615,
283,
11639,
45,
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,
15414,
15458,
2546,
329,
4856,
357,
12286,
25,
17759,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
3919,
12,
66,
15339,
3256,
2223,
11639,
8095,
62,
7942,
3256,
4277,
28,
25101,
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,
6381,
2977,
29369,
5631,
3047,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
18053,
3256,
2099,
28,
600,
11,
4277,
28,
1433,
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,
18053,
286,
262,
410,
1130,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
25067,
3256,
2099,
28,
22468,
11,
4277,
28,
15,
13,
20,
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,
9888,
29877,
2494,
357,
12286,
25,
657,
13,
20,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
19849,
3256,
4277,
11639,
3256,
2099,
28,
2536,
11,
1138,
615,
283,
11639,
34219,
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,
6978,
284,
262,
2746,
357,
12286,
25,
4844,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
21928,
3256,
4277,
28,
4458,
14,
12093,
4470,
14,
85,
1130,
1433,
12,
66,
361,
283,
3064,
3256,
2099,
28,
2536,
11,
1138,
615,
283,
11639,
34219,
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,
6978,
284,
3613,
778,
40881,
2746,
357,
12286,
25,
4844,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
21928,
62,
16,
3256,
4277,
28,
4458,
14,
12093,
4470,
14,
85,
1130,
1433,
12,
66,
361,
283,
3064,
3256,
2099,
28,
2536,
11,
1138,
615,
283,
11639,
34219,
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,
6978,
284,
3613,
778,
40881,
2746,
357,
12286,
25,
4844,
8,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9688,
62,
538,
5374,
3256,
4277,
28,
16,
11,
2099,
28,
600,
11,
1138,
615,
283,
11639,
45,
3256,
1037,
11639,
805,
723,
923,
36835,
1271,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
437,
62,
538,
5374,
3256,
4277,
28,
14198,
11,
2099,
28,
600,
11,
1138,
615,
283,
11639,
45,
3256,
1037,
11639,
805,
723,
886,
36835,
1271,
11537,
628,
220,
220,
220,
1303,
5554,
1143,
10007,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9895,
62,
32,
3256,
4277,
28,
23,
11,
2099,
28,
600,
11,
1037,
11639,
15414,
5554,
1634,
10340,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9895,
62,
54,
3256,
4277,
28,
23,
11,
2099,
28,
600,
11,
1037,
11639,
6551,
5554,
1634,
10340,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9895,
62,
38,
3256,
4277,
28,
23,
11,
2099,
28,
600,
11,
1037,
11639,
49607,
5554,
1634,
10340,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9895,
62,
36,
3256,
4277,
28,
23,
11,
2099,
28,
600,
11,
1037,
11639,
18224,
5554,
1634,
10340,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9895,
62,
49,
3256,
4277,
28,
1433,
11,
2099,
28,
600,
11,
1037,
11639,
25192,
1271,
5554,
1634,
10340,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
998,
3256,
4277,
11639,
85,
1130,
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,
1037,
11639,
998,
5712,
495,
284,
779,
11537,
198,
220,
220,
220,
1303,
5021,
12,
31197,
385,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
46999,
62,
2340,
3256,
2099,
28,
2536,
11,
4277,
11639,
15,
3256,
1037,
11639,
46999,
220,
2340,
25,
304,
13,
70,
13,
657,
220,
657,
11,
16,
11,
17,
11,
657,
11,
17,
13,
779,
532,
16,
329,
9135,
11537,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
26498,
13,
66,
15339,
796,
407,
26498,
13,
3919,
62,
66,
15339,
290,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
198,
220,
220,
220,
9403,
796,
352,
198,
220,
220,
220,
4738,
13,
28826,
7,
28826,
8,
198,
220,
220,
220,
45941,
13,
25120,
13,
28826,
7,
28826,
8,
198,
220,
220,
220,
28034,
13,
805,
723,
62,
28826,
7,
28826,
8,
198,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
1069,
1023,
7,
22046,
13,
21928,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
76,
4335,
17062,
7,
22046,
13,
21928,
8,
628,
220,
220,
220,
308,
19944,
796,
26498,
13,
46999,
62,
2340,
198,
220,
220,
220,
308,
19944,
62,
2340,
796,
26498,
13,
46999,
62,
2340,
13,
35312,
7,
3256,
11537,
198,
220,
220,
220,
26498,
13,
46999,
62,
2340,
796,
17635,
198,
220,
220,
220,
329,
308,
19944,
62,
312,
287,
308,
19944,
62,
2340,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
796,
493,
7,
46999,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4686,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
46999,
62,
2340,
13,
33295,
7,
312,
8,
198,
220,
220,
220,
611,
18896,
7,
22046,
13,
46999,
62,
2340,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
28034,
13,
66,
15339,
13,
2617,
62,
25202,
7,
22046,
13,
46999,
62,
2340,
58,
15,
12962,
628,
220,
220,
220,
3335,
796,
28034,
13,
25202,
7203,
66,
15339,
1,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
366,
36166,
4943,
628,
220,
220,
220,
611,
26498,
13,
998,
13,
437,
2032,
342,
10786,
34431,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2746,
796,
4981,
13,
834,
11600,
834,
58,
22046,
13,
998,
16151,
9895,
62,
32,
28,
22046,
13,
9895,
62,
32,
11,
10340,
62,
36,
28,
22046,
13,
9895,
62,
36,
11,
10340,
62,
54,
28,
22046,
13,
9895,
62,
54,
11,
27039,
28,
22046,
13,
19608,
292,
316,
11,
6795,
28,
22046,
13,
18053,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
4981,
13,
834,
11600,
834,
58,
22046,
13,
998,
16151,
23,
11,
807,
11,
3933,
11,
27039,
28,
22046,
13,
19608,
292,
316,
11,
6795,
28,
22046,
13,
18053,
8,
198,
220,
220,
220,
1288,
361,
26498,
13,
19608,
292,
316,
6624,
705,
320,
11286,
316,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
4981,
13,
834,
11600,
834,
58,
22046,
13,
998,
16151,
5310,
13363,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
22046,
13,
46999,
62,
2340,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
28034,
13,
20471,
13,
6601,
10044,
29363,
7,
19849,
11,
3335,
62,
2340,
28,
22046,
13,
46999,
62,
2340,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
4981,
13,
834,
11600,
834,
58,
22046,
13,
998,
16151,
19608,
292,
316,
28,
22046,
13,
19608,
292,
316,
11,
6795,
28,
22046,
13,
18053,
8,
628,
220,
220,
220,
611,
26498,
13,
19608,
292,
316,
6624,
705,
66,
361,
283,
940,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
29356,
796,
28034,
13,
26791,
13,
7890,
13,
6601,
17401,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40522,
13,
34,
5064,
1503,
940,
7,
4458,
14,
7890,
13,
66,
361,
283,
940,
3256,
4512,
28,
17821,
11,
4321,
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,
6121,
28,
7645,
23914,
13,
7293,
577,
26933,
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,
31408,
13,
26114,
7,
19,
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,
31408,
13,
29531,
34,
1773,
7,
2624,
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,
31408,
13,
29531,
27991,
38342,
7414,
541,
22784,
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,
31408,
13,
2514,
51,
22854,
22784,
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,
31408,
13,
26447,
1096,
19510,
15,
13,
2920,
1415,
11,
657,
13,
2780,
1828,
11,
657,
13,
2598,
2996,
828,
357,
15,
13,
1238,
1954,
11,
657,
13,
22666,
11,
657,
13,
10333,
4008,
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,
33761,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
22046,
13,
9288,
62,
43501,
62,
7857,
11,
36273,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
29356,
796,
28034,
13,
26791,
13,
7890,
13,
6601,
17401,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40522,
13,
34,
5064,
1503,
940,
7,
4458,
14,
7890,
13,
66,
361,
283,
940,
3256,
4512,
28,
25101,
11,
6121,
28,
7645,
23914,
13,
7293,
577,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
2514,
51,
22854,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
26447,
1096,
19510,
15,
13,
2920,
1415,
11,
657,
13,
2780,
1828,
11,
657,
13,
2598,
2996,
828,
357,
15,
13,
1238,
1954,
11,
657,
13,
22666,
11,
657,
13,
10333,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33761,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
22046,
13,
9288,
62,
43501,
62,
7857,
11,
36273,
28,
17821,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
29356,
796,
28034,
13,
26791,
13,
7890,
13,
6601,
17401,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40522,
13,
34,
5064,
1503,
3064,
7,
4458,
14,
7890,
13,
66,
361,
283,
3064,
3256,
4512,
28,
17821,
11,
4321,
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,
6121,
28,
7645,
23914,
13,
7293,
577,
26933,
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,
31408,
13,
26114,
7,
19,
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,
31408,
13,
29531,
34,
1773,
7,
2624,
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,
31408,
13,
29531,
27991,
38342,
7414,
541,
22784,
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,
31408,
13,
2514,
51,
22854,
22784,
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,
31408,
13,
26447,
1096,
19510,
15,
13,
2920,
1415,
11,
657,
13,
2780,
1828,
11,
657,
13,
2598,
2996,
828,
357,
15,
13,
1238,
1954,
11,
657,
13,
22666,
11,
657,
13,
10333,
4008,
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,
33761,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
22046,
13,
9288,
62,
43501,
62,
7857,
11,
36273,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
29356,
796,
28034,
13,
26791,
13,
7890,
13,
6601,
17401,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
40522,
13,
34,
5064,
1503,
3064,
7,
4458,
14,
7890,
13,
66,
361,
283,
3064,
3256,
4512,
28,
25101,
11,
6121,
28,
7645,
23914,
13,
7293,
577,
26933,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
2514,
51,
22854,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31408,
13,
26447,
1096,
19510,
15,
13,
2920,
1415,
11,
657,
13,
2780,
1828,
11,
657,
13,
2598,
2996,
828,
357,
15,
13,
1238,
1954,
11,
657,
13,
22666,
11,
657,
13,
10333,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33761,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
22046,
13,
9288,
62,
43501,
62,
7857,
11,
36273,
28,
17821,
8,
628,
220,
220,
220,
611,
26498,
13,
66,
15339,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
13,
66,
15339,
3419,
628,
198,
220,
220,
220,
11569,
65,
62,
16302,
796,
705,
1050,
46493,
62,
26675,
6,
198,
220,
220,
220,
1438,
796,
705,
4480,
62,
448,
62,
11265,
1634,
62,
1899,
6,
198,
220,
220,
220,
1303,
11569,
65,
13,
15003,
7,
16302,
28,
86,
392,
65,
62,
16302,
11,
1438,
28,
3672,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
4738,
62,
12947,
7,
37581,
62,
27932,
62,
439,
11,
26498,
13,
25067,
8,
198,
220,
220,
220,
1303,
6518,
62,
26675,
62,
12947,
7,
19849,
11,
26498,
13,
25067,
11,
4512,
62,
29356,
8,
198,
220,
220,
220,
1303,
31828,
62,
12947,
7,
19849,
11,
26498,
13,
25067,
11,
4512,
62,
29356,
8,
198,
220,
220,
220,
1303,
7679,
62,
28956,
62,
9122,
7,
19849,
11,
4512,
62,
29356,
8,
198,
220,
220,
220,
1303,
2494,
62,
9122,
7,
19849,
11,
26498,
13,
25067,
11,
4512,
62,
29356,
8,
198,
220,
220,
220,
6518,
62,
28956,
62,
9122,
7,
19849,
11,
4512,
62,
29356,
11,
657,
13,
5333,
11,
657,
13,
17,
8,
198,
220,
220,
220,
1303,
7679,
62,
3083,
62,
1050,
46493,
7,
19849,
11,
4512,
62,
29356,
11,
657,
13,
23,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
1366,
796,
45941,
13,
2220,
10786,
1433,
2091,
13,
2791,
13,
77,
9078,
3256,
1249,
62,
27729,
293,
28,
17821,
8,
198,
220,
220,
220,
1303,
1366,
796,
1366,
13,
9186,
3419,
198,
220,
220,
220,
1303,
30218,
70,
796,
1366,
17816,
37581,
20520,
198,
220,
220,
220,
1303,
30218,
70,
62,
27932,
796,
1366,
17816,
27932,
62,
37581,
20520,
198,
220,
220,
220,
1303,
329,
1312,
287,
2837,
7,
11925,
7,
37581,
62,
27932,
8,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
30218,
70,
62,
27932,
58,
72,
60,
796,
45941,
13,
292,
18747,
7,
37581,
62,
27932,
58,
72,
4083,
36166,
22446,
77,
32152,
28955,
198,
220,
220,
220,
1303,
4776,
796,
2198,
62,
26675,
7,
19849,
11,
30218,
70,
11,
30218,
70,
62,
27932,
8,
198,
220,
220,
220,
1303,
3601,
7,
26675,
8,
628
] | 2.127482 | 3,122 |
"""Config data for cmdb UI."""
SOUNDWAVE_API = "http://soundwave-api/v2/"
SOUNDWAVE_HOST = "0.0.0.0"
SOUNDWAVE_PORT = 80
SOUNDWAVE_LOG_PATH = "/var/log/soundwave_ui/"
SOUNDWAVE_ACCESS_LOG = "access.log"
SOUNDWAVE_APP_LOG = "info.log"
| [
37811,
16934,
1366,
329,
23991,
65,
12454,
526,
15931,
198,
50,
15919,
15543,
6089,
62,
17614,
796,
366,
4023,
1378,
23661,
19204,
12,
15042,
14,
85,
17,
30487,
198,
50,
15919,
15543,
6089,
62,
39,
10892,
796,
366,
15,
13,
15,
13,
15,
13,
15,
1,
198,
50,
15919,
15543,
6089,
62,
15490,
796,
4019,
198,
50,
15919,
15543,
6089,
62,
25294,
62,
34219,
796,
12813,
7785,
14,
6404,
14,
23661,
19204,
62,
9019,
30487,
198,
50,
15919,
15543,
6089,
62,
26861,
7597,
62,
25294,
796,
366,
15526,
13,
6404,
1,
198,
50,
15919,
15543,
6089,
62,
24805,
62,
25294,
796,
366,
10951,
13,
6404,
1,
198
] | 2.186916 | 107 |
import os
django_secret = os.getenv('DJANGO_SECRET_KEY', 'l0cAl-t3st*')
django_is_debug_activated = os.getenv('DJANGO_DEBUG', 'False').lower() == 'true'
django_relative_path_for_static_file = os.getenv('DJANGO_STATIC_PATH', './public/static')
auth0_client_id = os.getenv('AUTH0_CLIENT_ID')
auth0_client_secret = os.getenv('AUTH0_CLIENT_SECRET')
# POSTGRESQL_ADDON -> env variables in CleverCloud
database = {
'name': os.getenv('POSTGRESQL_ADDON_DB', os.getenv('PG_DB', '')),
'user': os.getenv('POSTGRESQL_ADDON_USER', os.getenv('PG_USER', '')),
'password': os.getenv('POSTGRESQL_ADDON_PASSWORD', os.getenv('PG_PWD', '')),
'host': os.getenv('POSTGRESQL_ADDON_HOST', os.getenv('PG_HOST', '')),
'port': os.getenv('POSTGRESQL_ADDON_PORT', os.getenv('PG_PORT', '')),
} | [
11748,
28686,
198,
198,
28241,
14208,
62,
21078,
796,
28686,
13,
1136,
24330,
10786,
35028,
1565,
11230,
62,
23683,
26087,
62,
20373,
3256,
705,
75,
15,
66,
2348,
12,
83,
18,
301,
9,
11537,
198,
28241,
14208,
62,
271,
62,
24442,
62,
33106,
796,
28686,
13,
1136,
24330,
10786,
35028,
1565,
11230,
62,
30531,
3256,
705,
25101,
27691,
21037,
3419,
6624,
705,
7942,
6,
198,
28241,
14208,
62,
43762,
62,
6978,
62,
1640,
62,
12708,
62,
7753,
796,
28686,
13,
1136,
24330,
10786,
35028,
1565,
11230,
62,
35744,
2149,
62,
34219,
3256,
705,
19571,
11377,
14,
12708,
11537,
198,
198,
18439,
15,
62,
16366,
62,
312,
796,
28686,
13,
1136,
24330,
10786,
32,
24318,
15,
62,
5097,
28495,
62,
2389,
11537,
198,
18439,
15,
62,
16366,
62,
21078,
796,
28686,
13,
1136,
24330,
10786,
32,
24318,
15,
62,
5097,
28495,
62,
23683,
26087,
11537,
198,
198,
2,
24582,
10761,
1546,
9711,
62,
29266,
1340,
4613,
17365,
9633,
287,
42486,
18839,
198,
48806,
796,
1391,
198,
220,
220,
220,
705,
3672,
10354,
28686,
13,
1136,
24330,
10786,
32782,
10761,
1546,
9711,
62,
29266,
1340,
62,
11012,
3256,
28686,
13,
1136,
24330,
10786,
6968,
62,
11012,
3256,
10148,
36911,
198,
220,
220,
220,
705,
7220,
10354,
28686,
13,
1136,
24330,
10786,
32782,
10761,
1546,
9711,
62,
29266,
1340,
62,
29904,
3256,
28686,
13,
1136,
24330,
10786,
6968,
62,
29904,
3256,
10148,
36911,
198,
220,
220,
220,
705,
28712,
10354,
28686,
13,
1136,
24330,
10786,
32782,
10761,
1546,
9711,
62,
29266,
1340,
62,
47924,
54,
12532,
3256,
28686,
13,
1136,
24330,
10786,
6968,
62,
47,
22332,
3256,
10148,
36911,
198,
220,
220,
220,
705,
4774,
10354,
28686,
13,
1136,
24330,
10786,
32782,
10761,
1546,
9711,
62,
29266,
1340,
62,
39,
10892,
3256,
28686,
13,
1136,
24330,
10786,
6968,
62,
39,
10892,
3256,
10148,
36911,
198,
220,
220,
220,
705,
634,
10354,
28686,
13,
1136,
24330,
10786,
32782,
10761,
1546,
9711,
62,
29266,
1340,
62,
15490,
3256,
28686,
13,
1136,
24330,
10786,
6968,
62,
15490,
3256,
10148,
36911,
198,
92
] | 2.339286 | 336 |
from django.test import TestCase
from django.test.utils import override_settings
from mock.mock import mock_open
from robber import expect
from mock import patch, Mock
from twitterbot.response_builders import (
SingleOfficerResponseBuilder, CoaccusedPairResponseBuilder, BaseResponseBuilder, NotFoundResponseBuilder)
from twitterbot.factories import ResponseTemplateFactory
from twitterbot.models import ResponseTemplate
from data.factories import OfficerFactory, OfficerAllegationFactory, AllegationFactory
| [
6738,
42625,
14208,
13,
9288,
1330,
6208,
20448,
198,
6738,
42625,
14208,
13,
9288,
13,
26791,
1330,
20957,
62,
33692,
198,
6738,
15290,
13,
76,
735,
1330,
15290,
62,
9654,
198,
198,
6738,
29979,
1330,
1607,
198,
6738,
15290,
1330,
8529,
11,
44123,
198,
198,
6738,
17044,
13645,
13,
26209,
62,
50034,
1330,
357,
198,
220,
220,
220,
14206,
12710,
263,
31077,
32875,
11,
1766,
4134,
1484,
47,
958,
31077,
32875,
11,
7308,
31077,
32875,
11,
1892,
21077,
31077,
32875,
8,
198,
6738,
17044,
13645,
13,
22584,
1749,
1330,
18261,
30800,
22810,
198,
6738,
17044,
13645,
13,
27530,
1330,
18261,
30800,
198,
6738,
1366,
13,
22584,
1749,
1330,
10391,
22810,
11,
10391,
2348,
1455,
341,
22810,
11,
26326,
341,
22810,
628,
628,
198
] | 4.211382 | 123 |
import unittest
from soundrts.world import World
from soundrts.mapfile import Map
# print self.w.get_objects_string()[-160:]
if __name__ == "__main__":
unittest.main()
| [
11748,
555,
715,
395,
198,
198,
6738,
2128,
81,
912,
13,
6894,
1330,
2159,
198,
6738,
2128,
81,
912,
13,
8899,
7753,
1330,
9347,
198,
198,
2,
220,
220,
220,
220,
220,
220,
220,
3601,
2116,
13,
86,
13,
1136,
62,
48205,
62,
8841,
3419,
58,
12,
14198,
47715,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.541667 | 72 |
workers = 2
worker_class = 'gevent'
bind = "0.0.0.0:8888"
| [
22896,
796,
362,
198,
28816,
62,
4871,
796,
705,
469,
1151,
6,
198,
21653,
796,
366,
15,
13,
15,
13,
15,
13,
15,
25,
3459,
3459,
1,
198
] | 2.071429 | 28 |
# coding=utf-8
from OTLMOW.OTLModel.BaseClasses.OTLAttribuut import OTLAttribuut
from OTLMOW.OTLModel.Classes.AIMObject import AIMObject
from OTLMOW.OTLModel.Datatypes.DtcDocument import DtcDocument
from OTLMOW.OTLModel.Datatypes.KlOverstortrandMateriaal import KlOverstortrandMateriaal
from OTLMOW.OTLModel.Datatypes.KlVariabelDeelType import KlVariabelDeelType
from OTLMOW.OTLModel.Datatypes.KwantWrdInMillimeter import KwantWrdInMillimeter
from OTLMOW.GeometrieArtefact.VlakGeometrie import VlakGeometrie
# Generated with OTLClassCreator. To modify: extend, do not edit
class Overstortrand(AIMObject, VlakGeometrie):
"""Een overstortrand heeft als doel het afvoeren van (pieken in) overtollig rioolwater vanuit de gemengde riolering naar het oppervlaktewater."""
typeURI = 'https://wegenenverkeer.data.vlaanderen.be/ns/onderdeel#Overstortrand'
"""De URI van het object volgens https://www.w3.org/2001/XMLSchema#anyURI."""
@property
def breedte(self):
"""De afstand tussen de uiterste zijden van de overstortrand in millimeter."""
return self._breedte.get_waarde()
@breedte.setter
@property
def hoogte(self):
"""De afstand tussen de vaste drempel en het hoogste punt van de overstortrand in millimeter."""
return self._hoogte.get_waarde()
@hoogte.setter
@property
def materiaal(self):
"""Het materiaal waaruit de overstortrand vervaardigd is."""
return self._materiaal.get_waarde()
@materiaal.setter
@property
def technischeFiche(self):
"""De technische fiche van de de overstortrand."""
return self._technischeFiche.get_waarde()
@technischeFiche.setter
@property
def variabelDeelType(self):
"""Bepaalt het type van het variabel deel van de overstortrand."""
return self._variabelDeelType.get_waarde()
@variabelDeelType.setter
@property
def wanddikte(self):
"""De wanddikte van de overstortrand in millimeter."""
return self._wanddikte.get_waarde()
@wanddikte.setter
| [
2,
19617,
28,
40477,
12,
23,
198,
6738,
440,
14990,
44,
3913,
13,
2394,
43,
17633,
13,
14881,
9487,
274,
13,
2394,
43,
8086,
822,
84,
315,
1330,
440,
14990,
8086,
822,
84,
315,
198,
6738,
440,
14990,
44,
3913,
13,
2394,
43,
17633,
13,
9487,
274,
13,
32,
3955,
10267,
1330,
317,
3955,
10267,
198,
6738,
440,
14990,
44,
3913,
13,
2394,
43,
17633,
13,
27354,
265,
9497,
13,
35,
23047,
24941,
1330,
360,
23047,
24941,
198,
6738,
440,
14990,
44,
3913,
13,
2394,
43,
17633,
13,
27354,
265,
9497,
13,
42,
75,
5886,
301,
419,
25192,
44,
729,
544,
282,
1330,
14770,
5886,
301,
419,
25192,
44,
729,
544,
282,
198,
6738,
440,
14990,
44,
3913,
13,
2394,
43,
17633,
13,
27354,
265,
9497,
13,
42,
75,
23907,
9608,
5005,
417,
6030,
1330,
14770,
23907,
9608,
5005,
417,
6030,
198,
6738,
440,
14990,
44,
3913,
13,
2394,
43,
17633,
13,
27354,
265,
9497,
13,
42,
42949,
54,
4372,
818,
22603,
16912,
1330,
31767,
415,
54,
4372,
818,
22603,
16912,
198,
6738,
440,
14990,
44,
3913,
13,
10082,
908,
5034,
3163,
660,
22584,
13,
53,
75,
461,
10082,
908,
5034,
1330,
569,
75,
461,
10082,
908,
5034,
628,
198,
2,
2980,
515,
351,
440,
14990,
9487,
16719,
273,
13,
1675,
13096,
25,
9117,
11,
466,
407,
4370,
198,
4871,
3827,
301,
419,
25192,
7,
32,
3955,
10267,
11,
569,
75,
461,
10082,
908,
5034,
2599,
198,
220,
220,
220,
37227,
36,
268,
625,
301,
419,
25192,
339,
68,
701,
435,
82,
466,
417,
339,
83,
6580,
13038,
14226,
5719,
357,
21749,
3464,
287,
8,
9929,
692,
328,
374,
952,
349,
7050,
5719,
5013,
390,
16840,
1516,
2934,
374,
1669,
1586,
12385,
283,
339,
83,
1269,
712,
75,
461,
83,
21422,
526,
15931,
628,
220,
220,
220,
2099,
47269,
796,
705,
5450,
1378,
732,
5235,
268,
332,
365,
263,
13,
7890,
13,
85,
5031,
392,
14226,
13,
1350,
14,
5907,
14,
8623,
2934,
417,
2,
5886,
301,
419,
25192,
6,
198,
220,
220,
220,
37227,
5005,
43975,
5719,
339,
83,
2134,
2322,
70,
641,
3740,
1378,
2503,
13,
86,
18,
13,
2398,
14,
14585,
14,
55,
5805,
27054,
2611,
2,
1092,
47269,
526,
15931,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
15939,
660,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
5005,
6580,
1481,
256,
35951,
390,
334,
2676,
4169,
1976,
2926,
6559,
5719,
390,
625,
301,
419,
25192,
287,
3939,
16912,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
4679,
276,
660,
13,
1136,
62,
10247,
45093,
3419,
628,
220,
220,
220,
2488,
4679,
276,
660,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
8169,
519,
660,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
5005,
6580,
1481,
256,
35951,
390,
410,
4594,
288,
2787,
30242,
551,
339,
83,
8169,
519,
4169,
35363,
5719,
390,
625,
301,
419,
25192,
287,
3939,
16912,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
8873,
519,
660,
13,
1136,
62,
10247,
45093,
3419,
628,
220,
220,
220,
2488,
8873,
519,
660,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
26910,
544,
282,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
39,
316,
26910,
544,
282,
2082,
283,
5013,
390,
625,
301,
419,
25192,
3326,
6862,
446,
328,
67,
318,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
76,
729,
544,
282,
13,
1136,
62,
10247,
45093,
3419,
628,
220,
220,
220,
2488,
76,
729,
544,
282,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
1579,
46097,
37,
14234,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
5005,
1579,
46097,
277,
14234,
5719,
390,
390,
625,
301,
419,
25192,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
23873,
46097,
37,
14234,
13,
1136,
62,
10247,
45093,
3419,
628,
220,
220,
220,
2488,
23873,
46097,
37,
14234,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
5553,
9608,
5005,
417,
6030,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
33,
538,
64,
2501,
339,
83,
2099,
5719,
339,
83,
5553,
9608,
390,
417,
5719,
390,
625,
301,
419,
25192,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
25641,
9608,
5005,
417,
6030,
13,
1136,
62,
10247,
45093,
3419,
628,
220,
220,
220,
2488,
25641,
9608,
5005,
417,
6030,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
11569,
67,
1134,
660,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
5005,
11569,
67,
1134,
660,
5719,
390,
625,
301,
419,
25192,
287,
3939,
16912,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
86,
392,
67,
1134,
660,
13,
1136,
62,
10247,
45093,
3419,
628,
220,
220,
220,
2488,
86,
392,
67,
1134,
660,
13,
2617,
353,
198
] | 2.436836 | 847 |
import synthtool as s
import synthtool.gcp as gcp
import logging
logging.basicConfig(level=logging.DEBUG)
common_templates = gcp.CommonTemplates()
templates = common_templates.node_library()
s.copy(templates)
| [
11748,
33549,
25981,
355,
264,
198,
11748,
33549,
25981,
13,
70,
13155,
355,
308,
13155,
198,
11748,
18931,
198,
6404,
2667,
13,
35487,
16934,
7,
5715,
28,
6404,
2667,
13,
30531,
8,
198,
11321,
62,
11498,
17041,
796,
308,
13155,
13,
17227,
12966,
17041,
3419,
198,
11498,
17041,
796,
2219,
62,
11498,
17041,
13,
17440,
62,
32016,
3419,
198,
82,
13,
30073,
7,
11498,
17041,
8,
198
] | 3.119403 | 67 |
from flask import Flask
from flask_graphql import GraphQLView
from schema import schema
app = Flask(__name__)
app.add_url_rule("/", view_func=GraphQLView.as_view("graphql",
schema=schema, graphiql=True))
if __name__ == "__main__":
app.run(debug=True)
| [
6738,
42903,
1330,
46947,
198,
6738,
42903,
62,
34960,
13976,
1330,
29681,
9711,
7680,
198,
6738,
32815,
1330,
32815,
198,
198,
1324,
796,
46947,
7,
834,
3672,
834,
8,
198,
1324,
13,
2860,
62,
6371,
62,
25135,
7203,
14,
1600,
1570,
62,
20786,
28,
37065,
9711,
7680,
13,
292,
62,
1177,
7203,
34960,
13976,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32815,
28,
15952,
2611,
11,
4823,
72,
13976,
28,
17821,
4008,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
598,
13,
5143,
7,
24442,
28,
17821,
8,
198
] | 2.546296 | 108 |
# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# 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 logging
from typing import Any, Dict, List, Optional
import aws_cdk as cdk
import aws_cdk.aws_ec2 as ec2
import aws_cdk.aws_lambda as lmb
from aws_cdk.aws_iam import IRole, PolicyStatement
from aws_cdk.aws_sqs import IQueue
from aws_ddk_core.config import Config
from aws_ddk_core.resources.commons import BaseSchema, Duration, SubnetType
from constructs import Construct
from marshmallow import ValidationError, fields
_logger: logging.Logger = logging.getLogger(__name__)
class FunctionSchema(BaseSchema):
"""DDK Lambda function Marshmallow schema."""
# Lambda function CDK construct fields
dead_letter_queue_enabled = fields.Bool()
memory_size = fields.Int(load_default=256)
environment = fields.Dict(keys=fields.Str, values=fields.Str)
profiling = fields.Bool()
reserved_concurrent_executions = fields.Int()
timeout = Duration(load_default=cdk.Duration.seconds(120))
tracing = fields.Method(deserialize="load_tracing")
max_event_age = Duration()
retry_attempts = fields.Int()
allow_all_outbound = fields.Bool()
allow_public_subnet = fields.Bool()
# Config specific fields
vpc_id = fields.Str(metadata={"config_only": True})
vpc_subnet_type = SubnetType(metadata={"config_only": True})
vpc_subnet_group_name = fields.Str(metadata={"config_only": True})
vpc_subnet_ids = fields.List(fields.Str(), metadata={"config_only": True})
security_group_ids = fields.List(fields.Str(), metadata={"config_only": True})
class LambdaFactory:
"""
Class factory to create and configure Lambda DDK resources, including Functions.
"""
@staticmethod
def function(
scope: Construct,
id: str,
environment_id: str,
code: lmb.Code,
handler: str,
runtime: lmb.Runtime = lmb.Runtime.PYTHON_3_9,
function_name: Optional[str] = None,
description: Optional[str] = None,
role: Optional[IRole] = None,
dead_letter_queue_enabled: Optional[bool] = None,
dead_letter_queue: Optional[IQueue] = None,
memory_size: Optional[int] = None,
timeout: Optional[cdk.Duration] = None,
**function_props: Any,
) -> lmb.IFunction:
"""
Create and configure Lambda function.
This construct allows to configure parameters of the function using ddk.json configuration file
depending on the `environment_id` in which the function is used. Supported parameters are:
`dead_letter_queue_enabled`,`memory_size`, `environment`, `profiling`,
`reserved_concurrent_executions`, `timeout`, `tracing`, `max_event_age`, `retry_attempts`,
`allow_all_outbound`, and `allow_public_subnet`.
The parameters are respected in the following order:
1 - Explicit arguments are always preferred
2 - Values from configuration file
3 - Defaults are used otherwise
Parameters
----------
scope : Construct
Scope within which this construct is defined
id : str
Identifier of the Lambda function
environment_id : str
Identifier of the environment
code : Code
The source code of the Lambda function
handler : str
The name of the method within the code that Lambda calls to execute the function
runtime : Runtime
The runtime environment for the Lambda function
function_name : Optional[str]
The name of the Lambda function
description : Optional[str]
The description of the Lambda function
role : Optional[IRole]
Lambda execution role
dead_letter_queue_enabled : Optional[bool]
Determines if DLQ is enabled. `False` by default.
dead_letter_queue : Optional[IQueue]
The SQS queue to use if DLQ is enabled
memory_size : Optional[int]
The amount of memory, in MB, that is allocated to the Lambda function. `256` by default.
timeout : Optional[Duration]
The function execution time (in seconds) after which Lambda terminates the function.
`aws_cdk.Duration.seconds(120)` by default.
function_props : Any
Additional function properties. For complete list of properties refer to CDK Documentation -
Lambda Function: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_lambda/Function.html
Returns
-------
fn : aws_cdk.aws_lambda.Function
Lambda function
"""
# Load function configuration from ddk.json based on environment id and resource id
function_config_dict: Dict[str, Any] = Config().get_resource_config(
environment_id=environment_id,
id=id,
)
declared_fields = FunctionSchema().declared_fields.items()
# Load CDK-only fields from schema
function_construct_props: Dict[str, Any] = FunctionSchema(
only=[name for name, field in declared_fields if not field.metadata]
).load(function_config_dict, partial=["removal_policy"])
# Load config-only fields from schema
function_config_only_props: Dict[str, Any] = FunctionSchema(
only=[name for name, field in declared_fields if field.metadata == {"config_only": True}]
).load(function_config_dict, partial=["removal_policy"])
# Set up networking
function_construct_props["vpc"] = LambdaFactory._get_vpc(
scope, id, vpc_id=function_config_only_props.get("vpc_id")
)
function_construct_props["vpc_subnets"] = LambdaFactory._get_vpc_subnets(
scope,
id,
vpc_subnet_ids=function_config_only_props.get("vpc_subnet_ids"),
vpc_subnet_type=function_config_only_props.get("vpc_subnet_type"),
vpc_subnet_group_name=function_config_only_props.get("vpc_subnet_group_name"),
)
function_construct_props["security_groups"] = LambdaFactory._get_security_groups(
scope, id, security_group_ids=function_config_only_props.get("security_group_ids")
)
# Collect all explicit function arguments
function_props = {
"code": code,
"handler": handler,
"runtime": runtime,
"role": role,
"function_name": function_name,
"description": description,
"dead_letter_queue_enabled": dead_letter_queue_enabled,
"dead_letter_queue": dead_letter_queue,
"memory_size": memory_size,
"timeout": timeout,
**function_props,
}
# Explicit ("hardcoded") props should always take precedence over config
for key, value in function_props.items():
if value is not None:
function_construct_props[key] = value
_logger.debug(f"function_construct_props: {function_construct_props}")
# Create the function
fn: lmb.IFunction = lmb.Function(scope, id, **function_construct_props)
# Add IAM permissions
if "vpc" in function_construct_props:
LambdaFactory.add_vpc_permissions(fn)
return fn
@staticmethod
@staticmethod
@staticmethod
@staticmethod
| [
2,
15069,
33160,
6186,
13,
785,
11,
3457,
13,
393,
663,
29116,
13,
1439,
6923,
33876,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
11074,
198,
2,
921,
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,
198,
11748,
18931,
198,
6738,
19720,
1330,
4377,
11,
360,
713,
11,
7343,
11,
32233,
198,
198,
11748,
3253,
82,
62,
10210,
74,
355,
22927,
74,
198,
11748,
3253,
82,
62,
10210,
74,
13,
8356,
62,
721,
17,
355,
9940,
17,
198,
11748,
3253,
82,
62,
10210,
74,
13,
8356,
62,
50033,
355,
300,
2022,
198,
6738,
3253,
82,
62,
10210,
74,
13,
8356,
62,
1789,
1330,
14826,
2305,
11,
7820,
48682,
198,
6738,
3253,
82,
62,
10210,
74,
13,
8356,
62,
31166,
82,
1330,
314,
34991,
198,
6738,
3253,
82,
62,
1860,
74,
62,
7295,
13,
11250,
1330,
17056,
198,
6738,
3253,
82,
62,
1860,
74,
62,
7295,
13,
37540,
13,
9503,
684,
1330,
7308,
27054,
2611,
11,
22920,
11,
3834,
3262,
6030,
198,
6738,
34175,
1330,
28407,
198,
6738,
22397,
42725,
1330,
3254,
24765,
12331,
11,
7032,
198,
198,
62,
6404,
1362,
25,
18931,
13,
11187,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
4871,
15553,
27054,
2611,
7,
14881,
27054,
2611,
2599,
198,
220,
220,
220,
37227,
16458,
42,
21114,
6814,
2163,
9786,
42725,
32815,
526,
15931,
628,
220,
220,
220,
1303,
21114,
6814,
2163,
6458,
42,
5678,
7032,
198,
220,
220,
220,
2636,
62,
9291,
62,
36560,
62,
25616,
796,
7032,
13,
33,
970,
3419,
198,
220,
220,
220,
4088,
62,
7857,
796,
7032,
13,
5317,
7,
2220,
62,
12286,
28,
11645,
8,
198,
220,
220,
220,
2858,
796,
7032,
13,
35,
713,
7,
13083,
28,
25747,
13,
13290,
11,
3815,
28,
25747,
13,
13290,
8,
198,
220,
220,
220,
31582,
796,
7032,
13,
33,
970,
3419,
198,
220,
220,
220,
10395,
62,
1102,
14421,
62,
18558,
3508,
796,
7032,
13,
5317,
3419,
198,
220,
220,
220,
26827,
796,
22920,
7,
2220,
62,
12286,
28,
10210,
74,
13,
26054,
13,
43012,
7,
10232,
4008,
198,
220,
220,
220,
35328,
796,
7032,
13,
17410,
7,
8906,
48499,
1096,
2625,
2220,
62,
2213,
4092,
4943,
198,
220,
220,
220,
3509,
62,
15596,
62,
496,
796,
22920,
3419,
198,
220,
220,
220,
1005,
563,
62,
1078,
1791,
82,
796,
7032,
13,
5317,
3419,
198,
220,
220,
220,
1249,
62,
439,
62,
448,
7784,
796,
7032,
13,
33,
970,
3419,
198,
220,
220,
220,
1249,
62,
11377,
62,
7266,
3262,
796,
7032,
13,
33,
970,
3419,
628,
220,
220,
220,
1303,
17056,
2176,
7032,
198,
220,
220,
220,
410,
14751,
62,
312,
796,
7032,
13,
13290,
7,
38993,
28,
4895,
11250,
62,
8807,
1298,
6407,
30072,
198,
220,
220,
220,
410,
14751,
62,
7266,
3262,
62,
4906,
796,
3834,
3262,
6030,
7,
38993,
28,
4895,
11250,
62,
8807,
1298,
6407,
30072,
198,
220,
220,
220,
410,
14751,
62,
7266,
3262,
62,
8094,
62,
3672,
796,
7032,
13,
13290,
7,
38993,
28,
4895,
11250,
62,
8807,
1298,
6407,
30072,
198,
220,
220,
220,
410,
14751,
62,
7266,
3262,
62,
2340,
796,
7032,
13,
8053,
7,
25747,
13,
13290,
22784,
20150,
28,
4895,
11250,
62,
8807,
1298,
6407,
30072,
198,
220,
220,
220,
2324,
62,
8094,
62,
2340,
796,
7032,
13,
8053,
7,
25747,
13,
13290,
22784,
20150,
28,
4895,
11250,
62,
8807,
1298,
6407,
30072,
628,
198,
4871,
21114,
6814,
22810,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5016,
8860,
284,
2251,
290,
17425,
21114,
6814,
20084,
42,
4133,
11,
1390,
40480,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
12708,
24396,
198,
220,
220,
220,
825,
2163,
7,
198,
220,
220,
220,
220,
220,
220,
220,
8354,
25,
28407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2858,
62,
312,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2438,
25,
300,
2022,
13,
10669,
11,
198,
220,
220,
220,
220,
220,
220,
220,
21360,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
19124,
25,
300,
2022,
13,
41006,
796,
300,
2022,
13,
41006,
13,
47,
56,
4221,
1340,
62,
18,
62,
24,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
3672,
25,
32233,
58,
2536,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
6764,
25,
32233,
58,
2536,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2597,
25,
32233,
58,
4663,
2305,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2636,
62,
9291,
62,
36560,
62,
25616,
25,
32233,
58,
30388,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2636,
62,
9291,
62,
36560,
25,
32233,
58,
40,
34991,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4088,
62,
7857,
25,
32233,
58,
600,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
26827,
25,
32233,
58,
10210,
74,
13,
26054,
60,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
12429,
8818,
62,
1676,
862,
25,
4377,
11,
198,
220,
220,
220,
1267,
4613,
300,
2022,
13,
5064,
4575,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13610,
290,
17425,
21114,
6814,
2163,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
5678,
3578,
284,
17425,
10007,
286,
262,
2163,
1262,
288,
34388,
13,
17752,
8398,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
6906,
319,
262,
4600,
38986,
62,
312,
63,
287,
543,
262,
2163,
318,
973,
13,
36848,
10007,
389,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
25124,
62,
9291,
62,
36560,
62,
25616,
47671,
63,
31673,
62,
7857,
47671,
4600,
38986,
47671,
4600,
5577,
4386,
47671,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
411,
8520,
62,
1102,
14421,
62,
18558,
3508,
47671,
4600,
48678,
47671,
4600,
2213,
4092,
47671,
4600,
9806,
62,
15596,
62,
496,
47671,
4600,
1186,
563,
62,
1078,
1791,
82,
47671,
198,
220,
220,
220,
220,
220,
220,
220,
4600,
12154,
62,
439,
62,
448,
7784,
47671,
290,
4600,
12154,
62,
11377,
62,
7266,
3262,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
383,
10007,
389,
14462,
287,
262,
1708,
1502,
25,
198,
220,
220,
220,
220,
220,
220,
220,
352,
532,
11884,
7159,
389,
1464,
9871,
198,
220,
220,
220,
220,
220,
220,
220,
362,
532,
27068,
422,
8398,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
513,
532,
2896,
13185,
389,
973,
4306,
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,
8354,
1058,
28407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41063,
1626,
543,
428,
5678,
318,
5447,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11440,
7483,
286,
262,
21114,
6814,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
2858,
62,
312,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11440,
7483,
286,
262,
2858,
198,
220,
220,
220,
220,
220,
220,
220,
2438,
1058,
6127,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2723,
2438,
286,
262,
21114,
6814,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
21360,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
2446,
1626,
262,
2438,
326,
21114,
6814,
3848,
284,
12260,
262,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
19124,
1058,
43160,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
19124,
2858,
329,
262,
21114,
6814,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
3672,
1058,
32233,
58,
2536,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
21114,
6814,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
6764,
1058,
32233,
58,
2536,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
6764,
286,
262,
21114,
6814,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
2597,
1058,
32233,
58,
4663,
2305,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21114,
6814,
9706,
2597,
198,
220,
220,
220,
220,
220,
220,
220,
2636,
62,
9291,
62,
36560,
62,
25616,
1058,
32233,
58,
30388,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
360,
13221,
274,
611,
23641,
48,
318,
9343,
13,
4600,
25101,
63,
416,
4277,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2636,
62,
9291,
62,
36560,
1058,
32233,
58,
40,
34991,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
49747,
50,
16834,
284,
779,
611,
23641,
48,
318,
9343,
198,
220,
220,
220,
220,
220,
220,
220,
4088,
62,
7857,
1058,
32233,
58,
600,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2033,
286,
4088,
11,
287,
10771,
11,
326,
318,
19171,
284,
262,
21114,
6814,
2163,
13,
4600,
11645,
63,
416,
4277,
13,
198,
220,
220,
220,
220,
220,
220,
220,
26827,
1058,
32233,
58,
26054,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2163,
9706,
640,
357,
259,
4201,
8,
706,
543,
21114,
6814,
5651,
689,
262,
2163,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4600,
8356,
62,
10210,
74,
13,
26054,
13,
43012,
7,
10232,
8,
63,
416,
4277,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
1676,
862,
1058,
4377,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15891,
2163,
6608,
13,
1114,
1844,
1351,
286,
6608,
3522,
284,
6458,
42,
43925,
532,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21114,
6814,
15553,
25,
3740,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
10210,
74,
14,
15042,
14,
85,
17,
14,
29412,
14,
8356,
62,
10210,
74,
13,
8356,
62,
50033,
14,
22203,
13,
6494,
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,
24714,
1058,
3253,
82,
62,
10210,
74,
13,
8356,
62,
50033,
13,
22203,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21114,
6814,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8778,
2163,
8398,
422,
288,
34388,
13,
17752,
1912,
319,
2858,
4686,
290,
8271,
4686,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
11250,
62,
11600,
25,
360,
713,
58,
2536,
11,
4377,
60,
796,
17056,
22446,
1136,
62,
31092,
62,
11250,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2858,
62,
312,
28,
38986,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
28,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
6875,
62,
25747,
796,
15553,
27054,
2611,
22446,
32446,
1144,
62,
25747,
13,
23814,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8778,
6458,
42,
12,
8807,
7032,
422,
32815,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
41571,
62,
1676,
862,
25,
360,
713,
58,
2536,
11,
4377,
60,
796,
15553,
27054,
2611,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
691,
41888,
3672,
329,
1438,
11,
2214,
287,
6875,
62,
25747,
611,
407,
2214,
13,
38993,
60,
198,
220,
220,
220,
220,
220,
220,
220,
6739,
2220,
7,
8818,
62,
11250,
62,
11600,
11,
13027,
28,
14692,
2787,
8325,
62,
30586,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8778,
4566,
12,
8807,
7032,
422,
32815,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
11250,
62,
8807,
62,
1676,
862,
25,
360,
713,
58,
2536,
11,
4377,
60,
796,
15553,
27054,
2611,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
691,
41888,
3672,
329,
1438,
11,
2214,
287,
6875,
62,
25747,
611,
2214,
13,
38993,
6624,
19779,
11250,
62,
8807,
1298,
6407,
92,
60,
198,
220,
220,
220,
220,
220,
220,
220,
6739,
2220,
7,
8818,
62,
11250,
62,
11600,
11,
13027,
28,
14692,
2787,
8325,
62,
30586,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5345,
510,
19140,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
41571,
62,
1676,
862,
14692,
85,
14751,
8973,
796,
21114,
6814,
22810,
13557,
1136,
62,
85,
14751,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8354,
11,
4686,
11,
410,
14751,
62,
312,
28,
8818,
62,
11250,
62,
8807,
62,
1676,
862,
13,
1136,
7203,
85,
14751,
62,
312,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
41571,
62,
1676,
862,
14692,
85,
14751,
62,
7266,
45938,
8973,
796,
21114,
6814,
22810,
13557,
1136,
62,
85,
14751,
62,
7266,
45938,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8354,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
14751,
62,
7266,
3262,
62,
2340,
28,
8818,
62,
11250,
62,
8807,
62,
1676,
862,
13,
1136,
7203,
85,
14751,
62,
7266,
3262,
62,
2340,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
14751,
62,
7266,
3262,
62,
4906,
28,
8818,
62,
11250,
62,
8807,
62,
1676,
862,
13,
1136,
7203,
85,
14751,
62,
7266,
3262,
62,
4906,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
14751,
62,
7266,
3262,
62,
8094,
62,
3672,
28,
8818,
62,
11250,
62,
8807,
62,
1676,
862,
13,
1136,
7203,
85,
14751,
62,
7266,
3262,
62,
8094,
62,
3672,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
41571,
62,
1676,
862,
14692,
12961,
62,
24432,
8973,
796,
21114,
6814,
22810,
13557,
1136,
62,
12961,
62,
24432,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8354,
11,
4686,
11,
2324,
62,
8094,
62,
2340,
28,
8818,
62,
11250,
62,
8807,
62,
1676,
862,
13,
1136,
7203,
12961,
62,
8094,
62,
2340,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9745,
477,
7952,
2163,
7159,
198,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
1676,
862,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
8189,
1298,
2438,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
30281,
1298,
21360,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
43282,
1298,
19124,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18090,
1298,
2597,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
8818,
62,
3672,
1298,
2163,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11213,
1298,
6764,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
25124,
62,
9291,
62,
36560,
62,
25616,
1298,
2636,
62,
9291,
62,
36560,
62,
25616,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
25124,
62,
9291,
62,
36560,
1298,
2636,
62,
9291,
62,
36560,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
31673,
62,
7857,
1298,
4088,
62,
7857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
48678,
1298,
26827,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12429,
8818,
62,
1676,
862,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
11884,
5855,
10424,
40976,
4943,
25744,
815,
1464,
1011,
38177,
625,
4566,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
11,
1988,
287,
2163,
62,
1676,
862,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1988,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2163,
62,
41571,
62,
1676,
862,
58,
2539,
60,
796,
1988,
628,
220,
220,
220,
220,
220,
220,
220,
4808,
6404,
1362,
13,
24442,
7,
69,
1,
8818,
62,
41571,
62,
1676,
862,
25,
1391,
8818,
62,
41571,
62,
1676,
862,
92,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
262,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
24714,
25,
300,
2022,
13,
5064,
4575,
796,
300,
2022,
13,
22203,
7,
29982,
11,
4686,
11,
12429,
8818,
62,
41571,
62,
1676,
862,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
314,
2390,
21627,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
85,
14751,
1,
287,
2163,
62,
41571,
62,
1676,
862,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21114,
6814,
22810,
13,
2860,
62,
85,
14751,
62,
525,
8481,
7,
22184,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
24714,
628,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
12708,
24396,
628,
220,
220,
220,
2488,
12708,
24396,
198
] | 2.560013 | 3,091 |
# -*- coding:utf-8 -*-
# Author: hankcs
# Date: 2020-08-13 21:39
import logging
from typing import Dict, Any, Union, Iterable, List
import torch
from torch.optim import Adam
from torch.optim.lr_scheduler import ExponentialLR
from torch.utils.data import DataLoader
from hanlp.common.dataset import SamplerBuilder, PadSequenceDataLoader
from hanlp.common.transform import VocabDict, TransformList
from hanlp.components.mtl.tasks import Task
from hanlp.components.parsers.biaffine.biaffine_dep import BiaffineDependencyParser
from hanlp.components.parsers.biaffine.biaffine_model import BiaffineDecoder
from hanlp.datasets.parsing.loaders.conll_dataset import append_bos
from hanlp.layers.scalar_mix import ScalarMixWithDropoutBuilder
from hanlp.metrics.metric import Metric
from hanlp.metrics.mtl import MetricDict
from hanlp.utils.time_util import CountdownTimer
from hanlp_common.constant import EOS
from hanlp_common.util import merge_locals_kwargs
| [
2,
532,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
198,
2,
6434,
25,
289,
962,
6359,
198,
2,
7536,
25,
12131,
12,
2919,
12,
1485,
2310,
25,
2670,
198,
11748,
18931,
198,
6738,
19720,
1330,
360,
713,
11,
4377,
11,
4479,
11,
40806,
540,
11,
7343,
198,
198,
11748,
28034,
198,
6738,
28034,
13,
40085,
1330,
7244,
198,
6738,
28034,
13,
40085,
13,
14050,
62,
1416,
704,
18173,
1330,
5518,
35470,
35972,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
198,
198,
6738,
289,
272,
34431,
13,
11321,
13,
19608,
292,
316,
1330,
3409,
20053,
32875,
11,
15744,
44015,
594,
6601,
17401,
198,
6738,
289,
272,
34431,
13,
11321,
13,
35636,
1330,
47208,
397,
35,
713,
11,
26981,
8053,
198,
6738,
289,
272,
34431,
13,
5589,
3906,
13,
16762,
75,
13,
83,
6791,
1330,
15941,
198,
6738,
289,
272,
34431,
13,
5589,
3906,
13,
79,
945,
364,
13,
23339,
487,
500,
13,
23339,
487,
500,
62,
10378,
1330,
347,
544,
487,
500,
35,
2690,
1387,
46677,
198,
6738,
289,
272,
34431,
13,
5589,
3906,
13,
79,
945,
364,
13,
23339,
487,
500,
13,
23339,
487,
500,
62,
19849,
1330,
347,
544,
487,
500,
10707,
12342,
198,
6738,
289,
272,
34431,
13,
19608,
292,
1039,
13,
79,
945,
278,
13,
2220,
364,
13,
1102,
297,
62,
19608,
292,
316,
1330,
24443,
62,
39565,
198,
6738,
289,
272,
34431,
13,
75,
6962,
13,
1416,
282,
283,
62,
19816,
1330,
34529,
283,
35608,
3152,
26932,
448,
32875,
198,
6738,
289,
272,
34431,
13,
4164,
10466,
13,
4164,
1173,
1330,
3395,
1173,
198,
6738,
289,
272,
34431,
13,
4164,
10466,
13,
16762,
75,
1330,
3395,
1173,
35,
713,
198,
6738,
289,
272,
34431,
13,
26791,
13,
2435,
62,
22602,
1330,
47555,
48801,
198,
6738,
289,
272,
34431,
62,
11321,
13,
9979,
415,
1330,
412,
2640,
198,
6738,
289,
272,
34431,
62,
11321,
13,
22602,
1330,
20121,
62,
17946,
874,
62,
46265,
22046,
628
] | 2.944444 | 324 |
#!/usr/bin/env python3
from . import auxiliary_problems, controller, experimental_design, optimization_problems, strategy, surrogate
__version__ = "0.3.3"
__author__ = "David Eriksson, David Bindel, Christine Shoemaker"
__all__ = [
"auxiliary_problems",
"controller",
"experimental_design",
"optimization_problems",
"strategy",
"surrogate",
# Other
"__author__",
"__version__",
]
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
6738,
764,
1330,
37419,
62,
1676,
22143,
11,
10444,
11,
11992,
62,
26124,
11,
23989,
62,
1676,
22143,
11,
4811,
11,
37660,
198,
198,
834,
9641,
834,
796,
366,
15,
13,
18,
13,
18,
1,
198,
834,
9800,
834,
796,
366,
11006,
412,
39370,
1559,
11,
3271,
41211,
417,
11,
26088,
16509,
32174,
1,
628,
198,
834,
439,
834,
796,
685,
198,
220,
220,
220,
366,
14644,
28129,
62,
1676,
22143,
1600,
198,
220,
220,
220,
366,
36500,
1600,
198,
220,
220,
220,
366,
23100,
9134,
62,
26124,
1600,
198,
220,
220,
220,
366,
40085,
1634,
62,
1676,
22143,
1600,
198,
220,
220,
220,
366,
2536,
4338,
1600,
198,
220,
220,
220,
366,
11793,
3828,
378,
1600,
198,
220,
220,
220,
1303,
3819,
198,
220,
220,
220,
366,
834,
9800,
834,
1600,
198,
220,
220,
220,
366,
834,
9641,
834,
1600,
198,
60,
198
] | 2.720779 | 154 |
from message import ISerializable
import message
import struct
| [
6738,
3275,
1330,
3180,
48499,
13821,
198,
198,
11748,
3275,
198,
11748,
2878,
628,
628,
198
] | 4.25 | 16 |
import logging
import unittest
import numpy as np
from mne import BaseEpochs
from moabb.datasets.fake import FakeDataset
from moabb.paradigms import (
P300,
SSVEP,
BaseMotorImagery,
BaseP300,
BaseSSVEP,
FilterBankLeftRightImagery,
FilterBankMotorImagery,
FilterBankSSVEP,
LeftRightImagery,
)
log = logging.getLogger(__name__)
log.setLevel(logging.ERROR)
| [
11748,
18931,
198,
11748,
555,
715,
395,
198,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
285,
710,
1330,
7308,
13807,
5374,
82,
198,
198,
6738,
6941,
6485,
13,
19608,
292,
1039,
13,
30706,
1330,
33482,
27354,
292,
316,
198,
6738,
6941,
6485,
13,
1845,
324,
328,
907,
1330,
357,
198,
220,
220,
220,
350,
6200,
11,
198,
220,
220,
220,
6723,
6089,
47,
11,
198,
220,
220,
220,
7308,
34919,
3546,
363,
1924,
11,
198,
220,
220,
220,
7308,
47,
6200,
11,
198,
220,
220,
220,
7308,
5432,
6089,
47,
11,
198,
220,
220,
220,
25853,
28650,
18819,
11028,
3546,
363,
1924,
11,
198,
220,
220,
220,
25853,
28650,
34919,
3546,
363,
1924,
11,
198,
220,
220,
220,
25853,
28650,
5432,
6089,
47,
11,
198,
220,
220,
220,
9578,
11028,
3546,
363,
1924,
11,
198,
8,
628,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
6404,
13,
2617,
4971,
7,
6404,
2667,
13,
24908,
8,
628,
628,
628
] | 2.418182 | 165 |
from __future__ import absolute_import
from fastapi import FastAPI, HTTPException, Depends, Request, status
from fastapi.responses import JSONResponse
from pydantic import BaseModel
import time
import os
from lib import Scanner, logger
import traceback
from typing import Optional
import sys
app = FastAPI()
ls, scanners, scanners_set, scanner_name = get_scanner()
print(ls, scanners, scanners_set, scanner_name)
lock = False
last_lock = time.time()
LOCK_THRESHOLD = int(os.environ.get('LOCK_THRESHOLD', None)) if os.environ.get('LOCK_THRESHOLD', None) is not None else 3
@app.route('/')
@app.route('/list')
@app.route('/scan') | [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
198,
6738,
3049,
15042,
1330,
12549,
17614,
11,
14626,
16922,
11,
2129,
2412,
11,
19390,
11,
3722,
198,
6738,
3049,
15042,
13,
16733,
274,
1330,
19449,
31077,
198,
6738,
279,
5173,
5109,
1330,
7308,
17633,
198,
11748,
640,
220,
198,
11748,
28686,
198,
6738,
9195,
1330,
20937,
1008,
11,
49706,
198,
11748,
12854,
1891,
198,
6738,
19720,
1330,
32233,
198,
11748,
25064,
220,
198,
198,
1324,
796,
12549,
17614,
3419,
198,
198,
7278,
11,
47059,
11,
47059,
62,
2617,
11,
27474,
62,
3672,
796,
651,
62,
35836,
1008,
3419,
198,
4798,
7,
7278,
11,
47059,
11,
47059,
62,
2617,
11,
27474,
62,
3672,
8,
198,
5354,
796,
10352,
198,
12957,
62,
5354,
796,
640,
13,
2435,
3419,
198,
36840,
62,
4221,
19535,
39,
15173,
796,
493,
7,
418,
13,
268,
2268,
13,
1136,
10786,
36840,
62,
4221,
19535,
39,
15173,
3256,
6045,
4008,
611,
28686,
13,
268,
2268,
13,
1136,
10786,
36840,
62,
4221,
19535,
39,
15173,
3256,
6045,
8,
318,
407,
6045,
2073,
513,
198,
198,
31,
1324,
13,
38629,
10786,
14,
11537,
198,
198,
31,
1324,
13,
38629,
10786,
14,
4868,
11537,
198,
198,
31,
1324,
13,
38629,
10786,
14,
35836,
11537
] | 3.128079 | 203 |
import json
import boto3 as boto3
DESTINATION_NUMBER = "4702637816"
FIRST_NAME = "Austin"
LAST_NAME = "Miles"
if __name__ == '__main__':
send_grade_change_message()
| [
11748,
33918,
198,
198,
11748,
275,
2069,
18,
355,
275,
2069,
18,
198,
198,
35,
6465,
1268,
6234,
62,
41359,
13246,
796,
366,
27790,
2075,
30695,
1433,
1,
198,
39776,
2257,
62,
20608,
796,
366,
40245,
1,
198,
43,
11262,
62,
20608,
796,
366,
44,
2915,
1,
628,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3758,
62,
9526,
62,
3803,
62,
20500,
3419,
198
] | 2.373333 | 75 |
"""Link coroutine control flow functions."""
import argparse
import collections
import urllib.parse
from typing import DefaultDict, Generator, List, Set
from ..helpers.coroutines import coroutine
from ..segd import graph
@coroutine
def handle_links(filter_: Generator, good: Generator) -> Generator:
"""Send http and id links to correct target."""
while True:
orig_id, link, link_type = yield
target = filter_ if isinstance(link, str) else good
target.send((orig_id, link, link_type))
@coroutine
def filter_links(domains: Set[str], target: Generator) -> Generator:
"""Filter links to links to posts on the provided site."""
while True:
orig_id, link, link_type = yield
url = urllib.parse.urlparse(link)
if url.netloc not in domains:
continue
segments: List[str] = url.path.split("/")
list_ = segments[1] if len(segments) >= 2 else None
post_id = segments[2] if len(segments) >= 3 else ""
if list_ not in {"questions", "a", "q"}:
continue
if url.query:
try:
_, post_id = url.query.split("_", 1)
int(post_id)
except ValueError:
pass
try:
int(post_id)
except (ValueError, TypeError):
continue
target.send((orig_id, post_id, link_type))
@coroutine
def filter_duplicates(target: Generator) -> Generator:
"""Remove duplicate links from the output."""
link_lookup: DefaultDict[int, DefaultDict[int, Set[graph.LinkType]]]
link_lookup = collections.defaultdict(lambda: collections.defaultdict(set))
try:
while True:
from_node, to_node, link_type = yield
link_lookup[from_node][to_node].add(link_type)
finally:
for from_node, links_to in link_lookup.items():
for to_node, types in links_to.items():
target.send(
(from_node, to_node, max(types, key=lambda i: i.value.weight),)
)
@coroutine
def filter_network_size(arguments: argparse.Namespace, target: Generator,) -> Generator:
"""
Filter networks that aren't the wanted size.
:param arguments: CLI parser arguments that dictate the min and max size.
"""
graph_ = graph.Graph()
try:
while True:
item = yield
graph_.add(*item)
finally:
for network in graph_.get_networks():
if not arguments.min <= len(network) <= arguments.max:
continue
for node in network:
for link in node.links:
edge_type = link.type.value
target.send(
(
node.value,
link.target.value,
edge_type.weight,
edge_type.type,
)
)
@coroutine
def sheet_prep(target: Generator) -> Generator:
"""Convert into the format required to be sent to disk."""
target.send("Source;Target;Weight;Type\n")
while True:
edge = yield
target.send(";".join(map(str, edge)) + "\n")
| [
37811,
11280,
1162,
28399,
1630,
5202,
5499,
526,
15931,
198,
198,
11748,
1822,
29572,
198,
11748,
17268,
198,
11748,
2956,
297,
571,
13,
29572,
198,
6738,
19720,
1330,
15161,
35,
713,
11,
35986,
11,
7343,
11,
5345,
198,
198,
6738,
11485,
16794,
364,
13,
10215,
448,
1127,
1330,
1162,
28399,
198,
6738,
11485,
325,
21287,
1330,
4823,
628,
198,
31,
10215,
28399,
198,
4299,
5412,
62,
28751,
7,
24455,
62,
25,
35986,
11,
922,
25,
35986,
8,
4613,
35986,
25,
198,
220,
220,
220,
37227,
25206,
2638,
290,
4686,
6117,
284,
3376,
2496,
526,
15931,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1796,
62,
312,
11,
2792,
11,
2792,
62,
4906,
796,
7800,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
796,
8106,
62,
611,
318,
39098,
7,
8726,
11,
965,
8,
2073,
922,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
13,
21280,
19510,
11612,
62,
312,
11,
2792,
11,
2792,
62,
4906,
4008,
628,
198,
31,
10215,
28399,
198,
4299,
8106,
62,
28751,
7,
3438,
1299,
25,
5345,
58,
2536,
4357,
2496,
25,
35986,
8,
4613,
35986,
25,
198,
220,
220,
220,
37227,
22417,
6117,
284,
6117,
284,
6851,
319,
262,
2810,
2524,
526,
15931,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1796,
62,
312,
11,
2792,
11,
2792,
62,
4906,
796,
7800,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2956,
297,
571,
13,
29572,
13,
6371,
29572,
7,
8726,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
19016,
13,
3262,
17946,
407,
287,
18209,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
17894,
25,
7343,
58,
2536,
60,
796,
19016,
13,
6978,
13,
35312,
7203,
14,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
796,
17894,
58,
16,
60,
611,
18896,
7,
325,
11726,
8,
18189,
362,
2073,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1281,
62,
312,
796,
17894,
58,
17,
60,
611,
18896,
7,
325,
11726,
8,
18189,
513,
2073,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1351,
62,
407,
287,
19779,
6138,
507,
1600,
366,
64,
1600,
366,
80,
20662,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
611,
19016,
13,
22766,
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,
4808,
11,
1281,
62,
312,
796,
19016,
13,
22766,
13,
35312,
7203,
62,
1600,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
7,
7353,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
7,
7353,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
357,
11395,
12331,
11,
5994,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
13,
21280,
19510,
11612,
62,
312,
11,
1281,
62,
312,
11,
2792,
62,
4906,
4008,
628,
198,
31,
10215,
28399,
198,
4299,
8106,
62,
646,
489,
16856,
7,
16793,
25,
35986,
8,
4613,
35986,
25,
198,
220,
220,
220,
37227,
27914,
23418,
6117,
422,
262,
5072,
526,
15931,
198,
220,
220,
220,
2792,
62,
5460,
929,
25,
15161,
35,
713,
58,
600,
11,
15161,
35,
713,
58,
600,
11,
5345,
58,
34960,
13,
11280,
6030,
11907,
60,
198,
220,
220,
220,
2792,
62,
5460,
929,
796,
17268,
13,
12286,
11600,
7,
50033,
25,
17268,
13,
12286,
11600,
7,
2617,
4008,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17440,
11,
284,
62,
17440,
11,
2792,
62,
4906,
796,
7800,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2792,
62,
5460,
929,
58,
6738,
62,
17440,
7131,
1462,
62,
17440,
4083,
2860,
7,
8726,
62,
4906,
8,
198,
220,
220,
220,
3443,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
422,
62,
17440,
11,
6117,
62,
1462,
287,
2792,
62,
5460,
929,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
284,
62,
17440,
11,
3858,
287,
6117,
62,
1462,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
13,
21280,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
6738,
62,
17440,
11,
284,
62,
17440,
11,
3509,
7,
19199,
11,
1994,
28,
50033,
1312,
25,
1312,
13,
8367,
13,
6551,
828,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
198,
31,
10215,
28399,
198,
4299,
8106,
62,
27349,
62,
7857,
7,
853,
2886,
25,
1822,
29572,
13,
36690,
10223,
11,
2496,
25,
35986,
35751,
4613,
35986,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
25853,
7686,
326,
3588,
470,
262,
2227,
2546,
13,
628,
220,
220,
220,
1058,
17143,
7159,
25,
43749,
30751,
7159,
326,
27861,
262,
949,
290,
3509,
2546,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4823,
62,
796,
4823,
13,
37065,
3419,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
7800,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4823,
44807,
2860,
46491,
9186,
8,
198,
220,
220,
220,
3443,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3127,
287,
4823,
44807,
1136,
62,
3262,
5225,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
7159,
13,
1084,
19841,
18896,
7,
27349,
8,
19841,
7159,
13,
9806,
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,
329,
10139,
287,
3127,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2792,
287,
10139,
13,
28751,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
4906,
796,
2792,
13,
4906,
13,
8367,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
13,
21280,
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,
357,
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,
10139,
13,
8367,
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,
2792,
13,
16793,
13,
8367,
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,
5743,
62,
4906,
13,
6551,
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,
5743,
62,
4906,
13,
4906,
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,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
198,
31,
10215,
28399,
198,
4299,
9629,
62,
46012,
7,
16793,
25,
35986,
8,
4613,
35986,
25,
198,
220,
220,
220,
37227,
3103,
1851,
656,
262,
5794,
2672,
284,
307,
1908,
284,
11898,
526,
15931,
198,
220,
220,
220,
2496,
13,
21280,
7203,
7416,
26,
21745,
26,
25844,
26,
6030,
59,
77,
4943,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
796,
7800,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
13,
21280,
7203,
26,
1911,
22179,
7,
8899,
7,
2536,
11,
5743,
4008,
1343,
37082,
77,
4943,
198
] | 2.176788 | 1,482 |
# importing the required modules
import requests
from bs4 import BeautifulSoup
import pandas as pd
from selenium import webdriver
import time
pd.options.display.max_columns = 999
pd.options.display.max_rows = 999
df = pd.read_csv('new_profile_links.csv')
df = df.drop(['Unnamed: 0'], axis = 1)
df["0"]
pl = list(df["0"])
all_user = []
for i in range(len(pl)):
try:
one_user = []
print("Loop :",i)
url = pl[i]
print(url)
driver = webdriver.Chrome(r'C:\Users\David\chromedriver_win32\chromedriver.exe')
driver.get(url)
time.sleep(3)
# basic data extraction
basic = []
source_code = driver.page_source
soup = BeautifulSoup(source_code, 'html.parser')
name = soup.find_all('strong', class_ = 'userName--1ZA07')
for n in name:
basic.append(n.text)
sp = soup.find_all('div', class_ = 'categoryName--1zWtA')
category = soup.find_all('strong', class_ = 'introCategory--F81Ky')
for e in category:
basic.append(e.text)
sp = soup.find_all('div', class_ = 'categoryName--1zWtA')
for m in sp:
basic.append(m.text)
rating = soup.find_all('div', class_ = 'itemRating--360UA itemRating--2-rFv typeLarge--1cEMN')
for k in rating:
a = k.text
if "평균 평점" in a:
a = a.replace("평균 평점", "")
basic.append(a)
### Project data for one user
maininfo = []
infos = soup.find_all('ul', class_ = 'productInfoList--1-H-D')
for f in infos:
li = f.find_all('li')
for ll in li:
uh = ["대표자","상호명","사업자등록번호","통신판매업번호-", "사업장 주소", "고객센터",'메일']
for u in range(len(uh)):
if uh[u] in ll.text:
b = uh[u]
la = ll.text
maininfo.append(la.replace(b , ""))
#count product and review section
products = []
tt = soup.find_all('div', class_ = "list--e6w5E")
for t in tt:
cc = t.find_all('div', class_='count--2w5o6')
for cd in cc:
cd.find_all('div', class_ = "count--2w5o6")
ce = cd.text
products.append(ce)
#profile informations
profile = []
heading = soup.find_all('strong', class_ = 'introduceMainTitle--2MZc-')
for h in heading:
profile.append(h.text)
text = soup.find_all('p', class_ = 'introduceText--2R5pY')
for e in text:
profile.append(e.text)
#new section
recom = soup.find_all('ul', class_ = 'listDisc--1Cc80')
for rc in recom:
profile.append(rc.text)
rest = soup.find_all('div', class_ = ['profileCareer--3_uFh','isExpert--2GkDA'])
# for mm in rest:
# mm.find_all('div', class_ = 'profileBox--1jlog')
for m in rest:
m.find_all('div', class_ = "careerJob--2-hX4")
for i in m:
profile.append(i.text)
### Project data for one user
projects = soup.find_all('div', class_ = 'listArea--peDdh')
#projects and consultations
all_project = []
for y in projects:
one = []
yy = y.find_all('div', class_ = 'item--1ZJSx')
for t in yy:
project_item = []
tdiv = t.find_all('div', class_ =['itemTitle--2vWBq','elip2--nFWXY'])
for td in tdiv:
project_title = td.text
project_item.append(project_title)
ratdiv = t.find_all('div', class_ =['itemGroup--2RnIL','ItemGroup_itemGroup--1f-on'])
for rd in ratdiv:
ratscore = rd.find_all("div", class_ = "itemRating--360UA")
for r in ratscore:
b = r.text
if "평균 평점" in b:
b = b.replace("평균 평점", " ")
project_item.append(b)
ratreview = rd.find_all("div", class_ = "itemCount--2HsJv")
for rr in ratreview:
c = rr.text
if "후기" in c:
c = c.replace("후기", " ")
project_item.append(c)
feediv = t.find_all('span', class_ =['priceInner--1HE2v'])
for fd in feediv:
fee = fd.find_all("span", class_=["priceNum--1rXJI","ItemPrice_priceNum--2OFHI"])
for f in fee:
project_item.append(f.text)
discount = fd.find_all("em", class_="discountPercent--3n0bl")
for dis in discount:
project_item.append(dis.text)
actualPrize = fd.find_all("span", class_="beforeDiscount--W1C4G")
for fp in actualPrize:
project_item.append(fp.text)
one.append([*project_item])
all_project.append([*one])
proj = []
for i in range(len(all_project)):
data = all_project[i]
for j in range(len(data)):
dj = data[j]
for k in range(len(dj)):
bb = dj[k]
proj.append(bb)
lis = ["평균 평점","후기","판매가","원할인률","할인 전 가격", "할인률"]
for i in range(len(proj)):
for j in range(len(lis)):
if lis[j] in proj[i]:
proj[i] = proj[i].replace(lis[j], " ")
rdiv = soup.find_all('div', class_ = "listSection--kViCl")
reviews_user = []
reviews_rating = []
reviews_heading = []
reviews_text = []
for eachr in rdiv:
ee = eachr.find_all('div', class_ = "reviewItem--1OwNO")
for each in ee:
name = each.find_all('span', class_ = ["item--3sQA9 ","nickname--2OOe6"])
for nm in name:
reviews_user.append(nm.text)
rating = each.find_all('div', class_ = ["expertPoint--2Zrvr","expertPoint--13H3V"])
for r in rating:
b = r.text
if "평점" in b:
b = b.replace("평점", "")
reviews_rating.append(b)
head = each.find_all('div', class_ = "reviewTitle--qv3Pk")
for r in head:
reviews_heading.append(r.text)
commentdiv = each.find_all('p', class_ = "reviewText--28mzN")
for ecom in commentdiv:
reviews_text.append(ecom.text)
review_obj = []
for i in range(len(reviews_user)):
review_obj.append(reviews_user[i])
review_obj.append(reviews_heading[i])
review_obj.append(reviews_rating[i])
review_obj.append(reviews_text[i])
#final works
all_user.append([url,*basic, *maininfo, *profile, *products, *review_obj ,*proj])
driver.quit()
except :
driver.quit()
print("Error")
try:
df = pd.DataFrame(all_user)
main = []
for index, row in df.iterrows():
if row[3] in ['법률','노동/노무','지식재산/특허',"등기/공탁/법무",'민원/행정']:
main.append("법률")
elif row[3] in ['세금/세무','회계/감사','통관/관세','온라인 마케팅','온라인쇼핑몰','엑스퍼트 사업','경영/기술컨설팅','유통관리','가맹점창업','건축','번역/통역','날씨컨설팅','원가 분석']:
main.append('비즈니스',)
elif row[3] in ['자산컨설팅','부동산 상담','손해사정','신용상담','감정평가']:
main.append("금융/재테크")
elif row[3] in ['심리상담','영양/다이어트','MBTI ']:
main.append("건강")
elif row[3] in ['운세/사주','타로카드','작명','꿈해몽','관상','풍수']:
main.append("운세")
elif row[3] in ['펫 관리','연애','육아','명상','패션/스타일','뷰티','요리/홈쿠킹','커피/주류','인테리어','청소/세탁','교통사고 분석','자동차수리']:
main.append("생활")
elif row[3] in ['음악/악기','미술/디자인','공예/공방','무용/ 발레','사진','실용/방송댄스','뮤지컬/공연','낚시','원예/홈가드닝','여행','글쓰기/논술']:
main.append("취미")
elif row[3] in ['외국어학습','입시/진학','해외유학','대학교학습','고등학교학습','중학교학습','초등학교학습']:
main.append( '교육/학습')
elif row[3] in ['피트니스','골프','필라테스','요가','생활스포츠','자전거','수상 스포츠','동계 스포츠','유아체육']:
main.append('운동/스포츠')
elif row[3] in ['게임하우투','IT노하우','코딩','오피스문서','동영상 제작']:
main.append('IT/컨텐츠')
elif row[3] in ['라이프 코칭','취업','자기PR','공무원시험 ','자격증시험']:
main.append('자기계발')
else:
main.append('네이버고객센터')
df.insert(3, "main_category", main)
df.to_csv("DATA.csv")
except:
print("Error occured during data load to pd df")
# ######################################### Project data section ########################################
# ## Project data for one user
# projects = soup.find_all('div', class_ = 'listArea--peDdh')
# #projects and consultations
# one = []
# for y in projects:
# yy = y.find_all('div', class_ = 'item--1ZJSx')
# for t in yy:
# project_item = []
# adiv = t.find_all('a', class_ =['itemCard--2Whvq','ItemSmallThumbnail_itemCard--196nY','productCard--1WjeX'])
# for div in adiv:
# eachdiv = div.find_all('div', class_ =['itemLink--2ljnw'])
# for e in eachdiv:
# ed = e.find_all('div', class_ =['itemBox--3y657'])
# for each in ed:
# ee = each.find_all('div', class_ =['itemInfo--24tcX'])
# for eee in ee:
# title = eee.find_all('div', class_ =['itemTitle--2vWBq','elip2--nFWXY'])
# for t in title:
# project_item.append([t.text])
# title = project_item[0][0]
# print(title)
# project_item.append(project_title)
# ratdiv = t.find_all('div', class_ =['itemGroup--2RnIL','ItemGroup_itemGroup--1f-on'])
# for rd in ratdiv:
# each = rd.find_all('div')
# for e in each:
# project_item.append(e)
# feediv = t.find_all('div', class_ = ['itemPrice--cscFn','ItemPrice_itemPrice--1dTfW','alignCenter--2NQfI'])
# for fd in feediv:
# fee = fd.find_all("span", class_ = ['priceNum--1rXJI','ItemPrice_priceNum--2OFHI'])
# for f in fee:
# project_item.append(f.text)
# one.append([*project_item])
# all_project.append(one)
# p = []
# for i in range(len(all_project)):
# data = all_project[i]
# for j in range(len(data)):
# dj = data[j]
# for k in range(len(dj)):
# bb = dj[k]
# p.append(bb)
| [
2,
33332,
262,
2672,
13103,
198,
11748,
7007,
198,
6738,
275,
82,
19,
1330,
23762,
50,
10486,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
384,
11925,
1505,
1330,
3992,
26230,
198,
11748,
640,
198,
30094,
13,
25811,
13,
13812,
13,
9806,
62,
28665,
82,
796,
36006,
198,
30094,
13,
25811,
13,
13812,
13,
9806,
62,
8516,
796,
36006,
198,
198,
7568,
796,
279,
67,
13,
961,
62,
40664,
10786,
3605,
62,
13317,
62,
28751,
13,
40664,
11537,
198,
7568,
796,
47764,
13,
14781,
7,
17816,
3118,
13190,
25,
657,
6,
4357,
16488,
796,
352,
8,
220,
198,
7568,
14692,
15,
8973,
198,
489,
796,
1351,
7,
7568,
14692,
15,
8973,
8,
198,
439,
62,
7220,
796,
17635,
628,
198,
1640,
1312,
287,
2837,
7,
11925,
7,
489,
8,
2599,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
530,
62,
7220,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
39516,
1058,
1600,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
458,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4639,
796,
3992,
26230,
13,
1925,
5998,
7,
81,
6,
34,
7479,
14490,
59,
11006,
59,
28663,
276,
38291,
62,
5404,
2624,
59,
28663,
276,
38291,
13,
13499,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
4639,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
18,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4096,
1366,
22236,
198,
220,
220,
220,
220,
220,
220,
220,
4096,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
2723,
62,
8189,
796,
4639,
13,
7700,
62,
10459,
198,
220,
220,
220,
220,
220,
220,
220,
17141,
796,
23762,
50,
10486,
7,
10459,
62,
8189,
11,
705,
6494,
13,
48610,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
17141,
13,
19796,
62,
439,
10786,
11576,
3256,
1398,
62,
796,
705,
7220,
5376,
438,
16,
34892,
2998,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
299,
287,
1438,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4096,
13,
33295,
7,
77,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
599,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
22872,
5376,
438,
16,
89,
54,
83,
32,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
6536,
796,
17141,
13,
19796,
62,
439,
10786,
11576,
3256,
1398,
62,
796,
705,
600,
305,
27313,
438,
37,
6659,
30630,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
304,
287,
6536,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4096,
13,
33295,
7,
68,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
599,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
22872,
5376,
438,
16,
89,
54,
83,
32,
11537,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
329,
285,
287,
599,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4096,
13,
33295,
7,
76,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
7955,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
9186,
29321,
438,
15277,
34970,
2378,
29321,
438,
17,
12,
81,
37,
85,
2099,
21968,
438,
16,
66,
3620,
45,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
7955,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
479,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
169,
237,
231,
166,
115,
254,
220,
169,
237,
231,
168,
254,
238,
1,
287,
257,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
796,
257,
13,
33491,
7203,
169,
237,
231,
166,
115,
254,
220,
169,
237,
231,
168,
254,
238,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4096,
13,
33295,
7,
64,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
44386,
4935,
1366,
329,
530,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
1388,
10951,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
1167,
418,
796,
17141,
13,
19796,
62,
439,
10786,
377,
3256,
1398,
62,
796,
705,
11167,
12360,
8053,
438,
16,
12,
39,
12,
35,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
1167,
418,
25,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7649,
796,
277,
13,
19796,
62,
439,
10786,
4528,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
32660,
287,
7649,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21480,
796,
14631,
167,
234,
222,
169,
239,
250,
168,
252,
238,
2430,
168,
225,
223,
169,
246,
116,
167,
103,
227,
2430,
168,
8955,
168,
245,
227,
168,
252,
238,
167,
241,
109,
167,
94,
251,
167,
110,
230,
169,
246,
116,
2430,
169,
228,
113,
168,
233,
254,
169,
234,
238,
167,
100,
97,
168,
245,
227,
167,
110,
230,
169,
246,
116,
12,
1600,
366,
168,
8955,
168,
245,
227,
168,
252,
98,
23821,
96,
120,
168,
228,
234,
1600,
366,
166,
111,
254,
166,
108,
251,
168,
226,
120,
169,
226,
108,
1600,
6,
167,
102,
242,
35975,
120,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
334,
287,
2837,
7,
11925,
7,
7456,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
21480,
58,
84,
60,
287,
32660,
13,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
21480,
58,
84,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8591,
796,
32660,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
10951,
13,
33295,
7,
5031,
13,
33491,
7,
65,
837,
13538,
4008,
220,
220,
220,
628,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
9127,
1720,
290,
2423,
2665,
198,
220,
220,
220,
220,
220,
220,
220,
3186,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
256,
83,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
366,
4868,
438,
68,
21,
86,
20,
36,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
256,
287,
256,
83,
25,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
796,
256,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
11639,
9127,
438,
17,
86,
20,
78,
21,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
22927,
287,
36624,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22927,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
366,
9127,
438,
17,
86,
20,
78,
21,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2906,
796,
22927,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3186,
13,
33295,
7,
344,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13317,
4175,
602,
198,
220,
220,
220,
220,
220,
220,
220,
7034,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
9087,
796,
17141,
13,
19796,
62,
439,
10786,
11576,
3256,
1398,
62,
796,
705,
27427,
344,
13383,
19160,
438,
17,
44,
57,
66,
12,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
289,
287,
9087,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7034,
13,
33295,
7,
71,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
17141,
13,
19796,
62,
439,
10786,
79,
3256,
1398,
62,
796,
705,
27427,
344,
8206,
438,
17,
49,
20,
79,
56,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
304,
287,
2420,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7034,
13,
33295,
7,
68,
13,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3605,
2665,
198,
220,
220,
220,
220,
220,
220,
220,
664,
296,
796,
17141,
13,
19796,
62,
439,
10786,
377,
3256,
1398,
62,
796,
705,
4868,
15642,
438,
16,
34,
66,
1795,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
48321,
287,
664,
296,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7034,
13,
33295,
7,
6015,
13,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
1334,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
37250,
13317,
17784,
263,
438,
18,
62,
84,
37,
71,
41707,
271,
3109,
11766,
438,
17,
38,
74,
5631,
6,
12962,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
329,
8085,
287,
1334,
25,
220,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8085,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
13317,
14253,
438,
16,
73,
6404,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
329,
285,
287,
1334,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
366,
6651,
263,
33308,
438,
17,
12,
71,
55,
19,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7034,
13,
33295,
7,
72,
13,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
44386,
4935,
1366,
329,
530,
2836,
198,
220,
220,
220,
220,
220,
220,
220,
4493,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
4868,
30547,
438,
431,
35,
34985,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
42068,
220,
290,
42052,
220,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
16302,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
331,
287,
4493,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
530,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
88,
796,
331,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
9186,
438,
16,
57,
20120,
87,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
256,
287,
331,
88,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
7146,
796,
256,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
19160,
438,
17,
85,
45607,
80,
41707,
417,
541,
17,
438,
77,
24160,
34278,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
41560,
287,
256,
7146,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
7839,
796,
41560,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
16302,
62,
7839,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4227,
7146,
796,
256,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
13247,
438,
17,
49,
77,
4146,
41707,
7449,
13247,
62,
9186,
13247,
438,
16,
69,
12,
261,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
67,
287,
4227,
7146,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13623,
7295,
796,
374,
67,
13,
19796,
62,
439,
7203,
7146,
1600,
1398,
62,
796,
366,
9186,
29321,
438,
15277,
34970,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
287,
13623,
7295,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
374,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
169,
237,
231,
166,
115,
254,
220,
169,
237,
231,
168,
254,
238,
1,
287,
275,
25,
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,
275,
796,
275,
13,
33491,
7203,
169,
237,
231,
166,
115,
254,
220,
169,
237,
231,
168,
254,
238,
1600,
366,
366,
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,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
65,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4227,
19023,
796,
374,
67,
13,
19796,
62,
439,
7203,
7146,
1600,
1398,
62,
796,
366,
9186,
12332,
438,
17,
39,
82,
41,
85,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
81,
287,
4227,
19023,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
796,
374,
81,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
169,
249,
226,
166,
116,
108,
1,
287,
269,
25,
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,
269,
796,
269,
13,
33491,
7203,
169,
249,
226,
166,
116,
108,
1600,
366,
366,
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,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
66,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3745,
452,
796,
256,
13,
19796,
62,
439,
10786,
12626,
3256,
1398,
62,
796,
17816,
20888,
818,
1008,
438,
16,
13909,
17,
85,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
277,
67,
287,
3745,
452,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6838,
796,
277,
67,
13,
19796,
62,
439,
7203,
12626,
1600,
1398,
62,
28,
14692,
20888,
33111,
438,
16,
81,
55,
41,
40,
2430,
7449,
18124,
62,
20888,
33111,
438,
17,
19238,
25374,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
6838,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
69,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9780,
796,
277,
67,
13,
19796,
62,
439,
7203,
368,
1600,
1398,
62,
2625,
15410,
608,
31905,
438,
18,
77,
15,
2436,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
595,
287,
9780,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
6381,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4036,
34487,
2736,
796,
277,
67,
13,
19796,
62,
439,
7203,
12626,
1600,
1398,
62,
2625,
19052,
15642,
608,
438,
54,
16,
34,
19,
38,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
277,
79,
287,
4036,
34487,
2736,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
46428,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
530,
13,
33295,
26933,
9,
16302,
62,
9186,
12962,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
477,
62,
16302,
13,
33295,
26933,
9,
505,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
386,
73,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
439,
62,
16302,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
477,
62,
16302,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
2837,
7,
11925,
7,
7890,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42625,
796,
1366,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
2837,
7,
11925,
7,
28241,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
65,
796,
42625,
58,
74,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
13,
33295,
7,
11848,
8,
220,
628,
220,
220,
220,
220,
220,
220,
220,
300,
271,
796,
14631,
169,
237,
231,
166,
115,
254,
220,
169,
237,
231,
168,
254,
238,
2430,
169,
249,
226,
166,
116,
108,
2430,
169,
234,
238,
167,
100,
97,
166,
108,
222,
2430,
168,
249,
238,
47991,
254,
35975,
116,
167,
98,
254,
2430,
47991,
254,
35975,
116,
23821,
254,
226,
220,
166,
108,
222,
166,
110,
102,
1600,
366,
47991,
254,
35975,
116,
167,
98,
254,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
1676,
73,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
2837,
7,
11925,
7,
27999,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
300,
271,
58,
73,
60,
287,
386,
73,
58,
72,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
386,
73,
58,
72,
60,
796,
386,
73,
58,
72,
4083,
33491,
7,
27999,
58,
73,
4357,
366,
366,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
374,
7146,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
366,
4868,
16375,
438,
74,
38432,
2601,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
7220,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
8821,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
33878,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
5239,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
329,
1123,
81,
287,
374,
7146,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
68,
796,
1123,
81,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
366,
19023,
7449,
438,
16,
46,
86,
15285,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1123,
287,
304,
68,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
1123,
13,
19796,
62,
439,
10786,
12626,
3256,
1398,
62,
796,
14631,
9186,
438,
18,
82,
48,
32,
24,
366,
553,
17172,
3672,
438,
17,
6684,
68,
21,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
28642,
287,
1438,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
7220,
13,
33295,
7,
21533,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7955,
796,
1123,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
14631,
1069,
11766,
12727,
438,
17,
57,
81,
37020,
2430,
1069,
11766,
12727,
438,
1485,
39,
18,
53,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
287,
7955,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
374,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
169,
237,
231,
168,
254,
238,
1,
287,
275,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
796,
275,
13,
33491,
7203,
169,
237,
231,
168,
254,
238,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
8821,
13,
33295,
7,
65,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1182,
796,
1123,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
366,
19023,
19160,
438,
44179,
18,
47,
74,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
287,
1182,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
33878,
13,
33295,
7,
81,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2912,
7146,
796,
1123,
13,
19796,
62,
439,
10786,
79,
3256,
1398,
62,
796,
366,
19023,
8206,
438,
2078,
76,
89,
45,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
304,
785,
287,
2912,
7146,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8088,
62,
5239,
13,
33295,
7,
721,
296,
13,
5239,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2423,
62,
26801,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
19023,
82,
62,
7220,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2423,
62,
26801,
13,
33295,
7,
19023,
82,
62,
7220,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2423,
62,
26801,
13,
33295,
7,
19023,
82,
62,
33878,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2423,
62,
26801,
13,
33295,
7,
19023,
82,
62,
8821,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2423,
62,
26801,
13,
33295,
7,
19023,
82,
62,
5239,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
20311,
2499,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
7220,
13,
33295,
26933,
6371,
11,
9,
35487,
11,
1635,
12417,
10951,
11,
1635,
13317,
11,
1635,
29498,
11,
1635,
19023,
62,
26801,
837,
9,
1676,
73,
12962,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
4639,
13,
47391,
3419,
198,
220,
220,
220,
2845,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
4639,
13,
47391,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
12331,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
28311,
25,
198,
220,
220,
220,
47764,
796,
279,
67,
13,
6601,
19778,
7,
439,
62,
7220,
8,
198,
220,
220,
220,
1388,
796,
17635,
198,
220,
220,
220,
329,
6376,
11,
5752,
287,
47764,
13,
2676,
8516,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
58,
18,
60,
287,
37250,
167,
110,
243,
167,
98,
254,
41707,
167,
227,
116,
167,
237,
247,
14,
167,
227,
116,
167,
105,
112,
41707,
168,
100,
222,
168,
233,
251,
168,
252,
105,
168,
224,
108,
14,
169,
232,
117,
169,
245,
230,
40264,
167,
241,
109,
166,
116,
108,
14,
166,
111,
113,
169,
225,
223,
14,
167,
110,
243,
167,
105,
112,
1600,
6,
167,
107,
120,
168,
249,
238,
14,
169,
244,
231,
168,
254,
243,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7203,
167,
110,
243,
167,
98,
254,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
168,
226,
116,
166,
116,
230,
14,
168,
226,
116,
167,
105,
112,
41707,
169,
248,
234,
166,
111,
226,
14,
166,
108,
238,
168,
8955,
41707,
169,
228,
113,
166,
112,
222,
14,
166,
112,
222,
168,
226,
116,
41707,
168,
246,
101,
167,
251,
120,
35975,
116,
31619,
100,
230,
168,
120,
222,
169,
234,
227,
41707,
168,
246,
101,
167,
251,
120,
35975,
116,
168,
229,
120,
47991,
239,
167,
103,
108,
41707,
168,
245,
239,
168,
232,
97,
169,
235,
120,
169,
232,
116,
23821,
8955,
168,
245,
227,
41707,
166,
110,
121,
168,
246,
223,
14,
166,
116,
108,
168,
230,
254,
168,
119,
101,
168,
226,
97,
169,
234,
227,
41707,
168,
250,
254,
169,
228,
113,
166,
112,
222,
167,
99,
105,
41707,
166,
108,
222,
167,
100,
117,
168,
254,
238,
168,
108,
121,
168,
245,
227,
41707,
166,
109,
112,
168,
114,
243,
41707,
167,
110,
230,
168,
245,
255,
14,
169,
228,
113,
168,
245,
255,
41707,
167,
224,
254,
168,
242,
101,
168,
119,
101,
168,
226,
97,
169,
234,
227,
41707,
168,
249,
238,
166,
108,
222,
31619,
114,
226,
168,
226,
251,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
10786,
167,
117,
226,
168,
99,
230,
46695,
230,
168,
232,
97,
3256,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
168,
252,
238,
168,
224,
108,
168,
119,
101,
168,
226,
97,
169,
234,
227,
41707,
167,
114,
222,
167,
237,
247,
168,
224,
108,
23821,
225,
223,
46695,
112,
41707,
168,
228,
238,
47991,
112,
168,
8955,
168,
254,
243,
41707,
168,
233,
254,
168,
248,
102,
168,
225,
223,
46695,
112,
41707,
166,
108,
238,
168,
254,
243,
169,
237,
231,
166,
108,
222,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7203,
166,
116,
230,
168,
250,
113,
14,
168,
252,
105,
169,
227,
234,
169,
223,
105,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
168,
233,
105,
167,
99,
105,
168,
225,
223,
46695,
112,
41707,
168,
246,
223,
168,
244,
239,
14,
46695,
97,
35975,
112,
168,
244,
112,
169,
232,
116,
41707,
10744,
25621,
705,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7203,
166,
109,
112,
166,
108,
243,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
168,
248,
112,
168,
226,
116,
14,
168,
8955,
168,
96,
120,
41707,
169,
225,
222,
167,
94,
250,
168,
117,
112,
167,
241,
250,
41707,
168,
252,
239,
167,
103,
227,
41707,
166,
123,
230,
47991,
112,
167,
103,
121,
41707,
166,
112,
222,
168,
225,
223,
41707,
169,
240,
235,
168,
230,
246,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7203,
168,
248,
112,
168,
226,
116,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
169,
236,
104,
220,
166,
112,
222,
167,
99,
105,
41707,
168,
245,
108,
168,
243,
254,
41707,
168,
250,
94,
168,
243,
226,
41707,
167,
103,
227,
168,
225,
223,
41707,
169,
234,
101,
168,
227,
246,
14,
168,
232,
97,
169,
225,
222,
35975,
120,
41707,
167,
115,
108,
169,
233,
108,
41707,
168,
248,
242,
167,
99,
105,
14,
169,
247,
230,
168,
123,
254,
169,
224,
117,
41707,
168,
119,
97,
169,
242,
120,
14,
168,
96,
120,
167,
98,
246,
41707,
35975,
116,
169,
227,
234,
167,
99,
105,
168,
244,
112,
41707,
168,
110,
255,
168,
228,
234,
14,
168,
226,
116,
169,
225,
223,
41707,
166,
113,
238,
169,
228,
113,
168,
8955,
166,
111,
254,
31619,
114,
226,
168,
226,
251,
41707,
168,
252,
238,
167,
237,
247,
168,
108,
101,
168,
230,
246,
167,
99,
105,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7203,
168,
225,
251,
169,
247,
250,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
35975,
234,
168,
243,
227,
14,
168,
243,
227,
166,
116,
108,
41707,
167,
107,
116,
168,
230,
254,
14,
167,
242,
242,
168,
252,
238,
35975,
116,
41707,
166,
111,
113,
168,
246,
230,
14,
166,
111,
113,
167,
108,
102,
41707,
167,
105,
112,
168,
248,
102,
14,
31619,
108,
250,
167,
254,
230,
41707,
168,
8955,
168,
100,
226,
41707,
168,
233,
97,
168,
248,
102,
14,
167,
108,
102,
168,
228,
94,
167,
234,
226,
168,
232,
97,
41707,
167,
106,
97,
168,
100,
222,
168,
119,
105,
14,
166,
111,
113,
168,
245,
108,
41707,
167,
224,
248,
168,
233,
250,
41707,
168,
249,
238,
168,
246,
230,
14,
169,
247,
230,
166,
108,
222,
167,
241,
250,
46695,
251,
41707,
168,
245,
105,
169,
244,
231,
41707,
166,
116,
222,
168,
241,
108,
166,
116,
108,
14,
167,
227,
120,
168,
230,
254,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7203,
168,
115,
101,
167,
107,
116,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
168,
247,
116,
166,
113,
255,
168,
244,
112,
47991,
247,
168,
232,
113,
41707,
168,
252,
227,
168,
233,
250,
14,
168,
100,
226,
47991,
247,
41707,
47991,
112,
168,
247,
116,
168,
250,
254,
47991,
247,
41707,
167,
234,
222,
47991,
247,
166,
113,
238,
47991,
247,
168,
232,
113,
41707,
166,
111,
254,
167,
241,
109,
47991,
247,
166,
113,
238,
47991,
247,
168,
232,
113,
41707,
168,
97,
239,
47991,
247,
166,
113,
238,
47991,
247,
168,
232,
113,
41707,
168,
112,
230,
167,
241,
109,
47991,
247,
166,
113,
238,
47991,
247,
168,
232,
113,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
7,
705,
166,
113,
238,
168,
250,
94,
14,
47991,
247,
168,
232,
113,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
169,
242,
120,
169,
232,
116,
46695,
230,
168,
232,
97,
41707,
166,
111,
101,
169,
242,
226,
41707,
47991,
226,
167,
251,
120,
169,
227,
234,
168,
232,
97,
41707,
168,
248,
242,
166,
108,
222,
41707,
168,
225,
251,
169,
247,
250,
168,
232,
97,
169,
237,
105,
168,
116,
254,
41707,
168,
252,
238,
168,
254,
226,
166,
109,
108,
41707,
168,
230,
246,
168,
225,
223,
23821,
232,
97,
169,
237,
105,
168,
116,
254,
41707,
167,
237,
247,
166,
111,
226,
23821,
232,
97,
169,
237,
105,
168,
116,
254,
41707,
168,
250,
254,
168,
243,
226,
168,
110,
112,
168,
250,
94,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
10786,
168,
248,
112,
167,
237,
247,
14,
168,
232,
97,
169,
237,
105,
168,
116,
254,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
166,
110,
234,
168,
252,
226,
47991,
246,
168,
248,
108,
169,
230,
105,
41707,
2043,
167,
227,
116,
47991,
246,
168,
248,
108,
41707,
168,
121,
242,
167,
242,
102,
41707,
168,
246,
97,
169,
242,
120,
168,
232,
97,
167,
105,
116,
168,
226,
250,
41707,
167,
237,
247,
168,
246,
223,
168,
225,
223,
23821,
254,
250,
168,
252,
239,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
10786,
2043,
14,
168,
119,
101,
169,
227,
238,
168,
116,
254,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5752,
58,
18,
60,
287,
37250,
167,
251,
120,
35975,
112,
169,
242,
226,
23821,
121,
242,
168,
117,
255,
41707,
168,
115,
101,
168,
245,
227,
41707,
168,
252,
238,
166,
116,
108,
4805,
41707,
166,
111,
113,
167,
105,
112,
168,
249,
238,
168,
233,
250,
169,
245,
246,
705,
4032,
168,
252,
238,
166,
110,
102,
168,
99,
251,
168,
233,
250,
169,
245,
246,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
10786,
168,
252,
238,
166,
116,
108,
166,
111,
226,
167,
108,
250,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1388,
13,
33295,
10786,
167,
226,
97,
35975,
112,
167,
110,
226,
166,
111,
254,
166,
108,
251,
168,
226,
120,
169,
226,
108,
11537,
628,
220,
220,
220,
47764,
13,
28463,
7,
18,
11,
366,
12417,
62,
22872,
1600,
1388,
8,
198,
220,
220,
220,
47764,
13,
1462,
62,
40664,
7203,
26947,
13,
40664,
4943,
198,
198,
16341,
25,
198,
220,
220,
220,
3601,
7203,
12331,
1609,
1522,
1141,
1366,
3440,
284,
279,
67,
47764,
4943,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
1303,
29113,
7804,
4935,
1366,
2665,
1303,
29113,
4242,
21017,
198,
2,
220,
220,
220,
220,
22492,
4935,
1366,
329,
530,
2836,
198,
2,
220,
220,
220,
220,
4493,
796,
17141,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
4868,
30547,
438,
431,
35,
34985,
11537,
198,
2,
220,
220,
220,
220,
1303,
42068,
220,
290,
42052,
220,
198,
2,
220,
220,
220,
220,
530,
796,
17635,
220,
220,
220,
198,
2,
220,
220,
220,
220,
329,
331,
287,
4493,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
331,
88,
796,
331,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
705,
9186,
438,
16,
57,
20120,
87,
11537,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
329,
256,
287,
331,
88,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
796,
17635,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
512,
452,
796,
256,
13,
19796,
62,
439,
10786,
64,
3256,
1398,
62,
796,
17816,
9186,
16962,
438,
17,
1199,
85,
80,
41707,
7449,
18712,
35523,
62,
9186,
16962,
438,
25272,
77,
56,
41707,
11167,
16962,
438,
16,
54,
18015,
55,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2659,
287,
512,
452,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1123,
7146,
796,
2659,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
11280,
438,
17,
75,
73,
47516,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
304,
287,
1123,
7146,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1225,
796,
304,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
14253,
438,
18,
88,
37680,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1123,
287,
1225,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
68,
796,
1123,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
12360,
438,
1731,
23047,
55,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
304,
1453,
287,
304,
68,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
304,
1453,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
19160,
438,
17,
85,
45607,
80,
41707,
417,
541,
17,
438,
77,
24160,
34278,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
256,
287,
3670,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
26933,
83,
13,
5239,
12962,
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,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
1628,
62,
9186,
58,
15,
7131,
15,
60,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
7839,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
16302,
62,
7839,
8,
198,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4227,
7146,
796,
256,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
17816,
9186,
13247,
438,
17,
49,
77,
4146,
41707,
7449,
13247,
62,
9186,
13247,
438,
16,
69,
12,
261,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
374,
67,
287,
4227,
7146,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1123,
796,
374,
67,
13,
19796,
62,
439,
10786,
7146,
11537,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
304,
287,
1123,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
68,
8,
198,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3745,
452,
796,
256,
13,
19796,
62,
439,
10786,
7146,
3256,
1398,
62,
796,
37250,
9186,
18124,
438,
66,
1416,
37,
77,
41707,
7449,
18124,
62,
9186,
18124,
438,
16,
67,
51,
69,
54,
41707,
31494,
23656,
438,
17,
45,
48,
69,
40,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
277,
67,
287,
3745,
452,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6838,
796,
277,
67,
13,
19796,
62,
439,
7203,
12626,
1600,
1398,
62,
796,
37250,
20888,
33111,
438,
16,
81,
55,
41,
40,
41707,
7449,
18124,
62,
20888,
33111,
438,
17,
19238,
25374,
6,
12962,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
277,
287,
6838,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
62,
9186,
13,
33295,
7,
69,
13,
5239,
8,
220,
220,
220,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
530,
13,
33295,
26933,
9,
16302,
62,
9186,
12962,
220,
220,
220,
198,
2,
220,
220,
220,
220,
477,
62,
16302,
13,
33295,
7,
505,
8,
198,
220,
220,
220,
220,
198,
2,
220,
220,
220,
220,
279,
796,
17635,
198,
2,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
439,
62,
16302,
8,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
477,
62,
16302,
58,
72,
60,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
2837,
7,
11925,
7,
7890,
8,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42625,
796,
1366,
58,
73,
60,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
479,
287,
2837,
7,
11925,
7,
28241,
8,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
65,
796,
42625,
58,
74,
60,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
279,
13,
33295,
7,
11848,
8,
198
] | 1.489299 | 7,803 |
import math
import cv2 as cv
import numpy as np
from scipy.ndimage.filters import convolve
from scipy import ndimage
from matplotlib import pyplot as plt
import matplotlib.image as mpimg
def get_sobel_kernel(im):
"""Takes in smoothed images then do matrix multiplication with Sobel kernel to get the gradient magnitude and angle
Parameters
----------
im
input image
Returns
-------
gradient
gradient magnitude of sobel filter
theta
the angle of sobel filter
"""
kernel_x = np.array([[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]], np.float32)
kernel_y = np.array([[1, 2, 1], [0, 0, 0], [-1, -2, -1]], np.float32)
image_x = ndimage.filters.convolve(im, kernel_x)
image_y = ndimage.filters.convolve(im, kernel_y)
gradient = np.hypot(image_x, image_y)
gradient = gradient / gradient.max() * 255
theta = np.arctan2(image_y, image_x)
return (gradient, theta)
def non_max_supression(grad_im, theta):
"""Goes thru all points on the gradient intensity matrix to finds the pixels with the max value in the edge directions
Parameters
----------
grad_im
gradient magnitude from sobel filter
theta
angle from sobel filter
Returns
-------
out_im
output image
"""
row, col = grad_im.shape # M, N
out_im = np.zeros((row, col), dtype=np.int32)
angle = theta*180. / np.pi
angle[angle < 0] += 180
for i in range(1,row-1):
for j in range(1,col-1):
q = 255
r = 255
# for angle 0
if (0 <= angle[i,j] < 22.5) or (157.5 <= angle[i,j] <= 180):
q = grad_im[i, j+1]
r = grad_im[i, j-1]
# for angle 45
elif (22.5 <= angle[i,j] < 67.5):
q = grad_im[i+1, j-1]
r = grad_im[i-1, j+1]
# for angle 90
elif (67.5 <= angle[i,j] < 112.5):
q = grad_im[i+1, j]
r = grad_im[i-1, j]
# for angle 135
elif (112.5 <= angle[i,j] < 157.5):
q = grad_im[i-1, j-1]
r = grad_im[i+1, j+1]
if (grad_im[i,j] >= q) and (grad_im[i,j] >= r):
out_im[i,j] = grad_im[i,j]
else:
out_im[i,j] = 0
return out_im
def double_threshold(im, ltr, htr):
"""Double threshold aim to identify strong, weak, and non-relevant pixels
Parameters
----------
im
input image
ltr
low threshold ratio
htr
high threshold ratio
Returns
-------
weak
weak pixel that has intensity value that is not enough to be considered strong ones, but not non-relevant
strong
pixel with very high intensity
res
non-relevant pixel, not high, not low
"""
high_thres = im.max() * htr
low_thres = high_thres * ltr
row, col = im.shape
res = np.zeros((row,col), dtype=np.int32)
weak = np.int32(25)
strong = np.int32(255)
strong_i, strong_j = np.where(im >= high_thres)
zeros_i, zeros_j = np.where(im < low_thres)
weak_i, weak_j = np.where((im <= high_thres) & (im >= low_thres))
res[strong_i, strong_j] = strong
res[weak_i, weak_j] = weak
return (res, weak, strong)
def hysteresis(im, weak, strong=255):
"""Transforms weak pixel into strong ones if at least 1 pixel around the one being processed is a strong one
Parameters
----------
im
input image
weak
weak pixel that has intensity value that is not enough to be considered strong ones, but not non-relevant
strong
pixel with very high intensity
Returns
-------
im
output result image
"""
row, col = im.shape
for i in range(1, row-1):
for j in range(1, col-1):
if (im[i,j] == weak):
if ((im[i+1, j-1] == strong) or (im[i+1, j] == strong) or (im[i+1, j+1] == strong)
or (im[i, j-1] == strong) or (im[i, j+1] == strong)
or (im[i-1, j-1] == strong) or (im[i-1, j] == strong) or (im[i-1, j+1] == strong)):
im[i, j] = strong
else:
im[i, j] = 0
return im
def rgb2gray(rgb):
"""Transform 3 colors channels image to grayscale
Parameters
----------
rgb
input image rgb
Returns
-------
np.dot
grayscale image
"""
return np.dot(rgb[...,:3], [0.2989, 0.5870, 0.1140])
def canny(origin_img):
"""Applies Canny Edge Detection Steps
Parameters
----------
origin_img
input original image
Returns
-------
im_final
final output edge-detected image
"""
origin_img = rgb2gray(origin_img)
origin_img = origin_img/255.0
# blur image with Gaussian filter with sigma = 2,8,16
filtered_im1 = cv.GaussianBlur(origin_img, (0,0), 2)
filtered_im2 = cv.GaussianBlur(origin_img, (0,0), 8)
filtered_im3 = cv.GaussianBlur(origin_img, (0,0), 16)
# apply Canny edge detectors with the scales you choose to detect edges
grad_mag1, angle1 = get_sobel_kernel(filtered_im1)
grad_mag2, angle2 = get_sobel_kernel(filtered_im2)
grad_mag3, angle3 = get_sobel_kernel(filtered_im3)
# apply non-max-suppression
im_nms1 = non_max_supression(grad_mag1, angle1)
im_nms2 = non_max_supression(grad_mag2, angle2)
im_nms3 = non_max_supression(grad_mag3, angle3)
im_thres1, weak1, strong1 = double_threshold(im_nms1, ltr=0.07, htr=0.19)
im_thres2, weak2, strong2 = double_threshold(im_nms2, ltr=0.07, htr=0.19)
im_thres3, weak3, strong3 = double_threshold(im_nms3, ltr=0.07, htr=0.19)
im_hys1 = hysteresis(im_thres1, weak1, strong1)
im_hys2 = hysteresis(im_thres2, weak2, strong2)
im_hys3 = hysteresis(im_thres3, weak3, strong3)
im_final = im_hys1 + im_hys2 + im_hys3
im_final = im_final/3.0
# convert two 3 dim
if (im_final.ndim == 2):
im_final = np.expand_dims(im_final, axis = 2)
return im_final
| [
11748,
10688,
198,
11748,
269,
85,
17,
355,
269,
85,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
629,
541,
88,
13,
358,
9060,
13,
10379,
1010,
1330,
3063,
6442,
198,
6738,
629,
541,
88,
1330,
299,
67,
9060,
198,
6738,
2603,
29487,
8019,
1330,
12972,
29487,
355,
458,
83,
198,
11748,
2603,
29487,
8019,
13,
9060,
355,
29034,
9600,
628,
198,
4299,
651,
62,
568,
6667,
62,
33885,
7,
320,
2599,
198,
220,
220,
220,
37227,
51,
1124,
287,
32746,
704,
4263,
788,
466,
17593,
48473,
351,
36884,
417,
9720,
284,
651,
262,
31312,
14735,
290,
9848,
198,
220,
220,
220,
220,
198,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
545,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
2939,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
220,
220,
220,
220,
198,
220,
220,
220,
31312,
198,
220,
220,
220,
220,
220,
220,
220,
31312,
14735,
286,
523,
6667,
8106,
198,
220,
220,
220,
262,
8326,
198,
220,
220,
220,
220,
220,
220,
220,
262,
9848,
286,
523,
6667,
8106,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9720,
62,
87,
796,
45941,
13,
18747,
26933,
58,
12,
16,
11,
657,
11,
352,
4357,
25915,
17,
11,
657,
11,
362,
4357,
25915,
16,
11,
657,
11,
352,
60,
4357,
45941,
13,
22468,
2624,
8,
198,
220,
220,
220,
9720,
62,
88,
796,
45941,
13,
18747,
26933,
58,
16,
11,
362,
11,
352,
4357,
685,
15,
11,
657,
11,
657,
4357,
25915,
16,
11,
532,
17,
11,
532,
16,
60,
4357,
45941,
13,
22468,
2624,
8,
628,
220,
220,
220,
2939,
62,
87,
796,
299,
67,
9060,
13,
10379,
1010,
13,
42946,
6442,
7,
320,
11,
9720,
62,
87,
8,
198,
220,
220,
220,
2939,
62,
88,
796,
299,
67,
9060,
13,
10379,
1010,
13,
42946,
6442,
7,
320,
11,
9720,
62,
88,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
31312,
796,
45941,
13,
36362,
313,
7,
9060,
62,
87,
11,
2939,
62,
88,
8,
220,
198,
220,
220,
220,
31312,
796,
31312,
1220,
31312,
13,
9806,
3419,
1635,
14280,
198,
220,
220,
220,
262,
8326,
796,
45941,
13,
283,
310,
272,
17,
7,
9060,
62,
88,
11,
2939,
62,
87,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
357,
49607,
11,
262,
8326,
8,
198,
198,
4299,
1729,
62,
9806,
62,
37330,
2234,
7,
9744,
62,
320,
11,
262,
8326,
2599,
198,
220,
220,
220,
37227,
38,
3028,
33834,
477,
2173,
319,
262,
31312,
12245,
17593,
284,
7228,
262,
17848,
351,
262,
3509,
1988,
287,
262,
5743,
11678,
198,
220,
220,
220,
220,
198,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
3915,
62,
320,
198,
220,
220,
220,
220,
220,
220,
220,
31312,
14735,
422,
523,
6667,
8106,
198,
220,
220,
220,
262,
8326,
198,
220,
220,
220,
220,
220,
220,
220,
9848,
422,
523,
6667,
8106,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
503,
62,
320,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
2939,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5752,
11,
951,
796,
3915,
62,
320,
13,
43358,
1303,
337,
11,
399,
198,
220,
220,
220,
503,
62,
320,
796,
45941,
13,
9107,
418,
19510,
808,
11,
951,
828,
288,
4906,
28,
37659,
13,
600,
2624,
8,
198,
220,
220,
220,
9848,
796,
262,
8326,
9,
15259,
13,
1220,
45941,
13,
14415,
198,
220,
220,
220,
9848,
58,
9248,
1279,
657,
60,
15853,
11546,
628,
220,
220,
220,
329,
1312,
287,
2837,
7,
16,
11,
808,
12,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
2837,
7,
16,
11,
4033,
12,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
796,
14280,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
14280,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
9848,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
15,
19841,
9848,
58,
72,
11,
73,
60,
1279,
2534,
13,
20,
8,
393,
357,
18458,
13,
20,
19841,
9848,
58,
72,
11,
73,
60,
19841,
11546,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
796,
3915,
62,
320,
58,
72,
11,
474,
10,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
3915,
62,
320,
58,
72,
11,
474,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
9848,
4153,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
357,
1828,
13,
20,
19841,
9848,
58,
72,
11,
73,
60,
1279,
8275,
13,
20,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
796,
3915,
62,
320,
58,
72,
10,
16,
11,
474,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
3915,
62,
320,
58,
72,
12,
16,
11,
474,
10,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
9848,
4101,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
357,
3134,
13,
20,
19841,
9848,
58,
72,
11,
73,
60,
1279,
13539,
13,
20,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
796,
3915,
62,
320,
58,
72,
10,
16,
11,
474,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
3915,
62,
320,
58,
72,
12,
16,
11,
474,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
9848,
17501,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
357,
14686,
13,
20,
19841,
9848,
58,
72,
11,
73,
60,
1279,
23313,
13,
20,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
796,
3915,
62,
320,
58,
72,
12,
16,
11,
474,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
796,
3915,
62,
320,
58,
72,
10,
16,
11,
474,
10,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
9744,
62,
320,
58,
72,
11,
73,
60,
18189,
10662,
8,
290,
357,
9744,
62,
320,
58,
72,
11,
73,
60,
18189,
374,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
62,
320,
58,
72,
11,
73,
60,
796,
3915,
62,
320,
58,
72,
11,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
62,
320,
58,
72,
11,
73,
60,
796,
657,
198,
220,
220,
220,
1441,
503,
62,
320,
198,
198,
4299,
4274,
62,
400,
10126,
7,
320,
11,
300,
2213,
11,
289,
2213,
2599,
198,
220,
220,
220,
37227,
25628,
11387,
4031,
284,
5911,
1913,
11,
4939,
11,
290,
1729,
12,
49659,
17848,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
545,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
2939,
198,
220,
220,
220,
300,
2213,
198,
220,
220,
220,
220,
220,
220,
220,
1877,
11387,
8064,
198,
220,
220,
220,
289,
2213,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1029,
11387,
8064,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
4939,
198,
220,
220,
220,
220,
220,
220,
220,
4939,
17465,
326,
468,
12245,
1988,
326,
318,
407,
1576,
284,
307,
3177,
1913,
3392,
11,
475,
407,
1729,
12,
49659,
198,
220,
220,
220,
1913,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
351,
845,
1029,
12245,
198,
220,
220,
220,
581,
198,
220,
220,
220,
220,
220,
220,
220,
1729,
12,
49659,
17465,
11,
407,
1029,
11,
407,
1877,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1029,
62,
400,
411,
796,
545,
13,
9806,
3419,
1635,
289,
2213,
198,
220,
220,
220,
1877,
62,
400,
411,
796,
1029,
62,
400,
411,
1635,
300,
2213,
198,
220,
220,
220,
220,
198,
220,
220,
220,
5752,
11,
951,
796,
545,
13,
43358,
198,
220,
220,
220,
581,
796,
45941,
13,
9107,
418,
19510,
808,
11,
4033,
828,
288,
4906,
28,
37659,
13,
600,
2624,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
4939,
796,
45941,
13,
600,
2624,
7,
1495,
8,
198,
220,
220,
220,
1913,
796,
45941,
13,
600,
2624,
7,
13381,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1913,
62,
72,
11,
1913,
62,
73,
796,
45941,
13,
3003,
7,
320,
18189,
1029,
62,
400,
411,
8,
198,
220,
220,
220,
1976,
27498,
62,
72,
11,
1976,
27498,
62,
73,
796,
45941,
13,
3003,
7,
320,
1279,
1877,
62,
400,
411,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
4939,
62,
72,
11,
4939,
62,
73,
796,
45941,
13,
3003,
19510,
320,
19841,
1029,
62,
400,
411,
8,
1222,
357,
320,
18189,
1877,
62,
400,
411,
4008,
198,
220,
220,
220,
220,
198,
220,
220,
220,
581,
58,
11576,
62,
72,
11,
1913,
62,
73,
60,
796,
1913,
198,
220,
220,
220,
581,
58,
38695,
62,
72,
11,
4939,
62,
73,
60,
796,
4939,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
357,
411,
11,
4939,
11,
1913,
8,
198,
198,
4299,
2537,
4169,
411,
271,
7,
320,
11,
4939,
11,
1913,
28,
13381,
2599,
198,
220,
220,
220,
37227,
8291,
23914,
4939,
17465,
656,
1913,
3392,
611,
379,
1551,
352,
17465,
1088,
262,
530,
852,
13686,
318,
257,
1913,
530,
220,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
545,
220,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
2939,
198,
220,
220,
220,
4939,
198,
220,
220,
220,
220,
220,
220,
220,
4939,
17465,
326,
468,
12245,
1988,
326,
318,
407,
1576,
284,
307,
3177,
1913,
3392,
11,
475,
407,
1729,
12,
49659,
198,
220,
220,
220,
1913,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
351,
845,
1029,
12245,
198,
220,
220,
220,
220,
198,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
545,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
1255,
2939,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5752,
11,
951,
796,
545,
13,
43358,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
16,
11,
5752,
12,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
474,
287,
2837,
7,
16,
11,
951,
12,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
320,
58,
72,
11,
73,
60,
6624,
4939,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
14808,
320,
58,
72,
10,
16,
11,
474,
12,
16,
60,
6624,
1913,
8,
393,
357,
320,
58,
72,
10,
16,
11,
474,
60,
6624,
1913,
8,
393,
357,
320,
58,
72,
10,
16,
11,
474,
10,
16,
60,
6624,
1913,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
393,
357,
320,
58,
72,
11,
474,
12,
16,
60,
6624,
1913,
8,
393,
357,
320,
58,
72,
11,
474,
10,
16,
60,
6624,
1913,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
393,
357,
320,
58,
72,
12,
16,
11,
474,
12,
16,
60,
6624,
1913,
8,
393,
357,
320,
58,
72,
12,
16,
11,
474,
60,
6624,
1913,
8,
393,
357,
320,
58,
72,
12,
16,
11,
474,
10,
16,
60,
6624,
1913,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
545,
58,
72,
11,
474,
60,
796,
1913,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
545,
58,
72,
11,
474,
60,
796,
657,
198,
220,
220,
220,
1441,
545,
198,
198,
4299,
46140,
17,
44605,
7,
81,
22296,
2599,
198,
220,
220,
220,
37227,
41762,
513,
7577,
9619,
2939,
284,
1036,
592,
38765,
198,
220,
220,
220,
220,
198,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
46140,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
2939,
46140,
198,
220,
220,
220,
220,
198,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
45941,
13,
26518,
198,
220,
220,
220,
220,
220,
220,
220,
1036,
592,
38765,
2939,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
45941,
13,
26518,
7,
81,
22296,
58,
986,
11,
25,
18,
4357,
685,
15,
13,
1959,
4531,
11,
657,
13,
3365,
2154,
11,
657,
13,
1157,
1821,
12962,
198,
198,
4299,
460,
3281,
7,
47103,
62,
9600,
2599,
198,
220,
220,
220,
37227,
4677,
13508,
327,
7737,
13113,
46254,
32144,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
8159,
62,
9600,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
2656,
2939,
198,
220,
220,
220,
220,
198,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
545,
62,
20311,
198,
220,
220,
220,
220,
220,
220,
220,
2457,
5072,
5743,
12,
15255,
11197,
2939,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8159,
62,
9600,
796,
46140,
17,
44605,
7,
47103,
62,
9600,
8,
628,
220,
220,
220,
8159,
62,
9600,
796,
8159,
62,
9600,
14,
13381,
13,
15,
628,
220,
220,
220,
1303,
23671,
2939,
351,
12822,
31562,
8106,
351,
264,
13495,
796,
362,
11,
23,
11,
1433,
198,
220,
220,
220,
29083,
62,
320,
16,
796,
269,
85,
13,
35389,
31562,
3629,
333,
7,
47103,
62,
9600,
11,
357,
15,
11,
15,
828,
362,
8,
198,
220,
220,
220,
29083,
62,
320,
17,
796,
269,
85,
13,
35389,
31562,
3629,
333,
7,
47103,
62,
9600,
11,
357,
15,
11,
15,
828,
807,
8,
198,
220,
220,
220,
29083,
62,
320,
18,
796,
269,
85,
13,
35389,
31562,
3629,
333,
7,
47103,
62,
9600,
11,
357,
15,
11,
15,
828,
1467,
8,
628,
198,
220,
220,
220,
1303,
4174,
327,
7737,
5743,
40471,
351,
262,
16252,
345,
3853,
284,
4886,
13015,
198,
220,
220,
220,
3915,
62,
19726,
16,
11,
9848,
16,
796,
651,
62,
568,
6667,
62,
33885,
7,
10379,
4400,
62,
320,
16,
8,
198,
220,
220,
220,
3915,
62,
19726,
17,
11,
9848,
17,
796,
651,
62,
568,
6667,
62,
33885,
7,
10379,
4400,
62,
320,
17,
8,
198,
220,
220,
220,
3915,
62,
19726,
18,
11,
9848,
18,
796,
651,
62,
568,
6667,
62,
33885,
7,
10379,
4400,
62,
320,
18,
8,
628,
220,
220,
220,
1303,
4174,
1729,
12,
9806,
12,
18608,
2234,
198,
220,
220,
220,
545,
62,
77,
907,
16,
796,
1729,
62,
9806,
62,
37330,
2234,
7,
9744,
62,
19726,
16,
11,
9848,
16,
8,
198,
220,
220,
220,
545,
62,
77,
907,
17,
796,
1729,
62,
9806,
62,
37330,
2234,
7,
9744,
62,
19726,
17,
11,
9848,
17,
8,
198,
220,
220,
220,
545,
62,
77,
907,
18,
796,
1729,
62,
9806,
62,
37330,
2234,
7,
9744,
62,
19726,
18,
11,
9848,
18,
8,
628,
220,
220,
220,
545,
62,
400,
411,
16,
11,
4939,
16,
11,
1913,
16,
796,
4274,
62,
400,
10126,
7,
320,
62,
77,
907,
16,
11,
300,
2213,
28,
15,
13,
2998,
11,
289,
2213,
28,
15,
13,
1129,
8,
198,
220,
220,
220,
545,
62,
400,
411,
17,
11,
4939,
17,
11,
1913,
17,
796,
4274,
62,
400,
10126,
7,
320,
62,
77,
907,
17,
11,
300,
2213,
28,
15,
13,
2998,
11,
289,
2213,
28,
15,
13,
1129,
8,
198,
220,
220,
220,
545,
62,
400,
411,
18,
11,
4939,
18,
11,
1913,
18,
796,
4274,
62,
400,
10126,
7,
320,
62,
77,
907,
18,
11,
300,
2213,
28,
15,
13,
2998,
11,
289,
2213,
28,
15,
13,
1129,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
545,
62,
71,
893,
16,
796,
2537,
4169,
411,
271,
7,
320,
62,
400,
411,
16,
11,
4939,
16,
11,
1913,
16,
8,
198,
220,
220,
220,
545,
62,
71,
893,
17,
796,
2537,
4169,
411,
271,
7,
320,
62,
400,
411,
17,
11,
4939,
17,
11,
1913,
17,
8,
198,
220,
220,
220,
545,
62,
71,
893,
18,
796,
2537,
4169,
411,
271,
7,
320,
62,
400,
411,
18,
11,
4939,
18,
11,
1913,
18,
8,
628,
220,
220,
220,
545,
62,
20311,
796,
545,
62,
71,
893,
16,
1343,
545,
62,
71,
893,
17,
1343,
545,
62,
71,
893,
18,
198,
220,
220,
220,
220,
198,
220,
220,
220,
545,
62,
20311,
796,
545,
62,
20311,
14,
18,
13,
15,
628,
220,
220,
220,
1303,
10385,
734,
513,
5391,
198,
220,
220,
220,
611,
357,
320,
62,
20311,
13,
358,
320,
6624,
362,
2599,
198,
220,
220,
220,
220,
220,
545,
62,
20311,
796,
45941,
13,
11201,
392,
62,
67,
12078,
7,
320,
62,
20311,
11,
16488,
796,
362,
8,
628,
220,
220,
220,
1441,
545,
62,
20311,
628,
628,
198
] | 2.066511 | 2,992 |
#
# @lc app=leetcode id=221 lang=python3
#
# [221] Maximal Square
#
# https://leetcode.com/problems/maximal-square/description/
#
# algorithms
# Medium (34.82%)
# Likes: 1997
# Dislikes: 49
# Total Accepted: 175K
# Total Submissions: 500.4K
# Testcase Example:
# '[["1","0","1","0","0"],
# ["1","0","1","1","1"],
# ["1","1","1","1","1"],
# ["1","0","0","1","0"]]'
#
# Given a 2D binary matrix filled with 0's and 1's, find the largest square
# containing only 1's and return its area.
#
# Example:
#
#
# Input:
#
# 1 0 1 0 0
# 1 0 1 1 1
# 1 1 1 1 1
# 1 0 0 1 0
#
# Output: 4
#
#
# @lc code=start
from typing import List
# @lc code=end
if __name__ == "__main__":
m = [["1", "0", "1", "0", "0"],
["1", "0", "1", "1", "1"],
["1", "1", "1", "1", "1"],
["1", "0", "0", "1", "0"]]
print(Solution().maximalSquare(m), 4)
| [
2,
198,
2,
2488,
44601,
598,
28,
293,
316,
8189,
4686,
28,
26115,
42392,
28,
29412,
18,
198,
2,
198,
2,
685,
26115,
60,
5436,
4402,
9276,
198,
2,
198,
2,
3740,
1378,
293,
316,
8189,
13,
785,
14,
1676,
22143,
14,
9806,
4402,
12,
23415,
14,
11213,
14,
198,
2,
198,
2,
16113,
198,
2,
13398,
357,
2682,
13,
6469,
4407,
198,
2,
46077,
25,
220,
220,
220,
8309,
198,
2,
360,
3044,
7938,
25,
5125,
198,
2,
7472,
21699,
276,
25,
220,
220,
220,
19038,
42,
198,
2,
7472,
3834,
8481,
25,
5323,
13,
19,
42,
198,
2,
6208,
7442,
17934,
25,
198,
2,
220,
220,
44438,
14692,
16,
2430,
15,
2430,
16,
2430,
15,
2430,
15,
33116,
198,
2,
220,
220,
220,
14631,
16,
2430,
15,
2430,
16,
2430,
16,
2430,
16,
33116,
198,
2,
220,
220,
220,
14631,
16,
2430,
16,
2430,
16,
2430,
16,
2430,
16,
33116,
198,
2,
220,
220,
220,
14631,
16,
2430,
15,
2430,
15,
2430,
16,
2430,
15,
8973,
49946,
198,
2,
198,
2,
11259,
257,
362,
35,
13934,
17593,
5901,
351,
657,
338,
290,
352,
338,
11,
1064,
262,
4387,
6616,
198,
2,
7268,
691,
352,
338,
290,
1441,
663,
1989,
13,
198,
2,
198,
2,
17934,
25,
198,
2,
198,
2,
198,
2,
23412,
25,
198,
2,
198,
2,
352,
657,
352,
657,
657,
198,
2,
352,
657,
352,
352,
352,
198,
2,
352,
352,
352,
352,
352,
198,
2,
352,
657,
657,
352,
657,
198,
2,
198,
2,
25235,
25,
604,
198,
2,
198,
2,
198,
198,
2,
2488,
44601,
2438,
28,
9688,
198,
6738,
19720,
1330,
7343,
198,
198,
2,
2488,
44601,
2438,
28,
437,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
285,
796,
685,
14692,
16,
1600,
366,
15,
1600,
366,
16,
1600,
366,
15,
1600,
366,
15,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
16,
1600,
366,
15,
1600,
366,
16,
1600,
366,
16,
1600,
366,
16,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
16,
1600,
366,
16,
1600,
366,
16,
1600,
366,
16,
1600,
366,
16,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
16,
1600,
366,
15,
1600,
366,
15,
1600,
366,
16,
1600,
366,
15,
8973,
60,
198,
220,
220,
220,
3601,
7,
46344,
22446,
9806,
4402,
48011,
7,
76,
828,
604,
8,
198
] | 2.161692 | 402 |
import numpy as np
from statsmodels.compat import range
from . import utils
def dot_plot(points, intervals=None, lines=None, sections=None,
styles=None, marker_props=None, line_props=None,
split_names=None, section_order=None, line_order=None,
stacked=False, styles_order=None, striped=False,
horizontal=True, show_names="both",
fmt_left_name=None, fmt_right_name=None,
show_section_titles=None, ax=None):
"""
Produce a dotplot similar in style to those in Cleveland's
"Visualizing Data" book. These are also known as "forest plots".
Parameters
----------
points : array_like
The quantitative values to be plotted as markers.
intervals : array_like
The intervals to be plotted around the points. The elements
of `intervals` are either scalars or sequences of length 2. A
scalar indicates the half width of a symmetric interval. A
sequence of length 2 contains the left and right half-widths
(respectively) of a nonsymmetric interval. If None, no
intervals are drawn.
lines : array_like
A grouping variable indicating which points/intervals are
drawn on a common line. If None, each point/interval appears
on its own line.
sections : array_like
A grouping variable indicating which lines are grouped into
sections. If None, everything is drawn in a single section.
styles : array_like
A grouping label defining the plotting style of the markers
and intervals.
marker_props : dict
A dictionary mapping style codes (the values in `styles`) to
dictionaries defining key/value pairs to be passed as keyword
arguments to `plot` when plotting markers. Useful keyword
arguments are "color", "marker", and "ms" (marker size).
line_props : dict
A dictionary mapping style codes (the values in `styles`) to
dictionaries defining key/value pairs to be passed as keyword
arguments to `plot` when plotting interval lines. Useful
keyword arguments are "color", "linestyle", "solid_capstyle",
and "linewidth".
split_names : string
If not None, this is used to split the values of `lines` into
substrings that are drawn in the left and right margins,
respectively. If None, the values of `lines` are drawn in the
left margin.
section_order : array_like
The section labels in the order in which they appear in the
dotplot.
line_order : array_like
The line labels in the order in which they appear in the
dotplot.
stacked : boolean
If True, when multiple points or intervals are drawn on the
same line, they are offset from each other.
styles_order : array_like
If stacked=True, this is the order in which the point styles
on a given line are drawn from top to bottom (if horizontal
is True) or from left to right (if horiontal is False). If
None (default), the order is lexical.
striped : boolean
If True, every other line is enclosed in a shaded box.
horizontal : boolean
If True (default), the lines are drawn horizontally, otherwise
they are drawn vertically.
show_names : string
Determines whether labels (names) are shown in the left and/or
right margins (top/bottom margins if `horizontal` is True).
If `both`, labels are drawn in both margins, if 'left', labels
are drawn in the left or top margin. If `right`, labels are
drawn in the right or bottom margin.
fmt_left_name : function
The left/top margin names are passed through this function
before drawing on the plot.
fmt_right_name : function
The right/bottom marginnames are passed through this function
before drawing on the plot.
show_section_titles : bool or None
If None, section titles are drawn only if there is more than
one section. If False/True, section titles are never/always
drawn, respectively.
ax : matplotlib.axes
The axes on which the dotplot is drawn. If None, a new axes
is created.
Returns
-------
fig : Figure
The figure given by `ax.figure` or a new instance.
Notes
-----
`points`, `intervals`, `lines`, `sections`, `styles` must all have
the same length whenever present.
Examples
--------
This is a simple dotplot with one point per line:
>>> dot_plot(points=point_values)
This dotplot has labels on the lines (if elements in
`label_values` are repeated, the corresponding points appear on
the same line):
>>> dot_plot(points=point_values, lines=label_values)
References
----------
* Cleveland, William S. (1993). "Visualizing Data". Hobart
Press.
* Jacoby, William G. (2006) "The Dot Plot: A Graphical Display
for Labeled Quantitative Values." The Political Methodologist
14(1): 6-14.
"""
import matplotlib.transforms as transforms
fig, ax = utils.create_mpl_ax(ax)
# Convert to numpy arrays if that is not what we are given.
points = np.asarray(points)
asarray_or_none = lambda x : None if x is None else np.asarray(x)
intervals = asarray_or_none(intervals)
lines = asarray_or_none(lines)
sections = asarray_or_none(sections)
styles = asarray_or_none(styles)
# Total number of points
npoint = len(points)
# Set default line values if needed
if lines is None:
lines = np.arange(npoint)
# Set default section values if needed
if sections is None:
sections = np.zeros(npoint)
# Set default style values if needed
if styles is None:
styles = np.zeros(npoint)
# The vertical space (in inches) for a section title
section_title_space = 0.5
# The number of sections
nsect = len(set(sections))
if section_order is not None:
nsect = len(set(section_order))
# The number of section titles
if show_section_titles == False:
draw_section_titles = False
nsect_title = 0
elif show_section_titles == True:
draw_section_titles = True
nsect_title = nsect
else:
draw_section_titles = nsect > 1
nsect_title = nsect if nsect > 1 else 0
# The total vertical space devoted to section titles.
section_space_total = section_title_space * nsect_title
# Add a bit of room so that points that fall at the axis limits
# are not cut in half.
ax.set_xmargin(0.02)
ax.set_ymargin(0.02)
if section_order is None:
lines0 = list(set(sections))
lines0.sort()
else:
lines0 = section_order
if line_order is None:
lines1 = list(set(lines))
lines1.sort()
else:
lines1 = line_order
# A map from (section,line) codes to index positions.
lines_map = {}
for i in range(npoint):
if section_order is not None and sections[i] not in section_order:
continue
if line_order is not None and lines[i] not in line_order:
continue
ky = (sections[i], lines[i])
if ky not in lines_map:
lines_map[ky] = []
lines_map[ky].append(i)
# Get the size of the axes on the parent figure in inches
bbox = ax.get_window_extent().transformed(
fig.dpi_scale_trans.inverted())
awidth, aheight = bbox.width, bbox.height
# The number of lines in the plot.
nrows = len(lines_map)
# The positions of the lowest and highest guideline in axes
# coordinates (for horizontal dotplots), or the leftmost and
# rightmost guidelines (for vertical dotplots).
bottom, top = 0, 1
if horizontal:
# x coordinate is data, y coordinate is axes
trans = transforms.blended_transform_factory(ax.transData,
ax.transAxes)
else:
# x coordinate is axes, y coordinate is data
trans = transforms.blended_transform_factory(ax.transAxes,
ax.transData)
# Space used for a section title, in axes coordinates
title_space_axes = section_title_space / aheight
# Space between lines
if horizontal:
dpos = (top - bottom - nsect_title*title_space_axes) /\
float(nrows)
else:
dpos = (top - bottom) / float(nrows)
# Determine the spacing for stacked points
if styles_order is not None:
style_codes = styles_order
else:
style_codes = list(set(styles))
style_codes.sort()
# Order is top to bottom for horizontal plots, so need to
# flip.
if horizontal:
style_codes = style_codes[::-1]
# nval is the maximum number of points on one line.
nval = len(style_codes)
if nval > 1:
stackd = dpos / (2.5*(float(nval)-1))
else:
stackd = 0.
# Map from style code to its integer position
style_codes_map = {x: style_codes.index(x) for x in style_codes}
# Setup default marker styles
colors = ["r", "g", "b", "y", "k", "purple", "orange"]
if marker_props is None:
marker_props = {x: {} for x in style_codes}
for j in range(nval):
sc = style_codes[j]
if "color" not in marker_props[sc]:
marker_props[sc]["color"] = colors[j % len(colors)]
if "marker" not in marker_props[sc]:
marker_props[sc]["marker"] = "o"
if "ms" not in marker_props[sc]:
marker_props[sc]["ms"] = 10 if stackd == 0 else 6
# Setup default line styles
if line_props is None:
line_props = {x: {} for x in style_codes}
for j in range(nval):
sc = style_codes[j]
if "color" not in line_props[sc]:
line_props[sc]["color"] = "grey"
if "linewidth" not in line_props[sc]:
line_props[sc]["linewidth"] = 2 if stackd > 0 else 8
if horizontal:
# The vertical position of the first line.
pos = top - dpos/2 if nsect == 1 else top
else:
# The horizontal position of the first line.
pos = bottom + dpos/2
# Points that have already been labeled
labeled = set()
# Positions of the y axis grid lines
ticks = []
# Loop through the sections
for k0 in lines0:
# Draw a section title
if draw_section_titles:
if horizontal:
y0 = pos + dpos/2 if k0 == lines0[0] else pos
ax.fill_between((0, 1), (y0,y0),
(pos-0.7*title_space_axes,
pos-0.7*title_space_axes),
color='darkgrey',
transform=ax.transAxes,
zorder=1)
txt = ax.text(0.5, pos - 0.35*title_space_axes, k0,
horizontalalignment='center',
verticalalignment='center',
transform=ax.transAxes)
txt.set_fontweight("bold")
pos -= title_space_axes
else:
m = len([k for k in lines_map if k[0] == k0])
ax.fill_between((pos-dpos/2+0.01,
pos+(m-1)*dpos+dpos/2-0.01),
(1.01,1.01), (1.06,1.06),
color='darkgrey',
transform=ax.transAxes,
zorder=1, clip_on=False)
txt = ax.text(pos + (m-1)*dpos/2, 1.02, k0,
horizontalalignment='center',
verticalalignment='bottom',
transform=ax.transAxes)
txt.set_fontweight("bold")
jrow = 0
for k1 in lines1:
# No data to plot
if (k0, k1) not in lines_map:
continue
# Draw the guideline
if horizontal:
ax.axhline(pos, color='grey')
else:
ax.axvline(pos, color='grey')
# Set up the labels
if split_names is not None:
us = k1.split(split_names)
if len(us) >= 2:
left_label, right_label = us[0], us[1]
else:
left_label, right_label = k1, None
else:
left_label, right_label = k1, None
if fmt_left_name is not None:
left_label = fmt_left_name(left_label)
if fmt_right_name is not None:
right_label = fmt_right_name(right_label)
# Draw the stripe
if striped and jrow % 2 == 0:
if horizontal:
ax.fill_between((0, 1), (pos-dpos/2, pos-dpos/2),
(pos+dpos/2, pos+dpos/2),
color='lightgrey',
transform=ax.transAxes,
zorder=0)
else:
ax.fill_between((pos-dpos/2, pos+dpos/2),
(0, 0), (1, 1),
color='lightgrey',
transform=ax.transAxes,
zorder=0)
jrow += 1
# Draw the left margin label
if show_names.lower() in ("left", "both"):
if horizontal:
ax.text(-0.1/awidth, pos, left_label,
horizontalalignment="right",
verticalalignment='center',
transform=ax.transAxes,
family='monospace')
else:
ax.text(pos, -0.1/aheight, left_label,
horizontalalignment="center",
verticalalignment='top',
transform=ax.transAxes,
family='monospace')
# Draw the right margin label
if show_names.lower() in ("right", "both"):
if right_label is not None:
if horizontal:
ax.text(1 + 0.1/awidth, pos, right_label,
horizontalalignment="left",
verticalalignment='center',
transform=ax.transAxes,
family='monospace')
else:
ax.text(pos, 1 + 0.1/aheight, right_label,
horizontalalignment="center",
verticalalignment='bottom',
transform=ax.transAxes,
family='monospace')
# Save the vertical position so that we can place the
# tick marks
ticks.append(pos)
# Loop over the points in one line
for ji,jp in enumerate(lines_map[(k0,k1)]):
# Calculate the vertical offset
yo = 0
if stacked:
yo = -dpos/5 + style_codes_map[styles[jp]]*stackd
pt = points[jp]
# Plot the interval
if intervals is not None:
# Symmetric interval
if np.isscalar(intervals[jp]):
lcb, ucb = pt - intervals[jp],\
pt + intervals[jp]
# Nonsymmetric interval
else:
lcb, ucb = pt - intervals[jp][0],\
pt + intervals[jp][1]
# Draw the interval
if horizontal:
ax.plot([lcb, ucb], [pos+yo, pos+yo], '-',
transform=trans,
**line_props[styles[jp]])
else:
ax.plot([pos+yo, pos+yo], [lcb, ucb], '-',
transform=trans,
**line_props[styles[jp]])
# Plot the point
sl = styles[jp]
sll = sl if sl not in labeled else None
labeled.add(sl)
if horizontal:
ax.plot([pt,], [pos+yo,], ls='None',
transform=trans, label=sll,
**marker_props[sl])
else:
ax.plot([pos+yo,], [pt,], ls='None',
transform=trans, label=sll,
**marker_props[sl])
if horizontal:
pos -= dpos
else:
pos += dpos
# Set up the axis
if horizontal:
ax.xaxis.set_ticks_position("bottom")
ax.yaxis.set_ticks_position("none")
ax.set_yticklabels([])
ax.spines['left'].set_color('none')
ax.spines['right'].set_color('none')
ax.spines['top'].set_color('none')
ax.spines['bottom'].set_position(('axes', -0.1/aheight))
ax.set_ylim(0, 1)
ax.yaxis.set_ticks(ticks)
ax.autoscale_view(scaley=False, tight=True)
else:
ax.yaxis.set_ticks_position("left")
ax.xaxis.set_ticks_position("none")
ax.set_xticklabels([])
ax.spines['bottom'].set_color('none')
ax.spines['right'].set_color('none')
ax.spines['top'].set_color('none')
ax.spines['left'].set_position(('axes', -0.1/awidth))
ax.set_xlim(0, 1)
ax.xaxis.set_ticks(ticks)
ax.autoscale_view(scalex=False, tight=True)
return fig
| [
11748,
299,
32152,
355,
45941,
198,
6738,
9756,
27530,
13,
5589,
265,
1330,
2837,
198,
6738,
764,
1330,
3384,
4487,
628,
198,
4299,
16605,
62,
29487,
7,
13033,
11,
20016,
28,
14202,
11,
3951,
28,
14202,
11,
9004,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12186,
28,
14202,
11,
18364,
62,
1676,
862,
28,
14202,
11,
1627,
62,
1676,
862,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6626,
62,
14933,
28,
14202,
11,
2665,
62,
2875,
28,
14202,
11,
1627,
62,
2875,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24167,
28,
25101,
11,
12186,
62,
2875,
28,
14202,
11,
49807,
28,
25101,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16021,
28,
17821,
11,
905,
62,
14933,
2625,
16885,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46996,
62,
9464,
62,
3672,
28,
14202,
11,
46996,
62,
3506,
62,
3672,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
905,
62,
5458,
62,
83,
30540,
28,
14202,
11,
7877,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
21522,
344,
257,
16605,
29487,
2092,
287,
3918,
284,
883,
287,
10306,
338,
198,
220,
220,
220,
366,
36259,
2890,
6060,
1,
1492,
13,
220,
2312,
389,
635,
1900,
355,
366,
29623,
21528,
1911,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2173,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
383,
26610,
3815,
284,
307,
37515,
355,
19736,
13,
198,
220,
220,
220,
20016,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
383,
20016,
284,
307,
37515,
1088,
262,
2173,
13,
220,
383,
4847,
198,
220,
220,
220,
220,
220,
220,
220,
286,
4600,
3849,
12786,
63,
389,
2035,
16578,
945,
393,
16311,
286,
4129,
362,
13,
220,
317,
198,
220,
220,
220,
220,
220,
220,
220,
16578,
283,
9217,
262,
2063,
9647,
286,
257,
23606,
19482,
16654,
13,
220,
317,
198,
220,
220,
220,
220,
220,
220,
220,
8379,
286,
4129,
362,
4909,
262,
1364,
290,
826,
2063,
12,
10394,
82,
198,
220,
220,
220,
220,
220,
220,
220,
357,
15008,
2280,
8,
286,
257,
14011,
26621,
19482,
16654,
13,
220,
1002,
6045,
11,
645,
198,
220,
220,
220,
220,
220,
220,
220,
20016,
389,
7428,
13,
198,
220,
220,
220,
3951,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
317,
36115,
7885,
12739,
543,
2173,
14,
3849,
12786,
389,
198,
220,
220,
220,
220,
220,
220,
220,
7428,
319,
257,
2219,
1627,
13,
220,
1002,
6045,
11,
1123,
966,
14,
3849,
2100,
3568,
198,
220,
220,
220,
220,
220,
220,
220,
319,
663,
898,
1627,
13,
198,
220,
220,
220,
9004,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
317,
36115,
7885,
12739,
543,
3951,
389,
32824,
656,
198,
220,
220,
220,
220,
220,
220,
220,
9004,
13,
220,
1002,
6045,
11,
2279,
318,
7428,
287,
257,
2060,
2665,
13,
198,
220,
220,
220,
12186,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
317,
36115,
6167,
16215,
262,
29353,
3918,
286,
262,
19736,
198,
220,
220,
220,
220,
220,
220,
220,
290,
20016,
13,
198,
220,
220,
220,
18364,
62,
1676,
862,
1058,
8633,
198,
220,
220,
220,
220,
220,
220,
220,
317,
22155,
16855,
3918,
12416,
357,
1169,
3815,
287,
4600,
47720,
63,
8,
284,
198,
220,
220,
220,
220,
220,
220,
220,
48589,
3166,
16215,
1994,
14,
8367,
14729,
284,
307,
3804,
355,
21179,
198,
220,
220,
220,
220,
220,
220,
220,
7159,
284,
4600,
29487,
63,
618,
29353,
19736,
13,
220,
49511,
21179,
198,
220,
220,
220,
220,
220,
220,
220,
7159,
389,
366,
8043,
1600,
366,
4102,
263,
1600,
290,
366,
907,
1,
357,
4102,
263,
2546,
737,
198,
220,
220,
220,
1627,
62,
1676,
862,
1058,
8633,
198,
220,
220,
220,
220,
220,
220,
220,
317,
22155,
16855,
3918,
12416,
357,
1169,
3815,
287,
4600,
47720,
63,
8,
284,
198,
220,
220,
220,
220,
220,
220,
220,
48589,
3166,
16215,
1994,
14,
8367,
14729,
284,
307,
3804,
355,
21179,
198,
220,
220,
220,
220,
220,
220,
220,
7159,
284,
4600,
29487,
63,
618,
29353,
16654,
3951,
13,
220,
49511,
198,
220,
220,
220,
220,
220,
220,
220,
21179,
7159,
389,
366,
8043,
1600,
366,
2815,
10992,
1600,
366,
39390,
62,
11128,
7635,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
290,
366,
2815,
413,
5649,
1911,
198,
220,
220,
220,
6626,
62,
14933,
1058,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
407,
6045,
11,
428,
318,
973,
284,
6626,
262,
3815,
286,
4600,
6615,
63,
656,
198,
220,
220,
220,
220,
220,
220,
220,
850,
37336,
326,
389,
7428,
287,
262,
1364,
290,
826,
20241,
11,
198,
220,
220,
220,
220,
220,
220,
220,
8148,
13,
220,
1002,
6045,
11,
262,
3815,
286,
4600,
6615,
63,
389,
7428,
287,
262,
198,
220,
220,
220,
220,
220,
220,
220,
1364,
10330,
13,
198,
220,
220,
220,
2665,
62,
2875,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2665,
14722,
287,
262,
1502,
287,
543,
484,
1656,
287,
262,
198,
220,
220,
220,
220,
220,
220,
220,
16605,
29487,
13,
198,
220,
220,
220,
1627,
62,
2875,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1627,
14722,
287,
262,
1502,
287,
543,
484,
1656,
287,
262,
198,
220,
220,
220,
220,
220,
220,
220,
16605,
29487,
13,
198,
220,
220,
220,
24167,
1058,
25131,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
6407,
11,
618,
3294,
2173,
393,
20016,
389,
7428,
319,
262,
198,
220,
220,
220,
220,
220,
220,
220,
976,
1627,
11,
484,
389,
11677,
422,
1123,
584,
13,
198,
220,
220,
220,
12186,
62,
2875,
1058,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
24167,
28,
17821,
11,
428,
318,
262,
1502,
287,
543,
262,
966,
12186,
198,
220,
220,
220,
220,
220,
220,
220,
319,
257,
1813,
1627,
389,
7428,
422,
1353,
284,
4220,
357,
361,
16021,
198,
220,
220,
220,
220,
220,
220,
220,
318,
6407,
8,
393,
422,
1364,
284,
826,
357,
361,
3076,
295,
39240,
318,
10352,
737,
220,
1002,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
357,
12286,
828,
262,
1502,
318,
31191,
605,
13,
198,
220,
220,
220,
49807,
1058,
25131,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
6407,
11,
790,
584,
1627,
318,
28543,
287,
257,
427,
5286,
3091,
13,
198,
220,
220,
220,
16021,
1058,
25131,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
6407,
357,
12286,
828,
262,
3951,
389,
7428,
36774,
11,
4306,
198,
220,
220,
220,
220,
220,
220,
220,
484,
389,
7428,
31677,
13,
198,
220,
220,
220,
905,
62,
14933,
1058,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
360,
13221,
274,
1771,
14722,
357,
14933,
8,
389,
3402,
287,
262,
1364,
290,
14,
273,
198,
220,
220,
220,
220,
220,
220,
220,
826,
20241,
357,
4852,
14,
22487,
20241,
611,
4600,
17899,
38342,
63,
318,
6407,
737,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
4600,
16885,
47671,
14722,
389,
7428,
287,
1111,
20241,
11,
611,
705,
9464,
3256,
14722,
198,
220,
220,
220,
220,
220,
220,
220,
389,
7428,
287,
262,
1364,
393,
1353,
10330,
13,
220,
1002,
4600,
3506,
47671,
14722,
389,
198,
220,
220,
220,
220,
220,
220,
220,
7428,
287,
262,
826,
393,
4220,
10330,
13,
198,
220,
220,
220,
46996,
62,
9464,
62,
3672,
1058,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1364,
14,
4852,
10330,
3891,
389,
3804,
832,
428,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
878,
8263,
319,
262,
7110,
13,
198,
220,
220,
220,
46996,
62,
3506,
62,
3672,
1058,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
383,
826,
14,
22487,
6145,
3732,
1047,
389,
3804,
832,
428,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
878,
8263,
319,
262,
7110,
13,
198,
220,
220,
220,
905,
62,
5458,
62,
83,
30540,
1058,
20512,
393,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
6045,
11,
2665,
8714,
389,
7428,
691,
611,
612,
318,
517,
621,
198,
220,
220,
220,
220,
220,
220,
220,
530,
2665,
13,
220,
1002,
10352,
14,
17821,
11,
2665,
8714,
389,
1239,
14,
33770,
198,
220,
220,
220,
220,
220,
220,
220,
7428,
11,
8148,
13,
198,
220,
220,
220,
7877,
1058,
2603,
29487,
8019,
13,
897,
274,
198,
220,
220,
220,
220,
220,
220,
220,
383,
34197,
319,
543,
262,
16605,
29487,
318,
7428,
13,
220,
1002,
6045,
11,
257,
649,
34197,
198,
220,
220,
220,
220,
220,
220,
220,
318,
2727,
13,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
2336,
1058,
11291,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3785,
1813,
416,
4600,
897,
13,
26875,
63,
393,
257,
649,
4554,
13,
628,
220,
220,
220,
11822,
198,
220,
220,
220,
37404,
198,
220,
220,
220,
4600,
13033,
47671,
4600,
3849,
12786,
47671,
4600,
6615,
47671,
4600,
23946,
47671,
4600,
47720,
63,
1276,
477,
423,
198,
220,
220,
220,
262,
976,
4129,
8797,
1944,
13,
628,
220,
220,
220,
21066,
198,
220,
220,
220,
24200,
198,
220,
220,
220,
770,
318,
257,
2829,
16605,
29487,
351,
530,
966,
583,
1627,
25,
198,
220,
220,
220,
13163,
16605,
62,
29487,
7,
13033,
28,
4122,
62,
27160,
8,
628,
220,
220,
220,
770,
16605,
29487,
468,
14722,
319,
262,
3951,
357,
361,
4847,
287,
198,
220,
220,
220,
4600,
18242,
62,
27160,
63,
389,
5100,
11,
262,
11188,
2173,
1656,
319,
198,
220,
220,
220,
262,
976,
1627,
2599,
198,
220,
220,
220,
13163,
16605,
62,
29487,
7,
13033,
28,
4122,
62,
27160,
11,
3951,
28,
18242,
62,
27160,
8,
628,
220,
220,
220,
31458,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
1635,
10306,
11,
3977,
311,
13,
357,
24465,
737,
366,
36259,
2890,
6060,
1911,
17073,
433,
198,
220,
220,
220,
220,
220,
220,
220,
4332,
13,
198,
220,
220,
220,
220,
220,
1635,
12806,
88,
11,
3977,
402,
13,
357,
13330,
8,
366,
464,
22875,
28114,
25,
317,
29681,
605,
16531,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3498,
18449,
16972,
12464,
27068,
526,
383,
14611,
11789,
7451,
198,
220,
220,
220,
220,
220,
220,
220,
1478,
7,
16,
2599,
718,
12,
1415,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1330,
2603,
29487,
8019,
13,
7645,
23914,
355,
31408,
628,
220,
220,
220,
2336,
11,
7877,
796,
3384,
4487,
13,
17953,
62,
76,
489,
62,
897,
7,
897,
8,
628,
220,
220,
220,
1303,
38240,
284,
299,
32152,
26515,
611,
326,
318,
407,
644,
356,
389,
1813,
13,
198,
220,
220,
220,
2173,
796,
45941,
13,
292,
18747,
7,
13033,
8,
198,
220,
220,
220,
355,
18747,
62,
273,
62,
23108,
796,
37456,
2124,
1058,
6045,
611,
2124,
318,
6045,
2073,
45941,
13,
292,
18747,
7,
87,
8,
198,
220,
220,
220,
20016,
796,
355,
18747,
62,
273,
62,
23108,
7,
3849,
12786,
8,
198,
220,
220,
220,
3951,
796,
355,
18747,
62,
273,
62,
23108,
7,
6615,
8,
198,
220,
220,
220,
9004,
796,
355,
18747,
62,
273,
62,
23108,
7,
23946,
8,
198,
220,
220,
220,
12186,
796,
355,
18747,
62,
273,
62,
23108,
7,
47720,
8,
628,
220,
220,
220,
1303,
7472,
1271,
286,
2173,
198,
220,
220,
220,
299,
4122,
796,
18896,
7,
13033,
8,
628,
220,
220,
220,
1303,
5345,
4277,
1627,
3815,
611,
2622,
198,
220,
220,
220,
611,
3951,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
796,
45941,
13,
283,
858,
7,
77,
4122,
8,
628,
220,
220,
220,
1303,
5345,
4277,
2665,
3815,
611,
2622,
198,
220,
220,
220,
611,
9004,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9004,
796,
45941,
13,
9107,
418,
7,
77,
4122,
8,
628,
220,
220,
220,
1303,
5345,
4277,
3918,
3815,
611,
2622,
198,
220,
220,
220,
611,
12186,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12186,
796,
45941,
13,
9107,
418,
7,
77,
4122,
8,
628,
220,
220,
220,
1303,
383,
11723,
2272,
357,
259,
8331,
8,
329,
257,
2665,
3670,
198,
220,
220,
220,
2665,
62,
7839,
62,
13200,
796,
657,
13,
20,
628,
220,
220,
220,
1303,
383,
1271,
286,
9004,
198,
220,
220,
220,
299,
8831,
796,
18896,
7,
2617,
7,
23946,
4008,
198,
220,
220,
220,
611,
2665,
62,
2875,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
299,
8831,
796,
18896,
7,
2617,
7,
5458,
62,
2875,
4008,
628,
220,
220,
220,
1303,
383,
1271,
286,
2665,
8714,
198,
220,
220,
220,
611,
905,
62,
5458,
62,
83,
30540,
6624,
10352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3197,
62,
5458,
62,
83,
30540,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
299,
8831,
62,
7839,
796,
657,
198,
220,
220,
220,
1288,
361,
905,
62,
5458,
62,
83,
30540,
6624,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3197,
62,
5458,
62,
83,
30540,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
299,
8831,
62,
7839,
796,
299,
8831,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3197,
62,
5458,
62,
83,
30540,
796,
299,
8831,
1875,
352,
198,
220,
220,
220,
220,
220,
220,
220,
299,
8831,
62,
7839,
796,
299,
8831,
611,
299,
8831,
1875,
352,
2073,
657,
628,
220,
220,
220,
1303,
383,
2472,
11723,
2272,
13378,
284,
2665,
8714,
13,
198,
220,
220,
220,
2665,
62,
13200,
62,
23350,
796,
2665,
62,
7839,
62,
13200,
1635,
299,
8831,
62,
7839,
628,
220,
220,
220,
1303,
3060,
257,
1643,
286,
2119,
523,
326,
2173,
326,
2121,
379,
262,
16488,
7095,
198,
220,
220,
220,
1303,
389,
407,
2005,
287,
2063,
13,
198,
220,
220,
220,
7877,
13,
2617,
62,
87,
36153,
7,
15,
13,
2999,
8,
198,
220,
220,
220,
7877,
13,
2617,
62,
4948,
853,
259,
7,
15,
13,
2999,
8,
628,
220,
220,
220,
611,
2665,
62,
2875,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
15,
796,
1351,
7,
2617,
7,
23946,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
15,
13,
30619,
3419,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
15,
796,
2665,
62,
2875,
628,
220,
220,
220,
611,
1627,
62,
2875,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
16,
796,
1351,
7,
2617,
7,
6615,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
16,
13,
30619,
3419,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
16,
796,
1627,
62,
2875,
628,
220,
220,
220,
1303,
317,
3975,
422,
357,
5458,
11,
1370,
8,
12416,
284,
6376,
6116,
13,
198,
220,
220,
220,
3951,
62,
8899,
796,
23884,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
77,
4122,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2665,
62,
2875,
318,
407,
6045,
290,
9004,
58,
72,
60,
407,
287,
2665,
62,
2875,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1627,
62,
2875,
318,
407,
6045,
290,
3951,
58,
72,
60,
407,
287,
1627,
62,
2875,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
479,
88,
796,
357,
23946,
58,
72,
4357,
3951,
58,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
88,
407,
287,
3951,
62,
8899,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3951,
62,
8899,
58,
2584,
60,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
3951,
62,
8899,
58,
2584,
4083,
33295,
7,
72,
8,
628,
220,
220,
220,
1303,
3497,
262,
2546,
286,
262,
34197,
319,
262,
2560,
3785,
287,
8331,
198,
220,
220,
220,
275,
3524,
796,
7877,
13,
1136,
62,
17497,
62,
2302,
298,
22446,
7645,
12214,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2336,
13,
67,
14415,
62,
9888,
62,
7645,
13,
259,
13658,
28955,
198,
220,
220,
220,
3253,
5649,
11,
257,
17015,
796,
275,
3524,
13,
10394,
11,
275,
3524,
13,
17015,
628,
220,
220,
220,
1303,
383,
1271,
286,
3951,
287,
262,
7110,
13,
198,
220,
220,
220,
299,
8516,
796,
18896,
7,
6615,
62,
8899,
8,
628,
220,
220,
220,
1303,
383,
6116,
286,
262,
9016,
290,
4511,
40888,
287,
34197,
198,
220,
220,
220,
1303,
22715,
357,
1640,
16021,
16605,
489,
1747,
828,
393,
262,
1364,
1712,
290,
198,
220,
220,
220,
1303,
826,
1712,
9949,
357,
1640,
11723,
16605,
489,
1747,
737,
198,
220,
220,
220,
4220,
11,
1353,
796,
657,
11,
352,
628,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2124,
20435,
318,
1366,
11,
331,
20435,
318,
34197,
198,
220,
220,
220,
220,
220,
220,
220,
1007,
796,
31408,
13,
2436,
1631,
62,
35636,
62,
69,
9548,
7,
897,
13,
7645,
6601,
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,
7877,
13,
7645,
31554,
274,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2124,
20435,
318,
34197,
11,
331,
20435,
318,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
1007,
796,
31408,
13,
2436,
1631,
62,
35636,
62,
69,
9548,
7,
897,
13,
7645,
31554,
274,
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,
7877,
13,
7645,
6601,
8,
628,
220,
220,
220,
1303,
4687,
973,
329,
257,
2665,
3670,
11,
287,
34197,
22715,
198,
220,
220,
220,
3670,
62,
13200,
62,
897,
274,
796,
2665,
62,
7839,
62,
13200,
1220,
257,
17015,
628,
220,
220,
220,
1303,
4687,
1022,
3951,
198,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
288,
1930,
796,
357,
4852,
532,
4220,
532,
299,
8831,
62,
7839,
9,
7839,
62,
13200,
62,
897,
274,
8,
1220,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12178,
7,
77,
8516,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
288,
1930,
796,
357,
4852,
532,
4220,
8,
1220,
12178,
7,
77,
8516,
8,
628,
220,
220,
220,
1303,
45559,
3810,
262,
31050,
329,
24167,
2173,
198,
220,
220,
220,
611,
12186,
62,
2875,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3918,
62,
40148,
796,
12186,
62,
2875,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3918,
62,
40148,
796,
1351,
7,
2617,
7,
47720,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3918,
62,
40148,
13,
30619,
3419,
198,
220,
220,
220,
1303,
8284,
318,
1353,
284,
4220,
329,
16021,
21528,
11,
523,
761,
284,
198,
220,
220,
220,
1303,
14283,
13,
198,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3918,
62,
40148,
796,
3918,
62,
40148,
58,
3712,
12,
16,
60,
198,
220,
220,
220,
1303,
299,
2100,
318,
262,
5415,
1271,
286,
2173,
319,
530,
1627,
13,
198,
220,
220,
220,
299,
2100,
796,
18896,
7,
7635,
62,
40148,
8,
198,
220,
220,
220,
611,
299,
2100,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8931,
67,
796,
288,
1930,
1220,
357,
17,
13,
20,
9,
7,
22468,
7,
77,
2100,
13219,
16,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8931,
67,
796,
657,
13,
628,
220,
220,
220,
1303,
9347,
422,
3918,
2438,
284,
663,
18253,
2292,
198,
220,
220,
220,
3918,
62,
40148,
62,
8899,
796,
1391,
87,
25,
3918,
62,
40148,
13,
9630,
7,
87,
8,
329,
2124,
287,
3918,
62,
40148,
92,
628,
220,
220,
220,
1303,
31122,
4277,
18364,
12186,
198,
220,
220,
220,
7577,
796,
14631,
81,
1600,
366,
70,
1600,
366,
65,
1600,
366,
88,
1600,
366,
74,
1600,
366,
14225,
1154,
1600,
366,
43745,
8973,
198,
220,
220,
220,
611,
18364,
62,
1676,
862,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
1676,
862,
796,
1391,
87,
25,
23884,
329,
2124,
287,
3918,
62,
40148,
92,
198,
220,
220,
220,
329,
474,
287,
2837,
7,
77,
2100,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
629,
796,
3918,
62,
40148,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
8043,
1,
407,
287,
18364,
62,
1676,
862,
58,
1416,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
1676,
862,
58,
1416,
7131,
1,
8043,
8973,
796,
7577,
58,
73,
4064,
18896,
7,
4033,
669,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
4102,
263,
1,
407,
287,
18364,
62,
1676,
862,
58,
1416,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
1676,
862,
58,
1416,
7131,
1,
4102,
263,
8973,
796,
366,
78,
1,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
907,
1,
407,
287,
18364,
62,
1676,
862,
58,
1416,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18364,
62,
1676,
862,
58,
1416,
7131,
1,
907,
8973,
796,
838,
611,
8931,
67,
6624,
657,
2073,
718,
628,
220,
220,
220,
1303,
31122,
4277,
1627,
12186,
198,
220,
220,
220,
611,
1627,
62,
1676,
862,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
1676,
862,
796,
1391,
87,
25,
23884,
329,
2124,
287,
3918,
62,
40148,
92,
198,
220,
220,
220,
329,
474,
287,
2837,
7,
77,
2100,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
629,
796,
3918,
62,
40148,
58,
73,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
8043,
1,
407,
287,
1627,
62,
1676,
862,
58,
1416,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
1676,
862,
58,
1416,
7131,
1,
8043,
8973,
796,
366,
49502,
1,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
2815,
413,
5649,
1,
407,
287,
1627,
62,
1676,
862,
58,
1416,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
62,
1676,
862,
58,
1416,
7131,
1,
2815,
413,
5649,
8973,
796,
362,
611,
8931,
67,
1875,
657,
2073,
807,
628,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
11723,
2292,
286,
262,
717,
1627,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
796,
1353,
532,
288,
1930,
14,
17,
611,
299,
8831,
6624,
352,
2073,
1353,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
16021,
2292,
286,
262,
717,
1627,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
796,
4220,
1343,
288,
1930,
14,
17,
628,
220,
220,
220,
1303,
11045,
326,
423,
1541,
587,
15494,
198,
220,
220,
220,
15494,
796,
900,
3419,
628,
220,
220,
220,
1303,
18574,
1756,
286,
262,
331,
16488,
10706,
3951,
198,
220,
220,
220,
36066,
796,
17635,
628,
220,
220,
220,
1303,
26304,
832,
262,
9004,
198,
220,
220,
220,
329,
479,
15,
287,
3951,
15,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
15315,
257,
2665,
3670,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3197,
62,
5458,
62,
83,
30540,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
15,
796,
1426,
1343,
288,
1930,
14,
17,
611,
479,
15,
6624,
3951,
15,
58,
15,
60,
2073,
1426,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
20797,
62,
23395,
19510,
15,
11,
352,
828,
357,
88,
15,
11,
88,
15,
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,
357,
1930,
12,
15,
13,
22,
9,
7839,
62,
13200,
62,
897,
274,
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,
1426,
12,
15,
13,
22,
9,
7839,
62,
13200,
62,
897,
274,
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,
3124,
11639,
21953,
49502,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1976,
2875,
28,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
796,
7877,
13,
5239,
7,
15,
13,
20,
11,
1426,
532,
657,
13,
2327,
9,
7839,
62,
13200,
62,
897,
274,
11,
479,
15,
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,
16021,
282,
16747,
11639,
16159,
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,
11723,
282,
16747,
11639,
16159,
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,
6121,
28,
897,
13,
7645,
31554,
274,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
2617,
62,
10331,
6551,
7203,
36575,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
48185,
3670,
62,
13200,
62,
897,
274,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
796,
18896,
26933,
74,
329,
479,
287,
3951,
62,
8899,
611,
479,
58,
15,
60,
6624,
479,
15,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
20797,
62,
23395,
19510,
1930,
12,
67,
1930,
14,
17,
10,
15,
13,
486,
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,
1426,
33747,
76,
12,
16,
27493,
67,
1930,
10,
67,
1930,
14,
17,
12,
15,
13,
486,
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,
357,
16,
13,
486,
11,
16,
13,
486,
828,
357,
16,
13,
3312,
11,
16,
13,
3312,
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,
3124,
11639,
21953,
49502,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1976,
2875,
28,
16,
11,
10651,
62,
261,
28,
25101,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
796,
7877,
13,
5239,
7,
1930,
1343,
357,
76,
12,
16,
27493,
67,
1930,
14,
17,
11,
352,
13,
2999,
11,
479,
15,
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,
16021,
282,
16747,
11639,
16159,
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,
11723,
282,
16747,
11639,
22487,
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,
6121,
28,
897,
13,
7645,
31554,
274,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
13,
2617,
62,
10331,
6551,
7203,
36575,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
474,
808,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
329,
479,
16,
287,
3951,
16,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1400,
1366,
284,
7110,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
74,
15,
11,
479,
16,
8,
407,
287,
3951,
62,
8899,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15315,
262,
40888,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
897,
71,
1370,
7,
1930,
11,
3124,
11639,
49502,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
897,
85,
1370,
7,
1930,
11,
3124,
11639,
49502,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5345,
510,
262,
14722,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6626,
62,
14933,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
514,
796,
479,
16,
13,
35312,
7,
35312,
62,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
385,
8,
18189,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1364,
62,
18242,
11,
826,
62,
18242,
796,
514,
58,
15,
4357,
514,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1364,
62,
18242,
11,
826,
62,
18242,
796,
479,
16,
11,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1364,
62,
18242,
11,
826,
62,
18242,
796,
479,
16,
11,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
46996,
62,
9464,
62,
3672,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1364,
62,
18242,
796,
46996,
62,
9464,
62,
3672,
7,
9464,
62,
18242,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
46996,
62,
3506,
62,
3672,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
826,
62,
18242,
796,
46996,
62,
3506,
62,
3672,
7,
3506,
62,
18242,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15315,
262,
39858,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
49807,
290,
474,
808,
4064,
362,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
20797,
62,
23395,
19510,
15,
11,
352,
828,
357,
1930,
12,
67,
1930,
14,
17,
11,
1426,
12,
67,
1930,
14,
17,
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,
357,
1930,
10,
67,
1930,
14,
17,
11,
1426,
10,
67,
1930,
14,
17,
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,
3124,
11639,
2971,
49502,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1976,
2875,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
20797,
62,
23395,
19510,
1930,
12,
67,
1930,
14,
17,
11,
1426,
10,
67,
1930,
14,
17,
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,
357,
15,
11,
657,
828,
357,
16,
11,
352,
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,
3124,
11639,
2971,
49502,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1976,
2875,
28,
15,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
474,
808,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15315,
262,
1364,
10330,
6167,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
905,
62,
14933,
13,
21037,
3419,
287,
5855,
9464,
1600,
366,
16885,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
5239,
32590,
15,
13,
16,
14,
707,
5649,
11,
1426,
11,
1364,
62,
18242,
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,
16021,
282,
16747,
2625,
3506,
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,
11723,
282,
16747,
11639,
16159,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1641,
11639,
2144,
24912,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
5239,
7,
1930,
11,
532,
15,
13,
16,
14,
64,
17015,
11,
1364,
62,
18242,
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,
16021,
282,
16747,
2625,
16159,
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,
11723,
282,
16747,
11639,
4852,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1641,
11639,
2144,
24912,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15315,
262,
826,
10330,
6167,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
905,
62,
14933,
13,
21037,
3419,
287,
5855,
3506,
1600,
366,
16885,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
826,
62,
18242,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
5239,
7,
16,
1343,
657,
13,
16,
14,
707,
5649,
11,
1426,
11,
826,
62,
18242,
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,
16021,
282,
16747,
2625,
9464,
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,
220,
220,
220,
220,
11723,
282,
16747,
11639,
16159,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1641,
11639,
2144,
24912,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
5239,
7,
1930,
11,
352,
1343,
657,
13,
16,
14,
64,
17015,
11,
826,
62,
18242,
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,
16021,
282,
16747,
2625,
16159,
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,
220,
220,
220,
220,
11723,
282,
16747,
11639,
22487,
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,
6121,
28,
897,
13,
7645,
31554,
274,
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,
1641,
11639,
2144,
24912,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12793,
262,
11723,
2292,
523,
326,
356,
460,
1295,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4378,
8849,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36066,
13,
33295,
7,
1930,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
26304,
625,
262,
2173,
287,
530,
1627,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
474,
72,
11,
34523,
287,
27056,
378,
7,
6615,
62,
8899,
58,
7,
74,
15,
11,
74,
16,
15437,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27131,
378,
262,
11723,
11677,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27406,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
24167,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27406,
796,
532,
67,
1930,
14,
20,
1343,
3918,
62,
40148,
62,
8899,
58,
47720,
58,
34523,
11907,
9,
25558,
67,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42975,
796,
2173,
58,
34523,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28114,
262,
16654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
20016,
318,
407,
6045,
25,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1632,
3020,
19482,
16654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
45941,
13,
747,
9948,
283,
7,
3849,
12786,
58,
34523,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
21101,
11,
334,
21101,
796,
42975,
532,
20016,
58,
34523,
4357,
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,
42975,
1343,
20016,
58,
34523,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
399,
684,
26621,
19482,
16654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
21101,
11,
334,
21101,
796,
42975,
532,
20016,
58,
34523,
7131,
15,
4357,
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,
42975,
1343,
20016,
58,
34523,
7131,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15315,
262,
16654,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
75,
21101,
11,
334,
21101,
4357,
685,
1930,
10,
8226,
11,
1426,
10,
8226,
4357,
705,
12,
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,
6121,
28,
7645,
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,
12429,
1370,
62,
1676,
862,
58,
47720,
58,
34523,
11907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
1930,
10,
8226,
11,
1426,
10,
8226,
4357,
685,
75,
21101,
11,
334,
21101,
4357,
705,
12,
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,
6121,
28,
7645,
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,
12429,
1370,
62,
1676,
862,
58,
47720,
58,
34523,
11907,
8,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
28114,
262,
966,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1017,
796,
12186,
58,
34523,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
297,
796,
1017,
611,
1017,
407,
287,
15494,
2073,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15494,
13,
2860,
7,
6649,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
457,
11,
4357,
685,
1930,
10,
8226,
11,
4357,
43979,
11639,
14202,
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,
6121,
28,
7645,
11,
6167,
28,
82,
297,
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,
12429,
4102,
263,
62,
1676,
862,
58,
6649,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
29487,
26933,
1930,
10,
8226,
11,
4357,
685,
457,
11,
4357,
43979,
11639,
14202,
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,
6121,
28,
7645,
11,
6167,
28,
82,
297,
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,
12429,
4102,
263,
62,
1676,
862,
58,
6649,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
48185,
288,
1930,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
15853,
288,
1930,
628,
220,
220,
220,
1303,
5345,
510,
262,
16488,
198,
220,
220,
220,
611,
16021,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
87,
22704,
13,
2617,
62,
83,
3378,
62,
9150,
7203,
22487,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
88,
22704,
13,
2617,
62,
83,
3378,
62,
9150,
7203,
23108,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
20760,
624,
23912,
1424,
26933,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
9464,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
3506,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
4852,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
22487,
6,
4083,
2617,
62,
9150,
7,
10786,
897,
274,
3256,
532,
15,
13,
16,
14,
64,
17015,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
88,
2475,
7,
15,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
88,
22704,
13,
2617,
62,
83,
3378,
7,
83,
3378,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2306,
17500,
1000,
62,
1177,
7,
9888,
88,
28,
25101,
11,
5381,
28,
17821,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
88,
22704,
13,
2617,
62,
83,
3378,
62,
9150,
7203,
9464,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
87,
22704,
13,
2617,
62,
83,
3378,
62,
9150,
7203,
23108,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
742,
624,
23912,
1424,
26933,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
22487,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
3506,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
4852,
6,
4083,
2617,
62,
8043,
10786,
23108,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2777,
1127,
17816,
9464,
6,
4083,
2617,
62,
9150,
7,
10786,
897,
274,
3256,
532,
15,
13,
16,
14,
707,
5649,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2617,
62,
87,
2475,
7,
15,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
87,
22704,
13,
2617,
62,
83,
3378,
7,
83,
3378,
8,
198,
220,
220,
220,
220,
220,
220,
220,
7877,
13,
2306,
17500,
1000,
62,
1177,
7,
9888,
87,
28,
25101,
11,
5381,
28,
17821,
8,
628,
220,
220,
220,
1441,
2336,
198
] | 2.042818 | 8,758 |
"""create_pipeline_offset_table
Revision ID: 746f77fcf519
Revises: 63c90017aa5d
Create Date: 2020-10-20 13:32:59.329693
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '746f77fcf519'
down_revision = '63c90017aa5d'
branch_labels = None
depends_on = None
| [
37811,
17953,
62,
79,
541,
4470,
62,
28968,
62,
11487,
198,
198,
18009,
1166,
4522,
25,
767,
3510,
69,
3324,
69,
12993,
47785,
198,
18009,
2696,
25,
8093,
66,
12865,
1558,
7252,
20,
67,
198,
16447,
7536,
25,
12131,
12,
940,
12,
1238,
1511,
25,
2624,
25,
3270,
13,
37967,
48528,
198,
198,
37811,
198,
6738,
31341,
2022,
291,
1330,
1034,
198,
11748,
44161,
282,
26599,
355,
473,
628,
198,
2,
18440,
42814,
11,
973,
416,
9300,
2022,
291,
13,
198,
260,
10178,
796,
705,
22,
3510,
69,
3324,
69,
12993,
47785,
6,
198,
2902,
62,
260,
10178,
796,
705,
5066,
66,
12865,
1558,
7252,
20,
67,
6,
198,
1671,
3702,
62,
23912,
1424,
796,
6045,
198,
10378,
2412,
62,
261,
796,
6045,
628,
198
] | 2.512 | 125 |
#
# Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
#
# See the NOTICE file distributed with this work for additional information regarding copyright
# ownership. All rights reserved. This program and the accompanying materials are made available
# under the terms of the Apache License, Version 2.0 which accompanies this distribution and is
# available at http://www.apache.org/licenses/LICENSE-2.0.txt
#===============================================================================================
from pygw.config import java_pkg
from pygw.base import GeoWaveObject
from .simple_feature_type import SimpleFeatureType
from .attribute_descriptor import AttributeDescriptor
class SimpleFeatureTypeBuilder(GeoWaveObject):
"""
Builds `pygw.geotools.simple_feature_type.SimpleFeatureType` instances.
"""
def set_name(self, name):
"""
Sets the name of the feature type.
Args:
name (str): The name to use.
Returns:
This feature type builder.
"""
self._java_ref.setName(name)
return self
def set_namespace_uri(self, namespace_uri):
"""
Sets the namespace URI of the feature type.
Args:
namespace_uri (str): The namespace URI to use.
Returns:
This feature type builder.
"""
self._java_ref.setNamespaceURI(namespace_uri)
return self
def set_srs(self, srs):
"""
Sets the spatial reference system of the feature type.
Args:
srs (str): The spatial reference system to use.
Returns:
This feature type builder.
"""
self._java_ref.setSRS(srs)
return self
def add(self, attribute_descriptor):
"""
Adds an attribute to the feature type.
Args:
attribute_descriptor (pygw.geotools.attribute_descriptor.AttributeDescriptor): The attribute to add.
Returns:
This feature type builder.
"""
if isinstance(attribute_descriptor, AttributeDescriptor):
self.attributes.append(attribute_descriptor)
self._java_ref.add(attribute_descriptor._java_ref)
return self
else:
raise ValueError("attribute_descriptor should be of type AttributeDescriptor")
def build_feature_type(self):
"""
Builds the configured feature type.
Returns:
A `pygw.geotools.simple_feature_type.SimpleFeatureType` with the given configuration.
"""
return SimpleFeatureType(self._java_ref.buildFeatureType(), self.attributes)
| [
2,
198,
2,
15069,
357,
66,
8,
2211,
12,
23344,
25767,
669,
284,
262,
30991,
5693,
198,
2,
198,
2,
4091,
262,
28536,
2393,
9387,
351,
428,
670,
329,
3224,
1321,
5115,
6634,
198,
2,
9238,
13,
1439,
2489,
10395,
13,
770,
1430,
290,
262,
19249,
5696,
389,
925,
1695,
198,
2,
739,
262,
2846,
286,
262,
24843,
13789,
11,
10628,
362,
13,
15,
543,
48159,
428,
6082,
290,
318,
198,
2,
1695,
379,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
13,
14116,
198,
2,
23926,
4770,
25609,
18604,
198,
198,
6738,
12972,
70,
86,
13,
11250,
1330,
20129,
62,
35339,
198,
6738,
12972,
70,
86,
13,
8692,
1330,
32960,
39709,
10267,
198,
198,
6738,
764,
36439,
62,
30053,
62,
4906,
1330,
17427,
38816,
6030,
198,
6738,
764,
42348,
62,
20147,
1968,
273,
1330,
3460,
4163,
24564,
1968,
273,
198,
198,
4871,
17427,
38816,
6030,
32875,
7,
10082,
78,
39709,
10267,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10934,
82,
4600,
9078,
70,
86,
13,
469,
313,
10141,
13,
36439,
62,
30053,
62,
4906,
13,
26437,
38816,
6030,
63,
10245,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
900,
62,
3672,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
1438,
286,
262,
3895,
2099,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
357,
2536,
2599,
383,
1438,
284,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
3895,
2099,
27098,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
12355,
62,
5420,
13,
2617,
5376,
7,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
628,
220,
220,
220,
825,
900,
62,
14933,
10223,
62,
9900,
7,
944,
11,
25745,
62,
9900,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
25745,
43975,
286,
262,
3895,
2099,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25745,
62,
9900,
357,
2536,
2599,
383,
25745,
43975,
284,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
3895,
2099,
27098,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
12355,
62,
5420,
13,
2617,
36690,
10223,
47269,
7,
14933,
10223,
62,
9900,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
628,
220,
220,
220,
825,
900,
62,
82,
3808,
7,
944,
11,
264,
3808,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
21394,
262,
21739,
4941,
1080,
286,
262,
3895,
2099,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
3808,
357,
2536,
2599,
383,
21739,
4941,
1080,
284,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
3895,
2099,
27098,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
12355,
62,
5420,
13,
2617,
50,
6998,
7,
82,
3808,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
628,
220,
220,
220,
825,
751,
7,
944,
11,
11688,
62,
20147,
1968,
273,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
34333,
281,
11688,
284,
262,
3895,
2099,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11688,
62,
20147,
1968,
273,
357,
9078,
70,
86,
13,
469,
313,
10141,
13,
42348,
62,
20147,
1968,
273,
13,
33682,
24564,
1968,
273,
2599,
383,
11688,
284,
751,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
3895,
2099,
27098,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
42348,
62,
20147,
1968,
273,
11,
3460,
4163,
24564,
1968,
273,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1078,
7657,
13,
33295,
7,
42348,
62,
20147,
1968,
273,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
12355,
62,
5420,
13,
2860,
7,
42348,
62,
20147,
1968,
273,
13557,
12355,
62,
5420,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
42348,
62,
20147,
1968,
273,
815,
307,
286,
2099,
3460,
4163,
24564,
1968,
273,
4943,
628,
220,
220,
220,
825,
1382,
62,
30053,
62,
4906,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10934,
82,
262,
17839,
3895,
2099,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
4600,
9078,
70,
86,
13,
469,
313,
10141,
13,
36439,
62,
30053,
62,
4906,
13,
26437,
38816,
6030,
63,
351,
262,
1813,
8398,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
17427,
38816,
6030,
7,
944,
13557,
12355,
62,
5420,
13,
11249,
38816,
6030,
22784,
2116,
13,
1078,
7657,
8,
198
] | 2.613031 | 1,013 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from openravepy import *
import sys
import numpy as np
# initialize environment
env = Environment()
env.StopSimulation()
# openrave_root = './'
# env.Load(openrave_root + "baxter_ik.xml")
env.Load("sc_3dof.xml")
env.SetViewer('qtcoin') # start the viewer (conflicts with matplotlib)
robot = env.GetRobots()[0] # get the first robot
manip = robot.SetActiveManipulator('manipulator') # set the manipulator to right_arm
dummy_joints = [1.57, 0.0, 0.0]
robot.SetDOFValues(dummy_joints, manip.GetArmIndices()) # set the current solution
current_pose = manip.GetEndEffectorTransform()
print current_pose
# # try IK for similar pose
goal_pose = current_pose
# # goal_pose[2,3] -= 0.05
ikmodel = databases.inversekinematics.InverseKinematicsModel(robot,iktype=IkParameterization.Type.Translation3D)
print ikmodel.load()
# sol = manip.FindIKSolution(goal_pose, 18) # get collision-free solution
# print "IK solution:", sol
# ikmodel = databases.inversekinematics.InverseKinematicsModel(robot,iktype=IkParameterization.Type.Translation3D)
# if not ikmodel.load():
# ikmodel.autogenerate()
index = 0
with env:
# move the robot in a random collision-free position and call the IK
while True:
target=ikmodel.manip.GetTransform()[0:3,3]+(np.random.rand(3)-0.5)
solutions = ikmodel.manip.FindIKSolutions(IkParameterization(target,IkParameterization.Type.Lookat3D),IkFilterOptions.CheckEnvCollisions)
print "index:", index
index += 1
if len(solutions) > 0:
break
raw_input('Hit ENTER to continue.')
env.Destroy()
with robot: # lock environment and save robot state
robot.SetDOFValues([0.0, 0.0, 0.0],[0,1,2]) # set the first 3 dof values
Tee = manip.GetEndEffectorTransform() # get end effector
print Tee
ikparam = IkParameterization(Tee[0:3,3],ikmodel.iktype) # build up the translation3d ik query
print ikparam
print ikparam.GetType()
print ikparam.GetNumberOfValues()
print ikparam.GetValues()
print ikparam.GetDOF()
print ikparam.GetRotation3D()
print ikparam.GetTranslation3D()
# joint_conf = databases.inversekinematics.RaveCreateIkSolver(env, 'sc_3dof')
# print "joint_conf", joint_conf
ikmodel = databases.inversekinematics.InverseKinematicsModel(robot, iktype=IkParameterization.Type.Translation3D)
ikname = ikmodel.getikname()
iktest = ikmodel.testik()
print "ikname", ikname
sys.exit("Done")
sols = manip.FindIKSolutions(ikparam, IkFilterOptions.CheckEnvCollisions) # get all solutions
sol = manip.FindIKSolution(goal_pose, 18) # get collision-free solution
print sols
sys.exit("Done")
h = env.plot3(Tee[0:3,3],10) # plot one point
with robot: # save robot state
for sol in sols[::10]: # go through every 10th solution
robot.SetDOFValues(sol,manip.GetArmIndices()) # set the current solution
env.UpdatePublishedBodies() # allow viewer to update new robot
raw_input('press any key')
raveLogInfo('restored dof values: '+repr(robot.GetDOFValues())) # robot state is restored to original
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
1280,
5758,
9078,
1330,
1635,
198,
11748,
25064,
198,
11748,
299,
32152,
355,
45941,
628,
198,
2,
41216,
2858,
198,
24330,
796,
9344,
3419,
198,
24330,
13,
19485,
8890,
1741,
3419,
198,
2,
1280,
5758,
62,
15763,
796,
705,
19571,
6,
198,
2,
17365,
13,
8912,
7,
9654,
5758,
62,
15763,
1343,
366,
65,
40864,
62,
1134,
13,
19875,
4943,
198,
24330,
13,
8912,
7203,
1416,
62,
18,
67,
1659,
13,
19875,
4943,
198,
24330,
13,
7248,
7680,
263,
10786,
39568,
3630,
11537,
1303,
923,
262,
19091,
357,
10414,
42267,
351,
2603,
29487,
8019,
8,
628,
198,
220,
220,
220,
220,
198,
305,
13645,
796,
17365,
13,
3855,
14350,
1747,
3419,
58,
15,
60,
1303,
651,
262,
717,
9379,
198,
198,
805,
541,
796,
9379,
13,
7248,
13739,
5124,
541,
8927,
10786,
805,
541,
8927,
11537,
1303,
900,
262,
7704,
8927,
284,
826,
62,
1670,
198,
198,
67,
13513,
62,
73,
1563,
82,
796,
685,
16,
13,
3553,
11,
657,
13,
15,
11,
657,
13,
15,
60,
198,
305,
13645,
13,
7248,
18227,
37,
40161,
7,
67,
13513,
62,
73,
1563,
82,
11,
7704,
13,
3855,
26560,
5497,
1063,
28955,
1303,
900,
262,
1459,
4610,
198,
14421,
62,
3455,
796,
7704,
13,
3855,
12915,
18610,
273,
41762,
3419,
198,
4798,
1459,
62,
3455,
198,
198,
2,
1303,
1949,
314,
42,
329,
2092,
12705,
198,
35231,
62,
3455,
796,
1459,
62,
3455,
198,
2,
1303,
3061,
62,
3455,
58,
17,
11,
18,
60,
48185,
657,
13,
2713,
198,
1134,
19849,
796,
20083,
13,
259,
4399,
5116,
368,
23372,
13,
818,
4399,
42,
7749,
23372,
17633,
7,
305,
13645,
11,
1134,
4906,
28,
40,
74,
36301,
1634,
13,
6030,
13,
48313,
18,
35,
8,
198,
4798,
220,
1134,
19849,
13,
2220,
3419,
628,
198,
2,
1540,
796,
7704,
13,
16742,
18694,
46344,
7,
35231,
62,
3455,
11,
1248,
8,
1303,
651,
17661,
12,
5787,
4610,
198,
2,
3601,
366,
18694,
4610,
25,
1600,
1540,
198,
198,
2,
220,
1134,
19849,
796,
20083,
13,
259,
4399,
5116,
368,
23372,
13,
818,
4399,
42,
7749,
23372,
17633,
7,
305,
13645,
11,
1134,
4906,
28,
40,
74,
36301,
1634,
13,
6030,
13,
48313,
18,
35,
8,
198,
2,
611,
407,
220,
1134,
19849,
13,
2220,
33529,
198,
220,
220,
220,
1303,
220,
1134,
19849,
13,
2306,
519,
877,
378,
3419,
198,
198,
9630,
796,
657,
198,
4480,
17365,
25,
198,
197,
197,
2,
1445,
262,
9379,
287,
257,
4738,
17661,
12,
5787,
2292,
290,
869,
262,
314,
42,
198,
197,
197,
4514,
6407,
25,
198,
197,
197,
197,
197,
16793,
28,
1134,
19849,
13,
805,
541,
13,
3855,
41762,
3419,
58,
15,
25,
18,
11,
18,
60,
33747,
37659,
13,
25120,
13,
25192,
7,
18,
13219,
15,
13,
20,
8,
198,
197,
197,
197,
197,
82,
14191,
796,
220,
1134,
19849,
13,
805,
541,
13,
16742,
18694,
50,
14191,
7,
40,
74,
36301,
1634,
7,
16793,
11,
40,
74,
36301,
1634,
13,
6030,
13,
8567,
265,
18,
35,
828,
40,
74,
22417,
29046,
13,
9787,
4834,
85,
22667,
3279,
8,
198,
197,
197,
197,
197,
4798,
366,
9630,
25,
1600,
6376,
198,
197,
197,
197,
197,
9630,
15853,
352,
198,
197,
197,
197,
197,
361,
18896,
7,
82,
14191,
8,
1875,
657,
25,
198,
197,
197,
197,
197,
197,
197,
9032,
198,
1831,
62,
15414,
10786,
17889,
46962,
284,
2555,
2637,
8,
198,
24330,
13,
49174,
3419,
198,
198,
4480,
9379,
25,
1303,
5793,
2858,
290,
3613,
9379,
1181,
198,
220,
220,
220,
9379,
13,
7248,
18227,
37,
40161,
26933,
15,
13,
15,
11,
657,
13,
15,
11,
657,
13,
15,
38430,
15,
11,
16,
11,
17,
12962,
1303,
900,
262,
717,
513,
466,
69,
3815,
198,
220,
220,
220,
49350,
796,
7704,
13,
3855,
12915,
18610,
273,
41762,
3419,
1303,
651,
886,
1245,
273,
198,
220,
220,
220,
3601,
49350,
198,
220,
220,
220,
220,
1134,
17143,
796,
32840,
36301,
1634,
7,
51,
1453,
58,
15,
25,
18,
11,
18,
4357,
1134,
19849,
13,
1134,
4906,
8,
1303,
1382,
510,
262,
11059,
18,
67,
220,
1134,
12405,
198,
220,
220,
220,
3601,
220,
1134,
17143,
198,
220,
220,
220,
3601,
220,
1134,
17143,
13,
3855,
6030,
3419,
198,
220,
220,
220,
3601,
220,
1134,
17143,
13,
3855,
15057,
5189,
40161,
3419,
198,
220,
220,
220,
3601,
220,
1134,
17143,
13,
3855,
40161,
3419,
198,
220,
220,
220,
3601,
220,
1134,
17143,
13,
3855,
18227,
37,
3419,
198,
220,
220,
220,
3601,
220,
1134,
17143,
13,
3855,
49,
14221,
18,
35,
3419,
198,
220,
220,
220,
3601,
220,
1134,
17143,
13,
3855,
48313,
18,
35,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
6466,
62,
10414,
796,
20083,
13,
259,
4399,
5116,
368,
23372,
13,
49,
1015,
16447,
40,
74,
50,
14375,
7,
24330,
11,
705,
1416,
62,
18,
67,
1659,
11537,
198,
220,
220,
220,
1303,
3601,
366,
73,
1563,
62,
10414,
1600,
6466,
62,
10414,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
1134,
19849,
796,
20083,
13,
259,
4399,
5116,
368,
23372,
13,
818,
4399,
42,
7749,
23372,
17633,
7,
305,
13645,
11,
220,
1134,
4906,
28,
40,
74,
36301,
1634,
13,
6030,
13,
48313,
18,
35,
8,
198,
220,
220,
220,
220,
1134,
3672,
796,
220,
1134,
19849,
13,
1136,
1134,
3672,
3419,
198,
220,
220,
220,
220,
1134,
9288,
796,
220,
1134,
19849,
13,
9288,
1134,
3419,
198,
220,
220,
220,
3601,
366,
1134,
3672,
1600,
220,
1134,
3672,
628,
220,
220,
220,
25064,
13,
37023,
7203,
45677,
4943,
198,
220,
220,
220,
1540,
82,
796,
7704,
13,
16742,
18694,
50,
14191,
7,
1134,
17143,
11,
32840,
22417,
29046,
13,
9787,
4834,
85,
22667,
3279,
8,
1303,
651,
477,
8136,
198,
220,
220,
220,
1540,
796,
7704,
13,
16742,
18694,
46344,
7,
35231,
62,
3455,
11,
1248,
8,
1303,
651,
17661,
12,
5787,
4610,
198,
198,
4798,
1540,
82,
198,
17597,
13,
37023,
7203,
45677,
4943,
198,
198,
71,
796,
17365,
13,
29487,
18,
7,
51,
1453,
58,
15,
25,
18,
11,
18,
4357,
940,
8,
1303,
7110,
530,
966,
198,
4480,
9379,
25,
1303,
3613,
9379,
1181,
198,
220,
220,
220,
329,
1540,
287,
1540,
82,
58,
3712,
940,
5974,
1303,
467,
832,
790,
838,
400,
4610,
198,
220,
220,
220,
220,
220,
220,
220,
9379,
13,
7248,
18227,
37,
40161,
7,
34453,
11,
805,
541,
13,
3855,
26560,
5497,
1063,
28955,
1303,
900,
262,
1459,
4610,
198,
220,
220,
220,
220,
220,
220,
220,
17365,
13,
10260,
24492,
33,
5042,
3419,
1303,
1249,
19091,
284,
4296,
649,
9379,
198,
220,
220,
220,
220,
220,
220,
220,
8246,
62,
15414,
10786,
8439,
597,
1994,
11537,
198,
198,
5758,
11187,
12360,
10786,
2118,
1850,
466,
69,
3815,
25,
705,
10,
260,
1050,
7,
305,
13645,
13,
3855,
18227,
37,
40161,
3419,
4008,
1303,
9379,
1181,
318,
15032,
284,
2656,
198
] | 2.671552 | 1,160 |
import discord # type: ignore
from discord.ext import commands # type: ignore
from discord.commands import Option # type: ignore
from typing import Optional
import json
import requests
from utils import error, PROFILE_NAMES, hf, guild_ids
from menus import generate_static_preset_menu
from emojis import ITEM_RARITY
from parse_profile import get_profile_data
from extract_ids import extract_internal_names
RARITY_LIST = list(ITEM_RARITY.keys())
# Create the master list!
from text_files.accessory_list import talisman_upgrades
# Get a list of all accessories
ACCESSORIES: list[dict] = []
with open("text_files/MASTER_ITEM_DICT.json", "r", encoding="utf-8") as file:
item_dict = json.load(file)
for item in item_dict:
if item_dict[item].get("rarity", False) and item_dict[item]["rarity"] != "UNKNOWN":
ACCESSORIES.append(item_dict[item])
# Now remove all the low tier ones
MASTER_ACCESSORIES = []
for accessory in ACCESSORIES:
if accessory["internal_name"] not in talisman_upgrades.keys():
MASTER_ACCESSORIES.append(accessory)
EMOJI_LIST = ["<:alphabetically:905066318720544779>", "<:recombobulator:854750106376339477>", "<:by_price:900069290143797299>"]
| [
11748,
36446,
220,
1303,
2099,
25,
8856,
198,
6738,
36446,
13,
2302,
1330,
9729,
220,
1303,
2099,
25,
8856,
198,
6738,
36446,
13,
9503,
1746,
1330,
16018,
220,
1303,
2099,
25,
8856,
198,
6738,
19720,
1330,
32233,
198,
198,
11748,
33918,
198,
11748,
7007,
198,
198,
6738,
3384,
4487,
1330,
4049,
11,
21965,
25664,
62,
45,
29559,
11,
289,
69,
11,
19806,
62,
2340,
198,
6738,
26798,
1330,
7716,
62,
12708,
62,
18302,
316,
62,
26272,
198,
6738,
795,
13210,
271,
1330,
7283,
3620,
62,
49,
1503,
9050,
198,
6738,
21136,
62,
13317,
1330,
651,
62,
13317,
62,
7890,
198,
6738,
7925,
62,
2340,
1330,
7925,
62,
32538,
62,
14933,
198,
198,
49,
1503,
9050,
62,
45849,
796,
1351,
7,
2043,
3620,
62,
49,
1503,
9050,
13,
13083,
28955,
198,
198,
2,
13610,
262,
4958,
1351,
0,
198,
6738,
2420,
62,
16624,
13,
15526,
652,
62,
4868,
1330,
3305,
23845,
62,
929,
31177,
198,
198,
2,
3497,
257,
1351,
286,
477,
18199,
198,
26861,
7597,
1581,
11015,
25,
1351,
58,
11600,
60,
796,
17635,
198,
4480,
1280,
7203,
5239,
62,
16624,
14,
31180,
5781,
62,
2043,
3620,
62,
35,
18379,
13,
17752,
1600,
366,
81,
1600,
21004,
2625,
40477,
12,
23,
4943,
355,
2393,
25,
198,
220,
220,
220,
2378,
62,
11600,
796,
33918,
13,
2220,
7,
7753,
8,
198,
220,
220,
220,
329,
2378,
287,
2378,
62,
11600,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
62,
11600,
58,
9186,
4083,
1136,
7203,
81,
6806,
1600,
10352,
8,
290,
2378,
62,
11600,
58,
9186,
7131,
1,
81,
6806,
8973,
14512,
366,
4944,
44706,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15859,
7597,
1581,
11015,
13,
33295,
7,
9186,
62,
11600,
58,
9186,
12962,
198,
198,
2,
2735,
4781,
477,
262,
1877,
14249,
3392,
198,
31180,
5781,
62,
26861,
7597,
1581,
11015,
796,
17635,
198,
1640,
28207,
287,
15859,
7597,
1581,
11015,
25,
198,
220,
220,
220,
611,
28207,
14692,
32538,
62,
3672,
8973,
407,
287,
3305,
23845,
62,
929,
31177,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
32337,
5781,
62,
26861,
7597,
1581,
11015,
13,
33295,
7,
15526,
652,
8,
198,
198,
3620,
46,
41,
40,
62,
45849,
796,
14631,
27,
25,
17307,
8380,
1146,
25,
3829,
1120,
45791,
23451,
21261,
2598,
40393,
29,
1600,
33490,
25,
260,
24011,
672,
8927,
25,
23,
4051,
2425,
486,
3312,
32128,
29626,
32883,
29,
1600,
33490,
25,
1525,
62,
20888,
25,
24,
830,
3388,
1959,
28645,
2718,
5607,
22579,
29,
8973,
628
] | 2.8487 | 423 |
#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2021/12/27 14:03
# @Author : zhangjianming
# @Email : [email protected]
# @File : MyModel.py
# @Software: PyCharm
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch_nlp_job_default.util.log_config import get_logger
logger = get_logger()
class RNNModel(nn.Module):
"""循环神经网络模型"""
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
4808,
9,
62,
19617,
25,
3384,
69,
12,
23,
4808,
9,
62,
198,
2,
2488,
7575,
220,
220,
220,
1058,
33448,
14,
1065,
14,
1983,
1478,
25,
3070,
198,
2,
2488,
13838,
220,
1058,
1976,
33255,
73,
666,
2229,
198,
2,
2488,
15333,
220,
220,
1058,
575,
35755,
4303,
5282,
31,
24136,
13,
785,
198,
2,
2488,
8979,
220,
220,
220,
1058,
2011,
17633,
13,
9078,
198,
2,
2488,
25423,
25,
9485,
1925,
1670,
198,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
6738,
28034,
62,
21283,
79,
62,
21858,
62,
12286,
13,
22602,
13,
6404,
62,
11250,
1330,
651,
62,
6404,
1362,
198,
198,
6404,
1362,
796,
651,
62,
6404,
1362,
3419,
628,
198,
4871,
371,
6144,
17633,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
36181,
103,
163,
236,
107,
15351,
163,
119,
237,
163,
121,
239,
163,
119,
250,
162,
101,
94,
161,
252,
233,
37811,
628,
198
] | 2.164773 | 176 |
class NotImplementedEngineError(NotImplementedError):
"""Exception raised when executing a method with a specific engine is not supported yet.
This exception is raised when a method can not be executed with the selected engine by the user.
Parameters
----------
engine : str
The engine not supported yet.
Raises
------
NotImplementedFormError
A message is printed out with the name of the engine not supported, the name of the class or
the method raising the exception, the link to the API documentation, and the link to the
issues board of Sabueso's GitHub repository.
Examples
--------
>>> from molsysmt._private.exceptions import NotImplementedEngineError
>>> def method_name(engine):
... if engine not in ['MolSysMT', 'MDTraj']:
... raise NotImplementedEngineError(engine)
... pass
.. admonition:: See Also
:class: attention
:ref:`Developer Guide \> Exceptions \> NotImplementedEngineError <developer:exceptions:NotImplementedEngineError>`
"""
| [
4871,
1892,
3546,
1154,
12061,
13798,
12331,
7,
3673,
3546,
1154,
12061,
12331,
2599,
628,
220,
220,
220,
37227,
16922,
4376,
618,
23710,
257,
2446,
351,
257,
2176,
3113,
318,
407,
4855,
1865,
13,
628,
220,
220,
220,
770,
6631,
318,
4376,
618,
257,
2446,
460,
407,
307,
10945,
351,
262,
6163,
3113,
416,
262,
2836,
13,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
3113,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3113,
407,
4855,
1865,
13,
628,
220,
220,
220,
7567,
2696,
198,
220,
220,
220,
40103,
198,
220,
220,
220,
1892,
3546,
1154,
12061,
8479,
12331,
198,
220,
220,
220,
220,
220,
220,
220,
317,
3275,
318,
10398,
503,
351,
262,
1438,
286,
262,
3113,
407,
4855,
11,
262,
1438,
286,
262,
1398,
393,
198,
220,
220,
220,
220,
220,
220,
220,
262,
2446,
8620,
262,
6631,
11,
262,
2792,
284,
262,
7824,
10314,
11,
290,
262,
2792,
284,
262,
198,
220,
220,
220,
220,
220,
220,
220,
2428,
3096,
286,
9910,
947,
78,
338,
21722,
16099,
13,
628,
220,
220,
220,
21066,
198,
220,
220,
220,
24200,
198,
220,
220,
220,
13163,
422,
285,
10220,
893,
16762,
13557,
19734,
13,
1069,
11755,
1330,
1892,
3546,
1154,
12061,
13798,
12331,
198,
220,
220,
220,
13163,
825,
2446,
62,
3672,
7,
18392,
2599,
198,
220,
220,
220,
2644,
220,
220,
220,
611,
3113,
407,
287,
37250,
44,
349,
44387,
13752,
3256,
705,
12740,
15721,
73,
6,
5974,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
13798,
12331,
7,
18392,
8,
198,
220,
220,
220,
2644,
220,
220,
220,
1208,
628,
220,
220,
220,
11485,
37202,
653,
3712,
4091,
4418,
198,
220,
220,
220,
220,
220,
220,
1058,
4871,
25,
3241,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
5420,
25,
63,
45351,
10005,
3467,
29,
1475,
11755,
3467,
29,
1892,
3546,
1154,
12061,
13798,
12331,
1279,
16244,
263,
25,
1069,
11755,
25,
3673,
3546,
1154,
12061,
13798,
12331,
29,
63,
628,
220,
220,
220,
37227,
628,
198
] | 3.108883 | 349 |
# -*- coding: utf-8 -*-
"""
Test BeautifyIcon
---------------
"""
from __future__ import (absolute_import, division, print_function)
from jinja2 import Template
import folium
from folium import plugins
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
37811,
198,
14402,
13711,
1958,
19578,
198,
24305,
198,
198,
37811,
198,
198,
6738,
11593,
37443,
834,
1330,
357,
48546,
62,
11748,
11,
7297,
11,
3601,
62,
8818,
8,
198,
198,
6738,
474,
259,
6592,
17,
1330,
37350,
198,
198,
11748,
5955,
1505,
198,
198,
6738,
5955,
1505,
1330,
20652,
628
] | 3.166667 | 66 |
import torch.nn as nn
| [
11748,
28034,
13,
20471,
355,
299,
77,
628
] | 2.875 | 8 |
# MIT License
#
# Copyright (c) 2016 Patrick Eschenbach
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import urllib
import httplib
import os
import gzip
import shutil
import random
import subprocess
import json
import time
import math
from landsat.downloader import Downloader
from landsat.image import Simple
from colorama import init, Fore
init(autoreset=True)
work_folder = "temp"
def calculate_latlon_midpoint(lat1, lon1, lat2, lon2):
"Calculation of geographic midpoint with method A: http://www.geomidpoint.com/calculation.html"
lat1 = math.radians(lat1)
lon1 = math.radians(lon1)
lat2 = math.radians(lat2)
lon2 = math.radians(lon2)
w1 = 1
w2 = 2
w_total = w1 + w2
x1 = math.cos(lat1) * math.cos(lon1)
y1 = math.cos(lat1) * math.sin(lon1)
z1 = math.sin(lat1)
x2 = math.cos(lat2) * math.cos(lon2)
y2 = math.cos(lat2) * math.sin(lon2)
z2 = math.sin(lat2)
x = ((x1 * w1) + (x2 * w2)) / w_total
y = ((y1 * w1) + (y2 * w2)) / w_total
z = ((z1 * w1) + (z2 * w2)) / w_total
hyp = math.sqrt(x * x + y * y)
mid_lat = math.atan2(z, hyp)
mid_lon = math.atan2(y, x)
return (math.degrees(mid_lat), math.degrees(mid_lon))
| [
2,
17168,
13789,
198,
2,
198,
2,
15069,
357,
66,
8,
1584,
9925,
16319,
831,
19496,
198,
2,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
198,
2,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
1730,
198,
2,
287,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
2489,
198,
2,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
198,
2,
9088,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
198,
2,
30760,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
2,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
477,
198,
2,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
198,
2,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
198,
2,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
198,
2,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
198,
2,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
198,
2,
16289,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
198,
2,
47466,
13,
198,
198,
11748,
2956,
297,
571,
198,
11748,
1841,
489,
571,
198,
11748,
28686,
198,
11748,
308,
13344,
198,
11748,
4423,
346,
198,
11748,
4738,
198,
11748,
850,
14681,
198,
11748,
33918,
198,
11748,
640,
198,
11748,
10688,
198,
6738,
8604,
265,
13,
15002,
263,
1330,
10472,
263,
198,
6738,
8604,
265,
13,
9060,
1330,
17427,
198,
6738,
3124,
1689,
1330,
2315,
11,
4558,
198,
15003,
7,
2306,
382,
2617,
28,
17821,
8,
198,
198,
1818,
62,
43551,
796,
366,
29510,
1,
198,
198,
4299,
15284,
62,
15460,
14995,
62,
13602,
4122,
7,
15460,
16,
11,
300,
261,
16,
11,
3042,
17,
11,
300,
261,
17,
2599,
198,
220,
220,
220,
366,
9771,
14902,
286,
22987,
3095,
4122,
351,
2446,
317,
25,
2638,
1378,
2503,
13,
469,
296,
312,
4122,
13,
785,
14,
9948,
14902,
13,
6494,
1,
198,
220,
220,
220,
3042,
16,
796,
10688,
13,
6335,
1547,
7,
15460,
16,
8,
198,
220,
220,
220,
300,
261,
16,
796,
10688,
13,
6335,
1547,
7,
14995,
16,
8,
198,
220,
220,
220,
3042,
17,
796,
10688,
13,
6335,
1547,
7,
15460,
17,
8,
198,
220,
220,
220,
300,
261,
17,
796,
10688,
13,
6335,
1547,
7,
14995,
17,
8,
198,
220,
220,
220,
266,
16,
796,
352,
198,
220,
220,
220,
266,
17,
796,
362,
198,
220,
220,
220,
266,
62,
23350,
796,
266,
16,
1343,
266,
17,
198,
220,
220,
220,
2124,
16,
796,
10688,
13,
6966,
7,
15460,
16,
8,
1635,
10688,
13,
6966,
7,
14995,
16,
8,
198,
220,
220,
220,
331,
16,
796,
10688,
13,
6966,
7,
15460,
16,
8,
1635,
10688,
13,
31369,
7,
14995,
16,
8,
198,
220,
220,
220,
1976,
16,
796,
10688,
13,
31369,
7,
15460,
16,
8,
198,
220,
220,
220,
2124,
17,
796,
10688,
13,
6966,
7,
15460,
17,
8,
1635,
10688,
13,
6966,
7,
14995,
17,
8,
198,
220,
220,
220,
331,
17,
796,
10688,
13,
6966,
7,
15460,
17,
8,
1635,
10688,
13,
31369,
7,
14995,
17,
8,
198,
220,
220,
220,
1976,
17,
796,
10688,
13,
31369,
7,
15460,
17,
8,
198,
220,
220,
220,
2124,
796,
14808,
87,
16,
1635,
266,
16,
8,
1343,
357,
87,
17,
1635,
266,
17,
4008,
1220,
266,
62,
23350,
198,
220,
220,
220,
331,
796,
14808,
88,
16,
1635,
266,
16,
8,
1343,
357,
88,
17,
1635,
266,
17,
4008,
1220,
266,
62,
23350,
198,
220,
220,
220,
1976,
796,
14808,
89,
16,
1635,
266,
16,
8,
1343,
357,
89,
17,
1635,
266,
17,
4008,
1220,
266,
62,
23350,
198,
220,
220,
220,
5328,
796,
10688,
13,
31166,
17034,
7,
87,
1635,
2124,
1343,
331,
1635,
331,
8,
198,
220,
220,
220,
3095,
62,
15460,
796,
10688,
13,
39036,
17,
7,
89,
11,
5328,
8,
198,
220,
220,
220,
3095,
62,
14995,
796,
10688,
13,
39036,
17,
7,
88,
11,
2124,
8,
198,
220,
220,
220,
1441,
357,
11018,
13,
13500,
6037,
7,
13602,
62,
15460,
828,
10688,
13,
13500,
6037,
7,
13602,
62,
14995,
4008,
198
] | 2.814249 | 786 |
# name: driving_school.py
#--------------------------------- IMPORTS -------------------------------------#
import time # Import time library for sleep function
import easygopigo3 as easy # Import the GoPiGo3 library
gpg = easy.EasyGoPiGo3() # Create a EasyGoPiGo3 object
# Initialize a distance sensor object
distance_sensor = gpg.init_distance_sensor()
# Initialize a servo object on Servo Port 1
servo = gpg.init_servo("SERVO1")
# Set servo pointing straight ahead at 90 degrees
# You may have to change the degrees to adapt to your servo
# All servos line up slightly differently
# Less than 90 moves the servo to the right
# Greater than 90 moves the servo to the left
servo.rotate_servo(90)
gpg.set_speed(200) # Set initial speed
AVOIDANCE_DISTANCE = 12 # Distance in inches from obstacle where the GoPiGo should stop
# If a standalone program, call the main function
# Else, use as a module
if __name__ == '__main__':
main()
| [
2,
1438,
25,
5059,
62,
14347,
13,
9078,
628,
198,
2,
3880,
12,
30023,
33002,
20368,
30934,
2,
198,
11748,
640,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17267,
640,
5888,
329,
3993,
2163,
198,
11748,
2562,
70,
404,
14031,
18,
355,
2562,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17267,
262,
1514,
38729,
5247,
18,
5888,
198,
70,
6024,
796,
2562,
13,
28406,
5247,
38729,
5247,
18,
3419,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
257,
16789,
5247,
38729,
5247,
18,
2134,
198,
2,
20768,
1096,
257,
5253,
12694,
2134,
198,
30246,
62,
82,
22854,
796,
308,
6024,
13,
15003,
62,
30246,
62,
82,
22854,
3419,
198,
2,
20768,
1096,
257,
1113,
78,
2134,
319,
3116,
78,
4347,
352,
198,
3168,
78,
796,
308,
6024,
13,
15003,
62,
3168,
78,
7203,
35009,
29516,
16,
4943,
198,
198,
2,
5345,
1113,
78,
10609,
3892,
4058,
379,
4101,
7370,
198,
2,
921,
743,
423,
284,
1487,
262,
7370,
284,
6068,
284,
534,
1113,
78,
198,
2,
1439,
1113,
418,
1627,
510,
4622,
10338,
198,
2,
12892,
621,
4101,
6100,
262,
1113,
78,
284,
262,
826,
198,
2,
18169,
621,
4101,
6100,
262,
1113,
78,
284,
262,
1364,
198,
3168,
78,
13,
10599,
378,
62,
3168,
78,
7,
3829,
8,
198,
70,
6024,
13,
2617,
62,
12287,
7,
2167,
8,
220,
220,
220,
220,
220,
220,
1303,
5345,
4238,
2866,
198,
10116,
46,
2389,
19240,
62,
35,
8808,
19240,
796,
1105,
220,
1303,
34600,
287,
8331,
422,
22007,
810,
262,
1514,
38729,
5247,
815,
2245,
628,
628,
628,
198,
2,
1002,
257,
27669,
1430,
11,
869,
262,
1388,
2163,
198,
2,
25974,
11,
779,
355,
257,
8265,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.931429 | 350 |
"""The PanelComponentExplorer makes it easy to explore components"""
from .panel_component_explorer import PanelComponentExplorer
| [
37811,
464,
18810,
21950,
18438,
11934,
1838,
340,
2562,
284,
7301,
6805,
37811,
198,
6738,
764,
35330,
62,
42895,
62,
20676,
11934,
1330,
18810,
21950,
18438,
11934,
198
] | 4.642857 | 28 |
import os
import numpy as np
import cv2
from glob import glob
from tqdm import tqdm
import tensorflow as tf
from tensorflow.keras.models import load_model
from tensorflow.keras.utils import CustomObjectScope
from data_generator import *
from metrics import dice_coef, dice_loss
if __name__ == "__main__":
model_path = "../model/model/resunetplusplus.h5"
save_path = "../model/result"
test_path = "../model/data/"
image_size = 256
batch_size = 1
test_image_paths = glob(os.path.join(test_path, "imgs", "*"))
test_mask_paths = glob(os.path.join(test_path, "masks", "*"))
test_image_paths.sort()
test_mask_paths.sort()
## Create result folder
try:
os.mkdir(save_path)
except:
pass
## Model
with CustomObjectScope({'dice_loss': dice_loss, 'dice_coef': dice_coef}):
model = load_model(model_path)
## Test
print("Test Result: ")
test_steps = len(test_image_paths)//batch_size
test_gen = DataGen(image_size, test_image_paths, test_mask_paths, batch_size=batch_size)
model.evaluate_generator(test_gen, steps=test_steps, verbose=1)
## Generating the result
for i, path in tqdm(enumerate(test_image_paths), total=len(test_image_paths)):
image = parse_image(test_image_paths[i], image_size)
mask = parse_mask(test_mask_paths[i], image_size)
predict_mask = model.predict(np.expand_dims(image, axis=0))[0]
predict_mask = (predict_mask > 0.5) * 255.0
sep_line = np.ones((image_size, 10, 3)) * 255
mask = mask_to_3d(mask)
predict_mask = mask_to_3d(predict_mask)
all_images = [image * 255, sep_line, mask * 255, sep_line, predict_mask]
cv2.imwrite(f"{save_path}/{i}.png", np.concatenate(all_images, axis=1))
print("Test image generation complete")
| [
198,
11748,
28686,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
269,
85,
17,
198,
6738,
15095,
1330,
15095,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
3440,
62,
19849,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
26791,
1330,
8562,
10267,
43642,
198,
6738,
1366,
62,
8612,
1352,
1330,
1635,
198,
6738,
20731,
1330,
17963,
62,
1073,
891,
11,
17963,
62,
22462,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
2746,
62,
6978,
796,
366,
40720,
19849,
14,
19849,
14,
411,
403,
316,
9541,
9541,
13,
71,
20,
1,
198,
220,
220,
220,
3613,
62,
6978,
796,
366,
40720,
19849,
14,
20274,
1,
198,
220,
220,
220,
1332,
62,
6978,
796,
366,
40720,
19849,
14,
7890,
30487,
628,
220,
220,
220,
2939,
62,
7857,
796,
17759,
198,
220,
220,
220,
15458,
62,
7857,
796,
352,
628,
220,
220,
220,
1332,
62,
9060,
62,
6978,
82,
796,
15095,
7,
418,
13,
6978,
13,
22179,
7,
9288,
62,
6978,
11,
366,
9600,
82,
1600,
366,
9,
48774,
198,
220,
220,
220,
1332,
62,
27932,
62,
6978,
82,
796,
15095,
7,
418,
13,
6978,
13,
22179,
7,
9288,
62,
6978,
11,
366,
5356,
591,
1600,
366,
9,
48774,
198,
220,
220,
220,
1332,
62,
9060,
62,
6978,
82,
13,
30619,
3419,
198,
220,
220,
220,
1332,
62,
27932,
62,
6978,
82,
13,
30619,
3419,
628,
220,
220,
220,
22492,
13610,
1255,
9483,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
28015,
15908,
7,
21928,
62,
6978,
8,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
22492,
9104,
198,
220,
220,
220,
351,
8562,
10267,
43642,
15090,
6,
67,
501,
62,
22462,
10354,
17963,
62,
22462,
11,
705,
67,
501,
62,
1073,
891,
10354,
17963,
62,
1073,
891,
92,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2746,
796,
3440,
62,
19849,
7,
19849,
62,
6978,
8,
628,
220,
220,
220,
22492,
6208,
198,
220,
220,
220,
3601,
7203,
14402,
25414,
25,
366,
8,
198,
220,
220,
220,
1332,
62,
20214,
796,
18896,
7,
9288,
62,
9060,
62,
6978,
82,
8,
1003,
43501,
62,
7857,
198,
220,
220,
220,
1332,
62,
5235,
796,
6060,
13746,
7,
9060,
62,
7857,
11,
1332,
62,
9060,
62,
6978,
82,
11,
1332,
62,
27932,
62,
6978,
82,
11,
15458,
62,
7857,
28,
43501,
62,
7857,
8,
198,
220,
220,
220,
2746,
13,
49786,
62,
8612,
1352,
7,
9288,
62,
5235,
11,
4831,
28,
9288,
62,
20214,
11,
15942,
577,
28,
16,
8,
628,
220,
220,
220,
22492,
2980,
803,
262,
1255,
198,
220,
220,
220,
329,
1312,
11,
3108,
287,
256,
80,
36020,
7,
268,
6975,
378,
7,
9288,
62,
9060,
62,
6978,
82,
828,
2472,
28,
11925,
7,
9288,
62,
9060,
62,
6978,
82,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
796,
21136,
62,
9060,
7,
9288,
62,
9060,
62,
6978,
82,
58,
72,
4357,
2939,
62,
7857,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9335,
796,
21136,
62,
27932,
7,
9288,
62,
27932,
62,
6978,
82,
58,
72,
4357,
2939,
62,
7857,
8,
628,
220,
220,
220,
220,
220,
220,
220,
4331,
62,
27932,
796,
2746,
13,
79,
17407,
7,
37659,
13,
11201,
392,
62,
67,
12078,
7,
9060,
11,
16488,
28,
15,
4008,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
4331,
62,
27932,
796,
357,
79,
17407,
62,
27932,
1875,
657,
13,
20,
8,
1635,
14280,
13,
15,
628,
220,
220,
220,
220,
220,
220,
220,
41767,
62,
1370,
796,
45941,
13,
1952,
19510,
9060,
62,
7857,
11,
838,
11,
513,
4008,
1635,
14280,
628,
220,
220,
220,
220,
220,
220,
220,
9335,
796,
9335,
62,
1462,
62,
18,
67,
7,
27932,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4331,
62,
27932,
796,
9335,
62,
1462,
62,
18,
67,
7,
79,
17407,
62,
27932,
8,
628,
220,
220,
220,
220,
220,
220,
220,
477,
62,
17566,
796,
685,
9060,
1635,
14280,
11,
41767,
62,
1370,
11,
9335,
1635,
14280,
11,
41767,
62,
1370,
11,
4331,
62,
27932,
60,
198,
220,
220,
220,
220,
220,
220,
220,
269,
85,
17,
13,
320,
13564,
7,
69,
1,
90,
21928,
62,
6978,
92,
14,
90,
72,
27422,
11134,
1600,
45941,
13,
1102,
9246,
268,
378,
7,
439,
62,
17566,
11,
16488,
28,
16,
4008,
628,
220,
220,
220,
3601,
7203,
14402,
2939,
5270,
1844,
4943,
198
] | 2.378414 | 769 |
import unittest
import numpy as np
from tsp_spanning import tsp, point_tsp, points_to_distance_matrix
if __name__ == "__main__":
unittest.main()
| [
11748,
555,
715,
395,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
23053,
62,
12626,
768,
1330,
23053,
11,
966,
62,
912,
79,
11,
2173,
62,
1462,
62,
30246,
62,
6759,
8609,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.684211 | 57 |
import json
import csv
from typing import Dict, List, Union
def get_items_list(filename: str) -> List:
"""Loads items data from formatted csv files and returns
the items list
"""
primary_title_column = 0
secondary_title_column = 1
rarity_column = 2
name_column = 3
# stats are messy and aren't applicable, so not used
# stats_column = 4
description_column = 5
primary_title = ''
secondary_title = ''
output = []
with open(filename, 'r') as file:
reader = csv.reader(file)
index = 1
for row in reader:
if row[primary_title_column] != '':
primary_title = row[primary_title_column]
secondary_title = ''
continue
if row[secondary_title_column] != '':
secondary_title = row[secondary_title_column]
continue
item = {}
# passed through titles, so here's data only
# no EOF because reader iterates over not empty rows only
if row[name_column] == '':
# TODO: push error to log
print(f'No name on line {index}, under {primary_title}{" - " + secondary_title if secondary_title != "" else ""}')
continue
if row[description_column] == '':
# TODO: push error to log
print(f'No description on line {index}, under {primary_title}{" - " + secondary_title if secondary_title != "" else ""}')
continue
item['primary_title'] = primary_title
if secondary_title != '':
item['secondary_title'] = secondary_title
if row[rarity_column] != '':
item['rarity'] = int(row[rarity_column])
item['name'] = row[name_column]
item['description'] = row[description_column]
print(f'Got a {item["primary_title"]} item{"" if "secondary_title" not in item else " for " + item["secondary_title"]}: {item["name"]}. \"{item["description"]}\"')
output.append(item)
index += 1
return output
if __name__ == '__main__':
files = [
['generation-items/anno/csv/academy-items.csv', 'generation-items/anno/json/academy-items.json'],
['generation-items/anno/csv/ark-items.csv', 'generation-items/anno/json/ark-items.json'],
['generation-items/anno/csv/lab-items.csv', 'generation-items/anno/json/lab-items.json'],
['generation-items/anno/csv/vehicle-items.csv', 'generation-items/anno/json/vehicle-items.json'],
['generation-items/anno/csv/warehouse-items.csv', 'generation-items/anno/json/warehouse-items.json']
]
for file_pair in files:
save_list_to_json(
get_items_list(file_pair[0]),
file_pair[1]
)
| [
11748,
33918,
198,
11748,
269,
21370,
198,
6738,
19720,
1330,
360,
713,
11,
7343,
11,
4479,
198,
198,
4299,
651,
62,
23814,
62,
4868,
7,
34345,
25,
965,
8,
4613,
7343,
25,
198,
220,
220,
220,
37227,
8912,
82,
3709,
1366,
422,
39559,
269,
21370,
3696,
290,
5860,
198,
220,
220,
220,
262,
3709,
1351,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
198,
220,
220,
220,
4165,
62,
7839,
62,
28665,
796,
657,
198,
220,
220,
220,
9233,
62,
7839,
62,
28665,
796,
352,
198,
220,
220,
220,
32823,
62,
28665,
796,
362,
198,
220,
220,
220,
1438,
62,
28665,
796,
513,
198,
220,
220,
220,
1303,
9756,
389,
24097,
290,
3588,
470,
9723,
11,
523,
407,
973,
198,
220,
220,
220,
1303,
9756,
62,
28665,
796,
604,
198,
220,
220,
220,
6764,
62,
28665,
796,
642,
628,
220,
220,
220,
4165,
62,
7839,
796,
10148,
198,
220,
220,
220,
9233,
62,
7839,
796,
10148,
628,
220,
220,
220,
5072,
796,
17635,
628,
220,
220,
220,
351,
1280,
7,
34345,
11,
705,
81,
11537,
355,
2393,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9173,
796,
269,
21370,
13,
46862,
7,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
352,
628,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
9173,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
58,
39754,
62,
7839,
62,
28665,
60,
14512,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4165,
62,
7839,
796,
5752,
58,
39754,
62,
7839,
62,
28665,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9233,
62,
7839,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
58,
38238,
62,
7839,
62,
28665,
60,
14512,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9233,
62,
7839,
796,
5752,
58,
38238,
62,
7839,
62,
28665,
60,
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,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3804,
832,
8714,
11,
523,
994,
338,
1366,
691,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
645,
412,
19238,
780,
9173,
11629,
689,
625,
407,
6565,
15274,
691,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
58,
3672,
62,
28665,
60,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
4574,
4049,
284,
2604,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
2949,
1438,
319,
1627,
1391,
9630,
5512,
739,
1391,
39754,
62,
7839,
92,
4895,
532,
366,
1343,
9233,
62,
7839,
611,
9233,
62,
7839,
14512,
13538,
2073,
13538,
92,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
58,
11213,
62,
28665,
60,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
4574,
4049,
284,
2604,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
2949,
6764,
319,
1627,
1391,
9630,
5512,
739,
1391,
39754,
62,
7839,
92,
4895,
532,
366,
1343,
9233,
62,
7839,
611,
9233,
62,
7839,
14512,
13538,
2073,
13538,
92,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
17816,
39754,
62,
7839,
20520,
796,
4165,
62,
7839,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
9233,
62,
7839,
14512,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
17816,
38238,
62,
7839,
20520,
796,
9233,
62,
7839,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5752,
58,
81,
6806,
62,
28665,
60,
14512,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
17816,
81,
6806,
20520,
796,
493,
7,
808,
58,
81,
6806,
62,
28665,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
17816,
3672,
20520,
796,
5752,
58,
3672,
62,
28665,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
17816,
11213,
20520,
796,
5752,
58,
11213,
62,
28665,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
30074,
257,
1391,
9186,
14692,
39754,
62,
7839,
8973,
92,
2378,
4895,
1,
611,
366,
38238,
62,
7839,
1,
407,
287,
2378,
2073,
366,
329,
366,
1343,
2378,
14692,
38238,
62,
7839,
8973,
38362,
1391,
9186,
14692,
3672,
8973,
27422,
19990,
90,
9186,
14692,
11213,
8973,
92,
7879,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
13,
33295,
7,
9186,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
15853,
352,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
5072,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3696,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
37250,
20158,
12,
23814,
14,
1236,
78,
14,
40664,
14,
330,
324,
3065,
12,
23814,
13,
40664,
3256,
705,
20158,
12,
23814,
14,
1236,
78,
14,
17752,
14,
330,
324,
3065,
12,
23814,
13,
17752,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
37250,
20158,
12,
23814,
14,
1236,
78,
14,
40664,
14,
668,
12,
23814,
13,
40664,
3256,
705,
20158,
12,
23814,
14,
1236,
78,
14,
17752,
14,
668,
12,
23814,
13,
17752,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
37250,
20158,
12,
23814,
14,
1236,
78,
14,
40664,
14,
23912,
12,
23814,
13,
40664,
3256,
705,
20158,
12,
23814,
14,
1236,
78,
14,
17752,
14,
23912,
12,
23814,
13,
17752,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
37250,
20158,
12,
23814,
14,
1236,
78,
14,
40664,
14,
33892,
1548,
12,
23814,
13,
40664,
3256,
705,
20158,
12,
23814,
14,
1236,
78,
14,
17752,
14,
33892,
1548,
12,
23814,
13,
17752,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
37250,
20158,
12,
23814,
14,
1236,
78,
14,
40664,
14,
1574,
4803,
12,
23814,
13,
40664,
3256,
705,
20158,
12,
23814,
14,
1236,
78,
14,
17752,
14,
1574,
4803,
12,
23814,
13,
17752,
20520,
198,
220,
220,
220,
2361,
628,
220,
220,
220,
329,
2393,
62,
24874,
287,
3696,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
4868,
62,
1462,
62,
17752,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
651,
62,
23814,
62,
4868,
7,
7753,
62,
24874,
58,
15,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
24874,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628
] | 2.232087 | 1,284 |
import numpy as np
from opytimizer.optimizers.science import efo
from opytimizer.spaces import search
np.random.seed(0)
| [
11748,
299,
32152,
355,
45941,
198,
198,
6738,
1034,
88,
16514,
7509,
13,
40085,
11341,
13,
16801,
1330,
304,
6513,
198,
6738,
1034,
88,
16514,
7509,
13,
2777,
2114,
1330,
2989,
198,
198,
37659,
13,
25120,
13,
28826,
7,
15,
8,
628,
628,
198
] | 2.863636 | 44 |
# -*- coding: utf-8 -*-
"""
james.task
~~~~~~~~~~~~~
Implementation of the task. Task this is action which contains
checking. It should contains rule, weight
"""
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
220,
220,
220,
474,
1047,
13,
35943,
198,
220,
220,
220,
220,
15116,
8728,
93,
198,
220,
220,
220,
46333,
286,
262,
4876,
13,
15941,
428,
318,
2223,
543,
4909,
198,
220,
220,
220,
10627,
13,
632,
815,
4909,
3896,
11,
3463,
198,
37811,
628,
198
] | 2.903226 | 62 |
import argparse
import baloney.parser as baloney_parser
from baloney.interpreter import BaloneyInterpreter
parser = argparse.ArgumentParser()
parser.add_argument('--lex', type=bool)
parser.add_argument("file", type=str,
help="Target .bs file")
if __name__ == '__main__':
args = parser.parse_args()
main(args)
| [
11748,
1822,
29572,
198,
11748,
3652,
1419,
13,
48610,
355,
3652,
1419,
62,
48610,
198,
6738,
3652,
1419,
13,
3849,
3866,
353,
1330,
8528,
1419,
9492,
3866,
353,
198,
198,
48610,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
2588,
3256,
2099,
28,
30388,
8,
198,
48610,
13,
2860,
62,
49140,
7203,
7753,
1600,
2099,
28,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
21745,
764,
1443,
2393,
4943,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
1388,
7,
22046,
8,
198
] | 2.690476 | 126 |
import streamlit as st
import cv2
import os
from inference import return_annotated_images
from tensorflow.keras.models import load_model
from streamlit_webrtc import (
ClientSettings,
VideoTransformerBase,
WebRtcMode,
webrtc_streamer,
)
WEBRTC_CLIENT_SETTINGS = ClientSettings(
rtc_configuration={"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}]},
media_stream_constraints={"video": True, "audio": False},
)
def app_object_detection():
"""Launches video with webrtc, calls annotated images.
Returns:
video : Annotated video.
"""
webrtc_ctx = webrtc_streamer(
key="object-detection",
mode=WebRtcMode.SENDRECV,
client_settings=WEBRTC_CLIENT_SETTINGS,
video_transformer_factory=NNVideoTransformer,
async_transform=True)
if webrtc_ctx.video_transformer:
webrtc_ctx.video_transformer.confidence_threshold = 0.5
def main():
"""
Streamlit interface.
"""
page_bg_img = '''
<style>
body {
background-image: url("https://www.fg-a.com/wallpapers/white-marble-1-2018.jpg");
background-size: cover;
}
</style>
'''
st.markdown(page_bg_img, unsafe_allow_html=True)
st.header("Emotion Detection from Facial Expressions")
st.subheader('Unable to tell emotions like Sheldon Cooper? Let us help.')
st.subheader('😀😮😔😡😐')
app_object_detection()
main()
| [
11748,
4269,
18250,
355,
336,
198,
11748,
269,
85,
17,
198,
11748,
28686,
198,
6738,
32278,
1330,
1441,
62,
34574,
515,
62,
17566,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
3440,
62,
19849,
198,
6738,
4269,
18250,
62,
732,
1671,
23047,
1330,
357,
198,
220,
220,
220,
20985,
26232,
11,
198,
220,
220,
220,
7623,
8291,
16354,
14881,
11,
198,
220,
220,
220,
5313,
49,
23047,
19076,
11,
198,
220,
220,
220,
356,
1671,
23047,
62,
5532,
263,
11,
198,
8,
198,
198,
8845,
11473,
4825,
62,
5097,
28495,
62,
28480,
51,
20754,
796,
20985,
26232,
7,
198,
220,
220,
220,
374,
23047,
62,
11250,
3924,
28,
4895,
501,
7089,
690,
1298,
685,
4895,
6371,
82,
1298,
14631,
301,
403,
25,
301,
403,
13,
75,
13,
13297,
13,
785,
25,
1129,
22709,
8973,
92,
60,
5512,
198,
220,
220,
220,
2056,
62,
5532,
62,
1102,
2536,
6003,
28,
4895,
15588,
1298,
6407,
11,
366,
24051,
1298,
10352,
5512,
198,
8,
628,
198,
4299,
598,
62,
15252,
62,
15255,
3213,
33529,
198,
220,
220,
220,
37227,
46182,
2052,
2008,
351,
356,
1671,
23047,
11,
3848,
24708,
515,
4263,
13,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2008,
1058,
1052,
1662,
515,
2008,
13,
198,
220,
220,
220,
37227,
220,
220,
220,
220,
628,
220,
220,
220,
356,
1671,
23047,
62,
49464,
796,
356,
1671,
23047,
62,
5532,
263,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
2625,
15252,
12,
15255,
3213,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
4235,
28,
13908,
49,
23047,
19076,
13,
50,
10619,
2200,
33538,
11,
198,
220,
220,
220,
220,
220,
220,
220,
5456,
62,
33692,
28,
8845,
11473,
4825,
62,
5097,
28495,
62,
28480,
51,
20754,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2008,
62,
7645,
16354,
62,
69,
9548,
28,
6144,
10798,
8291,
16354,
11,
198,
220,
220,
220,
220,
220,
220,
220,
30351,
62,
35636,
28,
17821,
8,
628,
220,
220,
220,
611,
356,
1671,
23047,
62,
49464,
13,
15588,
62,
7645,
16354,
25,
198,
220,
220,
220,
220,
220,
220,
220,
356,
1671,
23047,
62,
49464,
13,
15588,
62,
7645,
16354,
13,
39745,
62,
400,
10126,
796,
657,
13,
20,
628,
198,
4299,
1388,
33529,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
13860,
18250,
7071,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2443,
62,
35904,
62,
9600,
796,
705,
7061,
198,
220,
220,
220,
1279,
7635,
29,
198,
220,
220,
220,
1767,
1391,
198,
220,
220,
220,
4469,
12,
9060,
25,
19016,
7203,
5450,
1378,
2503,
13,
40616,
12,
64,
13,
785,
14,
11930,
40491,
14,
11186,
12,
3876,
903,
12,
16,
12,
7908,
13,
9479,
15341,
198,
220,
220,
220,
4469,
12,
7857,
25,
3002,
26,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
7359,
7635,
29,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
336,
13,
4102,
2902,
7,
7700,
62,
35904,
62,
9600,
11,
21596,
62,
12154,
62,
6494,
28,
17821,
8,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
336,
13,
25677,
7203,
10161,
9650,
46254,
422,
13585,
498,
10604,
507,
4943,
628,
220,
220,
220,
336,
13,
7266,
25677,
10786,
3118,
540,
284,
1560,
10825,
588,
34536,
10382,
30,
3914,
514,
1037,
2637,
8,
198,
220,
220,
220,
336,
13,
7266,
25677,
10786,
47249,
222,
47249,
106,
47249,
242,
47249,
94,
47249,
238,
11537,
628,
220,
220,
220,
598,
62,
15252,
62,
15255,
3213,
3419,
628,
198,
12417,
3419,
198
] | 2.420339 | 590 |
# Copyright (C) 2016 Nippon Telegraph and Telephone 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.
"""
Geneve packet parser/serializer
"""
import struct
from fluxory.lib import stringify
from fluxory.lib import type_desc
from . import packet_base
from . import ether_types
UDP_DST_PORT = 6081
class geneve(packet_base.PacketBase):
"""Geneve (RFC draft-ietf-nvo3-geneve-03) header encoder/decoder class.
An instance has the following attributes at least.
Most of them are same to the on-wire counterparts but in host byte order.
__init__ takes the corresponding args in this order.
============== ========================================================
Attribute Description
============== ========================================================
version Version.
opt_len The length of the options fields.
flags Flag field for OAM packet and Critical options present.
protocol Protocol Type field.
The Protocol Type is defined as "ETHER TYPES".
vni Identifier for unique element of virtual network.
options List of ``Option*`` instance.
============== ========================================================
"""
_HEADER_FMT = "!BBHI"
_MIN_LEN = struct.calcsize(_HEADER_FMT)
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# |Ver| Opt Len |O|C| Rsvd. | Protocol Type |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# | Virtual Network Identifier (VNI) | Reserved |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# | Variable Length Options |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# Flags
OAM_PACKET_FLAG = 1 << 7
CRITICAL_OPTIONS_FLAG = 1 << 6
@classmethod
class Option(stringify.StringifyMixin, type_desc.TypeDisp):
"""
Tunnel Options
"""
_OPTION_PACK_STR = "!HBB"
_OPTION_LEN = struct.calcsize(_OPTION_PACK_STR)
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# | Option Class | Type |R|R|R| Length |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# | Variable Option Data |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@classmethod
@classmethod
@Option.register_unknown_type()
class OptionDataUnknown(Option):
"""
Unknown Option Class and Type specific Option
"""
@classmethod
| [
2,
15069,
357,
34,
8,
1584,
399,
3974,
261,
21821,
290,
44735,
10501,
13,
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,
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,
198,
2,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
37811,
198,
39358,
303,
19638,
30751,
14,
46911,
7509,
198,
37811,
198,
198,
11748,
2878,
198,
198,
6738,
28462,
652,
13,
8019,
1330,
4731,
1958,
198,
6738,
28462,
652,
13,
8019,
1330,
2099,
62,
20147,
198,
6738,
764,
1330,
19638,
62,
8692,
198,
6738,
764,
1330,
28475,
62,
19199,
628,
198,
52,
6322,
62,
35,
2257,
62,
15490,
796,
39084,
16,
628,
198,
4871,
9779,
303,
7,
8002,
316,
62,
8692,
13,
47,
8317,
14881,
2599,
198,
220,
220,
220,
37227,
39358,
303,
357,
41150,
4538,
12,
1155,
69,
12,
77,
13038,
18,
12,
70,
1734,
303,
12,
3070,
8,
13639,
2207,
12342,
14,
12501,
12342,
1398,
13,
628,
220,
220,
220,
1052,
4554,
468,
262,
1708,
12608,
379,
1551,
13,
198,
220,
220,
220,
4042,
286,
606,
389,
976,
284,
262,
319,
12,
21809,
16054,
475,
287,
2583,
18022,
1502,
13,
198,
220,
220,
220,
11593,
15003,
834,
2753,
262,
11188,
26498,
287,
428,
1502,
13,
628,
220,
220,
220,
796,
25609,
28,
46111,
4770,
1421,
18604,
198,
220,
220,
220,
3460,
4163,
220,
220,
220,
220,
220,
12489,
198,
220,
220,
220,
796,
25609,
28,
46111,
4770,
1421,
18604,
198,
220,
220,
220,
2196,
220,
220,
220,
220,
220,
220,
220,
10628,
13,
198,
220,
220,
220,
2172,
62,
11925,
220,
220,
220,
220,
220,
220,
220,
383,
4129,
286,
262,
3689,
7032,
13,
198,
220,
220,
220,
9701,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19762,
2214,
329,
440,
2390,
19638,
290,
17684,
3689,
1944,
13,
198,
220,
220,
220,
8435,
220,
220,
220,
220,
220,
220,
20497,
5994,
2214,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
20497,
5994,
318,
5447,
355,
366,
2767,
16879,
24412,
47,
1546,
1911,
198,
220,
220,
220,
410,
8461,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11440,
7483,
329,
3748,
5002,
286,
7166,
3127,
13,
198,
220,
220,
220,
3689,
220,
220,
220,
220,
220,
220,
220,
7343,
286,
7559,
19722,
9,
15506,
4554,
13,
198,
220,
220,
220,
796,
25609,
28,
46111,
4770,
1421,
18604,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
37682,
1137,
62,
37,
13752,
796,
366,
0,
15199,
25374,
1,
198,
220,
220,
220,
4808,
23678,
62,
43,
1677,
796,
2878,
13,
9948,
6359,
1096,
28264,
37682,
1137,
62,
37,
13752,
8,
628,
220,
220,
220,
1303,
220,
657,
352,
362,
513,
604,
642,
718,
767,
807,
860,
657,
352,
362,
513,
604,
642,
718,
767,
807,
860,
657,
352,
362,
513,
604,
642,
718,
767,
807,
860,
657,
352,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
198,
220,
220,
220,
1303,
930,
13414,
91,
220,
13123,
12592,
220,
930,
46,
91,
34,
91,
220,
220,
220,
12820,
20306,
13,
220,
930,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20497,
5994,
220,
220,
220,
220,
220,
220,
220,
930,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
198,
220,
220,
220,
1303,
930,
220,
220,
220,
220,
220,
220,
220,
15595,
7311,
11440,
7483,
357,
53,
22125,
8,
220,
220,
220,
220,
220,
220,
930,
220,
220,
220,
33876,
220,
220,
930,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
198,
220,
220,
220,
1303,
930,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35748,
22313,
18634,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
628,
220,
220,
220,
1303,
34771,
198,
220,
220,
220,
440,
2390,
62,
47,
8120,
2767,
62,
38948,
796,
352,
9959,
767,
198,
220,
220,
220,
8740,
2043,
20151,
62,
3185,
51,
11053,
62,
38948,
796,
352,
9959,
718,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
16018,
7,
8841,
1958,
13,
10100,
1958,
35608,
259,
11,
2099,
62,
20147,
13,
6030,
7279,
79,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
35863,
18634,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
4808,
3185,
24131,
62,
47,
8120,
62,
18601,
796,
366,
0,
39,
15199,
1,
198,
220,
220,
220,
4808,
3185,
24131,
62,
43,
1677,
796,
2878,
13,
9948,
6359,
1096,
28264,
3185,
24131,
62,
47,
8120,
62,
18601,
8,
628,
220,
220,
220,
1303,
220,
657,
352,
362,
513,
604,
642,
718,
767,
807,
860,
657,
352,
362,
513,
604,
642,
718,
767,
807,
860,
657,
352,
362,
513,
604,
642,
718,
767,
807,
860,
657,
352,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
198,
220,
220,
220,
1303,
930,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16018,
5016,
220,
220,
220,
220,
220,
220,
220,
220,
930,
220,
220,
220,
220,
220,
5994,
220,
220,
220,
220,
930,
49,
91,
49,
91,
49,
91,
22313,
220,
930,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
198,
220,
220,
220,
1303,
930,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35748,
16018,
6060,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
198,
220,
220,
220,
1303,
1343,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
42744,
628,
220,
220,
220,
2488,
4871,
24396,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
31,
19722,
13,
30238,
62,
34680,
62,
4906,
3419,
198,
4871,
16018,
6601,
20035,
7,
19722,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16185,
16018,
5016,
290,
5994,
2176,
16018,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
4871,
24396,
198
] | 2.891514 | 1,143 |
# Adafruit PN532 NFC/RFID control library.
# Author: Tony DiCola
#
# The MIT License (MIT)
#
# Copyright (c) 2015-2018 Adafruit Industries
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
"""
``adafruit_pn532.i2c``
====================================================
This module will let you communicate with a PN532 RFID/NFC shield or breakout
using I2C.
* Author(s): Original Raspberry Pi code by Tony DiCola, CircuitPython by ladyada,
refactor by Carter Nelson
"""
__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git"
import time
import adafruit_bus_device.i2c_device as i2c_device
from digitalio import Direction
from micropython import const
from adafruit_pn532.adafruit_pn532 import PN532, BusyError
_I2C_ADDRESS = const(0x24)
class PN532_I2C(PN532):
"""Driver for the PN532 connected over I2C."""
def __init__(self, i2c, *, irq=None, reset=None, req=None, debug=False):
"""Create an instance of the PN532 class using I2C. Note that PN532
uses clock stretching. Optional IRQ pin (not used),
reset pin and debugging output.
"""
self.debug = debug
self._req = req
self._i2c = i2c_device.I2CDevice(i2c, _I2C_ADDRESS)
super().__init__(debug=debug, irq=irq, reset=reset)
def _wakeup(self): # pylint: disable=no-self-use
"""Send any special commands/data to wake up PN532"""
if self._reset_pin:
self._reset_pin.value = True
time.sleep(0.01)
if self._req:
self._req.direction = Direction.OUTPUT
self._req.value = False
time.sleep(0.01)
self._req.value = True
time.sleep(0.01)
self.low_power = False
self.SAM_configuration() # Put the PN532 back in normal mode
def _wait_ready(self, timeout=1):
"""Poll PN532 if status byte is ready, up to `timeout` seconds"""
status = bytearray(1)
timestamp = time.monotonic()
while (time.monotonic() - timestamp) < timeout:
try:
with self._i2c:
self._i2c.readinto(status)
except OSError:
continue
if status == b"\x01":
return True # No longer busy
time.sleep(0.01) # lets ask again soon!
# Timed out!
return False
def _read_data(self, count):
"""Read a specified count of bytes from the PN532."""
# Build a read request frame.
frame = bytearray(count + 1)
with self._i2c as i2c:
i2c.readinto(frame, end=1) # read status byte!
if frame[0] != 0x01: # not ready
raise BusyError
i2c.readinto(frame) # ok get the data, plus statusbyte
if self.debug:
print("Reading: ", [hex(i) for i in frame[1:]])
return frame[1:] # don't return the status byte
def _write_data(self, framebytes):
"""Write a specified count of bytes to the PN532"""
with self._i2c as i2c:
i2c.write(framebytes)
| [
2,
1215,
1878,
4872,
350,
45,
20,
2624,
24004,
14,
32754,
2389,
1630,
5888,
13,
198,
2,
6434,
25,
8832,
6031,
28635,
198,
2,
198,
2,
383,
17168,
13789,
357,
36393,
8,
198,
2,
198,
2,
15069,
357,
66,
8,
1853,
12,
7908,
1215,
1878,
4872,
20171,
198,
2,
198,
2,
2448,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
198,
2,
286,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
1730,
198,
2,
287,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
2489,
198,
2,
284,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
198,
2,
9088,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
198,
2,
30760,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
2,
198,
2,
383,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
198,
2,
477,
9088,
393,
8904,
16690,
286,
262,
10442,
13,
198,
2,
198,
2,
3336,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
198,
2,
8959,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
198,
2,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
198,
2,
37195,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
198,
2,
43031,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
198,
2,
16289,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
198,
2,
3336,
47466,
13,
198,
37811,
198,
15506,
324,
1878,
4872,
62,
21999,
20,
2624,
13,
72,
17,
66,
15506,
198,
10052,
4770,
1421,
198,
198,
1212,
8265,
481,
1309,
345,
10996,
351,
257,
350,
45,
20,
2624,
20445,
2389,
14,
45,
4851,
7614,
393,
31661,
198,
3500,
314,
17,
34,
13,
198,
198,
9,
6434,
7,
82,
2599,
13745,
24244,
13993,
2438,
416,
8832,
6031,
28635,
11,
13588,
37906,
416,
10846,
4763,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1006,
11218,
416,
10831,
12996,
198,
198,
37811,
198,
198,
834,
9641,
834,
796,
366,
15,
13,
15,
13,
15,
12,
23736,
13,
15,
1,
198,
834,
260,
7501,
834,
796,
366,
5450,
1378,
12567,
13,
785,
14,
324,
1878,
4872,
14,
2782,
1878,
4872,
62,
31560,
5013,
37906,
62,
13137,
20,
2624,
13,
18300,
1,
198,
198,
11748,
640,
198,
11748,
512,
1878,
4872,
62,
10885,
62,
25202,
13,
72,
17,
66,
62,
25202,
355,
1312,
17,
66,
62,
25202,
198,
6738,
4875,
952,
1330,
41837,
198,
6738,
12314,
1773,
7535,
1330,
1500,
198,
6738,
512,
1878,
4872,
62,
21999,
20,
2624,
13,
324,
1878,
4872,
62,
21999,
20,
2624,
1330,
350,
45,
20,
2624,
11,
5869,
88,
12331,
198,
198,
62,
40,
17,
34,
62,
2885,
7707,
7597,
796,
1500,
7,
15,
87,
1731,
8,
628,
198,
4871,
350,
45,
20,
2624,
62,
40,
17,
34,
7,
13137,
20,
2624,
2599,
198,
220,
220,
220,
37227,
32103,
329,
262,
350,
45,
20,
2624,
5884,
625,
314,
17,
34,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1312,
17,
66,
11,
1635,
11,
4173,
80,
28,
14202,
11,
13259,
28,
14202,
11,
43089,
28,
14202,
11,
14257,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16447,
281,
4554,
286,
262,
350,
45,
20,
2624,
1398,
1262,
314,
17,
34,
13,
5740,
326,
350,
45,
20,
2624,
198,
220,
220,
220,
220,
220,
220,
220,
3544,
8801,
20880,
13,
32233,
14826,
48,
6757,
357,
1662,
973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
13259,
6757,
290,
28769,
5072,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
24442,
796,
14257,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
42180,
796,
43089,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
72,
17,
66,
796,
1312,
17,
66,
62,
25202,
13,
40,
17,
8610,
1990,
501,
7,
72,
17,
66,
11,
4808,
40,
17,
34,
62,
2885,
7707,
7597,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
24442,
28,
24442,
11,
4173,
80,
28,
343,
80,
11,
13259,
28,
42503,
8,
628,
220,
220,
220,
825,
4808,
48530,
929,
7,
944,
2599,
220,
1303,
279,
2645,
600,
25,
15560,
28,
3919,
12,
944,
12,
1904,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25206,
597,
2041,
9729,
14,
7890,
284,
7765,
510,
350,
45,
20,
2624,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
42503,
62,
11635,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
42503,
62,
11635,
13,
8367,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
15,
13,
486,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
42180,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
42180,
13,
37295,
796,
41837,
13,
2606,
7250,
3843,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
42180,
13,
8367,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
15,
13,
486,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
42180,
13,
8367,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
15,
13,
486,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9319,
62,
6477,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
49302,
62,
11250,
3924,
3419,
220,
1303,
5930,
262,
350,
45,
20,
2624,
736,
287,
3487,
4235,
628,
220,
220,
220,
825,
4808,
17077,
62,
1493,
7,
944,
11,
26827,
28,
16,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
39176,
350,
45,
20,
2624,
611,
3722,
18022,
318,
3492,
11,
510,
284,
4600,
48678,
63,
4201,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
796,
416,
83,
451,
2433,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
41033,
796,
640,
13,
2144,
313,
9229,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
981,
357,
2435,
13,
2144,
313,
9229,
3419,
532,
41033,
8,
1279,
26827,
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,
351,
2116,
13557,
72,
17,
66,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
72,
17,
66,
13,
961,
20424,
7,
13376,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
440,
5188,
81,
1472,
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,
3722,
6624,
275,
1,
59,
87,
486,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
220,
1303,
1400,
2392,
8179,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
15,
13,
486,
8,
220,
1303,
8781,
1265,
757,
2582,
0,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5045,
276,
503,
0,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
825,
4808,
961,
62,
7890,
7,
944,
11,
954,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
5569,
257,
7368,
954,
286,
9881,
422,
262,
350,
45,
20,
2624,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10934,
257,
1100,
2581,
5739,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5739,
796,
416,
83,
451,
2433,
7,
9127,
1343,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
2116,
13557,
72,
17,
66,
355,
1312,
17,
66,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
66,
13,
961,
20424,
7,
14535,
11,
886,
28,
16,
8,
220,
1303,
1100,
3722,
18022,
0,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5739,
58,
15,
60,
14512,
657,
87,
486,
25,
220,
1303,
407,
3492,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
5869,
88,
12331,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
66,
13,
961,
20424,
7,
14535,
8,
220,
1303,
12876,
651,
262,
1366,
11,
5556,
3722,
26327,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
24442,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
36120,
25,
33172,
685,
33095,
7,
72,
8,
329,
1312,
287,
5739,
58,
16,
25,
11907,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5739,
58,
16,
47715,
220,
1303,
836,
470,
1441,
262,
3722,
18022,
628,
220,
220,
220,
825,
4808,
13564,
62,
7890,
7,
944,
11,
5739,
33661,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
16594,
257,
7368,
954,
286,
9881,
284,
262,
350,
45,
20,
2624,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
351,
2116,
13557,
72,
17,
66,
355,
1312,
17,
66,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
17,
66,
13,
13564,
7,
14535,
33661,
8,
198
] | 2.466147 | 1,669 |
from http.server import BaseHTTPRequestHandler
import http
import argparse
from urllib.parse import urlparse
from urllib.parse import urlencode
from urllib.parse import parse_qs
from urllib.parse import unquote
import socket, ssl, pprint
from io import BytesIO
XSS = "'\"><img src=\"\" onerror=alert(\"\")>"
FILE_PATH = "/Users/aleks/Desktop/tp-thirdsem/myproxy/requests/POSTauth.mail.rufe133c21211f65cb1240f2354a24b4eac6be149529c92188d25ee97e149666db"
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Search vulnarabilities")
parser.add_argument("-f", "--filepath", metavar="", required=True, type=argparse.FileType('r'), help="path to file with request")
parser.add_argument("-b", "--body", action="store_true", help="flag to check body params")
parser.add_argument("-q", "--query", action="store_true", help="flag to check query params")
args = parser.parse_args()
request_str = "" # we don't really need this because it's python but ...
request_lines = args.filepath.readlines()
request_str = "".join(request_lines)
searcher = VulnerabilitySearcher(request_str)
if args.query:
searcher.check_query_params()
if args.body:
searcher.check_body_params()
| [
6738,
2638,
13,
15388,
1330,
7308,
40717,
18453,
25060,
198,
11748,
2638,
198,
11748,
1822,
29572,
198,
6738,
2956,
297,
571,
13,
29572,
1330,
19016,
29572,
198,
6738,
2956,
297,
571,
13,
29572,
1330,
2956,
11925,
8189,
198,
6738,
2956,
297,
571,
13,
29572,
1330,
21136,
62,
48382,
198,
6738,
2956,
297,
571,
13,
29572,
1330,
555,
22708,
198,
11748,
17802,
11,
264,
6649,
11,
279,
4798,
198,
6738,
33245,
1330,
2750,
4879,
9399,
198,
198,
55,
5432,
796,
24018,
59,
22039,
9600,
12351,
17553,
7879,
319,
18224,
28,
44598,
7,
7879,
59,
4943,
24618,
198,
25664,
62,
34219,
796,
12813,
14490,
14,
1000,
591,
14,
36881,
14,
34788,
12,
17089,
43616,
14,
1820,
36436,
14,
8897,
3558,
14,
32782,
18439,
13,
4529,
13,
622,
5036,
16945,
66,
21777,
1157,
69,
2996,
21101,
1065,
1821,
69,
1954,
4051,
64,
1731,
65,
19,
68,
330,
21,
1350,
1415,
3865,
1959,
66,
5892,
20356,
67,
1495,
1453,
5607,
68,
19442,
27310,
9945,
1,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
2625,
18243,
24477,
23955,
5738,
4943,
628,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
69,
1600,
366,
438,
7753,
6978,
1600,
1138,
615,
283,
2625,
1600,
2672,
28,
17821,
11,
2099,
28,
853,
29572,
13,
8979,
6030,
10786,
81,
33809,
1037,
2625,
6978,
284,
2393,
351,
2581,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
65,
1600,
366,
438,
2618,
1600,
2223,
2625,
8095,
62,
7942,
1600,
1037,
2625,
32109,
284,
2198,
1767,
42287,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
80,
1600,
366,
438,
22766,
1600,
2223,
2625,
8095,
62,
7942,
1600,
1037,
2625,
32109,
284,
2198,
12405,
42287,
4943,
628,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
2581,
62,
2536,
796,
13538,
220,
1303,
356,
836,
470,
1107,
761,
428,
780,
340,
338,
21015,
475,
2644,
198,
220,
220,
220,
2581,
62,
6615,
796,
26498,
13,
7753,
6978,
13,
961,
6615,
3419,
198,
220,
220,
220,
2581,
62,
2536,
796,
366,
1911,
22179,
7,
25927,
62,
6615,
8,
628,
220,
220,
220,
9622,
2044,
796,
569,
40920,
50,
50194,
7,
25927,
62,
2536,
8,
198,
220,
220,
220,
611,
26498,
13,
22766,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9622,
2044,
13,
9122,
62,
22766,
62,
37266,
3419,
198,
220,
220,
220,
611,
26498,
13,
2618,
25,
198,
220,
220,
220,
220,
220,
220,
220,
9622,
2044,
13,
9122,
62,
2618,
62,
37266,
3419,
628,
198
] | 2.851936 | 439 |
import tensorflow as tf
import utils
from tensorflow.keras import backend as K
from tensorflow.keras.models import load_model
# from keras import backend as K
# from keras.models import load_model
# from tensorflow.python.keras import backend as K
def freeze_session(session, keep_var_names=None, output_names=None, clear_devices=True):
"""
Freezes the state of a session into a pruned computation graph.
Creates a new computation graph where variable nodes are replaced by
constants taking their current value in the session. The new graph will be
pruned so subgraphs that are not necessary to compute the requested
outputs are removed.
@param session The TensorFlow session to be frozen.
@param keep_var_names A list of variable names that should not be frozen,
or None to freeze all the variables in the graph.
@param output_names Names of the relevant graph outputs.
@param clear_devices Remove the device directives from the graph for better portability.
@return The frozen graph definition.
"""
from tensorflow.python.framework.graph_util import convert_variables_to_constants
graph = session.graph
with graph.as_default():
freeze_var_names = list(set(v.op.name for v in tf.global_variables()).difference(keep_var_names or []))
output_names = output_names or []
output_names += [v.op.name for v in tf.global_variables()]
# Graph -> GraphDef ProtoBuf
input_graph_def = graph.as_graph_def()
if clear_devices:
for node in input_graph_def.node:
node.device = ""
frozen_graph = convert_variables_to_constants(session, input_graph_def,
output_names, freeze_var_names)
return frozen_graph
import os
from tvm.relay.frontend import tensorflow_parser as tp
from official.vision.image_classification import resnet_model as resm
from tensorflow.python.framework.graph_util import convert_variables_to_constants
import keras_applications as kapp
import keras
from tensorflow_parser import TFParser
from tensorflow.python.framework import dtypes
import mxnet as mx
if __name__ == '__main__':
utils.log_init()
# net = keras.applications.resnet.ResNet50(weights='imagenet')
# net = tf.keras.applications.ResNet50(weights='imagenet')
# net = tf.keras.applications.InceptionV3(weights='imagenet')
# net = keras.applications.InceptionV3(weights='imagenet')
net = tf.keras.applications.MobileNet(weights='imagenet')
# dump_model(net, "/data/tfmodels/resnet50_v1_new")
# load_imagenet()
test_tf_parser()
| [
11748,
11192,
273,
11125,
355,
48700,
198,
198,
11748,
3384,
4487,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
1330,
30203,
355,
509,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
13,
27530,
1330,
3440,
62,
19849,
198,
2,
422,
41927,
292,
1330,
30203,
355,
509,
198,
2,
422,
41927,
292,
13,
27530,
1330,
3440,
62,
19849,
198,
198,
2,
422,
11192,
273,
11125,
13,
29412,
13,
6122,
292,
1330,
30203,
355,
509,
198,
198,
4299,
16611,
62,
29891,
7,
29891,
11,
1394,
62,
7785,
62,
14933,
28,
14202,
11,
5072,
62,
14933,
28,
14202,
11,
1598,
62,
42034,
28,
17821,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3232,
12271,
262,
1181,
286,
257,
6246,
656,
257,
778,
40881,
29964,
4823,
13,
628,
220,
220,
220,
7921,
274,
257,
649,
29964,
4823,
810,
7885,
13760,
389,
6928,
416,
198,
220,
220,
220,
38491,
2263,
511,
1459,
1988,
287,
262,
6246,
13,
383,
649,
4823,
481,
307,
198,
220,
220,
220,
778,
40881,
523,
850,
34960,
82,
326,
389,
407,
3306,
284,
24061,
262,
9167,
198,
220,
220,
220,
23862,
389,
4615,
13,
198,
220,
220,
220,
2488,
17143,
6246,
383,
309,
22854,
37535,
6246,
284,
307,
12912,
13,
198,
220,
220,
220,
2488,
17143,
1394,
62,
7785,
62,
14933,
317,
1351,
286,
7885,
3891,
326,
815,
407,
307,
12912,
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,
393,
6045,
284,
16611,
477,
262,
9633,
287,
262,
4823,
13,
198,
220,
220,
220,
2488,
17143,
5072,
62,
14933,
28531,
286,
262,
5981,
4823,
23862,
13,
198,
220,
220,
220,
2488,
17143,
1598,
62,
42034,
17220,
262,
3335,
34819,
422,
262,
4823,
329,
1365,
2493,
1799,
13,
198,
220,
220,
220,
2488,
7783,
383,
12912,
4823,
6770,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
422,
11192,
273,
11125,
13,
29412,
13,
30604,
13,
34960,
62,
22602,
1330,
10385,
62,
25641,
2977,
62,
1462,
62,
9979,
1187,
198,
220,
220,
220,
4823,
796,
6246,
13,
34960,
198,
220,
220,
220,
351,
4823,
13,
292,
62,
12286,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
16611,
62,
7785,
62,
14933,
796,
1351,
7,
2617,
7,
85,
13,
404,
13,
3672,
329,
410,
287,
48700,
13,
20541,
62,
25641,
2977,
3419,
737,
26069,
1945,
7,
14894,
62,
7785,
62,
14933,
393,
17635,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
14933,
796,
5072,
62,
14933,
393,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
14933,
15853,
685,
85,
13,
404,
13,
3672,
329,
410,
287,
48700,
13,
20541,
62,
25641,
2977,
3419,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
29681,
4613,
29681,
7469,
45783,
33,
3046,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
34960,
62,
4299,
796,
4823,
13,
292,
62,
34960,
62,
4299,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1598,
62,
42034,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
10139,
287,
5128,
62,
34960,
62,
4299,
13,
17440,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10139,
13,
25202,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
12912,
62,
34960,
796,
10385,
62,
25641,
2977,
62,
1462,
62,
9979,
1187,
7,
29891,
11,
5128,
62,
34960,
62,
4299,
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,
5072,
62,
14933,
11,
16611,
62,
7785,
62,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
12912,
62,
34960,
198,
198,
11748,
28686,
198,
6738,
256,
14761,
13,
2411,
323,
13,
8534,
437,
1330,
11192,
273,
11125,
62,
48610,
355,
256,
79,
198,
6738,
1743,
13,
10178,
13,
9060,
62,
4871,
2649,
1330,
581,
3262,
62,
19849,
355,
581,
76,
198,
6738,
11192,
273,
11125,
13,
29412,
13,
30604,
13,
34960,
62,
22602,
1330,
10385,
62,
25641,
2977,
62,
1462,
62,
9979,
1187,
198,
198,
11748,
41927,
292,
62,
1324,
677,
602,
355,
479,
1324,
198,
198,
11748,
41927,
292,
198,
198,
6738,
11192,
273,
11125,
62,
48610,
1330,
309,
5837,
28198,
198,
6738,
11192,
273,
11125,
13,
29412,
13,
30604,
1330,
288,
19199,
198,
11748,
285,
87,
3262,
355,
285,
87,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3384,
4487,
13,
6404,
62,
15003,
3419,
628,
220,
220,
220,
1303,
2010,
796,
41927,
292,
13,
1324,
677,
602,
13,
411,
3262,
13,
4965,
7934,
1120,
7,
43775,
11639,
320,
11286,
316,
11537,
198,
220,
220,
220,
1303,
2010,
796,
48700,
13,
6122,
292,
13,
1324,
677,
602,
13,
4965,
7934,
1120,
7,
43775,
11639,
320,
11286,
316,
11537,
198,
220,
220,
220,
1303,
2010,
796,
48700,
13,
6122,
292,
13,
1324,
677,
602,
13,
818,
4516,
53,
18,
7,
43775,
11639,
320,
11286,
316,
11537,
628,
220,
220,
220,
1303,
2010,
796,
41927,
292,
13,
1324,
677,
602,
13,
818,
4516,
53,
18,
7,
43775,
11639,
320,
11286,
316,
11537,
198,
220,
220,
220,
2010,
796,
48700,
13,
6122,
292,
13,
1324,
677,
602,
13,
17066,
7934,
7,
43775,
11639,
320,
11286,
316,
11537,
198,
220,
220,
220,
1303,
10285,
62,
19849,
7,
3262,
11,
12813,
7890,
14,
27110,
27530,
14,
411,
3262,
1120,
62,
85,
16,
62,
3605,
4943,
198,
220,
220,
220,
1303,
3440,
62,
320,
11286,
316,
3419,
628,
220,
220,
220,
1332,
62,
27110,
62,
48610,
3419,
198
] | 2.768672 | 964 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import shutil
from uuid import uuid4
from flask import render_template, request, current_app, redirect, url_for, flash, Blueprint, jsonify
from flask.ext.login import login_required
from sqlalchemy import exists
from guitarfan.extensions.flasksqlalchemy import db
from guitarfan.utilities import oshelper
from guitarfan.utilities import validator
from guitarfan.models import *
from forms.tab import *
bp_admin_data = Blueprint('bp_admin_data', __name__, template_folder="../../templates/admin/tabs")
@bp_admin_data.route('/admin/data/import', methods=['GET', 'POST'])
@login_required | [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
628,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
4423,
346,
198,
6738,
334,
27112,
1330,
334,
27112,
19,
198,
198,
6738,
42903,
1330,
8543,
62,
28243,
11,
2581,
11,
1459,
62,
1324,
11,
18941,
11,
19016,
62,
1640,
11,
7644,
11,
39932,
11,
33918,
1958,
198,
6738,
42903,
13,
2302,
13,
38235,
1330,
17594,
62,
35827,
198,
6738,
44161,
282,
26599,
1330,
7160,
198,
198,
6738,
10047,
24408,
13,
2302,
5736,
13,
2704,
6791,
13976,
282,
26599,
1330,
20613,
198,
6738,
10047,
24408,
13,
315,
2410,
1330,
28686,
2978,
525,
198,
6738,
10047,
24408,
13,
315,
2410,
1330,
4938,
1352,
198,
6738,
10047,
24408,
13,
27530,
1330,
1635,
198,
6738,
5107,
13,
8658,
1330,
1635,
198,
198,
46583,
62,
28482,
62,
7890,
796,
39932,
10786,
46583,
62,
28482,
62,
7890,
3256,
11593,
3672,
834,
11,
11055,
62,
43551,
2625,
40720,
40720,
11498,
17041,
14,
28482,
14,
8658,
82,
4943,
628,
198,
31,
46583,
62,
28482,
62,
7890,
13,
38629,
10786,
14,
28482,
14,
7890,
14,
11748,
3256,
5050,
28,
17816,
18851,
3256,
705,
32782,
6,
12962,
198,
31,
38235,
62,
35827
] | 3.22549 | 204 |
import os, requests
from selenium_test_case import SeleniumTestCase, slow, online, wd, host
import tests
from tests.pages import faq_page, about_page
from nose.tools import assert_equals, raises
| [
11748,
28686,
11,
7007,
198,
198,
6738,
384,
11925,
1505,
62,
9288,
62,
7442,
1330,
15300,
47477,
14402,
20448,
11,
3105,
11,
2691,
11,
266,
67,
11,
2583,
198,
11748,
5254,
198,
6738,
5254,
13,
31126,
1330,
24685,
80,
62,
7700,
11,
546,
62,
7700,
198,
6738,
9686,
13,
31391,
1330,
6818,
62,
4853,
874,
11,
12073,
628,
628,
628,
628,
628,
220,
220,
220,
220,
220,
220,
198
] | 3.072464 | 69 |
import heading_planning_laylines
import json
import make_ros_tasks
| [
11748,
9087,
62,
11578,
768,
62,
10724,
6615,
198,
11748,
33918,
198,
11748,
787,
62,
4951,
62,
83,
6791,
628
] | 3.4 | 20 |
if __name__ == '__main__':
s = input("Input: ")
print(f"Output: {Solution().reverseWords(s)}")
| [
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
264,
796,
5128,
7203,
20560,
25,
366,
8,
198,
220,
220,
220,
3601,
7,
69,
1,
26410,
25,
1391,
46344,
22446,
50188,
37117,
7,
82,
38165,
4943,
198
] | 2.386364 | 44 |
"""Tradfri lights platform tests."""
from copy import deepcopy
from unittest.mock import Mock, MagicMock, patch, PropertyMock
import pytest
from pytradfri.device import Device
from pytradfri.device.light import Light
from pytradfri.device.light_control import LightControl
from homeassistant.components import tradfri
from tests.common import MockConfigEntry
DEFAULT_TEST_FEATURES = {
"can_set_dimmer": False,
"can_set_color": False,
"can_set_temp": False,
}
# [
# {bulb features},
# {turn_on arguments},
# {expected result}
# ]
TURN_ON_TEST_CASES = [
# Turn On
[{}, {}, {"state": "on"}],
# Brightness > 0
[{"can_set_dimmer": True}, {"brightness": 100}, {"state": "on", "brightness": 100}],
# Brightness == 1
[{"can_set_dimmer": True}, {"brightness": 1}, {"brightness": 1}],
# Brightness > 254
[{"can_set_dimmer": True}, {"brightness": 1000}, {"brightness": 254}],
# color_temp
[{"can_set_temp": True}, {"color_temp": 250}, {"color_temp": 250}],
# color_temp < 250
[{"can_set_temp": True}, {"color_temp": 1}, {"color_temp": 250}],
# color_temp > 454
[{"can_set_temp": True}, {"color_temp": 1000}, {"color_temp": 454}],
# hs color
[
{"can_set_color": True},
{"hs_color": [300, 100]},
{"state": "on", "hs_color": [300, 100]},
],
# ct + brightness
[
{"can_set_dimmer": True, "can_set_temp": True},
{"color_temp": 250, "brightness": 200},
{"state": "on", "color_temp": 250, "brightness": 200},
],
# ct + brightness (no temp support)
[
{"can_set_dimmer": True, "can_set_temp": False, "can_set_color": True},
{"color_temp": 250, "brightness": 200},
{"state": "on", "hs_color": [26.807, 34.869], "brightness": 200},
],
# ct + brightness (no temp or color support)
[
{"can_set_dimmer": True, "can_set_temp": False, "can_set_color": False},
{"color_temp": 250, "brightness": 200},
{"state": "on", "brightness": 200},
],
# hs + brightness
[
{"can_set_dimmer": True, "can_set_color": True},
{"hs_color": [300, 100], "brightness": 200},
{"state": "on", "hs_color": [300, 100], "brightness": 200},
],
]
# Result of transition is not tested, but data is passed to turn on service.
TRANSITION_CASES_FOR_TESTS = [None, 0, 1]
@pytest.fixture(autouse=True, scope="module")
def setup(request):
"""Set up patches for pytradfri methods."""
p_1 = patch(
"pytradfri.device.LightControl.raw",
new_callable=PropertyMock,
return_value=[{"mock": "mock"}],
)
p_2 = patch("pytradfri.device.LightControl.lights")
p_1.start()
p_2.start()
def teardown():
"""Remove patches for pytradfri methods."""
p_1.stop()
p_2.stop()
request.addfinalizer(teardown)
@pytest.fixture
def mock_gateway():
"""Mock a Tradfri gateway."""
def get_devices():
"""Return mock devices."""
return gateway.mock_devices
def get_groups():
"""Return mock groups."""
return gateway.mock_groups
gateway = Mock(
get_devices=get_devices,
get_groups=get_groups,
mock_devices=[],
mock_groups=[],
mock_responses=[],
)
return gateway
@pytest.fixture
def mock_api(mock_gateway):
"""Mock api."""
async def api(command):
"""Mock api function."""
# Store the data for "real" command objects.
if hasattr(command, "_data") and not isinstance(command, Mock):
mock_gateway.mock_responses.append(command._data)
return command
return api
async def generate_psk(self, code):
"""Mock psk."""
return "mock"
async def setup_gateway(hass, mock_gateway, mock_api):
"""Load the Tradfri platform with a mock gateway."""
entry = MockConfigEntry(
domain=tradfri.DOMAIN,
data={
"host": "mock-host",
"identity": "mock-identity",
"key": "mock-key",
"import_groups": True,
"gateway_id": "mock-gateway-id",
},
)
hass.data[tradfri.KEY_GATEWAY] = {entry.entry_id: mock_gateway}
hass.data[tradfri.KEY_API] = {entry.entry_id: mock_api}
await hass.config_entries.async_forward_entry_setup(entry, "light")
def mock_light(test_features={}, test_state={}, n=0):
"""Mock a tradfri light."""
mock_light_data = Mock(**test_state)
mock_light = Mock(
id="mock-light-id-{}".format(n),
reachable=True,
observe=Mock(),
device_info=MagicMock(),
)
mock_light.name = "tradfri_light_{}".format(n)
# Set supported features for the light.
features = {**DEFAULT_TEST_FEATURES, **test_features}
lc = LightControl(mock_light)
for k, v in features.items():
setattr(lc, k, v)
# Store the initial state.
setattr(lc, "lights", [mock_light_data])
mock_light.light_control = lc
return mock_light
async def test_light(hass, mock_gateway, mock_api):
"""Test that lights are correctly added."""
features = {"can_set_dimmer": True, "can_set_color": True, "can_set_temp": True}
state = {
"state": True,
"dimmer": 100,
"color_temp": 250,
"hsb_xy_color": (100, 100, 100, 100, 100),
}
mock_gateway.mock_devices.append(
mock_light(test_features=features, test_state=state)
)
await setup_gateway(hass, mock_gateway, mock_api)
lamp_1 = hass.states.get("light.tradfri_light_0")
assert lamp_1 is not None
assert lamp_1.state == "on"
assert lamp_1.attributes["brightness"] == 100
assert lamp_1.attributes["hs_color"] == (0.549, 0.153)
async def test_light_observed(hass, mock_gateway, mock_api):
"""Test that lights are correctly observed."""
light = mock_light()
mock_gateway.mock_devices.append(light)
await setup_gateway(hass, mock_gateway, mock_api)
assert len(light.observe.mock_calls) > 0
async def test_light_available(hass, mock_gateway, mock_api):
"""Test light available property."""
light = mock_light({"state": True}, n=1)
light.reachable = True
light2 = mock_light({"state": True}, n=2)
light2.reachable = False
mock_gateway.mock_devices.append(light)
mock_gateway.mock_devices.append(light2)
await setup_gateway(hass, mock_gateway, mock_api)
assert hass.states.get("light.tradfri_light_1").state == "on"
assert hass.states.get("light.tradfri_light_2").state == "unavailable"
# Combine TURN_ON_TEST_CASES and TRANSITION_CASES_FOR_TESTS
ALL_TURN_ON_TEST_CASES = [["test_features", "test_data", "expected_result", "id"], []]
idx = 1
for tc in TURN_ON_TEST_CASES:
for trans in TRANSITION_CASES_FOR_TESTS:
case = deepcopy(tc)
if trans is not None:
case[1]["transition"] = trans
case.append(idx)
idx = idx + 1
ALL_TURN_ON_TEST_CASES[1].append(case)
@pytest.mark.parametrize(*ALL_TURN_ON_TEST_CASES)
async def test_turn_on(
hass, mock_gateway, mock_api, test_features, test_data, expected_result, id
):
"""Test turning on a light."""
# Note pytradfri style, not hass. Values not really important.
initial_state = {
"state": False,
"dimmer": 0,
"color_temp": 250,
"hsb_xy_color": (100, 100, 100, 100, 100),
}
# Setup the gateway with a mock light.
light = mock_light(test_features=test_features, test_state=initial_state, n=id)
mock_gateway.mock_devices.append(light)
await setup_gateway(hass, mock_gateway, mock_api)
# Use the turn_on service call to change the light state.
await hass.services.async_call(
"light",
"turn_on",
{"entity_id": "light.tradfri_light_{}".format(id), **test_data},
blocking=True,
)
await hass.async_block_till_done()
# Check that the light is observed.
mock_func = light.observe
assert len(mock_func.mock_calls) > 0
_, callkwargs = mock_func.call_args
assert "callback" in callkwargs
# Callback function to refresh light state.
cb = callkwargs["callback"]
responses = mock_gateway.mock_responses
# State on command data.
data = {"3311": [{"5850": 1}]}
# Add data for all sent commands.
for r in responses:
data["3311"][0] = {**data["3311"][0], **r["3311"][0]}
# Use the callback function to update the light state.
dev = Device(data)
light_data = Light(dev, 0)
light.light_control.lights[0] = light_data
cb(light)
await hass.async_block_till_done()
# Check that the state is correct.
states = hass.states.get("light.tradfri_light_{}".format(id))
for k, v in expected_result.items():
if k == "state":
assert states.state == v
else:
# Allow some rounding error in color conversions.
assert states.attributes[k] == pytest.approx(v, abs=0.01)
async def test_turn_off(hass, mock_gateway, mock_api):
"""Test turning off a light."""
state = {"state": True, "dimmer": 100}
light = mock_light(test_state=state)
mock_gateway.mock_devices.append(light)
await setup_gateway(hass, mock_gateway, mock_api)
# Use the turn_off service call to change the light state.
await hass.services.async_call(
"light", "turn_off", {"entity_id": "light.tradfri_light_0"}, blocking=True
)
await hass.async_block_till_done()
# Check that the light is observed.
mock_func = light.observe
assert len(mock_func.mock_calls) > 0
_, callkwargs = mock_func.call_args
assert "callback" in callkwargs
# Callback function to refresh light state.
cb = callkwargs["callback"]
responses = mock_gateway.mock_responses
data = {"3311": [{}]}
# Add data for all sent commands.
for r in responses:
data["3311"][0] = {**data["3311"][0], **r["3311"][0]}
# Use the callback function to update the light state.
dev = Device(data)
light_data = Light(dev, 0)
light.light_control.lights[0] = light_data
cb(light)
await hass.async_block_till_done()
# Check that the state is correct.
states = hass.states.get("light.tradfri_light_0")
assert states.state == "off"
def mock_group(test_state={}, n=0):
"""Mock a Tradfri group."""
default_state = {"state": False, "dimmer": 0}
state = {**default_state, **test_state}
mock_group = Mock(member_ids=[], observe=Mock(), **state)
mock_group.name = "tradfri_group_{}".format(n)
return mock_group
async def test_group(hass, mock_gateway, mock_api):
"""Test that groups are correctly added."""
mock_gateway.mock_groups.append(mock_group())
state = {"state": True, "dimmer": 100}
mock_gateway.mock_groups.append(mock_group(state, 1))
await setup_gateway(hass, mock_gateway, mock_api)
group = hass.states.get("light.tradfri_group_0")
assert group is not None
assert group.state == "off"
group = hass.states.get("light.tradfri_group_1")
assert group is not None
assert group.state == "on"
assert group.attributes["brightness"] == 100
async def test_group_turn_on(hass, mock_gateway, mock_api):
"""Test turning on a group."""
group = mock_group()
group2 = mock_group(n=1)
group3 = mock_group(n=2)
mock_gateway.mock_groups.append(group)
mock_gateway.mock_groups.append(group2)
mock_gateway.mock_groups.append(group3)
await setup_gateway(hass, mock_gateway, mock_api)
# Use the turn_off service call to change the light state.
await hass.services.async_call(
"light", "turn_on", {"entity_id": "light.tradfri_group_0"}, blocking=True
)
await hass.services.async_call(
"light",
"turn_on",
{"entity_id": "light.tradfri_group_1", "brightness": 100},
blocking=True,
)
await hass.services.async_call(
"light",
"turn_on",
{"entity_id": "light.tradfri_group_2", "brightness": 100, "transition": 1},
blocking=True,
)
await hass.async_block_till_done()
group.set_state.assert_called_with(1)
group2.set_dimmer.assert_called_with(100)
group3.set_dimmer.assert_called_with(100, transition_time=10)
async def test_group_turn_off(hass, mock_gateway, mock_api):
"""Test turning off a group."""
group = mock_group({"state": True})
mock_gateway.mock_groups.append(group)
await setup_gateway(hass, mock_gateway, mock_api)
# Use the turn_off service call to change the light state.
await hass.services.async_call(
"light", "turn_off", {"entity_id": "light.tradfri_group_0"}, blocking=True
)
await hass.async_block_till_done()
group.set_state.assert_called_with(0)
| [
37811,
2898,
324,
69,
380,
7588,
3859,
5254,
526,
15931,
198,
198,
6738,
4866,
1330,
2769,
30073,
198,
6738,
555,
715,
395,
13,
76,
735,
1330,
44123,
11,
6139,
44,
735,
11,
8529,
11,
14161,
44,
735,
198,
198,
11748,
12972,
9288,
198,
6738,
12972,
2213,
324,
69,
380,
13,
25202,
1330,
16232,
198,
6738,
12972,
2213,
324,
69,
380,
13,
25202,
13,
2971,
1330,
4401,
198,
6738,
12972,
2213,
324,
69,
380,
13,
25202,
13,
2971,
62,
13716,
1330,
4401,
15988,
198,
198,
6738,
1363,
562,
10167,
13,
5589,
3906,
1330,
2083,
69,
380,
198,
198,
6738,
5254,
13,
11321,
1330,
44123,
16934,
30150,
628,
198,
7206,
38865,
62,
51,
6465,
62,
15112,
47471,
796,
1391,
198,
220,
220,
220,
366,
5171,
62,
2617,
62,
67,
10957,
1298,
10352,
11,
198,
220,
220,
220,
366,
5171,
62,
2617,
62,
8043,
1298,
10352,
11,
198,
220,
220,
220,
366,
5171,
62,
2617,
62,
29510,
1298,
10352,
11,
198,
92,
198,
2,
685,
198,
2,
220,
220,
220,
220,
1391,
15065,
65,
3033,
5512,
198,
2,
220,
220,
220,
220,
1391,
15344,
62,
261,
7159,
5512,
198,
2,
220,
220,
220,
220,
1391,
40319,
1255,
92,
198,
2,
2361,
198,
51,
27064,
62,
1340,
62,
51,
6465,
62,
34,
1921,
1546,
796,
685,
198,
220,
220,
220,
1303,
6756,
1550,
198,
220,
220,
220,
685,
90,
5512,
1391,
5512,
19779,
5219,
1298,
366,
261,
20662,
4357,
198,
220,
220,
220,
1303,
17558,
1108,
1875,
657,
198,
220,
220,
220,
685,
4895,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
5512,
19779,
29199,
1108,
1298,
1802,
5512,
19779,
5219,
1298,
366,
261,
1600,
366,
29199,
1108,
1298,
1802,
92,
4357,
198,
220,
220,
220,
1303,
17558,
1108,
6624,
352,
198,
220,
220,
220,
685,
4895,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
5512,
19779,
29199,
1108,
1298,
352,
5512,
19779,
29199,
1108,
1298,
352,
92,
4357,
198,
220,
220,
220,
1303,
17558,
1108,
1875,
35360,
198,
220,
220,
220,
685,
4895,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
5512,
19779,
29199,
1108,
1298,
8576,
5512,
19779,
29199,
1108,
1298,
35360,
92,
4357,
198,
220,
220,
220,
1303,
3124,
62,
29510,
198,
220,
220,
220,
685,
4895,
5171,
62,
2617,
62,
29510,
1298,
6407,
5512,
19779,
8043,
62,
29510,
1298,
8646,
5512,
19779,
8043,
62,
29510,
1298,
8646,
92,
4357,
198,
220,
220,
220,
1303,
3124,
62,
29510,
1279,
8646,
198,
220,
220,
220,
685,
4895,
5171,
62,
2617,
62,
29510,
1298,
6407,
5512,
19779,
8043,
62,
29510,
1298,
352,
5512,
19779,
8043,
62,
29510,
1298,
8646,
92,
4357,
198,
220,
220,
220,
1303,
3124,
62,
29510,
1875,
604,
4051,
198,
220,
220,
220,
685,
4895,
5171,
62,
2617,
62,
29510,
1298,
6407,
5512,
19779,
8043,
62,
29510,
1298,
8576,
5512,
19779,
8043,
62,
29510,
1298,
604,
4051,
92,
4357,
198,
220,
220,
220,
1303,
289,
82,
3124,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5171,
62,
2617,
62,
8043,
1298,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
11994,
62,
8043,
1298,
685,
6200,
11,
1802,
60,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5219,
1298,
366,
261,
1600,
366,
11994,
62,
8043,
1298,
685,
6200,
11,
1802,
60,
5512,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
1303,
269,
83,
1343,
22204,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
11,
366,
5171,
62,
2617,
62,
29510,
1298,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
8043,
62,
29510,
1298,
8646,
11,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5219,
1298,
366,
261,
1600,
366,
8043,
62,
29510,
1298,
8646,
11,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
1303,
269,
83,
1343,
22204,
357,
3919,
20218,
1104,
8,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
11,
366,
5171,
62,
2617,
62,
29510,
1298,
10352,
11,
366,
5171,
62,
2617,
62,
8043,
1298,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
8043,
62,
29510,
1298,
8646,
11,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5219,
1298,
366,
261,
1600,
366,
11994,
62,
8043,
1298,
685,
2075,
13,
36928,
11,
4974,
13,
23,
3388,
4357,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
1303,
269,
83,
1343,
22204,
357,
3919,
20218,
393,
3124,
1104,
8,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
11,
366,
5171,
62,
2617,
62,
29510,
1298,
10352,
11,
366,
5171,
62,
2617,
62,
8043,
1298,
10352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
8043,
62,
29510,
1298,
8646,
11,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5219,
1298,
366,
261,
1600,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
1303,
289,
82,
1343,
22204,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
11,
366,
5171,
62,
2617,
62,
8043,
1298,
6407,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
11994,
62,
8043,
1298,
685,
6200,
11,
1802,
4357,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
5219,
1298,
366,
261,
1600,
366,
11994,
62,
8043,
1298,
685,
6200,
11,
1802,
4357,
366,
29199,
1108,
1298,
939,
5512,
198,
220,
220,
220,
16589,
198,
60,
198,
198,
2,
25414,
286,
6801,
318,
407,
6789,
11,
475,
1366,
318,
3804,
284,
1210,
319,
2139,
13,
198,
5446,
15037,
17941,
62,
34,
1921,
1546,
62,
13775,
62,
51,
1546,
4694,
796,
685,
14202,
11,
657,
11,
352,
60,
628,
198,
31,
9078,
9288,
13,
69,
9602,
7,
2306,
1076,
28,
17821,
11,
8354,
2625,
21412,
4943,
198,
4299,
9058,
7,
25927,
2599,
198,
220,
220,
220,
37227,
7248,
510,
16082,
329,
12972,
2213,
324,
69,
380,
5050,
526,
15931,
198,
220,
220,
220,
279,
62,
16,
796,
8529,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9078,
2213,
324,
69,
380,
13,
25202,
13,
15047,
15988,
13,
1831,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
13345,
540,
28,
21746,
44,
735,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
62,
8367,
41888,
4895,
76,
735,
1298,
366,
76,
735,
20662,
4357,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
279,
62,
17,
796,
8529,
7203,
9078,
2213,
324,
69,
380,
13,
25202,
13,
15047,
15988,
13,
8091,
4943,
198,
220,
220,
220,
279,
62,
16,
13,
9688,
3419,
198,
220,
220,
220,
279,
62,
17,
13,
9688,
3419,
628,
220,
220,
220,
825,
573,
446,
593,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
27914,
16082,
329,
12972,
2213,
324,
69,
380,
5050,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
16,
13,
11338,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
279,
62,
17,
13,
11338,
3419,
628,
220,
220,
220,
2581,
13,
2860,
20311,
7509,
7,
660,
446,
593,
8,
628,
198,
31,
9078,
9288,
13,
69,
9602,
198,
4299,
15290,
62,
10494,
1014,
33529,
198,
220,
220,
220,
37227,
44,
735,
257,
8397,
69,
380,
24308,
526,
15931,
628,
220,
220,
220,
825,
651,
62,
42034,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
15290,
4410,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
24308,
13,
76,
735,
62,
42034,
628,
220,
220,
220,
825,
651,
62,
24432,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
15290,
2628,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
24308,
13,
76,
735,
62,
24432,
628,
220,
220,
220,
24308,
796,
44123,
7,
198,
220,
220,
220,
220,
220,
220,
220,
651,
62,
42034,
28,
1136,
62,
42034,
11,
198,
220,
220,
220,
220,
220,
220,
220,
651,
62,
24432,
28,
1136,
62,
24432,
11,
198,
220,
220,
220,
220,
220,
220,
220,
15290,
62,
42034,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
15290,
62,
24432,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
15290,
62,
16733,
274,
41888,
4357,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1441,
24308,
628,
198,
31,
9078,
9288,
13,
69,
9602,
198,
4299,
15290,
62,
15042,
7,
76,
735,
62,
10494,
1014,
2599,
198,
220,
220,
220,
37227,
44,
735,
40391,
526,
15931,
628,
220,
220,
220,
30351,
825,
40391,
7,
21812,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44,
735,
40391,
2163,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9363,
262,
1366,
329,
366,
5305,
1,
3141,
5563,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
468,
35226,
7,
21812,
11,
45434,
7890,
4943,
290,
407,
318,
39098,
7,
21812,
11,
44123,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
16733,
274,
13,
33295,
7,
21812,
13557,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3141,
628,
220,
220,
220,
1441,
40391,
628,
198,
292,
13361,
825,
7716,
62,
862,
74,
7,
944,
11,
2438,
2599,
198,
220,
220,
220,
37227,
44,
735,
279,
8135,
526,
15931,
198,
220,
220,
220,
1441,
366,
76,
735,
1,
628,
198,
292,
13361,
825,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
8912,
262,
8397,
69,
380,
3859,
351,
257,
15290,
24308,
526,
15931,
198,
220,
220,
220,
5726,
796,
44123,
16934,
30150,
7,
198,
220,
220,
220,
220,
220,
220,
220,
7386,
28,
2213,
324,
69,
380,
13,
39170,
29833,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4774,
1298,
366,
76,
735,
12,
4774,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
738,
414,
1298,
366,
76,
735,
12,
738,
414,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2539,
1298,
366,
76,
735,
12,
2539,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11748,
62,
24432,
1298,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
10494,
1014,
62,
312,
1298,
366,
76,
735,
12,
10494,
1014,
12,
312,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
468,
82,
13,
7890,
58,
2213,
324,
69,
380,
13,
20373,
62,
38,
6158,
27285,
60,
796,
1391,
13000,
13,
13000,
62,
312,
25,
15290,
62,
10494,
1014,
92,
198,
220,
220,
220,
468,
82,
13,
7890,
58,
2213,
324,
69,
380,
13,
20373,
62,
17614,
60,
796,
1391,
13000,
13,
13000,
62,
312,
25,
15290,
62,
15042,
92,
198,
220,
220,
220,
25507,
468,
82,
13,
11250,
62,
298,
1678,
13,
292,
13361,
62,
11813,
62,
13000,
62,
40406,
7,
13000,
11,
366,
2971,
4943,
628,
198,
4299,
15290,
62,
2971,
7,
9288,
62,
40890,
34758,
5512,
1332,
62,
5219,
34758,
5512,
299,
28,
15,
2599,
198,
220,
220,
220,
37227,
44,
735,
257,
2083,
69,
380,
1657,
526,
15931,
198,
220,
220,
220,
15290,
62,
2971,
62,
7890,
796,
44123,
7,
1174,
9288,
62,
5219,
8,
628,
220,
220,
220,
15290,
62,
2971,
796,
44123,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
2625,
76,
735,
12,
2971,
12,
312,
12,
90,
92,
1911,
18982,
7,
77,
828,
198,
220,
220,
220,
220,
220,
220,
220,
3151,
540,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
12414,
28,
44,
735,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
3335,
62,
10951,
28,
22975,
44,
735,
22784,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
15290,
62,
2971,
13,
3672,
796,
366,
2213,
324,
69,
380,
62,
2971,
23330,
92,
1911,
18982,
7,
77,
8,
628,
220,
220,
220,
1303,
5345,
4855,
3033,
329,
262,
1657,
13,
198,
220,
220,
220,
3033,
796,
1391,
1174,
7206,
38865,
62,
51,
6465,
62,
15112,
47471,
11,
12429,
9288,
62,
40890,
92,
198,
220,
220,
220,
300,
66,
796,
4401,
15988,
7,
76,
735,
62,
2971,
8,
198,
220,
220,
220,
329,
479,
11,
410,
287,
3033,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
900,
35226,
7,
44601,
11,
479,
11,
410,
8,
198,
220,
220,
220,
1303,
9363,
262,
4238,
1181,
13,
198,
220,
220,
220,
900,
35226,
7,
44601,
11,
366,
8091,
1600,
685,
76,
735,
62,
2971,
62,
7890,
12962,
198,
220,
220,
220,
15290,
62,
2971,
13,
2971,
62,
13716,
796,
300,
66,
198,
220,
220,
220,
1441,
15290,
62,
2971,
628,
198,
292,
13361,
825,
1332,
62,
2971,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
326,
7588,
389,
9380,
2087,
526,
15931,
198,
220,
220,
220,
3033,
796,
19779,
5171,
62,
2617,
62,
67,
10957,
1298,
6407,
11,
366,
5171,
62,
2617,
62,
8043,
1298,
6407,
11,
366,
5171,
62,
2617,
62,
29510,
1298,
6407,
92,
628,
220,
220,
220,
1181,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5219,
1298,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
67,
10957,
1298,
1802,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8043,
62,
29510,
1298,
8646,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11994,
65,
62,
5431,
62,
8043,
1298,
357,
3064,
11,
1802,
11,
1802,
11,
1802,
11,
1802,
828,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
42034,
13,
33295,
7,
198,
220,
220,
220,
220,
220,
220,
220,
15290,
62,
2971,
7,
9288,
62,
40890,
28,
40890,
11,
1332,
62,
5219,
28,
5219,
8,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
20450,
62,
16,
796,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
2971,
62,
15,
4943,
198,
220,
220,
220,
6818,
20450,
62,
16,
318,
407,
6045,
198,
220,
220,
220,
6818,
20450,
62,
16,
13,
5219,
6624,
366,
261,
1,
198,
220,
220,
220,
6818,
20450,
62,
16,
13,
1078,
7657,
14692,
29199,
1108,
8973,
6624,
1802,
198,
220,
220,
220,
6818,
20450,
62,
16,
13,
1078,
7657,
14692,
11994,
62,
8043,
8973,
6624,
357,
15,
13,
44966,
11,
657,
13,
21395,
8,
628,
198,
292,
13361,
825,
1332,
62,
2971,
62,
672,
45852,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
326,
7588,
389,
9380,
6515,
526,
15931,
198,
220,
220,
220,
1657,
796,
15290,
62,
2971,
3419,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
42034,
13,
33295,
7,
2971,
8,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
198,
220,
220,
220,
6818,
18896,
7,
2971,
13,
672,
2655,
303,
13,
76,
735,
62,
66,
5691,
8,
1875,
657,
628,
198,
292,
13361,
825,
1332,
62,
2971,
62,
15182,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
1657,
1695,
3119,
526,
15931,
198,
220,
220,
220,
1657,
796,
15290,
62,
2971,
7,
4895,
5219,
1298,
6407,
5512,
299,
28,
16,
8,
198,
220,
220,
220,
1657,
13,
16250,
540,
796,
6407,
628,
220,
220,
220,
1657,
17,
796,
15290,
62,
2971,
7,
4895,
5219,
1298,
6407,
5512,
299,
28,
17,
8,
198,
220,
220,
220,
1657,
17,
13,
16250,
540,
796,
10352,
628,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
42034,
13,
33295,
7,
2971,
8,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
42034,
13,
33295,
7,
2971,
17,
8,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
6818,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
2971,
62,
16,
11074,
5219,
6624,
366,
261,
1,
628,
220,
220,
220,
6818,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
2971,
62,
17,
11074,
5219,
6624,
366,
403,
15182,
1,
628,
198,
2,
29176,
309,
27064,
62,
1340,
62,
51,
6465,
62,
34,
1921,
1546,
290,
44069,
17941,
62,
34,
1921,
1546,
62,
13775,
62,
51,
1546,
4694,
198,
7036,
62,
51,
27064,
62,
1340,
62,
51,
6465,
62,
34,
1921,
1546,
796,
685,
14692,
9288,
62,
40890,
1600,
366,
9288,
62,
7890,
1600,
366,
40319,
62,
20274,
1600,
366,
312,
33116,
685,
11907,
198,
198,
312,
87,
796,
352,
198,
1640,
37096,
287,
309,
27064,
62,
1340,
62,
51,
6465,
62,
34,
1921,
1546,
25,
198,
220,
220,
220,
329,
1007,
287,
44069,
17941,
62,
34,
1921,
1546,
62,
13775,
62,
51,
1546,
4694,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1339,
796,
2769,
30073,
7,
23047,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1007,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1339,
58,
16,
7131,
1,
7645,
653,
8973,
796,
1007,
198,
220,
220,
220,
220,
220,
220,
220,
1339,
13,
33295,
7,
312,
87,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4686,
87,
796,
4686,
87,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
11096,
62,
51,
27064,
62,
1340,
62,
51,
6465,
62,
34,
1921,
1546,
58,
16,
4083,
33295,
7,
7442,
8,
628,
198,
31,
9078,
9288,
13,
4102,
13,
17143,
316,
380,
2736,
46491,
7036,
62,
51,
27064,
62,
1340,
62,
51,
6465,
62,
34,
1921,
1546,
8,
198,
292,
13361,
825,
1332,
62,
15344,
62,
261,
7,
198,
220,
220,
220,
468,
82,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
11,
1332,
62,
40890,
11,
1332,
62,
7890,
11,
2938,
62,
20274,
11,
4686,
198,
2599,
198,
220,
220,
220,
37227,
14402,
6225,
319,
257,
1657,
526,
15931,
198,
220,
220,
220,
1303,
5740,
12972,
2213,
324,
69,
380,
3918,
11,
407,
468,
82,
13,
27068,
407,
1107,
1593,
13,
198,
220,
220,
220,
4238,
62,
5219,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5219,
1298,
10352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
67,
10957,
1298,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8043,
62,
29510,
1298,
8646,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11994,
65,
62,
5431,
62,
8043,
1298,
357,
3064,
11,
1802,
11,
1802,
11,
1802,
11,
1802,
828,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
1303,
31122,
262,
24308,
351,
257,
15290,
1657,
13,
198,
220,
220,
220,
1657,
796,
15290,
62,
2971,
7,
9288,
62,
40890,
28,
9288,
62,
40890,
11,
1332,
62,
5219,
28,
36733,
62,
5219,
11,
299,
28,
312,
8,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
42034,
13,
33295,
7,
2971,
8,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
1303,
5765,
262,
1210,
62,
261,
2139,
869,
284,
1487,
262,
1657,
1181,
13,
198,
220,
220,
220,
25507,
468,
82,
13,
30416,
13,
292,
13361,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2971,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15344,
62,
261,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
26858,
62,
312,
1298,
366,
2971,
13,
2213,
324,
69,
380,
62,
2971,
23330,
92,
1911,
18982,
7,
312,
828,
12429,
9288,
62,
7890,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
12013,
28,
17821,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
468,
82,
13,
292,
13361,
62,
9967,
62,
83,
359,
62,
28060,
3419,
628,
220,
220,
220,
1303,
6822,
326,
262,
1657,
318,
6515,
13,
198,
220,
220,
220,
15290,
62,
20786,
796,
1657,
13,
672,
2655,
303,
198,
220,
220,
220,
6818,
18896,
7,
76,
735,
62,
20786,
13,
76,
735,
62,
66,
5691,
8,
1875,
657,
198,
220,
220,
220,
4808,
11,
869,
46265,
22046,
796,
15290,
62,
20786,
13,
13345,
62,
22046,
198,
220,
220,
220,
6818,
366,
47423,
1,
287,
869,
46265,
22046,
198,
220,
220,
220,
1303,
4889,
1891,
2163,
284,
14976,
1657,
1181,
13,
198,
220,
220,
220,
269,
65,
796,
869,
46265,
22046,
14692,
47423,
8973,
628,
220,
220,
220,
9109,
796,
15290,
62,
10494,
1014,
13,
76,
735,
62,
16733,
274,
198,
220,
220,
220,
1303,
1812,
319,
3141,
1366,
13,
198,
220,
220,
220,
1366,
796,
19779,
2091,
1157,
1298,
685,
4895,
3365,
1120,
1298,
352,
92,
48999,
198,
220,
220,
220,
1303,
3060,
1366,
329,
477,
1908,
9729,
13,
198,
220,
220,
220,
329,
374,
287,
9109,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
2091,
1157,
1,
7131,
15,
60,
796,
1391,
1174,
7890,
14692,
2091,
1157,
1,
7131,
15,
4357,
12429,
81,
14692,
2091,
1157,
1,
7131,
15,
48999,
628,
220,
220,
220,
1303,
5765,
262,
23838,
2163,
284,
4296,
262,
1657,
1181,
13,
198,
220,
220,
220,
1614,
796,
16232,
7,
7890,
8,
198,
220,
220,
220,
1657,
62,
7890,
796,
4401,
7,
7959,
11,
657,
8,
198,
220,
220,
220,
1657,
13,
2971,
62,
13716,
13,
8091,
58,
15,
60,
796,
1657,
62,
7890,
198,
220,
220,
220,
269,
65,
7,
2971,
8,
198,
220,
220,
220,
25507,
468,
82,
13,
292,
13361,
62,
9967,
62,
83,
359,
62,
28060,
3419,
628,
220,
220,
220,
1303,
6822,
326,
262,
1181,
318,
3376,
13,
198,
220,
220,
220,
2585,
796,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
2971,
23330,
92,
1911,
18982,
7,
312,
4008,
198,
220,
220,
220,
329,
479,
11,
410,
287,
2938,
62,
20274,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
479,
6624,
366,
5219,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2585,
13,
5219,
6624,
410,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
22507,
617,
38185,
4049,
287,
3124,
32626,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
2585,
13,
1078,
7657,
58,
74,
60,
6624,
12972,
9288,
13,
1324,
13907,
7,
85,
11,
2352,
28,
15,
13,
486,
8,
628,
198,
292,
13361,
825,
1332,
62,
15344,
62,
2364,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
6225,
572,
257,
1657,
526,
15931,
198,
220,
220,
220,
1181,
796,
19779,
5219,
1298,
6407,
11,
366,
67,
10957,
1298,
1802,
92,
628,
220,
220,
220,
1657,
796,
15290,
62,
2971,
7,
9288,
62,
5219,
28,
5219,
8,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
42034,
13,
33295,
7,
2971,
8,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
1303,
5765,
262,
1210,
62,
2364,
2139,
869,
284,
1487,
262,
1657,
1181,
13,
198,
220,
220,
220,
25507,
468,
82,
13,
30416,
13,
292,
13361,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2971,
1600,
366,
15344,
62,
2364,
1600,
19779,
26858,
62,
312,
1298,
366,
2971,
13,
2213,
324,
69,
380,
62,
2971,
62,
15,
25719,
12013,
28,
17821,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
468,
82,
13,
292,
13361,
62,
9967,
62,
83,
359,
62,
28060,
3419,
628,
220,
220,
220,
1303,
6822,
326,
262,
1657,
318,
6515,
13,
198,
220,
220,
220,
15290,
62,
20786,
796,
1657,
13,
672,
2655,
303,
198,
220,
220,
220,
6818,
18896,
7,
76,
735,
62,
20786,
13,
76,
735,
62,
66,
5691,
8,
1875,
657,
198,
220,
220,
220,
4808,
11,
869,
46265,
22046,
796,
15290,
62,
20786,
13,
13345,
62,
22046,
198,
220,
220,
220,
6818,
366,
47423,
1,
287,
869,
46265,
22046,
198,
220,
220,
220,
1303,
4889,
1891,
2163,
284,
14976,
1657,
1181,
13,
198,
220,
220,
220,
269,
65,
796,
869,
46265,
22046,
14692,
47423,
8973,
628,
220,
220,
220,
9109,
796,
15290,
62,
10494,
1014,
13,
76,
735,
62,
16733,
274,
198,
220,
220,
220,
1366,
796,
19779,
2091,
1157,
1298,
685,
90,
92,
48999,
198,
220,
220,
220,
1303,
3060,
1366,
329,
477,
1908,
9729,
13,
198,
220,
220,
220,
329,
374,
287,
9109,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
14692,
2091,
1157,
1,
7131,
15,
60,
796,
1391,
1174,
7890,
14692,
2091,
1157,
1,
7131,
15,
4357,
12429,
81,
14692,
2091,
1157,
1,
7131,
15,
48999,
628,
220,
220,
220,
1303,
5765,
262,
23838,
2163,
284,
4296,
262,
1657,
1181,
13,
198,
220,
220,
220,
1614,
796,
16232,
7,
7890,
8,
198,
220,
220,
220,
1657,
62,
7890,
796,
4401,
7,
7959,
11,
657,
8,
198,
220,
220,
220,
1657,
13,
2971,
62,
13716,
13,
8091,
58,
15,
60,
796,
1657,
62,
7890,
198,
220,
220,
220,
269,
65,
7,
2971,
8,
198,
220,
220,
220,
25507,
468,
82,
13,
292,
13361,
62,
9967,
62,
83,
359,
62,
28060,
3419,
628,
220,
220,
220,
1303,
6822,
326,
262,
1181,
318,
3376,
13,
198,
220,
220,
220,
2585,
796,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
2971,
62,
15,
4943,
198,
220,
220,
220,
6818,
2585,
13,
5219,
6624,
366,
2364,
1,
628,
198,
4299,
15290,
62,
8094,
7,
9288,
62,
5219,
34758,
5512,
299,
28,
15,
2599,
198,
220,
220,
220,
37227,
44,
735,
257,
8397,
69,
380,
1448,
526,
15931,
198,
220,
220,
220,
4277,
62,
5219,
796,
19779,
5219,
1298,
10352,
11,
366,
67,
10957,
1298,
657,
92,
628,
220,
220,
220,
1181,
796,
1391,
1174,
12286,
62,
5219,
11,
12429,
9288,
62,
5219,
92,
628,
220,
220,
220,
15290,
62,
8094,
796,
44123,
7,
19522,
62,
2340,
41888,
4357,
12414,
28,
44,
735,
22784,
12429,
5219,
8,
198,
220,
220,
220,
15290,
62,
8094,
13,
3672,
796,
366,
2213,
324,
69,
380,
62,
8094,
23330,
92,
1911,
18982,
7,
77,
8,
198,
220,
220,
220,
1441,
15290,
62,
8094,
628,
198,
292,
13361,
825,
1332,
62,
8094,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
326,
2628,
389,
9380,
2087,
526,
15931,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
24432,
13,
33295,
7,
76,
735,
62,
8094,
28955,
198,
220,
220,
220,
1181,
796,
19779,
5219,
1298,
6407,
11,
366,
67,
10957,
1298,
1802,
92,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
24432,
13,
33295,
7,
76,
735,
62,
8094,
7,
5219,
11,
352,
4008,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
1448,
796,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
8094,
62,
15,
4943,
198,
220,
220,
220,
6818,
1448,
318,
407,
6045,
198,
220,
220,
220,
6818,
1448,
13,
5219,
6624,
366,
2364,
1,
628,
220,
220,
220,
1448,
796,
468,
82,
13,
27219,
13,
1136,
7203,
2971,
13,
2213,
324,
69,
380,
62,
8094,
62,
16,
4943,
198,
220,
220,
220,
6818,
1448,
318,
407,
6045,
198,
220,
220,
220,
6818,
1448,
13,
5219,
6624,
366,
261,
1,
198,
220,
220,
220,
6818,
1448,
13,
1078,
7657,
14692,
29199,
1108,
8973,
6624,
1802,
628,
198,
292,
13361,
825,
1332,
62,
8094,
62,
15344,
62,
261,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
6225,
319,
257,
1448,
526,
15931,
198,
220,
220,
220,
1448,
796,
15290,
62,
8094,
3419,
198,
220,
220,
220,
1448,
17,
796,
15290,
62,
8094,
7,
77,
28,
16,
8,
198,
220,
220,
220,
1448,
18,
796,
15290,
62,
8094,
7,
77,
28,
17,
8,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
24432,
13,
33295,
7,
8094,
8,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
24432,
13,
33295,
7,
8094,
17,
8,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
24432,
13,
33295,
7,
8094,
18,
8,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
1303,
5765,
262,
1210,
62,
2364,
2139,
869,
284,
1487,
262,
1657,
1181,
13,
198,
220,
220,
220,
25507,
468,
82,
13,
30416,
13,
292,
13361,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2971,
1600,
366,
15344,
62,
261,
1600,
19779,
26858,
62,
312,
1298,
366,
2971,
13,
2213,
324,
69,
380,
62,
8094,
62,
15,
25719,
12013,
28,
17821,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
468,
82,
13,
30416,
13,
292,
13361,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2971,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15344,
62,
261,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
26858,
62,
312,
1298,
366,
2971,
13,
2213,
324,
69,
380,
62,
8094,
62,
16,
1600,
366,
29199,
1108,
1298,
1802,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
12013,
28,
17821,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
468,
82,
13,
30416,
13,
292,
13361,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2971,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15344,
62,
261,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
19779,
26858,
62,
312,
1298,
366,
2971,
13,
2213,
324,
69,
380,
62,
8094,
62,
17,
1600,
366,
29199,
1108,
1298,
1802,
11,
366,
7645,
653,
1298,
352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
12013,
28,
17821,
11,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
468,
82,
13,
292,
13361,
62,
9967,
62,
83,
359,
62,
28060,
3419,
628,
220,
220,
220,
1448,
13,
2617,
62,
5219,
13,
30493,
62,
7174,
62,
4480,
7,
16,
8,
198,
220,
220,
220,
1448,
17,
13,
2617,
62,
67,
10957,
13,
30493,
62,
7174,
62,
4480,
7,
3064,
8,
198,
220,
220,
220,
1448,
18,
13,
2617,
62,
67,
10957,
13,
30493,
62,
7174,
62,
4480,
7,
3064,
11,
6801,
62,
2435,
28,
940,
8,
628,
198,
292,
13361,
825,
1332,
62,
8094,
62,
15344,
62,
2364,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
2599,
198,
220,
220,
220,
37227,
14402,
6225,
572,
257,
1448,
526,
15931,
198,
220,
220,
220,
1448,
796,
15290,
62,
8094,
7,
4895,
5219,
1298,
6407,
30072,
198,
220,
220,
220,
15290,
62,
10494,
1014,
13,
76,
735,
62,
24432,
13,
33295,
7,
8094,
8,
198,
220,
220,
220,
25507,
9058,
62,
10494,
1014,
7,
71,
562,
11,
15290,
62,
10494,
1014,
11,
15290,
62,
15042,
8,
628,
220,
220,
220,
1303,
5765,
262,
1210,
62,
2364,
2139,
869,
284,
1487,
262,
1657,
1181,
13,
198,
220,
220,
220,
25507,
468,
82,
13,
30416,
13,
292,
13361,
62,
13345,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2971,
1600,
366,
15344,
62,
2364,
1600,
19779,
26858,
62,
312,
1298,
366,
2971,
13,
2213,
324,
69,
380,
62,
8094,
62,
15,
25719,
12013,
28,
17821,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
25507,
468,
82,
13,
292,
13361,
62,
9967,
62,
83,
359,
62,
28060,
3419,
628,
220,
220,
220,
1448,
13,
2617,
62,
5219,
13,
30493,
62,
7174,
62,
4480,
7,
15,
8,
198
] | 2.351531 | 5,422 |
from texting_wall import settings as django_settings
| [
6738,
36634,
62,
11930,
1330,
6460,
355,
42625,
14208,
62,
33692,
198
] | 4.416667 | 12 |
import random
import numpy as np
import matplotlib.pyplot as plt
import os
import pandas as pd
import torch
from torch.utils.data import DataLoader, Dataset
from torch.utils.data.sampler import SubsetRandomSampler
import imp
from librosa.core import load
from librosa.output import write_wav
from scipy.io import wavfile
from utils import vggish_input
imp.reload(vggish_input)
def process_wavs_for_training(params):
'''
iterates through data under root that must have the structure
root/{classes}/{instances}. Data must be in integer(!) .wav format.
Under save_to the same subdirectories save_to/{classes}
are generated and for every instance vggish compatible inputs are generated according
to the parameters specified in vggish_params.py
Args:
root (string): path to data root
saveto (string): path to root where processed data is stored
'''
if os.path.exists(params.mel_spec_root):
print('spectrograms seem to have been computed')
print('delete {} manually and rerun preprocessing or keep goint to use what is there.'.format(
params.mel_spec_root))
return
labels = os.listdir(params.data_root)
for label in os.listdir(params.data_root):
if not os.path.isdir(os.path.join(params.data_root, label)): continue
print('processing data for label {}'.format(label))
os.makedirs(os.path.join(params.mel_spec_root, label))
for file in os.listdir(os.path.join(params.data_root, label)):
data = vggish_input.wavfile_to_examples(os.path.join(params.data_root, label, file))
for i in range(data.shape[0]):
np.save(os.path.join(params.mel_spec_root, label, file[:-4]+str(i)+'.npy'), data[i])
| [
11748,
4738,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
28686,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
28034,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
11,
16092,
292,
316,
198,
6738,
28034,
13,
26791,
13,
7890,
13,
37687,
20053,
1330,
3834,
2617,
29531,
16305,
20053,
198,
11748,
848,
198,
6738,
9195,
4951,
64,
13,
7295,
1330,
3440,
198,
6738,
9195,
4951,
64,
13,
22915,
1330,
3551,
62,
45137,
198,
6738,
629,
541,
88,
13,
952,
1330,
266,
615,
7753,
198,
198,
6738,
3384,
4487,
1330,
410,
1130,
680,
62,
15414,
198,
11011,
13,
260,
2220,
7,
85,
1130,
680,
62,
15414,
8,
628,
198,
198,
4299,
1429,
62,
45137,
82,
62,
1640,
62,
34409,
7,
37266,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
11629,
689,
832,
1366,
739,
6808,
326,
1276,
423,
262,
4645,
198,
220,
220,
220,
6808,
14,
90,
37724,
92,
14,
90,
8625,
1817,
27422,
6060,
1276,
307,
287,
18253,
7,
8133,
764,
45137,
5794,
13,
198,
220,
220,
220,
4698,
3613,
62,
1462,
262,
976,
850,
12942,
1749,
3613,
62,
1462,
14,
90,
37724,
92,
198,
220,
220,
220,
389,
7560,
290,
329,
790,
4554,
410,
1130,
680,
11670,
17311,
389,
7560,
1864,
198,
220,
220,
220,
284,
262,
10007,
7368,
287,
410,
1130,
680,
62,
37266,
13,
9078,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
6808,
357,
8841,
2599,
3108,
284,
1366,
6808,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
1462,
357,
8841,
2599,
3108,
284,
6808,
810,
13686,
1366,
318,
8574,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
37266,
13,
17694,
62,
16684,
62,
15763,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
4443,
3828,
9474,
1283,
284,
423,
587,
29231,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
33678,
23884,
14500,
290,
302,
5143,
662,
36948,
393,
1394,
467,
600,
284,
779,
644,
318,
612,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
13,
17694,
62,
16684,
62,
15763,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
14722,
796,
28686,
13,
4868,
15908,
7,
37266,
13,
7890,
62,
15763,
8,
198,
220,
220,
220,
329,
6167,
287,
28686,
13,
4868,
15908,
7,
37266,
13,
7890,
62,
15763,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
418,
13,
6978,
13,
22179,
7,
37266,
13,
7890,
62,
15763,
11,
6167,
8,
2599,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
36948,
1366,
329,
6167,
23884,
4458,
18982,
7,
18242,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
76,
4335,
17062,
7,
418,
13,
6978,
13,
22179,
7,
37266,
13,
17694,
62,
16684,
62,
15763,
11,
6167,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2393,
287,
28686,
13,
4868,
15908,
7,
418,
13,
6978,
13,
22179,
7,
37266,
13,
7890,
62,
15763,
11,
6167,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
410,
1130,
680,
62,
15414,
13,
45137,
7753,
62,
1462,
62,
1069,
12629,
7,
418,
13,
6978,
13,
22179,
7,
37266,
13,
7890,
62,
15763,
11,
6167,
11,
2393,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
7890,
13,
43358,
58,
15,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
21928,
7,
418,
13,
6978,
13,
22179,
7,
37266,
13,
17694,
62,
16684,
62,
15763,
11,
6167,
11,
2393,
58,
21912,
19,
48688,
2536,
7,
72,
47762,
4458,
77,
9078,
33809,
1366,
58,
72,
12962,
628
] | 2.693846 | 650 |
# -*- coding: utf-8 -*-
"""
Created on Fri Jun 7 07:40:20 2013
@author: abrys
"""
# To ignore numpy errors:
# pylint: disable=E1101
import nibabel
import numpy
from dicom2nifti.common import get_nifti_data
class Slice(object):
"""
Class containing all data for a single slice in an image volume
"""
original_data = None
slice_orientation = None
class SliceType(object):
"""
ENUM like container for the slice types
"""
AXIAL = 1
SAGITTAL = 2
CORONAL = 3
class SliceOrientation(object):
"""
Class containing the orientation of a slice
"""
x_component = None
y_component = None
normal_component = None
x_inverted = False
y_inverted = False
class ImageVolume(object):
"""
Class representing an imagevolume.
You can provide it with a nifti and can be used to get slices in a certain direction
It will take the affine matrix into account to find the correct orientation
"""
def get_slice(self, slice_type, slice_number, time_point=0):
"""
Returns a slice of the dataset.
slice.data contains the window/levelled values, in uint8
slice.original_data contains the original data for this slice
:param time_point: in case of 4d nifti the 4th dimension
:param slice_number: the slice number
:param slice_type: tye slice type (AXIAL, SAGITTAL, CORONAL)
"""
slice_ = Slice()
slice_.slice_number = slice_number
# assert that slice_ number is withing the range
assert slice_number >= 0
assert slice_number < self._get_number_of_slices(slice_type)
slice_data = None
if slice_type == SliceType.AXIAL:
slice_data = self.__get_raw_slice__(slice_number, self.axial_orientation, time_point)
slice_.slice_orientation = self.axial_orientation
elif slice_type == SliceType.SAGITTAL:
slice_data = self.__get_raw_slice__(slice_number, self.sagittal_orientation, time_point)
slice_.slice_orientation = self.sagittal_orientation
elif slice_type == SliceType.CORONAL:
slice_data = self.__get_raw_slice__(slice_number, self.coronal_orientation, time_point)
slice_.slice_orientation = self.coronal_orientation
# make a copy of the slice_ so we do not modify the orignal
slice_.original_data = slice_data
return slice_
def _get_number_of_slices(self, slice_type):
"""
Get the number of slices in a certain direction
"""
if slice_type == SliceType.AXIAL:
return self.dimensions[self.axial_orientation.normal_component]
elif slice_type == SliceType.SAGITTAL:
return self.dimensions[self.sagittal_orientation.normal_component]
elif slice_type == SliceType.CORONAL:
return self.dimensions[self.coronal_orientation.normal_component]
def __calc_most_likely_direction__(transformed_x, transformed_y, transformed_z):
"""
Calculate which is the most likely component for a given direction
"""
# calculate the x component
tx_dot_x = numpy.abs(numpy.dot(transformed_x, [1, 0, 0, 0]))
tx_dot_y = numpy.abs(numpy.dot(transformed_x, [0, 1, 0, 0]))
tx_dot_z = numpy.abs(numpy.dot(transformed_x, [0, 0, 1, 0]))
x_dots = [tx_dot_x, tx_dot_y, tx_dot_z]
x_component = numpy.argmax(x_dots)
x_max = numpy.max(x_dots)
# calculate the y component
ty_dot_x = numpy.abs(numpy.dot(transformed_y, [1, 0, 0, 0]))
ty_dot_y = numpy.abs(numpy.dot(transformed_y, [0, 1, 0, 0]))
ty_dot_z = numpy.abs(numpy.dot(transformed_y, [0, 0, 1, 0]))
y_dots = [ty_dot_x, ty_dot_y, ty_dot_z]
y_component = numpy.argmax(y_dots)
y_max = numpy.max(y_dots)
# calculate the z component
tz_dot_x = numpy.abs(numpy.dot(transformed_z, [1, 0, 0, 0]))
tz_dot_y = numpy.abs(numpy.dot(transformed_z, [0, 1, 0, 0]))
tz_dot_z = numpy.abs(numpy.dot(transformed_z, [0, 0, 1, 0]))
z_dots = [tz_dot_x, tz_dot_y, tz_dot_z]
z_component = numpy.argmax(z_dots)
z_max = numpy.max(z_dots)
# as long as there are duplicate directions try to correct
while x_component == y_component or x_component == z_component or y_component == z_component:
if x_component == y_component:
# keep the strongest one and change the other
if x_max >= y_max: # update the y component
y_dots[y_component] = 0
y_component = numpy.argmax(y_dots)
y_max = numpy.max(y_dots)
else: # update the x component
x_dots[x_component] = 0
x_component = numpy.argmax(x_dots)
x_max = numpy.max(x_dots)
if x_component == z_component:
# keep the strongest one and change the other
if x_max >= z_max: # update the z component
z_dots[z_component] = 0
z_component = numpy.argmax(z_dots)
z_max = numpy.max(z_dots)
else: # update the x component
x_dots[x_component] = 0
x_component = numpy.argmax(x_dots)
x_max = numpy.max(x_dots)
if y_component == z_component:
# keep the strongest one and change the other
if y_max >= z_max: # update the z component
z_dots[z_component] = 0
z_component = numpy.argmax(z_dots)
z_max = numpy.max(z_dots)
else: # update the y component
y_dots[y_component] = 0
y_component = numpy.argmax(y_dots)
y_max = numpy.max(y_dots)
return x_component, y_component, z_component
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
41972,
319,
19480,
7653,
220,
767,
8753,
25,
1821,
25,
1238,
2211,
198,
198,
31,
9800,
25,
450,
19753,
198,
37811,
198,
2,
1675,
8856,
299,
32152,
8563,
25,
198,
2,
220,
220,
220,
220,
279,
2645,
600,
25,
15560,
28,
36,
1157,
486,
198,
198,
11748,
33272,
9608,
198,
11748,
299,
32152,
198,
198,
6738,
288,
291,
296,
17,
77,
2135,
72,
13,
11321,
1330,
651,
62,
77,
2135,
72,
62,
7890,
628,
198,
4871,
3454,
501,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5016,
7268,
477,
1366,
329,
257,
2060,
16416,
287,
281,
2939,
6115,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2656,
62,
7890,
796,
6045,
198,
220,
220,
220,
16416,
62,
13989,
341,
796,
6045,
628,
198,
4871,
3454,
501,
6030,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12964,
5883,
588,
9290,
329,
262,
16416,
3858,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
43051,
12576,
796,
352,
198,
220,
220,
220,
311,
4760,
22470,
1847,
796,
362,
198,
220,
220,
220,
23929,
1340,
1847,
796,
513,
628,
198,
4871,
3454,
501,
46,
8289,
341,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5016,
7268,
262,
12852,
286,
257,
16416,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2124,
62,
42895,
796,
6045,
198,
220,
220,
220,
331,
62,
42895,
796,
6045,
198,
220,
220,
220,
3487,
62,
42895,
796,
6045,
198,
220,
220,
220,
2124,
62,
259,
13658,
796,
10352,
198,
220,
220,
220,
331,
62,
259,
13658,
796,
10352,
628,
198,
198,
4871,
7412,
31715,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5016,
10200,
281,
2939,
29048,
13,
198,
220,
220,
220,
921,
460,
2148,
340,
351,
257,
299,
2135,
72,
290,
460,
307,
973,
284,
651,
24314,
287,
257,
1728,
4571,
198,
220,
220,
220,
632,
481,
1011,
262,
1527,
500,
17593,
656,
1848,
284,
1064,
262,
3376,
12852,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
651,
62,
48369,
7,
944,
11,
16416,
62,
4906,
11,
16416,
62,
17618,
11,
640,
62,
4122,
28,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16409,
257,
16416,
286,
262,
27039,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
13,
7890,
4909,
262,
4324,
14,
293,
303,
3353,
3815,
11,
287,
20398,
23,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
13,
14986,
62,
7890,
4909,
262,
2656,
1366,
329,
428,
16416,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
640,
62,
4122,
25,
287,
1339,
286,
604,
67,
299,
2135,
72,
262,
604,
400,
15793,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
16416,
62,
17618,
25,
262,
16416,
1271,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
16416,
62,
4906,
25,
1259,
68,
16416,
2099,
357,
25922,
12576,
11,
311,
4760,
22470,
1847,
11,
23929,
1340,
1847,
8,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16416,
62,
796,
3454,
501,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
16416,
44807,
48369,
62,
17618,
796,
16416,
62,
17618,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6818,
326,
16416,
62,
1271,
318,
351,
278,
262,
2837,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
16416,
62,
17618,
18189,
657,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
16416,
62,
17618,
1279,
2116,
13557,
1136,
62,
17618,
62,
1659,
62,
82,
677,
274,
7,
48369,
62,
4906,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16416,
62,
7890,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
16416,
62,
4906,
6624,
3454,
501,
6030,
13,
25922,
12576,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
62,
7890,
796,
2116,
13,
834,
1136,
62,
1831,
62,
48369,
834,
7,
48369,
62,
17618,
11,
2116,
13,
897,
498,
62,
13989,
341,
11,
640,
62,
4122,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
44807,
48369,
62,
13989,
341,
796,
2116,
13,
897,
498,
62,
13989,
341,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
16416,
62,
4906,
6624,
3454,
501,
6030,
13,
4090,
38,
22470,
1847,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
62,
7890,
796,
2116,
13,
834,
1136,
62,
1831,
62,
48369,
834,
7,
48369,
62,
17618,
11,
2116,
13,
82,
363,
39979,
62,
13989,
341,
11,
640,
62,
4122,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
44807,
48369,
62,
13989,
341,
796,
2116,
13,
82,
363,
39979,
62,
13989,
341,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
16416,
62,
4906,
6624,
3454,
501,
6030,
13,
44879,
1340,
1847,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
62,
7890,
796,
2116,
13,
834,
1136,
62,
1831,
62,
48369,
834,
7,
48369,
62,
17618,
11,
2116,
13,
10215,
20996,
62,
13989,
341,
11,
640,
62,
4122,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16416,
44807,
48369,
62,
13989,
341,
796,
2116,
13,
10215,
20996,
62,
13989,
341,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
787,
257,
4866,
286,
262,
16416,
62,
523,
356,
466,
407,
13096,
262,
393,
570,
282,
198,
220,
220,
220,
220,
220,
220,
220,
16416,
44807,
14986,
62,
7890,
796,
16416,
62,
7890,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
16416,
62,
628,
220,
220,
220,
825,
4808,
1136,
62,
17618,
62,
1659,
62,
82,
677,
274,
7,
944,
11,
16416,
62,
4906,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3497,
262,
1271,
286,
24314,
287,
257,
1728,
4571,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
16416,
62,
4906,
6624,
3454,
501,
6030,
13,
25922,
12576,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
27740,
5736,
58,
944,
13,
897,
498,
62,
13989,
341,
13,
11265,
62,
42895,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
16416,
62,
4906,
6624,
3454,
501,
6030,
13,
4090,
38,
22470,
1847,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
27740,
5736,
58,
944,
13,
82,
363,
39979,
62,
13989,
341,
13,
11265,
62,
42895,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
16416,
62,
4906,
6624,
3454,
501,
6030,
13,
44879,
1340,
1847,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
27740,
5736,
58,
944,
13,
10215,
20996,
62,
13989,
341,
13,
11265,
62,
42895,
60,
628,
198,
4299,
11593,
9948,
66,
62,
1712,
62,
40798,
62,
37295,
834,
7,
7645,
12214,
62,
87,
11,
14434,
62,
88,
11,
14434,
62,
89,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
27131,
378,
543,
318,
262,
749,
1884,
7515,
329,
257,
1813,
4571,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
15284,
262,
2124,
7515,
198,
220,
220,
220,
27765,
62,
26518,
62,
87,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
87,
11,
685,
16,
11,
657,
11,
657,
11,
657,
60,
4008,
198,
220,
220,
220,
27765,
62,
26518,
62,
88,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
87,
11,
685,
15,
11,
352,
11,
657,
11,
657,
60,
4008,
198,
220,
220,
220,
27765,
62,
26518,
62,
89,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
87,
11,
685,
15,
11,
657,
11,
352,
11,
657,
60,
4008,
198,
220,
220,
220,
2124,
62,
67,
1747,
796,
685,
17602,
62,
26518,
62,
87,
11,
27765,
62,
26518,
62,
88,
11,
27765,
62,
26518,
62,
89,
60,
198,
220,
220,
220,
2124,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
87,
62,
67,
1747,
8,
198,
220,
220,
220,
2124,
62,
9806,
796,
299,
32152,
13,
9806,
7,
87,
62,
67,
1747,
8,
628,
220,
220,
220,
1303,
15284,
262,
331,
7515,
198,
220,
220,
220,
1259,
62,
26518,
62,
87,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
88,
11,
685,
16,
11,
657,
11,
657,
11,
657,
60,
4008,
198,
220,
220,
220,
1259,
62,
26518,
62,
88,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
88,
11,
685,
15,
11,
352,
11,
657,
11,
657,
60,
4008,
198,
220,
220,
220,
1259,
62,
26518,
62,
89,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
88,
11,
685,
15,
11,
657,
11,
352,
11,
657,
60,
4008,
198,
220,
220,
220,
331,
62,
67,
1747,
796,
685,
774,
62,
26518,
62,
87,
11,
1259,
62,
26518,
62,
88,
11,
1259,
62,
26518,
62,
89,
60,
198,
220,
220,
220,
331,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
88,
62,
67,
1747,
8,
198,
220,
220,
220,
331,
62,
9806,
796,
299,
32152,
13,
9806,
7,
88,
62,
67,
1747,
8,
628,
220,
220,
220,
1303,
15284,
262,
1976,
7515,
198,
220,
220,
220,
256,
89,
62,
26518,
62,
87,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
89,
11,
685,
16,
11,
657,
11,
657,
11,
657,
60,
4008,
198,
220,
220,
220,
256,
89,
62,
26518,
62,
88,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
89,
11,
685,
15,
11,
352,
11,
657,
11,
657,
60,
4008,
198,
220,
220,
220,
256,
89,
62,
26518,
62,
89,
796,
299,
32152,
13,
8937,
7,
77,
32152,
13,
26518,
7,
7645,
12214,
62,
89,
11,
685,
15,
11,
657,
11,
352,
11,
657,
60,
4008,
198,
220,
220,
220,
1976,
62,
67,
1747,
796,
685,
22877,
62,
26518,
62,
87,
11,
256,
89,
62,
26518,
62,
88,
11,
256,
89,
62,
26518,
62,
89,
60,
198,
220,
220,
220,
1976,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
89,
62,
67,
1747,
8,
198,
220,
220,
220,
1976,
62,
9806,
796,
299,
32152,
13,
9806,
7,
89,
62,
67,
1747,
8,
628,
220,
220,
220,
1303,
355,
890,
355,
612,
389,
23418,
11678,
1949,
284,
3376,
198,
220,
220,
220,
981,
2124,
62,
42895,
6624,
331,
62,
42895,
393,
2124,
62,
42895,
6624,
1976,
62,
42895,
393,
331,
62,
42895,
6624,
1976,
62,
42895,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
62,
42895,
6624,
331,
62,
42895,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1394,
262,
12841,
530,
290,
1487,
262,
584,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
62,
9806,
18189,
331,
62,
9806,
25,
220,
1303,
4296,
262,
331,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
67,
1747,
58,
88,
62,
42895,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
88,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
9806,
796,
299,
32152,
13,
9806,
7,
88,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
1303,
4296,
262,
2124,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
67,
1747,
58,
87,
62,
42895,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
87,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
9806,
796,
299,
32152,
13,
9806,
7,
87,
62,
67,
1747,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
62,
42895,
6624,
1976,
62,
42895,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1394,
262,
12841,
530,
290,
1487,
262,
584,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2124,
62,
9806,
18189,
1976,
62,
9806,
25,
220,
1303,
4296,
262,
1976,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
62,
67,
1747,
58,
89,
62,
42895,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
89,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
62,
9806,
796,
299,
32152,
13,
9806,
7,
89,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
1303,
4296,
262,
2124,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
67,
1747,
58,
87,
62,
42895,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
87,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2124,
62,
9806,
796,
299,
32152,
13,
9806,
7,
87,
62,
67,
1747,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
331,
62,
42895,
6624,
1976,
62,
42895,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1394,
262,
12841,
530,
290,
1487,
262,
584,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
331,
62,
9806,
18189,
1976,
62,
9806,
25,
220,
1303,
4296,
262,
1976,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
62,
67,
1747,
58,
89,
62,
42895,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
89,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1976,
62,
9806,
796,
299,
32152,
13,
9806,
7,
89,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
220,
1303,
4296,
262,
331,
7515,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
67,
1747,
58,
88,
62,
42895,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
42895,
796,
299,
32152,
13,
853,
9806,
7,
88,
62,
67,
1747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
62,
9806,
796,
299,
32152,
13,
9806,
7,
88,
62,
67,
1747,
8,
628,
220,
220,
220,
1441,
2124,
62,
42895,
11,
331,
62,
42895,
11,
1976,
62,
42895,
198
] | 2.187761 | 2,631 |
from typing import List, Dict
import torch
from pymarlin.core import trainer_backend, module_interface, trainer
from torch.utils.data import DataLoader
# too long import
from pymarlin.utils.stats import global_stats
from pymarlin.utils.config_parser.custom_arg_parser import CustomArgParser
from pymarlin.utils.distributed import rank_zero_only
from pymarlin.utils.logger import getlogger
from pymarlin.plugins import PluginModuleInterface
from transformers import AutoModelForSeq2SeqLM
from torch.optim.lr_scheduler import OneCycleLR
import dataclasses
from .data_classes import HfSeq2SeqData
from .metric_utils import get_metric_func
import re
from filelock import FileLock
try:
import nltk
NLTK_AVAILABLE = True
except (ImportError, ModuleNotFoundError):
NLTK_AVAILABLE = False
if NLTK_AVAILABLE:
with FileLock(".lock") as lock:
nltk.download("punkt", quiet=True)
@dataclasses.dataclass
@dataclasses.dataclass
@dataclasses.dataclass
if __name__ == "__main__":
config = CustomArgParser(yaml_file_arg_key="config_path").parse()
print(config)
dm = HfSeq2SeqData()
dm.setup_datasets(root=config["data_path"])
tm = HfSeq2SeqModule(dm, **config["tm"], generate_kwargs=config["generate"])
TrainerBackendClass = eval("trainer_backend." + config["trainer_backend_class"])
tr = TrainerBackendClass()
tr = trainer_backend.DDPTrainerBackend(tr) if config["dist"] else tr
tmArgs = trainer.TrainerArguments(
**config["tmgr"],
stats_args=trainer.stats.StatInitArguments(**config["stat"]),
writer_args=trainer.WriterInitArguments(**config["wrt"]),
checkpointer_args=trainer.DefaultCheckpointerArguments(**config["chkp"]),
)
if config["dist"]:
tr = trainer_backend.DDPTrainerBackend(tr)
else:
tmArgs.distributed_training_args = trainer.DistributedTrainingArguments(
local_rank=config["cuda"]
)
trainer = trainer.Trainer(trainer_backend=tr, module=tm, args=tmArgs)
trainer.validate()
| [
6738,
19720,
1330,
7343,
11,
360,
713,
198,
11748,
28034,
198,
6738,
12972,
3876,
2815,
13,
7295,
1330,
21997,
62,
1891,
437,
11,
8265,
62,
39994,
11,
21997,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
6060,
17401,
198,
198,
2,
1165,
890,
1330,
198,
6738,
12972,
3876,
2815,
13,
26791,
13,
34242,
1330,
3298,
62,
34242,
198,
6738,
12972,
3876,
2815,
13,
26791,
13,
11250,
62,
48610,
13,
23144,
62,
853,
62,
48610,
1330,
8562,
28100,
46677,
198,
6738,
12972,
3876,
2815,
13,
26791,
13,
17080,
6169,
1330,
4279,
62,
22570,
62,
8807,
198,
6738,
12972,
3876,
2815,
13,
26791,
13,
6404,
1362,
1330,
651,
6404,
1362,
198,
6738,
12972,
3876,
2815,
13,
37390,
1330,
42636,
26796,
39317,
198,
6738,
6121,
364,
1330,
11160,
17633,
1890,
4653,
80,
17,
4653,
80,
31288,
198,
6738,
28034,
13,
40085,
13,
14050,
62,
1416,
704,
18173,
1330,
1881,
20418,
2375,
35972,
198,
11748,
4818,
330,
28958,
198,
6738,
764,
7890,
62,
37724,
1330,
367,
69,
4653,
80,
17,
4653,
80,
6601,
198,
6738,
764,
4164,
1173,
62,
26791,
1330,
651,
62,
4164,
1173,
62,
20786,
198,
198,
11748,
302,
198,
198,
6738,
2393,
5354,
1330,
9220,
25392,
198,
198,
28311,
25,
198,
220,
220,
220,
1330,
299,
2528,
74,
628,
220,
220,
220,
22879,
51,
42,
62,
10116,
32,
4146,
17534,
796,
6407,
198,
16341,
357,
20939,
12331,
11,
19937,
3673,
21077,
12331,
2599,
198,
220,
220,
220,
22879,
51,
42,
62,
10116,
32,
4146,
17534,
796,
10352,
198,
198,
361,
22879,
51,
42,
62,
10116,
32,
4146,
17534,
25,
198,
220,
220,
220,
351,
9220,
25392,
7,
1911,
5354,
4943,
355,
5793,
25,
198,
220,
220,
220,
220,
220,
220,
220,
299,
2528,
74,
13,
15002,
7203,
30354,
83,
1600,
5897,
28,
17821,
8,
628,
198,
31,
19608,
330,
28958,
13,
19608,
330,
31172,
628,
198,
31,
19608,
330,
28958,
13,
19608,
330,
31172,
628,
198,
31,
19608,
330,
28958,
13,
19608,
330,
31172,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
4566,
796,
8562,
28100,
46677,
7,
88,
43695,
62,
7753,
62,
853,
62,
2539,
2625,
11250,
62,
6978,
11074,
29572,
3419,
628,
220,
220,
220,
3601,
7,
11250,
8,
628,
220,
220,
220,
288,
76,
796,
367,
69,
4653,
80,
17,
4653,
80,
6601,
3419,
198,
220,
220,
220,
288,
76,
13,
40406,
62,
19608,
292,
1039,
7,
15763,
28,
11250,
14692,
7890,
62,
6978,
8973,
8,
628,
220,
220,
220,
256,
76,
796,
367,
69,
4653,
80,
17,
4653,
80,
26796,
7,
36020,
11,
12429,
11250,
14692,
17209,
33116,
7716,
62,
46265,
22046,
28,
11250,
14692,
8612,
378,
8973,
8,
628,
220,
220,
220,
31924,
7282,
437,
9487,
796,
5418,
7203,
2213,
10613,
62,
1891,
437,
526,
1343,
4566,
14692,
2213,
10613,
62,
1891,
437,
62,
4871,
8973,
8,
198,
220,
220,
220,
491,
796,
31924,
7282,
437,
9487,
3419,
628,
220,
220,
220,
491,
796,
21997,
62,
1891,
437,
13,
35,
6322,
2898,
10613,
7282,
437,
7,
2213,
8,
611,
4566,
14692,
17080,
8973,
2073,
491,
628,
220,
220,
220,
256,
76,
42035,
796,
21997,
13,
2898,
10613,
28100,
2886,
7,
198,
220,
220,
220,
220,
220,
220,
220,
12429,
11250,
14692,
17209,
2164,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
9756,
62,
22046,
28,
2213,
10613,
13,
34242,
13,
17126,
31768,
28100,
2886,
7,
1174,
11250,
14692,
14269,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
6260,
62,
22046,
28,
2213,
10613,
13,
34379,
31768,
28100,
2886,
7,
1174,
11250,
14692,
86,
17034,
8973,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2198,
29536,
62,
22046,
28,
2213,
10613,
13,
19463,
9787,
29536,
28100,
2886,
7,
1174,
11250,
14692,
354,
74,
79,
8973,
828,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
611,
4566,
14692,
17080,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
491,
796,
21997,
62,
1891,
437,
13,
35,
6322,
2898,
10613,
7282,
437,
7,
2213,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
256,
76,
42035,
13,
17080,
6169,
62,
34409,
62,
22046,
796,
21997,
13,
20344,
6169,
44357,
28100,
2886,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
62,
43027,
28,
11250,
14692,
66,
15339,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
21997,
796,
21997,
13,
2898,
10613,
7,
2213,
10613,
62,
1891,
437,
28,
2213,
11,
8265,
28,
17209,
11,
26498,
28,
17209,
42035,
8,
198,
220,
220,
220,
21997,
13,
12102,
378,
3419,
198
] | 2.677165 | 762 |
import os
import re
import sys
import platform
import subprocess
import fnmatch
import shutil
from setuptools import setup, Extension, find_packages
from setuptools.command.build_ext import build_ext
import setuptools.command.build_py
from distutils.version import LooseVersion
from ctypes.util import find_library
version = '0.5.'
vrs_sub = '0'
if os.environ.get('CI_PIPELINE_IID'):
ci_id = os.environ['CI_PIPELINE_IID']
if (isinstance(ci_id, str) and len(ci_id)>0) or isinstance(ci_id, int):
vrs_sub = ci_id
version = version + vrs_sub
source_dir= os.path.abspath('../../')
build_dir= os.path.abspath('../../build_py')
PLATFORM = get_platform()
REDISTR_LIBS = []
if PLATFORM=='Windows':
REDISTR_LIBS = [
'concrt140.dll',
'msvcp140.dll',
'msvcp140_1.dll',
'msvcp140_2.dll',
'msvcp140_codecvt_ids.dll',
'vccorlib140.dll',
'vcruntime140.dll',
'vcruntime140_1.dll']
# Get the long description from the README file
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Get requirements from requirements-dev.txt file
with open(os.path.join(here, 'requirements-dev.txt')) as f:
requirements_dev = f.read().replace('==', '>=').splitlines()
setup(
name='slideio',
version=version,
author='Stanislav Melnikov, Vadim Popov',
author_email='[email protected]',
description='Reading of medical images',
long_description=long_description,
ext_modules=[CMakeExtension(name = 'slideio', source_dir=source_dir, build_dir=build_dir)],
cmdclass=dict(build_ext=CMakeBuild),
packages=find_packages(),
project_urls={
'Documentation':'http://slideio.com',
"Source Code": "https://gitlab.com/bioslide/slideio.git"
},
keywords = 'images, pathology, tissue, medical, czi, svs, afi, scn',
package_data={},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Image Recognition',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
install_requires=['numpy'],
extras_require={},
data_files=[(
'.', [
'requirements-dev.txt'
]
)],
zip_safe=False,
) | [
11748,
28686,
198,
11748,
302,
198,
11748,
25064,
198,
11748,
3859,
198,
11748,
850,
14681,
198,
11748,
24714,
15699,
198,
11748,
4423,
346,
198,
198,
6738,
900,
37623,
10141,
1330,
9058,
11,
27995,
11,
1064,
62,
43789,
198,
6738,
900,
37623,
10141,
13,
21812,
13,
11249,
62,
2302,
1330,
1382,
62,
2302,
198,
11748,
900,
37623,
10141,
13,
21812,
13,
11249,
62,
9078,
198,
6738,
1233,
26791,
13,
9641,
1330,
6706,
577,
14815,
198,
6738,
269,
19199,
13,
22602,
1330,
1064,
62,
32016,
198,
198,
9641,
796,
705,
15,
13,
20,
2637,
198,
85,
3808,
62,
7266,
796,
705,
15,
6,
198,
198,
361,
28686,
13,
268,
2268,
13,
1136,
10786,
25690,
62,
47,
4061,
3698,
8881,
62,
40,
2389,
6,
2599,
198,
220,
220,
220,
269,
72,
62,
312,
796,
28686,
13,
268,
2268,
17816,
25690,
62,
47,
4061,
3698,
8881,
62,
40,
2389,
20520,
198,
220,
220,
220,
611,
357,
271,
39098,
7,
979,
62,
312,
11,
965,
8,
290,
18896,
7,
979,
62,
312,
8,
29,
15,
8,
393,
318,
39098,
7,
979,
62,
312,
11,
493,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
410,
3808,
62,
7266,
796,
269,
72,
62,
312,
198,
198,
9641,
796,
2196,
1343,
410,
3808,
62,
7266,
198,
198,
10459,
62,
15908,
28,
28686,
13,
6978,
13,
397,
2777,
776,
10786,
40720,
40720,
11537,
198,
11249,
62,
15908,
28,
28686,
13,
6978,
13,
397,
2777,
776,
10786,
40720,
40720,
11249,
62,
9078,
11537,
198,
198,
6489,
1404,
21389,
796,
651,
62,
24254,
3419,
198,
198,
22083,
1797,
5446,
62,
31271,
4462,
796,
17635,
198,
198,
361,
9297,
1404,
21389,
855,
6,
11209,
10354,
198,
220,
220,
220,
23848,
1797,
5446,
62,
31271,
4462,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
1102,
6098,
83,
15187,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
907,
85,
13155,
15187,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
907,
85,
13155,
15187,
62,
16,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
907,
85,
13155,
15187,
62,
17,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
907,
85,
13155,
15187,
62,
19815,
721,
36540,
62,
2340,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
85,
535,
273,
8019,
15187,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28435,
43282,
15187,
13,
12736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28435,
43282,
15187,
62,
16,
13,
12736,
20520,
628,
198,
2,
3497,
262,
890,
6764,
422,
262,
20832,
11682,
2393,
198,
1456,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198,
4480,
1280,
7,
418,
13,
6978,
13,
22179,
7,
1456,
11,
705,
15675,
11682,
13,
9132,
33809,
21004,
11639,
40477,
12,
23,
11537,
355,
277,
25,
198,
220,
220,
220,
890,
62,
11213,
796,
277,
13,
961,
3419,
198,
198,
2,
3497,
5359,
422,
5359,
12,
7959,
13,
14116,
2393,
198,
4480,
1280,
7,
418,
13,
6978,
13,
22179,
7,
1456,
11,
705,
8897,
18883,
12,
7959,
13,
14116,
6,
4008,
355,
277,
25,
198,
220,
220,
220,
5359,
62,
7959,
796,
277,
13,
961,
22446,
33491,
10786,
855,
3256,
705,
29,
11639,
737,
35312,
6615,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
11639,
6649,
485,
952,
3256,
198,
220,
220,
220,
2196,
28,
9641,
11,
198,
220,
220,
220,
1772,
11639,
32140,
3044,
615,
5616,
45451,
11,
569,
324,
320,
8099,
709,
3256,
198,
220,
220,
220,
1772,
62,
12888,
11639,
14192,
3044,
615,
13,
17694,
45451,
31,
14816,
13,
785,
3256,
198,
220,
220,
220,
6764,
11639,
36120,
286,
3315,
4263,
3256,
198,
220,
220,
220,
890,
62,
11213,
28,
6511,
62,
11213,
11,
198,
220,
220,
220,
1070,
62,
18170,
41888,
34,
12050,
11627,
3004,
7,
3672,
796,
705,
6649,
485,
952,
3256,
2723,
62,
15908,
28,
10459,
62,
15908,
11,
1382,
62,
15908,
28,
11249,
62,
15908,
8,
4357,
198,
220,
220,
220,
23991,
4871,
28,
11600,
7,
11249,
62,
2302,
28,
34,
12050,
15580,
828,
198,
220,
220,
220,
10392,
28,
19796,
62,
43789,
22784,
198,
220,
220,
220,
1628,
62,
6371,
82,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
705,
24941,
341,
10354,
6,
4023,
1378,
6649,
485,
952,
13,
785,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7416,
6127,
1298,
366,
5450,
1378,
18300,
23912,
13,
785,
14,
65,
4267,
75,
485,
14,
6649,
485,
952,
13,
18300,
1,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
26286,
796,
705,
17566,
11,
40572,
11,
10712,
11,
3315,
11,
269,
17027,
11,
264,
14259,
11,
6580,
72,
11,
629,
77,
3256,
198,
220,
220,
220,
5301,
62,
7890,
34758,
5512,
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,
5317,
1631,
7591,
1240,
7904,
5800,
14,
25104,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
34156,
7904,
7294,
40,
20010,
1079,
7904,
347,
10305,
13789,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
22060,
14,
13798,
1586,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
22060,
14,
13798,
1586,
7904,
16024,
12,
818,
18982,
873,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
22060,
14,
13798,
1586,
7904,
7412,
31517,
653,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
22060,
14,
13798,
1586,
7904,
8366,
5800,
27710,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
20,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
21,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
22,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
23,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
24,
3256,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
2721,
62,
47911,
28,
17816,
77,
32152,
6,
4357,
198,
220,
220,
220,
33849,
62,
46115,
34758,
5512,
198,
220,
220,
220,
1366,
62,
16624,
41888,
7,
198,
220,
220,
220,
220,
220,
220,
220,
705,
2637,
11,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8897,
18883,
12,
7959,
13,
14116,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
1267,
4357,
198,
220,
220,
220,
19974,
62,
21230,
28,
25101,
11,
198,
8
] | 2.427448 | 1,144 |
import pandas as pd
from pathlib import Path
import sys
def get_trinity_samples(run_name, condition, outfile, samples_path="config/samples.tsv", units_path="config/units.tsv"):
"""
"""
samples = (
pd.read_csv(samples_path, sep="\t", dtype={"ID": str})
.set_index("ID", drop=False)
.sort_index()
)
units = (
pd.read_csv(units_path, sep="\t", dtype={"ID": str})
.set_index("ID", drop=False)
.sort_index()
)
trinity = []
subset = samples[samples.loc[:, "Condition"] == condition]
for s in subset.index:
s_dict = {}
s_dict["Condition"] = samples.loc[s, "Condition"]
s_dict["Replicate"] = units.loc[s, "unit_name"]
s_dict["F"] = units.loc[s, "fq1"]
s_dict["R"] = units.loc[s, "fq2"]
trinity.append(s_dict)
df = pd.DataFrame(trinity)
df.to_csv(f"{outfile}", sep="\t", index=False, header=False)
return None
if __name__ == "__main__":
get_trinity_samples(sys.argv[1], sys.argv[2], sys.argv[3]) | [
11748,
19798,
292,
355,
279,
67,
198,
6738,
3108,
8019,
1330,
10644,
198,
11748,
25064,
198,
198,
4299,
651,
62,
2213,
6269,
62,
82,
12629,
7,
5143,
62,
3672,
11,
4006,
11,
503,
7753,
11,
8405,
62,
6978,
2625,
11250,
14,
82,
12629,
13,
912,
85,
1600,
4991,
62,
6978,
2625,
11250,
14,
41667,
13,
912,
85,
1,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8405,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
279,
67,
13,
961,
62,
40664,
7,
82,
12629,
62,
6978,
11,
41767,
2625,
59,
83,
1600,
288,
4906,
28,
4895,
2389,
1298,
965,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
764,
2617,
62,
9630,
7203,
2389,
1600,
4268,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
764,
30619,
62,
9630,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
198,
220,
220,
220,
4991,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
279,
67,
13,
961,
62,
40664,
7,
41667,
62,
6978,
11,
41767,
2625,
59,
83,
1600,
288,
4906,
28,
4895,
2389,
1298,
965,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
764,
2617,
62,
9630,
7203,
2389,
1600,
4268,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
764,
30619,
62,
9630,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
198,
220,
220,
220,
491,
6269,
796,
17635,
198,
220,
220,
220,
220,
198,
220,
220,
220,
24637,
796,
8405,
58,
82,
12629,
13,
17946,
58,
45299,
366,
48362,
8973,
6624,
4006,
60,
198,
220,
220,
220,
329,
264,
287,
24637,
13,
9630,
25,
198,
220,
220,
220,
220,
220,
220,
220,
264,
62,
11600,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
264,
62,
11600,
14692,
48362,
8973,
796,
8405,
13,
17946,
58,
82,
11,
366,
48362,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
264,
62,
11600,
14692,
39232,
5344,
8973,
796,
4991,
13,
17946,
58,
82,
11,
366,
20850,
62,
3672,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
264,
62,
11600,
14692,
37,
8973,
796,
4991,
13,
17946,
58,
82,
11,
366,
69,
80,
16,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
264,
62,
11600,
14692,
49,
8973,
796,
4991,
13,
17946,
58,
82,
11,
366,
69,
80,
17,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
491,
6269,
13,
33295,
7,
82,
62,
11600,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
47764,
796,
279,
67,
13,
6601,
19778,
7,
2213,
6269,
8,
198,
220,
220,
220,
47764,
13,
1462,
62,
40664,
7,
69,
1,
90,
448,
7753,
92,
1600,
41767,
2625,
59,
83,
1600,
6376,
28,
25101,
11,
13639,
28,
25101,
8,
198,
220,
220,
220,
1441,
6045,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
651,
62,
2213,
6269,
62,
82,
12629,
7,
17597,
13,
853,
85,
58,
16,
4357,
25064,
13,
853,
85,
58,
17,
4357,
25064,
13,
853,
85,
58,
18,
12962
] | 2.054054 | 518 |
#!/usr/bin/env python
# Copyright (C) 2016 Uvea I. S., Kevin Rattai
#
# Watch for channel request and assign channel based on prior or unassigned chan
#
# This software is based on an unknown license, but is available
# with no license statement from here:
# http://stackoverflow.com/questions/31775450/publish-and-subscribe-with-paho-mqtt-client
#
# All changes will be under BSD 2 clause license. Code of unknown license
# will be removed and replaced with code that will be BSD 2 clause
#
# Portions of this code is based on the noo-ebs project:
# https://github.com/krattai/noo-ebs
#
# And portions of this code is based on the AEBL project:
# https://github.com/krattai/AEBL
#
import os
import paho.mqtt.client as mqtt
# reference to MQTT python found here: http://mosquitto.org/documentation/python/
# requires: sudo pip install paho-mqtt
# pip requires: sudo apt-get install python-pip
message = 'ON'
# mqttc.publish("response/" + str(msg.payload),msg.payload);
# if 'ACK' in message:
# mqttc.publish("alive/chan","NAK");
# if 'TEST' in message:
# os.system("/home/user/scripts/test.sh")
# mqttc.publish("test/output","NAK");
# mqttcb.publish("test/output",msg.payload);
mqttc = mqtt.Client()
# Assign event callbacks
mqttc.on_message = on_message
mqttc.on_connect = on_connect
mqttc.on_publish = on_publish
mqttc.on_subscribe = on_subscribe
# Connect
mqttc.connect("ihdn.ca", 1883,60)
# mqttc.connect("2001:dead::beef:1", 1883,60)
# mosquitto_sub -h 2001:dead::beef -t "hello/+" -t "ihdn/+" -t "test/+"
# Continue the network loop
mqttc.loop_forever()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
2,
15069,
357,
34,
8,
1584,
471,
303,
64,
314,
13,
311,
1539,
7939,
50100,
1872,
198,
2,
198,
2,
6305,
329,
6518,
2581,
290,
8333,
6518,
1912,
319,
3161,
393,
555,
562,
3916,
442,
272,
198,
2,
198,
2,
770,
3788,
318,
1912,
319,
281,
6439,
5964,
11,
475,
318,
1695,
198,
2,
351,
645,
5964,
2643,
422,
994,
25,
198,
2,
2638,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
34125,
2425,
17885,
14,
12984,
1836,
12,
392,
12,
7266,
12522,
12,
4480,
12,
79,
17108,
12,
76,
80,
926,
12,
16366,
198,
2,
198,
2,
1439,
2458,
481,
307,
739,
347,
10305,
362,
13444,
5964,
13,
220,
6127,
286,
6439,
5964,
198,
2,
481,
307,
4615,
290,
6928,
351,
2438,
326,
481,
307,
347,
10305,
362,
13444,
198,
2,
198,
2,
4347,
507,
286,
428,
2438,
318,
1912,
319,
262,
645,
78,
12,
68,
1443,
1628,
25,
198,
2,
220,
220,
220,
220,
3740,
1378,
12567,
13,
785,
14,
38584,
1078,
1872,
14,
77,
2238,
12,
68,
1443,
198,
2,
198,
2,
843,
16690,
286,
428,
2438,
318,
1912,
319,
262,
25603,
9148,
1628,
25,
198,
2,
220,
220,
220,
220,
3740,
1378,
12567,
13,
785,
14,
38584,
1078,
1872,
14,
14242,
9148,
198,
2,
198,
198,
11748,
28686,
198,
11748,
279,
17108,
13,
76,
80,
926,
13,
16366,
355,
285,
80,
926,
198,
198,
2,
4941,
284,
337,
48,
15751,
21015,
1043,
994,
25,
2638,
1378,
16785,
421,
37606,
13,
2398,
14,
22897,
341,
14,
29412,
14,
198,
198,
2,
4433,
25,
220,
21061,
7347,
2721,
279,
17108,
12,
76,
80,
926,
198,
2,
7347,
4433,
25,
21061,
15409,
12,
1136,
2721,
21015,
12,
79,
541,
198,
198,
20500,
796,
705,
1340,
6,
198,
198,
2,
220,
220,
220,
285,
80,
926,
66,
13,
12984,
1836,
7203,
26209,
30487,
1343,
965,
7,
19662,
13,
15577,
2220,
828,
19662,
13,
15577,
2220,
1776,
198,
2,
220,
220,
220,
611,
705,
8120,
6,
287,
3275,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
285,
80,
926,
66,
13,
12984,
1836,
7203,
282,
425,
14,
3147,
2430,
4535,
42,
15341,
198,
2,
220,
220,
220,
611,
705,
51,
6465,
6,
287,
3275,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
7203,
14,
11195,
14,
7220,
14,
46521,
14,
9288,
13,
1477,
4943,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
285,
80,
926,
66,
13,
12984,
1836,
7203,
9288,
14,
22915,
2430,
4535,
42,
15341,
198,
2,
220,
220,
220,
285,
80,
926,
21101,
13,
12984,
1836,
7203,
9288,
14,
22915,
1600,
19662,
13,
15577,
2220,
1776,
198,
198,
76,
80,
926,
66,
796,
285,
80,
926,
13,
11792,
3419,
198,
2,
2195,
570,
1785,
869,
10146,
198,
76,
80,
926,
66,
13,
261,
62,
20500,
796,
319,
62,
20500,
198,
76,
80,
926,
66,
13,
261,
62,
8443,
796,
319,
62,
8443,
198,
76,
80,
926,
66,
13,
261,
62,
12984,
1836,
796,
319,
62,
12984,
1836,
198,
76,
80,
926,
66,
13,
261,
62,
7266,
12522,
796,
319,
62,
7266,
12522,
198,
198,
2,
8113,
198,
76,
80,
926,
66,
13,
8443,
7203,
4449,
32656,
13,
6888,
1600,
1248,
5999,
11,
1899,
8,
198,
2,
285,
80,
926,
66,
13,
8443,
7203,
14585,
25,
25124,
3712,
1350,
891,
25,
16,
1600,
1248,
5999,
11,
1899,
8,
198,
198,
2,
22263,
37606,
62,
7266,
532,
71,
5878,
25,
25124,
3712,
1350,
891,
532,
83,
366,
31373,
28404,
1,
532,
83,
366,
4449,
32656,
28404,
1,
532,
83,
366,
9288,
28404,
1,
198,
198,
2,
10054,
262,
3127,
9052,
198,
76,
80,
926,
66,
13,
26268,
62,
754,
332,
3419,
628
] | 2.592295 | 623 |
# ######################################################################################################################
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance #
# with the License. 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 dataclasses import dataclass, field
from aws_cdk.aws_lambda import IFunction
from aws_cdk.core import Aws
from aws_solutions.cdk.aws_lambda.environment_variable import EnvironmentVariable
@dataclass
class Environment:
"""
Tracks environment variables common to AWS Lambda functions deployed by this solution
"""
scope: IFunction
solution_name: EnvironmentVariable = field(init=False, repr=False)
solution_id: EnvironmentVariable = field(init=False, repr=False)
solution_version: EnvironmentVariable = field(init=False, repr=False)
log_level: EnvironmentVariable = field(init=False, repr=False)
powertools_service_name: EnvironmentVariable = field(init=False, repr=False)
| [
2,
1303,
29113,
29113,
29113,
14468,
4242,
2,
198,
2,
220,
15069,
6186,
13,
785,
11,
3457,
13,
393,
663,
29116,
13,
1439,
6923,
33876,
13,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
11074,
921,
743,
407,
779,
428,
2393,
2845,
287,
11846,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
351,
262,
13789,
13,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
220,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
9387,
739,
262,
13789,
318,
9387,
220,
220,
220,
1303,
198,
2,
220,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
4091,
262,
13789,
329,
220,
220,
1303,
198,
2,
220,
262,
2176,
3303,
15030,
21627,
290,
11247,
739,
262,
13789,
13,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
1303,
29113,
29113,
29113,
14468,
4242,
2,
198,
198,
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
11,
2214,
198,
198,
6738,
3253,
82,
62,
10210,
74,
13,
8356,
62,
50033,
1330,
16876,
4575,
198,
6738,
3253,
82,
62,
10210,
74,
13,
7295,
1330,
5851,
82,
198,
198,
6738,
3253,
82,
62,
82,
14191,
13,
10210,
74,
13,
8356,
62,
50033,
13,
38986,
62,
45286,
1330,
9344,
43015,
628,
198,
31,
19608,
330,
31172,
198,
4871,
9344,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
42259,
2858,
9633,
2219,
284,
30865,
21114,
6814,
5499,
12380,
416,
428,
4610,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
8354,
25,
16876,
4575,
198,
220,
220,
220,
4610,
62,
3672,
25,
9344,
43015,
796,
2214,
7,
15003,
28,
25101,
11,
41575,
28,
25101,
8,
198,
220,
220,
220,
4610,
62,
312,
25,
9344,
43015,
796,
2214,
7,
15003,
28,
25101,
11,
41575,
28,
25101,
8,
198,
220,
220,
220,
4610,
62,
9641,
25,
9344,
43015,
796,
2214,
7,
15003,
28,
25101,
11,
41575,
28,
25101,
8,
198,
220,
220,
220,
2604,
62,
5715,
25,
9344,
43015,
796,
2214,
7,
15003,
28,
25101,
11,
41575,
28,
25101,
8,
198,
220,
220,
220,
1176,
31391,
62,
15271,
62,
3672,
25,
9344,
43015,
796,
2214,
7,
15003,
28,
25101,
11,
41575,
28,
25101,
8,
198
] | 2.223361 | 976 |
# I would like to be able to pass an array with two elements to my swapValues function
# to swap the values. However it appears that the values aren't changing.
# Can you figure out what's wrong here?
| [
2,
314,
561,
588,
284,
307,
1498,
284,
1208,
281,
7177,
351,
734,
4847,
284,
616,
16075,
40161,
2163,
198,
2,
220,
284,
16075,
262,
3815,
13,
2102,
340,
3568,
326,
262,
3815,
3588,
470,
5609,
13,
198,
2,
1680,
345,
3785,
503,
644,
338,
2642,
994,
30,
628,
198
] | 4.08 | 50 |
#!/usr/bin/python
# *****************************************************************************
#
# Copyright (c) 2016, EPAM SYSTEMS INC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ******************************************************************************
import json
from dlab.fab import *
from dlab.meta_lib import *
import sys, time, os
from dlab.actions_lib import *
if __name__ == "__main__":
local_log_filename = "{}_{}_{}.log".format(os.environ['conf_resource'], os.environ['edge_user_name'],
os.environ['request_id'])
local_log_filepath = "/logs/edge/" + local_log_filename
logging.basicConfig(format='%(levelname)-8s [%(asctime)s] %(message)s',
level=logging.DEBUG,
filename=local_log_filepath)
try:
print('Generating infrastructure names and tags')
edge_conf = dict()
edge_conf['service_base_name'] = os.environ['conf_service_base_name']
edge_conf['resource_group_name'] = os.environ['azure_resource_group_name']
edge_conf['key_name'] = os.environ['conf_key_name']
edge_conf['vpc_name'] = os.environ['azure_vpc_name']
edge_conf['region'] = os.environ['azure_region']
edge_conf['subnet_name'] = os.environ['azure_subnet_name']
edge_conf['user_name'] = os.environ['edge_user_name'].replace('_', '-')
edge_conf['user_keyname'] = os.environ['edge_user_name']
edge_conf['private_subnet_name'] = edge_conf['service_base_name'] + '-' + edge_conf['user_name'] + '-subnet'
edge_conf['instance_name'] = edge_conf['service_base_name'] + "-" + edge_conf['user_name'] + '-edge'
edge_conf['network_interface_name'] = edge_conf['service_base_name'] + "-" + edge_conf['user_name'] + '-edge-nif'
edge_conf['static_public_ip_name'] = edge_conf['service_base_name'] + "-" + edge_conf['user_name'] + '-edge-ip'
edge_conf['primary_disk_name'] = edge_conf['instance_name'] + '-disk0'
edge_conf['instance_dns_name'] = 'host-' + edge_conf['instance_name'] + '.' + edge_conf['region'] + '.cloudapp.azure.com'
edge_conf['user_storage_account_name'] = edge_conf['service_base_name'] + '-' + edge_conf[
'user_name'] + '-storage'
edge_conf['user_container_name'] = (edge_conf['service_base_name'] + '-' + edge_conf['user_name'] + '-container').lower()
edge_conf['shared_storage_account_name'] = edge_conf['service_base_name'] + '-shared-storage'
edge_conf['shared_container_name'] = (edge_conf['service_base_name'] + '-shared-container').lower()
edge_conf['datalake_store_name'] = edge_conf['service_base_name'] + '-ssn-datalake'
edge_conf['datalake_shared_directory_name'] = edge_conf['service_base_name'] + '-shared-folder'
edge_conf['datalake_user_directory_name'] = '{0}-{1}-folder'.format(edge_conf['service_base_name'], edge_conf['user_name'])
edge_conf['edge_security_group_name'] = edge_conf['instance_name'] + '-sg'
edge_conf['notebook_security_group_name'] = edge_conf['service_base_name'] + "-" + edge_conf['user_name'] + \
'-nb-sg'
edge_conf['master_security_group_name'] = edge_conf['service_base_name'] + '-' \
+ edge_conf['user_name'] + '-dataengine-master-sg'
edge_conf['slave_security_group_name'] = edge_conf['service_base_name'] + '-' \
+ edge_conf['user_name'] + '-dataengine-slave-sg'
edge_conf['dlab_ssh_user'] = os.environ['conf_os_user']
keyfile_name = "{}{}.pem".format(os.environ['conf_key_dir'], edge_conf['key_name'])
edge_conf['private_subnet_cidr'] = AzureMeta().get_subnet(edge_conf['resource_group_name'], edge_conf['vpc_name'],
edge_conf['private_subnet_name']).address_prefix
edge_conf['edge_public_ip'] = AzureMeta().get_instance_public_ip_address(edge_conf['resource_group_name'],
edge_conf['instance_name'])
edge_conf['edge_private_ip'] = AzureMeta().get_private_ip_address(edge_conf['resource_group_name'],
edge_conf['instance_name'])
instance_hostname = AzureMeta().get_private_ip_address(edge_conf['resource_group_name'],
edge_conf['instance_name'])
except Exception as err:
append_result("Failed to generate infrastructure names", str(err))
AzureActions().remove_instance(edge_conf['resource_group_name'], edge_conf['instance_name'])
AzureActions().remove_subnet(edge_conf['resource_group_name'], edge_conf['vpc_name'],
edge_conf['private_subnet_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['edge_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['notebook_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['master_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['slave_security_group_name'])
for storage_account in AzureMeta().list_storage_accounts(edge_conf['resource_group_name']):
if edge_conf['user_storage_account_name'] == storage_account.tags["Name"]:
AzureActions().remove_storage_account(edge_conf['resource_group_name'], storage_account.name)
if os.environ['azure_datalake_enable'] == 'true':
for datalake in AzureMeta().list_datalakes(edge_conf['resource_group_name']):
if edge_conf['datalake_store_name'] == datalake.tags["Name"]:
AzureActions().remove_datalake_directory(datalake.name, edge_conf['datalake_user_directory_name'])
sys.exit(1)
try:
if os.environ['conf_os_family'] == 'debian':
initial_user = 'ubuntu'
sudo_group = 'sudo'
if os.environ['conf_os_family'] == 'redhat':
initial_user = 'ec2-user'
sudo_group = 'wheel'
logging.info('[CREATING DLAB SSH USER]')
print('[CREATING DLAB SSH USER]')
params = "--hostname {} --keyfile {} --initial_user {} --os_user {} --sudo_group {}".format\
(instance_hostname, os.environ['conf_key_dir'] + os.environ['conf_key_name'] + ".pem", initial_user,
edge_conf['dlab_ssh_user'], sudo_group)
try:
local("~/scripts/{}.py {}".format('create_ssh_user', params))
except:
traceback.print_exc()
raise Exception
except Exception as err:
append_result("Failed creating ssh user 'dlab'.", str(err))
AzureActions().remove_instance(edge_conf['resource_group_name'], edge_conf['instance_name'])
AzureActions().remove_subnet(edge_conf['resource_group_name'], edge_conf['vpc_name'],
edge_conf['private_subnet_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['edge_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['notebook_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['master_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['slave_security_group_name'])
for storage_account in AzureMeta().list_storage_accounts(edge_conf['resource_group_name']):
if edge_conf['user_storage_account_name'] == storage_account.tags["Name"]:
AzureActions().remove_storage_account(edge_conf['resource_group_name'], storage_account.name)
if os.environ['azure_datalake_enable'] == 'true':
for datalake in AzureMeta().list_datalakes(edge_conf['resource_group_name']):
if edge_conf['datalake_store_name'] == datalake.tags["Name"]:
AzureActions().remove_datalake_directory(datalake.name, edge_conf['datalake_user_directory_name'])
sys.exit(1)
try:
print('[INSTALLING PREREQUISITES]')
logging.info('[INSTALLING PREREQUISITES]')
params = "--hostname {} --keyfile {} --user {} --region {}".\
format(instance_hostname, keyfile_name, edge_conf['dlab_ssh_user'], os.environ['azure_region'])
try:
local("~/scripts/{}.py {}".format('install_prerequisites', params))
except:
traceback.print_exc()
raise Exception
except Exception as err:
append_result("Failed installing apps: apt & pip.", str(err))
AzureActions().remove_instance(edge_conf['resource_group_name'], edge_conf['instance_name'])
AzureActions().remove_subnet(edge_conf['resource_group_name'], edge_conf['vpc_name'],
edge_conf['private_subnet_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['edge_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['notebook_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['master_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['slave_security_group_name'])
for storage_account in AzureMeta().list_storage_accounts(edge_conf['resource_group_name']):
if edge_conf['user_storage_account_name'] == storage_account.tags["Name"]:
AzureActions().remove_storage_account(edge_conf['resource_group_name'], storage_account.name)
if os.environ['azure_datalake_enable'] == 'true':
for datalake in AzureMeta().list_datalakes(edge_conf['resource_group_name']):
if edge_conf['datalake_store_name'] == datalake.tags["Name"]:
AzureActions().remove_datalake_directory(datalake.name, edge_conf['datalake_user_directory_name'])
sys.exit(1)
try:
print('[INSTALLING HTTP PROXY]')
logging.info('[INSTALLING HTTP PROXY]')
additional_config = {"exploratory_subnet": edge_conf['private_subnet_cidr'],
"template_file": "/root/templates/squid.conf"}
params = "--hostname {} --keyfile {} --additional_config '{}' --user {}" \
.format(instance_hostname, keyfile_name, json.dumps(additional_config), edge_conf['dlab_ssh_user'])
try:
local("~/scripts/{}.py {}".format('configure_http_proxy', params))
except:
traceback.print_exc()
raise Exception
except Exception as err:
append_result("Failed installing http proxy.", str(err))
AzureActions().remove_instance(edge_conf['resource_group_name'], edge_conf['instance_name'])
AzureActions().remove_subnet(edge_conf['resource_group_name'], edge_conf['vpc_name'],
edge_conf['private_subnet_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['edge_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['notebook_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['master_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['slave_security_group_name'])
for storage_account in AzureMeta().list_storage_accounts(edge_conf['resource_group_name']):
if edge_conf['user_storage_account_name'] == storage_account.tags["Name"]:
AzureActions().remove_storage_account(edge_conf['resource_group_name'], storage_account.name)
if os.environ['azure_datalake_enable'] == 'true':
for datalake in AzureMeta().list_datalakes(edge_conf['resource_group_name']):
if edge_conf['datalake_store_name'] == datalake.tags["Name"]:
AzureActions().remove_datalake_directory(datalake.name, edge_conf['datalake_user_directory_name'])
sys.exit(1)
try:
print('[INSTALLING USERs KEY]')
logging.info('[INSTALLING USERs KEY]')
additional_config = {"user_keyname": edge_conf['user_keyname'],
"user_keydir": os.environ['conf_key_dir']}
params = "--hostname {} --keyfile {} --additional_config '{}' --user {}".format(
instance_hostname, keyfile_name, json.dumps(additional_config), edge_conf['dlab_ssh_user'])
try:
local("~/scripts/{}.py {}".format('install_user_key', params))
except:
traceback.print_exc()
raise Exception
except Exception as err:
append_result("Failed installing users key. Excpeption: " + str(err))
AzureActions().remove_instance(edge_conf['resource_group_name'], edge_conf['instance_name'])
AzureActions().remove_subnet(edge_conf['resource_group_name'], edge_conf['vpc_name'],
edge_conf['private_subnet_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['edge_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'], edge_conf['notebook_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['master_security_group_name'])
AzureActions().remove_security_group(edge_conf['resource_group_name'],
edge_conf['slave_security_group_name'])
for storage_account in AzureMeta().list_storage_accounts(edge_conf['resource_group_name']):
if edge_conf['user_storage_account_name'] == storage_account.tags["Name"]:
AzureActions().remove_storage_account(edge_conf['resource_group_name'], storage_account.name)
if os.environ['azure_datalake_enable'] == 'true':
for datalake in AzureMeta().list_datalakes(edge_conf['resource_group_name']):
if edge_conf['datalake_store_name'] == datalake.tags["Name"]:
AzureActions().remove_datalake_directory(datalake.name, edge_conf['datalake_user_directory_name'])
sys.exit(1)
try:
for storage_account in AzureMeta().list_storage_accounts(edge_conf['resource_group_name']):
if edge_conf['shared_storage_account_name'] == storage_account.tags["Name"]:
shared_storage_account_name = storage_account.name
if edge_conf['user_storage_account_name'] == storage_account.tags["Name"]:
user_storage_account_name = storage_account.name
print('[SUMMARY]')
logging.info('[SUMMARY]')
print("Instance name: {}".format(edge_conf['instance_name']))
print("Hostname: {}".format(edge_conf['instance_dns_name']))
print("Public IP: {}".format(edge_conf['edge_public_ip']))
print("Private IP: {}".format(edge_conf['edge_private_ip']))
print("Key name: {}".format(edge_conf['key_name']))
print("User storage account name: {}".format(user_storage_account_name))
print("User container name: {}".format(edge_conf['user_container_name']))
if os.environ['azure_datalake_enable'] == 'true':
for datalake in AzureMeta().list_datalakes(edge_conf['resource_group_name']):
if edge_conf['datalake_store_name'] == datalake.tags["Name"]:
datalake_id = datalake.name
print("Data Lake name: {}".format(datalake_id))
print("Data Lake tag name: {}".format(edge_conf['datalake_store_name']))
print("Data Lake Store user directory name: {}".format(edge_conf['datalake_user_directory_name']))
print("Notebook SG: {}".format(edge_conf['notebook_security_group_name']))
print("Edge SG: {}".format(edge_conf['edge_security_group_name']))
print("Notebook subnet: {}".format(edge_conf['private_subnet_cidr']))
with open("/root/result.json", 'w') as result:
if os.environ['azure_datalake_enable'] == 'false':
res = {"hostname": edge_conf['instance_dns_name'],
"public_ip": edge_conf['edge_public_ip'],
"ip": edge_conf['edge_private_ip'],
"key_name": edge_conf['key_name'],
"user_storage_account_name": user_storage_account_name,
"user_container_name": edge_conf['user_container_name'],
"shared_storage_account_name": shared_storage_account_name,
"shared_container_name": edge_conf['shared_container_name'],
"user_storage_account_tag_name": edge_conf['user_storage_account_name'],
"tunnel_port": "22",
"socks_port": "1080",
"notebook_sg": edge_conf['notebook_security_group_name'],
"edge_sg": edge_conf['edge_security_group_name'],
"notebook_subnet": edge_conf['private_subnet_cidr'],
"instance_id": edge_conf['instance_name'],
"full_edge_conf": edge_conf,
"Action": "Create new EDGE server"}
else:
res = {"hostname": edge_conf['instance_dns_name'],
"public_ip": edge_conf['edge_public_ip'],
"ip": edge_conf['edge_private_ip'],
"key_name": edge_conf['key_name'],
"user_storage_account_name": user_storage_account_name,
"user_container_name": edge_conf['user_container_name'],
"shared_storage_account_name": shared_storage_account_name,
"shared_container_name": edge_conf['shared_container_name'],
"user_storage_account_tag_name": edge_conf['user_storage_account_name'],
"datalake_name": datalake_id,
"datalake_tag_name": edge_conf['datalake_store_name'],
"datalake_shared_directory_name": edge_conf['datalake_shared_directory_name'],
"datalake_user_directory_name": edge_conf['datalake_user_directory_name'],
"tunnel_port": "22",
"socks_port": "1080",
"notebook_sg": edge_conf['notebook_security_group_name'],
"edge_sg": edge_conf['edge_security_group_name'],
"notebook_subnet": edge_conf['private_subnet_cidr'],
"instance_id": edge_conf['instance_name'],
"full_edge_conf": edge_conf,
"Action": "Create new EDGE server"}
print(json.dumps(res))
result.write(json.dumps(res))
except:
print("Failed writing results.")
sys.exit(0)
sys.exit(0)
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
198,
2,
41906,
17174,
4557,
35625,
198,
2,
198,
2,
15069,
357,
66,
8,
1584,
11,
14724,
2390,
36230,
50,
19387,
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,
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,
198,
2,
41906,
17174,
46068,
1174,
198,
198,
11748,
33918,
198,
6738,
288,
23912,
13,
36434,
1330,
1635,
198,
6738,
288,
23912,
13,
28961,
62,
8019,
1330,
1635,
198,
11748,
25064,
11,
640,
11,
28686,
198,
6738,
288,
23912,
13,
4658,
62,
8019,
1330,
1635,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1957,
62,
6404,
62,
34345,
796,
45144,
92,
23330,
92,
23330,
27422,
6404,
1911,
18982,
7,
418,
13,
268,
2268,
17816,
10414,
62,
31092,
6,
4357,
28686,
13,
268,
2268,
17816,
14907,
62,
7220,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
268,
2268,
17816,
25927,
62,
312,
6,
12962,
198,
220,
220,
220,
1957,
62,
6404,
62,
7753,
6978,
796,
12813,
6404,
82,
14,
14907,
30487,
1343,
1957,
62,
6404,
62,
34345,
198,
220,
220,
220,
18931,
13,
35487,
16934,
7,
18982,
11639,
4,
7,
5715,
3672,
13219,
23,
82,
685,
4,
7,
292,
310,
524,
8,
82,
60,
220,
4064,
7,
20500,
8,
82,
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,
1241,
28,
6404,
2667,
13,
30531,
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,
29472,
28,
12001,
62,
6404,
62,
7753,
6978,
8,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
8645,
803,
6884,
3891,
290,
15940,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
796,
8633,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
796,
28686,
13,
268,
2268,
17816,
10414,
62,
15271,
62,
8692,
62,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
796,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
31092,
62,
8094,
62,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
2539,
62,
3672,
20520,
796,
28686,
13,
268,
2268,
17816,
10414,
62,
2539,
62,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
20520,
796,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
85,
14751,
62,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36996,
20520,
796,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
36996,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
7266,
3262,
62,
3672,
20520,
796,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
7266,
3262,
62,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
796,
28686,
13,
268,
2268,
17816,
14907,
62,
7220,
62,
3672,
6,
4083,
33491,
10786,
62,
3256,
705,
12,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
7220,
62,
365,
2047,
480,
20520,
796,
28686,
13,
268,
2268,
17816,
14907,
62,
7220,
62,
3672,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
19355,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
7266,
3262,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
39098,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
366,
21215,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
14907,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
27349,
62,
39994,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
366,
21215,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
14907,
12,
77,
361,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
12708,
62,
11377,
62,
541,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
366,
21215,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
14907,
12,
541,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
39754,
62,
39531,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
39098,
62,
3672,
20520,
1343,
705,
12,
39531,
15,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
39098,
62,
67,
5907,
62,
3672,
20520,
796,
705,
4774,
19355,
1343,
5743,
62,
10414,
17816,
39098,
62,
3672,
20520,
1343,
705,
2637,
1343,
5743,
62,
10414,
17816,
36996,
20520,
1343,
45302,
17721,
1324,
13,
1031,
495,
13,
785,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
19355,
1343,
5743,
62,
10414,
58,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7220,
62,
3672,
20520,
1343,
705,
12,
35350,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
7220,
62,
34924,
62,
3672,
20520,
796,
357,
14907,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
19355,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
34924,
27691,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
28710,
62,
35350,
62,
23317,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
12,
28710,
12,
35350,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
28710,
62,
34924,
62,
3672,
20520,
796,
357,
14907,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
12,
28710,
12,
34924,
27691,
21037,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
12,
824,
77,
12,
67,
10254,
539,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
28710,
62,
34945,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
12,
28710,
12,
43551,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
20520,
796,
705,
90,
15,
92,
12,
90,
16,
92,
12,
43551,
4458,
18982,
7,
14907,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
7220,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
39098,
62,
3672,
20520,
1343,
705,
12,
45213,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
366,
21215,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12,
46803,
12,
45213,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
9866,
62,
12961,
62,
8094,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
19355,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
7890,
18392,
12,
9866,
12,
45213,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36341,
62,
12961,
62,
8094,
62,
3672,
20520,
796,
5743,
62,
10414,
17816,
15271,
62,
8692,
62,
3672,
20520,
1343,
705,
19355,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
5743,
62,
10414,
17816,
7220,
62,
3672,
20520,
1343,
705,
12,
7890,
18392,
12,
36341,
12,
45213,
6,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
67,
23912,
62,
45824,
62,
7220,
20520,
796,
28686,
13,
268,
2268,
17816,
10414,
62,
418,
62,
7220,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
1994,
7753,
62,
3672,
796,
45144,
18477,
27422,
79,
368,
1911,
18982,
7,
418,
13,
268,
2268,
17816,
10414,
62,
2539,
62,
15908,
6,
4357,
5743,
62,
10414,
17816,
2539,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
66,
312,
81,
20520,
796,
22134,
48526,
22446,
1136,
62,
7266,
3262,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
20520,
737,
21975,
62,
40290,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
14907,
62,
11377,
62,
541,
20520,
796,
22134,
48526,
22446,
1136,
62,
39098,
62,
11377,
62,
541,
62,
21975,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
14907,
62,
19734,
62,
541,
20520,
796,
22134,
48526,
22446,
1136,
62,
19734,
62,
541,
62,
21975,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
4554,
62,
4774,
3672,
796,
22134,
48526,
22446,
1136,
62,
19734,
62,
541,
62,
21975,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
2845,
35528,
355,
11454,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
20274,
7203,
37,
6255,
284,
7716,
6884,
3891,
1600,
965,
7,
8056,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
39098,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
7266,
3262,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
6,
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,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
9866,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36341,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6143,
62,
23317,
287,
22134,
48526,
22446,
4868,
62,
35350,
62,
23317,
82,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
35350,
62,
23317,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
6143,
62,
23317,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
282,
539,
287,
22134,
48526,
22446,
4868,
62,
67,
10254,
1124,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
6624,
4818,
282,
539,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
67,
10254,
539,
62,
34945,
7,
67,
10254,
539,
13,
3672,
11,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
10414,
62,
418,
62,
17989,
20520,
6624,
705,
24689,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
7220,
796,
705,
32230,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21061,
62,
8094,
796,
705,
24032,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
10414,
62,
418,
62,
17989,
20520,
6624,
705,
445,
5183,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
62,
7220,
796,
705,
721,
17,
12,
7220,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21061,
62,
8094,
796,
705,
22001,
6,
628,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
58,
43387,
33881,
23641,
6242,
33825,
1294,
1137,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
58,
43387,
33881,
23641,
6242,
33825,
1294,
1137,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
366,
438,
4774,
3672,
23884,
1377,
2539,
7753,
23884,
1377,
36733,
62,
7220,
23884,
1377,
418,
62,
7220,
23884,
1377,
24032,
62,
8094,
23884,
1911,
18982,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
39098,
62,
4774,
3672,
11,
28686,
13,
268,
2268,
17816,
10414,
62,
2539,
62,
15908,
20520,
1343,
28686,
13,
268,
2268,
17816,
10414,
62,
2539,
62,
3672,
20520,
1343,
27071,
79,
368,
1600,
4238,
62,
7220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
67,
23912,
62,
45824,
62,
7220,
6,
4357,
21061,
62,
8094,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
7203,
93,
14,
46521,
14,
90,
27422,
9078,
23884,
1911,
18982,
10786,
17953,
62,
45824,
62,
7220,
3256,
42287,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
1891,
13,
4798,
62,
41194,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
198,
220,
220,
220,
2845,
35528,
355,
11454,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
20274,
7203,
37,
6255,
4441,
26678,
2836,
705,
67,
23912,
30827,
11,
965,
7,
8056,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
39098,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
7266,
3262,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
6,
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,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
9866,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36341,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6143,
62,
23317,
287,
22134,
48526,
22446,
4868,
62,
35350,
62,
23317,
82,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
35350,
62,
23317,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
6143,
62,
23317,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
282,
539,
287,
22134,
48526,
22446,
4868,
62,
67,
10254,
1124,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
6624,
4818,
282,
539,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
67,
10254,
539,
62,
34945,
7,
67,
10254,
539,
13,
3672,
11,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
58,
38604,
7036,
2751,
4810,
9338,
10917,
1797,
2043,
1546,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
58,
38604,
7036,
2751,
4810,
9338,
10917,
1797,
2043,
1546,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
366,
438,
4774,
3672,
23884,
1377,
2539,
7753,
23884,
1377,
7220,
23884,
1377,
36996,
23884,
1911,
59,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5794,
7,
39098,
62,
4774,
3672,
11,
1994,
7753,
62,
3672,
11,
5743,
62,
10414,
17816,
67,
23912,
62,
45824,
62,
7220,
6,
4357,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
36996,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
7203,
93,
14,
46521,
14,
90,
27422,
9078,
23884,
1911,
18982,
10786,
17350,
62,
3866,
34075,
3256,
42287,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
1891,
13,
4798,
62,
41194,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
198,
220,
220,
220,
2845,
35528,
355,
11454,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
20274,
7203,
37,
6255,
15975,
6725,
25,
15409,
1222,
7347,
33283,
965,
7,
8056,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
39098,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
7266,
3262,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
6,
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,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
9866,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36341,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6143,
62,
23317,
287,
22134,
48526,
22446,
4868,
62,
35350,
62,
23317,
82,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
35350,
62,
23317,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
6143,
62,
23317,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
282,
539,
287,
22134,
48526,
22446,
4868,
62,
67,
10254,
1124,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
6624,
4818,
282,
539,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
67,
10254,
539,
62,
34945,
7,
67,
10254,
539,
13,
3672,
11,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
58,
38604,
7036,
2751,
14626,
21965,
34278,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
58,
38604,
7036,
2751,
14626,
21965,
34278,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
11250,
796,
19779,
20676,
273,
2870,
62,
7266,
3262,
1298,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
66,
312,
81,
6,
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,
366,
28243,
62,
7753,
1298,
12813,
15763,
14,
11498,
17041,
14,
16485,
312,
13,
10414,
20662,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
366,
438,
4774,
3672,
23884,
1377,
2539,
7753,
23884,
1377,
2860,
1859,
62,
11250,
705,
90,
92,
6,
1377,
7220,
23884,
1,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
39098,
62,
4774,
3672,
11,
1994,
7753,
62,
3672,
11,
33918,
13,
67,
8142,
7,
2860,
1859,
62,
11250,
828,
5743,
62,
10414,
17816,
67,
23912,
62,
45824,
62,
7220,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
7203,
93,
14,
46521,
14,
90,
27422,
9078,
23884,
1911,
18982,
10786,
11250,
495,
62,
4023,
62,
36436,
3256,
42287,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
1891,
13,
4798,
62,
41194,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
198,
220,
220,
220,
2845,
35528,
355,
11454,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
20274,
7203,
37,
6255,
15975,
2638,
15741,
33283,
965,
7,
8056,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
39098,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
7266,
3262,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
6,
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,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
9866,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36341,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6143,
62,
23317,
287,
22134,
48526,
22446,
4868,
62,
35350,
62,
23317,
82,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
35350,
62,
23317,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
6143,
62,
23317,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
282,
539,
287,
22134,
48526,
22446,
4868,
62,
67,
10254,
1124,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
6624,
4818,
282,
539,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
67,
10254,
539,
62,
34945,
7,
67,
10254,
539,
13,
3672,
11,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
58,
38604,
7036,
2751,
1294,
1137,
82,
35374,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
58,
38604,
7036,
2751,
1294,
1137,
82,
35374,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
11250,
796,
19779,
7220,
62,
365,
2047,
480,
1298,
5743,
62,
10414,
17816,
7220,
62,
365,
2047,
480,
6,
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,
366,
7220,
62,
2539,
15908,
1298,
28686,
13,
268,
2268,
17816,
10414,
62,
2539,
62,
15908,
20520,
92,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
366,
438,
4774,
3672,
23884,
1377,
2539,
7753,
23884,
1377,
2860,
1859,
62,
11250,
705,
90,
92,
6,
1377,
7220,
23884,
1911,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4554,
62,
4774,
3672,
11,
1994,
7753,
62,
3672,
11,
33918,
13,
67,
8142,
7,
2860,
1859,
62,
11250,
828,
5743,
62,
10414,
17816,
67,
23912,
62,
45824,
62,
7220,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
7203,
93,
14,
46521,
14,
90,
27422,
9078,
23884,
1911,
18982,
10786,
17350,
62,
7220,
62,
2539,
3256,
42287,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
1891,
13,
4798,
62,
41194,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
198,
220,
220,
220,
2845,
35528,
355,
11454,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24443,
62,
20274,
7203,
37,
6255,
15975,
2985,
1994,
13,
25268,
431,
1159,
25,
366,
1343,
965,
7,
8056,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
39098,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
7266,
3262,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
85,
14751,
62,
3672,
6,
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,
220,
220,
220,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
9866,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
12961,
62,
8094,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5743,
62,
10414,
17816,
36341,
62,
12961,
62,
8094,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6143,
62,
23317,
287,
22134,
48526,
22446,
4868,
62,
35350,
62,
23317,
82,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
35350,
62,
23317,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
6,
4357,
6143,
62,
23317,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
282,
539,
287,
22134,
48526,
22446,
4868,
62,
67,
10254,
1124,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
6624,
4818,
282,
539,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22134,
32,
2733,
22446,
28956,
62,
67,
10254,
539,
62,
34945,
7,
67,
10254,
539,
13,
3672,
11,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6143,
62,
23317,
287,
22134,
48526,
22446,
4868,
62,
35350,
62,
23317,
82,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
28710,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4888,
62,
35350,
62,
23317,
62,
3672,
796,
6143,
62,
23317,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
20520,
6624,
6143,
62,
23317,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
62,
35350,
62,
23317,
62,
3672,
796,
6143,
62,
23317,
13,
3672,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
58,
50,
5883,
44,
13153,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
58,
50,
5883,
44,
13153,
60,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
33384,
1438,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
39098,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
17932,
3672,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
39098,
62,
67,
5907,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
15202,
6101,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
14907,
62,
11377,
62,
541,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
29067,
6101,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
14907,
62,
19734,
62,
541,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
9218,
1438,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
2539,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
12982,
6143,
1848,
1438,
25,
23884,
1911,
18982,
7,
7220,
62,
35350,
62,
23317,
62,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
12982,
9290,
1438,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
7220,
62,
34924,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4818,
282,
539,
287,
22134,
48526,
22446,
4868,
62,
67,
10254,
1124,
7,
14907,
62,
10414,
17816,
31092,
62,
8094,
62,
3672,
20520,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
6624,
4818,
282,
539,
13,
31499,
14692,
5376,
1,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4818,
282,
539,
62,
312,
796,
4818,
282,
539,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
6601,
6233,
1438,
25,
23884,
1911,
18982,
7,
67,
10254,
539,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
6601,
6233,
7621,
1438,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
6601,
6233,
9363,
2836,
8619,
1438,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
6425,
2070,
26147,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
37021,
26147,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
6425,
2070,
850,
3262,
25,
23884,
1911,
18982,
7,
14907,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
66,
312,
81,
20520,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7203,
14,
15763,
14,
20274,
13,
17752,
1600,
705,
86,
11537,
355,
1255,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
268,
2268,
17816,
1031,
495,
62,
67,
10254,
539,
62,
21633,
20520,
6624,
705,
9562,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
796,
19779,
4774,
3672,
1298,
5743,
62,
10414,
17816,
39098,
62,
67,
5907,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11377,
62,
541,
1298,
5743,
62,
10414,
17816,
14907,
62,
11377,
62,
541,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
541,
1298,
5743,
62,
10414,
17816,
14907,
62,
19734,
62,
541,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2539,
62,
3672,
1298,
5743,
62,
10414,
17816,
2539,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
35350,
62,
23317,
62,
3672,
1298,
2836,
62,
35350,
62,
23317,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
34924,
62,
3672,
1298,
5743,
62,
10414,
17816,
7220,
62,
34924,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28710,
62,
35350,
62,
23317,
62,
3672,
1298,
4888,
62,
35350,
62,
23317,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28710,
62,
34924,
62,
3672,
1298,
5743,
62,
10414,
17816,
28710,
62,
34924,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
35350,
62,
23317,
62,
12985,
62,
3672,
1298,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28286,
4954,
62,
634,
1298,
366,
1828,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
82,
3320,
62,
634,
1298,
366,
24045,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11295,
2070,
62,
45213,
1298,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
14907,
62,
45213,
1298,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11295,
2070,
62,
7266,
3262,
1298,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
66,
312,
81,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
39098,
62,
312,
1298,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12853,
62,
14907,
62,
10414,
1298,
5743,
62,
10414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12502,
1298,
366,
16447,
649,
8392,
8264,
4382,
20662,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
796,
19779,
4774,
3672,
1298,
5743,
62,
10414,
17816,
39098,
62,
67,
5907,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11377,
62,
541,
1298,
5743,
62,
10414,
17816,
14907,
62,
11377,
62,
541,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
541,
1298,
5743,
62,
10414,
17816,
14907,
62,
19734,
62,
541,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2539,
62,
3672,
1298,
5743,
62,
10414,
17816,
2539,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
35350,
62,
23317,
62,
3672,
1298,
2836,
62,
35350,
62,
23317,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
34924,
62,
3672,
1298,
5743,
62,
10414,
17816,
7220,
62,
34924,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28710,
62,
35350,
62,
23317,
62,
3672,
1298,
4888,
62,
35350,
62,
23317,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28710,
62,
34924,
62,
3672,
1298,
5743,
62,
10414,
17816,
28710,
62,
34924,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
62,
35350,
62,
23317,
62,
12985,
62,
3672,
1298,
5743,
62,
10414,
17816,
7220,
62,
35350,
62,
23317,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
67,
10254,
539,
62,
3672,
1298,
4818,
282,
539,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
67,
10254,
539,
62,
12985,
62,
3672,
1298,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
8095,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
67,
10254,
539,
62,
28710,
62,
34945,
62,
3672,
1298,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
28710,
62,
34945,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
1298,
5743,
62,
10414,
17816,
67,
10254,
539,
62,
7220,
62,
34945,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
28286,
4954,
62,
634,
1298,
366,
1828,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
82,
3320,
62,
634,
1298,
366,
24045,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11295,
2070,
62,
45213,
1298,
5743,
62,
10414,
17816,
11295,
2070,
62,
12961,
62,
8094,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
14907,
62,
45213,
1298,
5743,
62,
10414,
17816,
14907,
62,
12961,
62,
8094,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11295,
2070,
62,
7266,
3262,
1298,
5743,
62,
10414,
17816,
19734,
62,
7266,
3262,
62,
66,
312,
81,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
39098,
62,
312,
1298,
5743,
62,
10414,
17816,
39098,
62,
3672,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12853,
62,
14907,
62,
10414,
1298,
5743,
62,
10414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12502,
1298,
366,
16447,
649,
8392,
8264,
4382,
20662,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
17752,
13,
67,
8142,
7,
411,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
13,
13564,
7,
17752,
13,
67,
8142,
7,
411,
4008,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
37,
6255,
3597,
2482,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
15,
8,
628,
220,
220,
220,
25064,
13,
37023,
7,
15,
8,
198
] | 2.17971 | 9,315 |
import os
import sys
from util import read
from util.crypto.rc4 import rc4
from util.patch.syscall import find_syscall_funcs
| [
11748,
28686,
198,
11748,
25064,
198,
198,
6738,
7736,
1330,
1100,
198,
6738,
7736,
13,
29609,
78,
13,
6015,
19,
1330,
48321,
19,
198,
6738,
7736,
13,
17147,
13,
17597,
13345,
1330,
1064,
62,
17597,
13345,
62,
12543,
6359,
198
] | 3.15 | 40 |
# vim: set ft=python fileencoding=utf-8 tw=72 fdm=indent foldlevel=1 nowrap:
"""
Simple server for testing purposes.
:copyright: © 2012-2020, J. A. Corbal
:license: MIT
"""
import os
import sys
from http.server import HTTPServer, SimpleHTTPRequestHandler
class Server:
"""Simple server.
.. versionchanged:: 1.2.0a1
Implement ``logging`` instead of printing to ``stdout`` and/or
``stderr``.
"""
def __init__(self, host='127.0.0.1', port=4000, path='_build',
logger=None):
"""Constructor.
:param host: Addres where the server will be listening
:type host: str
:param port: Port where the server will be listening
:type port: str
:param path: Where the static website will be generated
:type path: str
:param logger: Logger where to store activity in
:type logger: logging.Logger
"""
self.port = port
self.host = host
self.path = path
self.logger = logger
def serve(self):
"""Serve a specific directory and waits for keyboard interrupt.
:raise FileNotFoundError: If the deploy directory doesn't exist
:raise KeyboardInterrupt: If the user stops the server (``^C``)
:raise OSError: If ``location:port`` is not valid or in use
"""
try: # Find the deploy directory
os.chdir(self.path)
except FileNotFoundError:
self.logger and self.logger.error(
"Deploy directory not found")
sys.exit(61)
try: # Initialize the server
httpd = HTTPServer((self.host, self.port),
SimpleHTTPRequestHandler)
except OSError:
self.logger and self.logger.error(
"Address not valid or already in use")
sys.exit(62)
self.logger and self.logger.info(
"Serving {}:{} at {}".format(self.host, self.port,
self.path))
try: # Listen until a keyboard interruption
httpd.serve_forever()
except KeyboardInterrupt:
self.logger and self.logger.info("Interrupted!")
| [
2,
43907,
25,
900,
10117,
28,
29412,
2393,
12685,
7656,
28,
40477,
12,
23,
665,
28,
4761,
277,
36020,
28,
521,
298,
5591,
5715,
28,
16,
783,
2416,
25,
198,
37811,
198,
26437,
4382,
329,
4856,
4959,
13,
198,
198,
25,
22163,
4766,
25,
10673,
2321,
12,
42334,
11,
449,
13,
317,
13,
2744,
6893,
198,
25,
43085,
25,
17168,
198,
37811,
198,
11748,
28686,
198,
11748,
25064,
198,
6738,
2638,
13,
15388,
1330,
38288,
18497,
11,
17427,
40717,
18453,
25060,
628,
198,
4871,
9652,
25,
198,
220,
220,
220,
37227,
26437,
4382,
13,
628,
220,
220,
220,
11485,
2196,
40985,
3712,
352,
13,
17,
13,
15,
64,
16,
198,
220,
220,
220,
220,
220,
220,
220,
48282,
7559,
6404,
2667,
15506,
2427,
286,
13570,
284,
7559,
19282,
448,
15506,
290,
14,
273,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
301,
1082,
81,
15506,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
2583,
11639,
16799,
13,
15,
13,
15,
13,
16,
3256,
2493,
28,
27559,
11,
3108,
11639,
62,
11249,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
273,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2583,
25,
3060,
411,
810,
262,
4382,
481,
307,
8680,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
2583,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
2493,
25,
4347,
810,
262,
4382,
481,
307,
8680,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
2493,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
3108,
25,
6350,
262,
9037,
3052,
481,
307,
7560,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
3108,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
49706,
25,
5972,
1362,
810,
284,
3650,
3842,
287,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
4906,
49706,
25,
18931,
13,
11187,
1362,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
634,
796,
2493,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
4774,
796,
2583,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6978,
796,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
796,
49706,
628,
220,
220,
220,
825,
4691,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
50,
3760,
257,
2176,
8619,
290,
28364,
329,
10586,
11313,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
40225,
9220,
3673,
21077,
12331,
25,
1002,
262,
6061,
8619,
1595,
470,
2152,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
40225,
31973,
9492,
3622,
25,
1002,
262,
2836,
9911,
262,
4382,
357,
15506,
61,
34,
15506,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
40225,
440,
5188,
81,
1472,
25,
1002,
7559,
24886,
25,
634,
15506,
318,
407,
4938,
393,
287,
779,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
220,
1303,
9938,
262,
6061,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
354,
15908,
7,
944,
13,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
9220,
3673,
21077,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
290,
2116,
13,
6404,
1362,
13,
18224,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
49322,
8619,
407,
1043,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
5333,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
220,
1303,
20768,
1096,
262,
4382,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2638,
67,
796,
38288,
18497,
19510,
944,
13,
4774,
11,
2116,
13,
634,
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,
17427,
40717,
18453,
25060,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
440,
5188,
81,
1472,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
290,
2116,
13,
6404,
1362,
13,
18224,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
20231,
407,
4938,
393,
1541,
287,
779,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
5237,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
290,
2116,
13,
6404,
1362,
13,
10951,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
11838,
278,
23884,
29164,
92,
379,
23884,
1911,
18982,
7,
944,
13,
4774,
11,
2116,
13,
634,
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,
2116,
13,
6978,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
220,
1303,
20600,
1566,
257,
10586,
41728,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2638,
67,
13,
2655,
303,
62,
754,
332,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
31973,
9492,
3622,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6404,
1362,
290,
2116,
13,
6404,
1362,
13,
10951,
7203,
9492,
31590,
2474,
8,
198
] | 2.272634 | 972 |
from molsysmt._private.exceptions import *
from molsysmt._private.digestion import *
from molsysmt._private.lists_and_tuples import is_list_or_tuple
| [
6738,
285,
10220,
893,
16762,
13557,
19734,
13,
1069,
11755,
1330,
1635,
198,
6738,
285,
10220,
893,
16762,
13557,
19734,
13,
12894,
395,
295,
1330,
1635,
198,
6738,
285,
10220,
893,
16762,
13557,
19734,
13,
20713,
62,
392,
62,
28047,
2374,
1330,
318,
62,
4868,
62,
273,
62,
83,
29291,
628
] | 2.941176 | 51 |
from datetime import datetime
import json
from app import db, LOGGER
from app.utils.testing import ApiTestCase
from app.events.models import Event, EventRole
from app.users.models import AppUser, UserCategory, Country
from app.applicationModel.models import ApplicationForm, Question, Section
from app.responses.models import Response, Answer, ResponseReviewer
from app.reviews.models import ReviewForm, ReviewQuestion, ReviewResponse, ReviewScore
from app.utils.errors import REVIEW_RESPONSE_NOT_FOUND, FORBIDDEN, USER_NOT_FOUND
from nose.plugins.skip import SkipTest
from app.organisation.models import Organisation
| [
6738,
4818,
8079,
1330,
4818,
8079,
201,
198,
11748,
33918,
201,
198,
201,
198,
6738,
598,
1330,
20613,
11,
41605,
30373,
201,
198,
6738,
598,
13,
26791,
13,
33407,
1330,
5949,
72,
14402,
20448,
201,
198,
6738,
598,
13,
31534,
13,
27530,
1330,
8558,
11,
8558,
47445,
201,
198,
6738,
598,
13,
18417,
13,
27530,
1330,
2034,
12982,
11,
11787,
27313,
11,
12946,
201,
198,
6738,
598,
13,
31438,
17633,
13,
27530,
1330,
15678,
8479,
11,
18233,
11,
7275,
201,
198,
6738,
598,
13,
16733,
274,
13,
27530,
1330,
18261,
11,
23998,
11,
18261,
35407,
201,
198,
6738,
598,
13,
19023,
82,
13,
27530,
1330,
6602,
8479,
11,
6602,
24361,
11,
6602,
31077,
11,
6602,
26595,
201,
198,
6738,
598,
13,
26791,
13,
48277,
1330,
4526,
28206,
62,
19535,
47,
1340,
5188,
62,
11929,
62,
37,
15919,
11,
7473,
33,
2389,
41819,
11,
1294,
1137,
62,
11929,
62,
37,
15919,
201,
198,
6738,
9686,
13,
37390,
13,
48267,
1330,
32214,
14402,
201,
198,
6738,
598,
13,
9971,
5612,
13,
27530,
1330,
30801,
201,
198,
220,
220,
220,
220,
201,
198
] | 3.544444 | 180 |
# -*- coding: utf-8 -*-
'''
Created on 09.07.2015
@author: Goetz Edinger
'''
import enchant
import nltk.data
from nltk.tokenize import sent_tokenize
from nltk.tokenize import word_tokenize
import string
import sys
debug = True
dict_sentence_length = {}
dict_word_length = {}
number_of_letters = 0
number_of_words = 0
number_of_sentences = 0
average_length_word = 0
number_of_foreign_words = 0
average_length_sentence = 0
length_shortest_word = 10000
length_longest_word = 0
length_of_all_words = 0
length_shortest_sentence = 10000
length_longest_sentence = 0
length_of_all_sentences = 0
number_of_words_long_sentence = 0
shortest_word = ""
longest_word = ""
########################################################
#
# Split Text into words
# Count the letters of every word
# Count how many words have how many letters
#
########################################################
########################################################
#
# Split Text into sentences
# Count the words of every sentence
# Count how many sentences have how many words
#
########################################################
########################################################
#
# Count foreign words
#
########################################################
########################################################
#
# Display results
#
########################################################
########################################################
#
# Statistics:
#
# Thresholds:
#
# for words:
# green == good ()
# yellow == acceptable ()
# red == not acceptable ()
#
# for sentences:
# green == good ()
# yellow == acceptable ()
# red == not acceptable ()
#
# Calculate the average length of the words
# Calculate the average length of the sentences
#
########################################################
if __name__ == '__main__':
main(sys.argv[1:])
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
7061,
6,
198,
41972,
319,
7769,
13,
2998,
13,
4626,
198,
198,
31,
9800,
25,
1514,
23773,
1717,
3889,
198,
7061,
6,
198,
11748,
23260,
198,
11748,
299,
2528,
74,
13,
7890,
198,
6738,
299,
2528,
74,
13,
30001,
1096,
1330,
1908,
62,
30001,
1096,
198,
6738,
299,
2528,
74,
13,
30001,
1096,
1330,
1573,
62,
30001,
1096,
198,
11748,
4731,
198,
11748,
25064,
198,
198,
24442,
796,
6407,
198,
198,
11600,
62,
34086,
594,
62,
13664,
220,
220,
220,
220,
220,
796,
23884,
198,
11600,
62,
4775,
62,
13664,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
23884,
198,
198,
17618,
62,
1659,
62,
15653,
220,
220,
220,
220,
220,
220,
220,
220,
796,
657,
198,
17618,
62,
1659,
62,
10879,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
796,
657,
198,
17618,
62,
1659,
62,
34086,
3007,
220,
220,
220,
220,
220,
220,
796,
657,
198,
198,
23913,
62,
13664,
62,
4775,
220,
220,
220,
220,
220,
220,
796,
657,
198,
17618,
62,
1659,
62,
38823,
62,
10879,
220,
220,
796,
657,
198,
23913,
62,
13664,
62,
34086,
594,
220,
220,
796,
657,
198,
13664,
62,
19509,
395,
62,
4775,
220,
220,
220,
220,
220,
796,
33028,
198,
13664,
62,
6511,
395,
62,
4775,
220,
220,
220,
220,
220,
220,
796,
657,
198,
13664,
62,
1659,
62,
439,
62,
10879,
220,
220,
220,
220,
220,
220,
796,
657,
198,
13664,
62,
19509,
395,
62,
34086,
594,
220,
796,
33028,
198,
13664,
62,
6511,
395,
62,
34086,
594,
220,
220,
796,
657,
198,
13664,
62,
1659,
62,
439,
62,
34086,
3007,
220,
220,
796,
657,
198,
198,
17618,
62,
1659,
62,
10879,
62,
6511,
62,
34086,
594,
796,
657,
198,
198,
19509,
395,
62,
4775,
796,
13538,
198,
6511,
395,
62,
4775,
796,
13538,
198,
198,
29113,
14468,
7804,
198,
2,
198,
2,
27758,
8255,
656,
2456,
198,
2,
2764,
262,
7475,
286,
790,
1573,
198,
2,
2764,
703,
867,
2456,
423,
703,
867,
7475,
198,
2,
198,
29113,
14468,
7804,
198,
198,
29113,
14468,
7804,
198,
2,
198,
2,
27758,
8255,
656,
13439,
198,
2,
2764,
262,
2456,
286,
790,
6827,
198,
2,
2764,
703,
867,
13439,
423,
703,
867,
2456,
198,
2,
198,
29113,
14468,
7804,
198,
198,
29113,
14468,
7804,
198,
2,
198,
2,
2764,
3215,
2456,
198,
2,
198,
29113,
14468,
7804,
198,
198,
29113,
14468,
7804,
198,
2,
198,
2,
16531,
2482,
198,
2,
198,
29113,
14468,
7804,
198,
198,
29113,
14468,
7804,
198,
2,
198,
2,
14370,
25,
198,
2,
198,
2,
536,
10126,
82,
25,
198,
2,
198,
2,
329,
2456,
25,
198,
2,
4077,
220,
6624,
922,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7499,
198,
2,
7872,
6624,
10909,
220,
220,
220,
220,
220,
7499,
198,
2,
2266,
220,
220,
220,
6624,
407,
10909,
220,
7499,
198,
2,
198,
2,
329,
13439,
25,
198,
2,
4077,
220,
6624,
922,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7499,
198,
2,
7872,
6624,
10909,
220,
220,
220,
220,
220,
7499,
198,
2,
2266,
220,
220,
220,
6624,
407,
10909,
220,
7499,
198,
2,
198,
2,
27131,
378,
262,
2811,
4129,
286,
262,
2456,
198,
2,
27131,
378,
262,
2811,
4129,
286,
262,
13439,
198,
2,
198,
29113,
14468,
7804,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
7,
17597,
13,
853,
85,
58,
16,
25,
12962,
198
] | 3.350254 | 591 |
#
# Copyright (c) 2019, 2020 Oracle and/or its affiliates. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# 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 datetime as dt
import io
import os
import random
from fdk import constants
from fdk import headers as hs
from fdk import log
from collections import namedtuple
def context_from_format(format_def: str, **kwargs) -> (
InvokeContext, io.BytesIO):
"""
Creates a context from request
:param format_def: function format
:type format_def: str
:param kwargs: request-specific map of parameters
:return: invoke context and data
:rtype: tuple
"""
app_id = os.environ.get(constants.FN_APP_ID)
fn_id = os.environ.get(constants.FN_ID)
app_name = os.environ.get(constants.FN_APP_NAME)
fn_name = os.environ.get(constants.FN_NAME)
# the tracing enabled env variable is passed as a "0" or "1" string
# and therefore needs to be converted appropriately.
is_tracing_enabled = os.environ.get(constants.OCI_TRACING_ENABLED)
is_tracing_enabled = (
bool(int(is_tracing_enabled))
if is_tracing_enabled is not None
else False
)
trace_collector_url = os.environ.get(constants.OCI_TRACE_COLLECTOR_URL)
if format_def == constants.HTTPSTREAM:
data = kwargs.get("data")
headers = kwargs.get("headers")
# zipkin tracing http headers
trace_id = span_id = parent_span_id = is_sampled = trace_flags = None
tracing_context = None
if is_tracing_enabled:
# we generate the trace_id if tracing is enabled
# but the traceId zipkin header is missing.
trace_id = headers.get(constants.X_B3_TRACEID)
trace_id = generate_id() if trace_id is None else trace_id
span_id = headers.get(constants.X_B3_SPANID)
parent_span_id = headers.get(constants.X_B3_PARENTSPANID)
# span_id is also generated if the zipkin header is missing.
span_id = generate_id() if span_id is None else span_id
# is_sampled should be a boolean in the form of a "0/1" but
# legacy samples have them as "False/True"
is_sampled = headers.get(constants.X_B3_SAMPLED)
is_sampled = int(is_sampled) if is_sampled is not None else 1
# not currently used but is defined by the zipkin headers standard
trace_flags = headers.get(constants.X_B3_FLAGS)
# tracing context will be an empty object
# if tracing is not enabled or the flag is missing.
# this prevents the customer code from failing if they decide to
# disable tracing. An empty tracing context will not
# emit spans due to is_sampled being None.
tracing_context = TracingContext(
is_tracing_enabled,
trace_collector_url,
trace_id,
span_id,
parent_span_id,
is_sampled,
trace_flags
)
method = headers.get(constants.FN_HTTP_METHOD)
request_url = headers.get(constants.FN_HTTP_REQUEST_URL)
deadline = headers.get(constants.FN_DEADLINE)
call_id = headers.get(constants.FN_CALL_ID)
content_type = headers.get(constants.CONTENT_TYPE)
ctx = InvokeContext(
app_id, app_name, fn_id, fn_name, call_id,
content_type=content_type,
deadline=deadline,
config=os.environ,
headers=headers,
method=method,
request_url=request_url,
fn_format=constants.HTTPSTREAM,
tracing_context=tracing_context,
)
return ctx, data
| [
2,
198,
2,
15069,
357,
66,
8,
13130,
11,
12131,
18650,
290,
14,
273,
663,
29116,
13,
1439,
2489,
10395,
13,
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,
198,
198,
11748,
4818,
8079,
355,
288,
83,
198,
11748,
33245,
198,
11748,
28686,
198,
11748,
4738,
198,
6738,
277,
34388,
1330,
38491,
198,
6738,
277,
34388,
1330,
24697,
355,
289,
82,
198,
6738,
277,
34388,
1330,
2604,
198,
6738,
17268,
1330,
3706,
83,
29291,
628,
628,
198,
198,
4299,
4732,
62,
6738,
62,
18982,
7,
18982,
62,
4299,
25,
965,
11,
12429,
46265,
22046,
8,
4613,
357,
198,
220,
220,
220,
220,
220,
220,
220,
10001,
2088,
21947,
11,
33245,
13,
45992,
9399,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7921,
274,
257,
4732,
422,
2581,
198,
220,
220,
220,
1058,
17143,
5794,
62,
4299,
25,
2163,
5794,
198,
220,
220,
220,
1058,
4906,
5794,
62,
4299,
25,
965,
198,
220,
220,
220,
1058,
17143,
479,
86,
22046,
25,
2581,
12,
11423,
3975,
286,
10007,
198,
220,
220,
220,
1058,
7783,
25,
26342,
4732,
290,
1366,
198,
220,
220,
220,
1058,
81,
4906,
25,
46545,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
598,
62,
312,
796,
28686,
13,
268,
2268,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
24805,
62,
2389,
8,
198,
220,
220,
220,
24714,
62,
312,
796,
28686,
13,
268,
2268,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
2389,
8,
198,
220,
220,
220,
598,
62,
3672,
796,
28686,
13,
268,
2268,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
24805,
62,
20608,
8,
198,
220,
220,
220,
24714,
62,
3672,
796,
28686,
13,
268,
2268,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
20608,
8,
198,
220,
220,
220,
1303,
262,
35328,
9343,
17365,
7885,
318,
3804,
355,
257,
366,
15,
1,
393,
366,
16,
1,
4731,
198,
220,
220,
220,
1303,
290,
4361,
2476,
284,
307,
11513,
20431,
13,
198,
220,
220,
220,
318,
62,
2213,
4092,
62,
25616,
796,
28686,
13,
268,
2268,
13,
1136,
7,
9979,
1187,
13,
4503,
40,
62,
5446,
2246,
2751,
62,
1677,
6242,
30465,
8,
198,
220,
220,
220,
318,
62,
2213,
4092,
62,
25616,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
20512,
7,
600,
7,
271,
62,
2213,
4092,
62,
25616,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
2213,
4092,
62,
25616,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
10352,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
12854,
62,
33327,
273,
62,
6371,
796,
28686,
13,
268,
2268,
13,
1136,
7,
9979,
1187,
13,
4503,
40,
62,
5446,
11598,
62,
25154,
16779,
1581,
62,
21886,
8,
628,
220,
220,
220,
611,
5794,
62,
4299,
6624,
38491,
13,
40717,
2257,
32235,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
479,
86,
22046,
13,
1136,
7203,
7890,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
24697,
796,
479,
86,
22046,
13,
1136,
7203,
50145,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
19974,
5116,
35328,
2638,
24697,
198,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
312,
796,
11506,
62,
312,
796,
2560,
62,
12626,
62,
312,
796,
318,
62,
37687,
10137,
796,
12854,
62,
33152,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
35328,
62,
22866,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
2213,
4092,
62,
25616,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
356,
7716,
262,
12854,
62,
312,
611,
35328,
318,
9343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
475,
262,
12854,
7390,
19974,
5116,
13639,
318,
4814,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
312,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
55,
62,
33,
18,
62,
5446,
11598,
2389,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
312,
796,
7716,
62,
312,
3419,
611,
12854,
62,
312,
318,
6045,
2073,
12854,
62,
312,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
312,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
55,
62,
33,
18,
62,
4303,
1565,
2389,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
12626,
62,
312,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
55,
62,
33,
18,
62,
27082,
3525,
4303,
1565,
2389,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
11506,
62,
312,
318,
635,
7560,
611,
262,
19974,
5116,
13639,
318,
4814,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
312,
796,
7716,
62,
312,
3419,
611,
11506,
62,
312,
318,
6045,
2073,
11506,
62,
312,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
318,
62,
37687,
10137,
815,
307,
257,
25131,
287,
262,
1296,
286,
257,
366,
15,
14,
16,
1,
475,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
10655,
8405,
423,
606,
355,
366,
25101,
14,
17821,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
37687,
10137,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
55,
62,
33,
18,
62,
49302,
6489,
1961,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
37687,
10137,
796,
493,
7,
271,
62,
37687,
10137,
8,
611,
318,
62,
37687,
10137,
318,
407,
6045,
2073,
352,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
407,
3058,
973,
475,
318,
5447,
416,
262,
19974,
5116,
24697,
3210,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
33152,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
55,
62,
33,
18,
62,
38948,
50,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
35328,
4732,
481,
307,
281,
6565,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
35328,
318,
407,
9343,
393,
262,
6056,
318,
4814,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
428,
15174,
262,
6491,
2438,
422,
9894,
611,
484,
5409,
284,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15560,
35328,
13,
1052,
6565,
35328,
4732,
481,
407,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
27588,
32727,
2233,
284,
318,
62,
37687,
10137,
852,
6045,
13,
198,
220,
220,
220,
220,
220,
220,
220,
35328,
62,
22866,
796,
833,
4092,
21947,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
2213,
4092,
62,
25616,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
33327,
273,
62,
6371,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11506,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
12626,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
37687,
10137,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12854,
62,
33152,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2446,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
40717,
62,
49273,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
6371,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
40717,
62,
2200,
35780,
62,
21886,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12508,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
7206,
2885,
24027,
8,
198,
220,
220,
220,
220,
220,
220,
220,
869,
62,
312,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
43221,
62,
34,
7036,
62,
2389,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
796,
24697,
13,
1136,
7,
9979,
1187,
13,
37815,
3525,
62,
25216,
8,
628,
220,
220,
220,
220,
220,
220,
220,
269,
17602,
796,
10001,
2088,
21947,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
598,
62,
312,
11,
598,
62,
3672,
11,
24714,
62,
312,
11,
24714,
62,
3672,
11,
869,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
28,
11299,
62,
4906,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12508,
28,
25124,
1370,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4566,
28,
418,
13,
268,
2268,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24697,
28,
50145,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2446,
28,
24396,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
6371,
28,
25927,
62,
6371,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24714,
62,
18982,
28,
9979,
1187,
13,
40717,
2257,
32235,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35328,
62,
22866,
28,
2213,
4092,
62,
22866,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
269,
17602,
11,
1366,
198
] | 2.437024 | 1,707 |
from models.status import Status
from datetime import datetime
class User:
"""
The User object represents a person,
bot or entity registered as a user
in the application.
username:
(str)
password:
(str)
last_seen:
(str)
timestamp when the user was latest
recorded as active. Mutates with update_last_seen().
buddies:
(dict <str, User>)
status:
(Status enum)
"""
@property
@username.setter
@property
@password.setter
@property
@property | [
6738,
4981,
13,
13376,
1330,
12678,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
198,
4871,
11787,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
11787,
2134,
6870,
257,
1048,
11,
220,
198,
220,
220,
220,
10214,
393,
9312,
6823,
355,
257,
2836,
198,
220,
220,
220,
287,
262,
3586,
13,
220,
628,
220,
220,
220,
20579,
25,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2536,
8,
198,
220,
220,
220,
9206,
25,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2536,
8,
198,
220,
220,
220,
938,
62,
15898,
25,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
41033,
618,
262,
2836,
373,
3452,
198,
220,
220,
220,
220,
220,
220,
220,
6264,
355,
4075,
13,
13859,
689,
351,
4296,
62,
12957,
62,
15898,
22446,
198,
220,
220,
220,
35548,
25,
198,
220,
220,
220,
220,
220,
220,
220,
357,
11600,
1279,
2536,
11,
11787,
43734,
198,
220,
220,
220,
3722,
25,
198,
220,
220,
220,
220,
220,
220,
220,
357,
19580,
33829,
8,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
29460,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
28712,
13,
2617,
353,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745
] | 2.467249 | 229 |
import media
import fresh_tomatoes
def main():
"""Generate an HTML page to show movies with corresponding information."""
toy_story = media.Movie(
"Toy Story",
"A story of a boy and his toys that come to life.",
"https://upload.wikimedia.org/wikipedia/en/1/13/Toy_Story.jpg",
"https://www.youtube.com/watch?v=KYz2wyBy3kc"
)
forrest_gump = media.Movie(
"Forrest Gump",
"A story of an imbecile who makes history.",
"https://upload.wikimedia.org/wikipedia/en/6/67/Forrest_Gump_poster.jpg", # NOQA
"https://www.youtube.com/watch?v=77ij5gCTjYU"
)
goodfellas = media.Movie(
"Goodfellas",
"The rise and fall of a gangster.",
"https://upload.wikimedia.org/wikipedia/en/7/7b/Goodfellas.jpg",
"https://www.youtube.com/watch?v=qo5jJpHtI1Y"
)
lion_king = media.Movie(
"The Lion King",
"Hamlet on the Savanah.",
"https://upload.wikimedia.org/wikipedia/en/3/3d/The_Lion_King_poster.jpg", # NOQA
"https://www.youtube.com/watch?v=4sj1MT05lAA"
)
hercules = media.Movie(
"Hercules",
"The son of Zeus must earn his place back among the gods.",
"https://upload.wikimedia.org/wikipedia/en/6/65/Hercules_%281997_film%29_poster.jpg", # NOQA
"https://www.youtube.com/watch?v=ZvtspevZxpg"
)
oceans_11 = media.Movie(
"Ocean's Eleven",
"A gang of eleven makes a casino heist.",
"https://upload.wikimedia.org/wikipedia/en/6/68/Ocean%27s_Eleven_2001_Poster.jpg", # NOQA
"https://www.youtube.com/watch?v=imm6OR605UI"
)
# fresh_tomatoes.open_movies_page() requires its argument in list format
movies = [
toy_story,
forrest_gump,
goodfellas,
lion_king,
hercules,
oceans_11
]
fresh_tomatoes.open_movies_page(movies)
if __name__ == "__main__":
main()
| [
11748,
2056,
198,
11748,
4713,
62,
39532,
15048,
628,
198,
4299,
1388,
33529,
198,
220,
220,
220,
37227,
8645,
378,
281,
11532,
2443,
284,
905,
6918,
351,
11188,
1321,
526,
15931,
198,
220,
220,
220,
13373,
62,
13571,
796,
2056,
13,
25097,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
48236,
8362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32,
1621,
286,
257,
2933,
290,
465,
14958,
326,
1282,
284,
1204,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
25850,
13,
20763,
20626,
13,
2398,
14,
31266,
14,
268,
14,
16,
14,
1485,
14,
48236,
62,
11605,
13,
9479,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
11604,
13,
785,
14,
8340,
30,
85,
28,
31159,
89,
17,
21768,
3886,
18,
74,
66,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
329,
2118,
62,
70,
931,
796,
2056,
13,
25097,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1890,
2118,
402,
931,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32,
1621,
286,
281,
545,
9423,
576,
508,
1838,
2106,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
25850,
13,
20763,
20626,
13,
2398,
14,
31266,
14,
268,
14,
21,
14,
3134,
14,
1890,
2118,
62,
38,
931,
62,
79,
6197,
13,
9479,
1600,
220,
1303,
8005,
48,
32,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
11604,
13,
785,
14,
8340,
30,
85,
28,
3324,
2926,
20,
70,
4177,
73,
56,
52,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
922,
23299,
292,
796,
2056,
13,
25097,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10248,
23299,
292,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
464,
4485,
290,
2121,
286,
257,
7706,
1706,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
25850,
13,
20763,
20626,
13,
2398,
14,
31266,
14,
268,
14,
22,
14,
22,
65,
14,
10248,
23299,
292,
13,
9479,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
11604,
13,
785,
14,
8340,
30,
85,
28,
80,
78,
20,
73,
41,
79,
39,
83,
40,
16,
56,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
18744,
62,
3364,
796,
2056,
13,
25097,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
464,
15218,
2677,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21281,
1616,
319,
262,
8858,
272,
993,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
25850,
13,
20763,
20626,
13,
2398,
14,
31266,
14,
268,
14,
18,
14,
18,
67,
14,
464,
62,
43,
295,
62,
15708,
62,
79,
6197,
13,
9479,
1600,
220,
1303,
8005,
48,
32,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
11604,
13,
785,
14,
8340,
30,
85,
28,
19,
82,
73,
16,
13752,
2713,
75,
3838,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
607,
13930,
796,
2056,
13,
25097,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39,
2798,
5028,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
464,
3367,
286,
20620,
1276,
5160,
465,
1295,
736,
1871,
262,
11858,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
25850,
13,
20763,
20626,
13,
2398,
14,
31266,
14,
268,
14,
21,
14,
2996,
14,
39,
2798,
5028,
62,
4,
2078,
21498,
62,
26240,
4,
1959,
62,
79,
6197,
13,
9479,
1600,
220,
1303,
8005,
48,
32,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
11604,
13,
785,
14,
8340,
30,
85,
28,
57,
85,
912,
431,
85,
57,
87,
6024,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
23744,
62,
1157,
796,
2056,
13,
25097,
7,
198,
220,
220,
220,
220,
220,
220,
220,
366,
46607,
338,
37339,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
32,
7706,
286,
22216,
1838,
257,
21507,
339,
396,
33283,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
25850,
13,
20763,
20626,
13,
2398,
14,
31266,
14,
268,
14,
21,
14,
3104,
14,
46607,
4,
1983,
82,
62,
28827,
574,
62,
14585,
62,
47,
6197,
13,
9479,
1600,
220,
1303,
8005,
48,
32,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5450,
1378,
2503,
13,
11604,
13,
785,
14,
8340,
30,
85,
28,
8608,
21,
1581,
32417,
10080,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
4713,
62,
39532,
15048,
13,
9654,
62,
76,
20526,
62,
7700,
3419,
4433,
663,
4578,
287,
1351,
5794,
198,
220,
220,
220,
6918,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
13373,
62,
13571,
11,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2118,
62,
70,
931,
11,
198,
220,
220,
220,
220,
220,
220,
220,
922,
23299,
292,
11,
198,
220,
220,
220,
220,
220,
220,
220,
18744,
62,
3364,
11,
198,
220,
220,
220,
220,
220,
220,
220,
607,
13930,
11,
198,
220,
220,
220,
220,
220,
220,
220,
23744,
62,
1157,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
4713,
62,
39532,
15048,
13,
9654,
62,
76,
20526,
62,
7700,
7,
76,
20526,
8,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 2.125 | 928 |
# -*- coding: utf-8 -*-
import argparse
import os
import signal
import subprocess
import sys
# Project defaults
from utils import utils
# ===== LOAD CONFIGURATION FILE =====
CONFIG_FILE = "conf/conf.json"
CFG, log, = utils.init_main_data(CONFIG_FILE)
if CFG is None or log is None:
print("Unable to load {}".format(CONFIG_FILE))
sys.exit(2)
DEFAULT_IP = "{}:{}".format(CFG['network']['host'], CFG['network']["port"])
FLASK_APP = 'server/__init__.py'
cm = CommandManager()
cm.add(Command(
"build",
"compiles python files in project into .pyc binaries",
lambda c: 'python -m compileall .'))
cm.add(Command(
"start",
"runs server with gunicorn in a production setting",
lambda c: 'gunicorn -b {0}:{1} --timeout 99999 server:app'.format(c['host'], c['port']),
{
'FLASK_APP': FLASK_APP,
'FLASK_DEBUG': 'false'
}))
cm.add(Command(
"run",
"runs dev server using Flask's native debugger & backend reloader",
lambda c: 'python -m flask run --host={0} --port={1} --debugger --reload'.format(c['host'], c['port']),
{
'FLASK_APP': FLASK_APP,
'FLASK_DEBUG': 'true'
}))
cm.add(Command(
"livereload",
"runs dev server using livereload for dynamic webpage reloading",
lambda c: 'python -m flask run',
{
'FLASK_APP': FLASK_APP,
'FLASK_LIVE_RELOAD': 'true',
}))
cm.add(Command(
"debug",
"runs dev server in debug mode; use with an IDE's remote debugger",
lambda c: 'python -m flask run --host={0} --port={1} --no-debugger --no-reload'.format(c['host'], c['port']),
{
'FLASK_APP': FLASK_APP,
'FLASK_DEBUG': 'true'
}))
cm.add(Command(
"test",
"runs all tests inside of `tests` directory",
lambda c: 'python -m unittest discover -s tests -p "*.py"'))
# Create and format argument parser for CLI
parser = argparse.ArgumentParser(description=cm.availableCommands(),
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument("subcommand", help="subcommand to run (see list above)")
parser.add_argument("ipaddress", nargs='?', default=DEFAULT_IP,
help="address and port to run on (i.e. {0})".format(DEFAULT_IP))
# Take in command line input for configuration
try:
args = parser.parse_args()
cmd = args.subcommand
addr = args.ipaddress.split(':')
cm.configure({
'host': addr[0],
'port': addr[1],
})
cm.run(cmd)
except KeyboardInterrupt:
if 'FLASK_LIVE_RELOAD' in os.environ and os.environ['FLASK_LIVE_RELOAD'] == 'true':
livereload_check()
except:
if len(sys.argv) == 1:
log.debug(cm.availableCommands())
sys.exit(0)
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
11748,
1822,
29572,
198,
11748,
28686,
198,
11748,
6737,
198,
11748,
850,
14681,
198,
11748,
25064,
198,
198,
2,
4935,
26235,
198,
6738,
3384,
4487,
1330,
3384,
4487,
198,
198,
2,
29335,
17579,
2885,
25626,
4261,
6234,
45811,
29335,
198,
10943,
16254,
62,
25664,
796,
366,
10414,
14,
10414,
13,
17752,
1,
198,
22495,
38,
11,
2604,
11,
796,
3384,
4487,
13,
15003,
62,
12417,
62,
7890,
7,
10943,
16254,
62,
25664,
8,
198,
361,
18551,
38,
318,
6045,
393,
2604,
318,
6045,
25,
198,
220,
220,
220,
3601,
7203,
3118,
540,
284,
3440,
23884,
1911,
18982,
7,
10943,
16254,
62,
25664,
4008,
198,
220,
220,
220,
25064,
13,
37023,
7,
17,
8,
198,
7206,
38865,
62,
4061,
796,
45144,
92,
29164,
92,
1911,
18982,
7,
22495,
38,
17816,
27349,
6,
7131,
6,
4774,
6,
4357,
18551,
38,
17816,
27349,
6,
7131,
1,
634,
8973,
8,
198,
3697,
1921,
42,
62,
24805,
796,
705,
15388,
14,
834,
15003,
834,
13,
9078,
6,
628,
628,
198,
11215,
796,
9455,
13511,
3419,
198,
198,
11215,
13,
2860,
7,
21575,
7,
198,
220,
220,
220,
366,
11249,
1600,
198,
220,
220,
220,
366,
5589,
2915,
21015,
3696,
287,
1628,
656,
764,
9078,
66,
38640,
1600,
198,
220,
220,
220,
37456,
269,
25,
705,
29412,
532,
76,
17632,
439,
764,
6,
4008,
198,
198,
11215,
13,
2860,
7,
21575,
7,
198,
220,
220,
220,
366,
9688,
1600,
198,
220,
220,
220,
366,
48381,
4382,
351,
2485,
291,
1211,
287,
257,
3227,
4634,
1600,
198,
220,
220,
220,
37456,
269,
25,
705,
7145,
291,
1211,
532,
65,
1391,
15,
92,
29164,
16,
92,
1377,
48678,
860,
24214,
4382,
25,
1324,
4458,
18982,
7,
66,
17816,
4774,
6,
4357,
269,
17816,
634,
20520,
828,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
24805,
10354,
9977,
1921,
42,
62,
24805,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
30531,
10354,
705,
9562,
6,
198,
220,
220,
220,
1782,
4008,
198,
198,
11215,
13,
2860,
7,
21575,
7,
198,
220,
220,
220,
366,
5143,
1600,
198,
220,
220,
220,
366,
48381,
1614,
4382,
1262,
46947,
338,
6868,
49518,
1222,
30203,
18126,
263,
1600,
198,
220,
220,
220,
37456,
269,
25,
705,
29412,
532,
76,
42903,
1057,
1377,
4774,
34758,
15,
92,
1377,
634,
34758,
16,
92,
1377,
24442,
1362,
1377,
260,
2220,
4458,
18982,
7,
66,
17816,
4774,
6,
4357,
269,
17816,
634,
20520,
828,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
24805,
10354,
9977,
1921,
42,
62,
24805,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
30531,
10354,
705,
7942,
6,
198,
220,
220,
220,
1782,
4008,
198,
198,
11215,
13,
2860,
7,
21575,
7,
198,
220,
220,
220,
366,
12583,
260,
2220,
1600,
198,
220,
220,
220,
366,
48381,
1614,
4382,
1262,
2107,
260,
2220,
329,
8925,
35699,
18126,
278,
1600,
198,
220,
220,
220,
37456,
269,
25,
705,
29412,
532,
76,
42903,
1057,
3256,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
24805,
10354,
9977,
1921,
42,
62,
24805,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
43,
9306,
62,
16448,
41048,
10354,
705,
7942,
3256,
198,
220,
220,
220,
1782,
4008,
198,
198,
11215,
13,
2860,
7,
21575,
7,
198,
220,
220,
220,
366,
24442,
1600,
198,
220,
220,
220,
366,
48381,
1614,
4382,
287,
14257,
4235,
26,
779,
351,
281,
33497,
338,
6569,
49518,
1600,
198,
220,
220,
220,
37456,
269,
25,
705,
29412,
532,
76,
42903,
1057,
1377,
4774,
34758,
15,
92,
1377,
634,
34758,
16,
92,
1377,
3919,
12,
24442,
1362,
1377,
3919,
12,
260,
2220,
4458,
18982,
7,
66,
17816,
4774,
6,
4357,
269,
17816,
634,
20520,
828,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
24805,
10354,
9977,
1921,
42,
62,
24805,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3697,
1921,
42,
62,
30531,
10354,
705,
7942,
6,
198,
220,
220,
220,
1782,
4008,
198,
198,
11215,
13,
2860,
7,
21575,
7,
198,
220,
220,
220,
366,
9288,
1600,
198,
220,
220,
220,
366,
48381,
477,
5254,
2641,
286,
4600,
41989,
63,
8619,
1600,
198,
220,
220,
220,
37456,
269,
25,
705,
29412,
532,
76,
555,
715,
395,
7073,
532,
82,
5254,
532,
79,
366,
24620,
9078,
30543,
4008,
198,
198,
2,
13610,
290,
5794,
4578,
30751,
329,
43749,
198,
48610,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
28,
11215,
13,
15182,
6935,
1746,
22784,
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,
1296,
1436,
62,
4871,
28,
853,
29572,
13,
27369,
11828,
22087,
8479,
1436,
8,
198,
48610,
13,
2860,
62,
49140,
7203,
7266,
21812,
1600,
1037,
2625,
7266,
21812,
284,
1057,
357,
3826,
1351,
2029,
8,
4943,
198,
48610,
13,
2860,
62,
49140,
7203,
541,
21975,
1600,
299,
22046,
11639,
30,
3256,
4277,
28,
7206,
38865,
62,
4061,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
21975,
290,
2493,
284,
1057,
319,
357,
72,
13,
68,
13,
1391,
15,
30072,
1911,
18982,
7,
7206,
38865,
62,
4061,
4008,
628,
198,
198,
2,
7214,
287,
3141,
1627,
5128,
329,
8398,
198,
28311,
25,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
23991,
796,
26498,
13,
7266,
21812,
198,
220,
220,
220,
37817,
796,
26498,
13,
541,
21975,
13,
35312,
7,
10354,
11537,
198,
220,
220,
220,
12067,
13,
11250,
495,
15090,
198,
220,
220,
220,
220,
220,
220,
220,
705,
4774,
10354,
37817,
58,
15,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
634,
10354,
37817,
58,
16,
4357,
198,
220,
220,
220,
32092,
198,
220,
220,
220,
12067,
13,
5143,
7,
28758,
8,
198,
16341,
31973,
9492,
3622,
25,
198,
220,
220,
220,
611,
705,
3697,
1921,
42,
62,
43,
9306,
62,
16448,
41048,
6,
287,
28686,
13,
268,
2268,
290,
28686,
13,
268,
2268,
17816,
3697,
1921,
42,
62,
43,
9306,
62,
16448,
41048,
20520,
6624,
705,
7942,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
2107,
260,
2220,
62,
9122,
3419,
198,
16341,
25,
198,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
13,
24442,
7,
11215,
13,
15182,
6935,
1746,
28955,
198,
220,
220,
220,
25064,
13,
37023,
7,
15,
8,
198
] | 2.381786 | 1,142 |
from amuse.lab import new_powerlaw_mass_distribution
###BOOKLISTSTART###
import numpy
import math
from amuse.units import units
from matplotlib import pyplot
from prepare_figure import figure_frame, get_distinct
###BOOKLISTSTOP###
if __name__ in ('__main__', '__plot__'):
o, arguments = new_option_parser().parse_args()
numpy.random.seed(31415)
generate_power_law_mass_function(**o.__dict__)
| [
6738,
26072,
13,
23912,
1330,
649,
62,
6477,
6270,
62,
22208,
62,
17080,
3890,
198,
198,
21017,
39453,
45849,
2257,
7227,
21017,
198,
11748,
299,
32152,
198,
11748,
10688,
198,
6738,
26072,
13,
41667,
1330,
4991,
198,
6738,
2603,
29487,
8019,
1330,
12972,
29487,
198,
6738,
8335,
62,
26875,
1330,
3785,
62,
14535,
11,
651,
62,
17080,
4612,
198,
21017,
39453,
45849,
2257,
3185,
21017,
198,
198,
361,
11593,
3672,
834,
287,
19203,
834,
12417,
834,
3256,
705,
834,
29487,
834,
6,
2599,
198,
220,
220,
220,
267,
11,
7159,
220,
796,
649,
62,
18076,
62,
48610,
22446,
29572,
62,
22046,
3419,
198,
220,
220,
220,
299,
32152,
13,
25120,
13,
28826,
7,
33638,
1314,
8,
198,
220,
220,
220,
7716,
62,
6477,
62,
6270,
62,
22208,
62,
8818,
7,
1174,
78,
13,
834,
11600,
834,
8,
628
] | 2.956522 | 138 |
"""Represent a range of years, with ability to update based on a track"""
# Copyright 2016-2020 Florian Pigorsch & Contributors. All rights reserved.
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file.
import datetime
import re
import typing
class YearRange:
"""Represent a range of years, with ability to update based on a track
Attributes:
from_year: First year in range (lower)
to_year: Last year in range (higher)
Methods:
parse: Parse a string into lower and upper bounds
add: Adjust bounds based on a track
contains: If track is contained in the range
count: Number of years in range
"""
def __init__(self) -> None:
"""Inits YearRange with empty bounds -- to be built after init"""
self.from_year: typing.Optional[int] = None
self.to_year: typing.Optional[int] = None
def parse(self, s: str) -> bool:
"""Parse a plaintext range of years into a pair of years
Attempt to turn the input string into a pair of year values, from_year and to_year. If one
year is passed, both from_year and to_year will be set to that year. If a range like
'2016-2018' is passed, from_year will be set to 2016, and to_year will be set to 2018.
Args:
s: A string representing a range of years or a single year
Returns:
True if the range was successfully parsed, False if not.
"""
if s == "all":
self.from_year = None
self.to_year = None
return True
m = re.match(r"^\d+$", s)
if m:
self.from_year = int(s)
self.to_year = self.from_year
return True
m = re.match(r"^(\d+)-(\d+)$", s)
if m:
y1, y2 = int(m.group(1)), int(m.group(2))
if y1 <= y2:
self.from_year = y1
self.to_year = y2
return True
return False
def add(self, t: datetime.datetime) -> None:
"""For the given t, update from_year and to_year to include that timestamp"""
if self.from_year is None:
self.from_year = t.year
self.to_year = t.year
return
assert self.from_year is not None
assert self.to_year is not None
if t.year < self.from_year:
self.from_year = t.year
elif t.year > self.to_year:
self.to_year = t.year
def contains(self, t: datetime.datetime) -> bool:
"""Return True if current year range contains t, False if not"""
if self.from_year is None:
return True
assert self.from_year is not None
assert self.to_year is not None
return self.from_year <= t.year <= self.to_year
def count(self) -> int:
"""Return number of years contained in the current range"""
if self.from_year is None:
return 0
assert self.to_year is not None
return 1 + self.to_year - self.from_year
| [
37811,
40171,
257,
2837,
286,
812,
11,
351,
2694,
284,
4296,
1912,
319,
257,
2610,
37811,
198,
2,
15069,
1584,
12,
42334,
4432,
666,
23097,
669,
354,
1222,
25767,
669,
13,
1439,
2489,
10395,
13,
198,
2,
198,
2,
5765,
286,
428,
2723,
2438,
318,
21825,
416,
257,
17168,
12,
7635,
198,
2,
5964,
326,
460,
307,
1043,
287,
262,
38559,
24290,
2393,
13,
198,
198,
11748,
4818,
8079,
198,
11748,
302,
198,
11748,
19720,
628,
198,
4871,
6280,
17257,
25,
198,
220,
220,
220,
37227,
40171,
257,
2837,
286,
812,
11,
351,
2694,
284,
4296,
1912,
319,
257,
2610,
628,
220,
220,
220,
49213,
25,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
1941,
25,
3274,
614,
287,
2837,
357,
21037,
8,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
1941,
25,
4586,
614,
287,
2837,
357,
46503,
8,
628,
220,
220,
220,
25458,
25,
198,
220,
220,
220,
220,
220,
220,
220,
21136,
25,
2547,
325,
257,
4731,
656,
2793,
290,
6727,
22303,
198,
220,
220,
220,
220,
220,
220,
220,
751,
25,
20292,
22303,
1912,
319,
257,
2610,
198,
220,
220,
220,
220,
220,
220,
220,
4909,
25,
1002,
2610,
318,
7763,
287,
262,
2837,
198,
220,
220,
220,
220,
220,
220,
220,
954,
25,
7913,
286,
812,
287,
2837,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
818,
896,
6280,
17257,
351,
6565,
22303,
1377,
284,
307,
3170,
706,
2315,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6738,
62,
1941,
25,
19720,
13,
30719,
58,
600,
60,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1462,
62,
1941,
25,
19720,
13,
30719,
58,
600,
60,
796,
6045,
628,
220,
220,
220,
825,
21136,
7,
944,
11,
264,
25,
965,
8,
4613,
20512,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
257,
8631,
5239,
2837,
286,
812,
656,
257,
5166,
286,
812,
628,
220,
220,
220,
220,
220,
220,
220,
25770,
284,
1210,
262,
5128,
4731,
656,
257,
5166,
286,
614,
3815,
11,
422,
62,
1941,
290,
284,
62,
1941,
13,
1002,
530,
198,
220,
220,
220,
220,
220,
220,
220,
614,
318,
3804,
11,
1111,
422,
62,
1941,
290,
284,
62,
1941,
481,
307,
900,
284,
326,
614,
13,
1002,
257,
2837,
588,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5304,
12,
7908,
6,
318,
3804,
11,
422,
62,
1941,
481,
307,
900,
284,
1584,
11,
290,
284,
62,
1941,
481,
307,
900,
284,
2864,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
264,
25,
317,
4731,
10200,
257,
2837,
286,
812,
393,
257,
2060,
614,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6407,
611,
262,
2837,
373,
7675,
44267,
11,
10352,
611,
407,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
264,
6624,
366,
439,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6738,
62,
1941,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1462,
62,
1941,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
302,
13,
15699,
7,
81,
1,
61,
59,
67,
10,
3,
1600,
264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6738,
62,
1941,
796,
493,
7,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1462,
62,
1941,
796,
2116,
13,
6738,
62,
1941,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
302,
13,
15699,
7,
81,
1,
61,
38016,
67,
10,
13219,
38016,
67,
28988,
3,
1600,
264,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
331,
16,
11,
331,
17,
796,
493,
7,
76,
13,
8094,
7,
16,
36911,
493,
7,
76,
13,
8094,
7,
17,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
331,
16,
19841,
331,
17,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6738,
62,
1941,
796,
331,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1462,
62,
1941,
796,
331,
17,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
825,
751,
7,
944,
11,
256,
25,
4818,
8079,
13,
19608,
8079,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
1890,
262,
1813,
256,
11,
4296,
422,
62,
1941,
290,
284,
62,
1941,
284,
2291,
326,
41033,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
6738,
62,
1941,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6738,
62,
1941,
796,
256,
13,
1941,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1462,
62,
1941,
796,
256,
13,
1941,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
6818,
2116,
13,
6738,
62,
1941,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2116,
13,
1462,
62,
1941,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
256,
13,
1941,
1279,
2116,
13,
6738,
62,
1941,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6738,
62,
1941,
796,
256,
13,
1941,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
256,
13,
1941,
1875,
2116,
13,
1462,
62,
1941,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1462,
62,
1941,
796,
256,
13,
1941,
628,
220,
220,
220,
825,
4909,
7,
944,
11,
256,
25,
4818,
8079,
13,
19608,
8079,
8,
4613,
20512,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
6407,
611,
1459,
614,
2837,
4909,
256,
11,
10352,
611,
407,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
6738,
62,
1941,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628,
220,
220,
220,
220,
220,
220,
220,
6818,
2116,
13,
6738,
62,
1941,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2116,
13,
1462,
62,
1941,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
6738,
62,
1941,
19841,
256,
13,
1941,
19841,
2116,
13,
1462,
62,
1941,
628,
220,
220,
220,
825,
954,
7,
944,
8,
4613,
493,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
1271,
286,
812,
7763,
287,
262,
1459,
2837,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
6738,
62,
1941,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
628,
220,
220,
220,
220,
220,
220,
220,
6818,
2116,
13,
1462,
62,
1941,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
352,
1343,
2116,
13,
1462,
62,
1941,
532,
2116,
13,
6738,
62,
1941,
198
] | 2.340701 | 1,312 |
from .config import get_parser as char_rnn_parser
from .model import CharRNN
from .trainer import CharRNNTrainer | [
6738,
764,
11250,
1330,
651,
62,
48610,
355,
1149,
62,
81,
20471,
62,
48610,
198,
6738,
764,
19849,
1330,
3178,
49,
6144,
198,
6738,
764,
2213,
10613,
1330,
3178,
49,
6144,
2898,
10613
] | 3.393939 | 33 |
# Definition for a binary tree node.
from sortedArrayToBST import Solution
test = Solution()
head_node = test.sortedArrayToBST([1, 2, 3, 4, 5, 6, 7])
test1 = Solution1()
print test1.pathSum(head_node, 7)
# 4
# 2 6
# 1 3 5 7 | [
2,
30396,
329,
257,
13934,
5509,
10139,
13,
198,
6738,
23243,
19182,
2514,
33,
2257,
1330,
28186,
198,
198,
9288,
796,
28186,
3419,
198,
2256,
62,
17440,
796,
1332,
13,
82,
9741,
19182,
2514,
33,
2257,
26933,
16,
11,
362,
11,
513,
11,
604,
11,
642,
11,
718,
11,
767,
12962,
198,
9288,
16,
796,
28186,
16,
3419,
198,
4798,
1332,
16,
13,
6978,
13065,
7,
2256,
62,
17440,
11,
767,
8,
198,
198,
2,
220,
220,
220,
604,
198,
2,
220,
362,
220,
220,
718,
198,
2,
352,
513,
642,
767
] | 2.51087 | 92 |
import json
import os
import requests
import pprint
from datadog import initialize, api
# source /opt/datadog/datadog-agent/venv/bin/activate
DD_API_KEY = os.getenv('DD_API_KEY', '')
DD_APP_KEY = os.getenv('DD_APP_KEY', '')
options = {
'api_key': DD_API_KEY,
'app_key': DD_APP_KEY
}
initialize(**options)
initial_filter_string = '' # string to query datadog api for matching hosts. this may return more hosts than you are looking for.
query_key = 'host_name' # any key of the host object (i.e. 'platform', 'id') to use when iterating over the search results. host_name is default.
query_string = 'splunk' # query string to run against search string
create_tags = False # set to true to create tags on matchings hosts
host_count = api.Hosts.search(filter=initial_filter_string)['total_matching']
print('%r hosts matching initial_filter_string' % host_count)
num_req = host_count // 100 + 1
print('%r number of api requests to query all matching hosts' % num_req)
matching_hosts = []
start_index = 0
for i in range(1, num_req+1):
print('api request %r of %r' % (i, num_req))
host_list = api.Hosts.search(filter=initial_filter_string, sort_field='apps', count=100, start=start_index)['host_list']
start_index += 100
for host in host_list:
matching_hosts.append(host)
print('Matching host count: %r' % len(matching_hosts))
# run a second, more granular query to identify hosts
all_hostnames = []
hosts_to_tag = []
for host in matching_hosts:
host_name = host['host_name'] # get the host name for adding tags
all_hostnames.append(host_name)
value = host[query_key] # ex host['platform'], hosts['id'], etc
if query_string in value: # contains, startswith, endswith, etc
hosts_to_tag.append(host_name)
print('identified host %s' % host_name)
print('Host count: %r' % host_count)
print('Unique host names: %r' % len(set(all_hostnames)))
print('Hosts to tag: %r' % len(hosts_to_tag))
if create_tags:
# add a tag to hosts
for host_name in hosts_to_tag:
res = api.Tag.create(host_name, tags=['tag_name:tag_value'])
if 'errors' in res:
print(res['errors'])
else:
print("Set 'create_tags' = True to create tags for matchings hosts.")
| [
11748,
33918,
198,
11748,
28686,
198,
11748,
7007,
198,
11748,
279,
4798,
198,
198,
6738,
4818,
324,
519,
1330,
41216,
11,
40391,
198,
198,
2,
2723,
1220,
8738,
14,
19608,
324,
519,
14,
19608,
324,
519,
12,
25781,
14,
574,
85,
14,
8800,
14,
39022,
198,
198,
16458,
62,
17614,
62,
20373,
796,
28686,
13,
1136,
24330,
10786,
16458,
62,
17614,
62,
20373,
3256,
10148,
8,
198,
16458,
62,
24805,
62,
20373,
796,
28686,
13,
1136,
24330,
10786,
16458,
62,
24805,
62,
20373,
3256,
10148,
8,
198,
198,
25811,
796,
1391,
198,
220,
220,
220,
705,
15042,
62,
2539,
10354,
20084,
62,
17614,
62,
20373,
11,
198,
220,
220,
220,
705,
1324,
62,
2539,
10354,
20084,
62,
24805,
62,
20373,
198,
92,
198,
198,
36733,
1096,
7,
1174,
25811,
8,
198,
198,
36733,
62,
24455,
62,
8841,
796,
10148,
1303,
4731,
284,
12405,
4818,
324,
519,
40391,
329,
12336,
11453,
13,
220,
428,
743,
1441,
517,
11453,
621,
345,
389,
2045,
329,
13,
198,
198,
22766,
62,
2539,
796,
705,
4774,
62,
3672,
6,
1303,
597,
1994,
286,
262,
2583,
2134,
357,
72,
13,
68,
13,
705,
24254,
3256,
705,
312,
11537,
284,
779,
618,
11629,
803,
625,
262,
2989,
2482,
13,
220,
2583,
62,
3672,
318,
4277,
13,
198,
22766,
62,
8841,
796,
705,
22018,
2954,
6,
1303,
12405,
4731,
284,
1057,
1028,
2989,
4731,
198,
17953,
62,
31499,
796,
10352,
1303,
900,
284,
2081,
284,
2251,
15940,
319,
2872,
654,
11453,
198,
198,
4774,
62,
9127,
796,
40391,
13,
17932,
82,
13,
12947,
7,
24455,
28,
36733,
62,
24455,
62,
8841,
8,
17816,
23350,
62,
15699,
278,
20520,
198,
4798,
10786,
4,
81,
11453,
12336,
4238,
62,
24455,
62,
8841,
6,
4064,
2583,
62,
9127,
8,
198,
22510,
62,
42180,
796,
2583,
62,
9127,
3373,
1802,
1343,
352,
198,
4798,
10786,
4,
81,
1271,
286,
40391,
7007,
284,
12405,
477,
12336,
11453,
6,
4064,
997,
62,
42180,
8,
198,
15699,
278,
62,
4774,
82,
796,
17635,
198,
9688,
62,
9630,
796,
657,
198,
1640,
1312,
287,
2837,
7,
16,
11,
997,
62,
42180,
10,
16,
2599,
198,
220,
220,
220,
3601,
10786,
15042,
2581,
4064,
81,
286,
4064,
81,
6,
4064,
357,
72,
11,
997,
62,
42180,
4008,
198,
220,
220,
220,
2583,
62,
4868,
796,
40391,
13,
17932,
82,
13,
12947,
7,
24455,
28,
36733,
62,
24455,
62,
8841,
11,
3297,
62,
3245,
11639,
18211,
3256,
954,
28,
3064,
11,
923,
28,
9688,
62,
9630,
8,
17816,
4774,
62,
4868,
20520,
198,
220,
220,
220,
923,
62,
9630,
15853,
1802,
198,
220,
220,
220,
329,
2583,
287,
2583,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12336,
62,
4774,
82,
13,
33295,
7,
4774,
8,
198,
198,
4798,
10786,
44,
19775,
2583,
954,
25,
4064,
81,
6,
4064,
18896,
7,
15699,
278,
62,
4774,
82,
4008,
198,
198,
2,
1057,
257,
1218,
11,
517,
19468,
934,
12405,
284,
5911,
11453,
198,
439,
62,
4774,
14933,
796,
17635,
198,
4774,
82,
62,
1462,
62,
12985,
796,
17635,
198,
1640,
2583,
287,
12336,
62,
4774,
82,
25,
198,
220,
220,
220,
2583,
62,
3672,
796,
2583,
17816,
4774,
62,
3672,
20520,
1303,
651,
262,
2583,
1438,
329,
4375,
15940,
198,
220,
220,
220,
477,
62,
4774,
14933,
13,
33295,
7,
4774,
62,
3672,
8,
198,
220,
220,
220,
1988,
796,
2583,
58,
22766,
62,
2539,
60,
1303,
409,
2583,
17816,
24254,
6,
4357,
11453,
17816,
312,
6,
4357,
3503,
198,
220,
220,
220,
611,
12405,
62,
8841,
287,
1988,
25,
1303,
4909,
11,
923,
2032,
342,
11,
886,
2032,
342,
11,
3503,
198,
220,
220,
220,
220,
220,
220,
220,
11453,
62,
1462,
62,
12985,
13,
33295,
7,
4774,
62,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
19107,
2583,
4064,
82,
6,
4064,
2583,
62,
3672,
8,
198,
198,
4798,
10786,
17932,
954,
25,
4064,
81,
6,
4064,
2583,
62,
9127,
8,
198,
4798,
10786,
40257,
2583,
3891,
25,
4064,
81,
6,
4064,
18896,
7,
2617,
7,
439,
62,
4774,
14933,
22305,
198,
4798,
10786,
17932,
82,
284,
7621,
25,
4064,
81,
6,
4064,
18896,
7,
4774,
82,
62,
1462,
62,
12985,
4008,
198,
198,
361,
2251,
62,
31499,
25,
198,
220,
220,
220,
1303,
751,
257,
7621,
284,
11453,
198,
220,
220,
220,
329,
2583,
62,
3672,
287,
11453,
62,
1462,
62,
12985,
25,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
40391,
13,
24835,
13,
17953,
7,
4774,
62,
3672,
11,
15940,
28,
17816,
12985,
62,
3672,
25,
12985,
62,
8367,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
48277,
6,
287,
581,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
411,
17816,
48277,
6,
12962,
198,
17772,
25,
198,
220,
220,
220,
3601,
7203,
7248,
705,
17953,
62,
31499,
6,
796,
6407,
284,
2251,
15940,
329,
2872,
654,
11453,
19570,
198
] | 2.743873 | 816 |
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Jan T. Sott
# Copyright (c) 2017 Jan T. Sott
#
# License: MIT
# Ported to CudaLint by Alexey T.
#
from cuda_lint import Linter, util
class Iscc(Linter):
"""Provides an interface to the ISCC executable."""
cmd = ('ISCC.exe', '/Q', '/O-', '@')
syntax = 'Inno Setup'
regex = (
r'^Error on line (?P<line>\d+) in (?P<file>.*\.iss): (?P<message>.+)$'
)
multiline = True
error_stream = util.STREAM_STDERR
line_col_base = (0, 1)
| [
2,
198,
2,
300,
3849,
13,
9078,
198,
2,
406,
3849,
329,
3834,
27299,
43,
3849,
18,
11,
257,
2438,
10627,
9355,
329,
3834,
27299,
8255,
513,
198,
2,
198,
2,
22503,
416,
2365,
309,
13,
311,
1252,
198,
2,
15069,
357,
66,
8,
2177,
2365,
309,
13,
311,
1252,
198,
2,
198,
2,
13789,
25,
17168,
198,
2,
4347,
276,
284,
327,
15339,
43,
600,
416,
4422,
2959,
309,
13,
198,
2,
198,
198,
6738,
269,
15339,
62,
75,
600,
1330,
406,
3849,
11,
7736,
198,
198,
4871,
1148,
535,
7,
43,
3849,
2599,
198,
220,
220,
220,
37227,
15946,
1460,
281,
7071,
284,
262,
3180,
4093,
28883,
526,
15931,
628,
220,
220,
220,
23991,
796,
19203,
1797,
4093,
13,
13499,
3256,
31051,
48,
3256,
31051,
46,
12,
3256,
705,
31,
11537,
198,
220,
220,
220,
15582,
796,
705,
818,
3919,
31122,
6,
198,
220,
220,
220,
40364,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
374,
6,
61,
12331,
319,
1627,
357,
30,
47,
27,
1370,
29,
59,
67,
28988,
287,
357,
30,
47,
27,
7753,
29,
15885,
17405,
747,
2599,
357,
30,
47,
27,
20500,
28401,
28988,
3,
6,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1963,
346,
500,
796,
6407,
198,
220,
220,
220,
4049,
62,
5532,
796,
7736,
13,
2257,
32235,
62,
2257,
49643,
198,
220,
220,
220,
1627,
62,
4033,
62,
8692,
796,
357,
15,
11,
352,
8,
198
] | 2.372385 | 239 |
from django.test import TestCase
from django.contrib.auth import get_user_model
import json
User = get_user_model()
| [
6738,
42625,
14208,
13,
9288,
1330,
6208,
20448,
198,
6738,
42625,
14208,
13,
3642,
822,
13,
18439,
1330,
651,
62,
7220,
62,
19849,
198,
11748,
33918,
198,
198,
12982,
796,
651,
62,
7220,
62,
19849,
3419,
628
] | 3.189189 | 37 |
from django.urls import path, include
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('populated_cities', views.populated_cities_query, name ='populated_cities'),
path('start_tour_cities', views.start_tour_cities, name ='start_tour_cities'),
path('stop_tour_cities', views.stop_tour_cities, name ='stop_tour_cities'),
path('premierLeague_stadiums', views.premierLeague_stadiums_query, name ='premierLeague_stadiums'),
path('start_tour_stadiums', views.start_tour_stadiums, name ='start_tour_stadiums'),
path('stop_tour_stadiums', views.stop_tour_stadiums, name ='stop_tour_stadiums'),
path('longest_rivers', views.longest_rivers_query, name ='longest_rivers'),
path('tour_experience', views.tour_experience, name ='tour_experience'),
path('line_track_experience', views.line_track_experience, name ='line_track_experience'),
path('stop_experience', views.stop_experience, name ='stop_experience'),
path('spanish_airports', views.spanish_airports_query, name ='spanish_airports'),
path('start_tour_airports', views.start_tour_airports, name ='start_tour_airports'),
path('stop_tour_airports', views.stop_tour_airports, name ='stop_tour_airports'),
path('summer_olympic_games_aux', views.olympic_games_query_aux, name ='summer_olympic_games_aux'),
path('summer_olympic_games', views.olympic_games_query, name ='summer_olympic_games'),
path('try_demo', views.try_demo, name ='try_demo'),
path('start_lleida_tour', views.start_lleida_tour, name ='start_lleida_tour'),
path('start_bayern_tour', views.start_bayern_tour, name ='start_bayern_tour'),
path('start_barcelona92', views.start_barcelona92, name ='start_barcelona92'),
path('stop_tour_demo', views.stop_tour_demo, name ='stop_tour_demo'),
path('clear_KML_folder', views.clear_KML_folder, name ='clear_KML_folder'),
path('stop_current_tour', views.stop_current_tour, name ='stop_current_tour'),
path('relaunch_LG', views.relaunch_LG, name ='relaunch_LG'),
path('clear_LG_cache', views.clear_LG_cache, name ='clear_LG_cache')
] | [
6738,
42625,
14208,
13,
6371,
82,
1330,
3108,
11,
2291,
198,
6738,
764,
1330,
5009,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
3108,
10786,
3256,
5009,
13,
9630,
11,
1438,
11639,
9630,
33809,
198,
220,
220,
220,
3108,
10786,
12924,
4817,
62,
66,
871,
3256,
5009,
13,
12924,
4817,
62,
66,
871,
62,
22766,
11,
1438,
796,
6,
12924,
4817,
62,
66,
871,
33809,
198,
220,
220,
220,
3108,
10786,
9688,
62,
83,
454,
62,
66,
871,
3256,
5009,
13,
9688,
62,
83,
454,
62,
66,
871,
11,
1438,
796,
6,
9688,
62,
83,
454,
62,
66,
871,
33809,
198,
220,
220,
220,
3108,
10786,
11338,
62,
83,
454,
62,
66,
871,
3256,
5009,
13,
11338,
62,
83,
454,
62,
66,
871,
11,
1438,
796,
6,
11338,
62,
83,
454,
62,
66,
871,
33809,
198,
220,
220,
220,
3108,
10786,
31605,
959,
24623,
62,
301,
6271,
82,
3256,
5009,
13,
31605,
959,
24623,
62,
301,
6271,
82,
62,
22766,
11,
1438,
796,
6,
31605,
959,
24623,
62,
301,
6271,
82,
33809,
198,
220,
220,
220,
3108,
10786,
9688,
62,
83,
454,
62,
301,
6271,
82,
3256,
5009,
13,
9688,
62,
83,
454,
62,
301,
6271,
82,
11,
1438,
796,
6,
9688,
62,
83,
454,
62,
301,
6271,
82,
33809,
198,
220,
220,
220,
3108,
10786,
11338,
62,
83,
454,
62,
301,
6271,
82,
3256,
5009,
13,
11338,
62,
83,
454,
62,
301,
6271,
82,
11,
1438,
796,
6,
11338,
62,
83,
454,
62,
301,
6271,
82,
33809,
198,
220,
220,
220,
3108,
10786,
6511,
395,
62,
380,
690,
3256,
5009,
13,
6511,
395,
62,
380,
690,
62,
22766,
11,
1438,
796,
6,
6511,
395,
62,
380,
690,
33809,
198,
220,
220,
220,
3108,
10786,
83,
454,
62,
23100,
1240,
3256,
5009,
13,
83,
454,
62,
23100,
1240,
11,
1438,
796,
6,
83,
454,
62,
23100,
1240,
33809,
198,
220,
220,
220,
3108,
10786,
1370,
62,
11659,
62,
23100,
1240,
3256,
5009,
13,
1370,
62,
11659,
62,
23100,
1240,
11,
1438,
796,
6,
1370,
62,
11659,
62,
23100,
1240,
33809,
198,
220,
220,
220,
3108,
10786,
11338,
62,
23100,
1240,
3256,
5009,
13,
11338,
62,
23100,
1240,
11,
1438,
796,
6,
11338,
62,
23100,
1240,
33809,
198,
220,
220,
220,
3108,
10786,
2777,
7115,
62,
958,
3742,
3256,
5009,
13,
2777,
7115,
62,
958,
3742,
62,
22766,
11,
1438,
796,
6,
2777,
7115,
62,
958,
3742,
33809,
198,
220,
220,
220,
3108,
10786,
9688,
62,
83,
454,
62,
958,
3742,
3256,
5009,
13,
9688,
62,
83,
454,
62,
958,
3742,
11,
1438,
796,
6,
9688,
62,
83,
454,
62,
958,
3742,
33809,
198,
220,
220,
220,
3108,
10786,
11338,
62,
83,
454,
62,
958,
3742,
3256,
5009,
13,
11338,
62,
83,
454,
62,
958,
3742,
11,
1438,
796,
6,
11338,
62,
83,
454,
62,
958,
3742,
33809,
198,
220,
220,
220,
3108,
10786,
16345,
647,
62,
3366,
3149,
291,
62,
19966,
62,
14644,
3256,
5009,
13,
3366,
3149,
291,
62,
19966,
62,
22766,
62,
14644,
11,
1438,
796,
6,
16345,
647,
62,
3366,
3149,
291,
62,
19966,
62,
14644,
33809,
198,
220,
220,
220,
3108,
10786,
16345,
647,
62,
3366,
3149,
291,
62,
19966,
3256,
5009,
13,
3366,
3149,
291,
62,
19966,
62,
22766,
11,
1438,
796,
6,
16345,
647,
62,
3366,
3149,
291,
62,
19966,
33809,
198,
220,
220,
220,
3108,
10786,
28311,
62,
9536,
78,
3256,
5009,
13,
28311,
62,
9536,
78,
11,
1438,
796,
6,
28311,
62,
9536,
78,
33809,
198,
220,
220,
220,
3108,
10786,
9688,
62,
75,
293,
3755,
62,
83,
454,
3256,
5009,
13,
9688,
62,
75,
293,
3755,
62,
83,
454,
11,
1438,
796,
6,
9688,
62,
75,
293,
3755,
62,
83,
454,
33809,
198,
220,
220,
220,
3108,
10786,
9688,
62,
24406,
1142,
62,
83,
454,
3256,
5009,
13,
9688,
62,
24406,
1142,
62,
83,
454,
11,
1438,
796,
6,
9688,
62,
24406,
1142,
62,
83,
454,
33809,
198,
220,
220,
220,
3108,
10786,
9688,
62,
5657,
14308,
5892,
3256,
5009,
13,
9688,
62,
5657,
14308,
5892,
11,
1438,
796,
6,
9688,
62,
5657,
14308,
5892,
33809,
198,
220,
220,
220,
3108,
10786,
11338,
62,
83,
454,
62,
9536,
78,
3256,
5009,
13,
11338,
62,
83,
454,
62,
9536,
78,
11,
1438,
796,
6,
11338,
62,
83,
454,
62,
9536,
78,
33809,
198,
220,
220,
220,
3108,
10786,
20063,
62,
42,
5805,
62,
43551,
3256,
5009,
13,
20063,
62,
42,
5805,
62,
43551,
11,
1438,
796,
6,
20063,
62,
42,
5805,
62,
43551,
33809,
198,
220,
220,
220,
3108,
10786,
11338,
62,
14421,
62,
83,
454,
3256,
5009,
13,
11338,
62,
14421,
62,
83,
454,
11,
1438,
796,
6,
11338,
62,
14421,
62,
83,
454,
33809,
198,
220,
220,
220,
3108,
10786,
2411,
11429,
62,
41257,
3256,
5009,
13,
2411,
11429,
62,
41257,
11,
1438,
796,
6,
2411,
11429,
62,
41257,
33809,
198,
220,
220,
220,
3108,
10786,
20063,
62,
41257,
62,
23870,
3256,
5009,
13,
20063,
62,
41257,
62,
23870,
11,
1438,
796,
6,
20063,
62,
41257,
62,
23870,
11537,
198,
60
] | 2.528777 | 834 |
import Enum
RF = Enum.enum(ORIGINAL=0, PIECE=1, EN_LINE1=2, EN_LINE2=3) | [
11748,
2039,
388,
198,
198,
32754,
796,
2039,
388,
13,
44709,
7,
1581,
3528,
17961,
28,
15,
11,
30434,
2943,
36,
28,
16,
11,
12964,
62,
24027,
16,
28,
17,
11,
12964,
62,
24027,
17,
28,
18,
8,
220
] | 1.871795 | 39 |
# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t; python-indent-offset: 2 -*-
# vim: tabstop=2:shiftwidth=2:noexpandtab
# kate: tab-width 2; replace-tabs off; indent-width 2;
#
# ==============================================================================
# Authors: Patrick Lehmann
# Martin Zabel
#
# Python Module: Mentor QuestaSim simulator.
#
# License:
# ==============================================================================
# Copyright 2007-2016 Technische Universitaet Dresden - Germany
# Chair of VLSI-Design, Diagnostics and Architecture
#
# 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.
# ==============================================================================
#
# load dependencies
from pathlib import Path
from textwrap import dedent
from Base.Project import FileTypes, ToolChain, Tool
from DataBase.Config import Vendors
from ToolChains.Mentor.QuestaSim import QuestaSim, QuestaSimException
from Simulator import VHDL_TESTBENCH_LIBRARY_NAME, SimulatorException, SkipableSimulatorException, SimulationSteps, Simulator as BaseSimulator
__api__ = [
'Simulator'
]
__all__ = __api__
| [
2,
17228,
2246,
50,
6460,
25,
532,
9,
12,
197,
8658,
12,
10394,
25,
362,
26,
33793,
12,
8658,
82,
12,
14171,
25,
256,
26,
21015,
12,
521,
298,
12,
28968,
25,
362,
532,
9,
12,
198,
2,
43907,
25,
7400,
11338,
28,
17,
25,
30846,
10394,
28,
17,
25,
3919,
11201,
392,
8658,
198,
2,
479,
378,
25,
7400,
12,
10394,
362,
26,
6330,
12,
8658,
82,
572,
26,
33793,
12,
10394,
362,
26,
198,
2,
198,
2,
38093,
25609,
28,
198,
2,
46665,
25,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9925,
29921,
9038,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5780,
1168,
9608,
198,
2,
198,
2,
11361,
19937,
25,
220,
220,
220,
31879,
273,
6785,
64,
8890,
35375,
13,
198,
2,
198,
2,
13789,
25,
198,
2,
38093,
25609,
28,
198,
2,
15069,
4343,
12,
5304,
5429,
46097,
26986,
5350,
316,
46993,
532,
4486,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9369,
286,
569,
6561,
40,
12,
23067,
11,
31549,
34558,
290,
29778,
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,
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,
38093,
25609,
28,
198,
2,
198,
2,
3440,
20086,
198,
6738,
3108,
8019,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
10644,
198,
6738,
2420,
37150,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
4648,
298,
198,
198,
6738,
7308,
13,
16775,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
9220,
31431,
11,
16984,
35491,
11,
16984,
198,
6738,
6060,
14881,
13,
16934,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
44220,
669,
198,
6738,
16984,
1925,
1299,
13,
44,
298,
273,
13,
12166,
64,
8890,
220,
1330,
6785,
64,
8890,
11,
6785,
64,
8890,
16922,
198,
6738,
13942,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
569,
10227,
43,
62,
51,
6465,
33,
1677,
3398,
62,
40347,
49,
13153,
62,
20608,
11,
13942,
16922,
11,
32214,
540,
8890,
8927,
16922,
11,
41798,
8600,
82,
11,
13942,
355,
7308,
8890,
8927,
628,
198,
834,
15042,
834,
796,
685,
198,
197,
6,
8890,
8927,
6,
198,
60,
198,
834,
439,
834,
796,
11593,
15042,
834,
628
] | 3.145161 | 558 |
S = input()
if all(c == ' ' for c in S[1::2]) and all('a' <= c <= 'z' for c in S[::2]):
print('Yes')
else:
print('No')
| [
50,
796,
5128,
3419,
198,
198,
361,
477,
7,
66,
6624,
705,
705,
329,
269,
287,
311,
58,
16,
3712,
17,
12962,
290,
477,
10786,
64,
6,
19841,
269,
19841,
705,
89,
6,
329,
269,
287,
311,
58,
3712,
17,
60,
2599,
198,
220,
220,
220,
3601,
10786,
5297,
11537,
198,
17772,
25,
198,
220,
220,
220,
3601,
10786,
2949,
11537,
198
] | 2.064516 | 62 |
#
#
#
#
#
import numpy as np
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import matplotlib.animation as animation
## Computing grid and resolutions
# Grid size x-direction
NX = 500
# Grid size y-direction
NY = 500
## Properties of the acoustic excitation
# Frequency
freq = 60.0e3 # Hz
# wave speed
cmax = 343 # m/s
# wave length
lamda = cmax / freq
# Spatial resolution
# spatial stability critria: dx must be smaller or equal than lambda_min / 20
# where lambda_min is the shortest wavelength in the model!
dx = lamda/40 #.01
# Time domain resolution
# time stability criteria: dt must be smaller or equal than dx / ( sqrt(2) * c_max )
# where c_max is the highest wave speed in the model!
dt = dx/(cmax*np.sqrt(2) ) # 20.0e-6
# mesh grid
x = np.arange ( 0, (NX)*dx, dx )
y = np.arange ( 0, (NY)*dx, dx )
xx, yy = np.meshgrid( y, x )
## Properties of the fluid like density and viscosity
# Density
rho = 1.241
# Bulk viscosity: c^2 x rho
kappa = np.power(cmax, 2.0) * rho #142.0e3
## Computing magnitutes for two dimensional particle velocity and pressure
Vx = np.zeros ( ( NX + 1, NY ) )
Vy = np.zeros ( ( NX , NY + 1 ) )
P = np.zeros ( ( NX , NY ) )
NFrames = 3000
SourceWidth = 20
SourceHeight = 10
# setup indices
ind = np.full(( NX, NY), False, dtype=bool)
# setup indices
ind = np.full(( NX, NY), False, dtype=bool)
Pmx = int(np.floor(NX/4 - 10 + 1 ))
Pmy = int(np.floor(NY/2 + 1 ))
circle ( ind, Pmx, Pmy, 20 )
Pmx = int(np.floor(NX/2 - 10 + 1 ))
Pmy = int(np.floor(NY/2 + 1 ))
circle ( ind, Pmx, Pmy, 20 )
Pmx = int(np.floor(3*NX/4 - 10 + 1 ))
Pmy = int(np.floor( NY/2 + 1 ))
circle ( ind, Pmx, Pmy, 20 )
Pmx = int(np.floor(NX - 30 + 1 ))
Pmy = int(np.floor(NY/2 + 1 ))
circle ( ind, Pmx, Pmy, 20 )
# Pxs = int(np.floor(NX/2 - SourceWidth/2 + 1 ))
# Pxe = int(np.floor(NX/2 + SourceWidth/2 + 1 ))
# Pys = int(np.floor(NY/2 - SourceHeight/2 + 1 ))
# Pye = int(np.floor(NY/2 + SourceHeight/2 + 1 ))
# ind[ Pxs:Pxe, Pys:Pys ] = True
## Visual stuff
# Colormap
colormap = 'RdBu'
# Plot creation
fig = plt.figure(figsize=(12.8, 7.2))
ax = fig.add_subplot(1,1,1)
cax = ax.pcolormesh( xx, yy, P, vmin=-1, vmax=1, cmap=colormap)
ax.set_xlabel ( r'Position $x$ / $m$' )
ax.set_ylabel ( r'Position $y$ / $m$' )
ax.set_xlim ( y[0], y[-1] )
ax.set_ylim ( x[0], x[-1] )
fig.colorbar(cax)
fig.tight_layout()
image_step = 400
## help variables
dt_over_rho_x_dx = dt / ( rho * dx )
kappa_x_dt_over_dx = kappa * dt / dx
print ( 'Spatial stepsize %00.3f mm.' % ( dx*1e3 ) )
print ( 'Time stepsize %00.3f us.' % ( dt*1e6 ) )
print ( 'Volume elasticity %03.3f .' % ( kappa*1e-3 ) )
print ( 'Pulse width %d ' % ( int((1.0/freq)/dt) ) )
n = 0
anim = animation.FuncAnimation(fig, updatefig, frames=NFrames-1,interval=image_step, blit=True)
anim
Writer = animation.writers['ffmpeg']
writer = Writer ( fps=100, metadata=dict(artist='dkotscha' ), bitrate=6000)
anim.save('ftdt_acoustic_one_source_2d.mp4', writer=writer )
plt.close()
| [
2,
198,
2,
198,
2,
198,
2,
198,
2,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
2603,
29487,
8019,
198,
6759,
29487,
8019,
13,
1904,
10786,
46384,
11537,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
2603,
29487,
8019,
13,
11227,
341,
355,
11034,
628,
198,
2235,
38589,
10706,
290,
21811,
198,
2,
24846,
2546,
2124,
12,
37295,
198,
45,
55,
796,
5323,
198,
2,
24846,
2546,
331,
12,
37295,
198,
12805,
796,
5323,
198,
198,
2235,
24946,
286,
262,
26071,
2859,
3780,
198,
2,
31902,
198,
19503,
80,
796,
3126,
13,
15,
68,
18,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
26109,
198,
2,
6769,
2866,
198,
66,
9806,
796,
37290,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
285,
14,
82,
198,
2,
6769,
4129,
198,
2543,
6814,
796,
269,
9806,
1220,
2030,
80,
198,
2,
1338,
34961,
6323,
198,
2,
21739,
10159,
1955,
7496,
25,
44332,
1276,
307,
4833,
393,
4961,
621,
37456,
62,
1084,
1220,
1160,
198,
2,
810,
37456,
62,
1084,
318,
262,
35581,
28400,
287,
262,
2746,
0,
198,
34350,
796,
30592,
6814,
14,
1821,
1303,
13,
486,
198,
2,
3862,
7386,
6323,
198,
2,
640,
10159,
9987,
25,
288,
83,
1276,
307,
4833,
393,
4961,
621,
44332,
1220,
357,
19862,
17034,
7,
17,
8,
1635,
269,
62,
9806,
1267,
198,
2,
810,
269,
62,
9806,
318,
262,
4511,
6769,
2866,
287,
262,
2746,
0,
198,
28664,
796,
44332,
29006,
66,
9806,
9,
37659,
13,
31166,
17034,
7,
17,
8,
1267,
1303,
1160,
13,
15,
68,
12,
21,
198,
2,
19609,
10706,
198,
87,
796,
45941,
13,
283,
858,
357,
657,
11,
357,
45,
55,
27493,
34350,
11,
44332,
1267,
198,
88,
796,
45941,
13,
283,
858,
357,
657,
11,
357,
12805,
27493,
34350,
11,
44332,
1267,
198,
5324,
11,
331,
88,
796,
45941,
13,
76,
5069,
25928,
7,
331,
11,
2124,
1267,
198,
198,
2235,
24946,
286,
262,
11711,
588,
12109,
290,
1490,
6966,
414,
198,
2,
360,
6377,
198,
81,
8873,
796,
352,
13,
28872,
198,
2,
47900,
1490,
6966,
414,
25,
269,
61,
17,
2124,
374,
8873,
198,
74,
20975,
796,
45941,
13,
6477,
7,
66,
9806,
11,
362,
13,
15,
8,
1635,
374,
8873,
1303,
23726,
13,
15,
68,
18,
198,
198,
2235,
38589,
7842,
16845,
329,
734,
38517,
18758,
15432,
290,
3833,
198,
53,
87,
796,
45941,
13,
9107,
418,
357,
357,
42482,
1343,
352,
11,
6645,
220,
220,
220,
220,
1267,
1267,
198,
53,
88,
796,
45941,
13,
9107,
418,
357,
357,
42482,
220,
220,
220,
837,
6645,
1343,
352,
1267,
1267,
198,
47,
220,
796,
45941,
13,
9107,
418,
357,
357,
42482,
220,
220,
220,
837,
6645,
220,
220,
220,
220,
1267,
1267,
198,
198,
45,
35439,
796,
20343,
198,
198,
7416,
30916,
220,
796,
1160,
198,
7416,
23106,
796,
838,
198,
198,
2,
9058,
36525,
198,
521,
796,
45941,
13,
12853,
19510,
42482,
11,
6645,
828,
10352,
11,
288,
4906,
28,
30388,
8,
198,
198,
2,
9058,
36525,
198,
521,
796,
45941,
13,
12853,
19510,
42482,
11,
6645,
828,
10352,
11,
288,
4906,
28,
30388,
8,
198,
198,
47,
36802,
796,
493,
7,
37659,
13,
28300,
7,
45,
55,
14,
19,
532,
838,
1343,
352,
15306,
198,
47,
1820,
796,
493,
7,
37659,
13,
28300,
7,
12805,
14,
17,
1343,
352,
15306,
198,
198,
45597,
357,
773,
11,
350,
36802,
11,
350,
1820,
11,
1160,
1267,
198,
198,
47,
36802,
796,
493,
7,
37659,
13,
28300,
7,
45,
55,
14,
17,
532,
838,
1343,
352,
15306,
198,
47,
1820,
796,
493,
7,
37659,
13,
28300,
7,
12805,
14,
17,
1343,
352,
15306,
198,
198,
45597,
357,
773,
11,
350,
36802,
11,
350,
1820,
11,
1160,
1267,
198,
198,
47,
36802,
796,
493,
7,
37659,
13,
28300,
7,
18,
9,
45,
55,
14,
19,
532,
838,
220,
1343,
352,
15306,
198,
47,
1820,
796,
493,
7,
37659,
13,
28300,
7,
220,
6645,
14,
17,
1343,
352,
15306,
198,
198,
45597,
357,
773,
11,
350,
36802,
11,
350,
1820,
11,
1160,
1267,
198,
198,
47,
36802,
796,
493,
7,
37659,
13,
28300,
7,
45,
55,
532,
1542,
220,
1343,
352,
15306,
198,
47,
1820,
796,
493,
7,
37659,
13,
28300,
7,
12805,
14,
17,
1343,
352,
15306,
198,
198,
45597,
357,
773,
11,
350,
36802,
11,
350,
1820,
11,
1160,
1267,
198,
198,
2,
350,
34223,
796,
493,
7,
37659,
13,
28300,
7,
45,
55,
14,
17,
532,
8090,
30916,
14,
17,
220,
1343,
352,
15306,
198,
2,
350,
27705,
796,
493,
7,
37659,
13,
28300,
7,
45,
55,
14,
17,
1343,
8090,
30916,
14,
17,
220,
1343,
352,
15306,
198,
198,
2,
350,
893,
796,
493,
7,
37659,
13,
28300,
7,
12805,
14,
17,
532,
8090,
23106,
14,
17,
1343,
352,
15306,
198,
2,
350,
5948,
796,
493,
7,
37659,
13,
28300,
7,
12805,
14,
17,
1343,
8090,
23106,
14,
17,
1343,
352,
15306,
198,
198,
2,
773,
58,
350,
34223,
25,
47,
27705,
11,
350,
893,
25,
47,
893,
2361,
796,
6407,
198,
198,
2235,
15612,
3404,
198,
2,
1623,
579,
499,
198,
4033,
579,
499,
796,
705,
49,
36077,
84,
6,
198,
2,
28114,
6282,
628,
198,
5647,
796,
458,
83,
13,
26875,
7,
5647,
7857,
16193,
1065,
13,
23,
11,
767,
13,
17,
4008,
198,
897,
220,
796,
2336,
13,
2860,
62,
7266,
29487,
7,
16,
11,
16,
11,
16,
8,
198,
66,
897,
220,
796,
7877,
13,
79,
4033,
579,
5069,
7,
31383,
11,
331,
88,
11,
350,
11,
410,
1084,
10779,
16,
11,
410,
9806,
28,
16,
11,
269,
8899,
28,
4033,
579,
499,
8,
198,
897,
13,
2617,
62,
87,
18242,
357,
374,
6,
26545,
720,
87,
3,
1220,
720,
76,
3,
6,
1267,
198,
897,
13,
2617,
62,
2645,
9608,
357,
374,
6,
26545,
720,
88,
3,
1220,
720,
76,
3,
6,
1267,
198,
897,
13,
2617,
62,
87,
2475,
220,
220,
357,
331,
58,
15,
4357,
331,
58,
12,
16,
60,
1267,
198,
897,
13,
2617,
62,
88,
2475,
220,
220,
357,
2124,
58,
15,
4357,
2124,
58,
12,
16,
60,
1267,
198,
198,
5647,
13,
8043,
5657,
7,
66,
897,
8,
198,
198,
5647,
13,
33464,
62,
39786,
3419,
198,
198,
9060,
62,
9662,
796,
7337,
198,
198,
2235,
1037,
9633,
198,
28664,
62,
2502,
62,
81,
8873,
62,
87,
62,
34350,
796,
288,
83,
1220,
357,
374,
8873,
1635,
44332,
1267,
198,
74,
20975,
62,
87,
62,
28664,
62,
2502,
62,
34350,
796,
479,
20975,
1635,
288,
83,
1220,
44332,
198,
198,
4798,
357,
705,
4561,
34961,
4831,
1096,
220,
4064,
405,
13,
18,
69,
8085,
2637,
4064,
357,
44332,
9,
16,
68,
18,
1267,
1267,
198,
4798,
357,
705,
7575,
4831,
1096,
220,
220,
220,
220,
4064,
405,
13,
18,
69,
514,
2637,
4064,
357,
288,
83,
9,
16,
68,
21,
1267,
1267,
198,
4798,
357,
705,
31715,
27468,
414,
4064,
3070,
13,
18,
69,
764,
6,
4064,
357,
479,
20975,
9,
16,
68,
12,
18,
1267,
1267,
198,
4798,
357,
705,
47,
9615,
9647,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
67,
220,
220,
220,
705,
4064,
357,
493,
19510,
16,
13,
15,
14,
19503,
80,
20679,
28664,
8,
1267,
1267,
198,
198,
77,
796,
657,
198,
198,
11227,
796,
11034,
13,
37,
19524,
39520,
7,
5647,
11,
4296,
5647,
11,
13431,
28,
45,
35439,
12,
16,
11,
3849,
2100,
28,
9060,
62,
9662,
11,
698,
270,
28,
17821,
8,
198,
198,
11227,
198,
34379,
796,
11034,
13,
34422,
17816,
487,
43913,
20520,
198,
16002,
796,
26606,
357,
32977,
28,
3064,
11,
20150,
28,
11600,
7,
49016,
11639,
34388,
1747,
11693,
6,
10612,
1643,
4873,
28,
43434,
8,
198,
11227,
13,
21928,
10786,
701,
28664,
62,
330,
21618,
62,
505,
62,
10459,
62,
17,
67,
13,
3149,
19,
3256,
6260,
28,
16002,
1267,
198,
489,
83,
13,
19836,
3419,
628
] | 2.317352 | 1,314 |
from abc import (
ABC,
abstractmethod,
)
from typing import (
Union,
)
| [
6738,
450,
66,
1330,
357,
198,
220,
220,
220,
9738,
11,
198,
220,
220,
220,
12531,
24396,
11,
198,
8,
198,
6738,
19720,
1330,
357,
198,
220,
220,
220,
4479,
11,
198,
8,
628,
198
] | 2.428571 | 35 |
import GPy
from GPyOpt.util.general import get_quantiles
import GPyOpt
import numpy as np
from math import pow, log, sqrt
import pandas as pd
# train_x : history x
# train_y : history y
# num_init : The number of initial sample points
# lsx : the collected x in last round
# lsy : the text function value corresponding to the collected x in last round
# P : Represents the historical confidence level of the acquisition functions in acquisition library
# domain : refer to the information of the variable of BayesianOptimization called by GPyOpt
# f : refer to the optimization objectives information of BayesianOptimization called by GPyOpt
# num_obj : The selected number of acquisition functions that build up multi-objective optimization.
# eta is a hyperparameters
| [
11748,
14714,
88,
201,
198,
6738,
14714,
88,
27871,
13,
22602,
13,
24622,
1330,
651,
62,
40972,
2915,
201,
198,
11748,
14714,
88,
27871,
201,
198,
11748,
299,
32152,
355,
45941,
201,
198,
6738,
10688,
1330,
7182,
11,
2604,
11,
19862,
17034,
201,
198,
11748,
19798,
292,
355,
279,
67,
201,
198,
201,
198,
201,
198,
2,
4512,
62,
87,
1058,
2106,
2124,
201,
198,
2,
4512,
62,
88,
1058,
2106,
331,
201,
198,
2,
997,
62,
15003,
1058,
383,
1271,
286,
4238,
6291,
2173,
201,
198,
2,
43979,
87,
1058,
262,
7723,
2124,
287,
938,
2835,
201,
198,
2,
300,
1837,
1058,
262,
2420,
2163,
1988,
11188,
284,
262,
7723,
2124,
287,
938,
2835,
201,
198,
2,
350,
1058,
1432,
6629,
262,
6754,
6628,
1241,
286,
262,
12673,
5499,
287,
12673,
5888,
201,
198,
2,
7386,
1058,
3522,
284,
262,
1321,
286,
262,
7885,
286,
4696,
35610,
27871,
320,
1634,
1444,
416,
14714,
88,
27871,
201,
198,
2,
277,
1058,
3522,
284,
262,
23989,
15221,
1321,
286,
4696,
35610,
27871,
320,
1634,
1444,
416,
14714,
88,
27871,
201,
198,
2,
997,
62,
26801,
1058,
383,
6163,
1271,
286,
12673,
5499,
326,
1382,
510,
5021,
12,
15252,
425,
23989,
13,
201,
198,
2,
2123,
64,
318,
257,
8718,
17143,
7307,
201,
198
] | 3.726415 | 212 |
# -*- coding: utf-8 -*-
{
'name': "自定义主题界面风格",
'summary': """自定义界面风格模块""",
'description': """用以自定义Odoo界面风格的模块""",
'author': "SuXueFeng",
'website': "https://www.sxfblog.com",
'category': 'style',
'version': '0.1',
'depends': ['base'],
'data': [
'views/WebAssetsBackend.xml',
],
'demo': [
],
}
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
90,
198,
220,
220,
220,
705,
3672,
10354,
366,
164,
229,
103,
22522,
248,
20046,
231,
10310,
119,
165,
95,
246,
45911,
234,
165,
251,
95,
45617,
236,
43718,
120,
1600,
198,
220,
220,
220,
705,
49736,
10354,
37227,
164,
229,
103,
22522,
248,
20046,
231,
45911,
234,
165,
251,
95,
45617,
236,
43718,
120,
162,
101,
94,
161,
251,
245,
15931,
1600,
198,
220,
220,
220,
705,
11213,
10354,
37227,
18796,
101,
20015,
98,
164,
229,
103,
22522,
248,
20046,
231,
46,
67,
2238,
45911,
234,
165,
251,
95,
45617,
236,
43718,
120,
21410,
162,
101,
94,
161,
251,
245,
15931,
1600,
198,
220,
220,
220,
705,
9800,
10354,
366,
5606,
55,
518,
37,
1516,
1600,
198,
220,
220,
220,
705,
732,
12485,
10354,
366,
5450,
1378,
2503,
13,
82,
26152,
14036,
13,
785,
1600,
198,
220,
220,
220,
705,
22872,
10354,
705,
7635,
3256,
198,
220,
220,
220,
705,
9641,
10354,
705,
15,
13,
16,
3256,
198,
220,
220,
220,
705,
10378,
2412,
10354,
37250,
8692,
6,
4357,
198,
220,
220,
220,
705,
7890,
10354,
685,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33571,
14,
13908,
8021,
1039,
7282,
437,
13,
19875,
3256,
198,
220,
220,
220,
16589,
628,
220,
220,
220,
705,
9536,
78,
10354,
685,
198,
220,
220,
220,
16589,
198,
92,
198
] | 1.502146 | 233 |
a = "aaa"
b = "bbb" + "ccc"
d = """ddd
eee
fff""" + "ggg"
l = ["hhh",
"iii" +
"jjj"]
noqa = "k" "l" # noqa: NIC001
noqa = ("k" # noqa: NIC002
"l")
print("abc" + "def", "ghi")
| [
64,
796,
366,
46071,
1,
198,
65,
796,
366,
11848,
65,
1,
1343,
366,
535,
66,
1,
198,
67,
796,
37227,
1860,
67,
198,
1453,
68,
198,
20972,
37811,
1343,
366,
1130,
70,
1,
198,
75,
796,
14631,
49126,
1600,
198,
220,
220,
220,
220,
366,
15479,
1,
1343,
198,
220,
220,
220,
220,
366,
41098,
73,
8973,
198,
3919,
20402,
796,
366,
74,
1,
366,
75,
1,
220,
1303,
645,
20402,
25,
45593,
8298,
198,
3919,
20402,
796,
5855,
74,
1,
220,
1303,
645,
20402,
25,
45593,
21601,
198,
220,
220,
220,
220,
220,
220,
220,
366,
75,
4943,
198,
4798,
7203,
39305,
1,
1343,
366,
4299,
1600,
366,
456,
72,
4943,
198
] | 1.710526 | 114 |
# Generated by Django 2.2.7 on 2019-11-18 16:44
from django.db import migrations, models
import django.db.models.deletion
| [
2,
2980,
515,
416,
37770,
362,
13,
17,
13,
22,
319,
13130,
12,
1157,
12,
1507,
1467,
25,
2598,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
198,
11748,
42625,
14208,
13,
9945,
13,
27530,
13,
2934,
1616,
295,
628
] | 2.818182 | 44 |
from setuptools import setup
import os
env = os.getenv('environment_name') or 'dev'
if env == 'prd':
setup(
name='NHentai-API',
version='0.0.17',
description='NHentai Python API made using webscraping.',
long_description=readme(),
long_description_content_type='text/markdown',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
url='https://github.com/AlexandreSenpai/NHentai-API',
author='AlexandreSenpai',
author_email='[email protected]',
keywords='Tagshentai, nhentai, nhentai.net, API, NSFW',
license='MIT',
packages=['NHentai', 'NHentai.entities', 'NHentai.utils'],
install_requires=['requests', 'beautifulsoup4', 'aiohttp', 'expiringdict'],
include_package_data=True,
zip_safe=False
)
elif env == 'dev':
setup(
name='dev-nhentai-build',
version='0.0.6',
description='NHentai Python API made using webscraping.',
long_description=readme(),
long_description_content_type='text/markdown',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
url='https://github.com/AlexandreSenpai/NHentai-API',
author='AlexandreSenpai',
author_email='[email protected]',
keywords='Tagshentai, nhentai, nhentai.net, API, NSFW',
license='MIT',
packages=['dev_nhentai', 'dev_nhentai.entities', 'dev_nhentai.utils'],
install_requires=['requests', 'beautifulsoup4', 'aiohttp', 'expiringdict'],
include_package_data=True,
zip_safe=False
)
| [
6738,
900,
37623,
10141,
1330,
9058,
198,
11748,
28686,
198,
198,
24330,
796,
28686,
13,
1136,
24330,
10786,
38986,
62,
3672,
11537,
393,
705,
7959,
6,
198,
198,
361,
17365,
6624,
705,
1050,
67,
10354,
198,
220,
220,
220,
9058,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
11639,
33863,
298,
1872,
12,
17614,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
2196,
11639,
15,
13,
15,
13,
1558,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
6764,
11639,
33863,
298,
1872,
11361,
7824,
925,
1262,
3992,
1416,
2416,
278,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
890,
62,
11213,
28,
961,
1326,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
890,
62,
11213,
62,
11299,
62,
4906,
11639,
5239,
14,
4102,
2902,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
513,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18843,
803,
4482,
7904,
7294,
13362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
15309,
49078,
10445,
49712,
14,
33863,
298,
1872,
12,
17614,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1772,
11639,
15309,
49078,
10445,
49712,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1772,
62,
12888,
11639,
1000,
87,
49078,
1443,
859,
418,
31,
8940,
4529,
13,
785,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
26286,
11639,
36142,
6925,
1872,
11,
299,
6925,
1872,
11,
299,
6925,
1872,
13,
3262,
11,
7824,
11,
10896,
24160,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
5964,
11639,
36393,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
10392,
28,
17816,
33863,
298,
1872,
3256,
705,
33863,
298,
1872,
13,
298,
871,
3256,
705,
33863,
298,
1872,
13,
26791,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
2721,
62,
47911,
28,
17816,
8897,
3558,
3256,
705,
40544,
4135,
82,
10486,
19,
3256,
705,
64,
952,
4023,
3256,
705,
11201,
3428,
11600,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
2291,
62,
26495,
62,
7890,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
19974,
62,
21230,
28,
25101,
198,
220,
220,
220,
1267,
198,
417,
361,
17365,
6624,
705,
7959,
10354,
198,
220,
220,
220,
9058,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
11639,
7959,
12,
77,
6925,
1872,
12,
11249,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
2196,
11639,
15,
13,
15,
13,
21,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
6764,
11639,
33863,
298,
1872,
11361,
7824,
925,
1262,
3992,
1416,
2416,
278,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
890,
62,
11213,
28,
961,
1326,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
890,
62,
11213,
62,
11299,
62,
4906,
11639,
5239,
14,
4102,
2902,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
513,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
18843,
803,
4482,
7904,
7294,
13362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
15309,
49078,
10445,
49712,
14,
33863,
298,
1872,
12,
17614,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1772,
11639,
15309,
49078,
10445,
49712,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1772,
62,
12888,
11639,
1000,
87,
49078,
1443,
859,
418,
31,
8940,
4529,
13,
785,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
26286,
11639,
36142,
6925,
1872,
11,
299,
6925,
1872,
11,
299,
6925,
1872,
13,
3262,
11,
7824,
11,
10896,
24160,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
5964,
11639,
36393,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
10392,
28,
17816,
7959,
62,
77,
6925,
1872,
3256,
705,
7959,
62,
77,
6925,
1872,
13,
298,
871,
3256,
705,
7959,
62,
77,
6925,
1872,
13,
26791,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
2721,
62,
47911,
28,
17816,
8897,
3558,
3256,
705,
40544,
4135,
82,
10486,
19,
3256,
705,
64,
952,
4023,
3256,
705,
11201,
3428,
11600,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
2291,
62,
26495,
62,
7890,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
19974,
62,
21230,
28,
25101,
198,
220,
220,
220,
1267,
198
] | 2.250605 | 826 |
# coding=utf-8
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
from unittest import TestCase
from mock import Mock
from pyqrllib.pyqrllib import bin2hstr, hstr2bin
from qrl.daemon.walletd import WalletD
from qrl.generated import qrl_pb2
from qrl.core.txs.TransferTransaction import TransferTransaction
from qrl.core.Wallet import WalletDecryptionError
from qrl.core.misc import logger
from tests.misc.helper import set_qrl_dir, get_alice_xmss, get_bob_xmss
logger.initialize_default()
| [
2,
19617,
28,
40477,
12,
23,
198,
2,
4307,
6169,
739,
262,
17168,
3788,
5964,
11,
766,
262,
19249,
198,
2,
2393,
38559,
24290,
393,
2638,
1378,
2503,
13,
44813,
1668,
13,
2398,
14,
677,
4541,
14,
2781,
12,
43085,
13,
10121,
13,
198,
6738,
555,
715,
395,
1330,
6208,
20448,
198,
198,
6738,
15290,
1330,
44123,
198,
6738,
12972,
80,
81,
297,
571,
13,
9078,
80,
81,
297,
571,
1330,
9874,
17,
71,
2536,
11,
289,
2536,
17,
8800,
198,
198,
6738,
10662,
45895,
13,
6814,
7966,
13,
44623,
67,
1330,
37249,
35,
198,
6738,
10662,
45895,
13,
27568,
1330,
10662,
45895,
62,
40842,
17,
198,
6738,
10662,
45895,
13,
7295,
13,
17602,
82,
13,
43260,
48720,
1330,
20558,
48720,
198,
6738,
10662,
45895,
13,
7295,
13,
47152,
1330,
37249,
10707,
13168,
12331,
198,
6738,
10662,
45895,
13,
7295,
13,
44374,
1330,
49706,
198,
6738,
5254,
13,
44374,
13,
2978,
525,
1330,
900,
62,
80,
45895,
62,
15908,
11,
651,
62,
282,
501,
62,
87,
76,
824,
11,
651,
62,
65,
672,
62,
87,
76,
824,
198,
198,
6404,
1362,
13,
36733,
1096,
62,
12286,
3419,
628
] | 3.074468 | 188 |
"""
Revision ID: 23184a5b4714
Revises: 2fcbb8a6de94
Create Date: 2017-05-29 17:13:59.813275
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '23184a5b4714'
down_revision = '2fcbb8a6de94'
branch_labels = None
depends_on = None
| [
37811,
198,
198,
18009,
1166,
4522,
25,
2242,
22883,
64,
20,
65,
2857,
1415,
198,
18009,
2696,
25,
362,
16072,
11848,
23,
64,
21,
2934,
5824,
198,
16447,
7536,
25,
2177,
12,
2713,
12,
1959,
1596,
25,
1485,
25,
3270,
13,
23,
1485,
23195,
198,
198,
37811,
198,
6738,
31341,
2022,
291,
1330,
1034,
198,
11748,
44161,
282,
26599,
355,
473,
628,
198,
2,
18440,
42814,
11,
973,
416,
9300,
2022,
291,
13,
198,
260,
10178,
796,
705,
1954,
22883,
64,
20,
65,
2857,
1415,
6,
198,
2902,
62,
260,
10178,
796,
705,
17,
16072,
11848,
23,
64,
21,
2934,
5824,
6,
198,
1671,
3702,
62,
23912,
1424,
796,
6045,
198,
10378,
2412,
62,
261,
796,
6045,
628,
198
] | 2.403361 | 119 |
"""
To do
get hanja
get multiple definitions on page
example sentences
"""
from bs4 import BeautifulSoup
import urllib.request
import urllib.parse
import time
import re
import random
defin = []
class NaverDict:
"""
This class looks up korean vocabulary words using the
Naver korean-english dictionary.
"""
def get_def(self, org_word):
"""
Looks up the word givein the params and returns a
list of tuples of definitons because
there may be more than one definition for words.
If the definition was not found returns None
"""
kor_word = None
eng_defs = ""
eng_def = ""
hanja = None
#convert word from hangul into the percent characters
#example converts korean word to %ED%95%9C%EB%B2%88
word = urllib.parse.quote(org_word)
#put word in url
url = self.url.replace('[word]', word)
#time.sleep(random.randrange(4,10))
html = urllib.request.urlopen(url)
soup = BeautifulSoup(html, 'html.parser')
#returns a list of tag objects
kor_word = soup.find(True, {'class':['first']})
try:
kor_word = kor_word.span.a.string
eng_defs = soup.find(True, {'class':['list_e2']}).dd.div.p.span
#print(eng_def.children)
for string in eng_defs.stripped_strings:
eng_def += str(string) + " "
#eng_def = eng_def.dd.div.p.string
except Exception as e:
#could not find word in naver dic
return None
#dont forget to get the hanja
if kor_word is None:
kor_word = org_word
return [(org_word, kor_word, eng_def)]
naver_dic = NaverDict()
word = input("enter word: ")
print(naver_dic.get_def(word))
| [
37811,
198,
2514,
466,
198,
1136,
289,
272,
6592,
198,
1136,
3294,
17336,
319,
2443,
198,
20688,
13439,
198,
37811,
198,
198,
6738,
275,
82,
19,
1330,
23762,
50,
10486,
198,
11748,
2956,
297,
571,
13,
25927,
198,
11748,
2956,
297,
571,
13,
29572,
198,
11748,
640,
198,
11748,
302,
198,
11748,
4738,
198,
198,
4299,
259,
796,
17635,
198,
198,
4871,
399,
8770,
35,
713,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
770,
1398,
3073,
510,
479,
29456,
25818,
2456,
1262,
262,
198,
220,
220,
220,
399,
8770,
479,
29456,
12,
39126,
22155,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
651,
62,
4299,
7,
944,
11,
8745,
62,
4775,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
29403,
510,
262,
1573,
1577,
259,
262,
42287,
290,
5860,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
286,
12777,
2374,
286,
2730,
270,
684,
780,
198,
220,
220,
220,
220,
220,
220,
220,
612,
743,
307,
517,
621,
530,
6770,
329,
2456,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1002,
262,
6770,
373,
407,
1043,
5860,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
628,
220,
220,
220,
220,
220,
220,
220,
479,
273,
62,
4775,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1786,
62,
4299,
82,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
1786,
62,
4299,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
289,
272,
6592,
796,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1102,
1851,
1573,
422,
8181,
377,
656,
262,
1411,
3435,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
20688,
26161,
479,
29456,
1573,
284,
4064,
1961,
4,
3865,
4,
24,
34,
4,
30195,
4,
33,
17,
4,
3459,
198,
220,
220,
220,
220,
220,
220,
220,
1573,
796,
2956,
297,
571,
13,
29572,
13,
22708,
7,
2398,
62,
4775,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1996,
1573,
287,
19016,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
6371,
13,
33491,
10786,
58,
4775,
60,
3256,
1573,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2435,
13,
42832,
7,
25120,
13,
25192,
9521,
7,
19,
11,
940,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
27711,
796,
2956,
297,
571,
13,
25927,
13,
6371,
9654,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
17141,
796,
23762,
50,
10486,
7,
6494,
11,
705,
6494,
13,
48610,
11537,
628,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
7783,
82,
257,
1351,
286,
7621,
5563,
198,
220,
220,
220,
220,
220,
220,
220,
479,
273,
62,
4775,
796,
17141,
13,
19796,
7,
17821,
11,
1391,
6,
4871,
10354,
17816,
11085,
20520,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
273,
62,
4775,
796,
479,
273,
62,
4775,
13,
12626,
13,
64,
13,
8841,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1786,
62,
4299,
82,
796,
17141,
13,
19796,
7,
17821,
11,
1391,
6,
4871,
10354,
17816,
4868,
62,
68,
17,
20520,
92,
737,
1860,
13,
7146,
13,
79,
13,
12626,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4798,
7,
1516,
62,
4299,
13,
17197,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4731,
287,
1786,
62,
4299,
82,
13,
33565,
1496,
62,
37336,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1786,
62,
4299,
15853,
965,
7,
8841,
8,
1343,
366,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1516,
62,
4299,
796,
1786,
62,
4299,
13,
1860,
13,
7146,
13,
79,
13,
8841,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
24089,
407,
1064,
1573,
287,
299,
8770,
288,
291,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
67,
756,
6044,
284,
651,
262,
289,
272,
6592,
628,
220,
220,
220,
220,
220,
220,
220,
611,
479,
273,
62,
4775,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
479,
273,
62,
4775,
796,
8745,
62,
4775,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
47527,
2398,
62,
4775,
11,
479,
273,
62,
4775,
11,
1786,
62,
4299,
15437,
198,
198,
2616,
332,
62,
67,
291,
796,
399,
8770,
35,
713,
3419,
198,
4775,
796,
5128,
7203,
9255,
1573,
25,
366,
8,
198,
4798,
7,
2616,
332,
62,
67,
291,
13,
1136,
62,
4299,
7,
4775,
4008,
198
] | 2.216381 | 818 |
import logging
import owlready2
import tqdm
import auto.auto
logger = logging.getLogger(__name__)
_CACHED_CP_CLASSES = dict()
class Scene_Criticality_Phenomenon(Criticality_Phenomenon):
"""
Concretization for scene-level criticality phenomena. Note that member traffic_model is a list of scenes.
"""
class Scenario_Criticality_Phenomenon(Criticality_Phenomenon):
"""
Concretization for scenario-level criticality phenomena.
"""
def phenomena_scenario(scenario: list or owlready2.World) -> list:
"""
scenario: Either a list of worlds, each world representing a single scene or a single world representing a whole
scenario
returns: A list of criticality phenomena objects (either scene or scenario) sorted by temporal occurrence
"""
cps = []
if type(scenario) == list:
for scene in scenario:
tm = auto.auto.get_ontology(auto.auto.Ontology.Traffic_Model, scene)
cp_ont = auto.auto.get_ontology(auto.auto.Ontology.Criticality_Phenomena, scene)
scenes = list(tm.search(type=tm.Scene))
if len(scenes) > 0:
for scene_cp in scenario.search(type=cp_ont.Criticality_Phenomenon):
scene_cp_obj = Scene_Criticality_Phenomenon(scenes[0], scene_cp, None) # TODO
cps.append(scene_cp_obj)
else:
raise ValueError("No scenes found in scene world " + str(scene))
elif type(scenario) == owlready2.World:
tm = auto.auto.get_ontology(auto.auto.Ontology.Traffic_Model, scenario)
ac = auto.auto.get_ontology(auto.auto.Ontology.Act, scenario)
ti = auto.auto.get_ontology(auto.auto.Ontology.Time, scenario)
cp_ont = auto.auto.get_ontology(auto.auto.Ontology.Criticality_Phenomena, scenario)
scenarios = list(scenario.search(type=tm.Scenario))
if len(scenarios) > 0:
if logger.level == logging.DEBUG:
search_space = tqdm.tqdm(list(scenario.search(type=cp_ont.Criticality_Phenomenon)))
else:
search_space = scenario.search(type=cp_ont.Criticality_Phenomenon)
for cp in search_space:
cp_clss = list(filter(lambda x: x in scenario.classes(),
[y for y in cp.INDIRECT_is_a if hasattr(y, "namespace") and y.namespace.base_iri
== "http://purl.org/auto/criticality_phenomena#"]))
most_specific_cp_clss = [cp_cls for cp_cls in cp_clss if hasattr(cp_cls, "__subclasses__") and
len(set(cp_cls.__subclasses__()).intersection(set(cp_clss))) == 0]
for cp_cls in most_specific_cp_clss:
objects = [None]
if len(cp_cls.object_extraction_code) > 0:
try:
local_dict = {"subject": cp, "subjects": []}
exec(cp_cls.object_extraction_code[0], globals(), local_dict)
objects = local_dict["objects"] or []
except Exception as e:
logger.error("Invalid object extraction code in OWL during CP extraction of: " + str(cp) +
" (" + str(cp_cls) + "): " + str(e))
for object_dict in objects:
if set(cp.INDIRECT_is_a).intersection({ac.Activity, ti.Interval}):
scenario_cp_obj = Scenario_Criticality_Phenomenon(scenarios[0], cp, cp_cls, object_dict)
cps.append(scenario_cp_obj)
elif len(cp.in_traffic_model) > 0 and tm.Scene in cp.in_traffic_model[0].INDIRECT_is_a:
scene_cp_obj = Scene_Criticality_Phenomenon(cp.in_traffic_model, cp, cp_cls, object_dict)
cps.append(scene_cp_obj)
else:
raise ValueError("CP with no scene or scenario found: " + str(cp))
else:
raise ValueError("No scenario found in scenario world " + str(scenario))
else:
raise ValueError("Wrong scenario type: neither a list nor a world, but found " + str(type(scenario)))
cps.sort(key=lambda x: x.time if type(x) is Scene_Criticality_Phenomenon else x.time[0])
return cps
def list_cps(cps: list, output_format="natural", world=None, print_non_visualizable_info=False) -> str:
"""
Lists the given criticality phenomena in a given output format. If a world is given, checks if the phenomena are
visualizable in the traffic model of the world.
If format is natural, it returns a string of lines where each line represents the string represention of the CP.
If format is csv, it returns a string of ;-separated CSV lines including a file header of the format
'Start Time;End Time;Criticality Phenomenon;Subject(s);Object(s)[;Visualizable In Scene]'.
:param cps: A list of criticality phenomena
:param output_format: "natural" or ("csv" or "csv-file" (no difference))
:param world: The world with the traffic model of the CP list
:param print_non_visualizable_info: Whether to check if CPs
:return: A string with each line representing a criticality phenomenon
"""
output = ""
scene_cps = []
if print_non_visualizable_info and world:
tm = auto.auto.get_ontology(auto.auto.Ontology.Traffic_Model, world)
scenes = list(filter(lambda x: tm.Scene in x.is_a, world.search(type=tm.Scenario)[0].has_traffic_model))
for scene in scenes:
scene_cps += [cp for cp in cps if cp.is_representable_in_scene(scene)]
if output_format == "natural":
output += "Result:\n"
elif output_format == "csv" or output_format == "csv-file":
csv_header = "Start Time;End Time;Criticality Phenomenon;Subject(s);Object(s)"
if print_non_visualizable_info and world:
csv_header += ";Visualizable In Scene"
output += csv_header + "\n"
if len(cps) > 0:
for cp in cps:
if output_format == "natural":
visualizable = ""
if print_non_visualizable_info and world:
if cp not in scene_cps:
visualizable = "[Non visualizable] "
output += visualizable + str(cp) + "\n"
elif output_format == "csv" or output_format == "csv-file":
visualizable = ""
if print_non_visualizable_info and world:
visualizable = ";" + str(cp in scene_cps)
output += cp.to_csv() + visualizable + "\n"
elif output_format == "natural":
output += "No criticality phenomenon found.\n"
return output[:-1]
def _get_individual_id(individual) -> str:
"""
Returns a unique identifier as string for the given individual.
:param individual: The individual to get the ID for.
:return: A string representing the ID.
"""
if hasattr(individual, "identifier") and (isinstance(individual.identifier, list) and
len(individual.identifier) > 0 and
type(individual.identifier[0]) in [int, str]) or (
type(individual.identifier) in [int, str]):
return str(individual.identifier[0])
else:
return str(individual)
def get_most_specific_classes(list_of_individuals, caching=True):
"""
Helper function that looks up the subsumption hierarchy and returns the most specific classes of a list of
individuals(i.e. removes all classes that are a parent of some class of the individuals). It looks only at the
subsumption hierarchy spanned by the domain (L1-L6) and perception, physics, and act ontologies.
:param list_of_individuals: A list of individuals
:return: A list of tuples containing the individual in the first entry and a list of most specific classes in the
second entry (as strings)
"""
res = []
noncached_list_of_individuals = []
if caching:
for i in list_of_individuals:
if i in _CACHED_CP_CLASSES.keys():
i_id = _get_individual_id(i)
res.append((i_id, _CACHED_CP_CLASSES[i]))
else:
noncached_list_of_individuals.append(i)
relevant_iris = [auto.auto.Ontology.L1_Core.value, auto.auto.Ontology.L2_Core.value,
auto.auto.Ontology.L3_Core.value, auto.auto.Ontology.L4_Core.value,
auto.auto.Ontology.L5_Core.value, auto.auto.Ontology.L6_Core.value, auto.auto.Ontology.L1_DE.value,
auto.auto.Ontology.L2_DE.value, auto.auto.Ontology.L3_DE.value, auto.auto.Ontology.L4_DE.value,
auto.auto.Ontology.L5_DE.value, auto.auto.Ontology.L6_DE.value]
relevant_additional_iris = [auto.auto.Ontology.Perception.value, auto.auto.Ontology.Physics.value,
auto.auto.Ontology.Act.value]
for individual in noncached_list_of_individuals:
relevant_classes = [x for x in individual.namespace.ontology.classes() if x.namespace.base_iri in relevant_iris]
relevant_additional_classes = [x for x in individual.namespace.ontology.classes() if x.namespace.base_iri in
relevant_additional_iris]
individual_clss = list(filter(lambda x: x in relevant_classes, individual.INDIRECT_is_a))
if len(individual_clss) == 0:
# Retry finding something outside of domain ontologies, e.g. physics
individual_clss = list(filter(lambda x: x in relevant_additional_classes, individual.INDIRECT_is_a))
individual_id = _get_individual_id(individual)
most_specific_individual_clss = [str(individual_cls) for individual_cls in individual_clss if
hasattr(individual_cls, "__subclasses__") and len(
set(individual_cls.__subclasses__()).intersection(set(individual_clss)))
== 0]
res.append((individual_id, most_specific_individual_clss))
if caching:
_CACHED_CP_CLASSES[individual] = most_specific_individual_clss
return res
| [
11748,
18931,
198,
11748,
39610,
1493,
17,
198,
11748,
256,
80,
36020,
198,
198,
11748,
8295,
13,
23736,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
198,
62,
34,
16219,
1961,
62,
8697,
62,
31631,
1546,
796,
8633,
3419,
628,
198,
198,
4871,
28315,
62,
41000,
414,
62,
47,
831,
3674,
261,
7,
41000,
414,
62,
47,
831,
3674,
261,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
13223,
1186,
1634,
329,
3715,
12,
5715,
4688,
414,
19428,
13,
5740,
326,
2888,
4979,
62,
19849,
318,
257,
1351,
286,
8188,
13,
198,
220,
220,
220,
37227,
628,
198,
4871,
1446,
39055,
62,
41000,
414,
62,
47,
831,
3674,
261,
7,
41000,
414,
62,
47,
831,
3674,
261,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
13223,
1186,
1634,
329,
8883,
12,
5715,
4688,
414,
19428,
13,
198,
220,
220,
220,
37227,
628,
198,
4299,
19428,
62,
1416,
39055,
7,
1416,
39055,
25,
1351,
393,
39610,
1493,
17,
13,
10603,
8,
4613,
1351,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8883,
25,
15467,
257,
1351,
286,
11621,
11,
1123,
995,
10200,
257,
2060,
3715,
393,
257,
2060,
995,
10200,
257,
2187,
198,
220,
220,
220,
220,
220,
220,
220,
8883,
198,
220,
220,
220,
5860,
25,
317,
1351,
286,
4688,
414,
19428,
5563,
357,
31336,
3715,
393,
8883,
8,
23243,
416,
21964,
19810,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
269,
862,
796,
17635,
198,
220,
220,
220,
611,
2099,
7,
1416,
39055,
8,
6624,
1351,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3715,
287,
8883,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
76,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
15721,
2108,
62,
17633,
11,
3715,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31396,
62,
756,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
41000,
414,
62,
47,
831,
3674,
64,
11,
3715,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8188,
796,
1351,
7,
17209,
13,
12947,
7,
4906,
28,
17209,
13,
36542,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
28123,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
3715,
62,
13155,
287,
8883,
13,
12947,
7,
4906,
28,
13155,
62,
756,
13,
41000,
414,
62,
47,
831,
3674,
261,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3715,
62,
13155,
62,
26801,
796,
28315,
62,
41000,
414,
62,
47,
831,
3674,
261,
7,
28123,
58,
15,
4357,
3715,
62,
13155,
11,
6045,
8,
220,
1303,
16926,
46,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
862,
13,
33295,
7,
29734,
62,
13155,
62,
26801,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
2949,
8188,
1043,
287,
3715,
995,
366,
1343,
965,
7,
29734,
4008,
628,
220,
220,
220,
1288,
361,
2099,
7,
1416,
39055,
8,
6624,
39610,
1493,
17,
13,
10603,
25,
198,
220,
220,
220,
220,
220,
220,
220,
256,
76,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
15721,
2108,
62,
17633,
11,
8883,
8,
198,
220,
220,
220,
220,
220,
220,
220,
936,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
6398,
11,
8883,
8,
198,
220,
220,
220,
220,
220,
220,
220,
46668,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
7575,
11,
8883,
8,
198,
220,
220,
220,
220,
220,
220,
220,
31396,
62,
756,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
41000,
414,
62,
47,
831,
3674,
64,
11,
8883,
8,
198,
220,
220,
220,
220,
220,
220,
220,
13858,
796,
1351,
7,
1416,
39055,
13,
12947,
7,
4906,
28,
17209,
13,
3351,
39055,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
1416,
268,
13010,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
49706,
13,
5715,
6624,
18931,
13,
30531,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
13200,
796,
256,
80,
36020,
13,
83,
80,
36020,
7,
4868,
7,
1416,
39055,
13,
12947,
7,
4906,
28,
13155,
62,
756,
13,
41000,
414,
62,
47,
831,
3674,
261,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2989,
62,
13200,
796,
8883,
13,
12947,
7,
4906,
28,
13155,
62,
756,
13,
41000,
414,
62,
47,
831,
3674,
261,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
31396,
287,
2989,
62,
13200,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
31396,
62,
565,
824,
796,
1351,
7,
24455,
7,
50033,
2124,
25,
2124,
287,
8883,
13,
37724,
22784,
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,
685,
88,
329,
331,
287,
31396,
13,
12115,
40,
23988,
62,
271,
62,
64,
611,
468,
35226,
7,
88,
11,
366,
14933,
10223,
4943,
290,
331,
13,
14933,
10223,
13,
8692,
62,
14783,
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,
6624,
366,
4023,
1378,
79,
6371,
13,
2398,
14,
23736,
14,
34666,
414,
62,
31024,
3674,
64,
2,
8973,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
749,
62,
11423,
62,
13155,
62,
565,
824,
796,
685,
13155,
62,
565,
82,
329,
31396,
62,
565,
82,
287,
31396,
62,
565,
824,
611,
468,
35226,
7,
13155,
62,
565,
82,
11,
366,
834,
7266,
37724,
834,
4943,
290,
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,
18896,
7,
2617,
7,
13155,
62,
565,
82,
13,
834,
7266,
37724,
834,
3419,
737,
3849,
5458,
7,
2617,
7,
13155,
62,
565,
824,
22305,
6624,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
31396,
62,
565,
82,
287,
749,
62,
11423,
62,
13155,
62,
565,
824,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5563,
796,
685,
14202,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
13155,
62,
565,
82,
13,
15252,
62,
2302,
7861,
62,
8189,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1957,
62,
11600,
796,
19779,
32796,
1298,
31396,
11,
366,
32796,
82,
1298,
17635,
92,
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,
2452,
7,
13155,
62,
565,
82,
13,
15252,
62,
2302,
7861,
62,
8189,
58,
15,
4357,
15095,
874,
22784,
1957,
62,
11600,
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,
220,
220,
220,
220,
5563,
796,
1957,
62,
11600,
14692,
48205,
8973,
393,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
355,
304,
25,
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,
49706,
13,
18224,
7203,
44651,
2134,
22236,
2438,
287,
47210,
43,
1141,
16932,
22236,
286,
25,
366,
1343,
965,
7,
13155,
8,
1343,
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,
366,
5855,
1343,
965,
7,
13155,
62,
565,
82,
8,
1343,
366,
2599,
366,
1343,
965,
7,
68,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2134,
62,
11600,
287,
5563,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
900,
7,
13155,
13,
12115,
40,
23988,
62,
271,
62,
64,
737,
3849,
5458,
15090,
330,
13,
16516,
11,
46668,
13,
9492,
2100,
92,
2599,
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,
8883,
62,
13155,
62,
26801,
796,
1446,
39055,
62,
41000,
414,
62,
47,
831,
3674,
261,
7,
1416,
268,
13010,
58,
15,
4357,
31396,
11,
31396,
62,
565,
82,
11,
2134,
62,
11600,
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,
220,
220,
220,
220,
269,
862,
13,
33295,
7,
1416,
39055,
62,
13155,
62,
26801,
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,
1288,
361,
18896,
7,
13155,
13,
259,
62,
9535,
2108,
62,
19849,
8,
1875,
657,
290,
256,
76,
13,
36542,
287,
31396,
13,
259,
62,
9535,
2108,
62,
19849,
58,
15,
4083,
12115,
40,
23988,
62,
271,
62,
64,
25,
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,
3715,
62,
13155,
62,
26801,
796,
28315,
62,
41000,
414,
62,
47,
831,
3674,
261,
7,
13155,
13,
259,
62,
9535,
2108,
62,
19849,
11,
31396,
11,
31396,
62,
565,
82,
11,
2134,
62,
11600,
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,
220,
220,
220,
220,
269,
862,
13,
33295,
7,
29734,
62,
13155,
62,
26801,
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,
25,
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,
5298,
11052,
12331,
7203,
8697,
351,
645,
3715,
393,
8883,
1043,
25,
366,
1343,
965,
7,
13155,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
2949,
8883,
1043,
287,
8883,
995,
366,
1343,
965,
7,
1416,
39055,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
39213,
506,
8883,
2099,
25,
6159,
257,
1351,
4249,
257,
995,
11,
475,
1043,
366,
1343,
965,
7,
4906,
7,
1416,
39055,
22305,
628,
220,
220,
220,
269,
862,
13,
30619,
7,
2539,
28,
50033,
2124,
25,
2124,
13,
2435,
611,
2099,
7,
87,
8,
318,
28315,
62,
41000,
414,
62,
47,
831,
3674,
261,
2073,
2124,
13,
2435,
58,
15,
12962,
628,
220,
220,
220,
1441,
269,
862,
628,
198,
4299,
1351,
62,
66,
862,
7,
66,
862,
25,
1351,
11,
5072,
62,
18982,
2625,
11802,
1600,
995,
28,
14202,
11,
3601,
62,
13159,
62,
41464,
13821,
62,
10951,
28,
25101,
8,
4613,
965,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
44968,
262,
1813,
4688,
414,
19428,
287,
257,
1813,
5072,
5794,
13,
1002,
257,
995,
318,
1813,
11,
8794,
611,
262,
19428,
389,
198,
220,
220,
220,
5874,
13821,
287,
262,
4979,
2746,
286,
262,
995,
13,
198,
220,
220,
220,
1002,
5794,
318,
3288,
11,
340,
5860,
257,
4731,
286,
3951,
810,
1123,
1627,
6870,
262,
4731,
1128,
411,
1463,
286,
262,
16932,
13,
198,
220,
220,
220,
1002,
5794,
318,
269,
21370,
11,
340,
5860,
220,
257,
4731,
286,
2162,
12,
25512,
515,
44189,
3951,
1390,
257,
2393,
13639,
286,
262,
5794,
198,
220,
220,
220,
705,
10434,
3862,
26,
12915,
3862,
26,
41000,
414,
34828,
3674,
261,
26,
19776,
7,
82,
1776,
10267,
7,
82,
38381,
26,
36259,
13821,
554,
28315,
60,
4458,
198,
220,
220,
220,
1058,
17143,
269,
862,
25,
317,
1351,
286,
4688,
414,
19428,
198,
220,
220,
220,
1058,
17143,
5072,
62,
18982,
25,
366,
11802,
1,
393,
5855,
40664,
1,
393,
366,
40664,
12,
7753,
1,
357,
3919,
3580,
4008,
198,
220,
220,
220,
1058,
17143,
995,
25,
383,
995,
351,
262,
4979,
2746,
286,
262,
16932,
1351,
198,
220,
220,
220,
1058,
17143,
3601,
62,
13159,
62,
41464,
13821,
62,
10951,
25,
10127,
284,
2198,
611,
327,
12016,
198,
220,
220,
220,
1058,
7783,
25,
317,
4731,
351,
1123,
1627,
10200,
257,
4688,
414,
10733,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5072,
796,
13538,
198,
220,
220,
220,
3715,
62,
66,
862,
796,
17635,
198,
220,
220,
220,
611,
3601,
62,
13159,
62,
41464,
13821,
62,
10951,
290,
995,
25,
198,
220,
220,
220,
220,
220,
220,
220,
256,
76,
796,
8295,
13,
23736,
13,
1136,
62,
756,
1435,
7,
23736,
13,
23736,
13,
45984,
1435,
13,
15721,
2108,
62,
17633,
11,
995,
8,
198,
220,
220,
220,
220,
220,
220,
220,
8188,
796,
1351,
7,
24455,
7,
50033,
2124,
25,
256,
76,
13,
36542,
287,
2124,
13,
271,
62,
64,
11,
995,
13,
12947,
7,
4906,
28,
17209,
13,
3351,
39055,
38381,
15,
4083,
10134,
62,
9535,
2108,
62,
19849,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3715,
287,
8188,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3715,
62,
66,
862,
15853,
685,
13155,
329,
31396,
287,
269,
862,
611,
31396,
13,
271,
62,
15603,
540,
62,
259,
62,
29734,
7,
29734,
15437,
198,
220,
220,
220,
611,
5072,
62,
18982,
6624,
366,
11802,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
366,
23004,
7479,
77,
1,
198,
220,
220,
220,
1288,
361,
5072,
62,
18982,
6624,
366,
40664,
1,
393,
5072,
62,
18982,
6624,
366,
40664,
12,
7753,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
25677,
796,
366,
10434,
3862,
26,
12915,
3862,
26,
41000,
414,
34828,
3674,
261,
26,
19776,
7,
82,
1776,
10267,
7,
82,
16725,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3601,
62,
13159,
62,
41464,
13821,
62,
10951,
290,
995,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
25677,
15853,
366,
26,
36259,
13821,
554,
28315,
1,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
269,
21370,
62,
25677,
1343,
37082,
77,
1,
198,
220,
220,
220,
611,
18896,
7,
66,
862,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
31396,
287,
269,
862,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5072,
62,
18982,
6624,
366,
11802,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5874,
13821,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3601,
62,
13159,
62,
41464,
13821,
62,
10951,
290,
995,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
31396,
407,
287,
3715,
62,
66,
862,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5874,
13821,
796,
12878,
15419,
5874,
13821,
60,
366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
5874,
13821,
1343,
965,
7,
13155,
8,
1343,
37082,
77,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
5072,
62,
18982,
6624,
366,
40664,
1,
393,
5072,
62,
18982,
6624,
366,
40664,
12,
7753,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5874,
13821,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3601,
62,
13159,
62,
41464,
13821,
62,
10951,
290,
995,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5874,
13821,
796,
366,
26033,
1343,
965,
7,
13155,
287,
3715,
62,
66,
862,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
31396,
13,
1462,
62,
40664,
3419,
1343,
5874,
13821,
1343,
37082,
77,
1,
198,
220,
220,
220,
1288,
361,
5072,
62,
18982,
6624,
366,
11802,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
366,
2949,
4688,
414,
10733,
1043,
13,
59,
77,
1,
198,
220,
220,
220,
1441,
5072,
58,
21912,
16,
60,
628,
198,
4299,
4808,
1136,
62,
43129,
62,
312,
7,
43129,
8,
4613,
965,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16409,
257,
3748,
27421,
355,
4731,
329,
262,
1813,
1981,
13,
198,
220,
220,
220,
1058,
17143,
1981,
25,
383,
1981,
284,
651,
262,
4522,
329,
13,
198,
220,
220,
220,
1058,
7783,
25,
317,
4731,
10200,
262,
4522,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
468,
35226,
7,
43129,
11,
366,
738,
7483,
4943,
290,
357,
271,
39098,
7,
43129,
13,
738,
7483,
11,
1351,
8,
290,
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,
18896,
7,
43129,
13,
738,
7483,
8,
1875,
657,
290,
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,
2099,
7,
43129,
13,
738,
7483,
58,
15,
12962,
287,
685,
600,
11,
965,
12962,
393,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2099,
7,
43129,
13,
738,
7483,
8,
287,
685,
600,
11,
965,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
965,
7,
43129,
13,
738,
7483,
58,
15,
12962,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
965,
7,
43129,
8,
628,
198,
4299,
651,
62,
1712,
62,
11423,
62,
37724,
7,
4868,
62,
1659,
62,
43129,
82,
11,
40918,
28,
17821,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5053,
525,
2163,
326,
3073,
510,
262,
6352,
24098,
18911,
290,
5860,
262,
749,
2176,
6097,
286,
257,
1351,
286,
198,
220,
220,
220,
3925,
7,
72,
13,
68,
13,
20694,
477,
6097,
326,
389,
257,
2560,
286,
617,
1398,
286,
262,
3925,
737,
632,
3073,
691,
379,
262,
198,
220,
220,
220,
6352,
24098,
18911,
599,
3577,
416,
262,
7386,
357,
43,
16,
12,
43,
21,
8,
290,
11202,
11,
11887,
11,
290,
719,
39585,
5823,
13,
198,
220,
220,
220,
1058,
17143,
1351,
62,
1659,
62,
43129,
82,
25,
317,
1351,
286,
3925,
198,
220,
220,
220,
1058,
7783,
25,
317,
1351,
286,
12777,
2374,
7268,
262,
1981,
287,
262,
717,
5726,
290,
257,
1351,
286,
749,
2176,
6097,
287,
262,
198,
220,
220,
220,
1218,
5726,
357,
292,
13042,
8,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
581,
796,
17635,
198,
220,
220,
220,
1729,
66,
2317,
62,
4868,
62,
1659,
62,
43129,
82,
796,
17635,
198,
220,
220,
220,
611,
40918,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
1351,
62,
1659,
62,
43129,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
287,
4808,
34,
16219,
1961,
62,
8697,
62,
31631,
1546,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
312,
796,
4808,
1136,
62,
43129,
62,
312,
7,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
13,
33295,
19510,
72,
62,
312,
11,
4808,
34,
16219,
1961,
62,
8697,
62,
31631,
1546,
58,
72,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1729,
66,
2317,
62,
4868,
62,
1659,
62,
43129,
82,
13,
33295,
7,
72,
8,
198,
220,
220,
220,
5981,
62,
29616,
796,
685,
23736,
13,
23736,
13,
45984,
1435,
13,
43,
16,
62,
14055,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
17,
62,
14055,
13,
8367,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
18,
62,
14055,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
19,
62,
14055,
13,
8367,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
20,
62,
14055,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
21,
62,
14055,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
16,
62,
7206,
13,
8367,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
17,
62,
7206,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
18,
62,
7206,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
19,
62,
7206,
13,
8367,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
20,
62,
7206,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
43,
21,
62,
7206,
13,
8367,
60,
198,
220,
220,
220,
5981,
62,
2860,
1859,
62,
29616,
796,
685,
23736,
13,
23736,
13,
45984,
1435,
13,
5990,
4516,
13,
8367,
11,
8295,
13,
23736,
13,
45984,
1435,
13,
2725,
23154,
13,
8367,
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,
8295,
13,
23736,
13,
45984,
1435,
13,
6398,
13,
8367,
60,
198,
220,
220,
220,
329,
1981,
287,
1729,
66,
2317,
62,
4868,
62,
1659,
62,
43129,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5981,
62,
37724,
796,
685,
87,
329,
2124,
287,
1981,
13,
14933,
10223,
13,
756,
1435,
13,
37724,
3419,
611,
2124,
13,
14933,
10223,
13,
8692,
62,
14783,
287,
5981,
62,
29616,
60,
198,
220,
220,
220,
220,
220,
220,
220,
5981,
62,
2860,
1859,
62,
37724,
796,
685,
87,
329,
2124,
287,
1981,
13,
14933,
10223,
13,
756,
1435,
13,
37724,
3419,
611,
2124,
13,
14933,
10223,
13,
8692,
62,
14783,
287,
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,
5981,
62,
2860,
1859,
62,
29616,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1981,
62,
565,
824,
796,
1351,
7,
24455,
7,
50033,
2124,
25,
2124,
287,
5981,
62,
37724,
11,
1981,
13,
12115,
40,
23988,
62,
271,
62,
64,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
43129,
62,
565,
824,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4990,
563,
4917,
1223,
2354,
286,
7386,
39585,
5823,
11,
304,
13,
70,
13,
11887,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1981,
62,
565,
824,
796,
1351,
7,
24455,
7,
50033,
2124,
25,
2124,
287,
5981,
62,
2860,
1859,
62,
37724,
11,
1981,
13,
12115,
40,
23988,
62,
271,
62,
64,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1981,
62,
312,
796,
4808,
1136,
62,
43129,
62,
312,
7,
43129,
8,
198,
220,
220,
220,
220,
220,
220,
220,
749,
62,
11423,
62,
43129,
62,
565,
824,
796,
685,
2536,
7,
43129,
62,
565,
82,
8,
329,
1981,
62,
565,
82,
287,
1981,
62,
565,
824,
611,
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,
468,
35226,
7,
43129,
62,
565,
82,
11,
366,
834,
7266,
37724,
834,
4943,
290,
18896,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
900,
7,
43129,
62,
565,
82,
13,
834,
7266,
37724,
834,
3419,
737,
3849,
5458,
7,
2617,
7,
43129,
62,
565,
824,
22305,
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,
6624,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
581,
13,
33295,
19510,
43129,
62,
312,
11,
749,
62,
11423,
62,
43129,
62,
565,
824,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
40918,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
34,
16219,
1961,
62,
8697,
62,
31631,
1546,
58,
43129,
60,
796,
749,
62,
11423,
62,
43129,
62,
565,
824,
198,
220,
220,
220,
1441,
581,
198
] | 2.22896 | 4,634 |
import re
import requests
import threading
import queue as Queue
from requests.packages.urllib3.exceptions import InsecureRequestWarning
| [
11748,
302,
198,
11748,
7007,
198,
11748,
4704,
278,
198,
11748,
16834,
355,
4670,
518,
198,
6738,
7007,
13,
43789,
13,
333,
297,
571,
18,
13,
1069,
11755,
1330,
554,
22390,
18453,
20361,
198
] | 4.029412 | 34 |
# -*- mode: python; coding: utf-8 -*-
# Copyright 2019 the HERA Collaboration
# Licensed under the 2-clause BSD License
"""Test code in hera_librarian/cli.py
"""
import pytest
import os
import hera_librarian
from hera_librarian import cli
| [
2,
532,
9,
12,
4235,
25,
21015,
26,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
15069,
13130,
262,
24906,
32,
37322,
341,
198,
2,
49962,
739,
262,
362,
12,
565,
682,
347,
10305,
13789,
198,
198,
37811,
14402,
2438,
287,
339,
430,
62,
75,
35808,
14,
44506,
13,
9078,
198,
198,
37811,
628,
198,
11748,
12972,
9288,
198,
11748,
28686,
198,
198,
11748,
339,
430,
62,
75,
35808,
198,
6738,
339,
430,
62,
75,
35808,
1330,
537,
72,
628,
628
] | 2.940476 | 84 |
import tensorflow as tf
from nn_utils import *
import numpy as np
import nn_utils
| [
201,
198,
11748,
11192,
273,
11125,
355,
48700,
201,
198,
6738,
299,
77,
62,
26791,
1330,
1635,
201,
198,
11748,
299,
32152,
355,
45941,
201,
198,
11748,
299,
77,
62,
26791,
201,
198,
201
] | 2.617647 | 34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.